/* SCI.NPU V2.8 / Visual Consistency & UX Preview 01
   Additive stylesheet. Preserves MASTER_ORIGINAL_DO_NOT_EDIT.html.
   Design: navy / restrained gold / warm whites, editorial hierarchy, readable Thai. */
:root{--v28-ink:#142b40;--v28-muted:#526678;--v28-accent:#fbd64d;--v28-bg:#f7f9fb;--v28-border:#e2e8ef;--v28-radius:18px;--v28-shadow:0 20px 60px rgba(11,38,62,.10)}
html{scroll-padding-top:100px;scroll-behavior:smooth}
body{font-size:16px!important;line-height:1.75!important;background:#fff!important;letter-spacing:0!important}
a,button{transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .22s ease,box-shadow .22s ease}
body a:focus-visible,body button:focus-visible,body input:focus-visible{outline:3px solid #fbd64d!important;outline-offset:3px!important}
body .top{font-family:Manrope,'IBM Plex Sans Thai',sans-serif!important;font-size:10.5px!important;letter-spacing:.9px!important;padding:8px max(5vw,20px)!important}
body .nav{height:83px!important;min-height:83px!important;box-shadow:0 3px 18px rgba(17,45,70,.045)!important}
body .nav .seal{background:#f7f1e4!important;border:1px solid #fbd64d!important;color:#876300!important;font-size:13px!important}
body .nav .brand strong{font-size:18px!important;letter-spacing:.05px!important}
body .nav .links a:not(.lang){font-size:14px!important;padding:8px 0!important}
body .nav .links a:not(.lang):hover{color:#876300!important}
body .nav .links a.lang{border-color:#fbd64d!important;color:#142b40!important;background:#fffaf0!important;padding:8px 14px!important}
/* Accessible and consistent type scale */
body.home-page .section{padding:86px max(7vw,22px)!important}
body.home-page .section h2, body .v27-section h2,body .sci-services h2,body .sci-numbers h2{font-size:clamp(28px,3.1vw,39px)!important;line-height:1.35!important;font-weight:600!important;color:#142b40!important;letter-spacing:0!important}
body.detail-page .inner-content h2{font-size:clamp(25px,2.65vw,36px)!important;line-height:1.35!important}
body.detail-page .inner-content h3{font-size:clamp(17px,1.5vw,21px)!important}
body .section p,body .section .sub,body.detail-page .inner-content p,body .v27-card p,body .v27-section p{font-size:15.5px!important;line-height:1.9!important;color:#526678!important}
body .section-head{gap:24px;margin-bottom:30px}
body .section-head .sub{max-width:300px;text-align:right}
body .kicker,body .v27-eyebrow{color:#876300!important;letter-spacing:1.9px!important;font-size:11px!important;font-weight:700!important}
body .more,body .mini-link{font-size:13.5px!important;font-weight:600!important}
/* Header - editorial split layout built around verified LOCAL institution photograph */
body.home-page .hero.v28-hero{background:linear-gradient(128deg,#142b40 0%,#142b40 72%,#142b40 100%)!important;display:grid!important;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr)!important;min-height:600px!important;max-height:none!important;align-items:stretch!important;column-gap:clamp(24px,5vw,90px)!important;padding:0 max(5vw,20px) 0 max(7vw,22px)!important;isolation:isolate!important}
body.home-page .hero.v28-hero::before{z-index:0;right:auto;left:-350px;top:-220px;border-color:#ffffff0b;box-shadow:0 0 0 90px #ffffff04,0 0 0 180px #ffffff02}
body.home-page .hero.v28-hero::after{content:''!important;display:none!important}
body.home-page .hero .hero-inner{max-width:780px!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;z-index:2;padding:70px 0 77px!important}
body.home-page .hero .eyebrow{font-size:11px!important;letter-spacing:2.4px!important;line-height:1.6!important;color:#fbd64d!important;padding-left:28px!important;position:relative}
body.home-page .hero .eyebrow:before{content:'';position:absolute;width:16px;height:2px;top:9px;left:0;background:#fbd64d}
body.home-page .hero h1{font-size:clamp(40px,4.25vw,66px)!important;line-height:1.24!important;letter-spacing:-.25px!important;color:#fff!important;font-weight:600!important;margin:25px 0 22px!important;text-wrap:balance}
body.home-page .hero p{color:#dce6ee!important;font-size:clamp(16px,1.4vw,18px)!important;line-height:1.9!important;max-width:590px!important;margin-bottom:33px!important}
body.home-page .hero .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:8px!important;min-height:48px!important;padding:11px 21px!important;font-size:14px!important;box-shadow:none!important}
body.home-page .hero .btn:hover{transform:translateY(-2px)}
body.home-page .hero .btn.outline{border:1px solid #d3dfec84!important;background:#ffffff09!important;color:#fff!important;margin-left:11px!important}
body.home-page .hero .btn.outline:hover{background:#ffffff18!important}
.v28-hero-visual{margin:34px 0!important;display:flex;align-items:stretch;position:relative;min-width:0;max-width:650px}
.v28-image-wrap{width:100%;min-height:492px;border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.18);box-shadow:0 24px 45px rgba(0,0,0,.20);background:#183e59}
.v28-image-wrap img{width:100%;height:100%;min-height:492px;display:block;object-fit:cover;object-position:58% 48%;filter:saturate(.94) contrast(1.02)}
.v28-hero-visual:after{content:'';position:absolute;inset:10% -15px 8% 70%;z-index:-1;background:radial-gradient(ellipse at center,#fbd64d5c 0%,transparent 70%);filter:blur(25px)}
.v28-photo-label{position:absolute;bottom:19px;left:19px;right:19px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:44px;background:rgba(10,34,53,.89);backdrop-filter:blur(12px);padding:12px 15px;border-radius:10px;color:#fff;font:600 11px Manrope,sans-serif;letter-spacing:.75px}
.v28-photo-label small{font-size:11px;letter-spacing:0;color:#cddde6;font-weight:500}
.v28-photo-dot{width:7px;height:7px;border-radius:50%;background:#fbd64d}
/* Four faculty pillars strip under hero */
body.home-page .stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:26px max(7vw,22px)!important;background:#fff!important;border-bottom:1px solid #e7edf1!important;gap:0!important}
body.home-page .stats .stat{display:flex;align-items:center;justify-content:center;gap:15px;border-right:1px solid #dde6ed!important;padding:6px 20px!important;text-align:left!important}
body.home-page .stats .stat:last-child{border:0!important}
body.home-page .stats .stat b{font:700 28px Manrope,sans-serif!important;color:#fbd64d!important;letter-spacing:-1px!important}
body.home-page .stats .stat span{font-size:14px!important;font-weight:600!important;color:#142b40!important;margin:0!important}
/* About - intentional editorial layout not an endless card list */
body.home-page #about{max-width:1400px;margin:0 auto}
body.home-page #about>div[style*="max-width"]{max-width:900px!important}
body.home-page #about>div[style*="max-width"] p{font-size:18px!important;line-height:2.05!important;color:#142b40!important;border-left:3px solid #fbd64d;padding-left:22px}
body.home-page #about .mini-actions{margin-top:24px}
/* Degree tiles */
body.home-page #programs{background:#f5f8fa!important}
body.home-page .grid.v28-program-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.v28-degree-card{position:relative;min-height:228px;display:flex;flex-direction:column;align-items:flex-start;padding:28px 22px 24px!important;border:1px solid #dfe7ec;border-radius:15px;background:#fff;color:#142b40;box-shadow:0 10px 24px #142b4005;transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden}
.v28-degree-card:after{content:'';position:absolute;right:-40px;top:-45px;width:116px;height:116px;border:1px solid #dbe4eb;border-radius:50%}
.v28-degree-card:hover{transform:translateY(-5px);box-shadow:var(--v28-shadow);border-color:#fbd64d}
.v28-degree-index{font:700 10px Manrope,sans-serif;letter-spacing:1.1px;color:#876300;display:block;min-height:36px;max-width:100%;word-break:break-word}
.v28-degree-card h3{margin:12px 0 10px;color:#142b40!important;font-size:clamp(17px,1.45vw,21px)!important;line-height:1.45;font-weight:700!important;position:relative}
.v28-degree-card p{font-size:13.5px!important;line-height:1.7!important;color:#536879!important;margin:0!important}
.v28-card-arrow{position:relative;margin-top:auto;padding-top:18px;color:#876300;font-size:24px;line-height:1}
body.home-page .catalog-preview>a{border-radius:12px!important;border:1px solid #e0e8ee!important;background:#fff!important;min-width:0}
body.home-page .catalog-preview b{font-size:17px!important}
/* Evidence-based metrics; show only verified facts */
body.home-page .sci-numbers{background:#142b40!important;color:#fff!important;padding:76px max(7vw,22px) 65px!important}
body.home-page .sci-numbers h2{color:#fff!important}
body.home-page .sci-numbers .numbers-heading p{color:#c9d9e5!important;font-size:15px!important}
body.home-page .numbers-pill{background:#ffffff1c!important;color:#fff9e9!important;border:1px solid #ffffff28!important;font-size:12px!important}
body.home-page .number-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
body.home-page .number-card.v28-real-metric{border:1px solid #ffffff25!important;min-height:165px!important;border-radius:14px!important;background:#ffffff0c!important;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;padding:22px 26px!important}
body.home-page .number-card .num-value{font:800 clamp(33px,3.5vw,49px) Manrope,sans-serif!important;color:#fbd64d!important;line-height:1.2!important}
body.home-page .number-card .num-label{color:#e1ebf1!important;font-size:14px!important;line-height:1.5!important;margin-top:10px}
body.home-page .number-foot{color:#c4d0da!important;line-height:1.7!important;font-size:12px!important;padding-top:10px}
/* Verified news photos and articles */
body.home-page .grid.v28-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:21px!important}
.v28-news-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e0e8ee;border-radius:15px;overflow:hidden;min-width:0;box-shadow:0 9px 25px #142b4007;transition:transform .2s,box-shadow .2s}
.v28-news-card:hover{transform:translateY(-4px);box-shadow:var(--v28-shadow)}
.v28-news-photo{display:block;position:relative;height:205px;background:#dbe7ee;overflow:hidden}
.v28-news-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .4s ease}
.v28-news-card:hover .v28-news-photo img{transform:scale(1.035)}
.v28-news-photo-tag{position:absolute;left:14px;bottom:14px;border-radius:4px;background:#142b40db;color:#fff;font:700 10px Manrope;letter-spacing:.8px;padding:7px 10px}
.v28-news-content{padding:21px 23px 23px;display:flex;flex-direction:column;flex:1}
.v28-news-date{font:600 12px 'IBM Plex Sans Thai',sans-serif;color:#876300}
.v28-news-content h3{font-size:18px!important;line-height:1.6!important;color:#142b40!important;margin:11px 0 12px!important}
.v28-news-content p{font-size:14px!important;line-height:1.8!important;margin:0!important;color:#64788a!important}
.v28-read-news{font-size:13px;color:#876300;font-weight:600;margin-top:auto;padding-top:20px}
body.home-page #news .source-item{border-radius:12px!important;background:#f7f9fb!important;border:1px solid #e0e8ee!important;min-height:170px}
body.home-page #news .source-item h3{font-size:15px!important}
body.home-page #news .source-grid{gap:13px!important}
body.home-page #news .feature-subtitle{font-size:20px!important}
/* Research panel contrast */
body.home-page #research{background:linear-gradient(130deg,#142b40,#142b40)!important}
body.home-page #research .kicker{color:#fbd64d!important}
body.home-page #research h2{color:white!important}
body.home-page #research p{color:#dfecf3!important;font-size:16.5px!important;line-height:2!important}
body.home-page #research .research-panel{border-radius:16px!important;background:#ffffff0a;border:1px solid #ffffff2a;padding:24px 30px!important}
body.home-page #research .research-panel b{font-size:15px!important}
body.home-page #research .research-panel span{font-size:13.5px!important}
body.home-page #research .btn{border-radius:7px!important}
/* link / service cards and facade */
body.home-page .sci-services{background:#f6f8fa!important;padding:80px max(7vw,22px)!important}
body.home-page .service-cards a{border-radius:14px!important;min-height:135px!important;padding:26px!important;box-shadow:0 8px 25px #142b4005}
body.home-page .service-cards a b{font-size:17px!important}
body.home-page .sci-facebook-band{padding:64px max(7vw,22px)!important;border-block:1px solid #e3ebef}
/* Vision = approved actual institutional text, no invented strategic roadmap */
body.home-page .v28-vision{background:#f7f8f5;padding:78px max(7vw,22px)!important}
.v28-vision-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:7%;max-width:1280px;margin:0 auto;align-items:center}
.v28-vision-intro h2{font-size:clamp(29px,3.1vw,41px)!important;color:#142b40!important;margin:13px 0 18px;line-height:1.4}
.v28-vision-intro p{color:#516777;font-size:17px!important;line-height:2!important;max-width:650px}
.v28-vision-link{display:inline-flex;color:#876300;font-size:14px;font-weight:700;margin-top:16px;border-bottom:1px solid #fbd64d;padding-bottom:5px}
.v28-vision-quote{position:relative;background:#142b40;border-radius:17px;padding:40px 42px 35px;color:#fff;box-shadow:0 22px 35px #142b4017}
.v28-vision-quote span{display:block;font-family:Georgia,serif;font-size:90px;color:#fbd64d;line-height:.5;opacity:.95;margin-top:18px}
.v28-vision-quote p{font-size:clamp(22px,2.4vw,30px)!important;line-height:1.55!important;color:#fff!important;margin:15px 0 22px!important;font-weight:600}
.v28-vision-quote small{font:700 10px Manrope,sans-serif;color:#fbd64d;letter-spacing:2px}
/* Quick discovery cards */
body.home-page #faculty-facts{padding:77px max(7vw,22px)!important;max-width:none!important;margin:0 auto;background:#fff}
body.home-page #faculty-facts>.v27-grid{max-width:1330px;margin:0 auto}
body.home-page #faculty-facts>.v27-eyebrow,body.home-page #faculty-facts>h2,body.home-page #faculty-facts>.v27-lede{max-width:1330px;margin-left:auto;margin-right:auto}
body.home-page #faculty-facts .v27-card{border:1px solid #e1e8ed!important;border-radius:15px!important;padding:26px!important;background:#fbfcfd!important}
body.home-page #faculty-facts .v27-card h3{font-size:18px!important}
body.home-page #faculty-facts .v27-card p{font-size:14px!important}
/* General article pages: typographic consistency, reveal room to breathe */
body.detail-page .inner-cover{background:linear-gradient(110deg,#142b40,#142b40)!important;min-height:245px!important;padding-block:64px!important}
body.detail-page .inner-cover h1{font-size:clamp(33px,3.6vw,47px)!important;line-height:1.36!important}
body.detail-page .inner-cover p{font-size:16px!important;color:#dfebf3!important}
body.detail-page .inner-content{padding:74px 0 100px!important}
body.detail-page .inner-content .content-card,body .v27-card,body .v271-values-card{border-radius:13px!important}
body.detail-page .inner-content .content-card{padding:28px!important}
body.detail-page .inner-content p{font-size:15.5px!important;color:#4f6475!important;line-height:1.95!important}
body.detail-page .inner-content .content-grid{gap:20px!important}
body.detail-page .v27-section{padding-block:24px!important}
body.detail-page .v27-card{background:#fff!important}
body.detail-page .v271-philosophy-panel{border-radius:17px!important}
body.detail-page .v271-philosophy-panel p,body.detail-page .v271-philosophy-panel h3{color:#fff!important}
/* footer and demo maintenance */
body .footer{padding-top:60px!important;padding-bottom:27px!important}
body .footer .footgrid{gap:45px!important}
body .footer .footgrid p,body .footer .footgrid a{font-size:13px!important;line-height:2!important}
body .footer .copyright{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#c0cfda!important}
.v28-preview-footnote{font-size:11px;color:#fbd64d}
body .admin,body .modal#adminModal{display:none!important}
/* Responsive: calibrated breakpoints prevent clipping of 4-column topics */
@media(max-width:1200px){body.home-page .hero.v28-hero{grid-template-columns:minmax(0,1fr) minmax(0,.94fr)!important;column-gap:32px!important}body.home-page .hero h1{font-size:clamp(36px,4.3vw,55px)!important}body.home-page .grid.v28-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:940px){body.home-page .hero.v28-hero{grid-template-columns:1fr!important;padding:0 30px 40px!important;min-height:auto!important}body.home-page .hero .hero-inner{padding:65px 0 25px!important}body.home-page .hero h1{max-width:820px}body.home-page .hero .hero-inner p{max-width:750px!important} .v28-hero-visual{margin:0!important;max-width:none!important}.v28-image-wrap,.v28-image-wrap img{min-height:340px!important;height:340px}body.home-page .number-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.home-page .grid.v28-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important} .v28-vision-inner{grid-template-columns:1fr;gap:32px} }
@media(max-width:870px){body .nav .links a:not(.lang){font-size:16px!important}body .nav{height:74px!important;min-height:74px!important}body.home-page .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important}body.home-page .stats .stat{border-bottom:1px solid #e8edf1;padding:18px!important;justify-content:flex-start}body.home-page .stats .stat:nth-child(2){border-right:0!important}body.home-page .stats .stat:nth-child(n+3){border-bottom:0}}
@media(max-width:650px){body.home-page .hero.v28-hero{padding:0 22px 24px!important}body.home-page .hero .hero-inner{padding:50px 0 33px!important}body.home-page .hero .eyebrow{font-size:9px!important;letter-spacing:1.5px!important}body.home-page .hero h1{font-size:clamp(31px,8.3vw,43px)!important;line-height:1.3!important;margin:19px 0 16px!important}body.home-page .hero p{font-size:15.5px!important;line-height:1.85!important;margin-bottom:22px!important}body.home-page .hero .btn{font-size:12.5px!important;padding:10px 15px!important;min-height:42px!important}body.home-page .hero .btn.outline{margin-left:7px!important}.v28-image-wrap,.v28-image-wrap img{min-height:255px!important;height:255px}.v28-hero-visual{margin:0!important}.v28-photo-label{padding:8px 10px;left:10px;bottom:10px;right:10px;font-size:9px;min-height:36px}.v28-photo-label small{font-size:9px}body.home-page .stats{padding:9px 18px!important}body.home-page .stats .stat{gap:10px;padding:14px 9px!important}body.home-page .stats .stat b{font-size:20px!important}body.home-page .stats .stat span{font-size:12px!important}body.home-page #about>div[style*="max-width"] p{font-size:16px!important;padding-left:14px}body.home-page .grid.v28-program-grid{grid-template-columns:1fr!important;gap:12px!important}.v28-degree-card{min-height:175px;padding:23px!important}body.home-page .number-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}body.home-page .number-card.v28-real-metric{padding:19px 15px!important;min-height:132px!important}body.home-page .number-card .num-value{font-size:34px!important}body.home-page .number-card .num-label{font-size:12px!important}body.home-page .grid.v28-news-grid{grid-template-columns:1fr!important}body.home-page .sci-numbers{padding:55px 22px!important}body.home-page .sci-services{padding:60px 22px!important}body.home-page .v28-vision{padding:60px 22px!important}.v28-vision-quote{padding:28px!important}body.home-page #faculty-facts{padding:60px 22px!important}body.home-page #research p{font-size:15.5px!important}body .footer .copyright{display:block}body .footer .copyright .v28-preview-footnote{display:block;margin-top:8px}body.detail-page .inner-cover{padding:48px 22px!important}body.detail-page .inner-content{padding:45px 0 70px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.v28-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:0}
body.home-page .hero .v28-hero-actions .btn.outline{margin-left:0!important}
