/* 09-components-gd.css — Goodman custom components (from gd-components.css) */

/* ===================================
   UNCODE OVERRIDES
   =================================== */

.btn-color-xsdn {
    color: #303133 !important;
}

/* ===================================
   MOBILE HEADER CTA ICONS
   Book + Phone icons before .mobile-additional-icons
   Matches WEDERM pattern: 32×32 transparent icon buttons
   =================================== */

@media (max-width: 959px) {
    .mobile-header-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0 !important;
        margin: 0 8px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        text-decoration: none;
    }

    .mobile-header-icon img {
        width: 32px;
        height: 32px;
        display: block;
    }

    .mobile-book-btn,
    .mobile-phone-btn {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}

.textual-carousel .tmb .regular-text .pullquote small {
    font-size: 16px;
    display: block;
    margin-top: 27px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600 !important;
}

/* ===================================
   PROVIDERS ACCORDION SECTION
   All rules scoped to .gd-providers-accordion to prevent conflicts
   =================================== */

.gd-providers-accordion {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 64px;
}

.gd-providers-accordion .providers-container {
    display: flex;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    position: relative;
    height: 440.528px;
    width: 1312px;
    margin: 0 auto;
}

/* Container border frame - renders on top of all cards */
.gd-providers-accordion .providers-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid #999999;
    border-radius: 10px;
    pointer-events: none;
    z-index: 100;
}

/* All Provider Cards - Base Style */
.gd-providers-accordion .provider-card {
    height: 440.528px;
    position: absolute;
    cursor: pointer;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

/* Featured Card (Expanded) */
.gd-providers-accordion .provider-card.featured {
    padding: 34px 29.76px;
    width: 605.834px;
    left: 0;
    z-index: 10;
}

/* Stack Cards (Collapsed) */
.gd-providers-accordion .provider-card.stack {
    width: 235px;
    padding: 34px 0 20px 0;
    cursor: pointer;
}

.gd-providers-accordion .provider-card.stack:hover {
    filter: brightness(1.05);
}

/* Border radius - first card gets left radius, last gets right radius */
.gd-providers-accordion .provider-card:first-child {
    border-radius: 10px 0 0 10px;
}

.gd-providers-accordion .provider-card:last-child {
    border-radius: 0 10px 10px 0;
}

.gd-providers-accordion .provider-card:not(:first-child):not(:last-child) {
    border-radius: 0;
}

/* Featured Card Content */
.gd-providers-accordion .featured-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
}

.gd-providers-accordion .provider-image-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 200px;
}

.gd-providers-accordion .provider-headshot {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gd-providers-accordion .provider-card.featured:hover .provider-headshot {
    transform: scale(1.05);
}

/* Provider Info - Flexbox container for right-side content */
.gd-providers-accordion .provider-info {
    position: absolute;
    left: 29.76px;
    top: 0;
    width: calc(100% - 29.76px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 238.25px;
    padding-top: 18.71px;
    box-sizing: border-box;
    text-align: left;
}

/* Right-side stacking content - flexbox children, left-justified */
.gd-providers-accordion .provider-name {
    margin: 0 0 4px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gd-providers-accordion .provider-title {
    margin: 0 0 16px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    opacity: 0.85;
}

.gd-providers-accordion .certifications {
    margin: 0 0 13px 0;
    display: flex;
    gap: 9.5px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Hide empty certifications - gap closes automatically */
.gd-providers-accordion .certifications:empty {
    display: none;
    margin: 0;
}

.gd-providers-accordion .provider-cta {
    margin: 0;
    background: linear-gradient(to bottom, #31c3f2, #1d87af);
    color: white !important;
    padding: 14px 24px;
    border-radius: 38.436px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(49, 195, 242, 0.3);
}

.gd-providers-accordion .provider-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 195, 242, 0.4);
    color: white !important;
}

/* Description - stays absolute at fixed position */
.gd-providers-accordion .provider-description {
    position: absolute;
    left: 0;
    top: 223.88px;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 24px;
    width: 543.804px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.gd-providers-accordion .cert-badge {
    background: rgba(167, 206, 221, 0.49);
    border-radius: 5px;
    width: 59.618px;
    height: 59.618px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gd-providers-accordion .cert-badge:hover {
    background: rgba(167, 206, 221, 0.7);
    transform: scale(1.1);
}

.gd-providers-accordion .cert-badge img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Stack Card Content */
.gd-providers-accordion .stack-card-headshot {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.gd-providers-accordion .provider-card.stack:hover .stack-card-headshot {
    transform: translateX(-50%) scale(1.05);
}

.gd-providers-accordion .stack-card-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 377.68px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    margin: 0;
}

/* Featured content visibility */
.gd-providers-accordion .provider-card.stack .featured-content {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gd-providers-accordion .provider-card.featured .featured-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Stack content visibility */
.gd-providers-accordion .provider-card.featured .stack-card-headshot,
.gd-providers-accordion .provider-card.featured .stack-card-name {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gd-providers-accordion .provider-card.stack .stack-card-headshot,
.gd-providers-accordion .provider-card.stack .stack-card-name {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ===========================================
   PROVIDERS ACCORDION - RESPONSIVE
   =========================================== */

/* Tablet - Flexbox layout (960px - 1350px) */
@media (min-width: 960px) and (max-width: 1350px) {
    .gd-providers-accordion {
        padding: 0 20px;
    }
    
    .gd-providers-accordion .providers-container {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        height: auto;
        min-height: 400px;
    }
    
    /* Override absolute positioning for tablet */
    .gd-providers-accordion .provider-card {
        position: relative !important;
        left: auto !important;
        height: auto;
        min-height: 400px;
    }
    
    /* Featured card - percentage width */
    .gd-providers-accordion .provider-card.featured {
        flex: 0 0 52%;
        width: 52%;
        padding: 24px;
    }
    
    /* Stack cards - flexible with slight overlap */
    .gd-providers-accordion .provider-card.stack {
        flex: 1 1 auto;
        width: auto;
        min-width: 130px;
        max-width: 180px;
        padding: 24px 10px 20px 10px;
        margin-left: -10px;
    }
    
    .gd-providers-accordion .provider-card.featured + .provider-card.stack {
        margin-left: 0;
    }
    
    /* Z-index for proper stacking */
    .gd-providers-accordion .provider-card:nth-child(1) { z-index: 10; }
    .gd-providers-accordion .provider-card:nth-child(2) { z-index: 4; }
    .gd-providers-accordion .provider-card:nth-child(3) { z-index: 3; }
    .gd-providers-accordion .provider-card:nth-child(4) { z-index: 2; }
    
    /* Featured content - flexbox layout */
    .gd-providers-accordion .featured-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        height: auto;
    }
    
    .gd-providers-accordion .provider-image-wrapper {
        position: relative;
        left: auto;
        top: auto;
        width: 140px;
        height: 140px;
        flex-shrink: 0;
    }
    
    .gd-providers-accordion .provider-headshot {
        width: 140px;
        height: 140px;
    }
    
    /* Provider info - flexbox column */
    .gd-providers-accordion .provider-info {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: auto;
        flex: 1;
        min-width: 200px;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .gd-providers-accordion .provider-name {
        font-size: 14px;
        letter-spacing: 2px;
        margin: 0;
    }
    
    .gd-providers-accordion .provider-title {
        font-size: 12px;
        margin: 0;
    }
    
    .gd-providers-accordion .certifications {
        margin: 4px 0;
    }
    
    .gd-providers-accordion .cert-badge {
        width: 46px;
        height: 46px;
    }
    
    .gd-providers-accordion .provider-cta {
        padding: 10px 20px;
        font-size: 11px;
    }
    
    /* Description - full width below, NO truncation */
    .gd-providers-accordion .provider-description {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        flex-basis: 100%;
        font-size: 15px;
        line-height: 21px;
        margin-top: 12px;
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }
    
    /* Stack card content */
    .gd-providers-accordion .stack-card-headshot {
        width: 110px;
        height: 110px;
        top: 40px;
    }
    
    .gd-providers-accordion .stack-card-name {
        bottom: 25px;
        top: auto;
        font-size: 9px;
        letter-spacing: 1px;
        white-space: normal;
        width: 95%;
        line-height: 1.4;
    }
}

/* Mobile - Vertical stack layout */
@media (max-width: 959px) {
    .gd-providers-accordion {
        padding: 0 20px;
    }

    .gd-providers-accordion .providers-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        height: auto;
        position: relative;
    }

    /* Hide container border on mobile - cards have individual borders */
    .gd-providers-accordion .providers-container::after {
        display: none;
    }

    .gd-providers-accordion .provider-card {
        position: relative !important;
        left: auto !important;
        width: 100% !important;
        height: auto;
        min-height: 120px;
        border-radius: 10px !important;
        border: 1px solid #999999;
        padding: 20px;
        transition: min-height 0.4s ease;
    }

    .gd-providers-accordion .provider-card.stack {
        min-height: 120px;
        padding: 20px;
    }

    .gd-providers-accordion .provider-card.featured {
        min-height: auto;
        padding: 24px;
    }

    /* Hide desktop stack content on mobile */
    .gd-providers-accordion .provider-card .stack-card-headshot,
    .gd-providers-accordion .provider-card .stack-card-name {
        display: none;
    }

    /* Mobile collapsed card layout */
    .gd-providers-accordion .provider-card.stack .featured-content {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        height: auto;
    }

    .gd-providers-accordion .provider-card.stack .provider-image-wrapper {
        position: relative;
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .gd-providers-accordion .provider-card.stack .provider-headshot {
        width: 80px;
        height: 80px;
    }

    .gd-providers-accordion .provider-card.stack .provider-info {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: auto;
        flex: 1;
    }

    .gd-providers-accordion .provider-card.stack .provider-name {
        position: relative;
        left: auto;
        top: auto;
        font-size: 14px;
        letter-spacing: 2px;
    }

    .gd-providers-accordion .provider-card.stack .provider-title,
    .gd-providers-accordion .provider-card.stack .provider-description,
    .gd-providers-accordion .provider-card.stack .certifications,
    .gd-providers-accordion .provider-card.stack .provider-cta {
        display: none;
    }

    /* Mobile expanded card layout */
    .gd-providers-accordion .provider-card.featured .featured-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        height: auto;
    }

    .gd-providers-accordion .provider-card.featured .provider-image-wrapper {
        position: relative;
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }

    .gd-providers-accordion .provider-card.featured .provider-headshot {
        width: 140px;
        height: 140px;
    }

    .gd-providers-accordion .provider-card.featured .provider-info {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 0;
        text-align: center;
    }

    .gd-providers-accordion .provider-card.featured .provider-name {
        position: relative;
        left: auto;
        top: auto;
        font-size: 14px;
        letter-spacing: 2px;
    }

    .gd-providers-accordion .provider-card.featured .provider-title {
        position: relative;
        left: auto;
        top: auto;
        font-size: 13px;
        margin-top: -8px;
    }

    .gd-providers-accordion .provider-card.featured .provider-description {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        font-size: 15px;
        line-height: 22px;
        -webkit-line-clamp: unset;
    }

    .gd-providers-accordion .provider-card.featured .certifications {
        position: relative;
        left: auto;
        top: auto;
        justify-content: center;
    }

    .gd-providers-accordion .provider-card.featured .provider-cta {
        position: relative;
        left: auto;
        top: auto;
        margin-top: 8px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .gd-providers-accordion {
        padding: 0 16px;
    }

    .gd-providers-accordion .provider-card.featured .provider-headshot {
        width: 120px;
        height: 120px;
    }

    .gd-providers-accordion .provider-card.featured .provider-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .gd-providers-accordion .provider-card.featured .provider-description {
        font-size: 14px;
        line-height: 20px;
    }

    .gd-providers-accordion .cert-badge {
        width: 50px;
        height: 50px;
    }
}

/* ===================================
   PROVIDERS TABS (New Design)
   Tabbed interface with thumbnail navigation
   =================================== */

.gd-providers-tabs {
    background: transparent;
    padding: 60px 40px 80px;
    max-width: 1440px;
    margin: 0 auto;
}

/* Thumbnail Tab Navigation */
.providers-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.provider-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}

.provider-tab:hover {
    transform: translateY(-4px);
}

.provider-tab .tab-thumbnail {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #d1d5db;
    transition: all 0.3s ease;
}

.provider-tab .tab-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.provider-tab.active .tab-thumbnail {
    border-color: #1d87af;
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(29, 135, 175, 0.25);
}

.provider-tab .tab-name {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: color 0.3s ease;
    text-align: center;
    max-width: 120px;
}

.provider-tab.active .tab-name {
    color: #1d87af;
}

/* Content Area - Stacked Cards */
.providers-content-area {
    position: relative;
    min-height: 500px;
}

.provider-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.provider-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Image Section - Left Side */
.provider-content .provider-image {
    flex: 0 0 auto;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 36px 0 0 0;
}

.provider-content .provider-image img {
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    max-width: 400px;
    margin: 0px 32px;
}

@media (min-width: 1200px) {
    .provider-content .provider-image img {
        max-width: 500px;
    }
    
    .provider-tab .tab-thumbnail {
        width: 128px;
        height: 128px;
        border-radius: 16px;
        overflow: hidden;
        border: 3px solid #d1d5db;
        transition: all 0.3s ease;
    }
}

/* Bio Section - Right Side */
.provider-content .provider-bio {
    flex: 1;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.provider-content .provider-name {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    color: #03151c;
    line-height: 1.2;
}

.provider-content .provider-role {
    font-size: 14px;
    color: #1d87af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.provider-content .certifications {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 8px 0;
}

.provider-content .cert-badge {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f9fa;
    padding: 4px;
    transition: transform 0.2s ease;
}

.provider-content .cert-badge:hover {
    transform: scale(1.1);
}

.provider-content .cert-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.provider-content .provider-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin: 8px 0 16px;
}

.provider-content .cta-button {
    height: 40px;
    border-radius: 42px;
    background: linear-gradient(180deg, #31c3f2 0%, #1d87af 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 8px;
}

.provider-content .cta-button:hover {
    background: linear-gradient(180deg, #1d87af 0%, #0d6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 135, 175, 0.35);
    color: #ffffff;
}

.provider-content .cta-button:active,
.provider-content .cta-button:focus,
.provider-content .cta-button:visited {
    color: #ffffff !important;
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .gd-providers-tabs {
        padding: 48px 24px 60px;
    }
    
    .providers-tabs-nav {
        gap: 24px;
        margin-bottom: 36px;
    }
    
    .provider-tab .tab-thumbnail {
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }
    
    .provider-tab .tab-thumbnail img {
        object-position: top center;
    }
    
    .provider-tab .tab-name {
        font-size: 13px;
    }
    
    .provider-content .provider-image {
        flex: 0 0 auto;
        min-height: 450px;
        padding: 0;
    }
    
    .provider-content .provider-bio {
        padding: 36px 40px;
        align-items: center;
        text-align: center;
    }
    
    .provider-content .provider-name {
        font-size: 28px;
    }
    
    .provider-content .provider-role {
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .provider-content .cert-badge {
        width: 56px;
        height: 56px;
    }
}

/* Mobile (< 960px) */
@media (max-width: 959px) {
    .gd-providers-tabs {
        padding: 40px 0 48px;
    }
    
    .providers-tabs-nav {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 32px;
        flex-wrap: nowrap;
        padding: 8px 16px;
        width: 100%;
    }
    
    .provider-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .provider-tab .tab-thumbnail {
        width: 80px;
        height: 80px;
        border-radius: 14px;
        border-width: 3px;
    }
    
    .provider-tab .tab-thumbnail img {
        object-position: top center;
    }
    
    .provider-tab .tab-name {
        font-size: 14px;
        max-width: none;
    }
    
    .providers-content-area {
        min-height: auto;
        overflow: visible;
        touch-action: pan-x;
        padding: 0 16px 20px;
    }
    
    .provider-content {
        flex-direction: column;
        border-radius: 16px;
    }
    
    .provider-content .provider-image {
        flex: none;
        min-height: auto;
        width: 100%;
        padding: 32px 32px 0 32px;
        overflow: hidden;
        border-radius: 16px 16px 0 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
    
    .provider-content .provider-image img {
        max-width: 360px;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: bottom center;
        display: block;
        margin: 0 auto;
    }
    
    .provider-content .provider-bio {
        padding: 24px;
        gap: 12px;
        align-items: center;
        text-align: center;
    }
    
    .provider-content .provider-name {
        font-size: 24px;
    }
    
    .provider-content .provider-role {
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .provider-content .certifications {
        gap: 12px;
    }
    
    .provider-content .cert-badge {
        width: 48px;
        height: 48px;
    }
    
    .provider-content .provider-description {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .provider-content .cta-button {
        padding: 14px 28px;
        font-size: 13px;
        align-self: stretch;
        text-align: center;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    .gd-providers-tabs {
        padding: 0 0 40px;
    }
    
    .providers-tabs-nav {
        gap: 6px;
        padding: 8px 12px;
    }
    
    .provider-tab .tab-thumbnail {
        width: 72px;
        height: 72px;
    }
    
    .provider-tab .tab-name {
        font-size: 12px;
        max-width: none;
    }
    
    .provider-content .provider-bio {
        padding: 20px 16px 24px;
    }
    
    .provider-content .provider-name {
        font-size: 22px;
    }
    
    .provider-content .cert-badge {
        width: 44px;
        height: 44px;
    }
}

/* ===================================
   PROVIDERS GRID + LIGHTBOX
   =================================== */

/* Grid Wrapper */
.gd-providers-grid {
    padding: 60px 40px 80px;
    max-width: 1440px;
    margin: 0 auto;
}

/* 4-Column Grid Layout */
.providers-grid-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Grid Card */
.gd-grid-card {
    cursor: pointer;
    text-align: center;
    position: relative;
}

/* Grid Card Image — padding-bottom hack for Safari WebP compatibility */
.gd-grid-card__image-wrap {
    height: 0;
    padding-bottom: 133.33%; /* 4 / 3 × 100 = 3:4 ratio */
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.gd-grid-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    padding: 24px 16px 0 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    max-height: 100%;
}

.gd-grid-card:hover .gd-grid-card__image-wrap {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.gd-grid-card:hover .gd-grid-card__image {
    transform: scale(1.05);
}

/* Grid Card Name - overlaid at bottom (specificity beats theme h3) */
.gd-providers-grid .gd-grid-card h3.gd-grid-card__name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px 12px;
    background: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #03151c;
    text-align: center;
    border-radius: 0 0 20px 20px;
    z-index: 2;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.gd-providers-grid .gd-grid-card:hover h3.gd-grid-card__name {
    color: #1d87af;
}

/* ----- Lightbox ----- */

.gd-provider-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.gd-provider-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Backdrop */
.gd-provider-lightbox__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(238, 238, 238, 0.85);
}

/* Panel */
.gd-provider-lightbox__panel {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease;
    z-index: 2;
}

/* Close Button (matches .gd-modal-close) */
.gd-provider-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, #31c3f2 0%, #1d87af 100%);
    color: #ffffff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.gd-provider-lightbox__close:hover {
    transform: scale(1.1);
}

/* Nav Arrows (desktop) */
.gd-provider-lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 48px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 3;
    padding: 8px;
    line-height: 1;
}

.gd-provider-lightbox__nav:hover {
    opacity: 1;
}

.gd-provider-lightbox__nav--prev {
    left: 24px;
}

.gd-provider-lightbox__nav--next {
    right: 24px;
}

/* Provider content inside lightbox: 2-column desktop, column on mobile */
.gd-provider-lightbox__panel .provider-content {
    display: none;
    flex-direction: row;
    position: relative;
    opacity: 1;
    visibility: visible;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.gd-provider-lightbox__panel .provider-content.active {
    display: flex;
}

.gd-provider-lightbox__panel .provider-image {
    flex: 0 0 auto;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 36px 0 0 0;
    border-radius: 16px 0 0 16px;
}

.gd-provider-lightbox__panel .provider-image img {
    max-height: 100%;
    max-width: 400px;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    margin: 0 32px;
}

.gd-provider-lightbox__panel .provider-bio {
    flex: 1;
    padding: 48px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    overflow-y: auto;
    max-height: 85vh;
}

.gd-provider-lightbox__panel .provider-name {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    color: #03151c;
    line-height: 1.2;
}

.gd-provider-lightbox__panel .provider-role {
    font-size: 14px;
    color: #1d87af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.gd-provider-lightbox__panel .certifications {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 8px 0;
}

.gd-provider-lightbox__panel .cert-badge {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f9fa;
    padding: 4px;
    transition: transform 0.2s ease;
}

.gd-provider-lightbox__panel .cert-badge:hover {
    transform: scale(1.1);
}

.gd-provider-lightbox__panel .cert-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gd-provider-lightbox__panel .provider-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin: 8px 0 16px;
}

.gd-provider-lightbox__panel .cta-button {
    height: 40px;
    border-radius: 42px;
    background: linear-gradient(180deg, #31c3f2 0%, #1d87af 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.gd-provider-lightbox__panel .cta-button:hover {
    background: linear-gradient(180deg, #1d87af 0%, #0d6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 135, 175, 0.35);
    color: #ffffff;
}

.gd-provider-lightbox__panel .cta-button:active,
.gd-provider-lightbox__panel .cta-button:focus,
.gd-provider-lightbox__panel .cta-button:visited {
    color: #ffffff !important;
}

/* Body scroll lock — html + body for iOS Safari */
html.gd-lightbox-open,
body.gd-lightbox-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

body.gd-lightbox-open .menu-wrapper,
body.gd-lightbox-open #masthead,
body.gd-lightbox-open .footer-scroll-top {
    display: none !important;
}

/* ----- Grid + Lightbox Responsive ----- */

/* Tablet (< 960px) */
@media (max-width: 959px) {
    .gd-providers-grid {
        padding: 40px 16px 48px;
    }

    .providers-grid-items {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .gd-providers-grid .gd-grid-card h3.gd-grid-card__name {
        font-size: 14px;
        padding: 10px 8px;
    }

    /*
     * iOS Safari scroll fix: the overlay itself becomes the scroll
     * container (block, not flex) so there's no competing scroll
     * context with the position:fixed body lock.
     */
    .gd-provider-lightbox.active {
        display: block;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    .gd-provider-lightbox__backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .gd-provider-lightbox__panel {
        position: relative;
        width: 95%;
        max-width: 520px;
        max-height: none;
        overflow: visible;
        margin: 5vh auto;
    }

    .gd-provider-lightbox__panel .provider-content {
        flex-direction: column;
    }

    .gd-provider-lightbox__panel .provider-image {
        flex: none;
        min-height: auto;
        width: 100%;
        padding: 32px 32px 0 32px;
        border-radius: 0;
        align-items: center;
    }

    .gd-provider-lightbox__panel .provider-image img {
        max-width: 300px;
        width: 100%;
        height: auto;
        max-height: none;
        margin: 0 auto;
        object-fit: contain;
        object-position: top center;
    }

    .gd-provider-lightbox__panel .provider-bio {
        padding: 24px 24px 36px;
        gap: 12px;
        max-height: none;
        overflow-y: visible;
    }

    .gd-provider-lightbox__panel .provider-name {
        font-size: 24px;
    }

    .gd-provider-lightbox__panel .provider-role {
        font-size: 12px;
    }

    .gd-provider-lightbox__panel .cert-badge {
        width: 48px;
        height: 48px;
    }

    .gd-provider-lightbox__panel .provider-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .gd-provider-lightbox__nav {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(180deg, #31c3f2 0%, #1d87af 100%);
        color: #ffffff;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        box-shadow: 0 4px 12px rgba(49, 195, 242, 0.3);
        padding: 0;
        position: fixed;
    }

    .gd-provider-lightbox__nav--prev {
        left: 8px;
    }

    .gd-provider-lightbox__nav--next {
        right: 8px;
    }
}

/* Small Mobile (< 569px) */
@media (max-width: 569px) {
    .gd-providers-grid {
        padding: 24px 12px 40px;
    }

    .providers-grid-items {
        gap: 16px;
    }

    .gd-grid-card__image-wrap {
        border-radius: 14px;
    }

    .gd-providers-grid .gd-grid-card h3.gd-grid-card__name {
        font-size: 18px;
        padding: 10px 8px;
        border-radius: 0 0 14px 14px;
    }

    .gd-provider-lightbox__panel {
        width: 100%;
        max-width: none;
        max-height: none;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh; /* Safari dynamic viewport */
        border-radius: 0;
        overflow: visible;
        margin: 0;
    }

    .gd-provider-lightbox__panel .provider-image {
        border-radius: 0;
    }

    .gd-provider-lightbox__panel .provider-image img {
        max-height: none;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: top center;
    }

    .gd-provider-lightbox__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .gd-provider-lightbox__nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .gd-provider-lightbox__nav--prev {
        left: 4px;
    }

    .gd-provider-lightbox__nav--next {
        right: 4px;
    }
}

/* ===================================
   REVIEWS SECTION (Figma 14699-8359)
   3-up Owl Carousel, Accent/Light Tan
   =================================== */

.gd-reviews-section {
    background: transparent;
    padding: 120px 0;
}

.gd-reviews-inner {
    max-width: 1207px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* Display/02 */
.gd-reviews-section .gd-reviews-title {
    font-family: 'Lora', serif !important;
    font-weight: 400 !important;
    font-size: 64px !important;
    line-height: 72px !important;
    letter-spacing: -1px !important;
    color: #252D30 !important;
    text-align: center;
    margin: 0 0 64px !important;
}
@media (max-width: 959px) {
    .gd-reviews-section .gd-reviews-title {
        font-size: 36px !important;
        line-height: 44px !important;
        letter-spacing: -0.5px !important;
        margin: 0 0 48px !important;
    }
}

/* Individual review card — left-aligned per Figma */
.gd-review-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
}

/* Stars row — Primary/Rose */
.gd-review-stars {
    display: flex;
    gap: 4px;
    height: 15px;
    align-items: center;
}

.gd-review-stars .gd-star {
    color: #96556E;
    font-size: 18px;
    line-height: 1;
}

/* Headline/03 — Lora 24/32, 375px wide */
.gd-review-quote {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: #252D30;
    margin: 0;
    width: 375px;
    max-width: 100%;
}

/* Paragraph/01 — Satoshi 16/24 */
.gd-review-author {
    font-family: 'DM Sans', 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #252D30;
    margin: 0;
}

/* Navigation bar — arrows flush left/right, dots centered */
.gd-reviews-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 64px;
    height: 24px;
    position: relative;
    z-index: 2;
}

.gd-reviews-nav[hidden] {
    display: none !important;
}

.gd-reviews-prev,
.gd-reviews-next {
    width: 62px;
    min-height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #252D30;
    transition: opacity 0.25s ease;
}

.gd-reviews-prev:hover,
.gd-reviews-next:hover {
    opacity: 0.6;
}

.gd-reviews-prev svg,
.gd-reviews-next svg {
    display: block;
}

/* Hide Owl's built-in dots — we render our own in the nav bar */
.gd-reviews-carousel .owl-dots {
    display: none;
}

/* Custom pager dots inside .gd-reviews-nav */
.gd-reviews-pager {
    display: flex;
    gap: 20px;
    align-items: center;
}

.gd-reviews-pager .gd-pager-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 45, 48, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease;
    position: relative;
}

.gd-reviews-pager .gd-pager-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
}

.gd-reviews-pager .gd-pager-dot.is-active {
    background: #252D30;
}

.gd-reviews-pager .gd-pager-counter {
    font-size: 15px;
    font-weight: 500;
    color: #252D30;
    letter-spacing: 0.04em;
    white-space: nowrap;
    user-select: none;
}

.gd-reviews-section.is-static-layout .gd-reviews-carousel {
    display: block;
}

.gd-reviews-section[data-review-count="1"].is-static-layout .gd-reviews-carousel,
.gd-reviews-section[data-review-count="1"].is-static-layout .gd-review-card {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.gd-reviews-section[data-review-count="1"].is-static-layout .gd-review-card {
    align-items: center;
    text-align: center;
}

.gd-reviews-section[data-review-count="1"].is-static-layout .gd-review-quote {
    width: auto;
    max-width: 750px;
}

.gd-reviews-section[data-review-count="2"].is-static-layout .gd-reviews-carousel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.gd-reviews-section[data-review-count="2"].is-static-layout .gd-review-card {
    width: 100%;
}

/* ===================================
   PROVIDER TESTIMONIALS CAROUSEL
   =================================== */

.gd-reviews-section.gd-provider-testimonials--reviews-style {
    padding: 0;
}

.gd-provider-testimonials.gd-provider-testimonials--reviews-style {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.gd-provider-testimonials--reviews-style .gd-reviews-inner {
    max-width: 1207px;
    margin: 0 auto;
    padding: 0 40px;
}

.gd-provider-testimonials {
    background: #00526d;
    border-radius: 16px;
    padding: 56px 48px;
    text-align: center;
}

.gd-provider-testimonials .owl-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 16px;
}

.gd-provider-testimonials .gd-pt-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.gd-provider-testimonials .gd-pt-stars .star {
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
}

.gd-provider-testimonials .gd-pt-quote {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px;
    line-height: 38px;
    color: #ffffff;
    margin: 0;
    max-width: 720px;
    font-style: italic;
    border: none;
    padding: 0;
    background: transparent;
}

.gd-provider-testimonials .gd-pt-quote::before,
.gd-provider-testimonials .gd-pt-quote::after {
    display: none;
}

.gd-provider-testimonials .gd-pt-author {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    letter-spacing: 0.5px;
}

.gd-provider-testimonials .owl-dots {
    margin-top: 28px;
}

.gd-provider-testimonials .owl-dot span {
    background: rgba(255, 255, 255, 0.35) !important;
}

.gd-provider-testimonials .owl-dot.active span {
    background: #ffffff !important;
}

@media (max-width: 768px) {
    .gd-provider-testimonials--reviews-style .gd-reviews-inner {
        padding: 0 24px;
    }

    .gd-provider-testimonials {
        padding: 40px 24px;
        border-radius: 12px;
    }

    .gd-provider-testimonials .gd-pt-quote {
        font-size: 17px;
        line-height: 27px;
    }

    .gd-provider-testimonials .gd-pt-stars .star {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gd-provider-testimonials--reviews-style .gd-reviews-inner {
        padding: 0 16px;
    }

    .gd-provider-testimonials {
        padding: 32px 16px;
    }

    .gd-provider-testimonials .gd-pt-quote {
        font-size: 16px;
        line-height: 25px;
    }
}

/* ===================================
   BENEFITS SECTION
   =================================== */

.gd-benefits-section {
    padding: 80px 0;
    background: white;
}

.gd-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.gd-benefit-card {
    text-align: center;
    padding: 40px 24px;
    background: #F8FAFA;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gd-benefit-card:hover {
    background: #E6F5F5;
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(27, 166, 165, 0.15);
}

.benefit-icon-wrapper {
    margin-bottom: 24px;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(41%) saturate(1034%) hue-rotate(140deg) brightness(91%) contrast(92%);
    transition: transform 0.3s ease;
}

.benefit-icon--missing {
    display: inline-block;
    border-radius: 50%;
    border: 2px solid #c3e2ee;
    background: #ffffff;
    filter: none;
}

.gd-benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-title {
    font-size: 20px;
    font-weight: 600;
    color: #0D6B6B;
    margin: 0 0 16px;
}

.benefit-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

/* Reviews Carousel + Benefits - Responsive */
@media (max-width: 1200px) {
    .gd-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .gd-reviews-title {
        font-size: 48px;
        line-height: 56px;
    }

    .gd-review-quote {
        font-size: 20px;
        line-height: 28px;
        width: auto;
    }
}

@media (max-width: 768px) {
    .gd-reviews-section {
        padding: 80px 0;
    }

    .gd-reviews-inner {
        padding: 0 24px;
    }

    .gd-reviews-title {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 48px;
    }

    .gd-review-card {
        gap: 24px;
    }

    .gd-reviews-section[data-review-count="2"].is-static-layout .gd-reviews-carousel {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gd-review-quote {
        font-size: 18px;
        line-height: 26px;
        width: auto;
    }

    .gd-reviews-nav {
        margin-top: 48px;
    }

    .gd-benefits-section {
        padding: 60px 0;
    }
    
    .gd-benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .gd-reviews-section {
        padding: 60px 0;
    }

    .gd-reviews-inner {
        padding: 0 16px;
    }

    .gd-reviews-title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 36px;
    }

    .gd-review-quote {
        font-size: 16px;
        line-height: 24px;
    }

    .gd-reviews-nav {
        margin-top: 36px;
    }
}

/* ============================================
   GD Text Cap - Section Label Style
   ============================================ */
.gd-text-cap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gd-text-cap::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background-color: #31c3f2;
    flex-shrink: 0;
}

.gd-text-cap .heading-text,
.gd-text-cap h6,
.gd-text-cap h6 span {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #1d87af;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

/* Remove any default margins from the wrapper elements */
.gd-text-cap .heading-text.el-text {
    margin: 0;
    padding: 0;
}

.gd-text-cap .clear {
    display: none;
}

/* ============================================
   PROVIDER INFO CARDS - Memberships & Consultation
   ============================================ */

/* === SHARED CARD STYLES === */
.gd-memberships-col .uncell,
.gd-consultation-col .uncell {
    background-color: #f8fdfe !important;
    border: 1px solid #e1f0f4 !important;
    border-radius: 24px !important;
    padding: 40px !important;
    overflow: hidden;
}

.gd-consultation-col .uncell {
    background-color: #f3f9fa !important;
}

/* === CARD HEADINGS (H5) === */
.gd-memberships-col h5,
.gd-memberships-col h5 span,
.gd-consultation-col h5,
.gd-consultation-col h5 span {
    font-family: 'Libre Caslon Text', serif !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 32px !important;
    color: #03151c !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

/* === SEPARATOR LINE (HR) === */
.gd-memberships-col hr.separator-break,
.gd-consultation-col hr.separator-break {
    width: 48px !important;
    height: 4px !important;
    background-color: #31c3f2 !important;
    border: none !important;
    margin: 0 0 32px 0 !important;
    opacity: 1 !important;
}

/* ============================================
   MEMBERSHIPS CARD SPECIFIC STYLES
   ============================================ */

/* The UL list */
.gd-memberships-col .uncode_text_column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* List items */
.gd-memberships-col .uncode_text_column ul li {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 300 !important;
    font-size: 17px !important;
    line-height: 26px !important;
    color: #222222 !important;
    padding-left: 32px !important;
    position: relative;
}

/* Checkmark bullet using pseudo-element */
.gd-memberships-col .uncode_text_column ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9.5' fill='%23f3f9fa' stroke='%23e1f0f4'/%3E%3Cpath d='M6 10l3 3 5-6' stroke='%231d87af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ============================================
   CONSULTATION CARD SPECIFIC STYLES
   ============================================ */

/* Text column container */
.gd-consultation-col .uncode_text_column {
    margin-bottom: 32px;
}

/* UL container */
.gd-consultation-col .uncode_text_column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* List items (location & contact) */
.gd-consultation-col .uncode_text_column ul li {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 22.75px !important;
    color: #4a5565 !important;
    padding-left: 56px !important;
    position: relative;
}

/* Strong labels (Aqua Jupiter, Contact Us) */
.gd-consultation-col .uncode_text_column ul li strong {
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #03151c !important;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    display: block;
    margin-bottom: 4px;
}

/* Phone link styling */
.gd-consultation-col .uncode_text_column ul li a {
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #1d87af !important;
    text-decoration: none;
}

.gd-consultation-col .uncode_text_column ul li a:hover {
    text-decoration: underline;
}

/* Location icon (first list item) */
.gd-consultation-col .uncode_text_column ul li:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #e1f0f4;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M9 9.75a2.25 2.25 0 100-4.5 2.25 2.25 0 000 4.5z' stroke='%231d87af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.25 7.5c0 5.25-5.25 9-5.25 9s-5.25-3.75-5.25-9a5.25 5.25 0 1110.5 0z' stroke='%231d87af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Phone icon (second list item) */
.gd-consultation-col .uncode_text_column ul li:nth-child(2)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #e1f0f4;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M16.5 12.69v2.25a1.5 1.5 0 01-1.635 1.5 14.843 14.843 0 01-6.473-2.303 14.625 14.625 0 01-4.5-4.5A14.843 14.843 0 011.59 3.135 1.5 1.5 0 013.082 1.5h2.25a1.5 1.5 0 011.5 1.29c.095.72.27 1.428.525 2.108a1.5 1.5 0 01-.338 1.582l-.952.953a12 12 0 004.5 4.5l.952-.953a1.5 1.5 0 011.583-.337c.68.255 1.387.43 2.108.524a1.5 1.5 0 011.29 1.523z' stroke='%231d87af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

/* === BUTTON STYLING === */
.gd-consultation-col .btn-container {
    display: block;
    padding-top: 32px;
    border-top: 1px solid #dcecf2;
    margin-top: 0;
}

.gd-consultation-col .btn-container .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 40px !important;
    background: linear-gradient(180deg, #31c3f2 0%, #1d87af 100%) !important;
    border-radius: 42px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 0 20px !important;
}

.gd-consultation-col .btn-container .btn:hover {
    background: linear-gradient(180deg, #1d87af 0%, #00526d 100%) !important;
}


/* ============================================
   GD WHY SECTION - Trust Icons
   ============================================ */

.gd-why .icon-box-icon .icon-media img {
    height: 60px;
    width: auto;
}

/* ============================================
   GD ICON - Inline icon fix for h4 headings
   Overrides absolute positioning from
   gd-practice img[class*="icon"] rule and
   ensures consistent display across all pages
   ============================================ */

h4 img.gd-icon,
h4 img.gd-icon.alignnone {
    position: static !important;
    display: inline-block !important;
    margin: 0 12px 0 0 !important;
    width: 40px !important;
    height: 40px !important;
    float: none !important;
    vertical-align: middle !important;
}

/* ============================================
   Accessibility: reduced-motion support
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .gd-reviews-carousel .owl-stage,
    .gd-provider-lightbox__panel,
    .provider-content,
    .gd-grid-card__image,
    .gd-grid-card__image-wrap,
    .provider-tab,
    .provider-tab .tab-thumbnail,
    .provider-content .cta-button,
    .gd-provider-lightbox__close,
    .gd-provider-lightbox__nav {
        animation: none !important;
        transition: none !important;
    }
}

/* ===================================
   COMMUNITIES / LOCATIONS WIDGET
   =================================== */

.gd-communities-widget {
    text-align: center;
    padding: 120px 116px;
}

/* "Proudly Serving These Communities" */
.gd-communities-title {
    font-family: 'Lora', serif !important;
    font-size: 40px !important;
    font-weight: 400 !important;
    line-height: 48px !important;
    color: #ffffff !important;
    margin-bottom: 64px !important;
    margin-top: 0 !important;
}

/* Flex container for the locations */
.gd-communities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px; 
    width: 100%;
    margin: 0 auto 64px auto;
}

/* Individual Location Item */
.gd-community-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Lora', serif !important;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    min-height: 44px;
    padding: 6px 0;
}

.gd-community-item:hover {
    opacity: 0.8;
    color: #ffffff;
}

.gd-community-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Custom CTAs Wrapper underneath */
.gd-communities-ctas {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    height: 56px;
}

/* Match the exact primary/outline buttons from your screenshot */
.gd-communities-ctas .gd-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #96556e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 28px !important;
    padding: 0 20px !important;
    height: 56px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.gd-communities-ctas .gd-btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(245, 254, 254, 0.2) !important;
    border-radius: 28px !important;
    padding: 0 24px !important;
    height: 56px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Hover states */
.gd-communities-ctas .gd-btn-primary:hover {
    background: #80485d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(150, 85, 110, 0.3);
}

.gd-communities-ctas .gd-btn-outline:hover {
    background: transparent !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 959px) {
    .gd-communities-widget {
        padding: 80px 40px;
    }
    
    .gd-communities-title {
        font-size: 32px !important;
        line-height: 40px !important;
        margin-bottom: 48px !important;
    }
    
    .gd-communities-list {
        gap: 24px;
        margin-bottom: 48px;
    }
}

@media (max-width: 768px) {
    .gd-communities-widget {
        padding: 60px 20px;
    }

    .gd-communities-title {
        font-size: 28px !important;
        line-height: 36px !important;
        margin-bottom: 40px !important;
    }
    
    .gd-community-item {
        font-size: 20px;
        line-height: 28px;
    }
    
    .gd-communities-ctas {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 12px;
    }

    .gd-communities-widget .gd-communities-ctas .btn-container {
        text-align: center !important;
    }

    .gd-communities-widget .gd-communities-ctas .btn-container .btn,
    .gd-communities-widget .gd-communities-ctas .btn-container .btn-link {
        transform-origin: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        min-width: 260px;
    }
}

/* ===================================
   LOCATION STATUS MESSAGE
   =================================== */

.location-status-message {
    display: none;
    background-color: var(--gd-rose, #96556E);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 16px 0;
    font-weight: 500;
}

.location-status-message::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 6px;
    vertical-align: -0.1em;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.56 5.82 22 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.56 5.82 22 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* ===================================
   FORMER RESIDENTS & FELLOWS GALLERY
   =================================== */

.residents-fellows .t-entry-visual-cont {
    background-color: #e3f0f5;
}

/* ===================================
   BLOG PAGINATION
   Override Uncode btn-round + accent-color
   =================================== */

ul.pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 48px 0 0 !important;
}

ul.pagination > li > .btn,
ul.pagination > li > .btn.btn-link,
ul.pagination > li > .btn.btn-link.text-default-color,
ul.pagination > li > .btn.btn-link.btn-disable-hover,
body.uncode-btn-round ul.pagination > li > .btn {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4b5563 !important;
}

ul.pagination > li .page-numbers,
ul.pagination > li a.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: background 0.2s ease, color 0.2s ease;
}

ul.pagination > li a.page-numbers:hover {
    background: rgba(150, 85, 110, 0.12) !important;
    color: #96556e !important;
}

ul.pagination > li .page-numbers.current {
    background: #96556e !important;
    color: #ffffff !important;
}

ul.pagination > li.page-prev > .btn:hover,
ul.pagination > li.page-next > .btn:hover,
ul.pagination > li.page-next > a.btn:hover {
    color: #96556e !important;
}

ul.pagination > li.page-prev > .btn i,
ul.pagination > li.page-next > .btn i,
ul.pagination > li.page-next > a.btn i {
    font-size: 18px !important;
    color: inherit !important;
}

ul.pagination > li.page-prev > .btn.btn-disable-hover {
    opacity: 0.35 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   CookieYes Consent Banner — Goodman Rose overrides
   Inline styles on the plugin markup require !important.
   ========================================================================== */

.cky-btn.cky-btn-accept {
    background-color: var(--gd-rose, #96556E) !important;
    border-color: var(--gd-rose, #96556E) !important;
    color: #FFFFFF !important;
}

.cky-btn.cky-btn-accept:hover {
    background-color: color-mix(in srgb, var(--gd-rose, #96556E) 85%, black) !important;
    border-color: color-mix(in srgb, var(--gd-rose, #96556E) 85%, black) !important;
}

.cky-notice-des a.cky-policy {
    color: var(--gd-rose, #96556E) !important;
}

.cky-notice-des a.cky-policy:hover {
    color: color-mix(in srgb, var(--gd-rose, #96556E) 85%, black) !important;
}

/* ==========================================================================
   Klara Chat Widget — Goodman Rose override
   The widget injects a floating button in the bottom-right corner.
   ========================================================================== */

iframe#klara-widget,
#klara-widget-container button,
.klara-widget-button {
    background-color: var(--gd-rose, #96556E) !important;
    border-color: var(--gd-rose, #96556E) !important;
}
