/* Tapsthali v1.4: scholarly navy / teal / warm gold palette and photographic homepage cards. */
:root{--ink:#173044;--muted:#607382;--maroon:#0c4864;--maroon-deep:#0d2943;--gold:#c39a53;--cream:#f7fafc;--line:#e1ebef;--shadow:0 15px 40px rgba(16,56,77,.09)}
body{color:var(--ink);background:#f7fafb}
.topbar{background:#09273d}.topbar a:hover{color:#f5c878}.top-dot{background:#e7be71}
.masthead{border-bottom:1px solid #e1ebef;background:#fff}.masthead-inner{min-height:100px}.brand-seal{border-color:#c79f62;background:linear-gradient(140deg,#fdfcf6,#eaf5f8);color:#0e4c64}.brand-titles strong{color:#163e58}.brand-titles b{color:#337184}.brand-titles small,.head-address{color:#637c8a}
.head-button{border-color:#bcd5dd;color:#175771;background:#f8fcfd;border-radius:8px}.head-button:hover{background:#e9f6f8}
.site-nav{background:#103b56;box-shadow:0 4px 12px #0b2c401a}.nav-item:hover,.nav-active{background:#1b5f78}.nav-item>a{font-size:12px;font-weight:650}.dropdown{border-top-color:#e2ba74}.dropdown a:hover{background:#edf8fb;color:#0b6680}.submenu-toggle{color:#cfe0e6}
.home-slider{background:#0a2b42}.home-slide-shade{background:linear-gradient(90deg,rgba(5,28,45,.88),rgba(8,41,61,.65) 33%,rgba(9,48,65,.12) 76%,rgba(7,43,62,.07))}.home-slide-copy{background:rgba(10,43,64,.44);border-color:rgba(232,247,251,.22);box-shadow:0 24px 62px #05243940}.home-slide-kicker{color:#f5d397}.home-slide-kicker .kicker-dot{background:#e9bc70}.home-slide-btn{background:#f9fefd;color:#11506a!important}.home-slide-btn:hover{background:#e1f4f8;color:#103a51!important}.home-slide-btn-outline{background:#08283b55}.home-slide-btn-outline:hover{color:#11506a!important}.home-slider-arrow:hover,.home-slider-arrow:focus-visible{background:#0c7892}.home-slider-dot.is-active{background:#edc884}.home-slider-nav{background:#0a3242a6}
.announcement-strip{background:#e9f4f7;border-color:#d5e7ec}.strip-label{color:#0c6680}.strip-all{color:#0e667e}.strip-brief{color:#315a6b}
.home-main{background:linear-gradient(180deg,#f6fafc 0%,#fff 29%,#f5f9fa 100%);padding:58px 0 85px}.eyebrow,.mini-label{color:#bc8943}.section-head{margin-bottom:29px}.section-head h2{font-size:clamp(23px,2.4vw,34px);color:#153d56;letter-spacing:-.025em}.section-head p{font-size:13px;color:#6c818d}
.quick-grid,.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.quick-card.education-card,.resource-card.education-card{display:flex;flex-direction:column;align-items:stretch;justify-content:initial;gap:0;min-height:0;height:auto;position:relative;overflow:hidden;background:#fff;border:1px solid #e2edf0;border-radius:15px;box-shadow:0 10px 28px #0d455a0d;padding:0;text-align:left;transform:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.picture-cards .education-card:hover{transform:translateY(-6px);box-shadow:0 22px 42px #16495b24;border-color:#9cced5;color:#123e54}
.education-card-photo{display:block;position:relative;height:176px;overflow:hidden;background:#d9e9ed;flex:none}
.education-card-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0b405933,transparent 48%);pointer-events:none}
.education-card-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.education-card:hover .education-card-photo img{transform:scale(1.055)}
.education-card-content{display:flex;flex:1;flex-direction:column;gap:6px;padding:18px 20px 17px}
.education-card-content strong{font-size:16px;line-height:1.35;font-weight:800;color:#173e56}
.education-card-content small{display:block;font-size:12.5px;font-weight:450;line-height:1.65;color:#697f8c;min-height:40px}
.education-card-link{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:800;letter-spacing:.02em;color:#0c7890;padding-top:9px;margin-top:auto;border-top:1px solid #e7f0f3}
.education-card-link span{font-size:18px;line-height:1}
.home-columns{margin-top:68px;gap:42px;grid-template-columns:1.03fr .97fr}
.welcome{background:#fff;border:1px solid #e5edf0;border-radius:16px;overflow:hidden;box-shadow:0 12px 28px #0b47570a;padding:0 28px 26px}
.welcome-visual{height:192px;position:relative;margin:0 -28px 23px;overflow:hidden;background:#0e5870}
.welcome-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#082f4bab,transparent 65%)}
.welcome-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.welcome-visual span{position:absolute;bottom:14px;left:19px;z-index:1;color:#fff;font-size:10px;letter-spacing:.14em;font-weight:750}
.welcome h2{font-size:25px;color:#1c485c}.welcome p{font-size:13.3px;line-height:2;color:#5c7280}.accent-line{background:#c69d59}.text-link{color:#08718b}
.news-panel{border:1px solid #dbeaf0;border-radius:16px;background:#fff;box-shadow:0 13px 28px #0b47570a;min-height:320px}
.panel-heading{background:linear-gradient(105deg,#edf7fa,#fff);border-bottom:1px solid #e0edf1}.panel-heading h2{color:#194a60}.panel-heading>a{color:#0d7590}.news-date{color:#aa874f}.notice-type{color:#1b8195}
.home-highlight{position:relative;isolation:isolate;margin-top:70px;background:#0f3a54;border-radius:16px;padding:34px 36px;box-shadow:0 18px 40px #0c39502e;overflow:hidden}
.home-highlight::before{content:"";position:absolute;z-index:-2;inset:0;background:url('edu-library.webp') center 50% / cover no-repeat}
.home-highlight::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(95deg,#0c314bf7 0%,#0d516cdb 61%,#0e4561ac 100%)}
.home-highlight span{color:#e9c98e}.home-highlight h3{font-size:22px}.home-highlight p{color:#e2f0f3;font-size:12.5px}.high-icon{border-color:#e7c78c;color:#f2dba2}
.home-highlight .btn-light{background:#fff;color:#0b5067;border-radius:8px}.home-highlight .btn-light:hover{background:#def5f7;color:#07546b}
.resource-section{padding-top:76px}.resource-grid{gap:20px}.resource-card.education-card .education-card-photo{height:200px}.resource-card.education-card .education-card-content{padding:19px 21px 20px}.resource-card.education-card .education-card-content strong{font-size:17px}
.illustration-note{font-size:11px;color:#748895;line-height:1.7;margin:19px 1px 0}
.inner-hero{background:radial-gradient(circle at right top,#117b8e55 0,transparent 42%),linear-gradient(110deg,#0d304c,#0c6079)}.inner-hero-content p{color:#d3e8ed}.breadcrumbs{color:#bcdae3}
.inner-main{background:#f4f8fa}.content-card,.side-panel{border-color:#dce8ec}.side-title{background:#115574}.side-list a:hover{color:#087990}.side-contact{background:#e9f3f4;color:#194b63}.side-contact a{color:#0b708a}
.footer{background:linear-gradient(115deg,#092739,#0d4058);color:#e3f1f4}.footer-bottom{border-color:#ffffff24}.footer h3{color:#fff}.footer p{color:#bed3db}.footer a:hover{color:#b8e9f2}
@media(min-width:1200px){.site-nav .container{width:min(1360px,calc(100% - 44px))}}
@media(max-width:980px){.quick-grid,.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-columns{gap:22px}.education-card-photo{height:160px}}
@media(max-width:760px){.home-main{padding-top:44px}.quick-grid,.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.home-columns{grid-template-columns:1fr;margin-top:46px}.welcome{padding-inline:22px}.welcome-visual{margin-inline:-22px}.education-card-photo,.resource-card.education-card .education-card-photo{height:148px}.education-card-content,.resource-card.education-card .education-card-content{padding:14px}.education-card-content strong{font-size:14px}.education-card-content small{font-size:11px;min-height:0}.home-highlight{margin-top:48px;gap:17px;padding:23px 24px}.resource-section{padding-top:56px}}
@media(max-width:510px){.quick-grid,.resource-grid{grid-template-columns:1fr}.education-card-photo,.resource-card.education-card .education-card-photo{height:185px}.home-highlight .high-icon{display:none}.home-highlight h3{font-size:19px}.resource-section{padding-top:48px}.education-card-content,.resource-card.education-card .education-card-content{padding:17px}.illustration-note{font-size:10px}}
