/* Modern homepage content sections: news, activities and health knowledge. */
.nh-home .nh-news-portal-section {
    position: relative;
    overflow: hidden;
    padding: 40px 0 28px;
    background: linear-gradient(180deg,#eef8f8 0%,#f7fbfd 100%);
}
.nh-home .nh-news-portal-section::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -220px;
    top: -260px;
    border: 72px solid rgba(8,116,91,.045);
    border-radius: 50%;
}
.nh-home .nh-news-portal-section .nh-section-head { position: relative; z-index: 1; margin-bottom: 27px; }
.nh-home .nh-news-portal-section .nh-section-kicker { display: inline-flex; align-items: center; gap: 8px; }
.nh-home .nh-news-portal-section .nh-section-kicker::before { content: ''; width: 24px; height: 3px; border-radius: 999px; background: currentColor; }
.nh-home .nh-news-portal-section .nh-section-title { font-size: clamp(30px,3vw,42px); letter-spacing: -.02em; }
.nh-home .nh-news-portal-section .nh-text-link { min-height: 42px; padding: 9px 15px; border: 1px solid rgba(8,116,91,.16); border-radius: 999px; background: #fff; box-shadow: 0 7px 20px rgba(6,78,59,.06); }
.nh-home .nh-news-portal { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(8,116,91,.12); border-radius: 28px; background: #fff; box-shadow: 0 22px 56px rgba(6,78,59,.10); }
.nh-home .nh-news-tabs { padding: 14px 18px 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; border-bottom: 1px solid #dceae7; background: linear-gradient(180deg,#f0f7fb,#edf6f7); }
.nh-home .nh-news-tab {
    position: relative;
    min-width: 0;
    min-height: 88px;
    padding: 13px 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    color: #42665f;
    background: transparent;
    font-family: 'Kanit',sans-serif;
    cursor: pointer;
    transition: .2s ease;
}
.nh-home .nh-news-tab > i { color: #1476c9; font-size: 20px; }
.nh-home .nh-news-tab > span { overflow: hidden; max-width: 100%; font-size: 12px; font-weight: 500; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.nh-home .nh-news-tab:hover { color: #08745b; background: rgba(255,255,255,.55); }
.nh-home .nh-news-tab.is-active { color: #08745b; border-color: #d5e6e1; background: #fff; box-shadow: 0 -4px 18px rgba(6,78,59,.06); }
.nh-home .nh-news-tab.is-active::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 999px 999px 0 0; background: #11a57f; }
.nh-home .nh-news-tab.is-active > i { color: #0b9a76; }
.nh-home .nh-news-panels { padding: 28px; }
.nh-home .nh-news-panel[hidden] { display: none !important; }
.nh-home .nh-portal-card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.nh-home .nh-portal-news-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid #dceae7; border-radius: 20px; color: #102d28; background: #fff; box-shadow: 0 9px 24px rgba(6,78,59,.06); text-decoration: none; transition: .24s ease; }
.nh-home .nh-portal-news-card:hover { color: #102d28; border-color: #9ddacb; box-shadow: 0 18px 36px rgba(6,78,59,.12); transform: translateY(-5px); }
.nh-home .nh-portal-news-image { position: relative; height: 190px; overflow: hidden; background: #e1eeeb; }
.nh-home .nh-portal-news-image::after { content: ''; position: absolute; inset: auto 0 0; height: 36%; background: linear-gradient(0deg,rgba(3,45,37,.24),transparent); }
.nh-home .nh-portal-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.nh-home .nh-portal-news-card:hover img { transform: scale(1.035); }
.nh-home .nh-portal-news-body { flex: 1; padding: 18px; display: flex; flex-direction: column; }
.nh-home .nh-portal-news-body h3 { display: -webkit-box; overflow: hidden; min-height: 70px; margin: 10px 0 15px; color: #10352e; font-size: 16px; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.nh-home .nh-portal-news-body .nh-card-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid #edf3f1; }
.nh-home .nh-portal-list { overflow: hidden; border: 1px solid #d9e6e3; border-radius: 18px; }
.nh-home .nh-portal-list-head,
.nh-home .nh-portal-list-row { display: grid; grid-template-columns: minmax(0,1fr) 190px 145px; align-items: center; }
.nh-home .nh-portal-list-head { min-height: 48px; color: #173d35; background: #eaf5f2; font-size: 11px; font-weight: 600; }
.nh-home .nh-portal-list-head span { height: 100%; padding: 13px 15px; display: flex; align-items: center; border-right: 1px solid #d2e4df; }
.nh-home .nh-portal-list-head span:last-child { border-right: 0; }
.nh-home .nh-portal-list-row { min-height: 66px; color: #375b53; background: #fff; border-top: 1px solid #e1ebe8; text-decoration: none; transition: .18s; }
.nh-home .nh-portal-list-row:nth-child(odd) { background: #f8fbfa; }
.nh-home .nh-portal-list-row:hover { color: #08745b; background: #edfaf6; }
.nh-home .nh-portal-list-row > span,
.nh-home .nh-portal-list-row > time { height: 100%; padding: 13px 15px; display: flex; align-items: center; border-right: 1px solid #e1ebe8; font-size: 11px; }
.nh-home .nh-portal-list-row > time { border-right: 0; color: #fff; background: #1682db; font-size: 10px; font-weight: 600; justify-self: start; align-self: center; height: auto; margin-left: 14px; padding: 5px 8px; border-radius: 7px; }
.nh-home .nh-portal-list-title { gap: 8px; }
.nh-home .nh-portal-list-title > i:first-child { color: #102d28; }
.nh-home .nh-portal-list-title > i:last-child { color: #0b9a76; }
.nh-home .nh-portal-list-title strong { font-size: 12px; font-weight: 500; }
.nh-home .nh-portal-empty { min-height: 215px; padding: 35px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #bad6cf; border-radius: 18px; color: #66837c; background: #f8fbfa; text-align: center; }
.nh-home .nh-portal-empty > i { margin-bottom: 11px; color: #9abbb3; font-size: 34px; }
.nh-home .nh-portal-empty strong { color: #294d45; font-size: 16px; }
.nh-home .nh-portal-empty span { margin-top: 3px; font-size: 11px; }
.nh-home .nh-portal-footer { margin-top: 22px; display: flex; justify-content: center; }
.nh-home .nh-portal-footer a { min-height: 40px; padding: 9px 15px; display: inline-flex; align-items: center; gap: 8px; border-radius: 9px; color: #fff; background: #07835f; box-shadow: 0 8px 18px rgba(7,131,95,.18); font-size: 11px; font-weight: 500; text-decoration: none; }
.nh-home .nh-portal-footer a:hover { color: #fff; background: #056f50; transform: translateY(-2px); }

.nh-home .nh-editorial-section { padding: 72px 0; }

.nh-home .nh-editorial-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 92% 6%,rgba(30,181,143,.12),transparent 28%), linear-gradient(180deg,#f4fbf9 0%,#eef8f5 100%);
}
.nh-home .nh-editorial-section::before {
    content: ''; position: absolute; width: 360px; height: 360px; left: -210px; bottom: -210px;
    border: 58px solid rgba(8,116,91,.05); border-radius: 50%;
}
.nh-home .nh-activities-section { background: #fff; }
.nh-home .nh-knowledge-section { background: radial-gradient(circle at 8% 88%,rgba(228,87,46,.08),transparent 25%), linear-gradient(180deg,#f7fcfa,#eef8f5); }
.nh-home .nh-editorial-section .nh-section-head,
.nh-home .nh-activities-section .nh-section-head,
.nh-home .nh-knowledge-section .nh-section-head { position: relative; z-index: 1; margin-bottom: 28px; }
.nh-home .nh-editorial-section .nh-section-kicker,
.nh-home .nh-activities-section .nh-section-kicker,
.nh-home .nh-knowledge-section .nh-section-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.nh-home .nh-editorial-section .nh-section-kicker::before,
.nh-home .nh-activities-section .nh-section-kicker::before,
.nh-home .nh-knowledge-section .nh-section-kicker::before { content: ''; width: 24px; height: 3px; border-radius: 999px; background: currentColor; }
.nh-home .nh-editorial-section .nh-section-title,
.nh-home .nh-activities-section .nh-section-title,
.nh-home .nh-knowledge-section .nh-section-title { font-size: clamp(30px,3vw,42px); letter-spacing: -.02em; }
.nh-home .nh-editorial-section .nh-section-description,
.nh-home .nh-activities-section .nh-section-description,
.nh-home .nh-knowledge-section .nh-section-description { margin-top: 7px; }
.nh-home .nh-editorial-section .nh-text-link,
.nh-home .nh-activities-section .nh-text-link,
.nh-home .nh-knowledge-section .nh-text-link {
    min-height: 42px; padding: 9px 15px; border: 1px solid rgba(8,116,91,.16); border-radius: 999px;
    background: rgba(255,255,255,.76); box-shadow: 0 7px 20px rgba(6,78,59,.06);
}

/* News editorial layout */
.nh-home .nh-editorial-section .nh-news-layout { position: relative; z-index: 1; grid-template-columns: minmax(0,1.16fr) minmax(390px,.84fr); gap: 20px; align-items: stretch; }
.nh-home .nh-editorial-section .nh-feature-card {
    position: relative; min-height: 430px; border: 0; border-radius: 28px; background: #073c32;
    box-shadow: 0 22px 55px rgba(6,61,51,.18);
}
.nh-home .nh-editorial-section .nh-feature-card::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg,rgba(2,22,18,.03) 24%,rgba(3,40,33,.32) 54%,rgba(3,34,29,.96) 100%); pointer-events: none;
}
.nh-home .nh-editorial-section .nh-feature-image { position: absolute; inset: 0; height: 100%; background: #163f37; }
.nh-home .nh-editorial-section .nh-feature-image img { object-position: center; filter: saturate(.94) contrast(1.04); }
.nh-home .nh-editorial-section .nh-feature-body { position: absolute; z-index: 2; inset: auto 0 0; padding: 34px; color: #fff; }
.nh-home .nh-editorial-section .nh-badge { color: #064e3b; background: #d9faed; }
.nh-home .nh-editorial-section .nh-feature-body h3 { max-width: 760px; margin: 13px 0 12px; color: #fff; font-size: clamp(21px,2.1vw,29px); line-height: 1.42; }
.nh-home .nh-editorial-section .nh-feature-body .nh-card-meta { color: #d4e9e3; }
.nh-home .nh-editorial-section .nh-news-list {
    display: grid; align-content: start; gap: 10px; padding: 17px; border: 1px solid rgba(8,116,91,.12);
    border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 18px 46px rgba(6,78,59,.09);
}
.nh-home .nh-news-list-head { min-height: 46px; padding: 3px 5px 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e4efec; }
.nh-home .nh-news-list-head strong { color: #073c32; font-size: 15px; }
.nh-home .nh-news-list-head span { color: #64817a; font-size: 10px; }
.nh-home .nh-news-list-head i { color: #e4572e; }
.nh-home .nh-editorial-section .nh-news-item { min-height: 78px; padding: 10px 12px; border-color: transparent; border-radius: 15px; background: #f5faf8; }
.nh-home .nh-editorial-section .nh-news-item:hover { border-color: #b7e8da; background: #fff; transform: translateX(4px); }
.nh-home .nh-editorial-section .nh-news-date { height: 54px; background: #e7f8f3; }
.nh-home .nh-editorial-section .nh-news-item h3 { margin-bottom: 4px; line-height: 1.4; }

/* Activities image gallery */
.nh-home .nh-activities-section { padding: 32px 0 30px; background: #edfafb; }
.nh-home .nh-activity-gallery-head { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.nh-home .nh-activity-gallery-head h2 { margin: 0; display: flex; align-items: center; justify-content: center; gap: 14px; color: #102d28; font-size: clamp(23px,2.25vw,32px); line-height: 1.25; }
.nh-home .nh-activity-gallery-head h2::before,
.nh-home .nh-activity-gallery-head h2::after { content: ''; width: 42px; height: 2px; border-radius: 999px; background: #2b9bd3; }
.nh-home .nh-activity-gallery-head p { margin: 8px 0 17px; color: #607a80; font-size: 11px; }
.nh-home .nh-activity-gallery-head > a { min-height: 38px; padding: 9px 14px; display: inline-flex; align-items: center; gap: 7px; border-radius: 5px; color: #fff; background: #1577df; box-shadow: 0 7px 16px rgba(21,119,223,.18); font-size: 11px; font-weight: 500; text-decoration: none; transition: .2s ease; }
.nh-home .nh-activity-gallery-head > a:hover { color: #fff; background: #0c65c5; transform: translateY(-2px); }
.nh-home .nh-activity-grid { width: min(100%,1080px); margin: 0 auto; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px 14px; }
.nh-home .nh-activity-poster { min-width: 0; padding: 7px; display: block; border: 1px solid #e0e9ea; border-radius: 7px; color: #fff; background: #fff; box-shadow: 0 7px 18px rgba(28,77,84,.12); text-decoration: none; transition: .22s ease; }
.nh-home .nh-activity-poster:hover { color: #fff; border-color: #b7dce4; box-shadow: 0 14px 28px rgba(28,77,84,.18); transform: translateY(-3px); }
.nh-home .nh-activity-poster-media { position: relative; overflow: hidden; aspect-ratio: 210/297; border-radius: 3px; background: linear-gradient(145deg,#f8fbfb,#edf5f5); }
.nh-home .nh-activity-poster-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .32s ease; }
.nh-home .nh-activity-poster-media.is-onepage .nh-activity-poster-image { object-fit: contain; object-position: top center; }
.nh-home .nh-activity-poster:hover .nh-activity-poster-image { transform: scale(1.012); }

/* Health hub */
.nh-home .nh-knowledge-section { position: relative; overflow: hidden; padding: 32px 0 48px; background: radial-gradient(circle at 86% 12%,rgba(32,189,149,.13),transparent 24%),linear-gradient(180deg,#f7fcfb,#eef8f5); }
.nh-home .nh-knowledge-section::after { content: ''; position: absolute; left: -120px; bottom: -150px; width: 310px; height: 310px; border: 50px solid rgba(8,116,91,.045); border-radius: 50%; pointer-events: none; }
.nh-home .nh-knowledge-section .nh-section-head { margin-bottom: 24px; }
.nh-home .nh-health-hub { position: relative; z-index: 1; grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1.18fr) minmax(320px,.82fr); gap: 16px; }
.nh-home .nh-health-feature {
    position: relative; overflow: hidden; min-height: 260px; padding: 28px; display: grid;
    grid-template-columns: 60px minmax(0,1fr); grid-template-rows: 1fr auto; align-items: start; gap: 18px;
    border: 1px solid rgba(255,255,255,.14); border-radius: 26px; color: #fff;
    background: radial-gradient(circle at 78% 12%,rgba(53,226,180,.26),transparent 26%),linear-gradient(135deg,#042f2a 0%,#076b57 48%,#0ca47d 100%);
    box-shadow: 0 24px 56px rgba(4,67,56,.22); text-decoration: none;
}
.nh-home .nh-health-feature::before { content: ''; position: absolute; width: 300px; height: 300px; right: -105px; bottom: -165px; border: 54px solid rgba(255,255,255,.06); border-radius: 50%; }
.nh-home .nh-health-feature:hover { color: #fff; box-shadow: 0 30px 66px rgba(4,67,56,.27); transform: translateY(-4px); }
.nh-home .nh-health-feature-icon { position: relative; z-index: 2; width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.26); border-radius: 19px; background: rgba(255,255,255,.12); box-shadow: inset 0 1px rgba(255,255,255,.16); font-size: 24px; }
.nh-home .nh-health-feature-watermark { position: absolute; right: 30px; top: 22px; color: rgba(255,255,255,.08); font-size: 94px; transform: rotate(-8deg); }
.nh-home .nh-health-feature-copy { position: relative; z-index: 2; display: block; }
.nh-home .nh-health-feature-copy small { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #8ff3d4; font-size: 10px; font-weight: 700; letter-spacing: 1.35px; }
.nh-home .nh-health-feature-copy strong { display: block; max-width: 590px; font-size: clamp(23px,2.05vw,30px); line-height: 1.28; }
.nh-home .nh-health-feature-copy > span:not(.nh-health-feature-tags) { display: block; max-width: 560px; margin-top: 8px; color: #d5eee7; font-size: 12px; line-height: 1.6; }
.nh-home .nh-health-feature-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.nh-home .nh-health-feature-tags b { padding: 5px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #e9fff8; background: rgba(255,255,255,.09); font-size: 9px; font-weight: 500; }
.nh-home .nh-health-feature-tags i { margin-right: 4px; color: #72ecc8; }
.nh-home .nh-health-feature-action { position: relative; z-index: 2; grid-column: 2; align-self: end; justify-self: start; min-height: 39px; padding: 8px 15px; display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; color: #064e3b; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.11); font-size: 11px; font-weight: 600; }
.nh-home .nh-health-shortcuts { display: grid; gap: 10px; }
.nh-home .nh-health-shortcuts a {
    min-height: 80px; padding: 12px 14px; display: grid; grid-template-columns: 46px minmax(0,1fr) 30px;
    align-items: center; gap: 12px; border: 1px solid rgba(8,116,91,.11); border-radius: 18px; color: #073c32;
    background: rgba(255,255,255,.92); box-shadow: 0 12px 28px rgba(6,78,59,.075); text-decoration: none; transition: .22s ease;
}
.nh-home .nh-health-shortcuts a:hover { color: #073c32; border-color: #8fd9c7; box-shadow: 0 17px 34px rgba(6,78,59,.12); transform: translateX(5px); }
.nh-home .nh-health-shortcuts a > i:first-child { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: #08745b; background: linear-gradient(145deg,#e5faf4,#d8f5ec); font-size: 18px; }
.nh-home .nh-health-shortcuts a:nth-child(2) > i:first-child { color: #c96b12; background: linear-gradient(145deg,#fff7e9,#ffedcc); }
.nh-home .nh-health-shortcuts a:nth-child(3) > i:first-child { color: #3c65a8; background: linear-gradient(145deg,#f1f5ff,#e4ecff); }
.nh-home .nh-health-shortcuts strong { display: block; font-size: 14px; }
.nh-home .nh-health-shortcuts small { display: block; margin-top: 2px; color: #6b837d; font-size: 9.5px; line-height: 1.4; }
.nh-home .nh-health-shortcut-arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #08745b; background: #eff9f6; font-size: 10px; transition: .2s ease; }
.nh-home .nh-health-shortcuts a:hover .nh-health-shortcut-arrow { color: #fff; background: #08745b; transform: translateX(2px); }
.nh-home .nh-knowledge-grid > .nh-content-card { border: 0; border-radius: 24px; box-shadow: 0 14px 35px rgba(6,78,59,.09); }

/* Transparency center */
.nh-home .nh-trust-section { padding: 46px 0 32px; background: radial-gradient(circle at 9% 18%,rgba(20,158,130,.08),transparent 25%),#fff; }
.nh-home .nh-trust-panel { position: relative; overflow: hidden; grid-template-columns: minmax(0,1.03fr) minmax(380px,.97fr); gap: 24px; padding: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 27px; background: radial-gradient(circle at 92% 5%,rgba(66,226,181,.24),transparent 28%),linear-gradient(135deg,#032f2a 0%,#075b4e 52%,#0b8d72 100%); box-shadow: 0 22px 48px rgba(4,62,53,.18); }
.nh-home .nh-trust-panel::before { content: ''; position: absolute; left: -95px; bottom: -180px; width: 330px; height: 330px; border: 56px solid rgba(255,255,255,.045); border-radius: 50%; }
.nh-home .nh-trust-panel::after { right: -115px; top: -155px; width: 350px; height: 350px; border-width: 62px; border-color: rgba(255,255,255,.05); }
.nh-home .nh-trust-copy { align-self: center; }
.nh-home .nh-trust-kicker { display: inline-flex; align-items: center; gap: 8px; color: #82f3cf; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.nh-home .nh-trust-copy h2 { margin: 9px 0 11px; max-width: 650px; font-size: clamp(27px,2.5vw,36px); line-height: 1.23; letter-spacing: -.02em; }
.nh-home .nh-trust-copy p { max-width: 650px; color: rgba(234,255,249,.76); font-size: 11.5px; line-height: 1.65; }
.nh-home .nh-trust-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.nh-home .nh-trust-actions a { min-height: 38px; padding: 8px 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); font-size: 10px; font-weight: 600; text-decoration: none; }
.nh-home .nh-trust-actions a:first-child { color: #064e3b; border-color: #fff; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.11); }
.nh-home .nh-trust-actions a:hover { color: #064e3b; background: #fff; transform: translateY(-2px); }
.nh-home .nh-trust-links { gap: 9px; }
.nh-home .nh-trust-link { min-height: 84px; padding: 12px; display: grid; grid-template-columns: 36px minmax(0,1fr) 26px; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.07)); box-shadow: inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.nh-home .nh-trust-link:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.27); transform: translateY(-3px); }
.nh-home .nh-trust-link > i { width: 36px; height: 36px; margin: 0; display: grid; place-items: center; border-radius: 11px; color: #78f0ca; background: rgba(91,240,195,.12); font-size: 15px; }
.nh-home .nh-trust-link > span { min-width: 0; margin: 0; color: inherit; }
.nh-home .nh-trust-link strong { font-size: 12px; }
.nh-home .nh-trust-link small { display: block; overflow: hidden; margin-top: 3px; color: rgba(232,255,248,.65); font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.nh-home .nh-trust-link > b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #9af5d8; background: rgba(255,255,255,.09); font-size: 8px; }

@media (max-width: 1000px) {
    .nh-home .nh-portal-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nh-home .nh-news-tabs { overflow-x: auto; grid-template-columns: repeat(5,180px); scrollbar-width: thin; }
    .nh-home .nh-portal-list-head,
    .nh-home .nh-portal-list-row { grid-template-columns: minmax(0,1fr) 150px 135px; }
    .nh-home .nh-editorial-section .nh-news-layout { grid-template-columns: 1fr; }
    .nh-home .nh-editorial-section .nh-feature-card { min-height: 390px; }
    .nh-home .nh-activity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 15px; }
    .nh-home .nh-health-hub { grid-template-columns: 1fr; }
    .nh-home .nh-trust-panel { grid-template-columns: 1fr; padding: 32px; }
    .nh-home .nh-trust-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
    .nh-home .nh-news-portal-section { padding: 34px 0 28px; }
    .nh-home .nh-news-portal-section .nh-section-head { margin-bottom: 22px; }
    .nh-home .nh-news-portal-section .nh-section-title { font-size: 29px; }
    .nh-home .nh-news-portal { border-radius: 22px; }
    .nh-home .nh-news-tabs { padding: 10px 10px 0; grid-template-columns: repeat(5,155px); gap: 5px; }
    .nh-home .nh-news-tab { min-height: 78px; padding-block: 10px 13px; }
    .nh-home .nh-news-tab > span { font-size: 11px; }
    .nh-home .nh-news-panels { padding: 14px; }
    .nh-home .nh-portal-card-grid { grid-template-columns: 1fr; gap: 13px; }
    .nh-home .nh-portal-news-card { display: grid; grid-template-columns: 130px minmax(0,1fr); border-radius: 16px; }
    .nh-home .nh-portal-news-image { height: 100%; min-height: 160px; }
    .nh-home .nh-portal-news-body { padding: 14px; }
    .nh-home .nh-portal-news-body h3 { min-height: 0; margin: 8px 0 10px; font-size: 14px; -webkit-line-clamp: 3; }
    .nh-home .nh-portal-news-body .nh-card-meta { display: block; padding-top: 8px; font-size: 9px; }
    .nh-home .nh-portal-list-head { display: none; }
    .nh-home .nh-portal-list { border: 0; display: grid; gap: 9px; }
    .nh-home .nh-portal-list-row { min-height: 82px; padding: 13px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; border: 1px solid #dceae7; border-radius: 14px; background: #fff !important; }
    .nh-home .nh-portal-list-row > span,
    .nh-home .nh-portal-list-row > time { height: auto; padding: 0; border: 0; }
    .nh-home .nh-portal-list-row > span:nth-child(2) { grid-column: 1; color: #6b837d; font-size: 9px; }
    .nh-home .nh-portal-list-row > time { grid-column: 2; grid-row: 1/3; margin: 0; align-self: center; }
    .nh-home .nh-portal-list-title strong { font-size: 11px; }
    .nh-home .nh-portal-footer { margin-top: 16px; }
    .nh-home .nh-editorial-section { padding: 52px 0; }
    .nh-home .nh-activities-section { padding: 30px 0 32px; }
    .nh-home .nh-knowledge-section { padding: 30px 0 42px; }
    .nh-home .nh-editorial-section .nh-section-head,
    .nh-home .nh-activities-section .nh-section-head,
    .nh-home .nh-knowledge-section .nh-section-head { margin-bottom: 22px; }
    .nh-home .nh-editorial-section .nh-section-title,
    .nh-home .nh-activities-section .nh-section-title,
    .nh-home .nh-knowledge-section .nh-section-title { font-size: 29px; }
    .nh-home .nh-editorial-section .nh-feature-card { min-height: 360px; border-radius: 22px; }
    .nh-home .nh-editorial-section .nh-feature-body { padding: 23px; }
    .nh-home .nh-editorial-section .nh-news-list { padding: 12px; border-radius: 22px; }
    .nh-home .nh-news-list-head { display: block; padding-bottom: 10px; }
    .nh-home .nh-news-list-head span { display: block; margin-top: 3px; }
    .nh-home .nh-editorial-section .nh-news-item { grid-template-columns: 48px minmax(0,1fr) 22px; gap: 10px; padding-inline: 9px; }
    .nh-home .nh-editorial-section .nh-news-date { width: 48px; }
    .nh-home .nh-activity-gallery-head { margin-bottom: 23px; }
    .nh-home .nh-activity-gallery-head h2 { gap: 10px; font-size: 25px; }
    .nh-home .nh-activity-gallery-head h2::before,
    .nh-home .nh-activity-gallery-head h2::after { width: 27px; }
    .nh-home .nh-activity-gallery-head p { padding: 0 15px; line-height: 1.55; }
    .nh-home .nh-activity-grid { width: min(100%,520px); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .nh-home .nh-activity-poster { padding: 5px; border-radius: 6px; }
    .nh-home .nh-health-feature { min-height: 0; padding: 24px 20px; grid-template-columns: 1fr; grid-template-rows: auto; gap: 14px; border-radius: 22px; }
    .nh-home .nh-health-feature-icon { width: 58px; height: 58px; border-radius: 18px; font-size: 24px; }
    .nh-home .nh-health-feature-watermark { right: 18px; top: 18px; font-size: 86px; }
    .nh-home .nh-health-feature-copy strong { font-size: 23px; }
    .nh-home .nh-health-feature-copy > span:not(.nh-health-feature-tags) { font-size: 12px; }
    .nh-home .nh-health-feature-tags { margin-top: 15px; }
    .nh-home .nh-health-feature-action { grid-column: 1; }
    .nh-home .nh-health-shortcuts a { min-height: 82px; padding: 12px; grid-template-columns: 46px minmax(0,1fr) 30px; gap: 11px; border-radius: 17px; }
    .nh-home .nh-health-shortcuts a > i:first-child { width: 48px; height: 48px; border-radius: 15px; font-size: 18px; }
    .nh-home .nh-trust-section { padding: 48px 0 52px; }
    .nh-home .nh-trust-panel { grid-template-columns: 1fr; gap: 20px; padding: 24px 18px; border-radius: 23px; }
    .nh-home .nh-trust-copy h2 { font-size: 27px; }
    .nh-home .nh-trust-actions { display: grid; grid-template-columns: 1fr; }
    .nh-home .nh-trust-actions a { justify-content: center; }
    .nh-home .nh-trust-links { grid-template-columns: 1fr; }
    .nh-home .nh-trust-link { min-height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    .nh-home .nh-activity-poster,
    .nh-home .nh-activity-poster-image,
    .nh-home .nh-health-feature,
    .nh-home .nh-health-shortcuts a,
    .nh-home .nh-health-shortcut-arrow,
    .nh-home .nh-trust-link,
    .nh-home .nh-trust-actions a { transition: none; }
}

/* ระบบงานภายใน รพ. — ไอคอนแบบรูปภาพที่อัปโหลดจากหลังบ้าน */
.nh-home .nh-trust-link > i.nh-internal-icon { overflow: hidden; padding: 0; background: #fff; }
.nh-home .nh-trust-link > i.nh-internal-icon img { width: 100%; height: 100%; padding: 4px; box-sizing: border-box; object-fit: contain; display: block; }
.nh-home .nh-internal-empty { grid-column: 1 / -1; min-height: 84px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px dashed rgba(255,255,255,.25); border-radius: 16px; color: rgba(232,255,248,.7); font-size: 12px; }
