:root{
    --primary:#0b74b7;
    --primary-dark:#075d96;
    --accent:#12b8a6;
    --soft:#f4f9fc;
    --soft-2:#eef8ff;
    --dark:#12314d;
    --muted:#6b7a8c;
    --border:#e6eef5;
    --shadow:0 18px 40px rgba(18,49,77,.08);
    --radius:24px;
}
*{box-sizing:border-box}
body{
    font-family:'Kanit',sans-serif;
    color:var(--dark);
    background:#fff;
    line-height:1.65;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
.topbar{background:#f9fcff;border-bottom:1px solid var(--border);padding:.55rem 0}
.topbar-link{color:var(--muted)}
.topbar-link:hover{color:var(--primary)}
.main-navbar{box-shadow:0 8px 24px rgba(18,49,77,.06)}
.navbar-brand{max-width:420px}
.brand-logo{height:54px;width:auto;object-fit:contain}
.brand-mark{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--primary),var(--accent));display:grid;place-items:center;color:#fff;font-weight:700;font-size:1.4rem}
.brand-text{font-size:1rem;font-weight:700;line-height:1.2;color:var(--dark)}
.nav-link{font-weight:500;color:var(--dark)!important;border-radius:999px;padding:.55rem .95rem!important}
.nav-link.active,.nav-link:hover{background:var(--soft-2);color:var(--primary)!important}
.btn{border-radius:999px;padding:.65rem 1.15rem;font-weight:500}
.btn-primary{background:var(--primary);border-color:var(--primary)}
.btn-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark)}
.btn-primary-soft{background:#eaf6ff;color:var(--primary);border:1px solid #d7ecfb}
.btn-primary-soft:hover{background:var(--primary);color:#fff}
.section-padding{padding:72px 0}
.section-title{font-weight:700;letter-spacing:-.02em;margin-bottom:.5rem}
.section-kicker{color:var(--primary);font-weight:600;margin-bottom:.25rem}
.section-subtitle{color:var(--muted);max-width:720px}
.hero-section{position:relative;background:linear-gradient(180deg,#fff 0%,#f5fbff 100%);overflow:hidden}
.hero-slide{min-height:560px;display:flex;align-items:center;padding:72px 0;background-size:cover;background-position:center;border-bottom-left-radius:42px;border-bottom-right-radius:42px;position:relative}
.hero-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.72),rgba(255,255,255,.18))}
.hero-content{position:relative;z-index:2;max-width:680px}
.hero-badge{display:inline-flex;align-items:center;gap:.45rem;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:999px;padding:.45rem .85rem;color:var(--primary);font-weight:600;margin-bottom:1rem}
.hero-title{font-size:clamp(2rem,5vw,4.15rem);font-weight:700;line-height:1.1;letter-spacing:-.04em;margin-bottom:1rem}
.hero-desc{font-size:1.13rem;color:#41566d;max-width:620px;margin-bottom:1.5rem}
.quick-actions{margin-top:-48px;position:relative;z-index:5}
.quick-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem;display:flex;gap:1rem;align-items:center;height:100%;transition:.2s}
.quick-card:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(18,49,77,.12)}
.quick-icon{width:56px;height:56px;border-radius:18px;background:#eaf6ff;color:var(--primary);display:grid;place-items:center;font-size:1.35rem;flex:0 0 auto}
.card-clean{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 12px 30px rgba(18,49,77,.06);overflow:hidden;height:100%;transition:.2s}
.card-clean:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card-img-top{height:220px;object-fit:cover;background:var(--soft)}
.clinic-card .clinic-icon{width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,#eaf6ff,#e9fbf8);display:grid;place-items:center;color:var(--primary);font-size:1.6rem;margin-bottom:1rem}
.clinic-card .card-body{padding:1.5rem}
.doctor-card{display:flex;gap:1.15rem;padding:1.1rem;align-items:center}
.doctor-photo{width:124px;height:150px;border-radius:22px;object-fit:cover;background:var(--soft);flex:0 0 auto}
.doctor-small{color:var(--muted);font-size:.95rem}
.price-text{font-size:1.5rem;color:var(--primary);font-weight:700}
.article-meta{font-size:.92rem;color:var(--muted);margin-bottom:.45rem}
.page-hero{background:linear-gradient(135deg,#f7fbff,#edf9f7);padding:64px 0;border-bottom:1px solid var(--border)}
.search-box{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}
.form-control,.form-select{border-radius:14px;border-color:var(--border);padding:.75rem 1rem}
.form-control:focus,.form-select:focus{border-color:#9ad5f6;box-shadow:0 0 0 .25rem rgba(11,116,183,.1)}
.site-footer{background:#f7fbff;border-top:1px solid var(--border)}
.site-footer a{display:block;color:var(--muted);margin:.45rem 0}
.site-footer a:hover{color:var(--primary)}
.footer-title{font-weight:700;margin-bottom:1rem;color:var(--dark)}
.footer-contact{color:var(--muted);margin:.35rem 0}
.footer-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1.4rem;box-shadow:0 12px 30px rgba(18,49,77,.06)}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden}
.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-clamp:3;overflow:hidden}
.admin-sidebar{min-height:100vh;background:#102a43;color:#fff;position:sticky;top:0}
.admin-sidebar a{color:rgba(255,255,255,.76);display:block;padding:.75rem 1rem;border-radius:14px;margin:.15rem 0}
.admin-sidebar a:hover,.admin-sidebar a.active{background:rgba(255,255,255,.1);color:#fff}
.admin-content{background:#f5f8fb;min-height:100vh}
.admin-card{background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:0 10px 28px rgba(18,49,77,.06)}
.table> :not(caption)>*>*{vertical-align:middle}
.thumb{width:88px;height:58px;object-fit:cover;border-radius:14px;background:var(--soft)}
.status-dot{width:10px;height:10px;border-radius:99px;display:inline-block;margin-right:.35rem;background:#20c997}
.status-dot.off{background:#adb5bd}
@media(max-width:991px){
    .hero-slide{min-height:500px;padding:56px 0}
    .quick-actions{margin-top:24px}
    .doctor-card{align-items:flex-start}
    .doctor-photo{width:104px;height:126px}
}
.page-hero {
    padding: 70px 0;
    border-bottom: 1px solid #eef2f7;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #0f172a;
}

.page-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
}

.medical-equipment-card {
    overflow: hidden;
    transition: all 0.25s ease;
}

.medical-equipment-card:hover {
    transform: translateY(-4px);
}

.equipment-image-wrap {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f8fafc;
}

.equipment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef7ff;
    color: #0d6efd;
    font-size: 0.85rem;
    font-weight: 500;
}

.read-more-text {
    color: #0d6efd;
    font-weight: 600;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Banner only */
.banner-only-section {
    background: #ffffff;
    padding: 0;
    margin: 0;
}

.banner-only-carousel .carousel-item {
    background: #ffffff;
}

.banner-only-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 720;
    object-fit: cover;
    display: block;
}

/* ปุ่มเลื่อน banner */
.banner-only-carousel .carousel-control-prev,
.banner-only-carousel .carousel-control-next {
    width: 7%;
}

.banner-only-carousel .carousel-control-prev-icon,
.banner-only-carousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    background-size: 60%;
    background-color: rgba(0, 91, 172, 0.75);
    border-radius: 50%;
}

/* จุด indicator */
.banner-only-carousel .carousel-indicators {
    margin-bottom: 18px;
}

.banner-only-carousel .carousel-indicators [data-bs-target] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #005bac;
}

/* มือถือ */
@media (max-width: 575.98px) {
    .banner-only-img {
        aspect-ratio: 16 / 9;
    }

    .banner-only-carousel .carousel-control-prev-icon,
    .banner-only-carousel .carousel-control-next-icon {
        width: 34px;
        height: 34px;
    }
}


/* Clinic mini card on homepage */
.clinic-mini-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e5eef8;
    border-radius: 22px;
    padding: 20px;
    min-height: 105px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    color: #0f172a;
}

.clinic-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border-color: rgba(13, 110, 253, 0.25);
    color: #0d6efd;
}

/* ปรับ Icon คลินิกหน้าแรกให้ใหญ่ขึ้น */
.clinic-mini-icon {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 26px;
    background: #eafaff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-mini-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.clinic-mini-card {
    min-height: 120px;
    padding: 24px;
}

@media (max-width: 575.98px) {
    .clinic-mini-card {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 20px 12px;
        min-height: 170px;
        gap: 14px;
    }

    .clinic-mini-icon {
        width: 82px;
        height: 82px;
        min-width: 82px;
        border-radius: 24px;
    }

    .clinic-mini-icon img {
        width: 58px;
        height: 58px;
    }

    .clinic-mini-name {
        font-size: 1rem;
    }
}
/* Clinic icon grid style */
.clinic-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    text-align: center;
    padding: 10px 8px 18px;
    transition: all 0.25s ease;
}

.clinic-icon-card:hover {
    color: #004b99;
    transform: translateY(-5px);
}

.clinic-icon-circle {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* กรณี icon ที่อัปโหลดเป็นวงกลมสีน้ำเงินอยู่แล้ว */
.clinic-icon-circle img {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

/* ชื่อคลินิก */
.clinic-icon-title {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.35;
    color: #0066cc;
    max-width: 260px;
    min-height: 46px;
}

.clinic-icon-card:hover .clinic-icon-title {
    color: #004b99;
}

/* Responsive */
@media (max-width: 991.98px) {
    .clinic-icon-circle,
    .clinic-icon-circle img {
        width: 112px;
        height: 112px;
    }

    .clinic-icon-title {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .clinic-icon-circle,
    .clinic-icon-circle img {
        width: 96px;
        height: 96px;
    }

    .clinic-icon-title {
        font-size: 0.92rem;
        min-height: auto;
    }
}
/* Topbar blue */
.topbar-blue {
    background: #003f7f;
    color: #ffffff;
    border-bottom: none;
    padding: 9px 0;
}

.topbar-blue .topbar-text {
    color: #ffffff;
}

.topbar-blue .topbar-link {
    color: #ffffff;
    font-weight: 400;
    transition: all 0.2s ease;
}

.topbar-blue .topbar-link:hover {
    color: #dff1ff;
    text-decoration: underline;
}
.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Footer blue */
.footer-blue {
    background: linear-gradient(135deg, #004b93 0%, #003f7f 48%, #0072ce 100%);
    color: #ffffff;
}

.footer-blue .footer-brand {
    color: #ffffff;
    font-weight: 700;
}

.footer-blue .footer-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.footer-blue .footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-blue a {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.footer-blue a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-blue .footer-contact {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.footer-blue .footer-contact a {
    display: inline;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: 600;
}

.footer-blue .footer-hotline-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    padding: 28px;
    height: 100%;
    backdrop-filter: blur(8px);
}

.footer-blue .footer-hotline-label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-blue .footer-hotline-phone {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer-blue .footer-hotline-desc {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.footer-blue .footer-line {
    border-color: rgba(255, 255, 255, 0.22);
    opacity: 1;
}

.footer-blue .footer-bottom {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

/* Mobile footer */
@media (max-width: 575.98px) {
    .footer-blue {
        text-align: center;
    }

    .footer-blue a:hover {
        transform: none;
    }

    .footer-blue .footer-hotline-card {
        padding: 24px 18px;
    }

    .footer-blue .footer-hotline-phone {
        font-size: 1.6rem;
    }
}
/* About page demo layout */
.about-hero {
    background:
        radial-gradient(circle at top right, rgba(0, 91, 172, 0.13), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-overview-section {
    margin-top: -32px;
    position: relative;
    z-index: 4;
}

.about-overview-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    padding: 34px;
}

.about-overview-title {
    color: #0f172a;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.about-overview-desc {
    color: #64748b;
    line-height: 1.9;
    font-size: 1.03rem;
}

.about-stat-card {
    background: #f8fafc;
    border: 1px solid #e5eef8;
    border-radius: 22px;
    padding: 22px 16px;
    text-align: center;
    height: 100%;
}

.about-stat-number {
    color: #005bac;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.about-stat-label {
    color: #64748b;
    margin-top: 6px;
    font-size: 0.95rem;
}

.about-section-list {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.about-block {
    background: #ffffff;
}

.about-image-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    background: #f8fafc;
}

.about-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-image-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 11px 15px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 0.92rem;
    backdrop-filter: blur(6px);
}

.about-content {
    padding: 10px 0;
}

.about-subtitle {
    display: inline-flex;
    align-items: center;
    color: #005bac;
    background: #eef7ff;
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.about-title {
    color: #0f172a;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.about-short {
    color: #005bac;
    font-size: 1.08rem;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 16px;
}

.about-detail {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.95;
}

.about-value-section {
    background: #f8fafc;
    padding: 80px 0;
}

.about-value-card {
    background: #ffffff;
    border: 1px solid #e5eef8;
    border-radius: 26px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.about-value-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #005bac;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 18px;
}

.about-value-card h5 {
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-value-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-cta-section {
    padding: 70px 0 20px;
}

.about-cta-card {
    background: linear-gradient(135deg, #004b93 0%, #005bac 48%, #0072ce 100%);
    color: #ffffff;
    border-radius: 30px;
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 18px 45px rgba(0, 91, 172, 0.18);
}

.about-cta-card p {
    color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 991.98px) {
    .about-overview-section {
        margin-top: 0;
        padding-top: 32px;
    }

    .about-section-list {
        gap: 48px;
    }

    .about-image {
        height: 330px;
    }

    .about-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .about-overview-card {
        padding: 24px;
        border-radius: 24px;
    }

    .about-image {
        height: 240px;
    }

    .about-image-caption {
        position: static;
        border-radius: 0;
    }

    .about-value-section {
        padding: 54px 0;
    }

    .about-cta-card {
        padding: 28px 22px;
        border-radius: 24px;
    }
}

/* HR Recruitment Module */
.career-hero {
    background:
        radial-gradient(circle at top right, rgba(0, 91, 172, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.career-card {
    overflow: hidden;
}

.career-card-image {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    background: #f8fafc;
}

.career-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef7ff;
    color: #005bac;
    font-size: 0.86rem;
    font-weight: 600;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.career-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e5eef8;
    font-size: 0.9rem;
}

.career-side-card {
    top: 110px;
}

.career-detail-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 20px;
    background: #f8fafc;
}

.career-detail-list {
    display: grid;
    gap: 9px;
    color: #475569;
}

.hr-status-badge {
    font-weight: 600;
}

.hr-status-new {
    color: #005bac !important;
    background: #eef7ff !important;
}

.hr-status-reviewing {
    color: #92400e !important;
    background: #fffbeb !important;
}

.hr-status-interview {
    color: #6d28d9 !important;
    background: #f5f3ff !important;
}

.hr-status-accepted {
    color: #047857 !important;
    background: #ecfdf5 !important;
}

.hr-status-rejected {
    color: #b91c1c !important;
    background: #fef2f2 !important;
}

.admin-menu-group-label {
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 18px 12px 6px;
}

@media (max-width: 767.98px) {
    .career-card-image {
        height: 220px;
        min-height: 220px;
    }
}
/* Admin Sidebar Group */
.admin-sidebar {
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    min-height: 100vh;
}

.admin-sidebar-brand h5 {
    color: #0f172a;
}

.admin-menu-group {
    margin-bottom: 22px;
}

.admin-menu-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    padding-left: 10px;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    color: #334155;
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-sidebar a:hover {
    background: #eef7ff;
    color: #005bac;
}

.admin-sidebar a.active {
    background: #005bac;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 91, 172, 0.18);
}

.admin-sidebar a.text-danger {
    color: #dc3545;
}

.admin-sidebar a.text-danger:hover {
    background: #fff1f2;
    color: #b91c1c;
}

/* About page redesign */
.about-new-hero{position:relative;padding:82px 0 58px;background:radial-gradient(circle at top right,rgba(0,91,172,.12),transparent 36%),linear-gradient(180deg,#fff 0%,#f8fbff 100%);overflow:hidden}.about-new-hero:before{content:"";position:absolute;left:-80px;top:60px;width:220px;height:220px;border-radius:50%;background:rgba(0,91,172,.06)}.about-new-hero-title{color:#0f172a;font-size:clamp(2.2rem,4.4vw,4rem);font-weight:800;line-height:1.16;margin:12px 0 18px}.about-new-hero-desc{color:#526174;font-size:1.08rem;line-height:1.9;max-width:680px;margin-bottom:24px}.about-hero-actions{display:flex;flex-wrap:wrap;gap:12px}.about-hero-image-card{position:relative;border-radius:34px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(15,23,42,.12);border:1px solid #e5eef8}.about-hero-image{width:100%;height:420px;object-fit:cover;object-position:center;display:block}.about-hero-floating-card{position:absolute;left:22px;right:22px;bottom:22px;display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 12px 28px rgba(15,23,42,.12);backdrop-filter:blur(8px)}.about-floating-number{width:54px;height:54px;flex:0 0 54px;border-radius:18px;background:#005bac;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}.about-summary-section{margin-top:-22px;position:relative;z-index:4;padding-bottom:52px}.about-summary-card{background:#fff;border:1px solid #e5eef8;border-radius:30px;box-shadow:0 18px 45px rgba(15,23,42,.08);padding:34px}.about-summary-title{color:#0f172a;font-size:clamp(1.55rem,3vw,2.35rem);font-weight:800;line-height:1.32;margin-bottom:12px}.about-summary-desc{color:#64748b;line-height:1.9;font-size:1.02rem}.about-mini-stat{background:#f8fafc;border:1px solid #e5eef8;border-radius:22px;padding:20px 14px;text-align:center;height:100%}.about-mini-stat-number{color:#005bac;font-size:1.65rem;font-weight:800;line-height:1.15}.about-mini-stat-label{color:#64748b;font-size:.92rem;margin-top:5px}.about-anchor-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.about-anchor-list a{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;background:#eef7ff;color:#005bac;font-weight:600;font-size:.92rem;transition:all .2s ease}.about-anchor-list a:hover{background:#005bac;color:#fff}.about-content-section{padding:22px 0 80px}.about-section-list{display:flex;flex-direction:column;gap:72px}.about-new-block{scroll-margin-top:120px}.about-new-image-wrap{position:relative;border-radius:32px;overflow:hidden;background:#f8fafc;border:1px solid #e5eef8;box-shadow:0 18px 45px rgba(15,23,42,.1)}.about-new-image{width:100%;height:440px;object-fit:cover;object-position:center;display:block}.about-image-number{position:absolute;top:18px;left:18px;z-index:2;width:58px;height:58px;border-radius:18px;background:#005bac;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;box-shadow:0 10px 24px rgba(0,91,172,.28)}.about-new-image-caption{position:absolute;left:18px;right:18px;bottom:18px;padding:12px 15px;border-radius:18px;background:rgba(15,23,42,.72);color:#fff;font-size:.92rem;line-height:1.5;backdrop-filter:blur(7px)}.about-new-text-card{padding:14px 0}.about-new-subtitle{display:inline-flex;color:#005bac;background:#eef7ff;border-radius:999px;padding:8px 15px;font-weight:700;margin-bottom:16px}.about-new-title{color:#0f172a;font-size:clamp(1.65rem,3.4vw,2.65rem);font-weight:800;line-height:1.25;margin-bottom:16px}.about-new-short{color:#005bac;font-size:1.08rem;line-height:1.85;font-weight:600;margin-bottom:18px}.about-new-detail{color:#475569;font-size:1.02rem;line-height:2}.about-value-section-new{background:radial-gradient(circle at top left,rgba(0,91,172,.08),transparent 38%),#f8fafc}@media(max-width:991.98px){.about-new-hero{padding:56px 0 42px}.about-hero-image{height:350px}.about-summary-section{margin-top:0;padding-top:28px}.about-section-list{gap:54px}.about-new-image{height:350px}}@media(max-width:575.98px){.about-new-hero{padding:44px 0 30px}.about-hero-actions{flex-direction:column}.about-hero-actions .btn{width:100%}.about-hero-image{height:270px}.about-hero-floating-card{position:static;border-radius:0;box-shadow:none;background:#fff}.about-summary-card{padding:24px;border-radius:24px}.about-anchor-list a{width:100%;justify-content:center}.about-content-section{padding-bottom:54px}.about-new-image{height:250px}.about-new-image-caption{position:static;border-radius:0}.about-image-number{width:48px;height:48px;border-radius:15px}}


/* About hero slider */
.about-hero-slider-card {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5eef8;
}

.about-hero-slide-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-hero-indicators {
    bottom: 72px;
    margin-bottom: 0;
}

.about-hero-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.7;
}

.about-hero-indicators .active {
    opacity: 1;
    background-color: #005bac;
}

.about-hero-control {
    width: 42px;
}

.about-hero-control .carousel-control-prev-icon,
.about-hero-control .carousel-control-next-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: rgba(0, 91, 172, 0.72);
    background-size: 55%;
}

@media (max-width: 991.98px) {
    .about-hero-slide-image {
        height: 350px;
    }
}

@media (max-width: 575.98px) {
    .about-hero-slide-image {
        height: 250px;
    }

    .about-hero-indicators {
        bottom: 12px;
    }
}

/* =========================================================
   MSI Hospital V1.1 - Frontend/Admin Refresh
   ========================================================= */
:root {
    --v11-primary: #005bac;
    --v11-primary-dark: #003f7f;
    --v11-cyan: #09a9c7;
    --v11-bg: #f7fbff;
    --v11-card: #ffffff;
    --v11-text: #0f172a;
    --v11-muted: #64748b;
    --v11-line: #dce9f7;
    --v11-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

body {
    background: #ffffff;
}

.main-navbar {
    border-bottom: 1px solid rgba(220, 233, 247, .85);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.dropdown-menu {
    padding: .65rem;
}

.dropdown-item {
    border-radius: 12px;
    padding: .7rem .9rem;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: #eef7ff;
    color: var(--v11-primary);
}

.card-clean,
.admin-card {
    border: 1px solid var(--v11-line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}

/* V1.1 Admin visual editor */
.v11-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.v11-kicker {
    color: var(--v11-primary);
    font-weight: 800;
    font-size: .88rem;
    letter-spacing: .02em;
    margin-bottom: .35rem;
}

.v11-frontend-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.v11-page-card {
    background: #ffffff;
    border: 1px solid var(--v11-line);
    border-radius: 26px;
    padding: 24px;
    box-shadow: var(--v11-shadow);
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.v11-page-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.v11-page-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef7ff;
    color: var(--v11-primary);
    font-weight: 800;
    padding: 8px 14px;
}

.v11-page-stat {
    text-align: right;
}

.v11-page-stat strong {
    display: block;
    color: var(--v11-text);
    font-size: 1.55rem;
    line-height: 1;
}

.v11-page-stat span {
    display: block;
    color: var(--v11-muted);
    font-size: .82rem;
    margin-top: 4px;
}

.v11-layout-flow {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.v11-layout-section {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.v11-layout-number {
    border-radius: 24px;
    background: linear-gradient(135deg, var(--v11-primary), var(--v11-cyan));
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 14px 30px rgba(0, 91, 172, .20);
}

.v11-layout-body {
    background: #ffffff;
    border: 1px solid var(--v11-line);
    border-radius: 26px;
    padding: 24px;
    box-shadow: var(--v11-shadow);
}

.v11-mini-counter {
    background: #f8fbff;
    border: 1px solid var(--v11-line);
    border-radius: 22px;
    padding: 18px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.v11-mini-counter strong {
    color: var(--v11-primary);
    font-size: 2rem;
    line-height: 1;
}

.v11-mini-counter span {
    color: var(--v11-muted);
    font-size: .86rem;
    margin-top: 6px;
}

.v11-thumb-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v11-thumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--v11-line);
    border-radius: 16px;
    padding: 7px;
    background: #f8fbff;
}

.v11-thumb-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 12px;
    background: #e2e8f0;
}

.v11-thumb-item span {
    font-size: .86rem;
    font-weight: 600;
    color: var(--v11-text);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v11-empty-preview {
    border: 1px dashed #bcd7ef;
    border-radius: 20px;
    padding: 22px;
    text-align: center;
    color: var(--v11-muted);
    background: #f8fbff;
}

.v11-live-preview {
    background: #f8fbff;
    border: 1px solid var(--v11-line);
    border-radius: 26px;
    padding: 24px;
    height: 100%;
}

.v11-quick-link {
    display: block;
    height: 100%;
    border: 1px solid var(--v11-line);
    border-radius: 24px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .055);
    transition: all .2s ease;
}

.v11-quick-link strong {
    display: block;
    color: var(--v11-text);
    font-weight: 800;
    margin-bottom: 6px;
}

.v11-quick-link span {
    color: var(--v11-muted);
    font-size: .9rem;
}

.v11-quick-link:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 91, 172, .35);
    box-shadow: 0 16px 36px rgba(0, 91, 172, .12);
}

.admin-sidebar {
    background: #ffffff;
    border-right: 1px solid var(--v11-line);
}

.admin-menu-group {
    margin-bottom: 20px;
}

.admin-menu-title {
    color: #94a3b8;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    margin: 0 0 8px 10px;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    color: #334155;
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s ease;
}

.admin-sidebar a:hover {
    background: #eef7ff;
    color: var(--v11-primary);
}

.admin-sidebar a.active {
    background: var(--v11-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 91, 172, .18);
}

@media (max-width: 1199.98px) {
    .v11-frontend-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .v11-page-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .v11-frontend-map {
        grid-template-columns: 1fr;
    }

    .v11-layout-section {
        grid-template-columns: 1fr;
    }

    .v11-layout-number {
        min-height: auto;
        padding: 12px;
        border-radius: 18px;
    }
}
/* About award full image - FIX แสดงรูปเต็ม ไม่ครอป */
.about-award-section {
    padding: 70px 0;
    background: #ffffff;
}

.about-award-section .container-xl {
    max-width: 1280px;
}

.about-award-full-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce9f7;
    border-radius: 30px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.about-award-full-img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background: #f8fafc;
}

.about-award-full-content {
    padding: 28px 34px 34px;
}

@media (max-width: 575.98px) {
    .about-award-section {
        padding: 42px 0;
    }

    .about-award-section .container-xl {
        padding-left: 12px;
        padding-right: 12px;
    }

    .about-award-full-card {
        border-radius: 18px;
    }

    .about-award-full-content {
        padding: 22px;
    }
}

/* About executive full image */
.about-executive-full-card {
    overflow: hidden;
}

.about-executive-img-wrap {
    width: 100%;
    background: #f8fafc;
    border-bottom: 1px solid #e5eef8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.about-executive-img-full {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f8fafc;
}

/* ถ้ารูปสูงมากเกินไป ให้จำกัดความสูงได้ */
@media (min-width: 768px) {
    .about-executive-img-wrap {
        min-height: 320px;
    }

    .about-executive-img-full {
        max-height: 520px;
    }
}

@media (max-width: 575.98px) {
    .about-executive-img-wrap {
        min-height: auto;
    }

    .about-executive-img-full {
        max-height: none;
    }
}
/* About values align left */
.about-values-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.about-values-wrap h2,
.about-values-title {
    text-align: center;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 22px;
}

.about-values-list {
    text-align: left !important;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.about-values-list p {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 6px;
    align-items: start;
    margin-bottom: 10px;
    color: #284664;
    line-height: 1.65;
}

.about-values-list strong {
    text-align: right;
    color: #0f172a;
    font-weight: 700;
}

.clinics-grid .clinic-card-image-wrap {
    width: 100%;
    height: 240px;
    background: #f8fafc;
    border-bottom: 1px solid #e5eef8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.clinics-grid .clinic-card-image-full {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center;
    display: block;
    padding: 14px;
    background: #f8fafc;
}