/* ==========================================================================
   global-new.css — Group Page Styles
   Self-contained CSS for the group tours page.
   All layout utilities scoped to main.grouppage to avoid conflicts.
   ========================================================================== */

/* --- Hero Slider (video full-screen) --- */
main.grouppage .hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
main.grouppage .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
main.grouppage .hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}
main.grouppage .hero-slide-image,
main.grouppage .hero-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
main.grouppage .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.2), transparent);
}
main.grouppage .hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem 4rem 4rem;
    max-width: 700px;
}
main.grouppage .hero-content-title {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
main.grouppage .hero-content-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
    margin: 0 0 1.5rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
main.grouppage .hero-content-cta {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    background: #00a652;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
main.grouppage .hero-content-cta:hover {
    background: #008a44;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,166,82,0.3);
}
@media (max-width: 768px) {
    main.grouppage .hero-content {
        padding: 1.5rem 1.25rem 2.5rem;
        max-width: 100%;
        justify-content: flex-end;
    }
    main.grouppage .hero-slider {
        min-height: 500px;
        height: 70vh;
    }
}

/* --- Responsive Images (CLS prevention + fluid) --- */
main.grouppage img {
    max-width: 100%;
    height: auto;
}
main.grouppage .yt-lite img {
    height: auto;
    min-height: 100%;
}

/* --- Tab Navigation --- */
main.grouppage .group-tab-nav {
    position: relative;
    z-index: 1020;
    background: #f5f0eb;
    border-bottom: 1px solid #e5e0d8;
}
main.grouppage .group-tab-nav > .container {
    position: relative;
}
main.grouppage .group-tab-nav.is-fixed {
    position: fixed;
    left: 0;
    right: 0;
    will-change: transform;
}
main.grouppage .group-tab-nav-placeholder {
    display: none;
}
main.grouppage .group-tab-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
main.grouppage .group-tab-list::-webkit-scrollbar {
    display: none;
}
main.grouppage .group-tab {
    display: inline-block;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, border-bottom-color 0.3s;
    border-bottom: 3px solid transparent;
}
main.grouppage .group-tab:hover {
    color: #1a1a2e;
    border-bottom-color: #00a652;
}
main.grouppage .group-tab.active {
    color: #1a1a2e;
    font-weight: 700;
    border-bottom-color: #00a652;
}
/* Tab scroll arrows — hidden on desktop */
main.grouppage .group-tab-arrow {
    display: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    main.grouppage .group-tab-list {
        justify-content: flex-start;
    }
    main.grouppage .group-tab {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    main.grouppage .group-tab-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 2.5rem;
        border: none;
        cursor: pointer;
        z-index: 10;
        color: #1a1a2e;
        font-size: 1.25rem;
        transition: opacity 0.2s;
    }
    main.grouppage .group-tab-arrow--left {
        left: 0;
        background: linear-gradient(to right, #f5f0eb 60%, transparent);
        opacity: 0;
        pointer-events: none;
    }
    main.grouppage .group-tab-arrow--right {
        right: 0;
        background: linear-gradient(to left, #f5f0eb 60%, transparent);
    }
    main.grouppage .group-tab-arrow.visible {
        opacity: 1;
        pointer-events: auto;
    }
    main.grouppage .group-tab-arrow.hidden {
        opacity: 0;
        pointer-events: none;
    }
}

/* --- Theme Cards --- */
main.grouppage .theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
main.grouppage .theme-card {
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    text-align: left;
    transition: transform 350ms ease, box-shadow 350ms ease;
}
main.grouppage .theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* --- Review Cards --- */
main.grouppage .review-card {
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
main.grouppage .review-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
main.grouppage .review-stars {
    color: #c9a84c;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.08em;
}

/* --- Grid Layout Utilities (scoped to grouppage) --- */
main.grouppage .grid { display: grid; }
main.grouppage .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
main.grouppage .gap-6 { gap: 1.5rem; }
main.grouppage .gap-8 { gap: 2rem; }
main.grouppage .items-center { align-items: center; }

@media (min-width: 768px) {
    main.grouppage .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    main.grouppage .md\:grid-cols-\[1fr_auto\] { grid-template-columns: 1fr auto; }
}

/* --- Card Hover Effects --- */
main.grouppage .group-explore-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
main.grouppage .group-explore-card:hover img {
    transform: scale(1.04);
}



/* --- Masonry Gallery Grid --- */
main.grouppage .masonry-grid {
    columns: 4;
    column-gap: 6px;
    max-width: 1200px;
    margin: 0 auto;
}
main.grouppage .masonry-item {
    break-inside: avoid;
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
main.grouppage .masonry-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 400ms ease;
}
main.grouppage .masonry-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 300ms ease;
}
main.grouppage .masonry-item__icon {
    color: #fff;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 300ms ease, transform 300ms ease;
}
main.grouppage .masonry-item:hover img {
    transform: scale(1.05);
}
main.grouppage .masonry-item:hover .masonry-item__overlay {
    background: rgba(0, 0, 0, 0.3);
}
main.grouppage .masonry-item:hover .masonry-item__icon {
    opacity: 1;
    transform: scale(1);
}
@media (max-width: 1023px) {
    main.grouppage .masonry-grid { columns: 3; }
}
@media (max-width: 767px) {
    main.grouppage .masonry-grid { columns: 2; }
}
@media (max-width: 479px) {
    main.grouppage .masonry-grid { columns: 2; column-gap: 4px; }
    main.grouppage .masonry-item { margin-bottom: 4px; }
}

/* --- Lightbox Modal --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}
.lightbox[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}
.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}
.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.7;
    transition: opacity 200ms ease;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__content {
    position: relative;
    z-index: 5;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 300ms ease, transform 300ms ease;
}
.lightbox[aria-hidden="false"] .lightbox__img {
    opacity: 1;
    transform: scale(1);
}
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 1rem;
    opacity: 0.7;
    transition: opacity 200ms ease;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }
.lightbox__counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}
@media (max-width: 767px) {
    .lightbox__nav { padding: 0.5rem; }
    .lightbox__nav svg { width: 24px; height: 24px; }
    .lightbox__close svg { width: 22px; height: 22px; }
}

/* --- FAQ Section --- */
main.grouppage .faq-transportation-section {
    background-color: #faf8f5;
    padding: 4.5rem 0;
    position: relative;
}
main.grouppage .faq-transportation-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 20, 0.08) 100%);
    pointer-events: none;
}
main.grouppage .faq-header {
    text-align: center;
    margin-bottom: 2.75rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
main.grouppage .faq-main-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
main.grouppage .faq-subtitle {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #555;
    font-weight: 400;
}
main.grouppage .faq-list {
    max-width: 800px;
    margin: 0 auto 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
main.grouppage .faq-item {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
main.grouppage .faq-item:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
main.grouppage .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}
main.grouppage .faq-question:hover {
    background-color: rgba(201, 168, 76, 0.06);
}
main.grouppage .faq-question-text {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.35;
    letter-spacing: -0.005em;
    padding-right: 1.25rem;
    text-transform: none;
}
main.grouppage .faq-icon {
    width: 28px;
    height: 28px;
    color: #c9a84c;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
main.grouppage .faq-item.active .faq-icon {
    transform: rotate(180deg);
}
main.grouppage .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
main.grouppage .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 2rem;
}
main.grouppage .faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    font-weight: 400;
    margin: 0;
}
/* FAQ — Responsive */
@media (max-width: 768px) {
    main.grouppage .faq-transportation-section {
        padding: 3.5rem 0;
    }
    main.grouppage .faq-main-title {
        font-size: 1.6rem;
    }
    main.grouppage .faq-subtitle {
        font-size: 0.95rem;
    }
    main.grouppage .faq-question {
        padding: 1.15rem 1.25rem;
    }
    main.grouppage .faq-question-text {
        font-size: 1rem;
    }
    main.grouppage .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
}

/* --- Intro Section --- */
main.grouppage .group-intro-section {
    padding: 4rem 0 3.5rem;
    background: #faf8f5;
}
main.grouppage .group-intro-inner {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
main.grouppage .group-intro-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
main.grouppage .group-intro-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 600;
    color: #3a3a4a;
    margin: 0 0 1rem;
    line-height: 1.5;
}
main.grouppage .group-intro-text {
    margin: 0;
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}
/* --- Intro Mission Block (expanded copy) --- */
main.grouppage .group-intro-mission {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
main.grouppage .group-intro-mission-heading {
    font-family: 'Lora', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem;
    line-height: 1.25;
}
main.grouppage .group-intro-mission-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: #3a3a4a;
    font-style: italic;
    margin: 0 0 1rem;
}
main.grouppage .group-intro-mission-body {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 0.75rem;
}
main.grouppage .group-intro-highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin: 1.5rem 0 1.5rem;
}
main.grouppage .group-intro-highlight {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}
/* --- Who This Is For --- */
/* --- Who Fluid Cards (DJI-style hover expand) --- */
main.grouppage .who-fluid-grid {
    display: flex;
    gap: 1rem;
    height: 520px;
}
main.grouppage .who-fluid-card {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
main.grouppage .who-fluid-card.is-active {
    flex: 2.5;
}
main.grouppage .who-fluid-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
main.grouppage .who-fluid-card:hover .who-fluid-card__img,
main.grouppage .who-fluid-card.is-active .who-fluid-card__img {
    transform: scale(1.05);
}
main.grouppage .who-fluid-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.05) 100%
    );
    transition: background 0.5s ease;
}
main.grouppage .who-fluid-card.is-active .who-fluid-card__overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.02) 100%
    );
}
main.grouppage .who-fluid-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem;
    color: #fff;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease;
}
main.grouppage .who-fluid-card__title {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
main.grouppage .who-fluid-card__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin: 0;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.45s ease 0.05s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
main.grouppage .who-fluid-card__text > span {
    overflow: hidden;
}
main.grouppage .who-fluid-card.is-active .who-fluid-card__text {
    grid-template-rows: 1fr;
    opacity: 1;
}
/* Tablet: 2x2 grid */
@media (max-width: 991px) {
    main.grouppage .who-fluid-grid {
        flex-wrap: wrap;
        height: auto;
    }
    main.grouppage .who-fluid-card {
        flex: 1 1 calc(50% - 0.5rem);
        height: 320px;
    }
    main.grouppage .who-fluid-card.is-active {
        flex: 1 1 calc(50% - 0.5rem);
    }
    main.grouppage .who-fluid-card__text {
        grid-template-rows: 1fr;
        opacity: 1;
    }
}
/* Mobile: single column */
@media (max-width: 575px) {
    main.grouppage .who-fluid-card {
        flex: 1 1 100%;
        height: 280px;
    }
    main.grouppage .who-fluid-card.is-active {
        flex: 1 1 100%;
    }
}

/* --- How It Works — Split Layout --- */
main.grouppage .how-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
main.grouppage .how-split__image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 4/3;
    max-height: 420px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
}
main.grouppage .how-split__image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 60%; /* crop a bit more to center, adjust as needed */
    display: block;
    border-radius: 0;
    box-shadow: none;
}
main.grouppage .how-split__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
}
main.grouppage .how-step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    padding: 0 0 2rem;
}
main.grouppage .how-step-item:last-child {
    padding-bottom: 0;
}
main.grouppage .how-step-item__marker {
    flex-shrink: 0;
    width: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
main.grouppage .how-step-item__marker::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    bottom: -2.5rem;
    background: #1a1a2e;
}
main.grouppage .how-step-item:last-child .how-step-item__marker::after {
    display: none;
}
main.grouppage .how-step-item__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50%;
}
main.grouppage .how-step-item__icon svg {
    width: 18px;
    height: 18px;
}
main.grouppage .how-step-item__body {
    flex: 1;
    min-width: 0;
    padding-top: 0.1rem;
}
main.grouppage .how-step-item__title {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}
main.grouppage .how-step-item__text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 991px) {
    main.grouppage .how-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    main.grouppage .how-split__image {
        max-height: 260px;
        aspect-ratio: 4/3;
    }
    main.grouppage .how-split__image img {
        max-height: 260px;
        aspect-ratio: 4/3;
    }
}
@media (max-width: 575px) {
    main.grouppage .how-step-item {
        gap: 1rem;
        padding-bottom: 1.5rem;
    }
}

/* --- Why Groups Choose IVS (Pain + Solution) --- */
/* --- Section 9: Why Groups Choose IVS (Premium Editorial) --- */
main.grouppage .why-editorial {
    max-width: 840px;
    margin: 0 auto;
}
main.grouppage .why-editorial__header {
    text-align: center;
    margin-bottom: 3.5rem;
}
main.grouppage .why-editorial__label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00a652;
    margin-bottom: 1rem;
}
main.grouppage .why-editorial__title {
    font-family: 'Lora', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
main.grouppage .why-editorial__subtitle {
    font-size: 1.05rem;
    color: #777;
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto;
}

/* Pain cards — borderless editorial */
main.grouppage .why-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin-bottom: 3.5rem;
}
main.grouppage .why-pain-card {
    display: flex;
    background: #fff;
    overflow: hidden;
    transition: background 0.35s ease;
}
main.grouppage .why-pain-card:hover {
    background: #fdfcfa;
}
main.grouppage .why-pain-card__accent {
    width: 2px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #c9a84c 0%, rgba(201, 168, 76, 0.2) 100%);
}
main.grouppage .why-pain-card__body {
    padding: 2rem 1.75rem;
}
main.grouppage .why-pain-card__icon {
    width: 20px;
    height: 20px;
    color: #c9a84c;
    margin-bottom: 1rem;
    opacity: 0.7;
}
main.grouppage .why-pain-card__icon svg {
    width: 100%;
    height: 100%;
}
main.grouppage .why-pain-card__title {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.6rem;
    line-height: 1.35;
}
main.grouppage .why-pain-card__text {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.75;
    margin: 0;
}

/* Solution resolution — editorial highlight */
main.grouppage .why-solution {
    position: relative;
    background: #fff;
    padding: 3rem 2.75rem;
    border-top: 2px solid #00a652;
}
main.grouppage .why-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 166, 82, 0.03) 0%, transparent 60%);
    pointer-events: none;
}
main.grouppage .why-solution__inner {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}
main.grouppage .why-solution__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00a652;
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
main.grouppage .why-solution__badge svg {
    flex-shrink: 0;
}
main.grouppage .why-solution__text {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 1.75rem;
}
main.grouppage .why-solution__points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem;
    text-align: left;
}
main.grouppage .why-solution__points li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}
main.grouppage .why-solution__check {
    color: #00a652;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 767px) {
    main.grouppage .why-pain-grid {
        grid-template-columns: 1fr;
    }
    main.grouppage .why-editorial__title {
        font-size: 1.65rem;
    }
    main.grouppage .why-solution {
        padding: 2.25rem 1.5rem;
    }
    main.grouppage .why-solution__points {
        grid-template-columns: 1fr;
    }
    main.grouppage .why-pain-card__body {
        padding: 1.5rem 1.25rem;
    }
}

/* --- Final CTA Section (Cinematic Parallax) --- */
main.grouppage .final-cta-section {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    isolation: isolate;
}
main.grouppage .final-cta-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center 40%;
    background-attachment: fixed;
    filter: saturate(0.85);
}
main.grouppage .final-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 20, 0.55) 0%,
        rgba(10, 10, 20, 0.75) 50%,
        rgba(10, 10, 20, 0.6) 100%
    );
}
main.grouppage .final-cta-inner {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    text-align: left;
    z-index: 1;
}
main.grouppage .final-cta-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
main.grouppage .final-cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin: 0 0 2.5rem;
    max-width: 460px;
}
main.grouppage .final-cta-email {
    margin: 1.5rem 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}
main.grouppage .final-cta-email a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
main.grouppage .final-cta-email a:hover {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.7);
}
main.grouppage .final-cta-btn {
    display: inline-block;
    padding: 1rem 2.75rem;
    background: #00a652;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: 0;
    border: none;
    transition: all 0.35s ease;
    box-shadow: 0 0 0 0 rgba(0, 166, 82, 0);
}
main.grouppage .final-cta-btn:hover {
    background: #00b85c;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 166, 82, 0.35), 0 0 60px rgba(0, 166, 82, 0.12);
}

/* Parallax fallback for mobile (iOS doesn't support background-attachment: fixed) */
@supports (-webkit-touch-callout: none) {
    main.grouppage .final-cta-bg {
        background-attachment: scroll;
    }
}
@media (max-width: 767px) {
    main.grouppage .final-cta-section {
        padding: 5rem 0;
    }
    main.grouppage .final-cta-bg {
        background-attachment: scroll;
    }
}

/* --- Section Shared Styles --- */
main.grouppage .section-white {
    padding: 4.5rem 0;
    background: #fff;
}
main.grouppage .section-cream {
    padding: 4.5rem 0;
    background: #faf8f5;
}
main.grouppage .section-light {
    padding: 4.5rem 0;
    background: #f5f0eb;
}
main.grouppage .section-gallery {
    padding: 4.5rem 0;
    background: #fff;
}
main.grouppage .section-header {
    text-align: center;
    margin-bottom: 2.75rem;
}
main.grouppage .section-header-gallery {
    text-align: center;
    margin-bottom: 2rem;
}
main.grouppage .section-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.65rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
main.grouppage .section-title-center {
    font-family: 'Lora', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 2.25rem;
    text-align: center;
    letter-spacing: -0.01em;
}
main.grouppage .section-subtitle {
    color: #555;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
    font-size: 1.0625rem;
}
main.grouppage .section-subtitle-narrow {
    color: #555;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
    font-size: 1rem;
}

/* --- Editorial Travel Grid --- */
main.grouppage .ed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    main.grouppage .ed-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto auto auto;
        gap: 1.25rem;
    }
    main.grouppage .ed-r1-img  { grid-column: 1 / 8;  grid-row: 1; }
    main.grouppage .ed-r1-txt  { grid-column: 8 / 13; grid-row: 1; }
    main.grouppage .ed-r2-txt  { grid-column: 1 / 5;  grid-row: 2; }
    main.grouppage .ed-r2-img1 { grid-column: 5 / 9;  grid-row: 2; }
    main.grouppage .ed-r2-img2 { grid-column: 9 / 13; grid-row: 2; }
    main.grouppage .ed-r3-img1 { grid-column: 1 / 5;  grid-row: 3; }
    main.grouppage .ed-r3-img2 { grid-column: 5 / 13; grid-row: 3; }
    /* --- break the grid: subtle offsets --- */
    main.grouppage .ed-r1-txt {
        transform: translateY(1.5rem);
    }
    main.grouppage .ed-r2-img1 {
        transform: translateY(-0.75rem);
    }
    main.grouppage .ed-r2-img2 {
        transform: translateY(0.75rem);
    }
    main.grouppage .ed-r3-img2 {
        transform: translateY(-1rem);
    }
}
main.grouppage .ed-cell--img {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.12);
}
/* warm cinematic overlay on every image cell */
main.grouppage .ed-cell--img::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        160deg,
        rgba(201, 168, 76, 0.08) 0%,
        transparent 40%,
        rgba(26, 26, 46, 0.15) 100%
    );
    pointer-events: none;
    transition: opacity 0.5s ease;
}
main.grouppage .ed-cell--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
main.grouppage .ed-cell--img:hover {
    box-shadow: 0 12px 36px rgba(26, 26, 46, 0.2);
}
main.grouppage .ed-cell--img:hover::before {
    opacity: 0;
}
main.grouppage .ed-cell--img:hover img {
    transform: scale(1.05);
}
/* caption sits above the overlay */
main.grouppage .ed-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 70%, transparent 100%);
    color: #fff;
    transform: translateY(0);
    transition: transform 0.5s ease;
}
main.grouppage .ed-cell--img:hover .ed-img-caption {
    transform: translateY(-4px);
}
main.grouppage .ed-cell--txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: #faf8f5;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
@media (min-width: 768px) {
    main.grouppage .ed-cell--txt {
        box-shadow: 0 2px 16px rgba(26, 26, 46, 0.06);
    }
}
main.grouppage .ed-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #c9a84c;
    line-height: 1;
    margin-bottom: 0.4rem;
    display: block;
}
main.grouppage .ed-num--light {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
main.grouppage .ed-title {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.4rem;
}
main.grouppage .ed-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0 0 2rem;
}
main.grouppage .ed-text:last-child {
    margin-bottom: 0;
}
main.grouppage .ed-caption-title {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0.25rem 0 0.35rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
main.grouppage .ed-caption-text {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Row 1 image: landscape ratio */
main.grouppage .ed-r1-img {
    aspect-ratio: 16 / 10;
}
/* Row 2 images: portrait-ish */
main.grouppage .ed-r2-img1,
main.grouppage .ed-r2-img2 {
    aspect-ratio: 3 / 4;
}
/* Row 3: left portrait, right landscape */
main.grouppage .ed-r3-img1 {
    aspect-ratio: 3 / 4;
}
main.grouppage .ed-r3-img2 {
    aspect-ratio: 16 / 10;
}
@media (max-width: 767px) {
    main.grouppage .ed-cell--img {
        aspect-ratio: 16 / 10;
    }
    main.grouppage .ed-cell--txt {
        padding: 2rem 1.5rem;
    }
}

/* --- Shared card classes (explore cards, articles) --- */
main.grouppage .card-image-wrap {
    aspect-ratio: 16/10;
    overflow: hidden;
}
main.grouppage .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
/* --- Trip Cards (Our Trips - story-driven) --- */
main.grouppage .trip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 1.75rem;
}
/* Card 1: spans 2 cols, shorter */
main.grouppage .trip-card--1 { grid-column: span 2; }
/* Card 2: tall portrait */
main.grouppage .trip-card--2 { grid-row: span 2; }
/* Cards 3-4: normal single cells */
/* Card 5: spans 2 cols bottom */
main.grouppage .trip-card--5 { grid-column: span 2; }

main.grouppage .trip-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 320px;
    cursor: pointer;
}
main.grouppage .trip-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
main.grouppage .trip-card:hover .trip-card__img {
    transform: scale(1.06);
}
main.grouppage .trip-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.1) 100%
    );
    transition: background 0.4s ease;
}
main.grouppage .trip-card:hover .trip-card__overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
}
main.grouppage .trip-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem;
    color: #fff;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s ease;
}
main.grouppage .trip-card:hover .trip-card__content {
    transform: translateY(-4px);
}
main.grouppage .trip-card__context {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
main.grouppage .trip-card__duration {
    display: inline-block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #dbb960;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7), 0 0 2px rgba(0,0,0,0.4);
}
main.grouppage .trip-card__title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.65rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5);
}
main.grouppage .trip-card--1 .trip-card__title,
main.grouppage .trip-card--5 .trip-card__title {
    font-size: 1.65rem;
}
main.grouppage .trip-card__highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}
main.grouppage .trip-card__highlights li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 6px rgba(0,0,0,0.7), 0 0 2px rgba(0,0,0,0.4);
    position: relative;
    padding-left: 0.85rem;
}
main.grouppage .trip-card__highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c9a84c;
}

/* Trip grid responsive */
@media (max-width: 1023px) {
    main.grouppage .trip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    main.grouppage .trip-card--1 { grid-column: span 2; }
    main.grouppage .trip-card--2 { grid-row: span 1; }
    main.grouppage .trip-card--5 { grid-column: span 2; }
}
@media (max-width: 639px) {
    main.grouppage .trip-grid {
        grid-template-columns: 1fr;
    }
    main.grouppage .trip-card--1,
    main.grouppage .trip-card--5 {
        grid-column: span 1;
    }
    main.grouppage .trip-card {
        min-height: 280px;
    }
    main.grouppage .trip-card__title {
        font-size: 1.25rem;
    }
    main.grouppage .trip-card--1 .trip-card__title,
    main.grouppage .trip-card--5 .trip-card__title {
        font-size: 1.35rem;
    }
}

/* --- CTA Banner --- */
main.grouppage .cta-banner {
    position: relative;
    padding: 9rem 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@supports (-webkit-overflow-scrolling: touch) {
    /* iOS fallback — fixed attachment not supported */
    main.grouppage .cta-banner {
        background-attachment: scroll;
        background-position: center 40%;
    }
}
@media (max-width: 1023px) {
    main.grouppage .cta-banner {
        background-attachment: scroll;
        background-position: center 40%;
    }
}
main.grouppage .cta-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(10, 10, 25, 0.88) 0%, rgba(10, 10, 25, 0.55) 50%, rgba(10, 10, 25, 0.85) 100%),
        linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
}
main.grouppage .cta-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
}
main.grouppage .cta-banner-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    font-style: italic;
    margin: 0 0 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 3px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4);
}
main.grouppage .cta-banner-text {
    max-width: 540px;
    margin: 0 auto 2.75rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    font-size: 1rem;
    letter-spacing: 0.015em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
main.grouppage .cta-banner-btn {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 1.1rem 3rem;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
main.grouppage .cta-banner-btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: #fff;
    letter-spacing: 0.22em;
    box-shadow: 0 0 30px rgba(255,255,255,0.15);
}

/* --- Video Section (cinematic) --- */
main.grouppage .yt-lite-poster {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 101%;
    height: auto;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
main.grouppage .video-section-title {
    font-family: 'Cormorant Garamond', 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.01em;
}
main.grouppage .video-cinema {
    max-width: 960px;
    margin: 0 auto 2.5rem;
    box-shadow:
        0 20px 60px rgba(26, 26, 46, 0.18),
        0 4px 16px rgba(26, 26, 46, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
}
main.grouppage .video-cinema .yt-lite {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a14;
    /* Remove YouTube bg image, use our own poster */
}
main.grouppage .yt-lite-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10,10,20,0.38) 0%, rgba(10,10,20,0.18) 40%, rgba(10,10,20,0.38) 100%);
    pointer-events: none;
    border-radius: inherit;
}
main.grouppage .video-cinema .yt-lite::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 20, 0.25) 0%,
        transparent 30%,
        transparent 70%,
        rgba(10, 10, 20, 0.35) 100%
    );
    pointer-events: none;
    transition: opacity 0.4s;
}
main.grouppage .video-cinema .yt-lite:hover::before {
    opacity: 0.5;
}
main.grouppage .video-cinema .yt-lite-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Custom play button — translucent circle + triangle */
main.grouppage .play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background 0.35s, border-color 0.35s, transform 0.35s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
main.grouppage .play-btn__tri {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
    transition: border-color 0.35s;
}
main.grouppage .yt-lite:hover .play-btn {
    background: rgba(201, 168, 76, 0.7);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.08);
}
main.grouppage .yt-lite:hover .play-btn__tri {
    border-left-color: #fff;
}

/* Small play button for thumbnails */
main.grouppage .play-btn--sm {
    width: 50px;
    height: 50px;
}
main.grouppage .play-btn--sm .play-btn__tri {
    border-width: 8px 0 8px 15px;
    margin-left: 3px;
}
main.grouppage .video-cinema .yt-lite:hover .yt-lite-play .play-btn {
    transform: scale(1.08);
}

/* Thumbnail strip */
main.grouppage .video-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}
main.grouppage .video-thumb {
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.10);
    border: 1px solid rgba(201, 168, 76, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
main.grouppage .video-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(26, 26, 46, 0.16);
}
main.grouppage .video-thumb .yt-lite {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a14;
}
main.grouppage .video-thumb .yt-lite-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 639px) {
    main.grouppage .video-section-title {
        font-size: 2rem;
    }
    main.grouppage .video-thumbs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* --- Review Section --- */
main.grouppage .review-quote {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    font-style: italic;
}
main.grouppage .review-title {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.75rem;
    line-height: 1.35;
}
main.grouppage .review-quote-wrap {
    position: relative;
    max-height: 7.5em;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-bottom: 0;
    padding-bottom: 0;
}
main.grouppage .review-quote-wrap.is-expanded {
    max-height: 100em;
}
main.grouppage .review-quote-wrap:not(.is-expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5em;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}
main.grouppage .review-read-more {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    color: #c9a84c;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.4rem 0;
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: color 0.2s ease;
}
main.grouppage .review-read-more:focus,
main.grouppage .review-read-more:active,
main.grouppage .review-read-more:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}
main.grouppage .review-read-more:hover {
    color: #a88a30;
}
main.grouppage .review-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 0.85rem;
    margin-top: auto;
}
main.grouppage .review-author {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.9rem;
}
main.grouppage .review-location {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.1rem;
}
/* --- Theme Cards (premium clean) --- */
main.grouppage .theme-accent {
    width: 1.5rem;
    height: 2px;
    background: #00a652;
    margin-bottom: 1.25rem;
}
main.grouppage .theme-icon {
    color: #00a652;
    margin-bottom: 0.85rem;
}
main.grouppage .theme-icon svg {
    width: 20px;
    height: 20px;
}
main.grouppage .theme-title {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
main.grouppage .theme-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 1023px) {
    main.grouppage .theme-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
    main.grouppage .theme-grid { grid-template-columns: 1fr; gap: 1rem; }
    main.grouppage .theme-card { padding: 1.5rem 1.25rem; }
}

/* --- Crosslink Section --- */
main.grouppage .crosslink-section {
    background: #1a1a2e;
    padding: 3.5rem 0;
}
main.grouppage .crosslink-title {
    font-family: 'Lora', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}
main.grouppage .crosslink-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}
main.grouppage .crosslink-btn {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    background: #00a652;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: 0;
    border: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
main.grouppage .crosslink-btn:hover {
    background: #008a44;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,166,82,0.25);
}

/* --- Explore Cards --- */
main.grouppage .group-explore-card {
    display: block;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
main.grouppage .explore-body {
    padding: 1.25rem;
}
main.grouppage .explore-title {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.35rem;
}
main.grouppage .explore-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 0.65rem;
}
main.grouppage .explore-cta {
    color: #00a652;
    font-weight: 600;
    font-size: 0.9rem;
}
