/* Tapsthali reference-college redesign | 17 Nov 2026 | public pages only */
:root{--ref-navy:#12364e;--ref-ink:#182f42;--ref-blue:#155b82;--ref-gold:#d0a15a;--ref-line:#e6ebef;--ref-cream:#f8fafc;--ref-wash:#eff5f8}
body{font-family:'Nirmala UI','Noto Sans Devanagari','Segoe UI',Arial,sans-serif;color:var(--ref-ink);background:#fff}
.ref-screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.topbar{background:#f2f6f8;color:#29445b;border-bottom:1px solid #e1e9ee}
.topbar-inner{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;padding-block:5px;font-size:11px}
.topbar .top-dot{background:#a16819}.topbar a{color:#1b4a63}.topbar .top-contact{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.topbar .staff-entry{font-size:11px!important;font-weight:750;color:#fff!important;background:#164764;border:0;padding:5px 11px;border-radius:4px}
.ref-access-tools{display:flex;align-items:center;gap:4px;margin-left:auto}.ref-access-tools>button{border:1px solid #ccd9e2;padding:4px 7px;border-radius:3px;background:#fff;color:#183b57;font-size:11px;font-weight:800;cursor:pointer}
.ref-access-tools>button:focus-visible,.ref-access-tools>button:hover{background:#134866;color:#fff}.ref-header-search{display:flex;align-items:center;min-width:165px;margin-left:6px;height:28px;border:1px solid #cbd9e1;border-radius:4px;background:white;overflow:hidden}
.ref-header-search input{width:145px;min-width:0;height:100%;border:0;background:transparent;padding:4px 8px;font-size:11px;outline:0;color:#12344a}
.ref-header-search button{height:100%;width:28px;border:0;background:#144c6e;color:#fff;font-size:22px;line-height:1;cursor:pointer}
.masthead{background:#fff;border-bottom:0}.masthead-inner{min-height:113px;padding-block:13px;align-items:center}
.brand{gap:15px}.brand-seal{width:87px;height:87px;background:#fff;border:0;box-shadow:none;overflow:visible}.brand-seal img{width:100%;height:100%;object-fit:contain}
.brand-titles{display:flex;flex-direction:column;align-items:flex-start}.brand-titles strong{font-size:clamp(24px,2.5vw,35px);line-height:1.35;letter-spacing:.005em;color:#113b60;font-weight:900}
.brand-titles b{font-size:clamp(12px,1.25vw,16px);line-height:1.5;letter-spacing:.025em;color:#a65d1a;font-weight:800;text-transform:uppercase}
.brand-titles small{margin-top:3px;font-size:11px;line-height:1.6;font-weight:700;color:#496477;letter-spacing:0}
.head-actions .head-address{font-size:11px;max-width:270px}.head-actions .head-button{border:1px solid #b8cfdc;background:#f1f8fb;color:#104867;padding:10px 14px;font-size:12px;font-weight:750;border-radius:5px}
.site-nav{background:#133e5c;box-shadow:0 5px 13px rgba(11,37,53,.16);z-index:25;position:relative}.site-nav .nav-wrap{position:relative}
.menu-list{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;overflow:visible}.nav-item{position:relative;align-items:center;min-height:40px}
.nav-item>a{display:inline-flex;padding:12px 10px;font-size:11px;white-space:nowrap;min-height:40px;color:#fff;font-weight:760}.nav-item .submenu-toggle{padding:11px 6px 11px 0;color:#e3edf4}
.nav-item:hover,.nav-item.nav-active,.nav-item:focus-within{background:#0b2d46}.nav-item .dropdown{background:#fff;border:1px solid #dbe6ed;border-top:3px solid #d6a457;box-shadow:0 15px 32px #0c26313b;border-radius:0 0 6px 6px;min-width:230px;z-index:80}
.nav-item .dropdown a{font-size:11.5px;padding:10px 13px;color:#1b425c}.nav-item .dropdown a:hover{color:#073c5b;background:#edf4f8}
/* Wide photograph slider: same classic university website arrangement */
.home-slider{background:#0c2a41}.home-slider-stage{height:clamp(365px,35vw,510px);min-height:365px}
.home-slide-image{object-position:center 44%!important}.home-slide-shade{background:linear-gradient(90deg,rgba(6,25,44,.86),rgba(10,38,58,.56) 46%,rgba(11,33,48,.10) 78%)!important}
.home-slide-content{width:min(1160px,calc(100% - 54px))}.home-slide-copy{width:min(575px,90%);padding:25px 29px 27px;background:rgba(9,38,57,.38);border:1px solid #ffffff36;border-left:4px solid #dda957;border-radius:3px;backdrop-filter:blur(2px)}
.home-slide-kicker{font-size:11px;color:#ffe3a9}.home-slide h1{font-size:clamp(29px,3vw,45px)!important;line-height:1.35}.home-slide p{font-size:13px!important;line-height:1.8!important}
.home-slide-btn{background:#db9b3d!important;color:#162e3e!important}.home-slide-btn:hover{background:#f2bd65!important}.home-slide-btn-outline:hover{color:#0a2d45!important}
.reference-main{background:#fff}.reference-main a{text-decoration:none}.reference-main section{scroll-margin-top:30px}.reference-main h2,.reference-main h3{font-family:'Nirmala UI','Noto Sans Devanagari','Segoe UI',sans-serif}
.ref-kicker{display:inline-block;color:#a46b26;font-size:10px;font-weight:900;letter-spacing:.13em;line-height:1.6;text-transform:uppercase}
.ref-centered-heading{text-align:center;margin-bottom:30px}.ref-centered-heading h2{font-size:clamp(23px,2.4vw,33px);margin:7px 0 7px;color:#123d5a;line-height:1.4;font-weight:850}.ref-centered-heading p{font-size:13px;color:#667985;margin:0;line-height:1.85}
.ref-gold-line{display:block;background:#d7a153;width:60px;height:4px;margin:14px 0 20px}
/* What's New / 6 core shortcuts */
.reference-updates{background:#f8fafc;border-bottom:1px solid #e4edf3;padding:44px 0 48px}
.ref-updates-grid{display:grid;grid-template-columns:1.12fr .88fr;align-items:stretch;gap:28px}.ref-notice-board,.ref-important-links{min-width:0;background:#fff;border:1px solid #e3eaf0;border-radius:5px;box-shadow:0 6px 24px #0b375b09;overflow:hidden}
.ref-block-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:18px 20px 15px;border-bottom:2px solid #e6eef2}.ref-block-heading .ref-kicker{width:100%}.ref-block-heading h2{color:#123c58;font-weight:850;font-size:23px;margin:0;line-height:1.3}.ref-block-heading>a{margin-left:auto;font-size:11px;color:#0a608d;font-weight:800}
.new-indicator{vertical-align:middle;font-size:10px;color:#fff;background:#ba3b2e;padding:2px 7px;border-radius:11px;font-weight:750}
.ref-news-scroll{max-height:356px;overflow-y:auto;scrollbar-width:thin}.ref-news-line{display:flex;align-items:flex-start;gap:9px;padding:13px 18px;border-bottom:1px solid #eef1f4;transition:background .2s}
.ref-news-line:hover{background:#f1f8fc}.ref-news-symbol{font-size:8px;color:#b95738;padding-top:8px}.ref-news-copy{min-width:0;display:block;flex:1}.ref-news-copy strong{display:block;font-size:12px;font-weight:750;line-height:1.65;color:#1c3c55}.ref-news-copy small{display:block;margin-top:2px;color:#8a97a3;font-size:10px}.ref-news-arrow{font-size:10px;font-weight:800;color:#a76a2f;white-space:nowrap;margin-left:auto;padding-top:5px}
.ref-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:14px}.ref-shortcut{min-height:115px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-align:center;border-right:1px solid #edf0f3;border-bottom:1px solid #edf0f3;transition:background .2s}
.ref-shortcut:nth-child(3n){border-right:0}.ref-shortcut:nth-last-child(-n+3){border-bottom:0}.ref-shortcut:hover{background:#f0f7fa}.ref-shortcut-icon{width:42px;height:42px;border-radius:50%;background:#edf3f7;color:#15577b;display:grid;place-items:center;font:800 24px Georgia,serif}
.ref-shortcut strong{color:#24485f;font-size:11.5px;font-weight:800}.ref-shortcut small{display:none}.ref-quick-help{margin:0 18px 18px;background:#163f5a;padding:15px;color:#fff;display:flex;gap:6px;flex-direction:column;border-left:3px solid #e0aa54}
.ref-quick-help span{color:#f3c98e;font-size:9px;font-weight:850;letter-spacing:1.3px}.ref-quick-help strong{font-size:11.5px;line-height:1.6}.ref-quick-help a{color:#fff;font-weight:750;font-size:11px;text-decoration:underline}
/* Programmes */
.ref-programmes{padding:58px 0 61px;background:white}.ref-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ref-course{display:flex;align-items:flex-start;gap:17px;background:#fff;border:1px solid #e3eaf0;border-top:4px solid #164b6b;box-shadow:0 6px 24px #16405b10;padding:23px 19px 22px;transition:transform .2s,border-color .2s}
.ref-course:hover{transform:translateY(-3px);border-color:#c0d6e2}.ref-course:nth-child(2){border-top-color:#d3a153}.ref-course:nth-child(3){border-top-color:#538f78}.ref-course-symbol{display:grid;place-items:center;width:58px;height:58px;flex:none;background:#eaf4f9;color:#125279;border-radius:5px;font-size:19px;font-weight:900;letter-spacing:-1px}
.ref-course:nth-child(2) .ref-course-symbol{background:#fff6e5;color:#996b2b}.ref-course:nth-child(3) .ref-course-symbol{background:#eff7ef;color:#467458}.ref-course small{font-size:10px;color:#8c7e6a;font-weight:800;letter-spacing:.04em}
.ref-course h3{font-size:16px;font-weight:850;color:#19445c;margin:5px 0 9px;line-height:1.4}.ref-course p{font-size:12px;line-height:1.85;color:#697d87;min-height:65px;margin:0 0 13px}.ref-course strong{font-size:11px;color:#115c83}
/* Welcome */
.ref-welcome-section{background:#f6f9fb;padding:65px 0}.ref-welcome-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:57px;align-items:center}
.ref-welcome-image{position:relative;min-height:340px;background:#d5e2e8;box-shadow:18px 18px 0 #e5eef3}.ref-welcome-image>img{display:block;width:100%;height:350px;object-fit:cover}.ref-welcome-image>div{position:absolute;bottom:0;left:0;right:0;padding:19px;background:linear-gradient(0deg,#0b2c47ec,transparent);color:#fff;display:flex;flex-direction:column;gap:4px}
.ref-welcome-image span{font-size:10px;letter-spacing:.12em;font-weight:800;color:#f6d7a6}.ref-welcome-image strong{font-size:13px}.ref-welcome-copy h2{font-size:clamp(24px,2.5vw,36px);line-height:1.45;margin:8px 0 3px;font-weight:850;color:#123e58}
.ref-welcome-copy p{font-size:13px;line-height:2.1;color:#526b78;margin:0 0 15px;text-align:justify}.ref-primary-button{display:inline-flex;align-items:center;gap:24px;background:#154d71;color:#fff!important;font-size:12px;font-weight:850;padding:13px 18px;margin-top:8px;border-radius:3px}
.ref-primary-button:hover{background:#0a354f}
/* Officials */
.ref-leaders-section{padding:58px 0 65px;background:white}.ref-leaders-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ref-leader{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e7edf1;background:#fff;border-radius:5px;box-shadow:0 6px 16px #12405e07;min-width:0}
.ref-leader>img{width:77px;height:86px;object-fit:cover;object-position:top;border-radius:3px;background:#ebf0f2;flex:none}.ref-leader:nth-child(3)>img,.ref-leader:nth-child(4)>img{image-rendering:auto}
.ref-leader small{font-size:10px;color:#b17e3a;font-weight:850}.ref-leader h3{font-size:13.5px;line-height:1.45;color:#16445f;margin:6px 0;font-weight:850}.ref-leader p{font-size:10px;line-height:1.65;color:#7c8b94;margin:0}
/* Gallery */
.ref-gallery-section{background:#f1f6f9;padding:57px 0 62px}.ref-gallery-title{display:flex;align-items:end;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:24px}.ref-gallery-title h2{font-size:clamp(22px,2.2vw,30px);font-weight:850;color:#153e5b;margin:5px 0 0}.ref-gallery-title h2 span{color:#d3a053}
.ref-gallery-title>a{color:#175d83;font-weight:850;font-size:12px;padding-bottom:5px}.ref-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.ref-gallery-grid>a{display:block;position:relative;overflow:hidden;background:#dbe5ed;height:225px;border-radius:4px}.ref-gallery-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.ref-gallery-grid a:hover img{transform:scale(1.04)}.ref-gallery-grid a>span{position:absolute;bottom:0;left:0;right:0;color:#fff;padding:22px 12px 11px;background:linear-gradient(transparent,#0b2737e8);font-size:12px;font-weight:800}
/* Documents */
.ref-documents-section{padding:67px 0;background:#fff}.ref-documents-grid{display:grid;grid-template-columns:340px 1fr;gap:55px;align-items:center;max-width:950px;margin:auto}.ref-document-image{border:1px solid #e0e7ed;padding:10px;background:#fff;box-shadow:0 12px 30px #123b5b16;transform:rotate(-1deg)}.ref-document-image img{height:390px;width:100%;object-fit:contain}
.ref-documents-section h2{font-size:clamp(22px,2.4vw,32px);color:#153c57;font-weight:850;margin:9px 0}.ref-documents-section p{font-size:13px;line-height:1.85;color:#607784}.ref-doc-links{border-top:1px solid #e5edf1;margin-top:18px}.ref-doc-links a{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e5edf1;padding:16px 3px;color:#29475d;font-size:12px;font-weight:800}.ref-doc-links a:hover{background:#f3f8fb}
.ref-doc-links a span{font-weight:900;color:#c48c41}.ref-doc-links b{margin-left:auto;color:#126188;font-size:10px;white-space:nowrap}
/* Reference site's bottom hyperlinks */
.ref-useful-section{background:#15374f;padding:44px 0 50px}.ref-useful-section .ref-centered-heading h2{color:#fff}.ref-useful-section .ref-kicker{color:#e8bd74}.ref-useful-links{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ref-useful-links a{display:flex;align-items:center;gap:9px;color:#e5eff5;font-size:12px;line-height:1.6;border:1px solid #ffffff30;padding:12px 15px}.ref-useful-links a:hover{background:#ffffff1a;color:#fff}.ref-useful-links a span{color:#eec07d}.ref-useful-links a strong{font-weight:650}
/* Inner pages: same shared system, softer white cards */
.inner-hero{background:linear-gradient(105deg,#153e5a,#0b2a44)}.inner-hero-content h1{color:#fff}.inner-main{background:#f5f8fa}.content-card,.side-panel{border-radius:5px}.side-title{background:#123e5c}.ref-profile-page{margin-top:19px;padding:15px;background:#f4f8fa;border-left:3px solid #c99a50;display:flex;align-items:center;gap:15px}
.ref-profile-page img{width:80px;height:90px;object-fit:cover;background:#e9eef2}.ref-profile-page strong{color:#123e5c;font-size:14px}
.ref-affiliation-page{margin-top:22px;text-align:center}.ref-affiliation-page>a{display:inline-flex;align-items:center;flex-direction:column;gap:11px;color:#0f658c;font-weight:800;font-size:12px}
.ref-affiliation-page img{max-width:min(100%,530px);height:auto;max-height:740px;object-fit:contain;border:1px solid #e1e6eb;box-shadow:0 10px 30px #152f4b1c}
.ref-search-page{display:flex;gap:9px;margin-bottom:25px}.ref-search-page input{flex:1;min-width:0;padding:13px;border:1px solid #cfdee6;border-radius:3px;font-size:13px}.ref-search-page button{background:#134f74;border:0;color:#fff;padding:9px 20px;cursor:pointer}
.ref-search-results a{display:flex;flex-direction:column;gap:5px;padding:13px 2px;border-bottom:1px solid #e7edf1;color:#163e5b}.ref-search-results strong{font-size:14px}.ref-search-results small{font-size:11px;color:#637a85}
/* Footer consistent with reference but all details remain Tapsthali's */
.footer{background:#0b2539}.footer h3{color:#f2c884}.footer-columns{padding-top:43px;padding-bottom:37px}.footer-seal{background:url('college/tapsthali-official-logo-2026.png') center/contain no-repeat;color:transparent;border:0;border-radius:50%}.footer-bottom{border-top-color:#2a4a60}
/* Keyboard access and responsive layout */
.reference-main a:focus-visible,.ref-header-search :focus-visible{outline:3px solid #c89141;outline-offset:3px}
@media(max-width:1080px){.ref-leaders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.head-address{display:none}.ref-welcome-grid{gap:32px}.ref-course{padding:17px 12px;gap:10px}.ref-course-symbol{width:44px;height:46px;font-size:15px}.ref-course h3{font-size:14px}}
@media(max-width:800px){.topbar-inner{justify-content:center}.topbar-inner>span:first-child{width:100%;text-align:center}.ref-access-tools{margin-left:0}.masthead-inner{min-height:90px}.brand-seal{width:72px;height:72px}.brand-titles strong{font-size:23px}.brand-titles b{font-size:12px}.head-actions{display:none}.nav-item>a{font-size:10px;padding:11px 7px}.ref-updates-grid{grid-template-columns:1fr}.ref-notice-board,.ref-important-links{width:100%}.ref-news-scroll{max-height:320px}.ref-course-grid{grid-template-columns:1fr}.ref-course p{min-height:0}.ref-welcome-grid{grid-template-columns:1fr;gap:35px}.ref-gallery-grid{grid-template-columns:repeat(2,1fr)}.ref-documents-grid{grid-template-columns:220px 1fr;gap:25px}.ref-document-image img{height:315px}.ref-useful-links{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.topbar-inner>span:first-child{display:none}.topbar .top-contact{display:flex;justify-content:center}.ref-access-tools{display:none}.masthead-inner{min-height:84px}.brand-seal{width:60px;height:60px}.brand-titles strong{font-size:19px}.brand-titles b{font-size:10px}.brand-titles small{font-size:9px}.nav-wrap .mobile-menu-toggle{display:flex}.menu-list{display:none;flex-direction:column;align-items:stretch;flex-wrap:nowrap;overflow-y:auto;max-height:70vh}.menu-list.mobile-open{display:flex}.nav-item{display:flex;flex-wrap:wrap;min-height:0}.nav-item>a{font-size:12px;flex:1;padding:11px}.nav-item .dropdown{position:static;display:none!important;width:100%;min-width:0;box-shadow:none;border:0;border-top:1px solid #e7edf1}.nav-item.submenu-open>.dropdown{display:block!important}.nav-item .submenu-toggle{padding:11px 15px}.home-slider-stage{height:440px;min-height:440px}.home-slide-content{align-items:flex-end;padding-bottom:66px;width:calc(100% - 38px)}.home-slide-copy{width:100%;padding:20px;background:#0b2d45a6;border-left:3px solid #dfab5d}.home-slide h1{font-size:28px!important}.home-slide p{font-size:12px!important}.reference-updates{padding:28px 0}.ref-programmes,.ref-leaders-section,.ref-gallery-section,.ref-documents-section{padding:40px 0}.ref-welcome-section{padding:40px 0}.ref-course-grid{gap:12px}.ref-centered-heading h2{font-size:24px}.ref-gallery-grid a{height:185px}.ref-documents-grid{grid-template-columns:1fr}.ref-document-image{display:none}.ref-useful-section{padding:35px 0}.ref-leaders-grid{grid-template-columns:repeat(2,1fr)}.ref-welcome-image{min-height:250px}.ref-welcome-image>img{height:290px}}
@media(max-width:470px){.brand{gap:8px}.brand-seal{width:50px;height:50px;flex:none}.brand-titles strong{font-size:17px;line-height:1.35}.brand-titles b{font-size:9px;letter-spacing:0}.brand-titles small{font-size:8px;line-height:1.5}.masthead-inner{padding-block:9px}.home-slider-stage{height:455px}.home-slide-copy{padding:18px}.home-slide h1{font-size:24px!important}.home-slide-ctas{display:flex}.home-slide-btn,.home-slide-btn-outline{font-size:10.5px;min-height:36px;padding:9px}.ref-shortcuts{padding:9px}.ref-shortcut{min-height:100px}.ref-shortcut-icon{width:34px;height:34px;font-size:18px}.ref-shortcut strong{font-size:10px}.ref-block-heading{padding:15px}.ref-block-heading h2{font-size:21px}.ref-news-line{padding:11px 12px}.ref-leaders-grid{grid-template-columns:1fr 1fr;gap:8px}.ref-leader{display:flex;flex-direction:column;text-align:center;align-items:center;padding:12px 6px}.ref-leader>img{width:70px;height:74px}.ref-leader h3{font-size:12px}.ref-leader p{font-size:9px}.ref-gallery-grid{gap:9px}.ref-gallery-grid a{height:148px}.ref-gallery-grid a>span{font-size:10px}.ref-doc-links a{flex-wrap:wrap}.ref-doc-links b{margin-left:0}.ref-useful-links{grid-template-columns:1fr}.ref-useful-links a{padding:10px}.ref-welcome-copy h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.reference-main *{transition:none!important;scroll-behavior:auto!important}}
