@font-face { font-family: 'Footer Screen Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-sans-3-regular.ttf') format('truetype'); }
@font-face { font-family: 'Footer Screen Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-sans-3-semibold.ttf') format('truetype'); }
@font-face { font-family: 'Footer Screen Serif'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/playfair-display-bold.ttf') format('truetype'); }
.footer-screen { background: #fff; color: #111; font: 400 20px/1.5 'Footer Screen Sans', Arial, sans-serif; letter-spacing: 0; }
.footer-screen,.footer-screen * { box-sizing: border-box; }
.footer-screen__header { min-height: 162px; padding: 32px 50px 22px; background: linear-gradient(90deg,#fff 23.08%,#3e3d8b 100%); }
.footer-screen__header ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; line-height: 20px; }
.footer-screen__header a { color: #111; text-decoration: none; }
.footer-screen__header li+li::before { content: '>'; margin-right: 8px; }
.footer-screen__header h1 { margin: 0; color: #272566; font: 700 40px/1.2 'Footer Screen Serif',Georgia,serif; letter-spacing: 0; }
.footer-screen__header h1::after { content: ''; display: block; width: 104px; height: 1.5px; margin-top: 14px; background: #f44336; }
.footer-screen__body { padding: 40px 50px 56px; }
.footer-screen__body--sidebar { display: grid; grid-template-columns: minmax(0,376fr) minmax(0,947fr); gap: 17px; }
.footer-screen__sidebar { align-self: start; padding: 19px; border-radius: 8px; background: #f5f4f4; }
.footer-screen__sidebar a { display: flex; align-items: center; min-height: 48px; padding: 10px 20px; border-radius: 5px; color: #4a4a4a; font-size: 20px; line-height: 24px; text-decoration: none; }
.footer-screen__sidebar a[aria-current='page'],.footer-screen__sidebar a.active { background: #3e3d8b; color: #fff; font-weight: 600; }
.footer-screen__sidebar a:hover:not([aria-current]):not(.active) { background: #e9e8f1; }
.footer-screen__content { min-width: 0; }
.footer-screen__content p { margin: 0 0 22px; }
.footer-screen__content a { color: #3e3d8b; font: inherit; font-weight: 600; text-decoration: underline !important; overflow-wrap: anywhere; }
.footer-screen__section-title { color: #111; margin: 30px 0 24px; font: 700 35px/1.2 'Footer Screen Serif',Georgia,serif; letter-spacing: 0; text-transform: none !important; }
.footer-screen__section-title:first-child { margin-top: 0; }
.footer-screen__section-title::after { content: ''; display: block; width: 130px; height: 1.5px; margin-top: 12px; background: #f44336; }
.footer-screen__content img { display: block; max-width: 100%; height: auto; }
.footer-screen__gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin: 32px 0; }
.footer-screen__gallery-item { min-width: 0; padding: 0; margin: 0; }
.footer-screen__gallery img { width: 100%; aspect-ratio: 1.31; object-fit: cover; border-radius: 8px; margin: 0 !important; }
.footer-screen--national-space-day .footer-screen__gallery-section:first-of-type .footer-screen__gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
.footer-screen__content .table-responsive { max-width: 100%; overflow-x: auto; margin: 32px 0; border-radius: 8px 8px 0 0; }
.footer-screen__table { width: 100%; min-width: 600px; margin: 0; border-collapse: collapse; font: inherit; color: #111; }
.footer-screen__table th,.footer-screen__table td { border: 0; border-right: 1px solid #ddd; padding: 24px 40px; vertical-align: middle; }
.footer-screen__table th:last-child,.footer-screen__table td:last-child { border-right: 0; }
.footer-screen__table thead th,.footer-screen__table thead td { color: #fff; background: #3e3d8b; font-weight: 600; text-align: left; }
.footer-screen__table tbody tr:nth-child(even) > * { background: #f7f7f7; }
.footer-screen__table tbody tr:nth-child(odd) > * { background: #fff; }
.footer-screen__table tbody tr:first-child > th { background: #3e3d8b; color: #fff; }
.footer-screen--shs-campaign .footer-screen__content { position: relative; min-height: 364px; padding: 40px 340px 40px 40px; background: #f5f4f4; border-radius: 8px; }
.footer-screen--shs-campaign .footer-screen__content p:last-child { position: absolute; right: 40px; top: 28px; width: 286px; }
.footer-screen--shs-campaign img { width: 100%; }
.footer-screen--privacy-policy .footer-screen__content { padding: 36px 24px; background: #f5f4f4; border-radius: 8px; }
.footer-screen--privacy-policy .footer-screen__section-title::after { display: none; }
.footer-screen--privacy-policy .footer-screen__section-title:not(:first-child) { border-top: 1px solid #d5d5d5; padding-top: 32px; }
.footer-screen--ranking .footer-screen__section-title:not(:first-child) { padding: 18px 22px; background: #3e3d8b; color: #fff; font: 600 20px/1.25 'Footer Screen Sans',Arial,sans-serif; border-radius: 8px 8px 0 0; margin-bottom: 0; }
.footer-screen--ranking .footer-screen__section-title:not(:first-child)::after { display: none; }
.footer-screen--ranking .table-responsive { margin-top: 0; padding: 36px; border: 1px solid #ddd; border-radius: 0 0 8px 8px; }
.footer-screen--nirf .footer-screen__content > p:last-child { padding: 24px 40px; background: #e9f0f8; border-radius: 8px; margin-top: 56px; }
.footer-screen a:focus-visible,.footer-screen .table-responsive:focus-visible { outline: 2px solid #f44336; outline-offset: 3px; }
.contact-screen .tab-pane > .row { margin: 0 0 10px; padding: 16px; background: #f5f4f4; border-radius: 8px; }
.contact-screen .footer-screen__sidebar.nav { display: block; }
@media (min-width: 801px) {
    .contact-screen .footer-screen__sidebar { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: thin; }
}
.contact-screen .tab-pane { scroll-margin-top: 20px; }
.contact-screen .tab-pane:focus { outline: none; }
.contact-screen .tab-pane:focus-visible { outline: 2px solid #f44336; outline-offset: 4px; }
.contact-screen .contact-screen__name { font: 700 35px/1.2 'Footer Screen Serif',Georgia,serif; margin: 12px 0 24px; }
.footer-screen__image-unavailable { display: block; min-height: 160px; background: #f5f4f4; border-radius: 8px; }
.contact-screen .tab-pane > .row > [class*='col-md-2'] { width: 34%; padding: 0; }
.contact-screen .tab-pane > .row > [class*='col-md-10'] { width: 66%; padding: 0 20px; }
.contact-screen .tab-pane > .row img { width: 100%; aspect-ratio: 1.13; object-fit: cover; border-radius: 8px; margin: 0 !important; }
.contact-screen .tab-pane .footer-screen__section-title { font-size: 20px; font-family: 'Footer Screen Sans',Arial,sans-serif; margin: 0 0 16px !important; font-weight: 600; }
.contact-screen .tab-pane .footer-screen__section-title::after { display: none; }
.contact-screen .tab-pane .row .footer-screen__section-title:not(.footer-screen__role-title) { font: 700 35px/1.2 'Footer Screen Serif',Georgia,serif; }
.contact-screen .tab-pane > .footer-screen__section-title { font: 700 35px/1.2 'Footer Screen Serif',Georgia,serif; margin: 0 0 32px !important; }
.contact-screen .tab-pane h5:not(.footer-screen__section-title) { font: 700 30px/1.2 'Footer Screen Serif',Georgia,serif; margin: 12px 0 24px; }
.contact-screen .tab-pane .footer-screen__gallery { margin: 0; display: contents; }
.contact-screen .tab-pane .footer-screen__gallery-item { width: 34%; }
.contact-screen .tab-pane iframe { width: 100%; height: 420px; border: 0; }
.contact-screen #contact .footer-screen__gallery-item { width: 100%; }
.contact-screen #contact img { width: 140px; height: auto; aspect-ratio: auto; object-fit: contain; }
.contact-screen #contact .row { background: #f5f4f4; }
.contact-screen #faculty > .row,.contact-screen #admission > .row { padding: 0; background: transparent; }
.contact-screen #faculty .row > .footer-screen__section-title,.contact-screen #admission .row > .footer-screen__section-title { font: 700 35px/1.2 'Footer Screen Serif',Georgia,serif; }
.contact-screen .tab-pane .fa { color: #3e3d8b; margin-right: 10px; }
.contact-screen__board { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 20px; padding: 20px; background: #f5f4f4; }
.contact-screen #contact .contact-screen__board > a > img { width: 100%; height: auto; object-fit: contain; }
.contact-screen__board > div > img { width: 100px; margin-bottom: 40px; }
.contact-screen__board > div { padding: 0 6px; }
.contact-screen__board p { padding: 18px 0; border-bottom: 1px solid #ddd; }
.contact-screen__board p:last-child { border-bottom: 0; }
.contact-screen .tab-pane > .footer-screen__section-title::after { display: block; }
@media (max-width: 1000px) {
    .footer-screen__header { padding-inline: 24px; }
    .footer-screen__body { padding: 32px 24px 40px; }
    .footer-screen__body--sidebar { grid-template-columns: minmax(0,250px) minmax(0,1fr); gap: 20px; }
    .footer-screen__sidebar { padding: 12px; }
    .footer-screen__sidebar a { font-size: 18px; padding-inline: 12px; }
    .footer-screen__gallery { gap: 20px; }
    .footer-screen__table th,.footer-screen__table td { padding: 20px; }
}
@media (max-width: 800px) {
    .footer-screen__body--sidebar { grid-template-columns: minmax(0,1fr); }
    .contact-screen__board { grid-template-columns: minmax(0,1fr); }
    .footer-screen__header h1 { font-size: 32px; }
    .footer-screen__section-title { font-size: 28px; }
    .footer-screen--shs-campaign .footer-screen__content { padding: 24px; }
    .footer-screen--shs-campaign .footer-screen__content p:last-child { position: static; width: 240px; max-width: 100%; margin: 24px auto 0; }
}
@media (max-width: 480px) {
    .footer-screen { font-size: 18px; }
    .footer-screen__header { padding: 24px 16px; }
    .footer-screen__header h1 { font-size: 28px; }
    .footer-screen__body { padding: 24px 16px 40px; }
    .footer-screen__gallery,.footer-screen--national-space-day .footer-screen__gallery-section:first-of-type .footer-screen__gallery { grid-template-columns: minmax(0,1fr); }
    .footer-screen--ranking .table-responsive { padding: 16px; }
    .contact-screen .tab-pane > .row > [class*='col-md-2'],.contact-screen .tab-pane > .row > [class*='col-md-10'],.contact-screen .tab-pane .footer-screen__gallery-item { width: 100%; padding: 0; }
    .contact-screen .tab-pane > .row img { max-width: 305px; margin-bottom: 20px !important; }
}

/* Faculty directory: paired name columns and grouped telephone headers. */
.contact-screen #faculty .row > .footer-screen__section-title {
    margin: 0 0 36px !important;
    padding: 0;
    font: 700 35px/1.2 'Footer Screen Serif', Georgia, serif;
}
.contact-screen #faculty .row > .footer-screen__section-title::after { display: none; }
.contact-screen #faculty .table-responsive { width: 100%; margin: 0; padding: 0; border-radius: 10px 10px 0 0; }
.contact-screen #faculty .footer-screen__table {
    min-width: 760px;
    table-layout: fixed;
    border: 0 !important;
    font: 400 18px/1.5 'Footer Screen Sans', Arial, sans-serif;
}
.contact-screen #faculty .footer-screen__table :is(th, td) {
    border: 0 !important;
    border-right: 1px solid #e8e8e8 !important;
    padding: 24px !important;
    vertical-align: middle;
    text-align: center;
    overflow-wrap: normal;
}
.contact-screen #faculty .footer-screen__table :is(th, td):last-child { border-right: 0 !important; }
.contact-screen #faculty .footer-screen__table :is(th, td):nth-child(1),
.contact-screen #faculty .footer-screen__table :is(th, td):nth-child(4) { width: 28%; }
.contact-screen #faculty .footer-screen__table tbody :is(th, td):nth-child(2),
.contact-screen #faculty .footer-screen__table tbody :is(th, td):nth-child(3),
.contact-screen #faculty .footer-screen__table tbody :is(th, td):nth-child(5),
.contact-screen #faculty .footer-screen__table tbody :is(th, td):nth-child(6) { width: 11%; }
.contact-screen #faculty .footer-screen__table thead th {
    padding: 12px 16px !important;
    border-right-color: #7270aa !important;
    background: #3e3d8b !important;
    color: #fff !important;
    font-weight: 600;
}
.contact-screen #faculty .footer-screen__table thead th[rowspan] { width: 28%; text-align: left; padding-inline: 48px !important; }
.contact-screen #faculty .footer-screen__table thead th[colspan] { position: relative; width: 22%; }
.contact-screen #faculty .footer-screen__table thead th[colspan]::after {
    content: '';
    position: absolute;
    inset-inline: 14px;
    bottom: 0;
    height: 1px;
    background: rgb(255 255 255 / 55%);
}
.contact-screen #faculty .footer-screen__table thead tr:last-child th { width: auto; }
.contact-screen #faculty .footer-screen__table tbody td:nth-child(1),
.contact-screen #faculty .footer-screen__table tbody td:nth-child(4) { text-align: left; padding-inline: 48px !important; }
.contact-screen #faculty .footer-screen__table td p { margin: 0; }
.contact-screen #faculty .footer-screen__table tbody tr:nth-child(odd) > td { background: #fff !important; }
.contact-screen #faculty .footer-screen__table tbody tr:nth-child(even) > td { background: #f7f7f7 !important; }

@media (max-width: 1100px) {
    .contact-screen #faculty .row > .footer-screen__section-title { font-size: 28px; margin-bottom: 28px !important; }
    .contact-screen #faculty .footer-screen__table thead th[rowspan],
    .contact-screen #faculty .footer-screen__table tbody td:nth-child(1),
    .contact-screen #faculty .footer-screen__table tbody td:nth-child(4) { padding-inline: 24px !important; }
}
@media (max-width: 600px) {
    .contact-screen #faculty .row > .footer-screen__section-title { font-size: 25px; }
}

.footer-screen__content--coming-soon {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 40px 24px;
    border: 1px solid #e6e5ef;
    border-radius: 8px;
    background: #f7f7fb;
    text-align: center;
}
.footer-screen__content--coming-soon > p {
    margin: 0;
    color: #272566;
    font: 700 clamp(32px, 4vw, 56px)/1.25 'Footer Screen Serif', Georgia, serif;
}
.footer-screen__content--coming-soon > p::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    margin: 22px auto 0;
    background: #f44336;
}
@media (max-width: 800px) {
    .footer-screen__content--coming-soon { min-height: 240px; }
}

@media (min-width: 801px) {
    .footer-screen--vigilance-awareness-week .footer-screen__sidebar {
        position: sticky;
        top: 20px;
        max-height: calc(100dvh - 40px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}
