/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 85vh;
    background-image: url('../images/banner.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #f5e6d0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(175deg, rgba(6, 30, 80, 0.55) 0%, rgba(8, 50, 100, 0.45) 40%, rgba(10, 60, 120, 0.50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    width: 100%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ---- Headline ---- */
.hero-headline {
    text-align: center;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.hero-headline h1 {
    font-size: clamp(24px, 3.5vw, 46px);
    font-weight: 900;
    line-height: 1.25;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.hero-headline p {
    font-size: clamp(14px, 1.5vw, 18px);
    opacity: 0.85;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ---- Search Box ---- */
.hero-search-box {
    width: 100%;
    max-width: 680px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0;
    transition: none;
}

.hero-search-box:focus-within {
    box-shadow: none;
}

.hero-search-box.search-focus-pulse {
    animation: searchFocusPulse .9s ease-out;
}

@keyframes searchFocusPulse {
    0% { filter: drop-shadow(0 0 0 rgba(16, 167, 214, 0)); transform: translateY(0); }
    35% { filter: drop-shadow(0 12px 24px rgba(16, 167, 214, .24)); transform: translateY(-2px); }
    100% { filter: drop-shadow(0 0 0 rgba(16, 167, 214, 0)); transform: translateY(0); }
}

.search-main-row {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 2px solid rgba(255,255,255,.35);
    border-radius: 60px;
    min-height: 56px;
    padding: 5px 5px 5px 22px;
    transition: border-color .3s, background .3s;
}

.search-main-row:focus-within {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.7);
}

.search-input-wrap {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    min-height: auto;
    background: transparent;
    position: relative;
    border: none;
    border-radius: 0;
}

.search-input-wrap:focus-within {
    box-shadow: none;
}

.search-icon-svg {
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,.65);
    flex-shrink: 0;
    transition: color .2s;
}

.search-input-wrap:focus-within .search-icon-svg {
    color: #fff;
}

.search-icon { display: none; }

.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    padding: 0;
}

.search-input-wrap input::placeholder {
    color: rgba(255,255,255,.55);
    font-weight: 400;
}

.search-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,.3);
    flex-shrink: 0;
    margin: 0 8px;
}

.search-location-wrap {
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 6px 0 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: none;
}

.search-location-wrap.is-highlight {
    border-color: transparent;
    box-shadow: none;
    background: transparent;
}

.loc-icon-svg {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,.7);
    flex-shrink: 0;
}

.search-location-label { display: none; }

.search-location {
    height: auto;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: transparent;
    outline: none;
    cursor: pointer;
    min-width: 110px;
    -webkit-appearance: none;
    appearance: none;
}

.search-location option {
    color: #1a2d42;
    background: #fff;
}

.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 28px;
    margin: 0;
    background: linear-gradient(135deg, #ff6f3c, #ff9a44);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 18px rgba(255,111,60,.45);
    flex-shrink: 0;
}

.search-btn svg {
    width: 16px;
    height: 16px;
    display: none;
}

.search-btn:hover {
    background: linear-gradient(135deg, #e85d2c, #ff8533);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,111,60,.6);
}

/* ---- Filter Bar ---- */
.search-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 8px 4px;
    justify-content: center;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    margin-right: 2px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.3);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    transition: all .2s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.filter-chip:hover {
    background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.6);
}

.filter-chip input {
    accent-color: #ff6f3c;
    width: 15px;
    height: 15px;
}

.filter-chip.is-highlight {
    background: rgba(255,111,60,.3);
    border-color: #ff6f3c;
}

.filter-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.3);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    transition: all .2s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.filter-select-wrap:hover {
    background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.6);
}

.filter-select-wrap select {
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.filter-select-wrap select option {
    color: #1a2d42;
    background: #fff;
}

/* ---- Trust Bar ---- */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-trust-bar span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.01em;
}

/* ---- Hidden old classes ---- */
.search-tabs { display: none; }
.search-tab { display: none; }
.search-row { display: none; }

/* ===== SEARCH SUGGESTIONS DROPDOWN ===== */
.search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #c5dcea;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,100,160,.13);
    max-height: 320px;
    overflow-y: auto;
    z-index: 9999;
    padding: 6px 0;
}

.search-suggestions.is-open { display: block; }

.search-suggestion-group {
    padding: 6px 14px 2px;
    font-size: 11px;
    font-weight: 700;
    color: #7eafc7;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #173b61;
    transition: background .15s;
}

.search-suggestion-item:hover,
.search-suggestion-item.is-active {
    background: #e8f4fc;
    color: var(--primary);
}

.search-suggestion-item .sug-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.search-suggestion-item .sug-text strong {
    font-weight: 600;
}

.search-suggestion-empty {
    padding: 12px 16px;
    font-size: 13px;
    color: #9ab3c5;
    text-align: center;
}


/* (search-icon, search-input-wrap input, search-location, search-btn, filters — moved to hero-search-box block above) */

.filter-select-wrap select {
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.search-note {
    padding: 0 14px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #53718d;
}

/* ---- Good doctors blog section ---- */
.doctor-blogs-section {
    background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.doctor-blog-intro {
    max-width: 860px;
    margin: -4px auto 24px;
    text-align: center;
    color: #5b7386;
    line-height: 1.7;
    font-size: 15px;
}

.doctor-featured-wrap {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e5f0f6;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 41, 64, 0.08);
    margin-bottom: 24px;
}

.doctor-featured-media {
    min-height: 320px;
    display: block;
}

.doctor-featured-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.doctor-featured-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.doctor-featured-badge,
.doctor-blog-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e8f7fe;
    color: #0f8cb7;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.doctor-featured-content h3,
.doctor-blog-title {
    margin: 0;
    color: #0f2940;
    font-weight: 900;
    line-height: 1.45;
}

.doctor-featured-content h3 {
    font-size: 25px;
}

.doctor-featured-content h3 a,
.doctor-blog-link {
    color: inherit;
    text-decoration: none;
}

.doctor-featured-excerpt {
    color: #345167;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.doctor-featured-preview,
.doctor-blog-preview,
.doctor-blog-excerpt {
    color: #698195;
    line-height: 1.7;
    font-size: 14px;
}

.doctor-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.doctor-blog-card {
    background: #fff;
    border: 1px solid #e5f0f6;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 41, 64, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.doctor-blog-card:hover,
.doctor-featured-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 41, 64, 0.10);
}

.doctor-blog-thumb img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.doctor-blog-body {
    padding: 18px;
}

.doctor-blog-title {
    font-size: 18px;
    margin: 10px 0 10px;
}

.doctor-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    color: #7e95a8;
    font-size: 13px;
    margin-top: 10px;
}

.doctor-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.doctor-blog-tag {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2f8fc;
    color: #50708a;
    font-size: 12px;
    font-weight: 700;
}

.doctor-read-more {
    margin-top: 4px;
    color: #10a7d6;
    font-weight: 800;
    text-decoration: none;
}

.doctor-read-more:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .doctor-featured-wrap {
        grid-template-columns: 1fr;
    }

    .doctor-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .doctor-featured-content {
        padding: 16px;
    }

    .doctor-featured-content h3 {
        font-size: 20px;
    }

    .doctor-blog-thumb img,
    .doctor-featured-media img {
        min-height: 220px;
        height: 220px;
    }
}

/* ---- Quick Access ---- */
/* (quick-access removed) */

.quick-box img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.quick-box:hover {
    background: rgba(255,255,255,0.32);
    transform: translateY(-3px);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 44px 0;
    background: #fff;
}

.partners-header {
    margin-bottom: 22px;
}

.partners-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.partners-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.partners-viewport {
    flex: 1;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 22px;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.partner-item {
    flex: 0 0 calc((100% - 88px) / 5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    text-align: center;
    font-family: inherit;
}

.partner-logo {
    width: 100%;
    height: 102px;
    background: linear-gradient(135deg, #fafdff, #eef8fd);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-dark);
    border: 1.5px solid #d4eaf6;
    transition: box-shadow .2s, transform .2s;
    overflow: hidden;
    padding: 10px;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.partner-logo:hover,
.partner-link-card:hover .partner-logo {
    box-shadow: 0 6px 20px rgba(16,167,214,.15);
    transform: translateY(-2px);
}

.partner-more {
    font-size: 32px;
    background: #f4f8fb;
    color: var(--primary);
}

.partner-item p {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    line-height: 1.45;
    max-width: 95%;
    min-height: 38px;
}

.partners-arrow {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.partners-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.partners-arrow:disabled { opacity: 0.35; cursor: default; }

.partners-progress {
    margin: 14px auto 0;
    height: 6px;
    width: 140px;
    background: #d5dde4;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.partners-progress span {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 28%;
    background: var(--primary);
    border-radius: 999px;
    transition: width .35s, left .35s;
}

.partners-viewport {
    cursor: grab;
    touch-action: pan-y;
}

.partners-viewport.is-dragging {
    cursor: grabbing;
}

.partners-view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.partners-view-all-btn {
    min-width: 220px;
    box-shadow: 0 10px 22px rgba(16, 167, 214, 0.18);
}

.partners-all-panel {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 28, 48, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.partners-all-panel[hidden] {
    display: none !important;
}

.partners-modal-box {
    width: min(980px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(7, 25, 42, 0.28);
    padding: 28px;
}

.partners-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6eef4;
}

.partners-modal-header h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.partners-modal-header p {
    font-size: 14px;
    color: var(--muted);
}

.partners-close-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #edf7fc;
    color: var(--primary-dark);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.partners-close-btn:hover {
    background: #dff2fb;
    transform: scale(1.04);
}

.partners-all-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.partner-modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 230px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfe 100%);
    border: 1px solid #deebf2;
    box-shadow: 0 10px 26px rgba(20, 59, 97, 0.08);
    transition: transform .2s, box-shadow .2s;
    width: 100%;
    font-family: inherit;
    appearance: none;
    cursor: pointer;
}

.partner-modal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(20, 59, 97, 0.12);
}

.partner-modal-logo {
    width: 100%;
    height: 120px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5f0f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 14px;
}

.partner-modal-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.partner-modal-name {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    color: var(--primary-dark);
    margin: 0 0 10px;
}

.partner-modal-tag {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf7fd;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.partner-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 28, 48, 0.62);
}

.partner-detail-modal[hidden] {
    display: none !important;
}

.partner-detail-dialog {
    width: min(920px, 100%);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(20, 59, 97, 0.24);
    padding: 24px;
    position: relative;
}

.partner-detail-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 22px;
    align-items: center;
}

.partner-detail-visual {
    background: linear-gradient(135deg, #eef9fe, #d9f1fb);
    border-radius: 18px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.partner-detail-visual img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    display: block;
}

.partner-detail-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf7fd;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.partner-detail-content h3 {
    font-size: 28px;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.partner-detail-location,
.partner-detail-rating,
.partner-detail-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 10px;
}

.partner-detail-rating strong {
    color: var(--primary-dark);
}

.partner-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.modal-open {
    overflow: hidden;
}

/* ===== PROMO STRIP ===== */
.promo-strip {
    padding: 22px 0;
    background: linear-gradient(120deg, #10a7d6 0%, #123f68 100%);
}

.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 32px;
    background: rgba(255,255,255,0.10);
    border-radius: 16px;
}

.promo-copy small {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-copy h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 6px 0 4px;
}

.promo-copy p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

/* ===== CLINIC SLIDER ===== */
.clinic-filter-summary {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f3fbff;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #d9edf7;
}

/* ===== REPUTABLE CLINICS SLIDER ===== */
/* Desktop: grid layout (56px arrows + flexible viewport + 56px arrows) */
.clinic-slider-wrap {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    gap: 18px;
}

.clinic-slider-wrap.is-filtered {
    display: block;
}

.clinic-track.filtered-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    transform: none !important;
    width: 100% !important;
    flex-wrap: unset;
}

.clinic-track.filtered-view .clinic-card {
    flex: unset;
    width: 100%;
    max-width: 100%;
}

.clinic-thumb {
    height: 170px;
    overflow: hidden;
    background: #e8f5fd;
}

.clinic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.clinic-card:hover .clinic-thumb img { transform: scale(1.04); }

.clinic-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.clinic-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.clinic-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.clinic-badge.trusted {
    background: #e8f8ee;
    color: #198754;
}

.clinic-badge.verified {
    background: #eaf7fd;
    color: #0d8cb8;
}

.clinic-badge.pending {
    background: #fff4df;
    color: #cc8a00;
}

.clinic-badge.normal {
    background: #f0f4f8;
    color: #5e7285;
}

.clinic-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.clinic-location {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.clinic-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 13px;
}

.rating-score { font-weight: 700; color: var(--primary-dark); }
.rating-stars { color: #f5aa2e; letter-spacing: 2px; }

.clinic-body .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.clinic-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.clinic-arrow:disabled { opacity: 0.35; cursor: default; }

/* ===== MINI BANNERS ===== */
.mini-banners { padding: 18px 0; }

.mini-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mini-banner {
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: filter .2s;
    min-height: 64px;
    display: flex;
    align-items: center;
}

.mini-banner:hover { filter: brightness(1.08); }
.mini-banner.red { background: linear-gradient(120deg, #ff6b6b, #e53935); }
.mini-banner.blue { background: linear-gradient(120deg, #10a7d6, #0d6eaf); }
.mini-banner.cyan { background: linear-gradient(120deg, #00bcd4, #0097a7); }

/* ===== INFO CARD (Doctor card) ===== */
.info-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s;
}

.info-card:hover { transform: translateY(-4px); }

/* ===== MEDPRO-STYLE DOCTOR CARDS ===== */
.doctor-cards-section {
    background: linear-gradient(180deg, #edf8fd 0%, #f9fcff 100%);
}

.doctor-proof-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}

.doctor-proof-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dcecf5;
    color: #2f5975;
    font-size: 13px;
    font-weight: 700;
}

.doctor-slider-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.doctor-viewport {
    flex: 1;
    overflow: hidden;
}

.doctor-track {
    display: flex;
    gap: 20px;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.doctor-card-mp {
    flex: 0 0 calc((100% - 40px) / 3);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 20px;
    border: 1px solid #dcecf5;
    box-shadow: 0 10px 28px rgba(20,59,97,.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

.doctor-card-mp:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20,59,97,.14);
}

.dc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 6px;
}

.dc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.dc-badge.verified {
    background: #e8f8ee;
    color: #1c8b57;
}

.dc-badge.mode {
    background: #eaf7fd;
    color: #0d8cb8;
}

.dc-score {
    color: #e09a1f;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.doctor-card-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 4px auto 0;
    border: 4px solid #e8f5fb;
    flex-shrink: 0;
    background: linear-gradient(135deg, #dff2fb, #bfe7f8);
}

.doctor-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.doctor-card-info {
    padding: 12px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dc-title {
    font-size: 11px;
    font-weight: 800;
    color: #10a7d6;
    text-transform: uppercase;
    margin: 0 0 6px;
    letter-spacing: 0.05em;
    text-align: center;
}

.dc-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.dc-workplace {
    margin: 6px 0 8px;
    text-align: center;
    font-size: 13px;
    color: #698195;
    line-height: 1.5;
}

.doctor-card-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
}

.dc-visits {
    color: #4f7a95;
    background: #f1f8fc;
    border-radius: 999px;
    padding: 6px 10px;
}

.dc-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.dc-meta li {
    font-size: 13px;
    color: #4e6b82;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.dc-meta-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.dc-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.dc-actions .btn {
    width: 50%;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.dc-btn-secondary {
    background: #eef8fd;
    color: #0f76a8;
    border: 1px solid #d2eaf5;
}

.dc-btn-secondary:hover {
    background: #e0f2fb;
}

.doctor-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #d0e6f0;
    background: #fff;
    color: #10a7d6;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(20,59,97,.08);
}

.doctor-arrow:hover {
    background: #10a7d6;
    color: #fff;
    border-color: #10a7d6;
}

.doctor-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .doctor-card-mp { flex: 0 0 calc((100% - 20px) / 2); }
    .doctor-arrow { display: none; }
}

@media (max-width: 576px) {
    .doctor-card-mp { flex: 0 0 100%; }
    .dc-actions {
        flex-direction: column;
    }
    .dc-actions .btn {
        width: 100%;
    }
}

.info-card-thumb {
    height: 160px;
    background: linear-gradient(135deg, #dff2fb, #bfe7f8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    overflow: hidden;
    position: relative;
}

.info-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-thumb-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,50,90,0.75), transparent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 10px 10px 7px;
    text-align: center;
    letter-spacing: 0.02em;
}

.info-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
    flex: 1;
}

.info-card .btn { margin-top: auto; width: 100%; text-align: center; }

/* ===== OFFER SLIDER ===== */
.offer-slider-wrap {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.offer-viewport { flex: 1; overflow: hidden; }

.offer-track {
    display: flex;
    gap: 22px;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.offer-card {
    flex: 0 0 calc((100% - 66px) / 4);
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s;
}

.offer-card:hover { transform: translateY(-4px); }

.offer-card .info-card-thumb { height: 150px; }
.offer-card .info-card-body { padding: 14px; }

.offer-arrow {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    align-self: center;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.offer-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.offer-arrow:disabled { opacity: 0.35; cursor: default; }

/* ===== OFFER FILTER TABS ===== */
.offer-filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.offer-filter-tab {
    padding: 8px 20px;
    border-radius: 24px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
    white-space: nowrap;
}

.offer-filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.offer-filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== SPECIALTIES ===== */
.specialties-section {
    padding: 54px 0;
    background: #fff;
}

.specialties-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    margin-bottom: 28px;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
}

.specialty-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 14px 8px;
    border-radius: 12px;
    transition: background .2s, transform .2s;
    text-decoration: none;
    color: inherit;
}

.specialty-item:hover {
    background: #eaf7fd;
    transform: translateY(-3px);
}

.specialty-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.specialty-item span {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    line-height: 1.3;
}

.specialties-more {
    margin-top: 24px;
    text-align: center;
}

.specialties-more a {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
}

/* ===== TESTIMONIALS ===== */

.testimonial-slider-wrap {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.testimonial-viewport { flex: 1; overflow: hidden; }

.testimonial-track {
    display: flex;
    gap: 22px;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
    flex: 0 0 calc((100% - 44px) / 3);
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quote-icon {
    font-size: 36px;
    color: var(--primary);
    line-height: 1;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    flex: 1;
}

.testimonial-divider {
    height: 1px;
    background: var(--border);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: #e8f5fd;
}

.testimonial-author strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-dark);
}

.testimonial-arrow {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    align-self: center;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.testimonial-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.testimonial-arrow:disabled { opacity: 0.35; cursor: default; }

/* ===== STATS ===== */
.stats-section {
    padding: 54px 0;
    background: linear-gradient(120deg, #10a7d6 0%, #123f68 100%);
}

.stats-section .section-title h2 { color: #fff; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 22px 12px;
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    border: 1.5px solid rgba(255,255,255,0.2);
}

.stat-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.stat-item strong {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-item span {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

/* ===== NEWS ===== */
.news-section { background: #f4f8fb; }

.news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 22px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s;
    display: flex;
    flex-direction: column;
}

.news-card:hover { transform: translateY(-3px); }

.news-large {
    grid-area: large;
}

.news-thumb {
    overflow: hidden;
    background: linear-gradient(135deg,#f7fbfe,#eef6fb);
}

.news-large .news-thumb { height: 260px; }
.news-card:not(.news-large) .news-thumb { height: 130px; }

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    display: block;
    transition: transform .3s;
}

.news-card:hover .news-thumb img { transform: none; }

.news-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.news-link:hover h3 { color: var(--primary); }

.news-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-content h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.4;
    margin-bottom: 6px;
}

.news-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.news-excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
}

.view-all-bottom {
    margin-top: 24px;
    text-align: center;
}

.view-all-bottom a {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
}

/* ===== REVIEW GRID (PC) ===== */
.rev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rev-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .2s;
}

.rev-card:hover { transform: translateY(-3px); }

.rev-link {
    display: flex;
    flex-direction: row;
    color: #1c2d3b;
    text-decoration: none;
    height: 100%;
}

.rev-link:hover .rev-title { color: var(--primary); }

.rev-thumb {
    width: 130px;
    flex-shrink: 0;
    background: #f0f7fb;
    overflow: hidden;
}

.rev-thumb img {
    width: 130px;
    height: 100%;
    min-height: 90px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.rev-card:hover .rev-thumb img { transform: scale(1.04); }

.rev-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.rev-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: var(--primary-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}

.rev-excerpt {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.rev-address {
    font-size: 12px;
    color: #888;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== SUPPORT BANNER ===== */
.support-banner-section {
    padding: 36px 0;
    background: #fff;
}

.support-banner-box {
    background: linear-gradient(120deg, #eaf7fd, #d1edf8);
    border-radius: 20px;
    padding: 32px 36px;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon-circle img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.text-info h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.text-info strong {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

.qr-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.qr-box img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    display: block;
}

.qr-box span {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ===== VIDEO SECTION ===== */
.video-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

.video-post-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.video-box {
    display: flex;
    justify-content: center;
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.phone-mockup {
    height: 280px;
    background: linear-gradient(135deg, #173b61, #10a7d6);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 600;
}

.video-thumb {
    height: 280px;
    background: linear-gradient(135deg, #0f2940, #1a5276);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: background .2s;
}

.play-button:hover { background: rgba(255,255,255,0.35); }

.video-thumb h3 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 0 24px;
}

@media (max-width: 992px) {
    .search-main-row {
        flex-wrap: wrap;
        border-radius: 20px;
        gap: 0;
        padding: 6px;
    }

    .search-input-wrap {
        width: 100%;
        min-width: 0;
        flex: 1 1 100%;
        border-bottom: 1px solid rgba(255,255,255,.2);
        padding: 8px 14px;
        min-height: 48px;
    }

    .search-divider { display: none; }

    .search-location-wrap {
        flex: 1;
        padding: 8px 14px;
    }

    .search-btn {
        margin: 6px;
        width: calc(100% - 12px);
        height: 46px;
        border-radius: 14px;
    }

    .hero-search-box {
        border-radius: 20px;
    }

    .hero-trust-bar {
        gap: 14px;
    }

    .hero-trust-bar span {
        font-size: 12px;
    }

    .partner-item {
        flex: 0 0 calc((100% - 44px) / 3);
    }

    .partners-all-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-modal-card {
        min-height: 220px;
    }
}

@media (max-width: 576px) {
    .hero-search-box {
        border-radius: 18px;
        padding: 4px;
    }

    .search-main-row {
        border-radius: 16px;
    }

    .search-btn span { display: inline; }
    .search-btn svg { display: none; }

    .hero-headline h1 { font-size: 22px; }
    .hero-badge { font-size: 11px; padding: 6px 16px; }
    .hero-trust-bar { flex-direction: column; gap: 6px; }

    .search-filter-bar {
        padding: 10px 16px 4px;
        gap: 8px;
    }

    .filter-chip, .filter-select-wrap {
        padding: 6px 12px;
        font-size: 12px;
    }

    .search-location,
    .search-btn {
        width: 100%;
    }

    .partner-item {
        flex: 0 0 100%;
    }

    .partners-all-grid {
        grid-template-columns: 1fr;
    }

    .partners-modal-box {
        padding: 18px;
    }

    .partners-modal-header h3 {
        font-size: 22px;
    }

    .partner-modal-card {
        min-height: 200px;
    }

    .partner-modal-name {
        font-size: 15px;
    }
}


/* Các ô chức năng */
.hero-box {
    position: absolute;
    width: 120px;
    height: 140px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* 🔥 căn giữa theo chiều dọc */

    text-align: center;
    text-decoration: none;
    color: #123f68;

    padding: 0 8px;
}

.hero-box img {
    width: 170px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 8px;
}

.hero-box span {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}

.hero-box-1 { top: 610px; left: 450px; }
.hero-box-2 { top: 610px; left: 600px; }
.hero-box-3 { top: 610px; left: 750px; }
.hero-box-4 { top: 610px; left: 900px; }
.hero-box-5 { top: 610px; left: 1050px; }
.hero-box-6 { top: 610px; left: 1200px; }
.hero-box-7 { top: 610px; left: 1350px; }

/* ===== PARTNERS ===== */
.partners-section {
    padding: 56px 0 34px;
    background: #fff;
}

.partners-header {
    text-align: center;
    margin-bottom: 24px;
}

.partners-header h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.partners-slider {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.partners-arrow {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-dark);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 59, 97, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.partners-viewport {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    gap: 22px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.partner-item {
    flex: 0 0 calc((100% - 110px) / 5);
    max-width: calc((100% - 110px) / 5);
    text-align: center;
}

.partner-logo {
    width: 82px;
    height: 82px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dff2fb, #bfe7f8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-dark);
}

.partner-item p {
    font-size: 14px;
    line-height: 1.35;
    color: var(--primary-dark);
    max-width: 180px;
    margin: 0 auto;
}

.partner-more {
    font-size: 44px;
    color: #4bb7e8;
    background: none;
}

.partners-progress {
    width: 86px;
    height: 6px;
    background: #d6dde3;
    border-radius: 999px;
    margin: 0 auto;
    overflow: hidden;
}

.partners-progress span {
    display: block;
    width: 38%;
    height: 100%;
    background: #22aee6;
    border-radius: 999px;
}

/* ===== PROMO BANNER ===== */
.promo-strip {
    padding: 18px 0 34px;
    background: #fff;
}

.promo-banner.large {
    min-height: 150px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff4c7, #ffe3a3 50%, #ffd9a5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    box-shadow: var(--shadow);
}

.promo-copy small {
    display: block;
    color: #ad7b00;
    margin-bottom: 6px;
}

.promo-copy h3 {
    font-size: 28px;
    line-height: 1.15;
    color: #b25a00;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.promo-copy p {
    color: #7b5a28;
    font-size: 14px;
}

/* ===== MINI BANNERS ===== */
.mini-banners {
    padding: 8px 0 28px;
    background: #eaf7fd;
}

.mini-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mini-banner {
    min-height: 96px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 16px;
}

.mini-banner.red {
    background: linear-gradient(135deg, #ff8a80, #ff5252);
}

.mini-banner.blue {
    background: linear-gradient(135deg, #6ec6ff, #1e88e5);
}

.mini-banner.cyan {
    background: linear-gradient(135deg, #4dd0e1, #00acc1);
}

/* ===== SECTION CARD CHUNG ===== */
.content-section {
    padding: 48px 0;
}

.alt-bg {
    background: #dff4fd;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(20, 59, 97, 0.08);
    overflow: hidden;
}

.info-card-thumb {
    height: 130px;
    background: linear-gradient(135deg, #d7effb, #b9e2f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-dark);
}

.info-card-body {
    padding: 14px;
}

.info-card h3 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.info-card p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.btn.btn-primary {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 999px;
}

/* ===== SPECIALTIES ===== */
.specialties-section {
    padding: 48px 0;
    background: #fff;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.specialty-item {
    background: #f3fbfe;
    border: 1px solid #d9eef7;
    border-radius: 18px;
    padding: 18px 10px;
    text-align: center;
    font-weight: 700;
    color: #1b587f;
    font-size: 13px;
}

/* ===== TESTIMONIALS ===== */
#cam-nhan .section-header {
    justify-content: center;
    text-align: center;
    margin-bottom: 28px;
}

#cam-nhan .section-title {
    margin: 0 auto;
    text-align: center;
}

.testimonial-wrap {
    position: relative;
}

.testimonial-slider-wrap {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    gap: 18px;
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #123f68;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 59, 97, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.testimonial-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    gap: 22px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc((100% - 44px) / 3);
    max-width: calc((100% - 44px) / 3);
    min-height: 310px;
    background: #f6f9fd;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(20, 59, 97, 0.08);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    text-align: center;
    font-size: 42px;
    line-height: 1;
    color: #cfd6df;
    font-weight: 700;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #123f68;
    text-align: center;
    min-height: 150px;
    margin-bottom: 18px;
}

.testimonial-divider {
    height: 1px;
    background: #dfe5eb;
    margin-top: auto;
    margin-bottom: 14px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.testimonial-author strong {
    font-size: 16px;
    color: #123f68;
    font-weight: 800;
}

@media (max-width: 991px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===== VIDEO ===== */
.video-box {
    display: flex;
    justify-content: center;
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.play-button {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ff4b5c;
    box-shadow: var(--shadow);
}

.video-thumb h3 {
    font-size: 26px;
    color: var(--primary-dark);
    text-align: center;
    max-width: 500px;
}

/* ===== STATS (FIX CHUẨN GIỐNG MẪU) ===== */
.stats-section {
    padding: 40px 0 48px;
    background: #dff4fd;
}

/* căn giữa tiêu đề */
#thong-ke .section-header {
    justify-content: center;
    text-align: center;
    margin-bottom: 28px;
}

#thong-ke .section-title {
    margin: 0 auto;
    text-align: center;
}

/* khung trắng */
.stats-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 48px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(20, 59, 97, 0.08);
}

/* từng item */
.stat-item {
    text-align: center;
}

/* icon */
.stat-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 22px; /* tăng khoảng cách */
}

/* số */
.stat-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #123f68;
}

/* chữ */
.stat-item span {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    color: #5e7285;
}

/* ===== NEWS ===== */
.news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-areas:
        "large card2 card3"
        "large card4 card5";
    gap: 18px;
}

.news-grid > .news-card:nth-child(2) { grid-area: card2; }
.news-grid > .news-card:nth-child(3) { grid-area: card3; }
.news-grid > .news-card:nth-child(4) { grid-area: card4; }
.news-grid > .news-card:nth-child(5) { grid-area: card5; }

.news-card {
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow);
}

.news-thumb {
    height: 120px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dff2fb, #bfe7f8);
    margin-bottom: 12px;
}

.news-large .news-thumb {
    height: 200px;
}

.news-card h3 {
    font-size: 15px;
    line-height: 1.35;
    color: var(--primary-dark);
}

.news-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

/* ===== SUPPORT ===== */
.support-banner-section {
    padding: 18px 0 50px;
    background: #dff4fd;
}

.support-banner-box {
    position: relative;
    min-height: 250px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 22%),
        url("../images/datkham.webp") center / cover no-repeat;
    box-shadow: 0 10px 24px rgba(20, 59, 97, 0.08);
}

.banner-content {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px 0 360px;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-icon-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(20, 59, 97, 0.12);
    flex: 0 0 96px;
}

.phone-icon-circle img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.text-info h3 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
}

.text-info strong {
    display: block;
    font-size: 44px;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
}

.qr-grid {
    display: flex;
    align-items: center;
    gap: 28px;
}

.qr-box {
    width: 106px;
    min-height: 126px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    box-shadow: 0 8px 20px rgba(20, 59, 97, 0.10);
}

.qr-box img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
}

.qr-box span {
    font-size: 15px;
    line-height: 1.2;
    color: #123f68;
    font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1a2332;
    padding: 50px 0 40px;
    color: #c8d6e5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
    gap: 32px;
}

/* -- Brand col -- */
.footer-brand { display: flex; flex-direction: column; gap: 6px; }

.footer-logo-wrap {
    width: 180px;
    margin-bottom: 6px;
}
.footer-logo-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.footer-brand-sub {
    font-size: 11px;
    color: #7e95ab;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}
.footer-address {
    font-size: 13px;
    color: #93a8bf;
    margin-bottom: 8px;
}

.footer-social-label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 10px 0 6px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
    width: fit-content;
}
.footer-social-btn:hover { opacity: .85; }
.footer-social-fb { background: #1877f2; }
.footer-social-yt { background: #ff0000; }
.footer-social-tt { background: #010101; }
.footer-social-zl { background: #0068ff; }

/* -- Link cols -- */
.footer-col h4,
.site-footer h4 {
    margin-bottom: 14px;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-footer li {
    margin-bottom: 9px;
    font-size: 13.5px;
    list-style: none;
}

.site-footer li a {
    color: #93a8bf;
    text-decoration: none;
    transition: color .15s;
}

.site-footer li a:hover { color: #fff; }

/* -- Contact col -- */
.footer-contact-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-hotline-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-hotline-icon { font-size: 22px; }
.footer-hotline-num {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.footer-contact-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-contact-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform .2s, opacity .2s;
}
.footer-contact-circle:hover { transform: scale(1.12); opacity: .85; }

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,206,201,.3);
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,206,201,.45);
}

/* ===== REPUTABLE CLINICS SLIDER ===== */
.clinic-slider-wrap {
    position: relative;
    display: block;
}

.clinic-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #123f68;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 59, 97, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-prev { left: -10px; }
.clinic-next { right: -10px; }

.clinic-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.clinic-viewport {
    overflow: hidden;
    width: 100%;
}

.clinic-track {
    display: flex;
    gap: 22px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.clinic-slider-wrap .clinic-card {
    flex: 0 0 calc((100% - 66px) / 4);
    max-width: calc((100% - 66px) / 4);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(20, 59, 97, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.clinic-thumb {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    background: #ffffff;
    overflow: hidden;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.clinic-thumb.is-cover { padding: 0; background: #eef3f7; }
.clinic-thumb.is-cover img { object-fit: cover; }

.clinic-thumb-inner {
    font-size: 42px;
    font-weight: 900;
    color: #123f68;
}

.clinic-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.clinic-body h3 {
    font-size: 18px;
    line-height: 1.3;
    color: #123f68;
    margin-bottom: 8px;
}

.clinic-body p {
    font-size: 14px;
    color: #5e7285;
    margin-bottom: 0;
}

.clinic-body .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.clinic-title {
    font-size: 18px;
    line-height: 1.3;
    color: #123f68;
    margin-bottom: 10px;
    font-weight: 800;
    min-height: 72px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    background: #139df2;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    vertical-align: middle;
}

.clinic-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #5e7285;
    line-height: 1.45;
    min-height: 64px;
    margin-bottom: 12px;
}

.location-icon {
    color: #123f68;
    font-size: 15px;
    line-height: 1.2;
    margin-top: 1px;
    flex: 0 0 auto;
}

.clinic-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    margin-bottom: 14px;
}

.rating-score {
    font-size: 14px;
    font-weight: 700;
    color: #f2a43a;
}

.rating-stars {
    font-size: 22px;
    line-height: 1;
    color: #f2a43a;
    letter-spacing: 2px;
}

.offer-slider-wrap {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    gap: 18px;
}

.offer-arrow {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #123f68;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 59, 97, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.offer-viewport {
    overflow: hidden;
    width: 100%;
}

.offer-track {
    display: flex;
    gap: 22px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.offer-card {
    flex: 0 0 calc((100% - 66px) / 4);
    max-width: calc((100% - 66px) / 4);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(20, 59, 97, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.offer-card .info-card-thumb {
    height: 150px;
    overflow: hidden;
    background: #fff;
}

.offer-card .info-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-card .info-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offer-card .info-card-body h3 {
    font-size: 16px;
    line-height: 1.35;
    color: #123f68;
    min-height: 52px;
    margin-bottom: 8px;
}

.offer-card .info-card-body p {
    font-size: 14px;
    color: #5e7285;
    min-height: 40px;
    margin-bottom: 14px;
}

.offer-card .info-card-body .btn {
    width: fit-content;
    min-width: 90px;
    margin-top: auto;
}

.specialties-section {
    padding: 48px 0 56px;
    background: #fff;
}

.specialties-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    color: #123f68;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 26px 24px;
    justify-items: center;
    align-items: start;
}

.specialty-item {
    width: 100%;
    max-width: 130px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    box-shadow: none;
}

.specialty-item img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

.specialty-item span {
    display: block;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #123f68;
}

.specialties-more {
    text-align: center;
    margin-top: 34px;
}

.specialties-more a {
    color: #11a9ea;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.specialties-more span {
    margin-left: 4px;
}

/* ==========================================================
   MOBILE RESPONSIVE – COMPREHENSIVE FIX (≤992 / ≤768 / ≤480)
   ========================================================== */

/* ---- Tablet (≤992px) ---- */
@media (max-width: 992px) {
    /* Clinic slider: 2 cards visible */
    .clinic-slider-wrap {
        grid-template-columns: 40px 1fr 40px;
        gap: 10px;
    }
    .clinic-slider-wrap .clinic-card {
        flex: 0 0 calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }
    .clinic-track.filtered-view {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Offer slider: 2 cards visible */
    .offer-slider-wrap {
        grid-template-columns: 40px 1fr 40px;
        gap: 10px;
    }
    .offer-card {
        flex: 0 0 calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }

    /* Specialty: 4 per row */
    .specialty-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px 14px;
    }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
    /* Hero banner: thu nho chieu cao, hien thi icon thay vi background */
    .hero-banner {
        aspect-ratio: unset !important;
        max-height: unset !important;
        min-height: unset !important;
        background-image: none !important;
        background-color: #0a2a4a !important;
    }

    .hero-overlay {
        background: linear-gradient(175deg, rgba(6, 30, 80, 0.82) 0%, rgba(8, 50, 100, 0.72) 100%);
    }

    .hero-inner {
        padding: 20px 0 24px;
        gap: 18px;
    }

    /* Headline: nho gon */
    .hero-headline { text-align: center; }
    .hero-headline h1 {
        font-size: clamp(17px, 5vw, 22px) !important;
        line-height: 1.25;
        margin-bottom: 6px;
    }
    .hero-sub-typewriter { font-size: 13px !important; margin-bottom: 0; }

    /* Search box: full width, goc tron dep */
    .hero-search-box {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }

    .search-main-row {
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 18px !important;
        padding: 8px !important;
        gap: 6px !important;
        background: rgba(255,255,255,.18) !important;
        border: 1.5px solid rgba(255,255,255,.4) !important;
    }

    .search-input-wrap {
        width: 100% !important;
        flex: unset !important;
        border-bottom: 1px solid rgba(255,255,255,.2) !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        background: rgba(255,255,255,.12) !important;
    }

    .search-input-wrap input {
        font-size: 14px !important;
        padding: 0 !important;
    }

    .search-icon-svg { width: 18px !important; height: 18px !important; }

    .search-divider { display: none !important; }

    .search-location-wrap {
        padding: 10px 12px !important;
        border-radius: 12px !important;
        background: rgba(255,255,255,.12) !important;
        border-bottom: 1px solid rgba(255,255,255,.2) !important;
        min-width: unset !important;
    }

    .search-location {
        font-size: 14px !important;
        min-width: unset !important;
        color: #fff !important;
    }

    .search-location option { color: #1a2d42 !important; }

    .search-btn {
        width: 100% !important;
        height: 48px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: center !important;
    }

    .search-btn span { display: inline !important; }

    /* Filter bar: scroll ngang tren mobile, giao dien dep hon */
    .search-filter-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding: 12px 8px 4px !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        scroll-snap-type: x mandatory !important;
    }

    .search-filter-bar::-webkit-scrollbar { display: none !important; }

    .filter-label { display: none !important; }

    .hero-dropdown,
    .filter-chip {
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }

    .hero-dropdown-btn {
        padding: 7px 14px !important;
        font-size: 12px !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    .filter-chip {
        padding: 7px 14px !important;
        font-size: 12px !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    .filter-chip input {
        width: 14px !important;
        height: 14px !important;
    }

    .hero-dropdown-menu {
        min-width: 160px !important;
    }

    /* Trust bar */
    .hero-trust-bar { gap: 10px !important; }
    .hero-trust-bar span { font-size: 11px !important; }

    /* Clinic slider: 1 card, arrows smaller */
    .clinic-slider-wrap {
        grid-template-columns: 36px 1fr 36px;
        gap: 6px;
    }
    .clinic-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .clinic-slider-wrap .clinic-card {
        flex: 0 0 calc(100% - 4px);
        max-width: calc(100% - 4px);
    }
    .clinic-title { min-height: unset; font-size: 16px; }
    .clinic-location { min-height: unset; }
    .clinic-rating { min-height: unset; }
    .clinic-track.filtered-view {
        grid-template-columns: 1fr;
    }

    /* Offer slider: 1 card */
    .offer-slider-wrap {
        grid-template-columns: 36px 1fr 36px;
        gap: 6px;
    }
    .offer-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .offer-card {
        flex: 0 0 calc(100% - 4px);
        max-width: calc(100% - 4px);
    }

    /* Specialty: 3 per row */
    .specialty-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 10px;
    }
    .specialty-item img {
        width: 72px;
        height: 72px;
    }
    .specialty-item span { font-size: 12px; }
    .specialties-title { font-size: 22px; }

    /* Partners: 2 per row */
    .partner-item {
        flex: 0 0 calc((100% - 22px) / 2) !important;
    }
    .partner-item p { font-size: 12px; }

    /* Doctor cards proof strip */
    .doctor-proof-strip span { font-size: 12px; padding: 6px 10px; }

    /* Doctor blog intro */
    .doctor-blog-intro { font-size: 13px; }

    /* Section title */
    .section-title h2 { font-size: 20px !important; }

    /* Stats section padding */
    .stats-section { padding: 28px 0 !important; }

    /* Hero slides text */
    .hero-overlay h1 { font-size: 18px !important; }
    .hero-slide-subtitle { font-size: 13px !important; }
}

/* ---- Small mobile (≤480px) ---- */
@media (max-width: 480px) {
    /* Specialty: 3 per row with smaller icons */
    .specialty-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 8px;
    }
    .specialty-item {
        max-width: unset;
    }
    .specialty-item img {
        width: 58px;
        height: 58px;
    }
    .specialty-item span { font-size: 11px; }

    /* Partners: 2 per row */
    .partner-item {
        flex: 0 0 calc((100% - 14px) / 2) !important;
    }
    .partner-logo {
        height: 70px !important;
    }

    /* Clinic/offer arrows super compact */
    .clinic-slider-wrap,
    .offer-slider-wrap {
        grid-template-columns: 30px 1fr 30px;
        gap: 4px;
    }
    .clinic-arrow, .offer-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    /* Doctor proof strip: wrap nicely */
    .doctor-proof-strip {
        gap: 6px;
    }
    .doctor-proof-strip span {
        font-size: 11px;
        padding: 5px 8px;
    }

    /* Section paddings */
    .content-section { padding: 24px 0 !important; }
    .specialties-section { padding: 28px 0 36px !important; }
}

/* ================================================================
   MOBILE PATCH v6 – Robust vw-based slider widths
   Replaces the unreliable %-flex-basis approach on mobile.
   100vw avoids circular-dependency when parent has auto width.
   ================================================================ */

/* ---- Partners: 3-per-row on tablet (≤992px) ---- */
@media (max-width: 992px) {
    .partner-item {
        width: calc((100vw - 76px) / 3) !important;
        flex: 0 0 calc((100vw - 76px) / 3) !important;
        max-width: calc((100vw - 76px) / 3) !important;
    }
}

/* ---- Mobile ≤768px ---- */
@media (max-width: 768px) {
    /* Clinic slider: 1 card fills viewport */
    .clinic-slider-wrap .clinic-card {
        width: calc(100vw - 116px) !important;
        flex: 0 0 calc(100vw - 116px) !important;
        max-width: calc(100vw - 116px) !important;
    }
    /* Offer slider: same */
    .offer-card {
        width: calc(100vw - 116px) !important;
        flex: 0 0 calc(100vw - 116px) !important;
        max-width: calc(100vw - 116px) !important;
    }
    /* Partners: 2 per row */
    .partner-item {
        width: calc((100vw - 54px) / 2) !important;
        flex: 0 0 calc((100vw - 54px) / 2) !important;
        max-width: calc((100vw - 54px) / 2) !important;
    }
    /* Support banner: stack vertically on mobile */
    .support-banner-box {
        background-image: none !important;
        background: linear-gradient(135deg, #0d3a5e, #1a5c8a) !important;
        min-height: auto !important;
    }
    .banner-content {
        padding: 24px 20px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        min-height: auto !important;
    }
    .contact-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .text-info h3 { font-size: 18px !important; }
    .text-info strong { font-size: 32px !important; }
    .qr-grid { gap: 16px !important; flex-wrap: wrap !important; }
    /* Promo banner: stack on mobile */
    .promo-banner.large {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px !important;
    }
    /* Mini banners: 1 col */
    .mini-banner-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    /* News: single column */
    .news-grid {
        grid-template-columns: 1fr !important;
        grid-template-areas: none !important;
    }
    .news-grid > .news-card { grid-area: auto !important; }
}

/* ---- Small mobile ≤576px ---- */
@media (max-width: 576px) {
    /* Clinic/offer: 1 card, slightly smaller arrows */
    .clinic-slider-wrap .clinic-card, .offer-slider-wrap .offer-card {
        width: calc(100vw - 104px) !important;
        flex: 0 0 calc(100vw - 104px) !important;
        max-width: calc(100vw - 104px) !important;
    }
    /* Partners: still 2 per row */
    .partner-item {
        width: calc((100vw - 46px) / 2) !important;
        flex: 0 0 calc((100vw - 46px) / 2) !important;
        max-width: calc((100vw - 46px) / 2) !important;
    }
}

/* ================================================================
   MOBILE RESPONSIVE — Appended to home.css (loads after responsive.css)
   All rules use !important to override desktop styles in home.css.
   ================================================================ */

/* ---- Tablet 992px ---- */
@media (max-width: 992px) {
    /* Clinic slider: 2 cards */
    .clinic-slider-wrap { grid-template-columns: 40px 1fr 40px !important; gap: 10px !important; }
    .clinic-slider-wrap .clinic-card { flex: 0 0 calc((100% - 22px) / 2) !important; max-width: calc((100% - 22px) / 2) !important; }

    /* Offer slider: 2 cards */
    .offer-slider-wrap { grid-template-columns: 40px 1fr 40px !important; gap: 10px !important; }
    .offer-card { flex: 0 0 calc((100% - 22px) / 2) !important; max-width: calc((100% - 22px) / 2) !important; }

    /* Specialty: 4 per row */
    .specialty-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 18px 14px !important; }

    /* Partners: 3 per row */
    .partner-item { width: calc((100vw - 76px) / 3) !important; flex: 0 0 calc((100vw - 76px) / 3) !important; max-width: calc((100vw - 76px) / 3) !important; }

    /* Partners all grid: 2 cols */
    .partners-all-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---- Mobile ≤768px ---- */
@media (max-width: 768px) {
    /* Clinic slider: 1 card, hide arrows */
    .clinic-slider-wrap { grid-template-columns: 1fr !important; gap: 0 !important; }
    .clinic-arrow { display: none !important; }
    .clinic-viewport { overflow: visible !important; }
    .clinic-slider-wrap .clinic-card { width: calc(100vw - 32px) !important; flex: 0 0 calc(100vw - 32px) !important; max-width: calc(100vw - 32px) !important; }

    /* Offer slider: 1 card, hide arrows */
    .offer-slider-wrap { grid-template-columns: 1fr !important; gap: 0 !important; }
    .offer-arrow { display: none !important; }
    .offer-viewport { overflow: visible !important; }
    .offer-card { width: calc(100vw - 32px) !important; flex: 0 0 calc(100vw - 32px) !important; max-width: calc(100vw - 32px) !important; }

    /* Specialty: 3 per row */
    .specialty-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
    .specialty-item img { width: 54px !important; height: 54px !important; }
    .specialty-item span { font-size: 11px !important; }

    /* Partners: 2 per row */
    .partner-item { width: calc((100vw - 54px) / 2) !important; flex: 0 0 calc((100vw - 54px) / 2) !important; max-width: calc((100vw - 54px) / 2) !important; }

    /* Partners all modal */
    .partners-all-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .partners-modal-box { padding: 16px !important; }
    .partner-detail-dialog { padding: 16px !important; }
    .partner-detail-grid { grid-template-columns: 1fr !important; }
    .partner-detail-visual { min-height: 140px !important; }

    /* Doctor cards: full width, actions stacked */
    .doctor-card-mp { flex: 0 0 100% !important; width: 100% !important; }
    .dc-actions { flex-direction: column !important; }
    .dc-actions .btn { width: 100% !important; }

    /* Video grid: 1 col */
    .video-post-grid { grid-template-columns: 1fr !important; }

    /* Support banner: stack */
    .support-banner-box {
        background-image: none !important;
        background: linear-gradient(135deg, #0d3a5e, #1a5c8a) !important;
        min-height: auto !important;
    }
    .banner-content { padding: 20px !important; flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; min-height: auto !important; }
    .contact-info { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
    .text-info h3 { font-size: 16px !important; }
    .text-info strong { font-size: 26px !important; }
    .qr-grid { gap: 12px !important; flex-wrap: wrap !important; justify-content: flex-start !important; }
    .phone-icon-circle { width: 56px !important; height: 56px !important; flex: 0 0 56px !important; }
    .phone-icon-circle img { width: 28px !important; height: 28px !important; }

    /* Promo banner: stack */
    .promo-banner.large { flex-direction: column !important; align-items: flex-start !important; padding: 18px !important; }

    /* Mini banners: 1 col */
    .mini-banner-grid { grid-template-columns: 1fr !important; gap: 10px !important; }

    /* News: 1 col */
    .news-grid { grid-template-columns: 1fr !important; grid-template-areas: none !important; }
    .news-grid > .news-card { grid-area: auto !important; }

    /* Homepage banners: stack */
    .homepage-banners { flex-direction: column !important; padding: 12px !important; gap: 12px !important; }
    .homepage-banners a { max-width: 100% !important; min-width: unset !important; }

    /* Promo & support slider arrows: hide */
    .promo-arrow { display: none !important; }
    .support-slider-arrow { display: none !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
    .footer-brand { grid-column: 1 / -1 !important; }
    .site-footer { padding: 30px 0 20px !important; }
    .footer-social { flex-direction: row !important; flex-wrap: wrap !important; gap: 10px !important; }
    .footer-social .social-link { font-size: 12px !important; }

    /* Sections */
    .content-section { padding: 30px 0 !important; }
    .section-title { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
    .section-title h2 { font-size: 20px !important; }
    .specialties-title { font-size: 20px !important; }
    .partners-section { padding: 30px 0 !important; }
    .partners-header h2 { font-size: 18px !important; }
    .stats-section { padding: 28px 0 !important; }

    /* Stats: 2 cols */
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; padding: 20px 14px !important; gap: 12px !important; }
    .stat-item img { width: 44px !important; height: 44px !important; margin-bottom: 10px !important; }
    .stat-item strong { font-size: 18px !important; }
    .stat-item span { font-size: 12px !important; }

    /* Modal */
    .modal-form-grid { grid-template-columns: 1fr !important; }
    .site-modal-dialog { padding: 16px 14px !important; border-radius: 16px !important; }
    .site-modal-content h3 { font-size: 22px !important; }

    /* Float call button */
    .float-call-btn { width: 52px !important; height: 52px !important; bottom: 16px !important; right: 12px !important; }

    /* Doctor proof strip */
    .doctor-proof-strip { gap: 6px !important; justify-content: flex-start !important; }
    .doctor-proof-strip span { font-size: 11px !important; padding: 4px 8px !important; }
}

/* ---- Small mobile ≤576px ---- */
@media (max-width: 576px) {
    .container { width: 96% !important; }

    /* Stats: 2 cols tighter */
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; padding: 16px 12px !important; gap: 10px !important; }
    .stat-item strong { font-size: 16px !important; }
    .stat-item span { font-size: 11px !important; }
    .stat-item img { width: 38px !important; height: 38px !important; margin-bottom: 8px !important; }

    /* Specialty: 3 cols smaller */
    .specialty-grid { gap: 8px !important; }
    .specialty-item img { width: 54px !important; height: 54px !important; }
    .specialty-item span { font-size: 11px !important; }

    /* Partners-all: 1 col */
    .partners-all-grid { grid-template-columns: 1fr !important; }

    /* Footer: 1 col */
    .footer-grid { grid-template-columns: 1fr !important; }

    /* Section titles */
    .section-title h2 { font-size: 17px !important; }
    .specialties-title { font-size: 17px !important; }

    /* Support banner text smaller */
    .text-info h3 { font-size: 14px !important; }
    .text-info strong { font-size: 22px !important; }
}

/* ---- Extra small ≤480px ---- */
@media (max-width: 480px) {
    .hero-main-title { font-size: 17px !important; }

    /* Specialty: 3 cols tiny */
    .specialty-grid { gap: 6px !important; }
    .specialty-item img { width: 46px !important; height: 46px !important; }
    .specialty-item span { font-size: 10px !important; }

    /* Stats smaller */
    .stat-item { padding: 10px 6px !important; }
    .stat-item strong { font-size: 14px !important; }
    .stat-item span { font-size: 10px !important; }
    .stat-item img { width: 32px !important; height: 32px !important; margin-bottom: 6px !important; }

    /* Footer text smaller */
    .site-footer h4 { font-size: 13px !important; }
    .site-footer li, .site-footer a { font-size: 12px !important; }

    /* Doctor proof strip tiny */
    .doctor-proof-strip span { font-size: 10px !important; padding: 3px 6px !important; }
}

/* ---- Ultra small ≤400px ---- */
@media (max-width: 400px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .section-title h2 { font-size: 16px !important; }
    .specialties-title { font-size: 16px !important; }
    .hero-main-title { font-size: 16px !important; }
}

/* Mobile home flow is opt-in at <=768px. */
.tvyt-mobile-flow { display: none; }


/* ===== Task Fix 1: video + policy homepage sections ===== */
.tvyt-video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 22px;
    align-items: stretch;
}
.tvyt-video-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tvyt-video-card {
    background: #fffdfa;
    border: 1px solid rgba(178, 83, 26, .14);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(71, 32, 13, .08);
}
.tvyt-video-card-main { min-height: 100%; }
/* Make .tvyt-video-media work as a block <a> link */
.tvyt-video-media-link { display: block; }
.tvyt-video-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111827;
    overflow: hidden;
}
.tvyt-video-media iframe,
.tvyt-video-media video,
.tvyt-video-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}
.tvyt-video-body { padding: 18px; }
.tvyt-video-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ffe5c2;
    color: #9b3605;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.tvyt-video-body h3 {
    margin: 0;
    color: #18324a;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}
.tvyt-video-body h3 a { color: inherit; text-decoration: none; }
.tvyt-video-body h3 a:hover { color: #b91515; }
/* Small horizontal card */
.tvyt-video-card-small {
    display: flex !important;
    flex-direction: row !important;
    min-height: unset;
    cursor: pointer;
}
.tvyt-video-card-small .tvyt-video-media {
    width: 130px;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    border-radius: 22px 0 0 22px;
}
.tvyt-video-card-small .tvyt-video-body { padding: 10px 14px !important; display: flex; flex-direction: column; justify-content: center; }
.tvyt-video-card-small .tvyt-video-body h3 { font-size: 13px; }
.tvyt-video-card-small .tvyt-video-body p { display: none; }
.tvyt-video-card-small.is-active {
    outline: 3px solid #ffe08a;
    outline-offset: -3px;
    background: #fff8dc;
}
.tvyt-video-body p,
.tvyt-video-body span:not(.tvyt-video-kicker) {
    color: #7c6653;
    font-size: 12px;
    font-weight: 700;
}
.tvyt-video-fallback { position: relative; width: 100%; height: 100%; }
.tvyt-video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(198, 46, 29, .88);
    color: #fffaf4;
    box-shadow: 0 12px 28px rgba(198, 46, 29, .28);
}
/* Mini play for small side cards */
.tvyt-video-mini-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(198, 46, 29, .88);
    color: #fffaf4;
    font-size: 11px;
    box-shadow: 0 4px 12px rgba(198, 46, 29, .28);
    pointer-events: none;
}
/* TV brand badge in top-left corner of main card thumbnail */
.tvyt-video-brand-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.88);
    pointer-events: none;
}
.tvyt-video-brand-badge img { width: 100%; display: block; }
/* View all button at bottom of side column */
.tvyt-view-all-btn {
    display: inline-flex;
    align-self: flex-end;
    padding: 8px 20px;
    border-radius: 999px;
    background: #b91515;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s;
}
.tvyt-view-all-btn:hover { background: #8f1010; }
.tvyt-policy-section { background: linear-gradient(180deg, #fffaf2 0%, #f5fbff 100%); }
.tvyt-policy-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.tvyt-policy-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fffefa;
    color: #18324a;
    text-decoration: none;
    border: 1px solid rgba(16, 167, 214, .14);
    box-shadow: 0 12px 30px rgba(18, 63, 104, .06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tvyt-policy-item:hover {
    transform: translateY(-2px);
    border-color: rgba(209, 80, 24, .28);
    box-shadow: 0 18px 42px rgba(18, 63, 104, .10);
}
.tvyt-policy-item span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #b91515;
    color: #ffe9ad;
    font-weight: 900;
}
.tvyt-policy-item strong {
    font-size: 16px;
    line-height: 1.45;
}
@media (max-width: 900px) {
    .tvyt-video-layout,
    .tvyt-policy-list { grid-template-columns: 1fr; }
    .tvyt-video-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .tvyt-video-section,
    .tvyt-policy-section { display: none !important; }
}


/* ===== Task Fix: compact desktop promo ads ===== */
.tvyt-desktop-promo {
    padding: 26px 0 30px;
    background: linear-gradient(180deg, #f6fbff 0%, #fffaf1 100%);
}
.tvyt-desktop-promo .container {
    max-width: 1120px;
}
.tvyt-promo-title {
    margin: 0 0 14px;
    color: #0f3a5d;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: .01em;
}
.tvyt-promo-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}
.tvyt-flash-slider {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #fffaf2;
    border: 1px solid rgba(194, 116, 34, .16);
    box-shadow: 0 14px 34px rgba(29, 65, 97, .10);
}
.tvyt-flash-slider .promo-slider {
    position: relative;
    aspect-ratio: 16 / 6.2;
    min-height: 0;
    background: #f4f7fa;
}
.tvyt-flash-slider .promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}
.tvyt-flash-slider .promo-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.tvyt-flash-slider .promo-slide-img-link,
.tvyt-flash-slider .promo-slide-img {
    display: block;
    width: 100%;
    height: 100%;
}
.tvyt-flash-slider .promo-slide-img {
    object-fit: cover;
    object-position: center;
}
.tvyt-flash-slider .promo-dots {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}
.tvyt-flash-slider .promo-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .16);
    pointer-events: auto;
    cursor: pointer;
}
.tvyt-flash-slider .promo-dot.is-active {
    width: 20px;
    background: #b91515;
}
@media (min-width: 1200px) {
    .tvyt-desktop-promo .container { max-width: 1060px; }
}
@media (max-width: 980px) {
    .tvyt-promo-duo { grid-template-columns: 1fr; }
    .tvyt-flash-slider .promo-slider { aspect-ratio: 16 / 6.4; }
}
