﻿/* ==========================================================================
   MS Homepage V2 — Complete Modern Portal Stylesheet
   Matching Reference Medical Directory (Pezeshkyab) Structure & Aesthetics
   ========================================================================== */

:root {
    --ms-primary: #0A8071;
    --ms-primary-dark: #075E53;
    --ms-primary-deep: #05453D;
    --ms-primary-light: #E8F7F5;
    --ms-primary-muted: #D1EFEA;
    --ms-accent: #F59E0B;
    --ms-accent-light: #FEF3C7;
    --ms-coral: #EF4444;
    --ms-coral-light: #FEE2E2;
    --ms-ink: #0F172A;
    --ms-slate: #334155;
    --ms-muted: #64748B;
    --ms-sub: #94A3B8;
    --ms-border: #E2E8F0;
    --ms-border-subtle: #F1F5F9;
    --ms-card-bg: #FFFFFF;
    --ms-ground: #F8FAFC;
    --ms-mint-ground: #F2FAF8;
    --ms-radius-sm: 8px;
    --ms-radius-md: 14px;
    --ms-radius-lg: 18px;
    --ms-radius-xl: 24px;
    --ms-radius-pill: 9999px;
    --ms-shadow-1: 0 2px 10px rgba(10, 128, 113, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --ms-shadow-2: 0 10px 30px -4px rgba(10, 128, 113, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    --ms-shadow-3: 0 20px 45px -8px rgba(10, 128, 113, 0.14), 0 8px 18px -4px rgba(0, 0, 0, 0.04);
}

/* -------------------------------------------------------------------------
   Container Resets & Scoping (Full-Width Portal Support)
   ------------------------------------------------------------------------- */
body.ms-home-v2-active,
body.ms-home-v2-active #page,
body.ms-home-v2-active #content,
body.ms-home-v2-active .site-main,
body.ms-home-v2-active .page-content,
body.ms-home-v2-active .elementor,
body.ms-home-v2-active .container.main-content.sidbar-2,
body.ms-home-v2-active .container.main-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.ms-home-v2-active .container.main-content.sidbar-2 > .row,
body.ms-home-v2-active .container.main-content > .row {
    margin: 0 !important;
}

body.ms-home-v2-active .container.main-content.sidbar-2 > .row > [class*="col-"],
body.ms-home-v2-active .container.main-content > .row > [class*="col-"] {
    padding: 0 !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

body.ms-home-v2-active .elementor-widget-container {
    margin: 0 !important;
}

/* Master Full-Width Portal Wrapper */
.ms-home-portal {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.ms-home-portal * {
    box-sizing: border-box;
}

/* Boxed Inner Container (Sections 2 to 13) */
.ms-home-v2 {
    width: min(1320px, calc(100% - 32px));
    margin: 32px auto 80px;
    color: var(--ms-ink);
    direction: rtl;
    text-align: right;
    font-family: inherit;
    line-height: 1.8;
}

.ms-home-v2 * {
    box-sizing: border-box;
}

.ms-home-v2 a {
    text-decoration: none;
    color: inherit;
    transition: all 0.22s ease-in-out;
}

.ms-home-v2 button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

.ms-home-v2 h1,
.ms-home-v2 h2,
.ms-home-v2 h3,
.ms-home-v2 h4 {
    margin: 0;
    color: var(--ms-ink);
    font-weight: 800;
}

.ms-svg-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Section Headers (Consistent across all modules)
   ------------------------------------------------------------------------- */
.ms-section {
    margin-bottom: 72px;
}

.ms-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.ms-section-title {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 900;
    color: var(--ms-ink);
    line-height: 1.4;
    margin-bottom: 4px;
    position: relative;
    padding-right: 18px;
}

.ms-section-title::before {
    content: "";
    position: absolute;
    right: 0;
    top: 14%;
    bottom: 14%;
    width: 5px;
    background: var(--ms-primary);
    border-radius: var(--ms-radius-pill);
}

.ms-section-sub {
    font-size: 13.5px;
    color: var(--ms-muted);
    margin: 0;
}

.ms-section-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ms-primary);
    padding: 6px 14px;
    border-radius: var(--ms-radius-pill);
    background: var(--ms-primary-light);
    flex-shrink: 0;
}

.ms-section-more:hover {
    background: var(--ms-primary);
    color: #fff;
    transform: translateX(-3px);
}

/* ==========================================================================
   SECTION 1: HERO & DUAL SEARCH (FULL-WIDTH 100% EDGE-TO-EDGE)
   ========================================================================== */
.ms-hero-fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    background: linear-gradient(135deg, #064E44 0%, #0A8071 50%, #043831 100%);
    position: relative;
    overflow: hidden;
    color: #FFFFFF !important;
    padding: 64px 20px 88px;
    margin: 0 0 32px 0;
    border-radius: 0 !important;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ms-hero-bg-accent {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.22;
}

.ms-hero-blob-1 {
    width: 440px;
    height: 440px;
    background: #5EEAD4;
    top: -140px;
    right: -100px;
}

.ms-hero-blob-2 {
    width: 500px;
    height: 500px;
    background: #14B8A6;
    bottom: -180px;
    left: -120px;
}

.ms-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.ms-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: var(--ms-radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 22px;
}

.ms-hero-badge svg {
    color: #FDE047 !important;
}

.ms-hero-title,
.ms-hero-fullwidth .ms-hero-title,
.ms-home-portal .ms-hero-title {
    font-size: clamp(28px, 4.4vw, 46px);
    font-weight: 900;
    color: #FFFFFF !important;
    line-height: 1.38;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.ms-hero-highlight {
    color: #FDE047 !important;
    position: relative;
    display: inline-block;
    font-weight: 900;
}

.ms-hero-subtitle,
.ms-hero-fullwidth .ms-hero-subtitle,
.ms-home-portal .ms-hero-subtitle {
    font-size: clamp(14px, 1.8vw, 17px);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.94) !important;
    max-width: 740px;
    margin: 0 auto 36px;
}

/* Floating Dual Search Card */
.ms-hero-search-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.28), 0 8px 18px -4px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    text-align: right;
    color: var(--ms-ink);
}

.ms-search-form {
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.ms-search-field-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.ms-search-field-box:focus-within {
    border-color: #0A8071;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(10, 128, 113, 0.15);
}

.ms-search-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    color: #064E44;
}

.ms-search-label svg {
    color: #0A8071;
}

.ms-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: #0F172A;
    background: transparent;
    padding: 2px 0;
}

.ms-search-input::placeholder {
    color: #94A3B8;
    font-weight: 500;
}

.ms-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0A8071 !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    padding: 0 36px !important;
    height: 60px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(10, 128, 113, 0.35) !important;
    transition: all 0.2s ease !important;
}

.ms-search-btn span {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

.ms-search-btn svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.ms-search-btn:hover {
    background: #064E44 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 78, 68, 0.4) !important;
}

/* Trending Chips */
.ms-search-trending {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #EDF2F7;
    flex-wrap: wrap;
}

.ms-trending-label {
    font-size: 12.5px;
    font-weight: 800;
    color: #475569;
    flex-shrink: 0;
}

.ms-trending-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ms-chip {
    display: inline-flex;
    align-items: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #075E53 !important;
    background: #E8F7F5 !important;
    border: 1px solid #A7DCD4 !important;
    padding: 5px 14px;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.ms-chip:hover {
    background: #0A8071 !important;
    color: #FFFFFF !important;
    border-color: #0A8071 !important;
    transform: translateY(-1px);
}
    flex-shrink: 0;
}

.ms-trending-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ms-chip {
    font-size: 12px;
    font-weight: 700;
    color: var(--ms-slate);
    background: var(--ms-ground);
    border: 1px solid #E2E8F0;
    padding: 4px 12px;
    border-radius: var(--ms-radius-pill);
    transition: all 0.2s ease;
}

.ms-chip:hover {
    background: var(--ms-primary-light);
    color: var(--ms-primary);
    border-color: var(--ms-primary);
}

/* ==========================================================================
   SECTION 2: TOP 5 HIGHLIGHT CATEGORIES
   ========================================================================== */
.ms-highlight-section {
    margin-top: -36px;
    margin-bottom: 64px;
    position: relative;
    z-index: 5;
}

.ms-highlight-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ms-highlight-card {
    background: #FFFFFF;
    border: 1px solid #E6F4F1;
    border-radius: var(--ms-radius-lg);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--ms-shadow-1);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.ms-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ms-shadow-2);
    border-color: var(--ms-primary);
}

.ms-highlight-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.24s ease;
}

.ms-highlight-card:hover .ms-highlight-icon {
    transform: scale(1.08);
}

.ms-highlight-name {
    font-size: 15px;
    font-weight: 900;
    color: var(--ms-ink);
    margin-bottom: 4px;
}

.ms-highlight-count {
    font-size: 12px;
    color: var(--ms-primary);
    font-weight: 800;
    margin-bottom: 2px;
}

.ms-highlight-views {
    font-size: 11px;
    color: var(--ms-sub);
}

/* ==========================================================================
   SECTIONS 3 & 4: CATEGORY GRIDS (SPECIALTIES & ISSUES)
   ========================================================================== */
.ms-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ms-category-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--ms-radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--ms-shadow-1);
    transition: all 0.22s ease;
}

.ms-category-card:hover {
    border-color: var(--ms-primary);
    box-shadow: var(--ms-shadow-2);
    transform: translateY(-3px);
}

.ms-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ms-category-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ms-category-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ms-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.ms-category-count {
    font-size: 12px;
    color: var(--ms-muted);
    font-weight: 600;
}

.ms-category-views {
    font-size: 11px;
    color: var(--ms-sub);
}

/* ==========================================================================
   SECTION 5: CITIES GRID
   ========================================================================== */
.ms-cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ms-city-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--ms-radius-md);
    overflow: hidden;
    box-shadow: var(--ms-shadow-1);
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
}

.ms-city-card:hover {
    border-color: var(--ms-primary);
    box-shadow: var(--ms-shadow-2);
    transform: translateY(-3px);
}

.ms-city-skyline {
    width: 100%;
    height: 52px;
    overflow: hidden;
    line-height: 0;
}

.ms-city-info {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ms-city-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--ms-ink);
}

.ms-city-count {
    font-size: 12px;
    color: var(--ms-muted);
}

/* ==========================================================================
   SECTION 6: POPULAR DOCTORS (HERO TEAL CAROUSEL - MATCH IMAGE 2)
   ========================================================================== */
.ms-popular-section {
    position: relative;
    margin-bottom: 48px;
}

.ms-popular-hero-box {
    background: linear-gradient(135deg, #098172 0%, #065B50 100%);
    border-radius: 28px;
    padding: 36px 32px 28px;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 28px;
    align-items: center;
    position: relative;
    box-shadow: 0 16px 40px rgba(6, 78, 68, 0.16);
    box-sizing: border-box;
}

/* Right Column: Hero Promo Info */
.ms-popular-promo-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
    padding: 6px 4px 6px 14px;
    z-index: 2;
}

.ms-popular-brand-title {
    font-size: 22px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    display: block;
}

.ms-popular-hero-title {
    font-size: 26px;
    font-weight: 900;
    color: #FFFFFF !important;
    line-height: 1.45;
    margin: 0 0 14px 0;
}

.ms-popular-hero-desc {
    font-size: 13.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0 24px 0;
}

.ms-popular-social-proof {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--ms-radius-pill);
    padding: 6px 14px 6px 16px;
    align-self: flex-start;
    max-width: 100%;
}

.ms-social-proof-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
}

.ms-popular-social-proof .ms-avatar-stack {
    display: flex;
    align-items: center;
    direction: ltr;
}

.ms-popular-social-proof .ms-avatar-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #098172;
    margin-left: -8px;
    background-size: cover;
    background-position: center;
}
.ms-popular-social-proof .ms-avatar-dot:first-child {
    margin-left: 0;
}

/* ==========================================================================
   GENERIC SLIDER COMPONENT (REUSABLE ACROSS ENTIRE THEME)
   ========================================================================== */
.ms-slider-container {
    position: relative;
    width: 100%;
    min-width: 0;
}

.ms-slider-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 6px 2px;
}

.ms-slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

/* Circular Slider Buttons */
.ms-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #087D6F;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.22s ease;
}

.ms-slider-btn svg {
    stroke: #087D6F;
    transition: transform 0.2s ease;
}

.ms-slider-btn:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.08);
    background: #FFFFFF;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.26);
}

.ms-slider-btn:active:not(:disabled) {
    transform: translateY(-50%) scale(0.96);
}

.ms-slider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.ms-slider-prev {
    right: -12px;
}

.ms-slider-next {
    left: -12px;
}

/* Pagination Dots */
.ms-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.ms-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ms-slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.ms-slider-dot.is-active {
    width: 22px;
    height: 7px;
    border-radius: 4px;
    background: #2DD4BF;
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.55);
}

/* ==========================================================================
   DOCTOR CARD IN POPULAR HERO SLIDER (.ms-pop-card)
   ========================================================================== */
.ms-pop-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 16px 14px 16px;
    width: 242px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
}

.ms-pop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.ms-pop-card-top {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 6px;
}

.ms-pop-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 800;
    color: #D97706;
}

.ms-pop-rating-badge svg,
.ms-pop-rating-badge .ms-star-fill {
    fill: #F59E0B;
    stroke: #D97706;
}

.ms-pop-avatar-frame {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    background: #E6F6F4;
    padding: 3px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(9, 129, 114, 0.08);
    overflow: hidden;
}

.ms-pop-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.ms-pop-card-name {
    font-size: 15px;
    font-weight: 900;
    color: #0F172A;
    margin: 0 0 4px 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.ms-pop-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.ms-pop-card-name a:hover {
    color: #087D6F;
}

.ms-pop-card-spec {
    font-size: 12px;
    color: #64748B;
    margin: 0 0 12px 0;
    line-height: 1.4;
    height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.ms-pop-card-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
    width: 100%;
}

.ms-pop-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #087D6F;
    white-space: nowrap;
}

.ms-pop-tag-pill svg {
    stroke: #087D6F;
}

.ms-pop-card-btn {
    width: 100%;
    background: #087D6F !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 10px rgba(8, 125, 111, 0.25) !important;
}

.ms-pop-card-btn span {
    color: #FFFFFF !important;
}

.ms-pop-card-btn svg {
    stroke: #FFFFFF !important;
}

.ms-pop-card-btn:hover {
    background: #065B50 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(8, 125, 111, 0.35) !important;
}

/* ==========================================================================
   DOCTOR CARD (REUSABLE COMPONENT)
   ========================================================================== */
.ms-doctor-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--ms-radius-lg);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--ms-shadow-1);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.ms-doctor-card:hover {
    border-color: var(--ms-primary);
    box-shadow: var(--ms-shadow-2);
    transform: translateY(-4px);
}

.ms-doc-avatar-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin-bottom: 14px;
}

.ms-doc-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E8F7F5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.ms-doc-verified {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ms-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

.ms-doc-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--ms-ink);
    margin-bottom: 4px;
    line-height: 1.4;
}

.ms-doc-name a:hover {
    color: var(--ms-primary);
}

.ms-doc-specs {
    font-size: 12.5px;
    color: var(--ms-muted);
    line-height: 1.6;
    margin: 0 0 14px;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ms-doc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
    margin-bottom: 16px;
    font-size: 12px;
}

.ms-doc-city {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ms-muted);
    font-weight: 600;
}

.ms-doc-city svg {
    color: var(--ms-sub);
}

.ms-doc-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 800;
    color: #B45309;
    background: #FEF3C7;
    padding: 2px 8px;
    border-radius: var(--ms-radius-pill);
}

.ms-doc-rating svg {
    fill: #F59E0B;
    stroke: #F59E0B;
}

.ms-doc-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--ms-primary-light);
    color: var(--ms-primary);
    font-size: 13px;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: var(--ms-radius-md);
    transition: all 0.2s ease;
}

.ms-doc-btn:hover {
    background: var(--ms-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   SECTION 7: LATEST DOCTORS WITH TABS
   ========================================================================== */
.ms-filter-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.ms-filter-tab {
    padding: 8px 20px;
    border-radius: var(--ms-radius-pill);
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ms-slate);
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ms-filter-tab:hover {
    border-color: var(--ms-primary);
    color: var(--ms-primary);
    background: var(--ms-primary-light);
}

.ms-filter-tab.is-active {
    background: var(--ms-primary);
    border-color: var(--ms-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(10, 128, 113, 0.22);
}

.ms-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==========================================================================
   SECTION 8: WHY US / VALUE PROPOSITION & METRICS
   ========================================================================== */
.ms-why-wrap {
    background: linear-gradient(135deg, #F0FDF4 0%, #F8FAFC 100%);
    border: 1px solid #D1EFEA;
    border-radius: var(--ms-radius-xl);
    padding: 56px 44px;
    box-shadow: var(--ms-shadow-1);
}

.ms-why-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.ms-why-eyebrow {
    display: inline-block;
    color: var(--ms-primary);
    font-size: 13px;
    font-weight: 800;
    background: #FFFFFF;
    border: 1px solid #D1EFEA;
    padding: 4px 14px;
    border-radius: var(--ms-radius-pill);
    margin-bottom: 12px;
}

.ms-why-title {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 900;
    color: var(--ms-ink);
    margin-bottom: 10px;
}

.ms-why-subtitle {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ms-muted);
    margin: 0;
}

.ms-why-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.ms-why-checklist {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ms-check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--ms-radius-md);
    padding: 16px 20px;
    box-shadow: var(--ms-shadow-1);
    transition: all 0.2s ease;
}

.ms-check-item:hover {
    border-color: var(--ms-primary);
    transform: translateX(-4px);
}

.ms-check-icon {
    color: var(--ms-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.ms-check-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ms-check-text strong {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ms-ink);
}

.ms-check-text span {
    font-size: 13px;
    color: var(--ms-muted);
    line-height: 1.7;
}

/* 4 Stat Boxes (2x2 Grid) */
.ms-why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ms-stat-box {
    background: #FFFFFF;
    border: 1px solid #E6F4F1;
    border-radius: var(--ms-radius-lg);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--ms-shadow-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
}

.ms-stat-box:hover {
    border-color: var(--ms-primary);
    transform: translateY(-4px);
    box-shadow: var(--ms-shadow-2);
}

.ms-stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--ms-primary);
    line-height: 1.2;
    margin-bottom: 6px;
}

.ms-stat-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--ms-ink);
    margin-bottom: 2px;
}

.ms-stat-desc {
    font-size: 11.5px;
    color: var(--ms-muted);
}

/* ==========================================================================
   SECTION 9: 3-STEP REGISTRATION BANNER
   ========================================================================== */
.ms-steps-banner {
    background: linear-gradient(135deg, #0A8071 0%, #064E44 100%);
    border-radius: var(--ms-radius-xl);
    padding: 48px 40px;
    color: #FFFFFF;
    box-shadow: var(--ms-shadow-2);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ms-steps-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--ms-radius-pill);
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #E8F7F5;
    margin-bottom: 14px;
}

.ms-steps-banner .ms-steps-title,
.ms-steps-banner h2,
.ms-steps-title {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 900;
    color: #FFFFFF !important;
    line-height: 1.4;
    margin-bottom: 12px;
}

.ms-steps-desc {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.94) !important;
    margin: 0 0 24px;
}

.ms-steps-banner .ms-steps-cta-btn,
.ms-steps-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    color: #064E44 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 12px 28px !important;
    border-radius: var(--ms-radius-md) !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease !important;
}

.ms-steps-banner .ms-steps-cta-btn span,
.ms-steps-cta-btn span {
    color: #064E44 !important;
    font-weight: 800 !important;
}

.ms-steps-banner .ms-steps-cta-btn svg,
.ms-steps-cta-btn svg {
    color: #064E44 !important;
    stroke: #064E44 !important;
}

.ms-steps-banner .ms-steps-cta-btn:hover,
.ms-steps-cta-btn:hover {
    background: #E8F7F5 !important;
    color: #043831 !important;
    transform: translateY(-2px);
}

.ms-steps-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ms-step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--ms-radius-md);
    padding: 16px 20px;
    backdrop-filter: blur(6px);
}

.ms-step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FDE047;
    color: #064E44;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ms-step-info strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.ms-step-info p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    line-height: 1.7;
}

/* ==========================================================================
   SECTION 10: TESTIMONIALS / REVIEWS
   ========================================================================== */
.ms-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ms-review-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--ms-radius-lg);
    padding: 24px 20px;
    box-shadow: var(--ms-shadow-1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.22s ease;
}

.ms-review-card:hover {
    border-color: var(--ms-primary);
    box-shadow: var(--ms-shadow-2);
    transform: translateY(-4px);
}

.ms-review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.ms-star-fill {
    fill: #F59E0B;
    stroke: #F59E0B;
}

.ms-review-body {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--ms-slate);
    margin: 0 0 20px;
    flex-grow: 1;
}

.ms-review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
}

.ms-reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ms-primary-light);
    color: var(--ms-primary);
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ms-reviewer-details {
    display: flex;
    flex-direction: column;
}

.ms-reviewer-name {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ms-ink);
}

.ms-reviewer-meta {
    font-size: 11.5px;
    color: var(--ms-muted);
}

/* ==========================================================================
   SECTION 11: APPOINTMENT / VALUE BANNER
   ========================================================================== */
.ms-cta-banner {
    background: linear-gradient(135deg, #0A8071 0%, #064E44 100%);
    border-radius: var(--ms-radius-xl);
    padding: 56px 40px;
    color: #FFFFFF;
    text-align: center;
    box-shadow: var(--ms-shadow-2);
    position: relative;
    overflow: hidden;
}

.ms-cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.ms-cta-banner .ms-cta-title,
.ms-cta-banner h2,
.ms-cta-title {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 900;
    color: #FFFFFF !important;
    margin-bottom: 12px;
}

.ms-cta-desc {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.94) !important;
    margin: 0 0 28px;
}

.ms-cta-banner .ms-cta-action-btn,
.ms-cta-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    color: #064E44 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    padding: 13px 32px !important;
    border-radius: var(--ms-radius-md) !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16) !important;
    transition: all 0.2s ease !important;
}

.ms-cta-banner .ms-cta-action-btn span,
.ms-cta-action-btn span {
    color: #064E44 !important;
    font-weight: 800 !important;
}

.ms-cta-banner .ms-cta-action-btn svg,
.ms-cta-action-btn svg {
    color: #064E44 !important;
    stroke: #064E44 !important;
}

.ms-cta-banner .ms-cta-action-btn:hover,
.ms-cta-action-btn:hover {
    background: #E8F7F5 !important;
    color: #043831 !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 12: LATEST ARTICLES
   ========================================================================== */
.ms-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ms-article-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--ms-radius-lg);
    overflow: hidden;
    box-shadow: var(--ms-shadow-1);
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
}

.ms-article-card:hover {
    border-color: var(--ms-primary);
    box-shadow: var(--ms-shadow-2);
    transform: translateY(-4px);
}

.ms-article-thumb-link {
    display: block;
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #F1F5F9;
}

.ms-article-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ms-article-card:hover .ms-article-thumb {
    transform: scale(1.05);
}

.ms-article-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ms-primary);
    background: var(--ms-primary-light);
}

.ms-article-cat-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(10, 128, 113, 0.9);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--ms-radius-pill);
    backdrop-filter: blur(4px);
}

.ms-article-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ms-article-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 8px;
    min-height: 48px;
}

.ms-article-title a:hover {
    color: var(--ms-primary);
}

.ms-article-excerpt {
    font-size: 12.5px;
    color: var(--ms-muted);
    line-height: 1.7;
    margin: 0 0 16px;
    flex-grow: 1;
}

.ms-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--ms-sub);
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
}

.ms-article-read-more {
    font-weight: 800;
    color: var(--ms-primary);
}

/* ==========================================================================
   SECTION 13: FAQ ACCORDION WITH DOCTOR SUPPORT CARD
   ========================================================================== */
.ms-faq-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    align-items: flex-start;
}

.ms-faq-support-card {
    background: linear-gradient(145deg, #0A8071 0%, #064E44 100%);
    border-radius: var(--ms-radius-xl);
    padding: 36px 28px;
    color: #FFFFFF;
    box-shadow: var(--ms-shadow-2);
}

.ms-faq-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border-radius: var(--ms-radius-pill);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #E8F7F5;
    margin-bottom: 16px;
}

.ms-faq-support-card .ms-faq-side-title,
.ms-faq-support-card h3,
.ms-faq-side-title {
    font-size: 22px;
    font-weight: 900;
    color: #FFFFFF !important;
    line-height: 1.4;
    margin-bottom: 12px;
}

.ms-faq-side-desc {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.94) !important;
    margin: 0 0 24px;
}

.ms-faq-support-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.ms-faq-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #FFFFFF !important;
}

.ms-faq-feat span {
    color: #FFFFFF !important;
}

.ms-faq-feat svg {
    color: #FDE047 !important;
    stroke: #FDE047 !important;
}

.ms-faq-support-card .ms-faq-contact-btn,
.ms-faq-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    color: #064E44 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 13px 22px !important;
    border-radius: var(--ms-radius-md) !important;
    border: none !important;
    width: 100% !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease !important;
}

.ms-faq-support-card .ms-faq-contact-btn span,
.ms-faq-contact-btn span {
    color: #064E44 !important;
    font-weight: 800 !important;
}

.ms-faq-support-card .ms-faq-contact-btn svg,
.ms-faq-contact-btn svg {
    color: #064E44 !important;
    stroke: #064E44 !important;
}

.ms-faq-support-card .ms-faq-contact-btn:hover,
.ms-faq-contact-btn:hover {
    background: #E8F7F5 !important;
    color: #043831 !important;
    transform: translateY(-2px);
}

.ms-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ms-accordion-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--ms-radius-md);
    overflow: hidden;
    box-shadow: var(--ms-shadow-1);
    transition: all 0.2s ease;
}

.ms-accordion-item:hover {
    border-color: var(--ms-primary);
}

.ms-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    text-align: right;
    font-size: 15px;
    font-weight: 800;
    color: var(--ms-ink);
    gap: 16px;
    transition: color 0.2s ease;
}

.ms-accordion-trigger:hover {
    color: var(--ms-primary);
}

.ms-accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ms-primary-light);
    color: var(--ms-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ms-acc-minus {
    display: none;
}

.ms-accordion-item.is-open .ms-acc-plus {
    display: none;
}

.ms-accordion-item.is-open .ms-acc-minus {
    display: block;
}

.ms-accordion-item.is-open .ms-accordion-icon {
    background: var(--ms-primary);
    color: #FFFFFF;
}

.ms-accordion-content {
    display: none;
    padding: 0 22px 20px;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--ms-slate);
    border-top: 1px solid #F8FAFC;
}

.ms-accordion-item.is-open .ms-accordion-content {
    display: block;
}

.ms-accordion-content p {
    margin: 0;
}

/* ==========================================================================
   SECTION 14: ENHANCED GLOBAL FOOTER
   ========================================================================== */
.ms-footer {
    background: #0B1E19;
    color: #CBD5E1;
    margin-top: 80px;
    border-top: 4px solid var(--ms-primary);
}

.ms-footer-contact-bar {
    background: #061511;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
}

.ms-footer-contact-wrap {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ms-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ms-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(10, 128, 113, 0.2);
    color: #5EEAD4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ms-contact-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.ms-contact-info strong {
    color: #FFFFFF;
    font-weight: 800;
}

.ms-contact-info span {
    color: #94A3B8;
}

.ms-footer-wrap {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 32px;
}

.ms-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

.ms-footer-about {
    padding-left: 20px;
}

.ms-footer-logo-wrap img {
    max-width: 170px;
    height: auto;
    margin-bottom: 18px;
}

.ms-footer-desc {
    font-size: 13.5px;
    line-height: 1.9;
    color: #94A3B8;
    margin: 0 0 20px;
}

.ms-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 128, 113, 0.16);
    border: 1px solid rgba(10, 128, 113, 0.35);
    padding: 6px 14px;
    border-radius: var(--ms-radius-pill);
    font-size: 12px;
    color: #5EEAD4;
}

.ms-footer-heading {
    font-size: 16px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.ms-footer-heading::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    background: var(--ms-primary);
    border-radius: var(--ms-radius-pill);
}

.ms-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ms-footer-menu li a {
    font-size: 13.5px;
    color: #94A3B8;
    display: inline-block;
    transition: all 0.2s ease;
}

.ms-footer-menu li a:hover {
    color: #5EEAD4;
    transform: translateX(-4px);
}

.ms-footer-more {
    color: #5EEAD4 !important;
    font-weight: 800;
}

.ms-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    color: #64748B;
}

.ms-footer-bottom strong {
    color: #E2E8F0;
}

.ms-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--ms-radius-pill);
    transition: all 0.2s ease;
}

.ms-back-to-top:hover {
    background: var(--ms-primary);
    color: #FFFFFF;
    border-color: var(--ms-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Tablets / Small Laptops */
@media (max-width: 1200px) {
    .ms-highlight-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ms-highlight-card:nth-child(n+4) {
        display: none;
    }
    .ms-category-grid,
    .ms-cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .ms-latest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ms-reviews-grid,
    .ms-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-popular-hero-box {
        grid-template-columns: 290px 1fr;
        padding: 30px 24px 24px;
    }
}

/* Tablets (iPad / Landscape Mobile) */
@media (max-width: 992px) {
    .ms-hero-fullwidth {
        padding: 48px 16px 72px;
    }
    .ms-search-form {
        flex-direction: column;
        gap: 12px;
    }
    .ms-search-divider {
        display: none;
    }
    .ms-search-field-box {
        width: 100%;
    }
    .ms-search-btn {
        width: 100% !important;
        height: 54px !important;
    }
    .ms-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-highlight-card:nth-child(n+3) {
        display: none;
    }
    .ms-category-grid,
    .ms-cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ms-popular-hero-box {
        grid-template-columns: 1fr;
        padding: 28px 20px 24px;
        gap: 22px;
    }
    .ms-popular-promo-col {
        padding: 0;
        text-align: center;
        align-items: center;
    }
    .ms-popular-social-proof {
        align-self: center;
    }
    .ms-slider-btn {
        width: 38px;
        height: 38px;
    }
    .ms-latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-why-content {
        grid-template-columns: 1fr;
    }
    .ms-steps-banner {
        grid-template-columns: 1fr;
    }
    .ms-faq-grid {
        grid-template-columns: 1fr;
    }
    .ms-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices */
@media (max-width: 640px) {
    .ms-home-v2 {
        width: calc(100% - 24px);
        margin-top: 16px;
    }
    .ms-hero-fullwidth {
        border-radius: 0 !important;
        padding: 40px 14px 60px;
    }
    .ms-hero-title,
    .ms-hero-fullwidth .ms-hero-title,
    .ms-home-portal .ms-hero-title {
        font-size: 26px !important;
    }
    .ms-hero-subtitle,
    .ms-hero-fullwidth .ms-hero-subtitle,
    .ms-home-portal .ms-hero-subtitle {
        font-size: 13.5px !important;
        margin-bottom: 24px;
    }
    .ms-hero-search-card {
        padding: 16px;
        border-radius: var(--ms-radius-lg);
    }
    .ms-highlight-section {
        margin-top: -24px;
    }
    .ms-highlight-grid {
        grid-template-columns: 1fr;
    }
    .ms-highlight-card:nth-child(n+2) {
        display: none;
    }
    .ms-category-grid,
    .ms-cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ms-category-card {
        padding: 12px;
        gap: 10px;
    }
    .ms-category-icon {
        width: 38px;
        height: 38px;
    }
    .ms-category-title {
        font-size: 12.5px;
    }
    .ms-category-count {
        font-size: 11px;
    }
    .ms-latest-grid,
    .ms-reviews-grid,
    .ms-articles-grid {
        grid-template-columns: 1fr;
    }
    .ms-popular-hero-box {
        border-radius: 20px;
        padding: 22px 14px 18px;
    }
    .ms-popular-brand-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .ms-popular-hero-title {
        font-size: 20px !important;
        margin-bottom: 10px;
    }
    .ms-popular-hero-desc {
        font-size: 13px;
        margin-bottom: 18px;
    }
    .ms-pop-card {
        width: 224px;
        padding: 14px 12px 14px;
    }
    .ms-pop-avatar-frame {
        width: 66px;
        height: 66px;
    }
    .ms-slider-prev {
        right: -6px;
    }
    .ms-slider-next {
        left: -6px;
    }
    .ms-why-wrap {
        padding: 32px 18px;
    }
    .ms-why-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .ms-stat-number {
        font-size: 26px;
    }
    .ms-steps-banner {
        padding: 32px 20px;
    }
    .ms-cta-banner {
        padding: 36px 20px;
    }
    .ms-footer-contact-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .ms-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ms-footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}


/* ==========================================================================
   SHARED SITE / ARCHIVE / SINGLE / FOOTER STYLES
   ========================================================================== */

/* MS Homepage V2 — shared skin: footer, category/archive, single article */
:root{--ms-green:#0d5b4d;--ms-green-2:#1f7a68;--ms-ink:#15342e;--ms-muted:#687c76;--ms-mint:#e8f5ef;--ms-cream:#fff8ee;--ms-coral:#ed8b6b;--ms-line:#dce9e4;--ms-white:#fff;--ms-shadow:0 18px 55px rgba(19,70,58,.11);--ms-shadow-sm:0 8px 24px rgba(19,70,58,.08)}

/* ---------- shared page ground ---------- */
body.single-post,body.archive,body.category{background:#f5faf8}
body.single-post .padding_bottom_header_blog,body.archive .padding_bottom_header_blog{padding-bottom:84px!important}
body.single-post a,body.archive a{transition:color .2s,background .2s,border-color .2s,box-shadow .2s,transform .2s}
body.single-post .social-list,body.archive .social-list{display:none!important}

/* ---------- breadcrumb ---------- */
body.single-post .breadcrumb_DB,body.archive .breadcrumb_DB{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body.single-post .digibe-breadcrumb,body.archive .digibe-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;list-style:none;font-size:12px;color:var(--ms-muted)}
body.single-post .digibe-breadcrumb li,body.archive .digibe-breadcrumb li{float:none!important;display:inline-flex;align-items:center;margin:0!important;background:transparent!important;border:0!important;padding:0!important}
body.single-post .digibe-breadcrumb a,body.archive .digibe-breadcrumb a{color:var(--ms-green);font-weight:700;background:#fff;border:1px solid var(--ms-line);border-radius:99px;padding:3px 11px;display:inline-flex}
body.single-post .digibe-breadcrumb a:hover,body.archive .digibe-breadcrumb a:hover{background:var(--ms-mint)}
body.single-post .digibe-breadcrumb .item-current span{color:var(--ms-muted)}

/* ---------- sidebar widgets ---------- */
.sidebar-area{background:#fff;border:1px solid var(--ms-line);border-radius:22px;padding:18px 16px;box-shadow:var(--ms-shadow-sm)}
.sidebar-area .side-title{margin:0 0 10px;font-size:15px;font-weight:900;color:var(--ms-ink);border:0;padding:0}
.sidebar-area .side-title span{display:inline-block;border:0!important;background:none!important;padding:0 0 8px;position:relative;color:var(--ms-ink)!important}
.sidebar-area .side-title span:after{content:"";position:absolute;right:0;bottom:0;width:34px;height:3px;border-radius:3px;background:var(--ms-coral)}
.widget-posts-list{list-style:none;margin:0;padding:0}
.widget-posts-list li{border:0!important;border-bottom:1px solid #edf2f0!important;padding:0!important;margin:0!important}
.widget-posts-list li:last-child{border-bottom:0!important}
.widget-posts-list .inner-card{display:flex;align-items:center;gap:10px;padding:10px 4px;border-radius:12px}
.widget-posts-list .inner-card img{width:62px!important;height:62px!important;object-fit:cover;border-radius:13px;flex:none}
.widget-posts-list .card-title{font-size:12.5px;line-height:1.85;color:var(--ms-ink);font-weight:700}
.widget-posts-list .inner-card:hover .card-title{color:var(--ms-green)}
.heading-widget{padding:2px 0}
.heading-widget-title{font-size:15px;font-weight:900;color:var(--ms-ink);padding-bottom:10px;margin-bottom:6px;border-bottom:1px solid var(--ms-line);position:relative}
.heading-widget-title:after{content:"";position:absolute;right:0;bottom:-1px;width:34px;height:3px;border-radius:3px;background:var(--ms-coral)}
.heading-list{list-style:none;margin:0;padding:0}
.heading-item{cursor:pointer;font-size:13px;line-height:1.9;padding:9px 12px;margin:2px 0;border-radius:12px;color:#4a635c;border:0!important}
.heading-item:hover,.heading-item.active{background:var(--ms-mint);color:var(--ms-green);font-weight:800}

/* ---------- CATEGORY / ARCHIVE ---------- */
body.archive .container.triplecase{max-width:1240px}
body.archive .ishowcase{display:grid!important;grid-template-columns:1.4fr 1fr 1fr;gap:14px;height:auto!important}
body.archive .ishowcase .asset{float:none!important;width:auto!important;height:auto!important;min-height:290px;border-radius:24px;overflow:hidden;position:relative;background-size:cover;background-position:center;box-shadow:var(--ms-shadow-sm);margin:0!important}
body.archive .ishowcase .asset:first-child{min-height:290px}
body.archive .ishowcase .asset a{display:flex;flex-direction:column;justify-content:flex-end;position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,45,38,0) 35%,rgba(8,45,38,.88))}
body.archive .ishowcase .asset .content{position:relative;padding:18px;background:none!important}
body.archive .ishowcase .asset h3{color:#fff!important;font-size:15px;line-height:1.85;font-weight:800;margin:0}
body.archive .ishowcase .asset:first-child h3{font-size:19px}
body.archive .ishowcase .asset:hover{transform:translateY(-3px)}

body.archive article.root{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.archive article.root>.content_item{display:block!important;margin:0!important;padding:0!important;width:auto!important;float:none!important;background:#fff;border:1px solid var(--ms-line);border-radius:22px;overflow:hidden;box-shadow:var(--ms-shadow-sm)}
body.archive article.root>.content_item:hover{transform:translateY(-4px);box-shadow:var(--ms-shadow)}
body.archive article.root>.content_item:first-child{grid-column:1/-1;background:linear-gradient(125deg,#eef8f3,#fff9ef);padding:22px 26px!important;display:flex!important;align-items:center;gap:14px}
body.archive article.root>.content_item:first-child:hover{transform:none;box-shadow:var(--ms-shadow-sm)}
body.archive article.root>.content_item:first-child .content_item_time{display:none}
body.archive .title-category-header{background:none!important;padding:0!important;margin:0!important}
body.archive .cb-module-title{margin:0;font-size:30px;font-weight:900;color:var(--ms-ink)!important;position:relative;padding-right:16px}
body.archive .cb-module-title:before{content:"";position:absolute;right:0;top:12%;bottom:12%;width:5px;border-radius:5px;background:var(--ms-coral)}
body.archive .category-description,body.archive .archive-description{color:var(--ms-muted);font-size:13px}
body.archive .content_item_time{display:none!important}
body.archive .content_item__cart,body.archive .content_item__cart__link{display:block!important;padding:0!important;margin:0!important;border:0!important;background:none!important;width:auto!important}
body.archive article.root>.content_item:first-child .content_item__cart{flex:1}
body.archive .content_item__cart__media{width:100%!important;height:auto!important;max-height:none!important;float:none!important;margin:0!important;padding:0!important;position:static!important}
body.archive .container.triplecase,body.archive .sectionshowcase,body.archive .ishowcase{background:none!important;height:auto!important;min-height:0!important;padding-bottom:0}
body.archive .sectionshowcase{margin:0 0 24px!important}
body.archive .content_item__cart__link{height:auto!important}
body.archive .content_item__cart__media a,body.archive .content_item__cart__media__image{display:block;margin:0;border-radius:0}
body.archive .content_item__cart__media__image{aspect-ratio:16/10;line-height:0;border-radius:0!important;height:auto!important;width:100%!important;overflow:hidden;background:var(--ms-mint);position:relative}
body.archive .content_item__cart__media__image img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;border-radius:0!important;transition:transform .5s}
body.archive .content_item:hover .content_item__cart__media__image img{transform:scale(1.05)}
body.archive .content_item__cart__detail{width:100%!important;float:none!important;padding:16px 18px 18px!important}
body.archive .content_item__cart__detail__container{padding:0!important}
body.archive .content_item__cart__detail-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
body.archive .post-categories{display:flex;flex-wrap:wrap;gap:5px;list-style:none;margin:0;padding:0}
body.archive .post-categories a{display:inline-block;background:var(--ms-mint);color:var(--ms-green)!important;font-size:11px;font-weight:800;border-radius:99px;padding:2px 10px}
body.archive .content_item__cart__detail__category{margin:0}
body.archive .content_item__cart__detail__time,body.archive .content_item__cart__detail__time a{font-size:11px;color:var(--ms-muted)!important}
body.archive .content_item__cart__detail__title{margin:4px 0 8px!important;font-size:17px;line-height:1.85;font-weight:900}
body.archive .content_item__cart__detail__title a{color:var(--ms-ink)!important}
body.archive .content_item__cart__detail__title a:hover{color:var(--ms-green)!important}
body.archive .content_item__cart__detail__excerpt .desc,body.archive .content_item__cart__detail__excerpt p{font-size:13px;line-height:2;color:#5b716a;margin:0}
body.archive .content_item__cart__detail__excerpt .text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.archive .post-readmore,body.archive a.post-readmore{display:inline-block;margin-top:6px;color:var(--ms-green)!important;font-weight:800;font-size:12px;border:0!important;text-decoration:none}
body.archive .pagination{grid-column:1/-1;margin:14px 0 0;padding:0;background:none;border:0}
body.archive .pagenumbers,body.archive .nav-links{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;align-items:center}
body.archive .page-numbers{min-width:40px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border-radius:13px;background:#fff;border:1px solid var(--ms-line);color:var(--ms-ink);font-weight:800;font-size:13px}
body.archive a.page-numbers:hover{background:var(--ms-mint);border-color:#a9d1c2}
body.archive .page-numbers.current{background:var(--ms-green);border-color:var(--ms-green);color:#fff}
body.archive .page-numbers.dots{border:0;background:none}

/* ---------- SINGLE ARTICLE ---------- */
body.single-post .single-content,body.single-post .solid-home.single-content{background:#fff!important;border:1px solid var(--ms-line)!important;border-radius:26px!important;box-shadow:var(--ms-shadow-sm)!important;padding:0!important;overflow:hidden}
body.single-post .article-header{padding:24px 28px 8px;position:relative}
body.single-post .article-header h1{font-size:clamp(22px,3vw,32px);line-height:1.75;font-weight:900;color:var(--ms-ink);margin:14px 0 4px;letter-spacing:-.3px}
body.single-post .a-comment-block{position:absolute;left:24px;top:24px}
body.single-post .a-comment-count-bubble{background:var(--ms-mint)!important;color:var(--ms-green)!important;border-radius:99px!important;min-width:30px;height:30px;line-height:30px;display:inline-block;text-align:center;font-size:12px;font-weight:800}
body.single-post .article_image{margin:8px 28px 0;border-radius:20px;overflow:hidden}
body.single-post .article_image:has(img[data-src*="search-bar.gif"]),body.single-post .article_image:has(img[src*="search-bar.gif"]){display:none}
body.single-post .article_image img{width:100%;height:auto;max-height:460px;object-fit:cover;border-radius:20px}
body.single-post .article-social-item{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:14px 28px 6px}
body.single-post .article-social-item .social{display:inline-flex;align-items:center;gap:6px;border-radius:99px!important;padding:6px 14px!important;font-size:12px;font-weight:800;color:#fff!important;width:auto!important;height:auto!important;line-height:1.6!important;margin:0!important;float:none!important}
body.single-post .article-social-item .social:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.14)}
body.single-post .button_share_co{margin-inline-start:auto}
body.single-post .input-shortlink,body.single-post .invite-page{margin:0}
body.single-post #copy{border-radius:99px!important;background:var(--ms-mint)!important;color:var(--ms-green)!important;font-size:12px;font-weight:800;cursor:pointer}
body.single-post .input-sho{position:absolute!important;width:1px!important;height:1px!important;opacity:0;padding:0!important;border:0!important;overflow:hidden;pointer-events:none}
body.single-post .invite-page{position:relative}
body.single-post .maincontent{padding:8px 28px 28px}
body.single-post .sin-content,body.single-post .post-content{font-size:16.5px;line-height:2.25;color:#28413b}
body.single-post .post-content p{margin:0 0 1.15em}
body.single-post .post-content .intro{font-size:17px;background:var(--ms-cream);border:1px solid #f0e0c9;border-radius:18px;padding:16px 20px;color:#3c4f48}
body.single-post .post-content h2{font-size:24px;line-height:1.8;font-weight:900;color:var(--ms-ink);margin:1.9em 0 .6em;padding-right:16px;position:relative;scroll-margin-top:110px}
body.single-post .post-content h2:before{content:"";position:absolute;right:0;top:.28em;bottom:.28em;width:5px;border-radius:5px;background:var(--ms-coral)}
body.single-post .post-content h3{font-size:19px;line-height:1.85;font-weight:800;color:var(--ms-green);margin:1.5em 0 .5em}
body.single-post .post-content h4{font-size:17px;font-weight:800;color:var(--ms-ink)}
body.single-post .post-content a{color:var(--ms-green);text-decoration:underline;text-decoration-color:rgba(31,122,104,.35);text-underline-offset:4px}
body.single-post .post-content a:hover{color:var(--ms-coral)}
body.single-post .post-content ul,body.single-post .post-content ol{padding-inline-start:1.4em;margin:0 0 1.2em}
body.single-post .post-content li{margin-bottom:.35em}
body.single-post .post-content li::marker{color:var(--ms-coral)}
body.single-post .post-content img{max-width:100%;height:auto;border-radius:16px}
body.single-post .post-content blockquote{margin:1.4em 0;padding:16px 20px;background:var(--ms-mint);border-right:5px solid var(--ms-green);border-radius:16px;color:var(--ms-ink)}
body.single-post .post-content table{display:block;overflow-x:auto;width:100%;border-collapse:collapse;border-radius:14px;font-size:14px}
body.single-post .post-content th{background:var(--ms-green);color:#fff;padding:10px 12px}
body.single-post .post-content td{padding:10px 12px;border:1px solid var(--ms-line)}
body.single-post .yild-suggestion{background:var(--ms-mint)!important;border:1px solid #cfe6dc!important;border-right:5px solid var(--ms-green)!important;border-radius:16px!important;padding:12px 16px!important;margin:1.4em 0!important}
body.single-post .yild-suggestion p{margin:0!important;display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.9}
body.single-post .yild-suggestion img{width:64px!important;height:64px!important;object-fit:cover;border-radius:14px;flex:none}
body.single-post .yild-suggestion a{font-weight:800}
body.single-post .tagbox a{display:inline-block;background:var(--ms-mint);color:var(--ms-green);border-radius:99px;padding:3px 12px;font-size:12px;margin:3px}

body.single-post .Extra-edge{padding:0 28px 12px;background:none}
body.single-post .title_single{font-size:18px;font-weight:900;color:var(--ms-ink);margin:24px 0 14px;padding-right:14px;position:relative;border:0!important;background:none!important}
body.single-post .title_single:before{content:"";position:absolute;right:0;top:15%;bottom:15%;width:4px;border-radius:4px;background:var(--ms-coral)}
body.single-post .related-post-lists{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.single-post .related-post-lists li{margin:0;padding:0;border:0;float:none;width:auto}
body.single-post .related-post-lists a{display:block;height:100%;background:#f7faf9;border:1px solid var(--ms-line);border-radius:14px;padding:10px 14px;font-size:13px;line-height:1.9;font-weight:700;color:var(--ms-ink)}
body.single-post .related-post-lists a:hover{background:var(--ms-mint);border-color:#a9d1c2;color:var(--ms-green)}
body.single-post .comments-area{padding:0 28px 28px}
body.single-post .comment-reply-title{font-size:17px;font-weight:900}
body.single-post .comment-form input[type=text],body.single-post .comment-form input[type=email],body.single-post .comment-form input[type=url],body.single-post .comment-form textarea{width:100%;border:1px solid var(--ms-line);background:#f7faf9;border-radius:14px;padding:11px 14px;font-size:14px}
body.single-post .comment-form input:focus,body.single-post .comment-form textarea:focus{outline:0;border-color:var(--ms-green-2);box-shadow:0 0 0 3px rgba(31,122,104,.12);background:#fff}
body.single-post .comment-form .submit{background:var(--ms-green);color:#fff;border:0;border-radius:13px;padding:10px 24px;font-weight:800;cursor:pointer}
body.single-post .comment-form .submit:hover{background:var(--ms-green-2)}

/* ---------- category strip before footer ---------- */
.newsWrapper_theme{margin-top:44px;background:#fff;border:1px solid var(--ms-line);border-radius:26px;padding:26px 22px;box-shadow:var(--ms-shadow-sm)}
.newsWrapper_theme h4{font-size:20px;font-weight:900;color:var(--ms-ink);margin:0 0 16px}
.newsWrapper_theme h5{margin:0 0 8px;font-size:15px;font-weight:900;padding-bottom:8px;border-bottom:2px solid var(--ms-mint)}
.newsWrapper_theme h5 a{color:var(--ms-green)!important;display:flex;justify-content:space-between}
.newsWrapper_theme .newslist{list-style:none;margin:0;padding:0}
.newsWrapper_theme .newslist li{border:0!important;border-bottom:1px solid #edf2f0!important;padding:8px 0!important}
.newsWrapper_theme .newslist li:last-child{border-bottom:0!important}
.newsWrapper_theme .newslist a{display:flex;gap:10px;align-items:center}
.newsWrapper_theme .newslist .img img{width:54px!important;height:54px!important;object-fit:cover;border-radius:12px}
.newsWrapper_theme .newslist .title{font-size:12.5px;line-height:1.85;color:var(--ms-ink);font-weight:700}
.newsWrapper_theme .newslist a:hover .title{color:var(--ms-green)}

/* ---------- NEW FOOTER ---------- */
footer.footer{display:none!important}
.ms-footer{direction:rtl;margin-top:56px;background:linear-gradient(160deg,#0c4a3f,#103f36 55%,#0a352d);color:#cfe2dc;font-family:inherit;line-height:1.9;position:relative}
.ms-footer *{box-sizing:border-box}
.ms-footer a{color:#cfe2dc;text-decoration:none}
.ms-footer a:hover{color:#fff}
.ms-footer-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto;position:relative}
.ms-footer-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--ms-cream);color:var(--ms-ink);border-radius:24px;padding:24px 30px;transform:translateY(-34px);margin-bottom:-6px;box-shadow:0 20px 50px rgba(0,0,0,.18)}
.ms-footer-cta h3{margin:0 0 2px;font-size:20px;font-weight:900;color:var(--ms-ink)}
.ms-footer-cta p{margin:0;font-size:13px;color:var(--ms-muted)}
.ms-footer-cta a{flex:none;background:var(--ms-green);color:#fff!important;border-radius:14px;padding:11px 22px;font-weight:800;font-size:14px}
.ms-footer-cta a:hover{background:var(--ms-green-2)}
.ms-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:36px;padding:22px 0 34px}
.ms-footer h4{margin:0 0 14px;color:#fff;font-size:15px;font-weight:900;position:relative;padding-bottom:9px}
.ms-footer h4:after{content:"";position:absolute;right:0;bottom:0;width:30px;height:3px;border-radius:3px;background:var(--ms-coral)}
.ms-footer-brand img{max-width:170px;height:auto;background:#fff;border-radius:14px;padding:8px 12px;margin-bottom:14px;display:block}
.ms-footer-brand p{font-size:13px;margin:0 0 14px;color:#b5cdc5}
.ms-footer ul{list-style:none;margin:0;padding:0}
.ms-footer li{margin:0 0 7px}
.ms-footer-links a{font-size:13px;display:inline-flex;align-items:center;gap:7px}
.ms-footer-links a:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--ms-coral);flex:none}
.ms-footer-recent a{display:flex;gap:10px;align-items:center;font-size:12.5px;line-height:1.8}
.ms-footer-recent img{width:52px;height:52px;object-fit:cover;border-radius:12px;flex:none;background:rgba(255,255,255,.1)}
.ms-footer-note{border-top:1px solid rgba(255,255,255,.12);padding:18px 0 22px;display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;align-items:center;font-size:12px;color:#9fbdb3}
.ms-footer-note p{margin:0;max-width:720px}
.ms-footer-top{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:99px;padding:6px 16px;font-weight:800;color:#fff!important;cursor:pointer}
.ms-footer-top:hover{background:rgba(255,255,255,.2)}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1100px){
  .ms-footer-grid{grid-template-columns:1fr 1fr;gap:30px}
  body.archive .ishowcase{grid-template-columns:1fr 1fr}
  body.archive .ishowcase .asset:first-child{grid-column:1/-1}
}
@media(max-width:991px){
  body.single-post .sidebar,body.archive .sidebar{display:none}
  body.single-post .article-header,body.single-post .maincontent,body.single-post .article-social-item,body.single-post .Extra-edge,body.single-post .comments-area{padding-inline:22px}
  body.single-post .article_image{margin-inline:22px}
}
@media(max-width:640px){
  body.archive article.root{grid-template-columns:1fr;gap:14px}
  body.archive article.root>.content_item:first-child{padding:16px 18px!important}
  body.archive .cb-module-title{font-size:23px}
  body.archive .ishowcase{grid-template-columns:1fr}
  body.archive .ishowcase .asset,body.archive .ishowcase .asset:first-child{min-height:210px}
  body.archive .ishowcase .asset:first-child h3{font-size:16px}
  body.single-post .article-header,body.single-post .maincontent,body.single-post .article-social-item,body.single-post .Extra-edge,body.single-post .comments-area{padding-inline:16px}
  body.single-post .article_image{margin-inline:16px}
  body.single-post .article-header{padding-top:18px}
  body.single-post .a-comment-block{left:16px;top:18px}
  body.single-post .sin-content,body.single-post .post-content{font-size:15.5px;line-height:2.15}
  body.single-post .post-content h2{font-size:20px}
  body.single-post .post-content h3{font-size:17px}
  body.single-post .related-post-lists{grid-template-columns:1fr}
  body.single-post .button_share_co{margin-inline-start:0;width:100%}
  body.single-post .article-social-item .social span{display:none}
  body.single-post .article-social-item .social{padding:8px 12px!important}
  .newsWrapper_theme{padding:20px 16px}
  .ms-footer{margin-top:44px}
  .ms-footer-wrap{width:calc(100% - 32px)}
  .ms-footer-cta{flex-direction:column;align-items:stretch;text-align:center;padding:22px 20px;transform:translateY(-28px)}
  .ms-footer-grid{grid-template-columns:1fr;gap:26px}
  .ms-footer-note{flex-direction:column;align-items:flex-start}
}

/* ---------- v1.2: wider article column, collapsible TOC, aligned category hero ---------- */
@media(min-width:992px){
  body.single-post #asd.container.middle{max-width:1440px;width:100%}
  body.single-post #asd>.row>.sidebar{flex:0 0 19%;max-width:19%}
  body.single-post #asd>.row>[class*="col-xl-6"],body.single-post #asd>.row>[class*="col-lg-8"]{flex:0 0 62%;max-width:62%}
}
@media(min-width:992px) and (max-width:1199px){
  body.single-post #asd>.row>.sidebar:last-child{display:none}
  body.single-post #asd>.row>.sidebar{flex:0 0 26%;max-width:26%}
  body.single-post #asd>.row>[class*="col-xl-6"],body.single-post #asd>.row>[class*="col-lg-8"]{flex:0 0 74%;max-width:74%}
}
body.archive .container.main-content>.row>.container.triplecase,body.archive .container.triplecase{max-width:none;width:100%;padding-inline:15px}
body.archive .container.main-content{max-width:1400px}
body.archive article.root>.content_item:first-child .content_item__cart__link,body.archive article.root>.content_item:first-child .content_item__cart{box-shadow:none!important;background:none!important;border:0!important}
.heading-item{line-height:1.9}
.heading-list:not(.is-open) .ms-toc-extra{display:none}
.ms-toc-toggle{list-style:none;margin:6px 0 0;padding:0}
.ms-toc-toggle button{width:100%;border:1px dashed #a9d1c2;background:var(--ms-mint);color:var(--ms-green);border-radius:12px;padding:8px 12px;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer}
.ms-toc-toggle button:hover{background:#d9efe6}

/* v1.2.2: theme social row has empty links and overflows on mobile; footer replaces it */
.social-list{display:none!important}
html,body{overflow-x:clip}

/* v1.2.3: doctor profile service tags — pill radius breaks on multi-line text */
.dm-service-tag{border-radius:12px!important;line-height:1.9!important;padding:6px 14px!important;max-width:100%;white-space:normal}

