.tsv-smart-block {
    margin: 3.5rem 0;
}

.tsv-smart-block .tsv-textbox + .tsv-widget {
    margin-top: 1.15rem;
}

.tsv-textbox,
.tsv-widget,
.tsv-sidebar,
.tsv-sidecard,
.tsv-card {
    box-sizing: border-box;
}

.tsv-textbox {
    position: relative;
    overflow: hidden;
    margin: 2.5rem 0 1.15rem;
    padding: 1.9rem 2rem;
    border: 1px solid rgba(212, 164, 54, 0.22);
    border-radius: 30px;
    background: #f7f3ea;
    box-shadow: 0 18px 40px rgba(48, 35, 22, 0.06);
}

.tsv-textbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 5px;
    border-radius: 999px;
    background: #d4a436;
}

.tsv-textbox__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.tsv-textbox__actions {
    position: relative;
    z-index: 2;
    margin-top: 1.25rem;
}

.tsv-textbox--style-split {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.8fr);
    align-items: center;
    gap: 1.75rem;
}

.tsv-textbox--style-split .tsv-textbox__actions {
    margin-top: 0;
    justify-self: end;
}

.tsv-textbox--style-graphic {
    padding: 2.1rem 2rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(247,243,234,0.96) 0%, rgba(247,243,234,0.92) 46%, rgba(247,243,234,0.55) 70%, rgba(247,243,234,0.20) 100%),
        var(--tsv-box-bg-image, none) center/cover no-repeat,
        #f7f3ea;
}

.tsv-textbox--style-graphic .tsv-textbox__content {
    max-width: 56%;
}

.tsv-textbox--style-graphic .tsv-textbox__actions {
    margin-top: 1.4rem;
}

.tsv-textbox--conclusion {
    background: linear-gradient(135deg, #f6efe0, #fbf8f1);
}

.tsv-textbox__eyebrow,
.tsv-widget__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
    color: #c48d22;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tsv-textbox__eyebrow::before,
.tsv-widget__eyebrow::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 164, 54, 0.32);
    box-shadow: inset 0 0 0 3px rgba(212, 164, 54, 0.20);
}

.tsv-textbox h3 {
    margin: 0 0 0.7rem;
    color: #1f2f56;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.tsv-textbox p:last-child {
    margin: 0;
    color: #666462;
    font-size: 1.04rem;
    line-height: 1.68;
}

.tsv-textbox__button,
.tsv-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.92rem 1.35rem;
    border-radius: 999px;
    background: #a4672d;
    color: #fff !important;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.tsv-textbox__button:hover,
.tsv-card__button:hover {
    opacity: 0.96;
    transform: translateY(-1px);
    background: #8d5826;
}

.tsv-widget {
    margin: 3rem 0;
    padding: 2rem;
    border: 1px solid rgba(31, 111, 134, 0.14);
    border-radius: 28px;
    background: #fbf8f1;
    box-shadow: 0 18px 45px rgba(48, 35, 22, 0.08);
    box-sizing: border-box;
}

/* Archive/category widgets are usually printed inside theme post loops. Force them to act like a full-width section instead of a skinny post-grid item. */
.tsv-widget--archive {
    grid-column: 1 / -1 !important;
    flex: 0 0 100% !important;
    width: min(100%, 980px) !important;
    max-width: 980px !important;
    margin: 4rem auto !important;
    clear: both !important;
    column-span: all;
}

.tsv-widget--archive .tsv-widget__header {
    max-width: 720px;
}

.tsv-widget--archive .tsv-widget__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
}

.tsv-smart-block .tsv-widget {
    margin: 0;
}

.tsv-widget--conclusion {
    background: #fcf9f2;
    border-color: rgba(31, 111, 134, 0.2);
}

.tsv-widget--notice {
    padding: 1rem 1.25rem;
    border-radius: 16px;
}

.tsv-widget__header {
    max-width: 790px;
    margin-bottom: 1.5rem;
}

.tsv-widget__header h2,
.tsv-sidebar__header h3 {
    margin: 0 0 0.62rem;
    color: #23414a;
    font-size: clamp(1.75rem, 2.55vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.tsv-sidebar__header h3 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.tsv-widget--conclusion .tsv-widget__header h2 {
    font-size: clamp(1.85rem, 2.7vw, 2.7rem);
}

.tsv-widget__header p,
.tsv-sidebar__header p {
    margin: 0;
    color: #5f6d6f;
    font-size: 1.03rem;
    line-height: 1.68;
}

.tsv-widget__debug {
    margin-top: 0.65rem !important;
    font-size: 0.85rem !important;
    color: #8a5a28 !important;
}

.tsv-widget__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.tsv-card {
    overflow: hidden;
    border: 1px solid rgba(31, 111, 134, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(48, 35, 22, 0.06);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tsv-card__image,
.tsv-sidecard__image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8dcc6;
}

.tsv-card__image img,
.tsv-sidecard__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.tsv-card:hover .tsv-card__image img,
.tsv-sidecard:hover .tsv-sidecard__image img {
    transform: scale(1.04);
}

.tsv-card__body,
.tsv-sidecard__body {
    padding: 1rem;
}

.tsv-card__body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.tsv-card__rating {
    margin: 0 0 0.45rem;
    color: #0f8f72;
    font-size: 0.82rem;
    font-weight: 700;
}

.tsv-card h3,
.tsv-sidecard h4 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.tsv-sidecard h4 {
    font-size: 1.32rem;
}

.tsv-card h3 a,
.tsv-sidecard h4 a {
    color: #263a3c;
    text-decoration: none;
}

.tsv-card h3 a:hover,
.tsv-sidecard h4 a:hover {
    color: #1f6f86;
}

.tsv-card__meta-line {
    position: relative;
    margin: 0 0 0.45rem;
    padding-left: 1.18rem;
    color: #3b4748;
    font-size: 0.92rem;
    line-height: 1.35;
}

.tsv-card__meta-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #7d8d91;
}

.tsv-card__meta-line--check::before {
    content: "✓";
    top: 0.02rem;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #0f8f72;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
}

.tsv-card__description {
    margin: 0.65rem 0 1rem;
    color: #667476;
    font-size: 0.92rem;
    line-height: 1.55;
}

.tsv-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
}

.tsv-card__price,
.tsv-sidecard__price {
    color: #111;
    font-size: 1.02rem;
    font-weight: 700;
    white-space: nowrap;
    min-width: 0;
}

.tsv-card__price {
    flex: 1 1 88px;
}

.tsv-card__button {
    flex: 0 0 auto;
    min-width: 88px;
    min-height: 38px;
    padding: 0.72rem 0.9rem;
    background: #0f8f72;
    font-size: 0.88rem;
}

.tsv-card__button:hover {
    background: #0d7a61;
}

.tsv-card__button--full {
    width: 100%;
    margin-top: 0.9rem;
}

.tsv-sidebar {
    padding: 1.1rem;
    border: 1px solid rgba(31, 111, 134, 0.14);
    border-radius: 24px;
    background: #fbf8f1;
    box-shadow: 0 16px 34px rgba(48, 35, 22, 0.08);
}

.tsv-sidebar--sticky {
    position: sticky;
    top: 1.5rem;
}

.tsv-sidebar__header {
    padding: 0.35rem 0.25rem 1rem;
}

.tsv-sidebar__header p {
    font-size: 0.94rem;
}

.tsv-sidebar__list {
    display: grid;
    gap: 1rem;
}

.tsv-sidecard {
    overflow: hidden;
    border: 1px solid rgba(31, 111, 134, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(48, 35, 22, 0.05);
}

.tsv-sidecard__image {
    aspect-ratio: 16 / 10;
}

.tsv-sidecard__body .tsv-card__rating {
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .tsv-textbox--style-split,
    .tsv-textbox--style-graphic {
        display: block;
    }

    .tsv-textbox--style-split .tsv-textbox__actions,
    .tsv-textbox--style-graphic .tsv-textbox__actions {
        margin-top: 1.2rem;
        justify-self: start;
    }

    .tsv-textbox--style-graphic {
        min-height: 0;
    }

    .tsv-textbox--style-graphic .tsv-textbox__content {
        max-width: 100%;
    }
}

@media (max-width: 780px) {
    .tsv-widget__grid,
    .tsv-widget--archive .tsv-widget__grid,
    .tsv-widget--layout-featured .tsv-widget__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsv-card--featured {
        grid-template-columns: 1fr;
    }

    .tsv-card--featured .tsv-card__image {
        min-height: 210px;
        max-height: none;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 900px) {
    .tsv-widget,
    .tsv-textbox,
    .tsv-sidebar {
        padding: 1.25rem;
    }

    .tsv-card--mobile-extra {
        display: none;
    }

    .tsv-card {
        display: grid;
        grid-template-columns: 112px 1fr;
    }

    .tsv-card__image {
        height: 100%;
        aspect-ratio: auto;
    }

    .tsv-card__body {
        padding: 0.9rem;
    }

    .tsv-card h3 {
        font-size: 1rem;
    }

    .tsv-card__description {
        display: none;
    }

    .tsv-card__footer {
        margin-top: 0.6rem;
    }
}

@media (max-width: 520px) {
    .tsv-widget__grid,
    .tsv-widget--archive .tsv-widget__grid,
    .tsv-widget--layout-featured .tsv-widget__grid {
        grid-template-columns: 1fr;
    }

    .tsv-smart-block,
    .tsv-widget,
    .tsv-textbox,
    .tsv-sidebar {
        margin: 2rem 0;
    }

    .tsv-widget--archive {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
        margin: 2.25rem auto !important;
    }

    .tsv-widget,
    .tsv-textbox,
    .tsv-sidebar {
        padding: 1rem;
        border-radius: 22px;
    }

    .tsv-textbox h3 {
        font-size: 2rem;
    }

    .tsv-card {
        grid-template-columns: 96px 1fr;
        border-radius: 18px;
    }

    .tsv-card__button,
    .tsv-textbox__button {
        min-height: 34px;
        padding: 0.62rem 0.85rem;
        font-size: 0.82rem;
    }
}


.tsv-inline-link {
    color: #0f6f86;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.tsv-inline-link:hover {
    color: #0d5870;
}

.tsv-widget--layout-featured .tsv-widget__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

/* Featured layout: first card spans the row horizontally instead of becoming a very tall, empty card. */
.tsv-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr);
    min-height: 0;
    border-color: rgba(15, 143, 114, 0.28);
    box-shadow: 0 18px 44px rgba(48, 35, 22, 0.1);
}

.tsv-card--featured .tsv-card__image {
    height: 100%;
    min-height: 190px;
    max-height: 245px;
    aspect-ratio: auto;
}

.tsv-card--featured .tsv-card__body {
    justify-content: center;
    padding: 1.25rem 1.35rem;
}

.tsv-card--featured .tsv-card__description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tsv-card__badge {
    display: inline-flex;
    margin: 0 0 0.45rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: rgba(15, 143, 114, 0.11);
    color: #0f705c;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tsv-card--compact .tsv-card__description,
.tsv-widget--layout-compact .tsv-card__description {
    display: none;
}

.tsv-widget--layout-compact .tsv-widget__grid {
    gap: 0.85rem;
}

.tsv-widget--layout-compact .tsv-card__image {
    aspect-ratio: 16 / 9;
}

.tsv-mobile-sticky {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    display: none;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tsv-mobile-sticky.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tsv-mobile-sticky__button {
    pointer-events: auto;
    width: min(100%, 420px);
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #0f8f72;
    color: #fff;
    box-shadow: 0 14px 35px rgba(20, 42, 35, 0.28);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.tsv-mobile-sticky__button:hover {
    background: #0d7a61;
}

@media (max-width: 900px) {
    .tsv-card--featured {
        grid-row: auto;
        display: grid;
    }

    .tsv-card--featured .tsv-card__body {
        justify-content: flex-start;
        padding: 0.9rem;
    }

    .tsv-card--featured .tsv-card__description {
        display: none;
    }

    .tsv-mobile-sticky {
        display: flex;
    }
}

/* v0.1.29 layout hardening: keep cards wide enough for price + CTA. */
.tsv-widget__grid,
.tsv-widget--archive .tsv-widget__grid,
.tsv-widget--layout-featured .tsv-widget__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.tsv-widget--archive {
    width: min(100%, 1040px) !important;
    max-width: 1040px !important;
}

.tsv-card__footer {
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tsv-card__price {
    flex: 1 1 82px;
}

.tsv-card__button {
    flex: 0 0 auto;
    max-width: 100%;
}

.tsv-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr);
}

.tsv-card--featured .tsv-card__image {
    min-height: 190px;
    max-height: 245px;
}

@media (max-width: 780px) {
    .tsv-widget__grid,
    .tsv-widget--archive .tsv-widget__grid,
    .tsv-widget--layout-featured .tsv-widget__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsv-card--featured {
        grid-template-columns: 1fr;
    }

    .tsv-card--featured .tsv-card__image {
        aspect-ratio: 16 / 9;
        min-height: 210px;
        max-height: none;
    }
}

@media (max-width: 640px) {
    .tsv-widget__grid,
    .tsv-widget--archive .tsv-widget__grid,
    .tsv-widget--layout-featured .tsv-widget__grid {
        grid-template-columns: 1fr;
    }

    .tsv-card--mobile-extra {
        display: none;
    }

    .tsv-card,
    .tsv-card--featured {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .tsv-card__image,
    .tsv-card--featured .tsv-card__image {
        height: 100%;
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
    }

    .tsv-card__body,
    .tsv-card--featured .tsv-card__body {
        padding: 0.9rem;
        justify-content: flex-start;
    }

    .tsv-card__description,
    .tsv-card--featured .tsv-card__description {
        display: none;
    }

    .tsv-card__footer {
        margin-top: 0.6rem;
    }
}

@media (max-width: 420px) {
    .tsv-card,
    .tsv-card--featured {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .tsv-card__button,
    .tsv-textbox__button {
        min-height: 34px;
        padding: 0.62rem 0.8rem;
        font-size: 0.82rem;
    }
}

/* v0.1.34 Viator merchandising layouts */
.tsv-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.45rem 0 0.2rem;
}

.tsv-badges span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.48rem;
    background: rgba(20, 109, 88, 0.10);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.15;
}

.tsv-badges--small span {
    font-size: 0.68rem;
    padding: 0.18rem 0.4rem;
}

.tsv-compare {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.tsv-compare__head,
.tsv-compare__row {
    display: grid;
    grid-template-columns: minmax(220px, 1.25fr) minmax(120px, 0.72fr) minmax(160px, 1fr) minmax(130px, 0.82fr) minmax(110px, 0.55fr);
    gap: 0.85rem;
    align-items: center;
}

.tsv-compare__head {
    padding: 0 1rem 0.15rem;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.72;
}

.tsv-compare__row {
    padding: 1rem;
    border: 1px solid var(--tsv-border, rgba(0,0,0,0.10));
    border-radius: 18px;
    background: var(--tsv-card-bg, #fff);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tsv-compare__title strong {
    display: block;
    line-height: 1.25;
}

.tsv-compare__title a {
    color: inherit;
    text-decoration: none;
}

.tsv-selector {
    margin: 2rem 0;
    padding: clamp(1.1rem, 2vw, 1.6rem);
    border: 1px solid var(--tsv-border, rgba(0,0,0,0.10));
    border-radius: 24px;
    background: rgba(247, 244, 238, 0.65);
}

.tsv-selector__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.tsv-selector__item {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid var(--tsv-border, rgba(0,0,0,0.10));
    border-radius: 18px;
    background: #fff;
}


.tsv-selector__image {
    display: block;
    margin: -1rem -1rem 0.85rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(135deg, rgba(18,83,72,0.10), rgba(191,130,52,0.12));
    text-decoration: none;
}

.tsv-selector__image img,
.tsv-selector__image .tsv-card__image-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tsv-selector__image .tsv-card__image-fallback {
    min-height: 100%;
}

.tsv-selector__label {
    margin: 0 0 0.35rem;
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.70;
}

.tsv-selector__item h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    line-height: 1.25;
}

.tsv-selector__meta {
    margin: 0.55rem 0 0.9rem;
    font-size: 0.86rem;
    opacity: 0.76;
}

.tsv-selector__item .tsv-card__button {
    margin-top: auto;
    align-self: flex-start;
}

@media (max-width: 900px) {
    .tsv-compare__head {
        display: none;
    }

    .tsv-compare__row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .tsv-compare__row > div:not(.tsv-compare__title)::before {
        display: block;
        margin-bottom: 0.15rem;
        font-size: 0.68rem;
        font-weight: 850;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        opacity: 0.58;
    }

    .tsv-compare__row > div:nth-child(2)::before { content: "Best for"; }
    .tsv-compare__row > div:nth-child(3)::before { content: "Why it stands out"; }
    .tsv-compare__row > div:nth-child(4)::before { content: "Details"; }

    .tsv-selector__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tsv-selector__grid {
        grid-template-columns: 1fr;
    }
}


/* v0.1.35 Viator offer block */
.tsv-offer {
  margin: 26px 0;
  padding: 20px;
  border: 1px solid rgba(18, 83, 72, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(242,250,247,0.96));
  box-shadow: 0 12px 32px rgba(20, 57, 49, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.tsv-offer h3 {
  margin: 0 0 8px;
}
.tsv-offer p {
  margin-top: 0;
}
.tsv-offer__content {
  min-width: 0;
}
.tsv-offer__product {
  margin-bottom: 8px;
}
@media (max-width: 760px) {
  .tsv-offer {
    align-items: stretch;
    flex-direction: column;
  }
  .tsv-offer .tsv-card__button {
    width: 100%;
    text-align: center;
  }
}


/* v0.1.37 product option selector */
.tsv-options {
  margin: 30px 0;
  padding: 22px;
  border: 1px solid rgba(18, 83, 72, 0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 28px rgba(20, 57, 49, 0.06);
}
.tsv-options__list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 14px;
}
.tsv-options__item {
  border: 1px solid rgba(18, 83, 72, 0.12);
  border-radius: 14px;
  padding: 14px;
  background: rgba(248, 252, 250, 0.86);
}
.tsv-options__item p {
  margin: 8px 0 0;
}
.tsv-options__item span {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(18, 83, 72, 0.08);
}

/* v0.1.44: internal related money-page block */
.tsv-related-money-pages {
  margin: 2.25rem 0;
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.tsv-related-money-pages__header {
  max-width: 760px;
  margin-bottom: 1rem;
}

.tsv-related-money-pages__header h2 {
  margin: 0.1rem 0 0.45rem;
}

.tsv-related-money-pages__header p:last-child {
  margin-bottom: 0;
}

.tsv-related-money-pages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.tsv-related-money-pages__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tsv-related-money-pages__item:hover,
.tsv-related-money-pages__item:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  border-color: rgba(15, 23, 42, 0.22);
}

.tsv-related-money-pages__item strong {
  line-height: 1.25;
}

.tsv-related-money-pages__item span:last-child {
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.78;
}

.tsv-related-money-pages__label {
  width: fit-content;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .tsv-related-money-pages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tsv-related-money-pages {
    margin: 1.75rem 0;
    padding: 1rem;
    border-radius: 18px;
  }
  .tsv-related-money-pages__grid {
    grid-template-columns: 1fr;
  }
}
