/* =============================================================
   SINGLE GYM TEMPLATE STYLES
   Prefix: gd-  |  Mobile-first
   ============================================================= */

/* ── Nuclear reset: override EVERYTHING the theme injects into our template ── */

/* Hide theme's default site-title header and <hr> separator above gym content */
body.single-gym #header,
body.single-gym #headerimg,
body.single-gym .site-header,
body.single-gym hr:first-of-type {
    display: none !important;
}

/* Force the whole gym page to be dark */
body.single-gym {
    background-color: #0F0F11 !important;
    color: #F9F8F6 !important;
}

/* Every element inside our wrapper must stay on dark bg */
.gd-single-gym,
.gd-single-gym *,
.gd-single-gym *::before,
.gd-single-gym *::after {
    --wp--preset--color--base: transparent;
    --wp--preset--color--contrast: #F9F8F6;
}

/* Every section must be transparent so the dark parent shows through */
.gd-single-gym section,
.gd-single-gym .gd-section,
.gd-single-gym .gd-single-layout,
.gd-single-gym .gd-single-main,
.gd-single-gym .gd-single-sidebar,
.gd-single-gym .gd-overview,
.gd-single-gym .gd-classes,
.gd-single-gym .gd-amenities,
.gd-single-gym .gd-pricing,
.gd-single-gym .gd-reviews,
.gd-single-gym .gd-location,
.gd-single-gym .gd-faq,
.gd-single-gym .gd-nearby {
    background-color: transparent !important;
    color: #F9F8F6 !important;
}

/* Section headings must be white */
.gd-single-gym h1,
.gd-single-gym h2,
.gd-single-gym h3,
.gd-single-gym h4,
.gd-single-gym h5,
.gd-single-gym h6 {
    color: #ffffff !important;
}

/* ── Theme Reset — override TwentyTwentyFive / block theme constraints ── */
body.single-gym,
body.single-gym .wp-site-blocks,
body.single-gym .site-content,
body.single-gym main.wp-block-group,
body.single-gym .entry-content,
body.single-gym .wp-block-post-content,
body.single-gym .is-layout-constrained {
    max-width: none !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
}

/* Remove block theme's default content padding/margin */
body.single-gym .entry-content > *,
body.single-gym .wp-block-post-content > *,
body.single-gym .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none !important;
    padding-inline: 0 !important;
}

/* Kill any theme top-spacing that pushes hero down */
body.single-gym main,
body.single-gym .site-main,
body.single-gym #main,
body.single-gym .wp-block-group,
body.single-gym .wp-block-post-content,
body.single-gym .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure hero and nav are truly full-width */
body.single-gym .gd-hero,
body.single-gym .gd-anchor-nav,
body.single-gym .gd-nearby {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    width: 100vw !important;
}

/* Container helper */
.gd-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 20px;
}

@media (min-width: 768px) {
    .gd-container { padding-inline: 32px; }
}

@media (min-width: 1280px) {
    .gd-container { padding-inline: 40px; }
}

/* ── Layout ───────────────────────────────────────────────────── */
.gd-single-gym {
    background: var(--gd-navy);
    color: var(--gd-off-white);
    min-height: 100vh;
}

.gd-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gd-space-8);
    padding-block: var(--gd-space-8);
}

@media (min-width: 1024px) {
    .gd-single-layout {
        grid-template-columns: 1fr 320px;
        align-items: start;
    }
}

/* ── SECTION 1: HERO ──────────────────────────────────────────── */
.gd-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

@media (min-width: 768px) { .gd-hero { min-height: 420px; } }
@media (min-width: 1024px) { .gd-hero { min-height: 480px; } }

.gd-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transform: scale(1.04);
    transition: transform 6s ease-out;
    will-change: transform;
}
.gd-hero:hover .gd-hero__bg { transform: scale(1); }

.gd-hero__bg--fallback {
    background: linear-gradient(160deg, #1a1a1d 0%, #0F0F11 60%, #0a1520 100%);
}

/* ── Hero head: logo + title block, side-by-side on desktop ──── */
.gd-hero__head {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: var(--gd-space-3);
}

.gd-hero__head-text {
    flex: 1 1 auto;
    min-width: 0;
}

.gd-hero__logo-wrap {
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    border-radius: 18px;
    background: #fff;
    padding: 8px;
    box-shadow:
        0 8px 28px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.10),
        inset 0 0 0 1px rgba(201,168,76,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gd-hero__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 640px) {
    .gd-hero__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .gd-hero__logo-wrap {
        width: 64px;
        height: 64px;
        border-radius: 12px;
        padding: 6px;
    }
}

.gd-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15,15,17,0.98) 0%,
        rgba(15,15,17,0.70) 40%,
        rgba(15,15,17,0.20) 100%
    );
}

.gd-hero__inner {
    position: relative;
    z-index: 2;
    padding-block: 16px 32px;
    width: 100%;
}

@media (min-width: 768px) {
    .gd-hero__inner { padding-block: 20px 40px; }
}

/* ── Hero two-column layout (left: info, right: video) ───── */
.gd-hero__cols {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}
.gd-hero__col-left {
    flex: 1 1 auto;
    min-width: 0;
}
.gd-hero__col-right {
    flex: 0 0 380px;
    width: 380px;
    display: flex;
    align-items: center;
    padding-top: 8px;
}
.gd-hero__video-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55);
}
.gd-hero__video-embed {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
@media (max-width: 900px) {
    .gd-hero__cols {
        flex-direction: column;
    }
    .gd-hero__col-right {
        flex: none;
        width: 100%;
    }
}

.gd-hero__sponsored-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gd-gold);
    border: 1px solid var(--gd-gold);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: var(--gd-space-3);
}

.gd-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-2);
    margin-bottom: var(--gd-space-3);
}

.gd-hero__title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 var(--gd-space-2);
    display: flex;
    align-items: center;
    gap: var(--gd-space-2);
    flex-wrap: wrap;
}

.gd-hero__verified {
    display: inline-flex;
    flex-shrink: 0;
}

.gd-hero__location {
    display: flex;
    align-items: center;
    gap: var(--gd-space-1);
    font-size: 1rem;
    color: rgba(247,245,242,0.75);
    margin: 0 0 var(--gd-space-2);
}

.gd-hero__tagline {
    font-size: 1.1rem;
    color: rgba(247,245,242,0.85);
    font-style: italic;
    margin: 0 0 var(--gd-space-5);
}

/* Trust bar */
.gd-hero__trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gd-space-4);
    margin-bottom: var(--gd-space-5);
    padding: var(--gd-space-3) var(--gd-space-4);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border-radius: var(--gd-radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
}

.gd-trust-item {
    display: flex;
    align-items: center;
    gap: var(--gd-space-2);
}

.gd-trust-item--rating { gap: var(--gd-space-1); }

.gd-trust-item__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.gd-trust-item__sub {
    font-size: 0.82rem;
    color: rgba(247,245,242,0.6);
}

.gd-price-range {
    font-weight: 700;
    font-size: 1rem;
    color: var(--gd-gold);
    letter-spacing: 0.05em;
}

/* Open/Closed badge */
.gd-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.gd-open-badge--open {
    background: rgba(0,191,165,0.15);
    color: #00BFA5;
    border: 1px solid rgba(0,191,165,0.3);
}

.gd-open-badge--closed {
    background: rgba(220,38,38,0.12);
    color: #DC2626;
    border: 1px solid rgba(220,38,38,0.25);
}

.gd-open-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: gd-pulse 2s infinite;
}

/* Quick stats */
.gd-hero__quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-4);
    margin-bottom: var(--gd-space-5);
}

.gd-quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.gd-quick-stat__value {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--gd-flame);
    line-height: 1;
}

.gd-quick-stat--24hr .gd-quick-stat__value { color: var(--gd-teal); }

.gd-quick-stat__label {
    font-size: 0.72rem;
    color: rgba(247,245,242,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

/* CTA Row */
.gd-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-3);
}

/* ── SECTION 2: ANCHOR NAV ────────────────────────────────────── */
.gd-anchor-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15,15,17,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.gd-anchor-nav__list {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}
.gd-anchor-nav__list::-webkit-scrollbar { display: none; }

.gd-anchor-nav__link {
    display: block;
    padding: var(--gd-space-3) var(--gd-space-4);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(247,245,242,0.6);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--anim-fast), border-color var(--anim-fast);
}

.gd-anchor-nav__link:hover,
.gd-anchor-nav__link.is-active {
    color: var(--gd-flame);
    border-bottom-color: var(--gd-flame);
}

/* ── SHARED SECTION STYLES ────────────────────────────────────── */
.gd-section {
    padding-block: var(--gd-space-8);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gd-section:last-child { border-bottom: none; }

.gd-section__heading {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 var(--gd-space-6);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gd-subsection-heading {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(247,245,242,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: var(--gd-space-5) 0 var(--gd-space-3);
}

/* ── SECTION 3: OVERVIEW ──────────────────────────────────────── */
.gd-overview__lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(247,245,242,0.85);
    margin: 0 0 var(--gd-space-4);
}

.gd-overview__body {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(247,245,242,0.75);
}

.gd-owner-response {
    background: rgba(0,191,165,0.07);
    border-left: 3px solid var(--gd-teal);
    border-radius: 0 var(--gd-radius-md) var(--gd-radius-md) 0;
    padding: var(--gd-space-4) var(--gd-space-5);
    margin-block: var(--gd-space-5);
}

.gd-owner-response__header {
    display: flex;
    align-items: center;
    gap: var(--gd-space-2);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gd-teal);
    margin-bottom: var(--gd-space-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gd-owner-response__text {
    font-size: 0.95rem;
    color: rgba(247,245,242,0.8);
    line-height: 1.65;
    margin: 0;
}

/* Gallery */
.gd-gallery { margin-block: var(--gd-space-6); }

.gd-gallery__heading {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(247,245,242,0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--gd-space-3);
}

.gd-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    border-radius: var(--gd-radius-lg);
    overflow: hidden;
}

@media (min-width: 768px) {
    .gd-gallery__grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
    }
}

.gd-gallery__item {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gd-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gd-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--anim-mid);
    display: block;
}

.gd-gallery__item:hover img { transform: scale(1.05); }

.gd-gallery__more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,15,17,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

/* Video */
.gd-video-wrapper {
    margin-block: var(--gd-space-6);
    border-radius: var(--gd-radius-lg);
    overflow: hidden;
    background: rgba(0,0,0,0.3);
}

.gd-video-embed {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

/* ── SECTION 4: CLASSES ───────────────────────────────────────── */
.gd-classes__types {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-2);
    margin-bottom: var(--gd-space-5);
}

.gd-classes__grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-2);
    margin-bottom: var(--gd-space-4);
}

.gd-class-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(220,38,38,0.08);
    border: 1px solid rgba(220,38,38,0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(247,245,242,0.85);
    transition: background var(--anim-fast), border-color var(--anim-fast);
}

.gd-class-chip:hover {
    background: rgba(220,38,38,0.15);
    border-color: rgba(220,38,38,0.4);
}

.gd-services__ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--gd-space-2);
}

.gd-services__item {
    display: flex;
    align-items: center;
    gap: var(--gd-space-2);
    padding: var(--gd-space-2) var(--gd-space-3);
    background: rgba(255,255,255,0.03);
    border-radius: var(--gd-radius-md);
    font-size: 0.9rem;
}

.gd-services__icon { font-size: 1.1em; }

.gd-classes__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-3);
    margin-block: var(--gd-space-4);
}

.gd-meta-pill {
    padding: 5px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 999px;
    font-size: 0.85rem;
    color: rgba(247,245,242,0.7);
}

.gd-meta-pill strong { color: var(--gd-off-white); }

.gd-classes__programs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-2);
    margin-block: var(--gd-space-4);
}

.gd-classes__schedule-cta { margin-top: var(--gd-space-5); }

/* ── SECTION 5: AMENITIES ─────────────────────────────────────── */
.gd-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: var(--gd-space-3);
    margin-bottom: var(--gd-space-6);
}

.gd-amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gd-space-1);
    padding: var(--gd-space-3) var(--gd-space-2);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--gd-radius-lg);
    text-align: center;
    transition: background var(--anim-fast), transform var(--anim-fast);
}

.gd-amenity-item:hover {
    background: rgba(0,191,165,0.08);
    border-color: rgba(0,191,165,0.2);
    transform: translateY(-2px);
}

.gd-amenity-item__icon { font-size: 1.5rem; }

.gd-amenity-item__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(247,245,242,0.7);
    line-height: 1.3;
}

/* Facility stats */
.gd-facility-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--gd-space-3);
    margin-bottom: var(--gd-space-6);
}

.gd-facility-stat {
    display: flex;
    align-items: flex-start;
    gap: var(--gd-space-3);
    padding: var(--gd-space-3);
    background: rgba(255,255,255,0.03);
    border-radius: var(--gd-radius-lg);
}

.gd-facility-stat__icon { font-size: 1.5rem; flex-shrink: 0; }

.gd-facility-stat__value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.gd-facility-stat__label {
    display: block;
    font-size: 0.75rem;
    color: rgba(247,245,242,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gd-equipment-brands { margin-bottom: var(--gd-space-5); }

.gd-equipment-brands__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-2);
}

.gd-facility-note {
    display: flex;
    align-items: flex-start;
    gap: var(--gd-space-3);
    padding: var(--gd-space-3) var(--gd-space-4);
    border-radius: var(--gd-radius-md);
    margin-bottom: var(--gd-space-3);
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(247,245,242,0.75);
}

.gd-facility-note--pool { background: rgba(0,191,165,0.07); }
.gd-facility-note--access { background: rgba(201,168,76,0.07); }
.gd-facility-note__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.gd-facility-note p { margin: 0; }

/* ── SECTION 6: PRICING ───────────────────────────────────────── */
.gd-pricing__cta-block {
    padding: var(--gd-space-6);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--gd-radius-xl);
    text-align: center;
}

.gd-pricing__no-data {
    font-size: 1rem;
    color: rgba(247,245,242,0.65);
    margin-bottom: var(--gd-space-4);
}

.gd-pricing__contact-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gd-space-3);
    justify-content: center;
}

.gd-pricing__table-wrap {
    border-radius: var(--gd-radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: var(--gd-space-5);
}

.gd-pricing__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.gd-pricing__table thead {
    background: rgba(255,255,255,0.05);
}

.gd-pricing__table thead th {
    padding: var(--gd-space-3) var(--gd-space-5);
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(247,245,242,0.5);
    font-weight: 600;
}

.gd-pricing__table tbody tr {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.gd-pricing__table tbody td {
    padding: var(--gd-space-3) var(--gd-space-5);
    color: rgba(247,245,242,0.85);
}

.gd-pricing__row--highlight {
    background: rgba(220,38,38,0.05);
}

.gd-pricing__row--fee td {
    color: rgba(247,245,242,0.55);
    font-size: 0.88rem;
}

.gd-pricing__price {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    text-align: right;
}

/* Perks */
.gd-pricing__perks {
    display: flex;
    flex-direction: column;
    gap: var(--gd-space-3);
    margin-bottom: var(--gd-space-5);
}

.gd-perk {
    display: flex;
    align-items: flex-start;
    gap: var(--gd-space-3);
    padding: var(--gd-space-3) var(--gd-space-4);
    background: rgba(255,255,255,0.03);
    border-radius: var(--gd-radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
}

.gd-perk--highlight {
    background: rgba(201,168,76,0.08);
    border-color: rgba(201,168,76,0.2);
}

.gd-perk__icon { font-size: 1.4rem; flex-shrink: 0; }
.gd-perk strong { display: block; color: #fff; margin-bottom: 2px; }
.gd-perk p { margin: 0; font-size: 0.88rem; color: rgba(247,245,242,0.6); }

.gd-pricing__contract-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--gd-space-2);
    font-size: 0.85rem;
    color: rgba(201,168,76,0.8);
    padding: var(--gd-space-2) var(--gd-space-3);
    background: rgba(201,168,76,0.06);
    border-radius: var(--gd-radius-md);
    margin-bottom: var(--gd-space-4);
}

.gd-pricing__guest-policy {
    font-size: 0.9rem;
    color: rgba(247,245,242,0.65);
    line-height: 1.65;
}

/* ── SECTION 7: HOURS ─────────────────────────────────────────── */
.gd-hours {
    margin-top: var(--gd-space-8);
    padding-top: var(--gd-space-6);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.gd-hours__heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 var(--gd-space-4);
}

.gd-hours__24hr-badge { margin-bottom: var(--gd-space-4); }

.gd-hours__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.gd-hours__row {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.gd-hours__row--today {
    background: rgba(220,38,38,0.05);
}

.gd-hours__day {
    padding: var(--gd-space-2) var(--gd-space-3) var(--gd-space-2) 0;
    text-align: left;
    font-weight: 600;
    color: rgba(247,245,242,0.7);
    width: 50%;
}

.gd-hours__row--today .gd-hours__day { color: var(--gd-flame); }

.gd-hours__today-pill {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.65rem;
    background: var(--gd-flame);
    color: #fff;
    border-radius: 999px;
    padding: 1px 7px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    vertical-align: middle;
}

.gd-hours__time {
    padding: var(--gd-space-2) 0;
    color: rgba(247,245,242,0.85);
    font-family: var(--gd-mono);
    font-size: 0.85rem;
}

.gd-hours__time--closed { color: rgba(247,245,242,0.35); font-style: italic; }

.gd-hours__holiday-note {
    margin-top: var(--gd-space-3);
    font-size: 0.85rem;
    color: rgba(247,245,242,0.6);
    padding: var(--gd-space-2) var(--gd-space-3);
    background: rgba(201,168,76,0.06);
    border-radius: var(--gd-radius-md);
}

/* ── SECTION 8: REVIEWS ───────────────────────────────────────── */
.gd-reviews__aggregate {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gd-space-5);
    padding: var(--gd-space-5);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--gd-radius-xl);
    margin-bottom: var(--gd-space-6);
}

@media (min-width: 768px) {
    .gd-reviews__aggregate {
        grid-template-columns: auto 1fr auto;
        align-items: start;
    }
}

.gd-reviews__score-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gd-space-1);
}

.gd-reviews__big-score {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gd-gold);
    line-height: 1;
}

.gd-reviews__total {
    font-size: 0.8rem;
    color: rgba(247,245,242,0.5);
}

/* Breakdown bars */
.gd-breakdown-row {
    display: grid;
    grid-template-columns: 40px 1fr 30px;
    align-items: center;
    gap: var(--gd-space-2);
    margin-bottom: 6px;
}

.gd-breakdown-row__label {
    font-size: 0.8rem;
    color: rgba(247,245,242,0.6);
    font-weight: 600;
    text-align: right;
}

.gd-breakdown-row__bar-track {
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
}

.gd-breakdown-row__bar-fill {
    height: 100%;
    background: var(--gd-gold);
    border-radius: 999px;
    transition: width 0.8s ease-out;
}

.gd-breakdown-row__count {
    font-size: 0.75rem;
    color: rgba(247,245,242,0.45);
}

/* External ratings */
.gd-reviews__external {
    display: flex;
    flex-direction: column;
    gap: var(--gd-space-2);
}

.gd-ext-rating {
    display: flex;
    align-items: center;
    gap: var(--gd-space-2);
    padding: var(--gd-space-2) var(--gd-space-3);
    background: rgba(255,255,255,0.04);
    border-radius: var(--gd-radius-md);
    font-size: 0.88rem;
}

.gd-ext-rating__source {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(247,245,242,0.5);
    min-width: 44px;
}

.gd-ext-rating__source--yelp { color: #FF1A1A; }
.gd-ext-rating__score { font-weight: 700; color: #fff; }
.gd-ext-rating__star { color: var(--gd-gold); }
.gd-ext-rating__count { color: rgba(247,245,242,0.45); font-size: 0.78rem; }

/* Review list */
.gd-reviews__list {
    display: flex;
    flex-direction: column;
    gap: var(--gd-space-4);
    margin-bottom: var(--gd-space-8);
}

.gd-review-card {
    padding: var(--gd-space-4) var(--gd-space-5);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--gd-radius-xl);
    transition: border-color var(--anim-fast);
}

.gd-review-card:hover { border-color: rgba(255,255,255,0.12); }

.gd-review-card__header {
    display: flex;
    align-items: center;
    gap: var(--gd-space-3);
    margin-bottom: var(--gd-space-3);
    flex-wrap: wrap;
}

.gd-review-card__author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gd-flame);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.gd-review-card__author {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.gd-review-card__date {
    display: block;
    font-size: 0.78rem;
    color: rgba(247,245,242,0.45);
}

.gd-review-card__stars {
    margin-left: auto;
    display: flex;
    gap: 2px;
}

.gd-review-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 var(--gd-space-2);
}

.gd-review-card__body {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(247,245,242,0.7);
    margin: 0;
}

/* Review form */
.gd-review-form-wrap {
    padding: var(--gd-space-6);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--gd-radius-xl);
    margin-top: var(--gd-space-6);
}

.gd-form-group { margin-bottom: var(--gd-space-4); }

.gd-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(247,245,242,0.7);
    margin-bottom: var(--gd-space-1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gd-form-input,
.gd-form-textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--gd-radius-md);
    padding: var(--gd-space-3) var(--gd-space-4);
    color: var(--gd-off-white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--anim-fast), box-shadow var(--anim-fast);
    box-sizing: border-box;
}

.gd-form-input:focus,
.gd-form-textarea:focus {
    outline: none;
    border-color: var(--gd-flame);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}

.gd-form-textarea { resize: vertical; min-height: 120px; }

.gd-star-rating-interactive {
    display: flex;
    gap: 4px;
    cursor: pointer;
}

.gd-star-interactive { transition: transform var(--anim-fast); }
.gd-star-rating-interactive:hover .gd-star-interactive polygon { fill: var(--gd-gold); }
.gd-star-rating__label:hover ~ .gd-star-rating__label .gd-star-interactive polygon { fill: #2a3a4a; }

.gd-form-actions { margin-top: var(--gd-space-5); }

.gd-review-form__message {
    margin-top: var(--gd-space-3);
    padding: var(--gd-space-3);
    border-radius: var(--gd-radius-md);
    font-size: 0.9rem;
}

.gd-review-form__login-notice {
    color: rgba(247,245,242,0.6);
    font-size: 0.95rem;
}

.gd-review-form__login-notice a {
    color: var(--gd-flame);
    text-decoration: underline;
}

/* ── SECTION 9: LOCATION ──────────────────────────────────────── */
.gd-location__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gd-space-6);
}

@media (min-width: 768px) {
    .gd-location__inner {
        grid-template-columns: 1fr 280px;
        align-items: start;
    }
}

.gd-map-wrap {
    border-radius: var(--gd-radius-xl);
    overflow: visible;
    aspect-ratio: unset;
    order: -1;
}

@media (min-width: 768px) {
    .gd-map-wrap {
        grid-column: 1 / -1;
        order: unset;
    }
}

.gd-map-iframe,
.gd-map-image {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
    border-radius: var(--gd-radius-xl);
    object-fit: cover;
}
.gd-map-link { display: block; }
.gd-map-link:hover .gd-map-image { opacity: 0.92; }

@media (min-width: 768px) {
    .gd-map-iframe,
    .gd-map-image { height: 440px; }
}

.gd-map-attribution {
    font-size: 0.72rem;
    color: rgba(247,245,242,0.45);
    margin: 6px 0 0;
    text-align: right;
}

.gd-map-attribution a {
    color: rgba(247,245,242,0.6);
    text-decoration: underline;
}
.gd-map-attribution a:hover {
    color: #DC2626;
}

.gd-location__address { font-style: normal; }

.gd-location__address-block {
    display: flex;
    align-items: flex-start;
    gap: var(--gd-space-3);
    margin-bottom: var(--gd-space-4);
    padding: var(--gd-space-4);
    background: rgba(255,255,255,0.03);
    border-radius: var(--gd-radius-lg);
}

.gd-location__street,
.gd-location__city-state {
    display: block;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(247,245,242,0.8);
}

.gd-location__city-state { font-weight: 600; }

.gd-location__contact-row,
.gd-location__parking {
    display: flex;
    align-items: center;
    gap: var(--gd-space-3);
    margin-bottom: var(--gd-space-3);
    font-size: 0.9rem;
}

.gd-location__phone-link,
.gd-location__email-link {
    color: var(--gd-teal);
    text-decoration: none;
    transition: opacity var(--anim-fast);
}

.gd-location__phone-link:hover,
.gd-location__email-link:hover { opacity: 0.75; }

.gd-location__parking {
    margin-top: var(--gd-space-4);
    padding: 12px 16px;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.25);
    border-left: 3px solid var(--gd-gold);
    border-radius: 8px;
    color: rgba(247,245,242,0.85);
    font-size: 0.92rem;
    line-height: 1.4;
    align-items: flex-start;
    gap: 10px;
}
.gd-location__parking svg { flex-shrink: 0; margin-top: 2px; }
.gd-location__parking span { flex: 1; }
.gd-location__parking::first-letter { text-transform: uppercase; }

.gd-location__dir-btn { margin-top: var(--gd-space-4); }

/* ── SECTION 10: FAQ ──────────────────────────────────────────── */
.gd-faq__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gd-faq__item {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--gd-radius-lg);
    overflow: hidden;
    transition: border-color var(--anim-fast);
}

.gd-faq__item:has(.gd-faq__toggle[aria-expanded="true"]) {
    border-color: rgba(220,38,38,0.25);
}

.gd-faq__question { margin: 0; }

.gd-faq__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gd-space-3);
    padding: var(--gd-space-4) var(--gd-space-5);
    background: rgba(255,255,255,0.03);
    border: none;
    color: rgba(247,245,242,0.9);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background var(--anim-fast), color var(--anim-fast);
}

.gd-faq__toggle:hover,
.gd-faq__toggle[aria-expanded="true"] {
    background: rgba(220,38,38,0.06);
    color: #fff;
}

.gd-faq__chevron {
    flex-shrink: 0;
    transition: transform var(--anim-mid);
    color: var(--gd-flame);
}

.gd-faq__toggle[aria-expanded="true"] .gd-faq__chevron { transform: rotate(180deg); }

.gd-faq__answer {
    padding: 0 var(--gd-space-5) var(--gd-space-4);
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(247,245,242,0.7);
    background: rgba(220,38,38,0.03);
}

.gd-faq__answer p { margin: 0; }

/* ── SIDEBAR ──────────────────────────────────────────────────── */
.gd-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--gd-space-4);
    /* Sticky sidebar: the whole sidebar sticks as one unit */
    position: sticky;
    top: calc(56px + 16px); /* 56px anchor nav height + 16px breathing room */
    align-self: start;      /* required: prevents grid stretching the column */
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    scrollbar-width: none;  /* Firefox */
}
.gd-single-sidebar::-webkit-scrollbar { display: none; } /* Chrome/Safari */

@media (max-width: 1023px) {
    .gd-single-sidebar { display: none; }
}

.gd-sidebar-card {
    padding: var(--gd-space-5);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--gd-radius-xl);
    /* position:sticky removed — parent handles sticking now */
}

.gd-sidebar-card__heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(247,245,242,0.45);
    margin: 0 0 var(--gd-space-3);
}

.gd-sidebar-cta {
    display: block;
    text-align: center;
    margin-bottom: var(--gd-space-2);
    width: 100%;
}

.gd-sidebar-dl { margin: 0; }

.gd-sidebar-dl dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(247,245,242,0.45);
    margin-top: var(--gd-space-2);
}

.gd-sidebar-dl dd {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(247,245,242,0.85);
    font-weight: 600;
}

.gd-sidebar-card--upsell {
    background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(220,38,38,0.06) 100%);
    border-color: rgba(201,168,76,0.2);
    text-align: center;
}

.gd-sidebar-card--upsell p {
    font-size: 0.88rem;
    color: rgba(247,245,242,0.65);
    margin: 0 0 var(--gd-space-3);
    line-height: 1.5;
}

.gd-awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gd-space-2);
}

.gd-awards-list__item {
    display: flex;
    align-items: center;
    gap: var(--gd-space-2);
    font-size: 0.88rem;
    color: rgba(247,245,242,0.75);
}

.gd-awards-list__icon { flex-shrink: 0; }

/* ── SECTION 11: NEARBY GYMS ──────────────────────────────────── */
.gd-nearby {
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-block: var(--gd-space-12);
}

.gd-nearby__grid {
    margin-top: var(--gd-space-6);
}

.gd-nearby__see-all {
    text-align: center;
    margin-top: var(--gd-space-8);
}

/* ── EMPTY STATES ─────────────────────────────────────────────── */
.gd-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--gd-space-3);
    padding: var(--gd-space-8) var(--gd-space-6);
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: var(--gd-radius-xl);
    text-align: center;
}

.gd-empty-state__icon {
    font-size: 2.5rem;
    line-height: 1;
    opacity: 0.5;
}

.gd-empty-state__text {
    font-size: 0.95rem;
    color: rgba(247,245,242,0.45);
    margin: 0;
}

/* ── ACCESSIBILITY UTILITIES ──────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── STARS ────────────────────────────────────────────────────── */
.gd-stars {
    display: inline-flex;
    gap: 1px;
    vertical-align: middle;
}

.gd-star-svg { display: block; }
.gd-star-svg--lg { width: 24px; height: 24px; }

.gd-reviews__big-stars {
    display: flex;
    gap: 2px;
}

/* ════════════════════════════════════════════════════════════════
   OVERRIDES & ENHANCEMENTS FOR SINGLE GYM PAGE
   ════════════════════════════════════════════════════════════════ */

/* ── 1. Tier badge — dark-theme variants ─────────────────────── */
.gd-single-gym .gd-tier {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.gd-single-gym .gd-tier--free {
    background: rgba(255,255,255,0.08);
    color: rgba(247,245,242,0.5);
    border-color: rgba(255,255,255,0.12);
}
.gd-single-gym .gd-tier--claimed {
    background: rgba(59,130,246,0.18);
    color: #93C5FD;
    border-color: rgba(59,130,246,0.3);
}
.gd-single-gym .gd-tier--premium {
    background: rgba(201,168,76,0.18);
    color: #C9A84C;
    border-color: rgba(201,168,76,0.35);
}
.gd-single-gym .gd-tier--featured {
    background: #C9A84C;
    color: #0F0F11;
    border-color: #C9A84C;
}

/* ── 1b. Type chip on hero ───────────────────────────────────── */
.gd-single-gym .gd-chip--dark {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(220,38,38,0.18);
    border: 1px solid rgba(220,38,38,0.4);
    color: #FF7043;
    padding: 5px 14px;
    border-radius: 999px;
    transition: background 0.2s, border-color 0.2s;
}
.gd-single-gym .gd-chip--dark:hover {
    background: rgba(220,38,38,0.32);
    border-color: #DC2626;
    color: #fff;
}

/* ── 2. Unified stats bar (replaces trust-bar + quick-stats) ─── */
.gd-hero__stats-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: var(--gd-space-5);
}

.gd-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(247,245,242,0.85);
    white-space: nowrap;
}
.gd-stat-pill svg {
    flex-shrink: 0;
    opacity: 0.7;
}
.gd-stat-pill--rating {
    background: rgba(201,168,76,0.12);
    border-color: rgba(201,168,76,0.25);
    color: #C9A84C;
    font-weight: 700;
}
.gd-stat-pill--open {
    background: rgba(0,191,165,0.1);
    border-color: rgba(0,191,165,0.25);
    color: #00BFA5;
}
.gd-stat-pill--closed {
    background: rgba(220,38,38,0.08);
    border-color: rgba(220,38,38,0.2);
    color: #FF7043;
}
.gd-stat-pill--accent {
    background: rgba(0,191,165,0.12);
    border-color: rgba(0,191,165,0.3);
    color: #00BFA5;
}
.gd-stat-pill--price {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    color: rgba(247,245,242,0.7);
}
.gd-stat-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
    animation: gd-pulse 2s infinite;
}

/* ── 3. Anchor nav — bigger links ────────────────────────────── */
.gd-anchor-nav__link {
    font-size: 0.95rem !important;
    letter-spacing: 0.02em;
}

/* ── 4. Gallery — hero + filmstrip redesign ──────────────────── */
.gd-gallery { margin-block: var(--gd-space-6); }

.gd-gallery__heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(247,245,242,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--gd-space-3);
}

.gd-gallery__hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 6px;
    border-radius: var(--gd-radius-xl);
    overflow: hidden;
}

@media (min-width: 600px) {
    .gd-gallery__hero-layout {
        grid-template-columns: 3fr 2fr;
        grid-template-rows: 220px 220px;
    }
}

.gd-gallery__main {
    grid-row: span 2;
    display: block;
    overflow: hidden;
    position: relative;
    background: var(--card-navy, #0F0F11);
}
.gd-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gd-gallery__main:hover img { transform: scale(1.04); }

.gd-gallery__thumb {
    display: block;
    overflow: hidden;
    position: relative;
    background: #0F0F11;
}
.gd-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gd-gallery__thumb:hover img { transform: scale(1.06); }

.gd-gallery__thumb--more {
    position: relative;
}
.gd-gallery__more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,15,17,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}
.gd-gallery__more-overlay { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.gd-gallery__more-count { font-size: 1.6rem; font-weight: 900; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.gd-gallery__more-label { font-size: 0.65rem; font-weight: 600; opacity: 0.75; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.gd-gallery__thumb--more:hover .gd-gallery__more-overlay { background: rgba(220,38,38,0.55); }

/* Single-photo fallback */
.gd-gallery__single {
    border-radius: var(--gd-radius-xl);
    overflow: hidden;
    max-height: 420px;
}
.gd-gallery__single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── 4b. Video wrapper ───────────────────────────────────────── */
.gd-video-wrapper {
    margin-block: var(--gd-space-6);
    border-radius: var(--gd-radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #000;
    position: relative;
}
.gd-video-wrapper::before {
    content: 'VIDEO TOUR';
    position: absolute;
    top: 14px; left: 16px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
    z-index: 1;
}

/* ── 6 & 7 & 8. Sidebar CTAs ─────────────────────────────────── */
.gd-sidebar-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center;
    margin-bottom: var(--gd-space-2);
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--gd-radius-lg);
    transition: all 0.2s ease;
    text-decoration: none;
}
.gd-sidebar-cta svg { flex-shrink: 0; }

/* Phone CTA — primary orange */
.gd-sidebar-cta--phone {
    background: var(--gd-flame, #DC2626);
    color: #fff !important;
    border: 1.5px solid var(--gd-flame, #DC2626);
}
.gd-sidebar-cta--phone:hover {
    background: #B91C1C;
    border-color: #B91C1C;
}

/* Website CTA — same primary orange */
.gd-sidebar-cta--website {
    background: var(--gd-flame, #DC2626);
    color: #fff !important;
    border: 1.5px solid var(--gd-flame, #DC2626);
}
.gd-sidebar-cta--website:hover {
    background: #B91C1C;
    border-color: #B91C1C;
}

/* Directions CTA — teal creative */
.gd-sidebar-cta--directions {
    background: transparent;
    color: #00BFA5 !important;
    border: 1.5px solid rgba(0,191,165,0.4);
}
.gd-sidebar-cta--directions:hover {
    background: rgba(0,191,165,0.1);
    border-color: #00BFA5;
}

/* Claim / upsell CTA */
.gd-sidebar-card--upsell .gd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

/* ── FAQ section at end ──────────────────────────────────────── */
.gd-faq--standalone {
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-block: var(--gd-space-12);
    margin-top: 0;
}
.gd-faq--standalone .gd-container {
    max-width: 860px;
}
.gd-faq--standalone .gd-section__heading {
    text-align: center;
    margin-bottom: var(--gd-space-8);
}

/* ── Quick Info sidebar card redesign ─────────────────────── */
.gd-sidebar-info { display: flex; flex-direction: column; }

.gd-sidebar-info__row {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gd-sidebar-info__row:first-child { padding-top: 4px; }
.gd-sidebar-info__row:last-child  { border-bottom: none; padding-bottom: 0; }

.gd-sidebar-info__icon {
    grid-row: span 2;
    align-self: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(247,245,242,0.45);
    flex-shrink: 0;
}

.gd-sidebar-info__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(247,245,242,0.35);
    line-height: 1;
    align-self: end;
    margin-bottom: 1px;
    grid-column: 2;
}

.gd-sidebar-info__value {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(247,245,242,0.88);
    line-height: 1.3;
    align-self: start;
    grid-column: 2;
}

.gd-sidebar-info__value--open   { color: #00BFA5; }
.gd-sidebar-info__value--closed { color: #FF7043; }

/* ══════════════════════════════════════════════════════════════
   INSTAGRAM FEED SECTION
   ══════════════════════════════════════════════════════════════ */
.gd-ig-feed {
    background: var(--c-surface, #fff);
    border-top: 1px solid rgba(0,0,0,.07);
    padding: 4rem 0;
}

.gd-ig-feed__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
}

.gd-ig-feed__header .gd-section__heading {
    margin-bottom: 0;
}

.gd-ig-feed__follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #515bd4 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .3px;
    transition: opacity .2s, transform .2s;
    white-space: nowrap;
}
.gd-ig-feed__follow-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
    color: #fff;
}

/* ── Slider ─────────────────────────────────────────────── */
.gd-ig-slider {
    position: relative;
}

.gd-ig-slider__track-wrap {
    overflow: hidden;
    border-radius: 16px;
}

.gd-ig-slider__track {
    display: flex;
    gap: 0;
    transition: transform .42s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.gd-ig-slide {
    flex: 0 0 100%;
    max-width: 100%;
}

.gd-ig-slide__link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    text-decoration: none;
    color: inherit;
    min-height: 340px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
}
.gd-ig-slide__link:hover .gd-ig-slide__img {
    transform: scale(1.04);
}
.gd-ig-slide__link:focus-visible {
    outline: 2px solid #DC2626;
    outline-offset: 4px;
}

.gd-ig-slide__img-wrap {
    position: relative;
    overflow: hidden;
    background: #111;
}

.gd-ig-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.gd-ig-slide__video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.gd-ig-slide__meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 2rem 2.2rem;
    background: #1a1a2e;
    position: relative;
}
.gd-ig-slide__meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #f58529, #dd2a7b, #515bd4);
}

.gd-ig-slide__caption {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,.88);
    margin: 0;
}

.gd-ig-slide__date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

/* ── Controls ──────────────────────────────────────────── */
.gd-ig-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 1.4rem;
}

.gd-ig-slider__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,.12);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: background .2s, border-color .2s, color .2s;
}
.gd-ig-slider__arrow:hover {
    background: #DC2626;
    border-color: #DC2626;
    color: #fff;
}
.gd-ig-slider__arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.gd-ig-slider__dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.gd-ig-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,.18);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s;
}
.gd-ig-slider__dot.is-active {
    background: #DC2626;
    transform: scale(1.4);
}

/* ── Profile CTA (fallback when no live feed) ──────────── */
.gd-ig-feed__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 3rem 2rem;
    background: #F9F8F6;
    border-radius: 20px;
}

.gd-ig-feed__cta-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #515bd4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.gd-ig-feed__cta-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    max-width: 440px;
    margin: 0;
}

.gd-ig-feed__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #515bd4 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    letter-spacing: .3px;
    transition: opacity .2s, transform .2s;
}
.gd-ig-feed__cta-link:hover {
    opacity: .9;
    transform: translateY(-1px);
    color: #fff;
}

/* ── Instagram CTA button (shortcode) ─────────────────── */
.gd-ig-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #515bd4 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .3px;
    transition: opacity .2s, transform .2s;
    box-shadow: 0 4px 16px rgba(221,42,123,.25);
}
.gd-ig-cta-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
    color: #fff;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 680px) {
    .gd-ig-slide__link {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .gd-ig-slide__img-wrap {
        height: 260px;
    }
    .gd-ig-slide__meta {
        padding: 1.2rem 1.4rem;
    }
    .gd-ig-feed__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ══════════════════════════════════════════════════════════════
   RELATED LISTINGS SECTION
   ══════════════════════════════════════════════════════════════ */
.gd-related {
    background: #0a1520;
    padding: 5rem 0 6rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

/* ── Section header ──────────────────────────────────────── */
.gd-related__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.gd-related__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #DC2626;
    margin-bottom: 6px;
}

.gd-related__heading {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.gd-related__see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(247,245,242,.55);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.12);
    padding: 8px 16px;
    border-radius: 50px;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.gd-related__see-all:hover {
    color: #DC2626;
    border-color: #DC2626;
}

/* ── Grid ────────────────────────────────────────────────── */
.gd-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .gd-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .gd-related__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   RELATED CARD
   ══════════════════════════════════════════════════════════════ */
.gd-related-card {
    --rc-radius: 14px;
    --rc-accent: #DC2626;
    --rc-gold:   #C9A84C;
    background: #141E2D;
    border-radius: var(--rc-radius);
    border: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    position: relative;
}

.gd-related-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    border-radius: var(--rc-radius) var(--rc-radius) 0 0;
    transition: background .25s;
}

.gd-related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220,38,38,.35);
    box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(220,38,38,.15);
}

.gd-related-card:hover::before {
    background: linear-gradient(90deg, #DC2626, #FF8A65);
}

.gd-related-card--premium::before  { background: linear-gradient(90deg, #C9A84C, #e8c96a); }
.gd-related-card--featured::before { background: linear-gradient(90deg, #DC2626, #C9A84C); }

/* ── Image ───────────────────────────────────────────────── */
.gd-related-card__img-wrap {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0d1520;
    flex-shrink: 0;
}

.gd-related-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.gd-related-card:hover .gd-related-card__img {
    transform: scale(1.06);
}

.gd-related-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1520, #1a2535);
}

.gd-related-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,15,17,.7) 0%, transparent 60%);
}

/* Tier badge on image */
.gd-related-card__tier-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}
.gd-related-card__tier-badge--premium  { background: #C9A84C; color: #0a0a0a; }
.gd-related-card__tier-badge--featured { background: linear-gradient(90deg,#DC2626,#C9A84C); color: #fff; }
.gd-related-card__tier-badge--claimed  { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }

/* 24hr badge */
.gd-related-card__hr-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(0,191,165,.18);
    color: #00BFA5;
    border: 1px solid rgba(0,191,165,.35);
    z-index: 2;
}

/* ── Body ────────────────────────────────────────────────── */
.gd-related-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
    gap: 8px;
}

/* Type chips */
.gd-related-card__types {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.gd-related-card__type-chip {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #DC2626;
    background: rgba(220,38,38,.1);
    border: 1px solid rgba(220,38,38,.2);
    padding: 2px 7px;
    border-radius: 4px;
}

/* Name */
.gd-related-card__name {
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.gd-related-card__name a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gd-related-card__name a:hover {
    color: #DC2626;
}

.gd-related-card__verified {
    flex-shrink: 0;
    display: inline-flex;
}

/* Location */
.gd-related-card__location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: rgba(247,245,242,.45);
    margin: 0;
}

/* Rating + price row */
.gd-related-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.gd-related-card__stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gd-related-card__stars-track {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='11' viewBox='0 0 64 11'%3E%3Ctext x='0' y='10' font-size='11' fill='rgba(255,255,255,.18)'%3E★★★★★%3C/text%3E%3C/svg%3E") no-repeat left center;
    background-size: contain;
    overflow: hidden;
}

.gd-related-card__stars-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='11' viewBox='0 0 64 11'%3E%3Ctext x='0' y='10' font-size='11' fill='%23C8A951'%3E★★★★★%3C/text%3E%3C/svg%3E") no-repeat left center;
    background-size: contain;
}

.gd-related-card__rating-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: #C9A84C;
}

.gd-related-card__review-cnt {
    font-size: 0.72rem;
    color: rgba(247,245,242,.4);
}

.gd-related-card__price {
    font-size: 0.72rem;
    color: rgba(247,245,242,.5);
    white-space: nowrap;
}

.gd-related-card__price strong {
    color: #C9A84C;
    font-weight: 700;
}

/* Short description */
.gd-related-card__desc {
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(247,245,242,.5);
    margin: 0;
    flex: 1;
}

/* CTA */
.gd-related-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding: 9px 0;
    border-radius: 8px;
    border: 1px solid rgba(220,38,38,.3);
    color: #DC2626;
    background: rgba(220,38,38,.06);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: background .2s, border-color .2s, color .2s;
}

.gd-related-card__cta:hover {
    background: #DC2626;
    border-color: #DC2626;
    color: #fff;
}

/* Premium / featured CTA override */
.gd-related-card--premium .gd-related-card__cta,
.gd-related-card--featured .gd-related-card__cta {
    border-color: rgba(201,168,76,.3);
    color: #C9A84C;
    background: rgba(201,168,76,.06);
}
.gd-related-card--premium .gd-related-card__cta:hover,
.gd-related-card--featured .gd-related-card__cta:hover {
    background: #C9A84C;
    border-color: #C9A84C;
    color: #0a0a0a;
}

/* ============================================================
   SIDEBAR — Instagram card (compact thumb grid)
   ============================================================ */
.gd-sidebar-card--instagram .gd-side-ig-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 14px 0 16px;
}
.gd-sidebar-card--instagram .gd-side-ig-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #f3f4f6;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gd-sidebar-card--instagram .gd-side-ig-thumb:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.18);
}
.gd-sidebar-card--instagram .gd-side-ig-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gd-sidebar-card--instagram .gd-side-ig-thumb__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(15, 15, 17, 0.7);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gd-sidebar-cta--instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #DC2626 0%, #C9A84C 100%);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: filter 0.18s ease, transform 0.18s ease;
}
.gd-sidebar-cta--instagram:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
