/*
 * Theme Name:   CDHH EDU
 * Theme URI:    https://cdhhedu.edu.vn
 * Author:       CDHH EDU Team
 * Author URI:   https://cdhhedu.edu.vn
 * Description:  Theme WordPress cho Cao Đẳng Y Tế & Giáo Dục - Xây dựng bằng Tailwind CSS và WordPress Customizer API.
 * Version:      1.0.0
 * Requires at least: 6.0
 * Tested up to: 6.7
 * Requires PHP: 8.0
 * License:      GNU General Public License v2 or later
 * License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:  cdhh-edu
 * Tags:         education, blog, custom-colors, custom-logo, custom-menu, featured-images, full-width-template
 */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Variables) - Controlled by WordPress Customizer
   ========================================================================== */
:root {
    /* === Màu chủ đạo (Primary) — Navy xanh hải quân từ mic1.edu.vn === */
    --primary-color:        #1c305c;   /* Navy chính — header, footer, gradient */
    --primary-dark:         #14294d;   /* Navy đậm — footer nền, hover đậm */
    --primary-light:        #2c3c65;   /* Navy nhạt — gradient nhẹ */

    /* === Màu phụ (Secondary) — Đỏ đô từ mic1.edu.vn === */
    --secondary-color:      #961615;   /* Đỏ chính — border, hover menu, điểm nhấn */
    --secondary-dark:       #751110;   /* Đỏ đậm — hover button đỏ */
    --secondary-light:      #ac1d1b;   /* Đỏ nổi bật — tiêu đề, text nhấn mạnh */

    /* === Màu nhấn (Accent) — Cam tuyển sinh từ mic1.edu.vn === */
    --accent-color:         #f5520d;   /* Cam tuyển sinh — banner đăng ký, CTA */
    --accent-dark:          #d94000;   /* Cam đậm — hover nút cam */

    /* === Màu xanh ngọc / Cyan từ mic1.edu.vn === */
    --cyan-color:           #21a7d0;   /* Xanh ngọc — hover link, icon, scroll-top */
    --cyan-dark:            #00a8cc;   /* Xanh lam — hover xanh đậm */

    /* === Màu nền & Văn bản === */
    --bg-color:             #ffffff;   /* Nền trắng chính */
    --bg-secondary:         #f7f7f7;   /* Nền xám nhạt cho section xen kẽ */
    --text-color:           #484848;   /* Văn bản thông thường */
    --text-muted:           #64748b;   /* Ngày tháng, caption, chú thích */
    --text-light:           #a6bacc;   /* Footer text nhạt, placeholder */
    --border-color:         #e2e8f0;   /* Đường kẻ, separator */

    /* === Header & Navigation === */
    --header-bg:            #2c3c65;   /* Nền header/topbar */
    --header-text:          #ffffff;   /* Chữ và icon trong header */
    --nav-active:           #a81a18;   /* Menu item active/hover */

    /* === Footer === */
    --footer-bg:            #14294d;   /* Nền footer đậm navy */
    --footer-text:          #a6bacc;   /* Chữ trong footer */

    /* === Links === */
    --link-color:           #21a7d0;   /* Màu link mặc định */
    --link-hover:           #a81a18;   /* Màu link hover */

    /* === Màu trạng thái (Status Colors) === */
    --success-color:        #22c55e;
    --warning-color:        var(--accent-color);
    --error-color:          #ef4444;
    --info-color:           #3b82f6;

    /* === Typography === */
    --font-heading:         'Be Vietnam Pro', 'Inter', sans-serif;
    --font-body:            'Inter', 'Be Vietnam Pro', sans-serif;
    --font-size-base:       1rem;
    --line-height-base:     1.6;

    /* === Spacing & Layout === */
    --container-width:      1280px;
    --header-height:        80px;
    --border-radius:        0.5rem;
    --border-radius-lg:     1rem;

    /* === Transitions === */
    --transition-fast:      150ms ease;
    --transition-base:      250ms ease;
    --transition-slow:      400ms ease;

    /* === Shadows === */
    --shadow-sm:            0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:            0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:            0 10px 40px rgba(0,0,0,0.12);
    --shadow-primary:       0 8px 24px rgba(28, 48, 92, 0.25);   /* Navy shadow */
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--primary-dark); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   UTILITY CLASSES - Bridging CSS Variables with Tailwind-style approach
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(168, 26, 24, 0.35);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: var(--header-bg);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    transition: box-shadow var(--transition-base);
}

#site-header.scrolled {
    box-shadow: var(--shadow-md);
}

#site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
#site-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}
#site-logo img {
    height: 48px;
    width: auto;
}

/* Navigation */
#primary-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}

#primary-menu > li > a {
    display: block;
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a {
    color: var(--primary-color);
    background-color: rgba(255,255,255,0.12);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, var(--cyan-color) 100%);
    padding: 6rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    margin-top: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
    background: var(--bg-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--secondary-color);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-size: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 2rem;
}

#site-footer h3, #site-footer h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

#site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}
#site-footer a:hover { color: #ffffff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .section { padding: 3rem 0; }
    .section-title { font-size: 1.75rem; }
    .hero-section { padding: 4rem 0; }

    #primary-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    #primary-menu.is-open { display: flex; }
}

/* ==========================================================================
   WORDPRESS CORE COMPATIBILITY
   ========================================================================== */
.wp-block-image img { border-radius: var(--border-radius); }
.aligncenter { margin: 0 auto; text-align: center; }
.alignright { float: right; margin-left: 1.5rem; }
.alignleft { float: left; margin-right: 1.5rem; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* --- Front Page Styles Extracted --- */
/* ── HERO SLIDER ── */
.cdhh-hero-slider {
    width: 100%;
    min-height: 600px;
    background: var(--primary-color);
    position: relative;
}
.cdhh-hero-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
}
.cdhh-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 6s ease;
}
.swiper-slide-active .cdhh-hero__bg {
    transform: scale(1);
}
.cdhh-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2;
}
.cdhh-hero__content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 850px;
    padding: 4rem 1.5rem;
}
.cdhh-hero__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.swiper-slide-active .cdhh-hero__title {
    opacity: 1;
    transform: translateY(0);
}
.cdhh-hero__title .accent { color: var(--cyan-color); text-shadow: 0 2px 8px rgba(0,0,0,0.8); }

.cdhh-hero__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
    font-weight: 500;
}
.swiper-slide-active .cdhh-hero__subtitle {
    opacity: 0.95;
    transform: translateY(0);
}

.cdhh-hero__btn {
    display: inline-block;
    background-color: var(--accent-color, var(--accent-color));
    color: #333 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s, background 0.2s;
}
.swiper-slide-active .cdhh-hero__btn {
    opacity: 1;
    transform: translateY(0);
}
.cdhh-hero__btn:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* Custom Swiper Navigation */
.cdhh-hero-slider .swiper-button-next,
.cdhh-hero-slider .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: background 0.3s;
}
.cdhh-hero-slider .swiper-button-next:hover,
.cdhh-hero-slider .swiper-button-prev:hover {
    background: rgba(0,0,0,0.8);
}
.cdhh-hero-slider .swiper-button-next::after,
.cdhh-hero-slider .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* ── WELCOME SECTION & FEATURE BAR OVERLAP ── */
.cdhh-welcome-wrapper {
    background-color: var(--bg-secondary); /* Light blueish background from screenshot */
    padding: 1px 1.5rem 0 1.5rem; /* No padding bottom to sit flush with 3-col section */
}
.cdhh-feature-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    margin-bottom: 3.5rem;
    padding: 0 1.5rem;
}
.cdhh-feature-bar {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.cdhh-feature-bar__left {
    flex: 1 1 70%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, calc(100% - 35px) 100%, 0 100%);
    margin-right: -35px;
}
.cdhh-feature-bar__left .inner {
    width: 100%;
    padding: 1.25rem 3.5rem 1.25rem 2rem;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
}
.cdhh-feature-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
    border-right: 1px solid rgba(255,255,255,0.25);
}
.cdhh-feature-box:last-child { border-right: none; }
.cdhh-feature-box:hover { background: rgba(255,255,255,0.1); }
.cdhh-feature-box__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    opacity: 1;
}
.cdhh-feature-box__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cdhh-feature-box__title {
    font-size: 14px;
    font-weight: 800;
    text-transform: capitalize;
    line-height: 1.2;
}
.cdhh-feature-box__desc {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 3px;
    font-weight: 500;
}

.cdhh-feature-bar__right {
    flex: 1 1 30%;
    background-color: var(--cyan-color);
    display: flex;
    align-items: center;
    z-index: 1;
    padding-left: 2.5rem;
}
.cdhh-feature-bar__right .discover-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    color: #fff;
    text-decoration: none;
    width: 100%;
}
.cdhh-feature-bar__right .discover-link:hover { background: rgba(0,0,0,0.08); }
.cdhh-feature-bar__right .discover-title {
    font-size: 16px;
    font-weight: 800;
}
.cdhh-feature-bar__right .discover-sub {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 3px;
}
.cdhh-feature-bar__right .arrow-icon {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}

@media (max-width: 900px) {
    .cdhh-feature-bar { flex-direction: column; }
    .cdhh-feature-bar__left { clip-path: none; margin-right: 0; }
    .cdhh-feature-bar__left .inner { grid-template-columns: 1fr; padding: 1.5rem; }
    .cdhh-feature-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .cdhh-feature-bar__right { padding-left: 0; }
}

/* ── WELCOME SECTION ── */
.cdhh-welcome {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.cdhh-welcome__image {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
}
.cdhh-welcome__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cdhh-welcome__text {
    flex: 0 0 50%;
    max-width: 50%;
    background: #fff;
    color: #333;
    padding: 3.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.cdhh-welcome__text h2 {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--secondary-dark, var(--secondary-dark)); /* Reddish brown */
}
.cdhh-welcome__text h2 .accent { color: var(--cyan-color); }
.cdhh-welcome__text p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    font-weight: 500;
}
.cdhh-welcome__text .line {
    width: 60px; height: 3px;
    background: var(--cyan-color);
    margin: 1.5rem auto 0;
    display: block;
    border-radius: 2px;
}
@media (max-width: 768px) {
    .cdhh-welcome { flex-direction: column; }
    .cdhh-welcome__image { min-height: 250px; }
    .cdhh-welcome__text { padding: 2.5rem 1.5rem; }
}

/* ── 3 COL: JOIN / VIDEO / NEWS ── */
.cdhh-three-col-wrapper {
    background: linear-gradient(to right, var(--bg-secondary) 50%, var(--primary-color) 50%);
    width: 100%;
}
.cdhh-three-col {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.cdhh-three-col__join {
    background: transparent;
    padding: 4rem 3rem 4rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cdhh-three-col__join h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.35;
}
.cdhh-three-col__join h2 .accent { color: var(--cyan-color); }
.cdhh-three-col__join p {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.cdhh-three-col__join ul {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
}
.cdhh-three-col__join ul li {
    font-size: 13px;
    color: var(--secondary-color); /* Red text */
    padding: 0.35rem 0;
    display: flex; align-items: center; gap: 0.5rem;
}
.cdhh-three-col__join ul li::before {
    content: '✓';
    color: var(--cyan-color); /* Cyan check */
    font-weight: 700;
    font-size: 14px;
}
.btn-readmore {
    display: inline-block;
    background: var(--cyan-color);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
    transition: background 0.2s;
}
.btn-readmore:hover { background: var(--primary-color); }

.cdhh-three-col__video {
    padding: 3rem 0; /* Space top and bottom to show background split */
    display: flex;
    align-items: center;
    justify-content: center;
}
.cdhh-three-col__video-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Square video */
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden;
}
.cdhh-three-col__video-inner img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    position: absolute; inset: 0;
}
.cdhh-three-col__video-inner .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: var(--cyan-color); /* Cyan circle */
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(33, 167, 208, 0.4);
    transition: transform 0.2s;
    z-index: 2;
}
.cdhh-three-col__video-inner .play-btn:hover { transform: translate(-50%, -50%) scale(1.05); }
.cdhh-three-col__video-inner .play-btn svg { width: 24px; height: 24px; fill: white; margin-left: 4px; }

.cdhh-three-col__news {
    background: transparent;
    padding: 4rem 1rem 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cdhh-three-col__news h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}
.cdhh-three-col__news h2 a { color: var(--cyan-color); text-decoration: none; font-weight: normal; font-size: 1.2rem; }
.cdhh-three-col__news h2 a:hover { text-decoration: underline; }
.news-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
}
.news-item:last-child { border-bottom: none; }
.news-item a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    line-height: 1.4;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}
.news-item a:hover { color: var(--cyan-color); }
.news-item .news-date {
    font-size: 12px;
    color: var(--cyan-color); /* Cyan text */
    display: flex; align-items: center; gap: 0.5rem;
}
.news-item .news-date svg { width: 14px; height: 14px; fill: currentColor; }

@media (max-width: 900px) {
    .cdhh-three-col-wrapper { background: var(--bg-secondary); }
    .cdhh-three-col { grid-template-columns: 1fr; }
    .cdhh-three-col__join { padding: 3rem 1.5rem; }
    .cdhh-three-col__video { padding: 0 1.5rem 3rem; }
    .cdhh-three-col__news { background: var(--primary-color); padding: 3rem 1.5rem; }
}

/* ── EVENTS SECTION ── */
.cdhh-events-section {
    position: relative;
    padding: 6rem 0 0; /* No bottom padding because the image sits on the bottom */
    background-color: var(--primary-dark); /* Fallback */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}
.cdhh-events__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 41, 77, 0.88); /* Dark tealish overlay */
    z-index: 1;
}
.cdhh-events__container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    padding: 0 1.5rem;
}
.cdhh-events__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.cdhh-events__left .quote {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
    color: #e2e8f0;
}
.cdhh-events__left .quote span {
    display: block;
    margin-top: 0.5rem;
    font-size: 14px;
    opacity: 0.8;
}
.cdhh-events__left .warren-image {
    width: 100%;
    max-width: 450px;
    margin-top: auto;
    display: block;
}
.cdhh-events__left .warren-image img {
    width: 100%;
    display: block;
}

.cdhh-events__right {
    flex: 1.2;
    padding-bottom: 4rem;
}
.events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.events-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.btn-more-events {
    background: var(--secondary-color);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 0.5rem;
    transition: background 0.2s;
}
.btn-more-events:hover { background: var(--secondary-dark, var(--secondary-dark)); }

.events-list {
    display: flex;
    flex-direction: column;
}
.event-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.event-item:last-child { border-bottom: none; }
.event-date {
    background: var(--cyan-color);
    color: #fff;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    min-width: 90px;
    display: flex; flex-direction: column; justify-content: center;
}
.event-date .day { font-size: 1.8rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.event-date .month-year { font-size: 12px; font-weight: 600; text-transform: uppercase; }

.event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.event-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.event-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.event-meta span {
    display: flex; align-items: center; gap: 0.35rem;
}
.event-meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }

@media (max-width: 900px) {
    .cdhh-events__container { flex-direction: column; gap: 2rem; }
    .cdhh-events__left .quote { margin-bottom: 1rem; }
}

/* ── STATS SECTION ── */
.cdhh-stats-section {
    background: var(--primary-color);
    padding: 4rem 1.5rem;
}
.cdhh-stats-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat-item {
    text-align: center;
    position: relative;
}
/* Border right on items except last one to match design */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}
.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-num sup {
    font-size: 1.2rem;
    position: relative;
    top: -1em;
}
.stat-label {
    font-size: 14px;
    color: var(--cyan-color);
    font-weight: 600;
}
@media (max-width: 768px) {
    .cdhh-stats-container { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
    .stat-item:nth-child(2n)::after { display: none; }
}

/* ── COURSES SECTION ── */
.cdhh-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.cdhh-courses-section {
    padding: 5rem 0;
    background: #fff;
}
.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}
.courses-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.courses-header p {
    color: #64748b;
    font-size: 14px;
}
.courses-header .header-right a {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: opacity 0.2s;
}
.courses-header .header-right a:not(.active) {
    opacity: 0.5;
}
.courses-header .header-right a:hover {
    opacity: 1;
}



/* ─────────────────────────────────────────────
   COURSE CARD - clean rebuild
───────────────────────────────────────────── */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.course-card {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    overflow: visible;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

/* --- Thumb container (keeps avatar visible below) --- */
.course-thumb {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* square-ish, slightly shorter */
    border-radius: 6px 6px 0 0;
}

/* --- Image wrapper (clips image, holds hover effects) --- */
.course-img-wrap {
    position: absolute;
    inset: 0;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}
.course-img-wrap img.main-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}
.course-card:hover .course-img-wrap img.main-thumb {
    transform: scale(1.04);
}

/* Dark overlay on hover */
.course-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
    z-index: 1;
    pointer-events: none;
}
.course-card:hover .course-img-wrap::before {
    background: rgba(0,0,0,0.42);
}

/* Arrow ↗ in bordered box on hover - using SVG background */
.course-img-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 34px;
    height: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='20' x2='20' y2='4'/%3E%3Cpolyline points='9 4 20 4 20 15'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    border: 1.5px solid rgba(255,255,255,0.9);
    border-radius: 4px;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.course-card:hover .course-img-wrap::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- Teacher avatar overlaps image bottom --- */
.teacher-avatar {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    background: #e2e8f0;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Card body --- */
.course-body {
    padding: 2.6rem 1.25rem 1.25rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.teacher-name {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}
.course-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.45;
    flex: 1;
}
.course-title a { color: inherit; text-decoration: none; }
.course-title a:hover { color: var(--cyan-color); }

.course-divider-line {
    width: 36px;
    height: 3px;
    background: var(--cyan-color);
    margin: 0 auto 1rem;
    border-radius: 2px;
}
.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.9rem;
    margin-top: auto;
}
.meta-left {
    display: flex;
    gap: 0.85rem;
    font-size: 12px;
    color: #64748b;
}
.meta-left span { display: flex; align-items: center; gap: 4px; }
.meta-left svg { width: 14px; height: 14px; fill: currentColor; }
.course-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--cyan-color);
}
.course-price del {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    margin-right: 4px;
}


.courses-footer {
    text-align: center;
}
.btn-cyan {
    display: inline-block;
    background: var(--cyan-color);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}
.btn-cyan:hover {
    background: var(--primary-color);
}

/* ── WHY CHOOSE US SECTION ── */
.cdhh-why-section {
    padding: 5rem 0;
    background: #fff;
}
.why-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}
.why-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.why-header p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
}
.why-header p a {
    color: var(--cyan-color);
    text-decoration: none;
}
.why-grid {
    display: flex;
    gap: 2px;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}
.why-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #f1f5f9;
    transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}
.why-item:hover, .why-grid:not(:hover) .why-item.active {
    flex: 2;
}
.why-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.why-item:hover::before, .why-grid:not(:hover) .why-item.active::before {
    opacity: 1;
}
.why-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.why-item:hover img {
    transform: scale(1.05);
}
.why-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: #fff;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.why-item:hover .why-overlay, .why-grid:not(:hover) .why-item.active .why-overlay {
    opacity: 1;
    transform: translateY(0);
}
.why-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.why-text {
    font-size: 16px;
    font-weight: 500;
    max-width: 100%;
    line-height: 1.5;
}

@media (max-width: 900px) {
    object-fit: cover;
    display: block;
}
.teacher-avatar {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    background: #ccc;
    z-index: 10;
}
.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-body {
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.teacher-name {
    font-size: 12px;
    color: #94a3b8;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}
.course-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    flex: 1;
}
.course-title a { color: inherit; text-decoration: none; }
.course-title a:hover { color: var(--cyan-color); }
.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    margin-top: auto;
}
.meta-left {
    display: flex;
    gap: 1rem;
    font-size: 12px;
    color: #64748b;
}
.meta-left span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.meta-left svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
.course-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

/* Course card overlay (title inside image bottom) */
.course-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 20, 40, 0.95) 0%, rgba(10, 20, 40, 0.6) 60%, transparent 100%);
    padding: 1.25rem 1rem 2.8rem; /* bottom padding leaves space for avatar */
    z-index: 3;
}
.course-thumb-overlay h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* Teal divider under course title */
.course-divider-line {
    width: 36px;
    height: 3px;
    background: var(--cyan-color);
    margin: 0 auto 1rem;
    border-radius: 2px;
}


.courses-footer {
    text-align: center;
}
.btn-cyan {
    display: inline-block;
    background: var(--cyan-color);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}
.btn-cyan:hover {
    background: var(--primary-color);
}

/* ── WHY CHOOSE US SECTION ── */
.cdhh-why-section {
    padding: 5rem 0;
    background: #fff;
}
.why-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}
.why-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.why-header p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
}
.why-header p a {
    color: var(--cyan-color);
    text-decoration: none;
}
.why-grid {
    display: flex;
    gap: 2px;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}
.why-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #f1f5f9;
    transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}
.why-item:hover, .why-grid:not(:hover) .why-item.active {
    flex: 2;
}
.why-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.why-item:hover::before, .why-grid:not(:hover) .why-item.active::before {
    opacity: 1;
}
.why-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.why-item:hover img {
    transform: scale(1.05);
}
.why-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: #fff;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.why-item:hover .why-overlay, .why-grid:not(:hover) .why-item.active .why-overlay {
    opacity: 1;
    transform: translateY(0);
}
.why-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.why-text {
    font-size: 16px;
    font-weight: 500;
    max-width: 100%;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .courses-header .header-right a { margin-left: 0; margin-right: 1.5rem; }
    .why-grid { flex-direction: column; height: 800px; }
    .why-item { flex: 1; }
    .why-item:hover, .why-grid:not(:hover) .why-item.active { flex: 2; }
}
@media (max-width: 500px) {
    .courses-grid { grid-template-columns: 1fr; }
}

/* ── OUTSTANDING STUDENTS SECTION ── */
.cdhh-students-section {
    padding: 5rem 0;
    background: #fff;
}
.students-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}
.students-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.students-header p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
}
.students-slider {
    padding-bottom: 3rem;
    cursor: grab;
}
.students-slider:active {
    cursor: grabbing;
}
.student-card {
    text-align: center;
    padding: 0 1rem;
}
.student-avatar-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    padding: 6px;
    border: 2px dashed var(--cyan-color);
    transition: border-color 0.3s;
    cursor: pointer;
}
.student-avatar-wrap::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
    z-index: 1;
    pointer-events: none;
}
.student-avatar-wrap:hover::after {
    background: rgba(0,0,0,0.4);
}
.student-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.student-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    cursor: pointer;
}
.student-title {
    font-size: 11px;
    color: var(--cyan-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    cursor: pointer;
}
.student-quote {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
}
.students-slider .swiper-pagination-bullet {
    background: #e2e8f0;
    opacity: 1;
}
.students-slider .swiper-pagination-bullet-active {
    background: var(--cyan-color);
}

/* ── RANKINGS SECTION ── */
.cdhh-rankings-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}
.rankings-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}
.rankings-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.rankings-header p {
    font-size: 14px;
    color: var(--secondary-dark);
    margin-bottom: 0;
}
.rankings-header p a {
    color: var(--cyan-color);
    text-decoration: none;
}
.rankings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}
.ranking-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.ranking-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    color: var(--cyan-color);
}
.ranking-icon svg {
    width: 100%;
    height: 100%;
}
.ranking-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
}
.ranking-content p {
    font-size: 13px;
    color: var(--secondary-color);
    line-height: 1.5;
}
.ranking-content p strong {
    font-weight: 800;
}

@media (max-width: 900px) {
    .rankings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .rankings-grid {
        grid-template-columns: 1fr;
    }
}

/* ── FACILITIES SECTION ── */
.cdhh-facilities-section {
    padding: 5rem 0;
    background: #fff;
    text-align: center;
}
.facilities-header {
    margin-bottom: 3rem;
}
.facilities-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.facilities-header p {
    font-size: 14px;
    color: #64748b;
}
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.facility-card {
    text-align: center;
}
.facility-image-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    margin-bottom: 1.5rem;
}
.facility-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.facility-card:hover .facility-image-wrap img {
    transform: scale(1.05);
}
.facility-overlay {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}
.layout-1 .facility-overlay {
    justify-content: flex-start;
    align-items: center;
}
.overlay-box.red-brush {
    background: var(--secondary-color); /* Red/pinkish */
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 4px;
    max-width: 80%;
    text-align: center;
    position: relative;
    pointer-events: auto;
}
.layout-2 .facility-overlay {
    justify-content: center;
    align-items: flex-end;
}
.overlay-content-right {
    text-align: right;
    max-width: 60%;
    pointer-events: auto;
}
.overlay-title-large {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}
.overlay-desc-right {
    font-size: 14px;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.overlay-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.overlay-desc {
    font-size: 13px;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.btn-yellow {
    display: inline-block;
    background: var(--accent-color);
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.btn-yellow:hover { opacity: 0.9; }
.btn-dark {
    display: inline-block;
    background: #1e293b;
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.btn-dark:hover { opacity: 0.9; }
.facility-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cyan-color);
}
.facility-title a {
    color: inherit;
    text-decoration: none;
}
@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* ── EXPLORE BANNER SECTION ── */
.cdhh-explore-section {
    padding: 5rem 0;
}
.explore-top-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.explore-col-left {
    flex: 0 0 auto;
}
.explore-small {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    display: block;
    margin-bottom: 0.25rem;
}
.explore-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1;
}
.explore-divider {
    width: 1px;
    height: 60px;
    background: #cbd5e1;
    flex: 0 0 auto;
}
.explore-col-mid {
    flex: 0 0 auto;
    text-align: center;
}
.time-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan-color);
    line-height: 1;
}
.time-text {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
}
.explore-col-right {
    flex: 1;
}
.explore-col-right p {
    font-size: 14px;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}
.explore-banner-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: 8px;
    overflow: hidden;
}
.explore-banner-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.explore-banner-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 450px;
    max-width: 100%;
    background: linear-gradient(to top right, rgba(15,23,42,0.95), rgba(15,23,42,0.7));
    padding: 3rem;
    border-top-left-radius: 8px;
}
.overlay-text {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.btn-white {
    display: inline-block;
    background: #fff;
    color: #1e293b !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-white:hover {
    background: #f1f5f9;
}

@media (max-width: 900px) {
    .explore-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .explore-divider {
        width: 100%;
        height: 1px;
    }
    .explore-col-mid {
        text-align: left;
    }
    .explore-banner-wrap {
        aspect-ratio: 4 / 3;
    }
    .explore-banner-overlay {
        width: 100%;
        border-top-left-radius: 0;
    }
}

/* ── PRE-FOOTER INFO SECTION (FAQs, Working Hours) ── */
.cdhh-pre-footer-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--primary-dark); /* Dark slate */
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    color: #cbd5e1;
    overflow: hidden;
}
.cdhh-pre-footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.95); /* Deep dark overlay */
    z-index: 1;
}
.cdhh-pre-footer-section .cdhh-container {
    position: relative;
    z-index: 2;
}
.pre-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}
.pre-footer-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-light); /* Pinkish red */
    margin-bottom: 2rem;
}
/* Column 1: FAQs */
.pre-footer-faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pre-footer-faq-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.pre-footer-faq-list li svg {
    width: 18px;
    height: 18px;
    color: var(--cyan-color);
    flex-shrink: 0;
    margin-top: 3px;
}
.pre-footer-faq-list a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.2s;
}
.pre-footer-faq-list a:hover {
    color: var(--cyan-color);
}

/* Column 2: Working Hours */
.working-hours-col {
    position: relative;
}
.working-hours-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.wh-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}
.watermark-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: serif;
    font-size: 8rem;
    color: rgba(255,255,255,0.02);
    pointer-events: none;
    z-index: 0;
    display: flex;
    flex-direction: column;
    line-height: 0.8;
    align-items: center;
}
.watermark-logo .edu { font-size: 4rem; letter-spacing: 0.2em; }
.watermark-logo .au { font-size: 3rem; letter-spacing: 0.5em; }
.working-hours-list { position: relative; z-index: 1; }

/* Column 3: Subscribe */
.pre-footer-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pre-footer-subscribe-form .form-group input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
}
.pre-footer-subscribe-form .form-group input:focus {
    outline: none;
    border-color: var(--cyan-color);
}
.pre-footer-subscribe-form .btn-cyan {
    margin-top: 0.5rem;
    align-self: flex-start;
    padding: 12px 24px;
}

@media (max-width: 900px) {
    .pre-footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ── FOOTER SECTION ── */
.cdhh-site-footer {
    position: relative;
    padding: 5rem 0 2rem;
    background-color: var(--footer-bg); /* Teal 900 */
    color: #fff;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.25fr 1.25fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.footer-logo img {
    max-height: 80px;
    width: auto;
}
.brand-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}
.footer-desc {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.6;
}
.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--cyan-color);
    margin-bottom: 1.5rem;
}
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-menu-list a:hover {
    color: var(--cyan-color);
}
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 13px;
    line-height: 1.4;
}
.footer-contact-list svg {
    width: 16px;
    height: 16px;
    color: var(--cyan-color);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-map {
    width: 100%;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #cbd5e1;
}
.fb-center {
    position: relative;
}
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 0;
    transition: background 0.3s;
}
.back-to-top:hover {
    background: var(--cyan-color);
}
.fb-right {
    display: flex;
    gap: 1.5rem;
}
.fb-right a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.fb-right a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-col-brand {
        grid-column: span 3;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .back-to-top {
        position: static;
        transform: none;
        margin: 0 auto;
    }
}

/* ══════════════════════════════════════════════════════════
   NEWS / BLOG ARCHIVE — Professional School Portal Layout
   ══════════════════════════════════════════════════════════ */

/* ── PAGE HEADER ── */
.news-page-header {
    position: relative;
    height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.news-page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(20,41,77,0.82) 0%, rgba(28,48,92,0.65) 50%, rgba(168, 26, 24, 0.40) 100%);
}
.news-page-header__inner {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
    padding-top: 2rem;
}
.news-page-header__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 1rem;
}
.news-page-header__title {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 0.6rem;
    font-family: var(--font-heading);
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.news-page-header__desc {
    color: rgba(255,255,255,0.80);
    font-size: 0.95rem;
    margin: 0 0 1.2rem;
    max-width: 560px;
    line-height: 1.6;
}
.news-page-header__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    font-weight: 500;
}
.news-page-header__breadcrumbs a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}
.news-page-header__breadcrumbs a:hover { color: #fff; }

/* ── CATEGORY FILTER BAR ── */
.news-category-bar {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 90;
}
.news-category-bar__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.news-category-bar__inner::-webkit-scrollbar { display: none; }
.news-cat-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    color: #4a5568;
    background: #f0f4f8;
    border: 1px solid transparent;
    transition: all 0.18s ease;
    flex-shrink: 0;
}
.news-cat-pill:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}
.news-cat-pill.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(28,48,92,0.25);
}

/* ── MAIN LAYOUT ── */
.news-layout {
    padding: 3rem 1.5rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
}
.news-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 1024px) {
    .news-content-grid {
        grid-template-columns: 1fr;
    }
    .news-sidebar { order: -1; }
}

/* ── FEATURED HERO POST ── */
.news-featured-post {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    background: #111;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.news-featured-post__thumb-link {
    position: absolute;
    inset: 0;
    display: block;
}
.news-featured-post__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.news-featured-post:hover .news-featured-post__thumb {
    transform: scale(1.04);
}
.news-featured-post__thumb--placeholder {
    width: 100%;
    height: 100%;
    background: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
}
.news-featured-post__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.90) 0%, rgba(10,15,30,0.40) 55%, transparent 100%);
    pointer-events: none;
}
.news-featured-post__content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.news-featured-post__cat {
    display: inline-block;
    width: fit-content;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
}
.news-featured-post__title {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 900;
    line-height: 1.35;
    margin: 0;
}
.news-featured-post__title a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.news-featured-post__title a:hover { opacity: 0.85; }
.news-featured-post__excerpt {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
}
.news-featured-post__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
}
.news-featured-post__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-featured-post__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--secondary-color);
    padding: 8px 18px;
    border-radius: 6px;
    transition: all 0.2s;
}
.news-featured-post__cta:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 26, 24, 0.4);
}

/* ── NEWS GRID ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 640px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* ── NEWS CARD ── */
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.news-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.11);
    transform: translateY(-4px);
}
.news-card__thumb-link {
    position: relative;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}
.news-card__thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card__thumb {
    transform: scale(1.05);
}
.news-card__thumb--placeholder {
    width: 100%;
    height: 200px;
    background: #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
}
.news-card__cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.news-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}
.news-card__date {
    display: block;
    font-size: 0.75rem;
    color: #8a9bb0;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.news-card__title {
    font-size: 0.97rem;
    font-weight: 800;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
}
.news-card__title a:hover { color: var(--primary-color); }
.news-card__excerpt {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}
.news-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: color 0.2s, gap 0.2s;
}
.news-card__readmore:hover {
    color: var(--secondary-color);
    gap: 8px;
}

/* ── PAGINATION ── */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8ecf1;
}
.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 42px;
    height: 42px;
    padding: 0 0.75rem;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #4a5568;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.18s;
}
.news-pagination .page-numbers:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(28,48,92,0.2);
}
.news-pagination .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.news-pagination .page-numbers.dots {
    border: none;
    background: none;
}

/* ── EMPTY STATE ── */
.news-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    color: #a0aec0;
}
.news-empty svg { margin: 0 auto 1.25rem; display: block; }
.news-empty h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 0.5rem;
}
.news-empty p { color: #718096; font-size: 0.9rem; margin: 0; }

/* ══ SIDEBAR ══ */
.news-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
@media (max-width: 1024px) {
    .news-sidebar { position: static; }
}
.news-sidebar__widget {
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    border-radius: 0;
    padding: 1rem 1.25rem;
    box-shadow: none;
}
.news-sidebar__widget:last-child {
    border-bottom: none;
}
.news-sidebar__widget-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin: 0 0 0.875rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid #edf2f7;
}
.news-sidebar__widget-title svg { flex-shrink: 0; }

/* Search */
.news-search-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    transition: border-color 0.2s;
}
.news-search-form:focus-within { border-color: var(--primary-color); }
.news-search-form__input {
    flex-grow: 1;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    border: none;
    outline: none;
    color: #2d3748;
    background: #fff;
}
.news-search-form__btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.news-search-form__btn:hover { background: var(--primary-dark); }

/* Categories list */
.news-sidebar__cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.news-sidebar__cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f4f8;
    text-decoration: none;
    color: #4a5568;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.18s;
}
.news-sidebar__cat-item:last-child a { border-bottom: none; }
.news-sidebar__cat-item a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}
.news-sidebar__cat-item.active a { color: var(--primary-color); font-weight: 800; }
.news-sidebar__cat-name { flex-grow: 1; }
.news-sidebar__cat-count {
    background: #f0f4f8;
    color: #718096;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    flex-shrink: 0;
    transition: all 0.18s;
}
.news-sidebar__cat-item a:hover .news-sidebar__cat-count,
.news-sidebar__cat-item.active .news-sidebar__cat-count {
    background: var(--primary-color);
    color: #fff;
}

/* Recent posts */
.news-sidebar__recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.news-sidebar__recent-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}
.news-sidebar__recent-thumb {
    width: 72px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}
.news-sidebar__recent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}
.news-sidebar__recent-item:hover .news-sidebar__recent-img {
    transform: scale(1.08);
}
.news-sidebar__recent-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}
.news-sidebar__recent-date {
    font-size: 0.72rem;
    color: #8a9bb0;
    font-weight: 600;
    white-space: nowrap;
}
.news-sidebar__recent-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.news-sidebar__recent-title:hover { color: var(--primary-color); }

/* Tag cloud */
.news-sidebar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.news-sidebar__tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f4f8;
    color: #4a5568;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.18s;
}
.news-sidebar__tag:hover,
.news-sidebar__tag.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ── Legacy compatibility aliases ── */
.cdhh-blog-layout { padding: 3rem 1.5rem; }
.cdhh-blog-grid { display: flex; flex-wrap: wrap; gap: 3rem; align-items: flex-start; }
.cdhh-blog-main { flex: 1 1 65%; max-width: 100%; }
.cdhh-blog-sidebar { flex: 1 1 30%; max-width: 100%; }
.cdhh-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.cdhh-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.5rem; border: 1px solid #eaeaea; background: #fff; color: #333; font-weight: 700; font-size: 14px; text-decoration: none; border-radius: 4px; transition: all 0.2s; }
.cdhh-pagination .page-numbers:hover, .cdhh-pagination .page-numbers.current { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.cdhh-page-header {
    background: linear-gradient(to right, rgba(26, 58, 60, 0.8), rgba(90, 40, 80, 0.7)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 6rem 0;
    position: relative;
}
.cdhh-page-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}
.cdhh-page-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background-color: var(--primary-color);
    margin-right: 1rem;
}

/* ── BREADCRUMBS BAR ── */
.cdhh-breadcrumbs-bar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.25rem 0;
}
.cdhh-breadcrumbs {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cdhh-breadcrumbs a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.cdhh-breadcrumbs a:hover {
    color: var(--primary-color);
}
.cdhh-breadcrumbs span {
    color: #ccc;
    font-size: 0.8rem;
}

/* ── BLOG LAYOUT ── */
.cdhh-blog-layout {
    padding: 4rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}
.cdhh-blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}
.cdhh-blog-main {
    flex: 1 1 65%;
    max-width: 100%;
}
.cdhh-blog-sidebar {
    flex: 1 1 30%;
    max-width: 100%;
}

@media (max-width: 900px) {
    .cdhh-blog-grid {
        flex-direction: column;
    }
    .cdhh-blog-main, .cdhh-blog-sidebar {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* ── POST CARD ── */
.cdhh-post-card {
    background: #fff;
    margin-bottom: 4rem;
    overflow: hidden;
}
.cdhh-post-thumb-link {
    display: block;
    overflow: hidden;
}
.cdhh-post-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.cdhh-post-card:hover .cdhh-post-thumb {
    transform: scale(1.02);
}
.cdhh-post-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}
.cdhh-post-content {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
}

/* Date Block */
.cdhh-post-date {
    flex-shrink: 0;
    text-align: center;
    color: var(--primary-color);
    min-width: 80px;
}
.cdhh-post-date .day {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}
.cdhh-post-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

/* Content Text */
.cdhh-post-text {
    flex-grow: 1;
}
.cdhh-post-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.cdhh-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.cdhh-post-title a:hover {
    color: var(--primary-color);
}

/* Meta */
.cdhh-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.cdhh-post-meta .meta-block {
    display: flex;
    flex-direction: column;
}
.cdhh-post-meta .meta-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.25rem;
}
.cdhh-post-meta .meta-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
}
.cdhh-post-meta .meta-value a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.cdhh-post-meta .meta-value a:hover {
    color: var(--primary-color);
}
.cdhh-post-meta .meta-divider {
    width: 1px;
    height: 35px;
    background: #eaeaea;
}

/* Excerpt */
.cdhh-post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Read More Button */
.cdhh-read-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.cdhh-read-more:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .cdhh-post-content {
        flex-direction: column;
        padding-top: 1rem;
        gap: 1rem;
    }
    .cdhh-post-date {
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
    }
    .cdhh-post-date .day { font-size: 2.5rem; }
    .cdhh-post-title { font-size: 1.25rem; }
}

/* ── PAGINATION ── */
.cdhh-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}
.cdhh-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border: 1px solid #eaeaea;
    background: #fff;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}
.cdhh-pagination .page-numbers:hover,
.cdhh-pagination .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ── SIDEBAR WIDGETS ── */
.cdhh-blog-sidebar .widget {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}
.cdhh-blog-sidebar .widget-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    text-transform: uppercase;
}
.cdhh-blog-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cdhh-blog-sidebar .widget ul li {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
}
.cdhh-blog-sidebar .widget ul li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.cdhh-blog-sidebar .widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}
.cdhh-blog-sidebar .widget ul li a:hover {
    color: var(--primary-color);
}

/* Widget Search */
.cdhh-blog-sidebar .widget_search form {
    display: flex;
}
.cdhh-blog-sidebar .widget_search input[type="text"],
.cdhh-blog-sidebar .widget_search input[type="search"] {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #eaeaea;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
    outline: none;
}
.cdhh-blog-sidebar .widget_search input[type="text"]:focus,
.cdhh-blog-sidebar .widget_search input[type="search"]:focus {
    border-color: var(--primary-color);
}
.cdhh-blog-sidebar .widget_search button,
.cdhh-blog-sidebar .widget_search input[type="submit"] {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.cdhh-blog-sidebar .widget_search button:hover,
.cdhh-blog-sidebar .widget_search input[type="submit"]:hover {
    background: var(--primary-dark);
}
/* ── NEW HEADER LAYOUT ── */
.header-layout-wrapper {
    display: flex;
    width: 100%;
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ── LOGO BLOCK (LEFT) ── */
.header-logo-block {
    background-color: var(--secondary-color); /* Red — matches mic1.edu.vn logo block */
    width: 190px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
    text-decoration: none;
}
.header-logo-block img {
    max-width: 80px;
    height: auto;
    margin-bottom: 0.4rem;
    display: block;
}
.header-logo-block .logo-text {
    font-family: var(--font-heading, 'Be Vietnam Pro', sans-serif);
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* ── RIGHT CONTENT AREA ── */
.header-content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevent flex overflow */
}

/* ── TOPBAR ── */
#cdhh-topbar {
    background-color: var(--primary-dark); /* Deep navy topbar */
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    line-height: 42px;
}
#cdhh-topbar a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
#cdhh-topbar a:hover { color: #fff; }
#cdhh-topbar .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    width: 100%;
}
#cdhh-topbar .topbar-left,
#cdhh-topbar .topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
#cdhh-topbar .topbar-left {
    font-weight: 500;
    gap: 2rem;
}
#cdhh-topbar .topbar-right a {
    font-weight: 600;
    display: flex;
    align-items: center;
}
#cdhh-topbar .search-icon {
    cursor: pointer;
}

/* ── MAIN HEADER ── */
#site-header {
    background: var(--primary-color); /* Navy nav bar */
    flex-grow: 1;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
#site-header .header-nav-wrap {
    width: 100%;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Desktop Nav */
#primary-nav-desktop { 
    display: flex; 
    align-items: stretch; 
    gap: 0; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    height: 100%;
}
#primary-nav-desktop > li {
    position: relative;
    display: flex;
    align-items: stretch;
}
#primary-nav-desktop > li > a,
#primary-nav-desktop > li > span {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.9); /* White on navy */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.2s, background 0.2s;
    border-right: 1px solid rgba(255,255,255,0.1);
}

#primary-nav-desktop > li:hover > a,
#primary-nav-desktop > li.current-menu-item > a {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

/* Dropdown */
#primary-nav-desktop > li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 999;
}
#primary-nav-desktop > li:hover .sub-menu { display: block; }
#primary-nav-desktop .sub-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
#primary-nav-desktop .sub-menu li a:hover {
    background: var(--primary-light);
    color: rgba(255,255,255,0.9);
}

/* ── Chevron arrow for parent items with submenus ── */
#primary-nav-desktop > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 6px;
    margin-left: 6px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23155e61' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}
/* Rotate on hover */
#primary-nav-desktop > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23249fa3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


.btn-enroll {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.btn-enroll:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-1px);
}

/* Mobile Toggle */
#mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #ffffff;
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    height: 100vh;
    background: var(--primary-color);
    z-index: 9999;
    overflow-y: auto;
    padding: 1.5rem 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}
#mobile-menu.open {
    display: block;
    transform: translateX(0);
}
#mobile-menu ul { list-style: none; padding: 0; margin: 1rem 0; }
#mobile-menu ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
#mobile-menu .mobile-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none; border: none;
    color: #fff; font-size: 1.5rem;
    cursor: pointer;
}
#mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
#mobile-overlay.open { display: block; }

@media (max-width: 1024px) {
    #primary-nav-desktop { display: none; }
    #mobile-toggle { display: block; }
    .header-logo-block { width: auto; padding: 1rem; }
    .header-logo-block img { max-width: 60px; }
    #cdhh-topbar .topbar-left { display: none; }
}
@media (max-width: 768px) {
    .header-layout-wrapper { flex-direction: column; }
    #cdhh-topbar .topbar-inner { justify-content: center; padding: 0 1rem; }
    #site-header .header-nav-wrap { padding: 0 1rem; height: 64px; }
    .header-logo-block { flex-direction: row; gap: 1rem; width: 100%; text-align: left; }
    .header-logo-block .logo-text { font-size: 16px; text-align: left; }
    .header-logo-block img { max-width: 50px; margin-bottom: 0; }
}

/* ── SINGLE POST LAYOUT ── */
.cdhh-single-post {
    background: #fff;
    padding-bottom: 3rem;
}
.cdhh-single-thumb {
    margin-bottom: 2rem;
}
.cdhh-single-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cdhh-single-meta {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.cdhh-single-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}
.cdhh-single-content h2, .cdhh-single-content h3, .cdhh-single-content h4 {
    color: var(--primary-color);
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.cdhh-single-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
.cdhh-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
}

/* Share Section */
.cdhh-share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
}
.share-label {
    font-weight: 700;
    color: #333;
}
.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s;
}
.share-icon:hover { transform: translateY(-2px); }
.share-icon.fb { background: #1877f2; }
.share-icon.tw { background: #000; }

/* Author Box */
.cdhh-author-box {
    display: flex;
    gap: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}
.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.author-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.author-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Post Navigation */
.cdhh-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}
.nav-prev, .nav-next {
    display: flex;
    flex-direction: column;
    max-width: 45%;
}
.nav-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.nav-title {
    font-weight: 700;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.nav-title:hover { color: var(--primary-color); }
.nav-date {
    font-size: 0.85rem;
    color: #aaa;
}

/* Related Posts */
.cdhh-related-posts {
    margin-top: 3rem;
}
.related-title {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.related-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.1em;
    background: var(--primary-color);
    border-radius: 2px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.related-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.related-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}
.related-thumb-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.related-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.related-thumb--placeholder {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}
.related-item:hover .related-thumb {
    transform: scale(1.05);
}
.related-post-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.related-post-title a { color: #333; text-decoration: none; }
.related-post-title a:hover { color: var(--primary-color); }
.related-date {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 768px) {
    .cdhh-single-title { font-size: 1.75rem; }
    .cdhh-author-box { flex-direction: column; text-align: center; }
    .author-avatar { margin: 0 auto; }
    .cdhh-post-nav { flex-direction: column; gap: 1.5rem; }
    .nav-prev, .nav-next { max-width: 100%; }
    .nav-next { text-align: left; margin-left: 0; }
    .related-grid { grid-template-columns: 1fr; }
}

/* ── POPULAR COURSES WIDGET ── */
.widget_popular_courses .course-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.widget_popular_courses .course-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.2s;
}
.widget_popular_courses .course-item:hover {
    transform: translateX(5px);
}
.widget_popular_courses .course-thumb {
    width: 75px;
    height: 75px !important;
    padding-bottom: 0 !important;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.widget_popular_courses .course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.widget_popular_courses .course-item:hover .course-thumb img {
    transform: scale(1.1);
}
.widget_popular_courses .course-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.widget_popular_courses .course-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
    transition: color 0.2s;
}
.widget_popular_courses .course-item:hover .course-title {
    color: var(--primary-color);
}
.widget_popular_courses .course-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-color);
}
.widget_popular_courses .course-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.widget_popular_courses .old-price {
    font-size: 0.82rem;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: line-through;
}

/* ── COURSE ARCHIVE LAYOUT ── */
.widget_course_filter .filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cyan-color);
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.filter-term-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.filter-term-link:hover {
    background: #f1f5f9;
    color: var(--cyan-color);
}
.filter-term-link.active {
    background: #e6faf9;
    color: var(--cyan-color);
    font-weight: 700;
}
.filter-term-link.active .filter-dot {
    background: var(--cyan-color);
}
.filter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    transition: background 0.2s;
}
.filter-term-link .count {
    margin-left: auto;
    font-size: 11px;
    color: #94a3b8;
}
.cdhh-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.cdhh-course-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #666;
    flex-wrap: wrap;
    gap: 1rem;
}
.toolbar-left, .toolbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.view-icons {
    display: flex;
    gap: 0.5rem;
}
.view-icons svg {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
}
.view-icons svg.active, .view-icons svg:hover {
    color: var(--primary-color);
}
.course-sort {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 0.5rem 0;
    color: #444;
    outline: none;
    background: transparent;
    cursor: pointer;
}
.course-search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 0.5rem 0;
}
.course-search input {
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    width: 150px;
}
.course-search button {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
}

/* COURSE FILTER WIDGET */
.widget_course_filter {
    background: #fff;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.filter-group {
    margin-bottom: 1.5rem;
}
.filter-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
}
.filter-checkbox input {
    margin-right: 0.75rem;
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}
.filter-checkbox .count {
    margin-left: auto;
    color: #999;
    font-size: 0.85rem;
}
.filter-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.btn-filter, .btn-reset {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-filter {
    background: var(--primary-color);
    color: #fff;
}
.btn-filter:hover {
    background: var(--primary-dark);
}
.btn-reset {
    background: transparent;
    color: #666;
}
.btn-reset:hover {
    color: #333;
}

@media (max-width: 1024px) {
    .cdhh-course-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cdhh-course-grid { grid-template-columns: 1fr; }
    .toolbar-left, .toolbar-right { width: 100%; justify-content: space-between; }
    .course-search { flex-grow: 1; margin-left: 1rem; }
}

/* ═══════════════════════════════════════════
   SINGLE COURSE PAGE (single-cdhh_nganh)
═══════════════════════════════════════════ */
.nganh-header { min-height: 200px; display: flex; align-items: center; }
.nganh-header .cdhh-page-title { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.nganh-header-subtitle {
    font-size: 13px;
    font-style: italic;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* Meta row: teacher | categories | price + button */
.nganh-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}
.nganh-meta-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.85rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.nganh-meta-instructor {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nganh-meta-instructor img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}
.nganh-meta-instructor div,
.nganh-meta-cat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.meta-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.meta-val {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.nganh-meta-price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}
.nganh-price-display {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan-color);
}
.btn-more-info {
    background: var(--cyan-color);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.btn-more-info:hover { opacity: 0.85; }
.nganh-header-meta { margin-bottom: 0.75rem; }
.nganh-cat-badge {
    background: var(--cyan-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}
.nganh-header-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.nganh-instructor-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
}
.nganh-instructor-mini img {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    object-fit: cover;
}
.nganh-header-price {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}
.nganh-header-price del {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
.nganh-header-price strong {
    font-size: 22px;
    font-weight: 800;
}
.btn-enroll-now {
    background: var(--cyan-color);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.btn-enroll-now:hover { opacity: 0.85; }

/* Layout */
.nganh-single-wrap { padding-top: 2.5rem; padding-bottom: 5rem; }
.nganh-single-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}
.nganh-single-main {
    flex: 1 1 65%;
    min-width: 0;
}
.nganh-single-layout > .cdhh-blog-sidebar {
    flex: 1 1 30%;
}
@media (max-width: 900px) {
    .nganh-single-layout { flex-direction: column; }
    .nganh-single-main, .nganh-single-layout > .cdhh-blog-sidebar { flex: 1 1 100%; }
}

/* Overview inner: description + features side by side */
.nganh-overview-inner {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 800px) {
    .nganh-overview-inner { grid-template-columns: 1fr; }
}

/* Thumbnail hero */
.nganh-thumb-hero {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nganh-thumb-hero img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 420px;
}

/* Tabs */
.nganh-tab-nav {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
    gap: 0;
}
.nganh-tab-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.nganh-tab-btn:hover { color: var(--cyan-color); }
.nganh-tab-btn.active {
    color: var(--cyan-color);
    border-bottom-color: var(--cyan-color);
}

/* Tab panels */
.nganh-tab-content { display: none; }
.nganh-tab-content.active { display: block; }

.nganh-overview-body {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}
.nganh-overview-body p { margin-bottom: 1.25rem; }
.nganh-overview-body h2, .nganh-overview-body h3 {
    color: #1e293b;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
}

/* Instructor tab */
.nganh-instructor-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.instructor-avatar-lg {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e2e8f0;
}
.instructor-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.instructor-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}
.instructor-info p {
    font-size: 14px;
    line-height: 1.75;
    color: #64748b;
    margin: 0;
}

/* Share */
.nganh-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}
.share-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.share-btn:hover { border-color: var(--cyan-color); color: var(--cyan-color); }

/* Sidebar */
.nganh-price-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.price-display .old-price {
    font-size: 14px;
    color: #94a3b8;
}
.current-price-lg {
    font-size: 28px;
    font-weight: 800;
    color: var(--cyan-color);
}
.btn-buy-now {
    display: block;
    background: var(--cyan-color);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.btn-buy-now:hover { opacity: 0.85; }

.nganh-features-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.nganh-features-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cyan-color);
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #475569;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list svg { color: var(--cyan-color); flex-shrink: 0; }
.feat-label { flex: 1; color: #94a3b8; }
.feat-val { font-weight: 600; color: #1e293b; text-align: right; }

@media (max-width: 900px) {
    .nganh-single-layout { grid-template-columns: 1fr; }
    .nganh-tab-btn { padding: 10px 14px; font-size: 13px; }
}

/* ==========================================================================
   CONTACT PAGE — page-lien-he.php
   ========================================================================== */

/* ── Hero ── */
.cdhh-page-header {
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.contact-hero-header { min-height: 340px; display: flex; align-items: center; }
.contact-hero-inner { color: #fff; text-align: left; }
.page-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}
.cdhh-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.contact-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin: 0;
    line-height: 1.6;
}

/* ── Breadcrumbs ── */
.cdhh-breadcrumbs-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}
.cdhh-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.cdhh-breadcrumbs a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}
.cdhh-breadcrumbs a:hover { color: var(--primary-color); }

/* ── Stat Bar ── */
.contact-stat-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    box-shadow: var(--shadow-sm);
}
.contact-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid var(--border-color);
}
.contact-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-right: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}
.contact-stat-card:last-child { border-right: none; }
.contact-stat-card:hover { background: #f0fdfa; }
.csc-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.csc-text { display: flex; flex-direction: column; }
.csc-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.csc-val { font-size: 14px; font-weight: 700; color: var(--text-color); line-height: 1.3; margin-top: 2px; }
.csc-val:hover { color: var(--primary-color); }

/* ── Main 2-col Layout ── */
.contact-main-section { padding: 4rem 0; background: var(--bg-secondary); }
.contact-two-col {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    align-items: start;
}

/* ── Info Card (cột trái) ── */
.contact-info-card {
    background: linear-gradient(160deg, var(--primary-dark) 0%, #0c4a6e 100%);
    border-radius: 16px;
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-info-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}
.contact-info-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
.cil-icon {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.cil-zalo { background: rgba(0,102,255,0.25); border-color: rgba(0,102,255,0.4); }
.cil-body { display: flex; flex-direction: column; }
.cil-label { font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.cil-val {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-top: 2px;
}
a.cil-val:hover { color: var(--accent-color); }
.cil-val-link { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 13px; }
.cil-val-link:hover { color: var(--accent-color); }

/* Campus blocks inside info card */
.cic-campus-block { margin-bottom: 1.25rem; }
.cic-campus-block .contact-info-list { margin-bottom: 0; gap: 0.875rem; }
.cic-campus-sub { padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12); }
.cic-campus-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

/* Hotline highlight box */
.cic-hotline-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-top: 1.25rem;
}
.cic-hotline-box svg { flex-shrink: 0; color: var(--accent-color); }
.cic-hotline-box a { color: var(--accent-color); font-weight: 700; }
.cic-hotline-box a:hover { color: #fff; }


/* Social */
.contact-social-row { margin-top: 1.5rem; }
.social-label { font-size: 12px; color: rgba(255,255,255,0.6); display: block; margin-bottom: 10px; }
.social-icons-row { display: flex; gap: 10px; }
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all var(--transition-fast);
}
.social-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.25); color: #fff; }
.social-fb:hover { background: #1877f2; border-color: #1877f2; }
.social-yt:hover { background: #ff0000; border-color: #ff0000; }
.social-zalo:hover { background: #0068ff; border-color: #0068ff; }

/* Decorative circles */
.contact-info-deco { position: absolute; pointer-events: none; }
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}
.deco-c1 { width: 200px; height: 200px; bottom: -80px; right: -60px; }
.deco-c2 { width: 120px; height: 120px; top: -40px; right: 40px; }

/* ── Form Card (cột phải) ── */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.contact-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.contact-form-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Feedback */
.contact-form-feedback {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1.25rem;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.msg-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.msg-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Form Groups */
.cdhh-contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}
.req { color: var(--secondary-color); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-color);
    background: #fff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(36,159,163,0.12);
}
.form-group input.input-error,
.form-group textarea.input-error {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(225,29,72,0.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Submit Button */
.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 14px rgba(36,159,163,0.35);
    letter-spacing: 0.02em;
}
.btn-contact-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36,159,163,0.45);
}
.btn-contact-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.btn-text, .btn-loading { display: inline-flex; align-items: center; gap: 8px; }
.spin { animation: spinAnim 1s linear infinite; }
@keyframes spinAnim { to { transform: rotate(360deg); } }

/* ── Map Section ── */
.contact-map-section { background: #fff; }
.contact-map-header {
    padding: 3rem 0 2rem;
    text-align: center;
    background: #fff;
}
.contact-map-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.contact-map-header p { font-size: 14px; color: var(--text-muted); }
.contact-map-embed {
    width: 100%;
    line-height: 0;
}
.contact-map-embed iframe {
    display: block;
    width: 100%;
    border: none;
    filter: contrast(1.05) saturate(0.95);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .contact-two-col { grid-template-columns: 1fr; }
    .contact-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .contact-stat-grid { grid-template-columns: 1fr 1fr; }
    .contact-stat-card { padding: 1rem; gap: 0.75rem; }
    .csc-icon { width: 36px; height: 36px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .contact-info-card,
    .contact-form-card { padding: 1.75rem 1.5rem; }
    .contact-map-embed iframe { height: 300px; }
    .contact-main-section { padding: 2rem 0; }
    .contact-hero-header { min-height: 260px; }
}

/* -- PARTNERS SECTION -- */
.cdhh-partners-section {
    background: var(--bg-secondary, #f8f9fa);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color, #e2e8f0);
}
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    height: 80px; /* fixed height for swiper slide */
}
.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}
.partner-logo img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 768px) {
    .partner-logo { height: 60px; }
    .partner-logo img { max-height: 45px; }
}
