/* Site adjustments on top of the theme */
/* less empty space between sections (theme default: 120px top + 120px bottom) */
section > .container, section > .container-fluid { padding-top: 60px; padding-bottom: 60px; }
@media (max-width: 767px) { section > .container, section > .container-fluid { padding-top: 40px; padding-bottom: 40px; } }
.container.pb-200 { padding-bottom: 80px !important; }

/* Our Faculty */
.faculty-section { background: #fff; }
.faculty-section .section-title { margin-bottom: 30px; }
.faculty-col { margin-bottom: 30px; display: flex; }
.faculty-card { flex: 1; background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.08); overflow: hidden; text-align: center; padding-bottom: 16px; transition: transform .2s, box-shadow .2s; }
.faculty-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.faculty-photo { aspect-ratio: 1 / 1; overflow: hidden; background: #eef1ef; }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.faculty-name { margin: 14px 10px 4px; font-size: 18px; }
.faculty-role { display: inline-block; margin-top: 6px; padding: 3px 14px; border-radius: 14px; background: #ff9800; color: #fff; font-size: 14px; font-weight: 600; }
@media (max-width: 575px) { .faculty-name { font-size: 15px; } .faculty-role { font-size: 12px; padding: 2px 10px; } }

/* Notice ticker (home) */
.notice-bar { background: #0b3d91; color: #fff; }
.notice-inner { display: flex; align-items: center; gap: 12px; padding-top: 9px !important; padding-bottom: 9px !important; }
.notice-label { flex: none; background: #e02424; color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 4px; font-size: 15px; }
.notice-track { flex: 1; min-width: 0; }
.notice-track a { color: #fff; font-size: 15px; } .notice-track a:hover { color: #ffd54f; }
.notice-sep { color: #ffd54f; margin: 0 14px; }
.notice-all { flex: none; color: #ffd54f; font-weight: 600; white-space: nowrap; }
@media (max-width: 575px) { .notice-all { display: none; } .notice-label { font-size: 13px; padding: 3px 8px; } }

/* News page */
.news-page .news-h { margin: 10px 0 18px; }
.news-card { display: flex; gap: 18px; background: #fff; border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.07); padding: 16px; margin-bottom: 18px; scroll-margin-top: 120px; }
.news-card img { width: 220px; height: 150px; object-fit: cover; border-radius: 8px; flex: none; }
.news-card h4 { margin: 4px 0 6px; } .news-card p { margin: 0; }
.news-date { color: #ff9800; font-weight: 700; font-size: 14px; }
.notice-card { border-left: 5px solid #e02424; }
.news-card:target { outline: 3px solid #ff9800; }
.news-empty { color: #6b7a73; }
@media (max-width: 575px) { .news-card { flex-direction: column; } .news-card img { width: 100%; height: auto; } }

/* Login dropdown (top bar) */
.login-dd { position: relative; list-style: none; }
.login-dd-toggle { color: #fff; font-weight: 600; white-space: nowrap; }
.login-dd-toggle:hover { color: #fff; opacity: .9; }
.login-dd-menu { display: none; position: absolute; right: 0; top: 100%; z-index: 1000; min-width: 210px; margin: 6px 0 0; padding: 6px 0; list-style: none; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18); text-align: left; }
.login-dd-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.login-dd:hover .login-dd-menu, .login-dd.open .login-dd-menu { display: block; }
.login-dd-menu li { display: block !important; margin: 0 !important; padding: 0 !important; }
.login-dd-menu a { display: block; padding: 9px 16px; color: #1d2622 !important; font-size: 15px; }
.login-dd-menu a:hover { background: #fff3e0; }

/* header: keep logo + menu + side icon on one line */
@media (min-width: 1200px) {
  .header-nav-col-row { flex-wrap: nowrap; }
  .header-nav .nav-side-icon-parent { display: none; }
  .menuzord-brand img.logo-default { max-height: 58px; width: auto; }
}

/* Gallery: whole cover clickable, title link, all photos grid */
.gallery-block { cursor: pointer; }
.gallery-title-link, .gallery-title-link:hover { color: inherit; }
.gallery-viewall { margin-top: 10px; }
.all-photos { margin-top: 40px; clear: both; }
.all-photos-h { text-align: center; margin-bottom: 20px; }
.lightgallery-trigger, .lightgallery-trigger img { cursor: zoom-in; }

.lg-outer .lg-item { cursor: pointer; }
.ism-slider .ism-slide { cursor: pointer; }

/* login dropdown must sit above the main menu so it can be clicked */
.header-top { position: relative; z-index: 1100; }
.login-dd-menu { z-index: 3000; min-width: 190px; }
.login-dd-menu a { white-space: nowrap; }

/* faculty about text (only when filled) */
.faculty-about { margin: 10px 14px 0; font-size: 14px; line-height: 1.5; color: #555; }

/* back button on inner pages */
.page-title .container { position: relative; }
.site-back { position: absolute; left: 15px; top: 18px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 22px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.55); color: #fff !important; font-weight: 600; font-size: 15px; backdrop-filter: blur(4px); transition: background .15s, transform .15s; }
.site-back:hover { background: rgba(255,255,255,.3); transform: translateX(-2px); }
@media (max-width: 575px) { .site-back { top: 10px; padding: 5px 12px; font-size: 14px; } }

/* website language switch (EN / हिंदी) */
.site-lang { display: inline-flex !important; align-items: center; margin-right: 12px !important; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; overflow: hidden; list-style: none; vertical-align: middle; }
.site-lang a { padding: 3px 10px; color: #fff !important; font-size: 13px; font-weight: 600; line-height: 1.6; }
.site-lang a.on { background: #fff; color: #e07b00 !important; }
.login-dd-wrap { display: inline-flex; align-items: center; }
/* hide Google Translate's own bar; keep the page where it is */
.goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Header stays on screen; after scrolling it becomes compact (about half height) */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
@media (max-width: 1199px) { #header .menuzord-menu { max-height: calc(100vh - 130px); overflow-y: auto; } }
#header .header-top, #header .menuzord-brand img, #header .menuzord-menu > li, #header .menuzord-menu > li > a { transition: padding .25s ease, max-height .25s ease, font-size .25s ease; }
body.header-compact #header .header-top .container { padding-top: 0 !important; padding-bottom: 0 !important; }
body.header-compact #header .header-top .element { padding-top: 2px !important; padding-bottom: 2px !important; }
body.header-compact #header .header-top, body.header-compact #header .header-top a, body.header-compact #header .header-top li { font-size: 12.5px !important; line-height: 1.5 !important; }
body.header-compact #header .header-top .styled-icons li a { width: 24px !important; height: 24px !important; line-height: 24px !important; font-size: 12px !important; margin: 0 !important; }
body.header-compact #header .header-top .site-lang a { padding: 1px 8px; font-size: 12px; }
body.header-compact #header .header-nav-container .row > [class*="col"] { padding-top: 0 !important; padding-bottom: 0 !important; }
body.header-compact #header .menuzord-brand { margin-top: 4px !important; margin-bottom: 4px !important; padding: 0 !important; }
body.header-compact #header .menuzord-brand img.logo-default { max-height: 38px !important; }
body.header-compact #header .menuzord-menu > li { padding-top: 4px !important; padding-bottom: 4px !important; }
body.header-compact #header .menuzord-menu > li > a { padding-top: 8px !important; padding-bottom: 8px !important; }
@media (max-width: 1199px) { body.header-compact #header .header-top { padding-top: 4px !important; padding-bottom: 4px !important; } }
