/* Ramanath College: navy, ivory and gold. Shared public-site theme. */
@import url("font-awesome.min.css");
@import url("animate-library.min.css");

:root {
  --blue: #254e76; --blue-hover: #163651; --navy: #102b43; --ink: #183047;
  --muted: #687580; --pale: #f7f5f0; --line: #e5e5df; --gold: #d9b777;
  --sans: 'Segoe UI', 'Nirmala UI', Arial, sans-serif; --serif: Georgia, 'Times New Roman', serif;
  --text-body: 1rem; --text-small: .875rem; --text-caption: .75rem; --text-label: .6875rem;
  --leading-body: 1.8; --leading-heading: 1.2;
  --shadow: 0 16px 45px rgb(16 43 67 / 7%);
}
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font: var(--text-body)/var(--leading-body) var(--sans); font-kerning: normal; }
.college-home *, .college-header *, .college-footer * { box-sizing: border-box; }
.college-home a, .college-header a, .college-footer a { text-decoration: none; color: inherit; }
.college-home img { max-width: 100%; display: block; }
.college-home h1, .college-home h2, .college-home h3, .college-footer h2 { font-family: var(--serif); font-weight: 400; line-height: var(--leading-heading); margin: 0; color: var(--ink); }
.college-home p { margin: 0 0 1.25em; text-wrap: pretty; }
.college-home h2 { font-size: clamp(2.375rem, 3.5vw, 3.125rem); font-weight: 600; line-height: var(--leading-heading); letter-spacing: -.025em; text-wrap: balance; }
.college-home h3 { line-height: 1.3; text-wrap: balance; }
.section-heading h2::after, .college-introduction > h2::after, .campus-life-copy h2::after { content: ''; display: block; width: 52px; height: 3px; margin-top: 20px; background: var(--gold); }
.college-home h2 em { color: #86672f; font-weight: 400; }
.theme-container { width: calc(100% - 120px); max-width: 1240px; margin: 0 auto; }
.college-home a, .college-header a, .college-header button, .college-footer a { transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; }
a:focus-visible, button:focus-visible { outline: 3px solid #a58140; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 12px 20px; background: #fff; color: var(--navy); }
.skip-link:focus { top: 10px; }
/* College identity */
.college-header { position: relative; z-index: 30; background: #fff; color: var(--ink); font-family: var(--sans); font-weight: 400; }
.utility-bar { background: var(--navy); color: #d3dde5; font-size: var(--text-label); letter-spacing: .02em; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; }
.utility-inner > span { color: #e6c996; }
.utility-contacts { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.utility-divider { height: 11px; width: 1px; background: #ffffff30; }
.utility-inner a:hover { color: #f1d6a5; }
.brand-row { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.college-brand { display: flex; align-items: center; gap: 17px; }
.college-brand > img { width: 76px; height: 76px; object-fit: contain; }
.college-brand > span { display: flex; flex-direction: column; }
.brand-hindi { font-size: 15px; line-height: 1.5; color: #87672e; font-weight: 500; }
.brand-name { font: 400 29px/1.4 var(--serif); letter-spacing: -.6px; }
.brand-affiliation { font-size: var(--text-label); color: var(--muted); line-height: 1.6; }
.brand-aside { display: flex; flex-direction: column; text-align: right; font-size: 11px; color: var(--muted); gap: 5px; border-left: 1px solid var(--line); padding-left: 28px; }
.location-label { font-size: var(--text-label); letter-spacing: .16em; font-weight: 600; color: #87672e; }
.college-nav { background: var(--blue); border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; }
.nav-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; background: var(--blue); }
.college-menu, .college-menu ul { list-style: none; padding: 0; margin: 0; }
.college-menu { display: flex; align-items: stretch; gap: 24px; }
.college-menu > li { position: relative; display: flex; align-items: stretch; }
.college-menu > li > a, .nav-submenu-toggle { display: flex; align-items: center; gap: 8px; min-height: 62px; padding: 0; border: 0; background: none; color: #fff; font: 600 16px var(--sans); cursor: pointer; white-space: nowrap; }
.college-menu > li > a[aria-current=page] { color: #efdcad; box-shadow: inset 0 -2px var(--gold); }
.college-menu > li > a:hover, .nav-submenu-toggle:hover { color: #efdcad; }
.nav-chevron { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #ffffff14; color: #efdcad; font-size: 10px; transition: transform .2s ease, background-color .2s; }
.nav-submenu-toggle[aria-expanded=true] > .nav-chevron { transform: rotate(180deg); background: #ffffff25; }
.nav-submenu .nav-chevron { margin-left: auto; background: #f2eee5; color: #87672e; transform: rotate(-90deg); }
.nav-submenu .nav-submenu-toggle[aria-expanded=true] > .nav-chevron { transform: rotate(0); background: #e9dfcc; }
.college-header .nav-admission { display: flex; align-items: center; justify-content: center; gap: 20px; align-self: center; background: var(--navy); color: #fff; border-radius: 3px; font-size: 14px; font-weight: 600; padding: 10px 20px; }
.college-header .nav-admission:hover { background: var(--blue-hover); }
.nav-submenu { display: none; position: absolute; top: 100%; left: -18px; min-width: 230px; max-width: 300px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: var(--shadow); z-index: 40; border-radius: 0 0 6px 6px; }
.nav-submenu-toggle[aria-expanded=true] + .nav-submenu { display: block; }
.nav-submenu li { position: relative; }
.nav-submenu a, .nav-submenu .nav-submenu-toggle { display: flex; padding: 12px 18px; min-height: 44px; line-height: 1.5; font-size: 14px; white-space: normal; width: 100%; text-align: left; color: var(--ink); }
.nav-submenu a:hover, .nav-submenu .nav-submenu-toggle:hover { background: var(--pale); color: #87672e; }
.nav-submenu .nav-submenu { top: 0; left: 100%; border-radius: 6px; }
.college-menu > li:last-child > .nav-submenu { left: auto; right: 0; }
.mobile-nav-toggle { display: none; }
/* Typography and actions */
.college-home .eyebrow, .college-footer .eyebrow { font: 600 var(--text-caption)/1.6 var(--sans); letter-spacing: .13em; color: #82632e; margin: 0 0 18px; }
.theme-button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; min-height: 48px; padding: 13px 23px; border-radius: 3px; font-size: var(--text-small); font-weight: 600; line-height: 1.5; border: 1px solid transparent; }
.theme-button.gold { background: #e1c38d; color: #142d42; }
.theme-button.gold:hover { background: #efd7ad; transform: translateY(-2px); }
.theme-button.burgundy { background: var(--navy); color: #fff; }
.theme-button.burgundy:hover { background: var(--blue); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 22px; color: var(--blue) !important; font-size: 14px; font-weight: 600; padding: 5px 0; }
.text-link:hover { color: #806028 !important; }
.text-link > span { transition: transform .2s; }
.text-link:hover > span { transform: translate(2px, -2px); }
/* Student shortcuts */
.quick-access { background: var(--pale); border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid > a { display: flex; gap: 15px; align-items: center; padding: 30px 22px; border-right: 1px solid var(--line); }
.quick-grid > a:first-child { padding-left: 0; }
.quick-grid > a:last-child { border-right: 0; padding-right: 0; }
.quick-grid > a:hover { background: #efece4; }
.quick-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 42px; color: #8c6f3c; }
.quick-icon svg { width: 29px; height: 29px; }
.quick-grid strong { display: block; font-size: var(--text-small); font-weight: 600; line-height: 1.5; }
.quick-grid small { display: block; font-size: var(--text-caption); color: var(--muted); line-height: 1.5; margin-top: 5px; }
.quick-arrow { margin-left: auto; color: #987943; font-size: 19px; }
/* Overview and notices */
.introduction-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 85px; padding-top: 100px; padding-bottom: 100px; }
.college-introduction > h2 { margin-bottom: 27px; }
.college-introduction > p:not(.eyebrow) { font-size: var(--text-body); line-height: var(--leading-body); color: var(--muted); max-width: 60ch; }
.college-facts { display: grid; grid-template-columns: 1fr 1.2fr 1fr; padding-top: 26px; margin-top: 30px; gap: 18px; border-top: 1px solid var(--line); }
.college-facts > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.college-facts strong { font: 400 33px/1.3 var(--serif); font-variant-numeric: lining-nums tabular-nums; display: block; color: var(--navy); letter-spacing: -.025em; }
.college-facts span { font-size: var(--text-caption); line-height: 1.5; color: var(--muted); display: block; margin-top: 8px; }
.notice-panel { border: 1px solid var(--line); background: #fff; align-self: start; border-radius: 7px; overflow: hidden; box-shadow: var(--shadow); }
.notice-heading { padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; background: var(--navy); border-top: 3px solid var(--gold); }
.college-home .notice-heading .eyebrow { font-size: 11px; color: #dcc397; margin-bottom: 9px; }
.college-home .notice-heading h2 { font-size: 36px; letter-spacing: -.6px; color: #fff; }
.notice-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffffff35; font-size: 22px; color: #e1c38d; }
.notice-items { padding: 0 30px; }
.notice-item { display: flex; align-items: center; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.notice-item:last-child { border-bottom: 0; }
.notice-item:hover .notice-title { color: #82632e; }
.notice-date { min-width: 61px; padding: 10px 4px; background: var(--pale); border: 1px solid #ece7dc; border-radius: 4px; display: flex; flex-direction: column; text-align: center; color: var(--navy); line-height: 1.2; }
.notice-date strong { font: 400 27px var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.notice-date span { font-size: .625rem; letter-spacing: .02em; margin-top: 5px; text-transform: uppercase; white-space: nowrap; color: #82632e; }
.notice-title { font-size: 15px; line-height: 1.7; flex: 1; }
.notice-item > span:last-child { color: #987943; }
.notice-all { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 18px 30px; color: var(--navy) !important; background: var(--pale); font-size: var(--text-small); font-weight: 600; }
.notice-all:hover { background: #efece4; }
.notice-empty { padding: 25px 0; color: var(--muted); }
/* Programmes, leadership and campus */
.programmes-section { padding: 90px 0; background: var(--pale); border-top: 1px solid #ece9e1; border-bottom: 1px solid #ece9e1; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 38px; }
.college-home .section-heading .eyebrow { margin-bottom: 13px; }
.section-heading > p { font-size: var(--text-small); line-height: 1.7; color: var(--muted); margin: 0; text-align: right; }
.programme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px; }
.programme-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.programme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.programme-image { position: relative; height: 220px; overflow: hidden; }
.programme-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #102b4320, transparent); pointer-events: none; }
.programme-image img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s; }
.programme-card:hover img { transform: scale(1.04); }
.programme-number { position: absolute; left: 20px; top: 20px; z-index: 1; background: #fffef6ef; color: var(--navy); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; font: 400 17px var(--serif); }
.programme-content { padding: 28px 27px 0; display: flex; flex-direction: column; flex: 1; }
.college-home .programme-content .eyebrow { font-size: 11px; margin-bottom: 12px; letter-spacing: 1.6px; }
.programme-content h3 { font-size: 1.9375rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: -.02em; margin-bottom: 18px; }
.programme-content h3 span { display: grid; place-items: center; flex-shrink: 0; width: 31px; height: 31px; border-radius: 50%; border: 1px solid #e3ddcf; font: 18px var(--sans); color: #86672f; }
.programme-content > p:not(.eyebrow) { font-size: var(--text-body); color: var(--muted); line-height: var(--leading-body); margin-bottom: 26px; }
.programme-subjects { border-top: 1px solid var(--line); padding: 19px 0; font-size: var(--text-caption); line-height: 1.7; color: var(--muted); margin-top: auto; }
.leadership-section { padding-top: 90px; padding-bottom: 85px; }
.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.leader-card { display: flex; gap: 26px; padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.leader-card > img { width: 160px; height: 205px; object-fit: cover; object-position: center top; flex-shrink: 0; border-radius: 3px; filter: saturate(.8); }
.college-home .leader-card .eyebrow { font-size: var(--text-label); letter-spacing: .12em; margin-bottom: 12px; }
.leader-card h3 { font-size: 1.8125rem; letter-spacing: -.02em; margin-bottom: 18px; }
.leader-card p:not(.eyebrow) { font-size: .9375rem; color: var(--muted); line-height: var(--leading-body); }
.leader-card .text-link { font-size: var(--text-small); line-height: 1.6; gap: 12px; }
.campus-section { padding-bottom: 75px; }
.campus-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; align-items: center; padding: 38px; border-radius: 6px; background: var(--navy); }
.campus-life-photo { height: 350px; }
.campus-life-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.college-home .campus-life-copy .eyebrow { color: #e1c38d; }
.college-home .campus-life-copy h2 { margin-bottom: 24px; color: #fff; }
.college-home .campus-life-copy h2 em { color: #e1c38d; }
.campus-life-copy > p:not(.eyebrow) { font-size: var(--text-body); line-height: var(--leading-body); color: #c0cbd4; margin-bottom: 28px; max-width: 45ch; }
.campus-life-copy .theme-button.burgundy { background: #e1c38d; color: var(--navy); }
.campus-life-copy .theme-button.burgundy:hover { background: #efd7ad; }
.events-section { padding-top: 10px; padding-bottom: 45px; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px; }
.event-card { padding: 29px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 5px; }
.event-card time { font-size: var(--text-caption); font-variant-numeric: tabular-nums; color: #82632e; }
.event-card h3 { font-size: 29px; margin: 15px 0 24px; }
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.institution-links { padding-top: 35px; padding-bottom: 65px; text-align: center; }
.college-home .institution-links .eyebrow { color: var(--muted); font-size: var(--text-label); letter-spacing: .12em; margin-bottom: 30px; }
.institution-links > div { display: flex; justify-content: center; align-items: center; gap: 70px; }
.institution-links img { height: 55px; width: 155px; object-fit: contain; opacity: .85; transition: opacity .2s; }
.institution-links a:hover img { opacity: 1; }
/* Footer and existing interior pages */
.college-footer { background: #0b2236; color: #bac7d1; font-family: var(--sans); font-weight: 400; }
.footer-invitation { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 0; border-bottom: 1px solid #ffffff1c; }
.college-footer .eyebrow { color: #e1c38d; }
.college-footer .footer-invitation .eyebrow { font-size: var(--text-label); margin-bottom: 14px; }
.college-footer h2 { font-size: clamp(36px, 3vw, 44px); line-height: 1.2; color: #fff; letter-spacing: -.9px; text-transform: none; text-wrap: balance; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.2fr; gap: 45px; padding: 54px 0; }
.college-footer .footer-brand { font: 400 30px/1.2 var(--serif); color: #fff; margin-bottom: 20px; letter-spacing: -.7px; }
.footer-brand span { display: block; font: 400 13px var(--sans); margin-top: 14px; color: #d9bb88; letter-spacing: 0; }
.footer-grid h3 { font: 600 14px var(--sans); letter-spacing: 1px; color: #e1c38d; margin: 0 0 21px; text-transform: uppercase; }
.footer-grid a { display: block; font-size: var(--text-small); line-height: 1.7; margin-bottom: 11px; }
.footer-grid a:hover { color: #efdcad; }
.college-footer p { font-size: var(--text-small); line-height: var(--leading-body); margin: 0 0 18px; font-weight: 400; color: inherit; text-wrap: pretty; }
.footer-contact { overflow-wrap: anywhere; }
.footer-directions { color: #e1c38d !important; margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff1c; padding: 23px 0; font-size: var(--text-caption); line-height: 1.6; color: #a4b4c1; }
.footer-bottom a { color: #d8c6a8; }
/* Shared social buttons: circular orange icons matching the college reference. */
.social-links { display: flex; align-items: center; gap: 12px; }
.footer-social { margin-top: 20px; }
.college-header .social-link, .college-footer .social-link {display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0;width: 36px;height: 36px;padding: 0;margin: 0;border-radius: 50%;background: #ff9800;color: #fff;font-size: 20px;line-height: 1;}
.college-header .social-link:hover, .college-footer .social-link:hover { background: #e78800; color: #fff; transform: translateY(-2px); }
body:not(.college-home) > .about-section { padding: 55px 0; background: var(--pale); min-height: 40vh; }
body:not(.college-home) .about-col > h3 { color: var(--navy); font: 600 clamp(34px, 3.5vw, 46px)/1.2 var(--serif); letter-spacing: -.8px; margin-bottom: 30px; text-transform: none; text-wrap: balance; }
body:not(.college-home) .about-col > h3::after { content: ''; display: block; width: 52px; height: 3px; margin-top: 18px; background: var(--gold); }
/* Readable prose for pages populated by the college's content editor. */
body:not(.college-home) .about-col { font-family: var(--sans); font-size: var(--text-body); line-height: var(--leading-body); }
body:not(.college-home) .about-col :is(p, li, td, th) { font-family: var(--sans); font-size: var(--text-body); line-height: var(--leading-body); }
body:not(.college-home) .about-col p { max-width: 75ch; margin-bottom: 1.25em; text-wrap: pretty; }
body:not(.college-home) .about-col .text-justify { text-align: start !important; }
body:not(.college-home) .about-col :is(h2, h4, h5, h6) { font-family: var(--serif); color: var(--ink); line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
body:not(.college-home) .about-col :is(ul, ol):not(.notice) { padding-inline-start: 1.5em; }
body:not(.college-home) .about-col li + li { margin-top: .5em; }
body:not(.college-home) .about-col img { max-width: 100%; height: auto; }
body:not(.college-home) .about-col a { color: var(--blue); }
body:not(.college-home) .about-col .notice { padding-left: 0; list-style: none; }
body:not(.college-home) .about-col .notice li { background: #fff; padding: 20px 24px; border: 1px solid var(--line) !important; border-radius: 4px; }
body:not(.college-home) .about-col .notice li span { color: var(--muted) !important; }
@media (max-width: 1150px) {
  .theme-container { width: calc(100% - 80px); }
  .college-menu { gap: 16px; }
  .college-menu > li > a, .nav-submenu-toggle { font-size: 14px; }
  .brand-aside { display: none; }
  .quick-grid > a { padding: 25px 15px; gap: 10px; }
  .quick-arrow { display: none; }
  .introduction-section { gap: 45px; }
  .leader-card { padding: 24px; gap: 20px; }
  .leader-card > img { width: 140px; height: 180px; }
  .campus-grid { gap: 40px; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .theme-container { width: calc(100% - 64px); }
  .quick-grid > a { gap: 7px; padding: 25px 10px; }
  .quick-grid strong { font-size: .8125rem; }
  .quick-grid small { font-size: var(--text-label); }
  .quick-icon { width: 30px; }
  .introduction-section { gap: 32px; padding: 70px 0; }
  .college-home h2 { font-size: 40px; }
  .programme-grid { gap: 18px; }
  .programme-content { padding: 23px 20px 0; }
  .programme-content h3 { font-size: 27px; }
  .programme-image { height: 180px; }
  .leadership-grid { grid-template-columns: 1fr; }
  .campus-grid { padding: 28px; gap: 30px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-contact { grid-column: 1/-1; }
  .institution-links > div { gap: 35px; }
}
/* Keep the larger menu readable on tablets by using the menu button. */
@media (max-width: 1000px) {
  .mobile-nav-toggle { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--pale); border: 1px solid var(--line); border-radius: 3px; color: var(--navy); font: 11px var(--sans); padding: 7px 11px; cursor: pointer; }
  .mobile-nav-toggle span { font-size: 21px; line-height: 1.3; }
  .college-nav { display: none; }
  .college-nav.is-open { display: block; }
  .nav-inner { display: block; padding: 10px 0 18px; }
  .college-menu { display: block; }
  .college-menu > li { display: block; border-bottom: 1px solid #ffffff24; }
  .college-menu > li > a, .nav-submenu-toggle { font-size: 16px; gap: 10px; min-height: 50px; width: 100%; justify-content: space-between; text-align: left; }
  .college-menu > li > a[aria-current=page] { box-shadow: none; color: #efdcad; }
  .nav-submenu, .nav-submenu .nav-submenu { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--gold); margin: 0 0 10px 5px; min-width: 0; max-width: none; width: auto; border-radius: 3px; }
  .nav-submenu a, .nav-submenu .nav-submenu-toggle { padding: 12px 16px; font-size: 14px; }
  .nav-submenu .nav-chevron { transform: none; }
  .nav-submenu .nav-submenu-toggle[aria-expanded=true] > .nav-chevron { transform: rotate(180deg); }
  .college-header .nav-admission { margin-top: 16px; font-size: 14px; padding: 13px 18px; justify-content: space-between; }
}
@media (max-width: 760px) {
  .theme-container { width: calc(100% - 40px); }
  .utility-inner { min-height: 56px; justify-content: space-between; }
  .utility-inner > span { font-size: var(--text-label); letter-spacing: .03em; }
  .utility-contacts { display: none; }
  .brand-row { min-height: 100px; gap: 10px; }
  .college-brand { gap: 10px; min-width: 0; }
  .college-brand > img { height: 52px; width: 52px; }
  .brand-hindi { font-size: 12px; }
  .brand-name { font-size: 20px; letter-spacing: -.5px; line-height: 1.4; }
  .brand-affiliation { font-size: .5625rem; max-width: 270px; line-height: 1.5; margin-top: 3px; }
  .theme-button { font-size: .8125rem; padding: 13px 20px; gap: 20px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid > a, .quick-grid > a:first-child, .quick-grid > a:last-child { padding: 20px 12px; gap: 9px; }
  .quick-grid > a:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .quick-grid > a:nth-child(even) { padding-right: 0; border-right: 0; }
  .quick-grid > a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .quick-grid strong { font-size: .8125rem; }
  .quick-grid small { font-size: var(--text-label); }
  .quick-icon { width: 30px; height: 34px; }
  .quick-icon svg { width: 25px; height: 25px; }
  .introduction-section { grid-template-columns: 1fr; gap: 40px; padding: 58px 0; }
  .college-home h2 { font-size: 38px; letter-spacing: -1px; }
  .college-home .eyebrow { font-size: 11px; letter-spacing: 1.6px; }
  .college-introduction > p:not(.eyebrow) { font-size: 15px; }
  .college-facts { margin-top: 24px; padding-top: 22px; gap: 12px; }
  .college-facts > div + div { padding-left: 12px; }
  .college-facts strong { font-size: 28px; }
  .college-facts span { font-size: var(--text-label); }
  .notice-heading { padding: 24px; }
  .notice-items { padding: 0 24px; }
  .notice-item { padding: 20px 0; gap: 14px; }
  .notice-all { padding: 17px 24px; }
  .programmes-section { padding: 58px 0; }
  .section-heading { align-items: start; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
  .section-heading > .text-link { font-size: 13px; gap: 12px; }
  .section-heading > p { display: none; }
  .programme-grid { grid-template-columns: 1fr; gap: 25px; }
  .programme-image { height: 230px; }
  .programme-content { padding: 26px 24px 0; }
  .programme-content h3 { font-size: 31px; }
  .leadership-section { padding: 58px 0; }
  .leadership-grid { grid-template-columns: 1fr; gap: 20px; }
  .leader-card { padding: 24px; gap: 20px; }
  .leader-card h3 { font-size: 28px; }
  .leader-card > img { width: 120px; height: 155px; }
  .campus-section { padding-bottom: 50px; }
  .campus-grid { grid-template-columns: 1fr; gap: 28px; padding: 22px; }
  .campus-life-photo { height: 240px; }
  .campus-life-copy { padding: 4px 2px 12px; }
  .campus-life-copy > p:not(.eyebrow) { font-size: 15px; max-width: none; }
  .events-section { padding-top: 0; padding-bottom: 30px; }
  .events-grid { grid-template-columns: 1fr; }
  .institution-links { padding-top: 25px; padding-bottom: 45px; }
  .institution-links > div { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .institution-links img { width: 140px; height: 50px; margin: 0 auto; }
  .college-home .institution-links .eyebrow { font-size: var(--text-label); line-height: 1.8; }
  .footer-invitation { display: block; padding: 40px 0; }
  .college-footer h2 { font-size: 36px; max-width: 420px; margin-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 0; }
  .footer-about, .footer-contact { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 400px) {
  .theme-container { width: calc(100% - 32px); }
  .college-brand > img { width: 40px; height: 45px; }
  .brand-name { font-size: 17px; }
  .brand-hindi { font-size: 10px; }
  .brand-affiliation { font-size: .5rem; max-width: 212px; }
  .brand-row { gap: 7px; }
  .college-brand { gap: 8px; }
  .mobile-nav-toggle { padding: 5px 7px; }
  .quick-grid > a { gap: 7px; }
  .quick-icon { width: 25px; }
  .college-home h2 { font-size: 35px; }
  .leader-card { padding: 20px; gap: 16px; flex-direction: column; }
  .leader-card > img { width: 160px; height: 205px; }
}
/* Animate.css entrance utilities with a short travel distance for this theme. */
.theme-reveal.animate__animated { --animate-duration: 700ms; animation-delay: var(--theme-delay, 0ms); animation-timing-function: cubic-bezier(.22, 1, .36, 1); animation-fill-mode: backwards; }
.theme-reveal.animate__fadeInUp { animation-name: theme-rise; }
@keyframes theme-rise {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.nav-submenu-toggle[aria-expanded=true] + .nav-submenu { animation: fadeIn 180ms ease-out; }
.college-nav.is-open { animation: fadeIn 220ms ease-out; }
.theme-button > span { transition: transform .2s ease; }
.theme-button:hover > span { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
