/* Background */
.hero-about {
    position: relative;
    height: 260px;
    background: url("/assets/images/soldier.png") center/cover no-repeat;
    overflow: hidden;
}

    .hero-about::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.75);
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    color: var(--purple-text);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--green-color);
    text-decoration: underline;
}

.breadcrumb .sep {
    margin: 0 6px;
    color: inherit;
}

.breadcrumb .current {
    color: var(--black-text);
}

.hero-title {
    font-size: 48px;
    font-family: var(--secondary-font-family);
    font-weight: 600;
    color: var(--purple-text);
}

.hero-about::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 180px;
    height: 180px;
    background: rgba(0, 123, 255, 0.15);
    border-radius: 50%;
    transform: translate(50%, 50%);
}

@media (max-width: 768px) {
    .hero-about {
        height: 200px;
    }

    .hero-title {
        font-size: 28px;
    }

    .breadcrumb {
        font-size: 14px;
    }
}
/* End Background */

/* Quote */
.quote-section {
    position: relative;
    background: url("/assets/images/quote.jpg") center/cover no-repeat;
    padding: 100px 0;
    color: #fff;
}

    .quote-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(120, 140, 120, 0.6);
    }

.quoteSwiper {
    position: relative;
    z-index: 2;
}

.quote-section .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-content {
    max-width: 800px;
    text-align: center;
}

.quote-icon {
    font-size: 60px;
    color: #cfe1ff;
}

.quote-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    color: var(--white-color);
    line-height: 1.4;
    margin: 20px 0;
}

.quote-line {
    width: 220px;
    height: 1px;
    background: var(--active-color);
    margin: 0 auto 20px;
}

.quote-author {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.4;
    color: var(--white-color);
}

.swiper-pagination {
    margin-top: 40px;
    position: relative;
}

.swiper-pagination-bullet {
    width: 18px;
    height: 18px;
    background: var(--white-color);
    opacity: 1;
    margin: 0 6px !important;
    border-radius: 50%;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--active-color);
}

@media (max-width: 768px) {
    .quote-text {
        font-size: 16px;
    }
}
/* End Quote */

/* Doctors */
.expertSwiper > div:first-child {
    align-items: stretch;
}

.expert-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

    .expert-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 9/10;
        object-fit: cover;
        object-position: top;
    }

    .expert-card .info {
        background: var(--active-color);
        padding: 15px;
    }

        .expert-card .info p {
            margin: 0;
            font-family: var(--font-family);
            font-weight: 400;
            font-size: 18px;
            line-height: 1.4;
            color: var(--purple-text);
        }

        .expert-card .info span {
            font-family: var(--font-family);
            font-weight: 700;
            font-size: 18px;
            letter-spacing: 16%;
            color: var(--purple-text);
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            display: -webkit-box;
        }

    .expert-card button {
        width: 100%;
        padding: 12px;
        border: none;
        background: var(--green-color);
        color: var(--white-color);
        font-weight: 400;
        font-family: var(--font-family);
        font-size: 16px;
        line-height: 1.4;
    }

.swiper-button-next.next,
.swiper-button-prev.prev {
    color: var(--active-color);
    top: 50%;
    margin: 0;
}

.swiper-button-prev.prev {
    left: -60px;
}

.swiper-button-next.next {
    right: -60px;
}

.swiper-pagination {
    margin-top: 40px;
    position: relative;
}

.swiper-pagination-bullet {
    width: 18px;
    height: 18px;
    background: var(--active-color);
    opacity: 1;
    margin: 0 6px !important;
    border-radius: 50%;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--green-color);
}

@media (max-width: 576px) {
    .swiper-button-next.next,
    .swiper-button-prev.prev {
        display: none;
    }
}
/* End Doctors */

/* News section grid (Tin nổi bật + Thông báo) */
.news-grid { align-items: stretch; }

.news-panel {
    background: #fff;
    border-radius: 4px;
    padding: 0;
    display: block;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.04);
}

.news-panel__header {
    padding: 10px 14px;
}

.news-panel__title {
    color: var(--black-text);
    font-weight: 700;
    font-size: 16px;
    margin: 0;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-panel__title::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 18px;
    background: var(--green-color);
    border-radius: 2px;
}

.news-panel__more {
    color: var(--purple-text);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.news-panel__more:hover {
    color: var(--purple-text);
    text-decoration: underline;
}

.news-panel--featured { padding: 14px; padding-top: 0; }
.news-panel--announcements { padding: 0 14px 14px; }
    .news-panel--featured .news-panel__header,
    .news-panel--announcements .news-panel__header {
        margin: 0 0px 8px;
        padding: 12px 4px 8px 4px;
    }

.news-featured-top { color: inherit; text-decoration: none; display: block; }
.news-featured-top__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #f1f3f7;
}
.news-featured-top__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.news-featured-top:hover .news-featured-top__image img { transform: scale(1.03); }
.news-featured-top__body { padding-top: 12px; }
.news-featured-top__title {
    font-size: 16px; font-weight: 600; color: #0e1c3d;
    line-height: 1.4; margin: 0 0 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-featured-top__meta { font-size: 12px; color: #6b7280; }

.news-featured-mini { display: block; color: inherit; text-decoration: none; }
.news-featured-mini__image {
    width: 100%; aspect-ratio: 4 / 3; max-height: 180px;
    overflow: hidden; border-radius: 4px; background: #f1f3f7;
}
.news-featured-mini__image img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-mini__body { padding-top: 8px; }
.news-featured-mini__title {
    font-size: 13px; font-weight: 600; color: #0e1c3d;
    line-height: 1.35; margin: 0 0 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-featured-mini__meta { font-size: 11px; color: #6b7280; }

.featuredOlderSwiper {
    position: relative;
    width: 100%; min-width: 0; overflow: hidden;
    padding-bottom: 24px;
}

.featuredOlder-nav {
    position: absolute;
    top: 90px;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #0e1c3d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, color 0.2s ease;
}

.featuredOlder-nav:hover {
    background: var(--green-color);
    color: #fff;
}

.featuredOlder-nav--prev { left: 6px; }
.featuredOlder-nav--next { right: 6px; }
.featuredOlder-nav.swiper-button-disabled { opacity: 0.4; cursor: default; }
.featuredOlderSwiper .swiper-slide {
    width: 100% !important;
    height: auto;
    box-sizing: border-box;
}
.featuredOlderSwiper .swiper-pagination { bottom: 0; }

.announcement-list {
    list-style: none; padding: 0; margin: 0;
    max-height: 520px; overflow-y: auto;
}
.announcement-item__link {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 4px; color: inherit; text-decoration: none;
}
.announcement-item__bullet {
    flex: 0 0 6px; width: 6px; height: 6px;
    border-radius: 50%; background: #c0211a;
    margin-top: 7px;
}
.announcement-item__body { flex: 1; min-width: 0; }
.announcement-item__title {
    display: block; font-size: 13px; font-weight: 500;
    color: #0e1c3d; line-height: 1.4;
}
.announcement-item__link:hover .announcement-item__title { color: #c0211a; }
.announcement-item__date {
    display: block; font-size: 11px; color: #6b7280; margin-top: 2px;
}

.news-empty {
    padding: 20px; text-align: center; color: #9ca3af; font-size: 13px;
}

/* News */
.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #2d3a6b;
    margin-bottom: 40px;
}

.news-card {
    background: var(--white-color);
    padding: 12px;
    gap: 16px;
    align-items: center;
    transition: 0.3s;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

    .news-card > img {
        width: 160px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: center;
    }

    .news-card .content {
        padding: 16px 16px 16px 0;
    }

    .news-card h5 {
        color: var(--black-text);
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 16px;
        line-height: 1.4;
    }

.swiper-slide .row {
    min-height: 100%;
}

.meta {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: var(--blue-text);
}

.stats {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: var(--black-text);
    gap: 12px;
}
/* End News */

/* Contact */
.contact-title {
    font-weight: 600;
    color: #2d3a6e;
}

.contact-card {
    background: var(--active-color);
    border-radius: 5px;
    padding: 30px 16px;
    height: 100%;
    min-height: 194px;
    transition: 0.3s;
}

    .contact-card:hover {
        background: var(--green-color);
        color: var(--white-color);
    }

    .contact-card.active {
        background: var(--green-color);
    }

    .contact-card .icon {
        margin-bottom: 15px;
    }

        .contact-card .icon img {
            width: auto;
            height: 40px;
        }

    .contact-card h5 {
        font-weight: 700;
        font-family: var(--font-family);
        font-size: 18px;
        color: var(--purple-text);
        margin-bottom: 12px;
    }

    .contact-card.active h5,
    .contact-card.active pre,
    .contact-card:hover h5,
    .contact-card:hover pre {
        color: var(--white-color);
    }

    .contact-card pre {
        overflow: unset;
        margin: 0;
        font-family: var(--font-family);
        word-break: break-word;
        white-space: break-spaces;
        font-weight: 400;
        font-size: 16px;
        color: var(--purple-text);
        line-height: 1.4;
    }

@media (max-width: 767px) {
    .news-card > img {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-card {
        background: var(--green-color);
    }

        .contact-card h5,
        .contact-card pre {
            color: var(--white-color);
        }
}
/* End Contact */
