/* ===================================
   Homepage Styles - RSOP Group
   =================================== */

/* Reset untuk homepage */
body.home,
body.page-template-front-page {
    background-color: white;
    margin: 0;
    padding: 0;
}

/* Remove default footer margin-top on homepage */
body.home .site-footer,
body.page-template-front-page .site-footer {
    margin-top: 0 !important;
}

/* Remove gap top and bottom hero */
body.home main,
body.page-template-front-page main {
    margin: 0;
    padding: 0;
}

.homepage {
    margin: 0;
    padding: 0;
    background: white;
}

/* ===================================
   SECTION 1: HERO SLIDER
   =================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: block;
}

.hero-slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    align-items: center;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.hero-slide.active {
    display: flex;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    align-items: center;
}

.hero-slide.active {
    display: flex;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184, 134, 31, 0.85) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 50px 0 80px;
    animation: heroFadeIn 0.8s ease;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c29020 100%);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(208, 157, 40, 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(208, 157, 40, 0.5);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
}

/* Slider Controls */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.hero-slider-prev {
    left: 25px;
}

.hero-slider-next {
    right: 25px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

/* Hero Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===================================
   SECTION 2: CARI DOKTER
   =================================== */

.search-doctor-section {
    background: var(--bg-light);
    padding: 50px 0;
    position: relative;
    z-index: 10;
}

.search-doctor-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(208, 157, 40, 0.15);
}

.search-doctor-wrapper .section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-doctor-wrapper .section-heading i {
    color: var(--primary-color);
}

.search-doctor-wrapper .section-subheading {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.homepage-doctor-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.homepage-filter-item {
    position: relative;
}

.homepage-filter-item label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 1;
    font-size: 1rem;
    pointer-events: none;
}

.hp-doctor-search-input,
.hp-specialization-select,
.hp-hospital-select {
    width: 100%;
    padding: 14px 16px 14px 45px;
    font-size: 1rem;
    border: 2px solid rgba(208, 157, 40, 0.2);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
    appearance: none;
}

.hp-doctor-search-input:focus,
.hp-specialization-select:focus,
.hp-hospital-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(208, 157, 40, 0.1);
}

.hp-search-btn {
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), #c29020);
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    height: 52px;
}

.hp-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 157, 40, 0.4);
    color: white;
}

/* ===================================
   SECTION HEADER COMMON
   =================================== */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(208, 157, 40, 0.1);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(208, 157, 40, 0.2);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   SECTION 3: LAYANAN UNGGULAN - Facebook Stories Style
   =================================== */

.services-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.services-stories-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 0 30px;
}

.services-track-wrapper {
    flex: 1;
    overflow: hidden; /* Contain the scrollable track, enabling swipe */
    min-width: 0;
}

.services-stories-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 60px;
    cursor: grab;
}

.services-stories-track:active {
    cursor: grabbing;
}

.services-stories-track img {
    pointer-events: none;
    -webkit-user-drag: none;
}

.services-stories-track::-webkit-scrollbar {
    display: none;
}

/* Story Card - Facebook Style */
.service-story-item {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 210px;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.service-story-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(208, 157, 40, 0.25);
}

/* Background Image */
.service-story-circle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.service-story-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-story-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(208, 157, 40, 0.3) 0%, rgba(208, 157, 40, 0.8) 100%);
    font-size: 3.5rem;
    color: white;
}

/* Gradient Overlay */
.service-story-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
}

/* Bottom Content */
.service-story-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-story-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.service-story-btn {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-story-item:hover .service-story-btn {
    background: var(--primary-color);
    color: white;
}

/* Top Icon Badge */
.service-story-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #f4d47e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    z-index: 2;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Services Header */
.services-header {
    margin-bottom: 30px;
}

.services-header-left .section-tag {
    display: block;
    text-align: left;
    margin-bottom: 10px;
}

.services-header-left .section-title {
    text-align: left;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.services-header-left .section-subtitle {
    text-align: left;
    margin: 0;
    font-size: 0.95rem;
}

/* Nav Card - sejajar dengan card layanan */
.service-story-nav-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    width: 360px;
    height: 340px;
    border-radius: 16px;
    padding: 25px 20px;
    background: white;
    border: 2px solid rgba(208, 157, 40, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    gap: 15px;
}

.service-nav-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-nav-top .section-tag {
    background: rgba(208, 157, 40, 0.1);
    color: var(--primary-color);
    border-color: rgba(208, 157, 40, 0.2);
    font-size: 0.75rem;
    padding: 4px 12px;
    margin: 0;
}

.service-nav-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.service-nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-nav-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.service-nav-buttons {
    display: flex;
    gap: 10px;
}

/* Scroll Buttons */
.services-scroll-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(208, 157, 40, 0.3);
    background: white;
    color: var(--primary-color);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.services-scroll-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Stories Wrapper */
.services-stories-wrapper {
    position: relative;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

/* Nav Card - Fixed di kiri, tidak ikut scroll */
.service-story-nav-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    width: 360px;
    height: 340px;
    border-radius: 16px;
    padding: 25px 20px;
    background: white;
    border: 2px solid rgba(208, 157, 40, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    gap: 15px;
    margin-left: 20px;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .services-stories-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        width: 100%;
    }

    .services-track-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .service-story-nav-card {
        width: calc(100% - 30px);
        height: auto;
        margin: 0 15px;
        flex-direction: row;
        align-items: center;
        padding: 15px;
        gap: 15px;
    }

    .service-nav-top {
        flex: 1;
        gap: 5px;
    }

    .service-nav-top .section-tag {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .service-nav-title {
        font-size: 1.1rem;
    }

    .service-nav-bottom {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .service-nav-desc {
        display: none;
    }

    .services-scroll-btn {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .services-stories-track {
        padding: 10px 15px;
        gap: 12px;
        width: 100%; /* Ensure track respects screen boundaries */
    }

    .service-story-item {
        width: 140px;
        height: 240px;
    }

    .service-story-title {
        font-size: 0.8rem;
    }

    .service-story-btn {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .service-story-nav-card {
        width: calc(100% - 20px);
        margin: 0 10px;
        padding: 12px;
    }

    .service-nav-title {
        font-size: 1rem;
    }

    .services-stories-track {
        padding: 10px;
        gap: 10px;
    }

    .service-story-item {
        width: 120px;
        height: 210px;
    }
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.no-services {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* About Section Header */
.about-section-header {
    background: white;
    padding: 30px 0 0;
    text-align: center;
}

.about-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #f4d47e);
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-slider {
    position: relative;
}

.about-slide {
    display: none;
    padding: 50px 0;
    animation: aboutFadeIn 0.6s ease;
}

.about-slide.active {
    display: block;
}

@keyframes aboutFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slider Controls */
.about-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0 40px;
    background: white;
}

.about-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(208, 157, 40, 0.3);
    background: white;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-slider-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(208, 157, 40, 0.3);
}

.about-slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.about-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(208, 157, 40, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.about-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-slide {
        padding: 30px 0 20px;
    }

    .about-slider-controls {
        padding: 15px 0 30px;
        gap: 15px;
    }

    .about-slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, rgba(208, 157, 40, 0.1), rgba(208, 157, 40, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--primary-color);
    border: 2px dashed rgba(208, 157, 40, 0.3);
}

.about-content .section-tag {
    display: block;
    text-align: left;
    margin-bottom: 15px;
}

.about-content .section-title {
    font-size: 1.25rem;
    text-align: left;
    margin-bottom: 20px;
}

/* About tagline */
.about-tagline {
    font-size: 1rem;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 15px;
}

/* About Contact Info */
.about-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.about-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.about-contact-item i {
    color: var(--primary-color);
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-contact-item a:hover {
    color: var(--primary-color);
}

/* About Extra Content */
.about-extra-content {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-features {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #c29020);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.about-feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .homepage-doctor-filters {
        grid-template-columns: 1fr 1fr;
    }

    .hp-search-btn {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-content {
        padding: 40px 0 80px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        text-align: center;
        justify-content: center;
    }

    .hero-slider-prev,
    .hero-slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-slider-prev {
        left: 10px;
    }

    .hero-slider-next {
        right: 10px;
    }

    .hero-stats {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-slider-dots {
        bottom: 75px;
    }

    .search-doctor-wrapper {
        padding: 25px 20px;
        border-radius: 16px;
        margin: 0 10px;
    }

    .homepage-doctor-filters {
        grid-template-columns: 1fr;
    }

    .hp-search-btn {
        grid-column: span 1;
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .homepage-services-grid {
        grid-template-columns: 1fr;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-placeholder {
        height: 250px;
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-content {
        padding: 40px 0 100px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px 0;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat {
        flex: 1;
        min-width: 80px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .search-doctor-section {
        padding: 30px 0;
    }

    .search-doctor-wrapper {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .search-doctor-wrapper .section-heading {
        font-size: 1.2rem;
    }

    .services-section,
    .about-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .homepage-service-card {
        border-radius: 12px;
    }

    .service-card-body {
        padding: 20px;
    }

    .about-wrapper {
        gap: 30px;
    }

    .about-feature {
        gap: 15px;
    }

    .about-feature-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .about-feature-text h4 {
        font-size: 0.95rem;
    }

    .about-feature-text p {
        font-size: 0.85rem;
    }
}

/* ===================================
   SECTION 5: FASILITAS - List+Detail Layout
   =================================== */

.facility-section {
    padding: 50px 0;
    background: white;
}

.facility-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
}

.facility-header-left .section-tag {
    display: block;
    text-align: left;
    margin-bottom: 10px;
}

.facility-header-left .section-title {
    text-align: left;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.facility-header-left .section-subtitle {
    text-align: left;
    margin: 0;
    font-size: 0.95rem;
}

.facility-header-right {
    flex-shrink: 0;
}

/* Layout List + Detail */
.facility-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    min-height: 480px;
}

/* List Kiri */
.facility-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    max-height: 520px;
    padding-right: 5px;
}

.facility-list::-webkit-scrollbar {
    width: 4px;
}

.facility-list::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 2px;
}

.facility-list::-webkit-scrollbar-thumb {
    background: rgba(208, 157, 40, 0.3);
    border-radius: 2px;
}

.facility-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid transparent;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.facility-list-item:hover {
    background: rgba(208, 157, 40, 0.06);
    border-color: rgba(208, 157, 40, 0.2);
    transform: translateX(4px);
}

.facility-list-item.active {
    background: rgba(208, 157, 40, 0.08);
    border-color: var(--primary-color);
}

.facility-list-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(208, 157, 40, 0.1), rgba(208, 157, 40, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.facility-list-item.active .facility-list-icon,
.facility-list-item:hover .facility-list-icon {
    background: linear-gradient(135deg, var(--primary-color), #c29020);
    color: white;
    box-shadow: 0 4px 12px rgba(208, 157, 40, 0.3);
}

.facility-list-info {
    flex: 1;
    min-width: 0;
}

.facility-list-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.facility-list-item.active .facility-list-title,
.facility-list-item:hover .facility-list-title {
    color: var(--primary-color);
}

.facility-list-excerpt {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.facility-list-arrow {
    color: var(--text-light);
    font-size: 0.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.facility-list-item.active .facility-list-arrow,
.facility-list-item:hover .facility-list-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Detail Kanan */
.facility-detail {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(208, 157, 40, 0.1);
}

.facility-detail-panel {
    display: none;
    flex-direction: row;
    height: 100%;
    animation: facilityFadeIn 0.4s ease;
}

.facility-detail-panel.active {
    display: flex;
}

@keyframes facilityFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.facility-detail-image {
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
    align-self: flex-start;
}

.facility-detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.facility-detail-panel:hover .facility-detail-image img {
    transform: scale(1.03);
}

.facility-detail-no-image {
    width: 45%;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(208, 157, 40, 0.1), rgba(208, 157, 40, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-color);
}

.facility-detail-content {
    padding: 30px 35px 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
}

.facility-detail-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px;
    letter-spacing: -0.3px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.facility-detail-panel.active .facility-detail-title {
    color: var(--primary-color);
}

.facility-detail-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    flex: 1;
}

.facility-detail-text p {
    margin-bottom: 12px;
}

.facility-detail-content .btn {
    align-self: flex-start;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .facility-layout {
        grid-template-columns: 260px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .facility-section {
        padding: 50px 0;
    }

    .facility-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .facility-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }

    .facility-list {
        max-height: 220px;
        flex-direction: column;
        gap: 6px;
    }

    .facility-detail-image {
        height: 200px;
    }

    .facility-detail-content {
        padding: 20px 25px 25px;
    }

    .facility-detail-title {
        font-size: 1.25rem;
    }

    /* Stack gambar di atas konten di mobile */
    .facility-detail-panel {
        flex-direction: column;
    }

    .facility-detail-image {
        width: 100%;
        height: 200px;
    }

    .facility-detail-no-image {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .facility-list-item {
        padding: 12px 14px;
    }

    .facility-list-icon {
        width: 38px;
        height: 38px;
    }

    .facility-detail-content {
        padding: 15px 20px 20px;
    }
}

/* ===================================
   SECTION 6: BERITA & EVENT
   =================================== */

.news-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.news-header {
    margin-bottom: 30px;
}

.news-header .section-tag {
    display: block;
    text-align: left;
    margin-bottom: 10px;
}

.news-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

/* Slider Wrapper */
.news-slider-wrapper {
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding: 10px 40px;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Nav Card */
.news-nav-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    width: 260px;
    min-height: 340px;
    border-radius: 20px;
    padding: 30px 24px;
    background: linear-gradient(145deg, var(--primary-color, #d09d28), #b8831f);
    border: none;
    box-shadow: 0 8px 32px rgba(208, 157, 40, 0.35);
    margin-right: 24px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.news-nav-card::before {
    content: '\f519'; /* fa-instagram */
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
    position: absolute;
    bottom: -20px;
    right: -15px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    pointer-events: none;
}

.news-nav-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-nav-top .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    padding: 4px 12px;
    margin: 0;
    display: inline-block;
    border-radius: 20px;
}

.news-nav-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.news-nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-nav-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

/* Toggle Buttons */
.news-toggle {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.news-toggle-btn i {
    font-size: 0.9rem;
}

.news-toggle-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.news-toggle-btn.active {
    background: rgba(255, 255, 255, 0.95);
    border-color: #fff;
    color: var(--primary-color, #d09d28);
}

/* Scroll Buttons */
.news-scroll-buttons {
    display: flex;
    gap: 8px;
}

.news-scroll-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.news-scroll-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

/* Feed Wrapper */
.news-feed-wrapper {
    flex: 1;
    overflow: hidden;
}

.news-feed {
    display: none;
    animation: newsFadeIn 0.4s ease;
}

.news-feed.active {
    display: block;
}

@keyframes newsFadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* News Track */
.news-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 5px;
    cursor: grab;
}

.news-track::-webkit-scrollbar {
    display: none;
}

/* News Item Card */
.news-item {
    flex-shrink: 0;
    width: 210px;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(208, 157, 40, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(208, 157, 40, 0.2);
    border-color: var(--primary-color);
}

.news-item-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-item-image img {
    transform: scale(1.08);
}

/* Badge video play */
.news-item-video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    pointer-events: none;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.news-item:hover .news-item-video-badge {
    background: rgba(208, 157, 40, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.news-item-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(240, 148, 51, 0.1), rgba(188, 24, 136, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.news-item-placeholder i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-item-content {
    padding: 12px 15px;
    background: white;
    border-top: 1px solid rgba(208, 157, 40, 0.08);
    flex-shrink: 0;
}

.news-item-caption {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-date {
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Placeholder jika tidak ada token */
.news-item-placeholder-full {
    flex-shrink: 0;
    width: 210px;
    height: 340px;
    border-radius: 16px;
    background: white;
    border: 2px dashed rgba(208, 157, 40, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 20px;
}

.news-item-placeholder-full i {
    font-size: 3rem;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-item-placeholder-full p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.news-item-placeholder-full .btn {
    font-size: 0.8rem;
    padding: 8px 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }

    /* Stack vertikal di mobile */
    .news-slider-wrapper {
        flex-direction: column;
        padding: 10px 15px;
        gap: 15px;
        max-width: 100%;
    }

    /* Nav card full width horizontal */
    .news-nav-card {
        width: 100%;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-right: 0;
        padding: 16px 18px;
        gap: 12px;
        border-radius: 16px;
    }

    .news-nav-top {
        flex: 1;
        gap: 5px;
    }

    .news-nav-top .section-tag {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .news-nav-title {
        font-size: 1rem;
    }

    .news-nav-bottom {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .news-nav-desc {
        display: none;
    }

    /* Toggle buttons */
    .news-toggle {
        flex-direction: row;
        gap: 6px;
    }

    .news-toggle-btn {
        width: auto;
        padding: 6px 10px;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    /* Scroll buttons */
    .news-scroll-buttons {
        gap: 6px;
    }

    .news-scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    /* Feed wrapper full width */
    .news-feed-wrapper {
        width: 100%;
        overflow: hidden;
    }

    /* Track scroll horizontal */
    .news-track {
        padding: 5px 5px 10px;
        gap: 12px;
    }

    /* News items di mobile */
    .news-item {
        width: 180px;
        height: 300px;
        border-radius: 12px;
    }

    .news-item-content {
        padding: 10px 12px;
    }

    .news-item-caption {
        font-size: 0.75rem;
    }

    .news-item-date {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .news-nav-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-nav-bottom {
        width: 100%;
        justify-content: space-between;
    }

    .news-item {
        width: 155px;
        height: 265px;
    }
}

/* =============================================
   SECTION 7: ARTIKEL KESEHATAN
   ============================================= */

.health-articles-section {
    padding: 60px 0;
    background: #ffffff;
}

.health-articles-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Nav Card */
.health-articles-nav-card {
    flex-shrink: 0;
    width: 260px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, var(--primary-color, #d09d28), #b8831f);
    border-radius: 20px;
    padding: 30px 24px;
    margin-right: 24px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(208, 157, 40, 0.35);
    position: relative;
    overflow: hidden;
}

.health-articles-nav-card::before {
    content: '\f518';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -20px;
    right: -15px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    pointer-events: none;
}

.health-articles-nav-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.health-articles-nav-top .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.72rem;
    padding: 4px 12px;
    margin: 0;
    display: inline-block;
    border-radius: 20px;
}

.health-articles-nav-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.health-articles-nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.health-articles-nav-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

.health-articles-scroll-buttons {
    display: flex;
    gap: 8px;
}

.health-articles-scroll-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.health-articles-scroll-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.health-articles-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    width: fit-content;
}

.health-articles-view-all:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateX(3px);
}

/* Track Wrapper */
.health-articles-track-wrapper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.health-articles-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 5px 20px;
    cursor: grab;
}

.health-articles-track:active {
    cursor: grabbing;
}

.health-articles-track::-webkit-scrollbar {
    display: none;
}

/* Article Card */
.health-article-card {
    flex-shrink: 0;
    width: 260px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    -webkit-user-drag: none;
    user-select: none;
}

.health-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(208, 157, 40, 0.2);
}

.health-article-thumb {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.health-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    pointer-events: none;
    -webkit-user-drag: none;
}

.health-article-card:hover .health-article-thumb img {
    transform: scale(1.06);
}

.health-article-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f4ea, #ede8d8);
}

.health-article-thumb-placeholder i {
    font-size: 3rem;
    color: var(--primary-color, #d09d28);
    opacity: 0.5;
}

.health-article-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color, #d09d28);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.health-article-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.health-article-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark, #1a202c);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.health-article-excerpt {
    font-size: 0.8rem;
    color: var(--text-light, #718096);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.health-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.health-article-date {
    font-size: 0.75rem;
    color: var(--text-light, #718096);
    display: flex;
    align-items: center;
    gap: 5px;
}

.health-article-date i {
    color: var(--primary-color, #d09d28);
    font-size: 0.7rem;
}

.health-article-read-more {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color, #d09d28);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.health-article-card:hover .health-article-read-more {
    gap: 7px;
}

.health-articles-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light, #718096);
}

.health-articles-empty i {
    font-size: 3.5rem;
    color: var(--primary-color, #d09d28);
    opacity: 0.4;
    margin-bottom: 15px;
    display: block;
}

@media (max-width: 768px) {
    .health-articles-section {
        padding: 40px 0;
    }

    .health-articles-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0 15px;
        gap: 16px;
    }

    .health-articles-nav-card {
        width: 100%;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 16px 18px;
        margin-right: 0;
        border-radius: 16px;
    }

    .health-articles-nav-top {
        flex: 1;
        gap: 4px;
    }

    .health-articles-nav-title {
        font-size: 1.1rem;
    }

    .health-articles-nav-desc {
        display: none;
    }

    .health-articles-nav-bottom {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .health-articles-track-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .health-articles-track {
        gap: 14px;
        padding: 5px 5px 15px;
    }

    .health-article-card {
        width: 200px;
    }

    .health-article-thumb {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .health-article-card {
        width: 175px;
    }

    .health-article-thumb {
        height: 115px;
    }

    .health-article-title {
        font-size: 0.85rem;
    }
}
    }

    .health-articles-nav-bottom {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .health-articles-track-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .health-articles-track {
        gap: 14px;
        padding: 5px 5px 15px;
    }

    .health-article-card {
        width: 200px;
    }

    .health-article-thumb {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .health-article-card {
        width: 175px;
    }

    .health-article-thumb {
        height: 115px;
    }

    .health-article-title {
        font-size: 0.85rem;
    }
}
