/* ════════════════════════════════════════════════
   Magazine Article Enhancements
   Table of Contents · CTA · Recommended Tours
   ════════════════════════════════════════════════ */

html {
    scroll-behavior: smooth;
}

/* ── Table of Contents ── */

.gbs-toc {
    background: #faf9f6;
    border-left: 3px solid var(--bricks-color-xqxeul, #a6862b);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    max-width: 480px;
}

.gbs-toc__title {
    font-family: 'Belleza', serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bricks-color-eroevu, #161616);
    margin: 0 0 0.75rem;
}

.gbs-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.gbs-toc__item {
    counter-increment: toc-counter;
    margin-bottom: 0.5rem;
}

.gbs-toc__item::before {
    content: counter(toc-counter) ".";
    color: var(--bricks-color-xqxeul, #a6862b);
    font-weight: 600;
    margin-right: 0.5em;
    font-size: 0.9em;
}

.gbs-toc__item--h3 {
    padding-left: 1.5em;
}

.gbs-toc__item a {
    color: var(--bricks-color-eroevu, #161616);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.gbs-toc__item a:hover {
    color: var(--bricks-color-xqxeul, #a6862b);
}

/* Heading scroll offset for fixed header */
h2[id^="toc-"],
h3[id^="toc-"] {
    scroll-margin-top: 100px;
}

/* ── CTA Section ── */

.gbs-article-cta {
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem 0 2rem;
    border-top: 1px solid rgba(166, 134, 43, 0.2);
    border-bottom: 1px solid rgba(166, 134, 43, 0.2);
}

.gbs-article-cta__text {
    font-family: 'Belleza', serif;
    font-size: 1.25rem;
    color: var(--bricks-color-eroevu, #161616);
    margin: 0 auto 1.5rem;
    max-width: 600px;
    line-height: 1.5;
}

.gbs-article-cta__button {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

/* ── Recommended Tours Grid ── */

.gbs-recommended-tours {
    margin: 2rem 0 3rem;
}

.gbs-recommended-tours__heading {
    font-family: 'Belleza', serif;
    font-size: 1.75rem;
    color: var(--bricks-color-eroevu, #161616);
    text-align: center;
    margin-bottom: 2rem;
}

.gbs-recommended-tours__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gbs-tour-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.gbs-tour-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.gbs-tour-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.gbs-tour-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gbs-tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gbs-tour-card:hover .gbs-tour-card__image img {
    transform: scale(1.03);
}

.gbs-tour-card__content {
    padding: 1.25rem;
}

.gbs-tour-card__title {
    font-family: 'Belleza', serif;
    font-size: 1rem;
    color: var(--bricks-color-eroevu, #161616);
    margin: 0 0 0.5rem;
}

.gbs-tour-card__excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.gbs-tour-card__cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bricks-color-xqxeul, #a6862b);
    font-weight: 600;
}

/* ── Mobile ── */

@media (max-width: 767px) {
    .gbs-recommended-tours__grid {
        grid-template-columns: 1fr;
    }

    .gbs-toc {
        max-width: 100%;
    }

    .gbs-article-cta {
        padding: 2rem 1rem;
    }
}
