/*
Theme Name: Majuli College
Description: Majuli College Website
Author: Dibyajyoti Saikia
Author URI: NA
Author Email: NA
Version: 1.0.0
Text Domain: hello-elementor-child
Template: hello-elementor
*/
/*
Add your custom styles here
*/

/* Header: keep the mobile menu buttons on the brand colours (Hello theme turns buttons pink on hover/focus) */
.mc-header .elementskit-menu-hamburger:hover,
.mc-header .elementskit-menu-hamburger:focus,
.mc-header .elementskit-menu-close:hover,
.mc-header .elementskit-menu-close:focus {
  background-color: transparent;
  color: #0B4A73;
}
.mc-header .elementskit-menu-hamburger:focus-visible,
.mc-header .elementskit-menu-close:focus-visible {
  outline: 2px solid #008CCC;
  outline-offset: 2px;
}

/* Announcements ticker below the menu ([mc_ticker], managed in Dashboard → Announcements) */
.mc-ticker {
  background: #fff;
  box-shadow: inset 0 -1px 0 #E6DFD1;
  overflow: hidden;
}
.mc-ticker .tk-track {
  display: flex;
  width: max-content;
  animation: mc-tk 50s linear infinite;
}
.mc-ticker:hover .tk-track,
.mc-ticker:focus-within .tk-track {
  animation-play-state: paused;
}
.mc-ticker .tk-set {
  display: flex;
  align-items: center;
  flex: none;
}
.mc-ticker .tk-set a,
.mc-ticker .tk-set span {
  padding: 14px 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
  color: #0B4A73;
  white-space: nowrap;
  text-decoration: none;
}
.mc-ticker .tk-set a:hover,
.mc-ticker .tk-set a:focus {
  color: #008CCC;
  text-decoration: underline;
}
.mc-ticker .tk-set i {
  display: block;
  width: 2px;
  height: 16px;
  background: #008CCC;
  margin: 0 28px;
  flex: none;
}
@keyframes mc-tk {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .mc-ticker .tk-set a,
  .mc-ticker .tk-set span { font-size: 13.5px; padding: 12px 0; }
  .mc-ticker .tk-set i { margin: 0 20px; }

}
@media (prefers-reduced-motion: reduce) {
  .mc-ticker .tk-track { animation: none; }
  .mc-ticker { overflow-x: auto; }

}

/* ===== Homepage hero ===== */
.mc-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mc-eyebrow .elementor-heading-title::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.mc-hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, #BFE6F7, #7FCBEF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mc-hero-card {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
/* Latest updates list ([mc_latest_news]) */
.mc-latest {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.mc-latest li { transition: transform .2s; }
.mc-latest li:hover { transform: translateX(4px); }
.mc-latest a,
.mc-latest .mc-latest-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #E8F1F2;
  text-decoration: none;
}
.mc-latest a:hover span,
.mc-latest a:focus span { color: #fff; text-decoration: underline; }
.mc-latest time {
  flex: 0 0 58px;
  text-align: center;
  background: #008CCC;
  color: #fff;
  border-radius: 6px;
  padding: 4px 0;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.25;
}
.mc-latest time b {
  display: block;
  font-size: 18px;
}
.mc-latest span { padding-top: 4px; }
.mc-latest-empty { color: #D7E6E8; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .mc-latest li { transition: none; }
  .mc-latest li:hover { transform: none; }

}
/* Hero: stronger, even overlay on tablets and phones so the text stays readable over the photo */
@media (max-width: 1024px) {
  .elementor .mc-hero::before {
    background-image: linear-gradient(180deg, rgba(6, 47, 74, 0.93) 0%, rgba(11, 74, 115, 0.86) 100%) !important;
    opacity: 1 !important;
  }

}

/* Hero animated river scene ([mc_hero_scene]) — sits between the photo overlay and the text */
.elementor .mc-hero > .mc-scene-wrap {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 0;
  pointer-events: none;
}
.mc-hero > .mc-scene-wrap .elementor-widget-container,
.mc-hero > .mc-scene-wrap .elementor-shortcode {
  height: 100%;
}
.mc-hero > .e-con,
.mc-hero > .e-con-inner > .e-con {
  position: relative;
  z-index: 2;
}
.mc-hero > .elementor-shape { z-index: 1; }
.mc-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.mc-scene svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.mc-wv { animation: mc-wvd 22s linear infinite; }
.mc-wv2 { animation-duration: 15s; animation-direction: reverse; }
.mc-wv3 { animation-duration: 10s; }
@keyframes mc-wvd { to { transform: translateX(-1440px); } }
.mc-sun {
  transform-origin: 1120px 150px;
  animation: mc-sunp 6s ease-in-out infinite;
}
@keyframes mc-sunp { 50% { transform: scale(1.08); opacity: .85; } }
.mc-bird { animation: mc-fl 5s ease-in-out infinite; }
@keyframes mc-fl {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .mc-wv, .mc-sun, .mc-bird { animation: none; }

}

/* Hero text readability over the photo slider */
.mc-hero .elementor-heading-title,
.mc-hero .elementor-text-editor,
.mc-hero .elementor-widget-text-editor {
  text-shadow: 0 2px 14px rgba(3, 25, 40, 0.55), 0 1px 2px rgba(3, 25, 40, 0.35);
}
.mc-hero .mc-hero-title em {
  text-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(3, 25, 40, 0.55));
}
.mc-hero .mc-latest a,
.mc-hero .mc-latest .mc-latest-item {
  color: #F2F7F9;
  text-shadow: 0 1px 6px rgba(3, 25, 40, 0.5);
}
.mc-hero .mc-latest time { text-shadow: none; }

/* =====================================================================
   Homepage sections (stats, notices, about, quote, programmes,
   facilities, campus life, useful links)
   ===================================================================== */
.mc-home-bg { background: #F3F6F9; }

/* Section heading: eyebrow + title on the left, "more" link on the right */
.mc-link-more .elementor-button {
  padding: 0 0 3px !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 2px solid #008CCC !important;
}
.mc-link-more .elementor-button-icon { transition: transform .2s; }
.mc-link-more .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }

/* Stats card overlapping the banner wave */
.mc-stats { position: relative; overflow: hidden; }
.mc-stats::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #0B4A73, #008CCC, #7FCBEF, #008CCC, #0B4A73);
  background-size: 200% 100%;
  animation: mc-sh 6s linear infinite;
  z-index: 2;
}
@keyframes mc-sh { to { background-position: 200% 0; } }
.mc-stat { position: relative; transition: background .25s; }
.mc-stat:hover { background: #F2F9FD; }
.mc-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 24%; bottom: 24%;
  width: 1px;
  background: linear-gradient(180deg, transparent, #DCE4EB, transparent);
}
.mc-stat .elementor-icon { transition: background .25s, color .25s, transform .35s; }
.mc-stat:hover .elementor-icon { background: #008CCC !important; color: #fff !important; fill: #fff; transform: rotate(-6deg) scale(1.08); }
.mc-stat:hover .elementor-icon svg { fill: #fff; }

/* Cards with hover lift (mission/vision, facilities, programmes) */
.mc-card { transition: transform .25s, box-shadow .25s, border-color .25s; }
.mc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -14px rgba(6, 47, 74, .3); border-color: #008CCC !important; }
.mc-card .elementor-icon { transition: background .25s, color .25s, transform .35s; }
.mc-card:hover .elementor-icon { background: #008CCC !important; color: #fff !important; transform: rotate(-6deg) scale(1.08); }
.mc-card:hover .elementor-icon svg { fill: #fff; }

/* Notice board list ([mc_notice_list]) */
.mc-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #DCE4EB;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(6, 47, 74, .04);
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 430px;
  scrollbar-width: thin;
  scrollbar-color: #008CCC #E3F2FA;
  overscroll-behavior: contain;
}
.mc-notice-list::-webkit-scrollbar { width: 8px; }
.mc-notice-list::-webkit-scrollbar-track { background: #E3F2FA; }
.mc-notice-list::-webkit-scrollbar-thumb { background: #008CCC; border-radius: 8px; }
.mc-notice-list li { margin: 0; }
.mc-notice-list li a,
.mc-notice-list .mc-notice-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #DCE4EB;
  text-decoration: none;
  font-family: 'Manrope', system-ui, sans-serif;
  transition: background .15s;
}
.mc-notice-list li a:hover { background: #F6F9FC; }
.mc-notice-list li a::after {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-left: auto;
  opacity: .6;
  transition: transform .2s, opacity .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23008CCC' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.mc-notice-list li a:hover::after { transform: translateX(5px); opacity: 1; }
.mc-notice-list time {
  flex: 0 0 64px;
  text-align: center;
  border-radius: 6px;
  background: #EAF2F8;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 800;
  color: #5B6668;
  line-height: 1.2;
  text-transform: uppercase;
}
.mc-notice-list time b {
  display: block;
  font-family: 'Literata', Georgia, serif;
  font-size: 22px;
  color: #0B4A73;
}
.mc-notice-list .t { font-weight: 700; font-size: 15px; line-height: 1.45; color: #25312F; }
.mc-notice-list .k {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #2F7A55;
  margin-bottom: 2px;
}
.mc-notice-list .k-events { color: #0A6FA3; }
.mc-notice-empty { margin: 0; color: #5B6668; }

/* Admissions box links */
.mc-admit-links .elementor-icon-list-items { display: grid; gap: 10px; }
.mc-admit-links .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.mc-admit-links .elementor-icon-list-item::after { display: none !important; }
.mc-admit-links .elementor-icon-list-item > a {
  display: flex !important;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #D6E7F2;
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color .2s, color .2s;
}
.mc-admit-links .elementor-icon-list-item > a:hover { border-color: #008CCC; }
.mc-admit-links .elementor-icon-list-item > a:hover .elementor-icon-list-text { color: #008CCC !important; }
.mc-admit-links .elementor-icon-list-icon { transition: transform .2s; }
.mc-admit-links .elementor-icon-list-item > a:hover .elementor-icon-list-icon { transform: translateX(4px); }

/* About: photo with floating "60+ years" tag */
.mc-about-visual { position: relative; overflow: hidden; }
.mc-about-visual .elementor-widget-image,
.mc-about-visual .elementor-widget-image .elementor-widget-container,
.mc-about-visual .elementor-widget-image img { height: 100%; }
.mc-about-visual .elementor-widget-image { position: absolute !important; inset: 0; width: 100% !important; }
.mc-about-visual .elementor-widget-image img { width: 100%; object-fit: cover; }
.mc-about-tag { animation: mc-fl 4.5s ease-in-out infinite; }

/* Quote band with big quotation mark */
.mc-quote { position: relative; overflow: hidden; }
.mc-quote::after {
  content: "\201C";
  position: absolute;
  right: 6%;
  top: -60px;
  font-family: 'Literata', Georgia, serif;
  font-size: 340px;
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  pointer-events: none;
  animation: mc-fl 7s ease-in-out infinite;
}
.mc-quote > .e-con-inner, .mc-quote > .e-con { position: relative; z-index: 1; }

/* Programme cards */
.mc-prog { transition: box-shadow .25s, border-color .25s; }
.mc-prog:hover { box-shadow: 0 12px 28px -14px rgba(6, 47, 74, .3); border-color: #008CCC !important; }
.mc-prog .elementor-icon { transition: background .25s, color .25s, transform .35s; }
.mc-prog:hover .elementor-icon { background: #008CCC !important; color: #fff !important; transform: rotate(-6deg) scale(1.08); }
.mc-prog:hover .elementor-icon svg { fill: #fff; }
.mc-prog-feature:hover .elementor-icon { background: #fff !important; color: #0B4A73 !important; }
.mc-prog-feature:hover .elementor-icon svg { fill: #0B4A73; }
.mc-prog .mc-chips-w { margin-top: auto; }
.mc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
.mc-chips span {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: #EAF2F8;
  color: #0A6FA3;
}
.mc-prog-feature .mc-chips span { background: rgba(255, 255, 255, .12); color: #fff; }

/* Campus life tiles */
.mc-tiles > .mc-tile:first-child { grid-row: span 2; }
.mc-tile { position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.mc-tile:hover { transform: scale(1.025); box-shadow: 0 18px 36px -14px rgba(6, 47, 74, .5); }
.mc-tile::after {
  content: "";
  position: absolute;
  right: 16px; top: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity .3s, transform .3s;
  background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center no-repeat;
}
.mc-tile:hover::after { opacity: 1; transform: none; }
.mc-tile .elementor-heading-title small { display: block; font-weight: 600; opacity: .85; font-size: 12px; margin-top: 2px; }
@media (max-width: 767px) {
  .mc-tiles > .mc-tile:first-child { grid-row: auto; grid-column: span 2; }

}

/* Gallery photos */
.mc-photos .gallery { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 !important; }
.mc-photos .gallery-item { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.mc-photos .gallery-icon { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #2F7F95, #0B4A73); box-shadow: 0 10px 26px -14px rgba(6, 47, 74, .45); }
.mc-photos .gallery-icon img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; border: 0 !important; transition: transform .5s; }
.mc-photos .gallery-icon:hover img { transform: scale(1.07); }
.mc-photos br { display: none; }
@media (max-width: 900px) { .mc-photos .gallery { grid-template-columns: repeat(2, 1fr); } 
}

/* Useful links */
.mc-chiplinks .elementor-button { transition: background .2s, color .2s, border-color .2s, transform .2s; }
.mc-chiplinks .elementor-button:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .mc-stats::before, .mc-about-tag, .mc-quote::after { animation: none; }
  .mc-card, .mc-tile, .mc-chiplinks .elementor-button { transition: none; }
  .mc-card:hover, .mc-tile:hover, .mc-chiplinks .elementor-button:hover { transform: none; }

}

/* "New" tag on recent notices */
.mc-notice-list .mc-new {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #E53935;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  vertical-align: 1px;
  animation: mc-newpulse 2s ease-in-out infinite;
}
@keyframes mc-newpulse { 50% { opacity: .6; } }

/* Icon hover colours: white icon on the blue hover background (beats Elementor's per-widget colour) */
.mc-prog:hover .elementor-icon,
.mc-card:hover .elementor-icon,
.mc-stat:hover .elementor-icon { background-color: #008CCC !important; color: #fff !important; }
.mc-prog:hover .elementor-icon i,
.mc-card:hover .elementor-icon i,
.mc-stat:hover .elementor-icon i { color: #fff !important; }
.mc-prog:hover .elementor-icon svg,
.mc-card:hover .elementor-icon svg,
.mc-stat:hover .elementor-icon svg { fill: #fff !important; }
.mc-prog-feature:hover .elementor-icon { background-color: #fff !important; color: #0B4A73 !important; }
.mc-prog-feature:hover .elementor-icon i { color: #0B4A73 !important; }
.mc-prog-feature:hover .elementor-icon svg { fill: #0B4A73 !important; }

/* Useful links in the footer (dark background) */
.mc-footer-links .elementor-button { transition: background .2s, color .2s, border-color .2s, transform .2s; }
.mc-footer-links .elementor-button:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .mc-notice-list .mc-new { animation: none; }
  .mc-footer-links .elementor-button:hover { transform: none; }

}

/* About: photo collage (big photo left, two stacked right), same height as the text column */
.mc-collage { position: relative; }
.mc-collage > .elementor-widget-image:first-of-type { grid-row: span 2; }
.mc-collage > .elementor-widget-image,
.mc-collage > .elementor-widget-image .elementor-widget-container,
.mc-collage > .elementor-widget-image a { height: 100%; min-height: 0; }
.mc-collage > .elementor-widget-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform .5s;
}
.mc-collage > .elementor-widget-image { overflow: hidden; border-radius: 12px; box-shadow: 0 14px 30px -18px rgba(6, 47, 74, .45); }
.mc-collage > .elementor-widget-image:hover img { transform: scale(1.05); }
.mc-collage > .mc-about-tag {
  position: absolute !important;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  width: auto !important;
  max-width: calc(100% - 40px);
}
@media (max-width: 1024px) {
  .mc-collage { height: 440px; }

}
@media (max-width: 767px) {
  .mc-collage { height: 340px; }
  .mc-collage > .mc-about-tag { left: 12px; bottom: 12px; }

}
@media (prefers-reduced-motion: reduce) {
  .mc-collage > .elementor-widget-image:hover img { transform: none; }

}

/* ===== About section: polish ===== */
#about {
  background:
    radial-gradient(600px 380px at 8% 20%, rgba(0, 140, 204, .10), transparent 70%),
    radial-gradient(520px 360px at 95% 85%, rgba(11, 74, 115, .08), transparent 70%),
    #F3F6F9 !important;
}
/* decorative frame behind the collage */
.mc-collage { overflow: visible !important; }
.mc-collage::before {
  content: "";
  position: absolute;
  left: -22px; top: -22px;
  width: 140px; height: 140px;
  background-image: radial-gradient(circle, rgba(0, 140, 204, .45) 2px, transparent 2.5px);
  background-size: 16px 16px;
  z-index: 0;
  pointer-events: none;
}
.mc-collage::after {
  content: "";
  position: absolute;
  right: -18px; bottom: -18px;
  width: 46%; height: 52%;
  border-radius: 18px;
  background: linear-gradient(135deg, #008CCC, #0B4A73);
  opacity: .9;
  z-index: 0;
  pointer-events: none;
}
.mc-collage > .elementor-widget-image {
  position: relative;
  z-index: 1;
  border: 6px solid #fff;
  border-radius: 16px !important;
  box-shadow: 0 22px 44px -22px rgba(6, 47, 74, .55) !important;
}
.mc-collage > .elementor-widget-image img { border-radius: 10px !important; }
.mc-collage > .mc-about-tag { z-index: 4; }
.mc-collage > .mc-about-badge {
  position: absolute !important;
  top: 18px;
  left: calc(53% - 64px);
  z-index: 4;
  width: 104px !important;
  height: 104px;
  border-radius: 50%;
  box-shadow: 0 12px 26px -10px rgba(6, 47, 74, .6), 0 0 0 6px rgba(255, 255, 255, .85);
  animation: mc-fl 5.5s ease-in-out infinite;
}
@media (max-width: 767px) {
  .mc-collage::before { left: -10px; top: -10px; width: 90px; height: 90px; }
  .mc-collage::after { right: -8px; bottom: -8px; }
  .mc-collage > .elementor-widget-image { border-width: 4px; }
  .mc-collage > .mc-about-badge { width: 78px !important; height: 78px; top: 10px; left: calc(53% - 48px); }

}

/* programme highlights */
.mc-about-points .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-about-points .elementor-icon-list-item {
  margin: 0 !important;
  padding: 7px 12px !important;
  background: #fff;
  border: 1px solid #D6E7F2;
  border-radius: 999px;
  box-shadow: 0 2px 6px -3px rgba(6, 47, 74, .2);
}
.mc-about-points .elementor-icon-list-item::after { display: none !important; }

/* mission / vision cards */
.mc-mv .mc-card { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 60%, #F6FAFD) !important; }
.mc-mv .mc-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, #0B4A73, #008CCC, #7FCBEF);
}
.mc-mv .mc-card .elementor-icon {
  background: linear-gradient(145deg, #008CCC, #0B4A73) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px -8px rgba(0, 140, 204, .7);
}
.mc-mv .mc-card .elementor-icon i { color: #fff !important; }
.mc-mv .mc-card .elementor-icon svg { fill: #fff !important; }

@media (prefers-reduced-motion: reduce) {
  .mc-collage > .mc-about-badge { animation: none; }

}

/* Notice board: list fills down to the bottom of the Admissions box (desktop) */
@media (min-width: 1025px) {
  .mc-board-left .elementor-widget-shortcode {
    flex: 1 1 0;
    min-height: 300px;
    position: relative;
  }
  .mc-board-left .elementor-widget-shortcode .elementor-widget-container,
  .mc-board-left .elementor-widget-shortcode .elementor-shortcode {
    position: absolute;
    inset: 0;
  }
  .mc-board-left .mc-notice-list {
    height: 100%;
    max-height: none;
  }

}

/* =====================================================================
   Site-wide polish
   ===================================================================== */
html { scroll-behavior: smooth; }
::selection { background: #008CCC; color: #fff; }

/* Sticky menu bar + announcements strip (logo row scrolls away) */
.ekit-template-content-header.mc-sticky {
  position: sticky;
  top: var(--mc-sticky-top, -132px);
  z-index: 999;
}
body.admin-bar .ekit-template-content-header.mc-sticky { top: calc(var(--mc-sticky-top, -132px) + 32px); }
@media (max-width: 782px) { body.admin-bar .ekit-template-content-header.mc-sticky { top: calc(var(--mc-sticky-top, -132px) + 46px); } 
}
.ekit-template-content-header .mc-navbar { transition: box-shadow .3s; }
.ekit-template-content-header.is-stuck .mc-ticker-wrap { box-shadow: 0 10px 24px -14px rgba(6, 47, 74, .45); }

/* Announcements strip: "Latest" label + scrolling viewport */
.mc-ticker { display: flex; align-items: stretch; }
.mc-ticker .tk-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.mc-tk-label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 24px;
  background: #008CCC;
  color: #fff;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-right: 28px;
}
.mc-tk-label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
  animation: mc-ping 1.8s ease-out infinite;
}
@keyframes mc-ping { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (max-width: 767px) { .mc-tk-label { padding: 0 22px 0 16px; font-size: 11px; } 
}

/* Section backgrounds: alternate light / white for rhythm */
#programmes {
  background:
    radial-gradient(circle, rgba(11, 74, 115, .07) 1.5px, transparent 2px) 0 0 / 22px 22px,
    #FFFFFF !important;
}
#life { background: #FFFFFF !important; }

/* Headings: eyebrow line grows in */
.mc-eyebrow .elementor-heading-title::before { transition: width .5s ease; }
.mc-eyebrow:hover .elementor-heading-title::before { width: 40px; }

/* Buttons: gentle lift */
.elementor-widget-button .elementor-button { transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.elementor-widget-button:not(.mc-link-more) .elementor-button:hover { transform: translateY(-2px); }

/* Programme cards: lift + accent bar on hover */
.mc-prog { position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s !important; }
.mc-prog:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(6, 47, 74, .45) !important; }
.mc-prog::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #0B4A73, #008CCC, #7FCBEF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.mc-prog:hover::after { transform: scaleX(1); }
.mc-prog-feature::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 203, 239, .25), transparent 70%);
  pointer-events: none;
}
.mc-chips span { transition: background .2s, color .2s; }
.mc-prog:not(.mc-prog-feature):hover .mc-chips span { background: #DDEFF9; }

/* Facility cards: accent bar + gradient icon */
#facilities .mc-card { position: relative; overflow: hidden; }
#facilities .mc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #008CCC, #0B4A73);
  transform: scaleY(.35);
  transform-origin: top;
  transition: transform .35s ease;
}
#facilities .mc-card:hover::before { transform: scaleY(1); }

/* Stats card: subtle number colour gradient */
.mc-stat .elementor-icon-box-title {
  background: linear-gradient(90deg, #0B4A73, #008CCC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* Campus life tiles: caption slides up on hover */
.mc-tile .elementor-widget-heading { transition: transform .3s; }
.mc-tile:hover .elementor-widget-heading { transform: translateY(-4px); }

/* Footer: soft glow and link hover nudge */
.mc-footer { background-image: radial-gradient(700px 300px at 85% 0%, rgba(0, 140, 204, .16), transparent 70%) !important; }
.mc-footer .elementor-icon-list-item a { transition: padding-left .2s, color .2s; }
.mc-footer .elementor-icon-list-item a:hover { padding-left: 4px; }

/* Back-to-top button */
.mc-totop {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 998;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #008CCC, #0B4A73);
  color: #fff !important;
  box-shadow: 0 12px 24px -10px rgba(6, 47, 74, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.mc-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.mc-totop:hover { transform: translateY(-3px); }
.mc-totop:focus-visible { outline: 3px solid #7FCBEF; outline-offset: 3px; }
@media (max-width: 767px) { .mc-totop { right: 14px; bottom: 14px; width: 42px; height: 42px; } 
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mc-tk-label::before { animation: none; }
  .mc-prog:hover, .elementor-widget-button .elementor-button:hover, .mc-totop:hover { transform: none; }
  .mc-prog::after, #facilities .mc-card::before { transition: none; }

}

/* ===== Departments & staff (pages + staff profiles) ===== */
.mc-dept-jump{margin:0 0 18px}
.mc-dept-jump a,.mc-profile-back a{font-family:'Manrope',system-ui,sans-serif;font-weight:700;font-size:15px;color:#008CCC;text-decoration:none}
.mc-dept-jump a:hover,.mc-profile-back a:hover{color:#0B4A73;text-decoration:underline}
.mc-dept-about{font-family:'Manrope',system-ui,sans-serif;font-size:16.5px;line-height:1.75;color:#2b3436}
.mc-dept-about p,.mc-dept-about span{font-family:inherit !important;line-height:inherit !important}
.mc-dept-about strong{color:#0B4A73}
.mc-dept-about ul,.mc-dept-about ol{padding-left:1.3em;margin:0 0 1.2em}
.mc-dept-about li{margin:.25em 0}
.mc-dept-about a{color:#008CCC}

.mc-faculty{margin:48px 0 24px;padding-top:32px;border-top:1px solid #DCE4EB;scroll-margin-top:110px}
.mc-faculty-title,.mc-dept-group h2{font-family:'Literata',Georgia,serif;font-weight:600;color:#0B4A73;font-size:clamp(24px,3vw,30px);margin:0 0 22px}
.mc-faculty-empty{color:#5B6668}
.mc-faculty-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}
.mc-staff-card{display:flex;flex-direction:column;background:#fff;border:1px solid #DCE4EB;border-radius:14px;overflow:hidden;transition:box-shadow .2s,transform .2s}
.mc-staff-card:hover{box-shadow:0 14px 30px -18px rgba(11,74,115,.45);transform:translateY(-3px)}
.mc-staff-photo{display:block;aspect-ratio:4/4.4;background:#EAF2F8;overflow:hidden}
.mc-staff-photo .mc-staff-img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block;transition:transform .4s}
.mc-staff-card:hover .mc-staff-photo .mc-staff-img{transform:scale(1.04)}
.mc-staff-initials{display:flex !important;align-items:center;justify-content:center;font-family:'Literata',Georgia,serif;font-size:56px;font-weight:600;color:#0B4A73;background:#E3F2FA}
.mc-staff-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px;font-family:'Manrope',system-ui,sans-serif}
.mc-staff-name{font-family:'Literata',Georgia,serif;font-size:19px;line-height:1.3;font-weight:600;margin:0 0 4px}
.mc-staff-name a{color:#0B4A73;text-decoration:none}
.mc-staff-name a:hover{color:#008CCC}
.mc-staff-des{margin:0 0 10px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#008CCC}
.mc-staff-contact{list-style:none;margin:0 0 14px;padding:0;font-size:14px;line-height:1.5}
.mc-staff-contact li{display:flex;gap:8px;margin:3px 0;min-width:0}
.mc-staff-contact .k{flex:0 0 46px;color:#5B6668;font-size:12.5px;padding-top:1px}
.mc-staff-contact a{color:#2b3436;text-decoration:none;overflow-wrap:anywhere}
.mc-staff-contact a:hover{color:#008CCC}
.mc-staff-more{margin-top:auto;font-weight:700;font-size:14px;color:#008CCC;text-decoration:none}
.mc-staff-more:hover{color:#0B4A73}

.mc-depts{display:flex;flex-direction:column;gap:40px}
.mc-dept-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.mc-dept-card{display:flex;flex-direction:column;gap:10px;height:100%;padding:20px 22px;background:#fff;border:1px solid #DCE4EB;border-left:4px solid #008CCC;border-radius:12px;text-decoration:none;transition:box-shadow .2s,transform .2s,border-color .2s}
.mc-dept-card:hover{box-shadow:0 14px 30px -18px rgba(11,74,115,.45);transform:translateY(-2px);border-left-color:#0B4A73}
.mc-dept-name{font-family:'Literata',Georgia,serif;font-size:20px;font-weight:600;color:#0B4A73}
.mc-dept-meta{font-family:'Manrope',system-ui,sans-serif;font-size:14px;font-weight:700;color:#008CCC}

.mc-profile{display:grid;grid-template-columns:minmax(200px,280px) 1fr;gap:36px;align-items:start;font-family:'Manrope',system-ui,sans-serif;margin:8px 0 28px}
.mc-profile-photo .mc-staff-img{width:100%;height:auto;aspect-ratio:4/4.6;object-fit:cover;object-position:50% 20%;border-radius:14px;display:block;background:#EAF2F8}
.mc-profile-dept{margin:0 0 14px;font-size:16px;color:#2b3436}
.mc-profile-dept a{color:#0B4A73;font-weight:700}
.mc-profile-qual{margin:0 0 12px;font-size:15px}
.mc-profile-qual .k{color:#5B6668;font-size:12.5px;margin-right:6px}
.mc-profile .mc-staff-contact{font-size:16px;margin-bottom:22px}
.mc-profile .mc-staff-contact .k{flex-basis:56px;font-size:13px;padding-top:3px}
.mc-btn{display:inline-block;padding:11px 22px;border-radius:999px;background:#0B4A73;color:#fff !important;font-weight:700;font-size:15px;text-decoration:none;transition:background .2s}
.mc-btn:hover{background:#008CCC}
@media (max-width:767px) {
  .mc-profile{grid-template-columns:1fr;gap:20px}
  .mc-profile-photo{max-width:260px}
  .mc-faculty-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
  .mc-staff-body{padding:12px 14px 14px}
  .mc-staff-name{font-size:17px}
  .mc-staff-contact .k{display:none}

}

/* Department / staff page shell */
.mc-page{font-family:'Manrope',system-ui,sans-serif}
.mc-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.mc-page-hero{position:relative;background:linear-gradient(120deg,#0B4A73 0%,#0A6FA3 60%,#008CCC 100%);color:#fff;padding:46px 0 50px;overflow:hidden}
.mc-page-hero::after{content:"";position:absolute;right:-80px;top:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.14),rgba(255,255,255,0) 70%);pointer-events:none}
.mc-crumbs{font-size:13.5px;font-weight:600;color:rgba(255,255,255,.75);margin-bottom:10px}
.mc-crumbs a{color:#fff;text-decoration:none}
.mc-crumbs a:hover{text-decoration:underline}
.mc-crumbs span[aria-hidden]{margin:0 6px;opacity:.6}
.mc-page-title{font-family:'Literata',Georgia,serif;font-weight:600;font-size:clamp(28px,4.2vw,44px);line-height:1.15;margin:0;color:#fff}
.mc-page-sub{margin:10px 0 0;font-size:15px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#BFE6F7}
.mc-page-body{padding-top:34px;padding-bottom:56px}
.mc-dept-about{max-width:880px}
.mc-dept-about h3{font-family:'Literata',Georgia,serif;font-weight:600;font-size:22px;color:#0B4A73;margin:1.6em 0 .5em}
.mc-dept-about h3:first-child{margin-top:0}
.mc-profile-info .mc-staff-contact a{color:#2b3436}
.mc-profile-bio{margin-top:24px;line-height:1.7}
@media (max-width:767px) {.mc-page-hero{padding:32px 0 34px}.mc-wrap{padding:0 16px}.mc-page-body{padding-top:24px}
}
.mc-dept-grid>li{display:flex;margin:0}
.mc-dept-card,.mc-staff-card{box-sizing:border-box}
.mc-dept-card{flex:1;height:auto;min-height:118px}
.mc-faculty-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.mc-staff-contact a{font-size:13.5px}
@media (max-width:767px) {.mc-faculty-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mc-staff-name{font-size:15.5px}.mc-staff-des{font-size:11px}.mc-staff-contact a{font-size:12.5px}.mc-staff-body{padding:10px 12px 12px}
}
@media (max-width:359px) {.mc-faculty-grid{grid-template-columns:1fr}
}

/* ===== B.Voc. IT department page (.bv) ===== */
@keyframes bv-blink{50%{opacity:0}}

/* ===== Department design kit: extra blocks ===== */

/* ===== Faculty section (redesigned) ===== */
.mc-page .mc-faculty{margin:24px 0 8px;padding:36px 32px 34px;border:0;border-radius:24px;background:linear-gradient(180deg,#EEF5FA 0%,#F7FAFC 100%);position:relative;overflow:hidden}
.mc-page .mc-faculty::before{content:"";position:absolute;right:-90px;top:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(0,140,204,.12),rgba(0,140,204,0) 70%);pointer-events:none}
.mc-faculty-head{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.mc-faculty-eyebrow{margin:0 0 6px !important;font-family:'Manrope',system-ui,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#008CCC}
.mc-page .mc-faculty-title{margin:0 !important}
.mc-faculty-count{flex:none;padding:7px 14px;border-radius:999px;background:#fff;border:1px solid #DCE4EB;color:#0B4A73;font-weight:800;font-size:13.5px;font-family:'Manrope',system-ui,sans-serif}
.mc-page .mc-faculty-grid{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}
.mc-page .mc-staff-card{border:0;border-radius:20px;background:#fff;box-shadow:0 1px 2px rgba(11,74,115,.06),0 10px 28px -18px rgba(11,74,115,.35);transition:transform .25s,box-shadow .25s}
.mc-page .mc-staff-card:hover{transform:translateY(-5px);box-shadow:0 2px 4px rgba(11,74,115,.06),0 22px 40px -20px rgba(11,74,115,.5)}
.mc-page .mc-staff-photo{position:relative;display:block;aspect-ratio:4/4.3;margin:10px 10px 0;border-radius:14px;overflow:hidden;background:#EAF2F8}
.mc-page .mc-staff-photo::after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(180deg,rgba(11,74,115,0),rgba(11,74,115,.55));pointer-events:none}
.mc-page .mc-staff-photo .mc-staff-img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;transition:transform .5s}
.mc-page .mc-staff-card:hover .mc-staff-img{transform:scale(1.05)}
.mc-staff-pill{position:absolute;z-index:1;left:12px;bottom:12px;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.94);color:#0B4A73;font:800 11.5px 'Manrope',system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.is-asst .mc-staff-pill{color:#0A6FA3}
.is-guest .mc-staff-pill{color:#5B6668}
.mc-staff-badge{position:absolute;z-index:1;left:12px;top:12px;padding:5px 10px;border-radius:8px;background:#F2B705;color:#3b2a00;font:800 11px 'Manrope',system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase}
.mc-page .mc-staff-body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
.mc-page .mc-staff-name{font-size:19px;margin:0 0 12px;color:#0B4A73;line-height:1.3}
.mc-page .mc-staff-contact{margin:0 0 16px;padding:0;list-style:none}
.mc-page .mc-staff-contact li{margin:0 0 6px;display:block}
.mc-page .mc-staff-contact a{display:flex;align-items:center;gap:10px;color:#3b464d;font-size:14px;text-decoration:none;min-width:0}
.mc-page .mc-staff-contact a span:last-child{min-width:0;overflow-wrap:break-word;line-height:1.35}
.mc-page .mc-staff-contact a:hover{color:#008CCC}
.mc-ci{flex:none;width:28px;height:28px;border-radius:50%;background:#EAF2F8;color:#008CCC;display:inline-flex;align-items:center;justify-content:center}
.mc-staff-cv{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:12px;background:#0B4A73;color:#fff !important;font:700 14px 'Manrope',system-ui,sans-serif;text-decoration:none;transition:background .2s}
.mc-staff-cv:hover{background:#008CCC}
@media (max-width:767px) {
  .mc-page .mc-faculty{padding:26px 14px 18px;border-radius:18px}
  .mc-page .mc-faculty-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .mc-page .mc-staff-photo{margin:6px 6px 0;border-radius:12px}
  .mc-staff-pill{left:8px;bottom:8px;font-size:9.5px;padding:4px 8px}
  .mc-staff-badge{left:8px;top:8px;font-size:9px;padding:4px 7px}
  .mc-page .mc-staff-body{padding:12px 12px 14px}
  .mc-page .mc-staff-name{font-size:15.5px;margin-bottom:8px}
  .mc-page .mc-staff-contact a{font-size:12px;gap:6px}
  .mc-ci{width:22px;height:22px}.mc-ci svg{width:12px;height:12px}
  .mc-staff-cv{padding:8px 10px;font-size:13px}

}
@media (max-width:359px) {.mc-page .mc-faculty-grid{grid-template-columns:1fr}
}

/* ===== Shared kit: banner, steps, infrastructure, people (ITEP & other pages) ===== */
@keyframes dp-pulse{70%{box-shadow:0 0 0 9px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}

/* ===== Migrated / generic page content (.mc-prose) ===== */
.mc-prose{--ink:#0B4A73;--blue:#008CCC;--line:#DCE4EB;--soft:#F3F6F9;font-family:'Manrope',system-ui,sans-serif;color:#2b3436;font-size:16.5px;line-height:1.75}
.mc-prose h3{font-family:'Literata',Georgia,serif;font-weight:600;color:var(--ink);font-size:21px;line-height:1.3;margin:30px 0 12px}
.mc-prose a{color:var(--blue)}
.mc-prose strong{color:#1f2b31}
.mc-figs-1{grid-template-columns:minmax(0,720px)}
.mc-btn-row{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 30px}
/* lightbox */
.mc-lbx{position:fixed;inset:0;z-index:99999;background:rgba(6,24,38,.92);display:flex;align-items:center;justify-content:center;padding:24px;cursor:zoom-out}
.mc-lbx img{max-width:100%;max-height:100%;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.mc-lbx button{position:absolute;top:16px;right:18px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.15);color:#fff;font-size:24px;cursor:pointer}
@media (max-width:767px) {.mc-prose{font-size:15.5px}
}

/* ===== Hub / special pages ===== */
.mc-muted{color:#5B6668;font-size:14px}

/* News & Events archive */
.mc-na-filter{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px;align-items:center}
.mc-na-filter input[type=search]{flex:1 1 260px;padding:11px 16px;border:1px solid #DCE4EB;border-radius:999px;font-size:15px;background:#fff}
.mc-na-filter select{padding:11px 14px;border:1px solid #DCE4EB;border-radius:999px;font-size:15px;background:#fff}
.mc-na-filter .mc-btn{border:0;cursor:pointer}
.mc-na-reset{font-weight:700;color:#008CCC}
.mc-na-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.mc-na-list li{margin:0}
.mc-na-list a,.mc-na-list li > div{display:flex;align-items:center;gap:18px;padding:14px 18px;border-radius:14px;background:#fff;border:1px solid #DCE4EB;text-decoration:none;color:#2b3436;transition:border-color .2s,box-shadow .2s,transform .2s}
.mc-na-list a:hover{border-color:#008CCC;box-shadow:0 12px 26px -18px rgba(11,74,115,.5);transform:translateX(3px)}
.mc-na-list time{flex:none;width:64px;text-align:center;border-radius:12px;background:#EAF2F8;padding:6px 4px;line-height:1.1}
.mc-na-list time b{display:block;font-family:'Literata',Georgia,serif;font-size:24px;color:#0B4A73}
.mc-na-list time span{font-size:11.5px;font-weight:700;color:#5B6668;text-transform:uppercase}
.mc-na-main{flex:1;min-width:0}
.mc-na-kind{display:inline-block;margin:0 8px 4px 0;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#008CCC}
.mc-na-main .mc-new{display:inline-block;margin-bottom:4px;padding:2px 8px;border-radius:999px;background:#F2B705;color:#3b2a00;font-size:10.5px;font-weight:800;text-transform:uppercase}
.mc-na-title{display:block;font-weight:600;line-height:1.45;color:#1f2b31}
.mc-na-go{flex:none;color:#008CCC;font-weight:800}
.mc-na-pages{display:flex;flex-wrap:wrap;gap:6px;margin-top:24px}
.mc-na-pages a,.mc-na-pages span{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid #DCE4EB;background:#fff;color:#0B4A73;font-weight:700;text-decoration:none}
.mc-na-pages .is-cur{background:#0B4A73;color:#fff;border-color:#0B4A73}
@media (max-width:767px) {.mc-na-list a,.mc-na-list li > div{gap:12px;padding:12px}.mc-na-list time{width:54px}.mc-na-list time b{font-size:20px}
}

/* ===== Redesigned pages: About, Mission, ICT, Library, Hostel, Sports, IQAC ===== */
.mc-chips{display:flex;flex-wrap:wrap;gap:8px}
.mc-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #DCE4EB;color:#0B4A73 !important;font-weight:700;font-size:14px;text-decoration:none !important;transition:all .2s}
.mc-chip::before{content:"PDF";font-size:9.5px;font-weight:800;color:#c0392b;background:#fdeceb;border-radius:4px;padding:2px 4px}
.mc-chip:hover{border-color:#008CCC;background:#EAF2F8}
.mc-acts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mc-acts li{margin:0}
.mc-acts a{display:flex;align-items:flex-start;gap:14px;height:100%;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid #DCE4EB;text-decoration:none !important;transition:border-color .2s,box-shadow .2s}
.mc-acts a:hover{border-color:#008CCC;box-shadow:0 12px 26px -18px rgba(11,74,115,.5)}
.mc-acts-date{flex:none;width:110px;font-size:12.5px;font-weight:800;color:#008CCC;line-height:1.4;padding-top:2px}
.mc-acts-t{flex:1;color:#1f2b31;font-weight:600;font-size:14.5px;line-height:1.5}
.mc-acts-go{flex:none;color:#008CCC;font-weight:800}
@media (max-width:767px) {
  .mc-acts{grid-template-columns:1fr}
  .mc-acts-date{width:84px}

}

/* Library hours card: readable labels on dark background */

/* ===== Mobile header: logo + menu button in one row, quick links bar ===== */
.mc-qlinks{display:none}
@media (max-width:1024px) {
	.mc-mhdr .mc-mainbar .e-con-inner{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:12px}
	.mc-mhdr .mc-mainbar .mc-brand{min-width:0;flex:0 1 auto}
	.mc-mhdr .mc-mainbar .elementor-widget-ekit-nav-menu{flex:0 0 auto;margin:0!important;width:auto!important}
	.mc-mhdr .mc-mainbar .elementskit-menu-hamburger{border:1px solid #0b4f7f!important;background:#0b4f7f!important;border-radius:10px;padding:9px 10px!important;margin:0!important;float:none!important}
	.mc-mhdr .mc-mainbar .elementskit-menu-hamburger .elementskit-menu-hamburger-icon{background-color:#fff!important}
	.mc-mhdr .mc-navbar .e-con-inner{padding-top:0!important;padding-bottom:0!important;min-height:0!important}
	.mc-mhdr .mc-navbar{padding-top:8px!important;padding-bottom:8px!important;min-height:0!important}
	.mc-mhdr .mc-qlinks{display:flex;flex-wrap:nowrap;justify-content:center;gap:6px;width:100%;overflow-x:auto;scrollbar-width:none}
	.mc-mhdr .mc-qlinks::-webkit-scrollbar{display:none}
	.mc-qlinks a{flex:0 0 auto;padding:5px 11px;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:#fff!important;font-size:12px;font-weight:600;letter-spacing:.04em;line-height:1.2;text-decoration:none;transition:background .2s,border-color .2s}
	.mc-qlinks a:hover,.mc-qlinks a:focus-visible{background:rgba(255,255,255,.15);border-color:#fff}

}
@media (max-width:360px) {.mc-qlinks a{padding:5px 8px;font-size:11px}.mc-mhdr .mc-qlinks{justify-content:flex-start}
}
@media (max-width:1024px) {
	.mc-mhdr .mc-topbar .elementor-element-90abe74{display:none!important}
	.mc-qlinks a{font-family:var(--e-global-typography-text-font-family),system-ui,sans-serif!important;text-transform:uppercase}

}

/* Library: borrowing cards */

/* Mobile: only the logo + menu bar stays fixed while scrolling */
.mc-mainbar-spacer{display:none}
@media (max-width:1024px) {
	.ekit-template-content-header.mc-mhdr{position:relative!important;top:auto!important}
	.mc-mhdr .mc-mainbar.mc-pinned{position:fixed!important;top:0;left:0;right:0;width:100%!important;z-index:999;background:#fff;box-shadow:0 6px 20px -10px rgba(11,47,77,.35);animation:mcPinIn .25s ease}
	body.admin-bar .mc-mhdr .mc-mainbar.mc-pinned{top:var(--wp-admin--admin-bar--height,0px)}

}
@media (max-width:600px) {body.admin-bar .mc-mhdr .mc-mainbar.mc-pinned{top:0}
}
@keyframes mcPinIn{from{transform:translateY(-100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce) {.mc-mhdr .mc-mainbar.mc-pinned{animation:none}
}

/* Library hero: centred */

/* ===== Mobile off-canvas menu ===== */
.mc-oc-foot,.mc-oc-name{display:none}
@media (max-width:1024px) {
	#ekit-megamenu-main-menu.elementskit-menu-offcanvas-elements{background:#fff!important;width:min(86vw,360px)!important;max-width:none!important;padding:0!important;box-shadow:0 0 40px rgba(6,32,54,.35);display:flex!important;flex-direction:column-reverse!important;overflow-y:auto}
	.elementskit-menu-overlay.ekit-nav-menu--overlay{background:rgba(6,32,54,.55)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
	/* header */
	#ekit-megamenu-main-menu .elementskit-nav-identity-panel{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:16px 16px 14px!important;border-bottom:1px solid #e6edf3;position:sticky;top:0;background:#fff;z-index:2;margin:0!important}
	#ekit-megamenu-main-menu .elementskit-nav-logo{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:0!important;max-width:none!important;text-decoration:none}
	#ekit-megamenu-main-menu .elementskit-nav-logo img{width:46px!important;height:auto!important;max-width:none!important;flex:0 0 auto}
	.mc-oc-name{display:flex;flex-direction:column;line-height:1.1}
	.mc-oc-name strong{font-family:Cinzel,serif;font-size:14px;font-weight:700;letter-spacing:.02em;color:#0b2f4d}
	.mc-oc-name span{font-family:"Tiro Bangla",serif;font-size:17px;color:#0a8ccd;margin-top:2px}
	#ekit-megamenu-main-menu .elementskit-menu-close{position:static!important;flex:0 0 auto;width:40px!important;height:40px!important;border-radius:50%!important;border:0!important;background:#eef3f8!important;color:#0b2f4d!important;display:grid!important;place-items:center;padding:0!important;margin:0!important;line-height:1!important;cursor:pointer;transition:background .2s}
	#ekit-megamenu-main-menu .elementskit-menu-close:hover{background:#dbe7f1!important}
	/* items */
	#ekit-megamenu-main-menu .elementskit-navbar-nav{padding:8px 0!important;margin:0!important;flex:1 0 auto}
	#ekit-megamenu-main-menu .elementskit-navbar-nav > li{border-bottom:1px solid #eef2f6!important;margin:0!important}
	#ekit-megamenu-main-menu .elementskit-navbar-nav > li > a{display:flex!important;align-items:center;justify-content:space-between;padding:14px 20px!important;color:#0b2f4d!important;background:transparent!important;font-size:15px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;line-height:1.3!important;position:relative}
	#ekit-megamenu-main-menu .elementskit-navbar-nav > li > a:hover{color:#0a8ccd!important}
	#ekit-megamenu-main-menu .elementskit-navbar-nav > li.current-menu-item > a,#ekit-megamenu-main-menu .elementskit-navbar-nav > li.current-menu-ancestor > a{color:#0a8ccd!important}
	#ekit-megamenu-main-menu .elementskit-navbar-nav > li.current-menu-item > a::before,#ekit-megamenu-main-menu .elementskit-navbar-nav > li.current-menu-ancestor > a::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#0a8ccd}
	#ekit-megamenu-main-menu .elementskit-submenu-indicator{border:0!important;width:32px!important;height:32px!important;border-radius:50%!important;background:#f1f5f9!important;color:#0b4f7f!important;display:grid!important;place-items:center;font-size:12px!important;padding:0!important;margin:0 0 0 10px!important;position:static!important;transform:none;transition:transform .25s,background .2s}
	#ekit-megamenu-main-menu li.elementskit-dropdown-open > a .elementskit-submenu-indicator,#ekit-megamenu-main-menu a[aria-expanded="true"] .elementskit-submenu-indicator{transform:rotate(180deg);background:#0a8ccd!important;color:#fff!important}
	#ekit-megamenu-main-menu li.elementskit-dropdown-open > a,#ekit-megamenu-main-menu .elementskit-navbar-nav > li > a.active[aria-expanded="true"]{background:transparent!important;color:#0a8ccd!important}
	/* submenu */
	#ekit-megamenu-main-menu .elementskit-submenu-panel{background:#f6f9fc!important;padding:6px 0 10px!important;margin:0!important;border:0!important;box-shadow:none!important}
	#ekit-megamenu-main-menu .elementskit-submenu-panel > li > a{padding:10px 20px 10px 34px!important;font-size:14px!important;font-weight:500!important;color:#3a4f63!important;background:transparent!important;position:relative}
	#ekit-megamenu-main-menu .elementskit-submenu-panel > li > a::before{content:"";position:absolute;left:20px;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:#b8cbdc}
	#ekit-megamenu-main-menu .elementskit-submenu-panel > li > a:hover,#ekit-megamenu-main-menu .elementskit-submenu-panel > li.current-menu-item > a{color:#0a8ccd!important}
	#ekit-megamenu-main-menu .elementskit-submenu-panel > li.current-menu-item > a::before{background:#0a8ccd}
	/* footer */
	.mc-oc-foot{display:flex;flex-direction:column;gap:8px;padding:16px 16px 22px;border-top:1px solid #e6edf3;background:#fff}
	.mc-oc-cta{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 16px;border-radius:999px;background:#0a8ccd;color:#fff!important;font-weight:700;font-size:14.5px;text-decoration:none;margin-bottom:6px}
	.mc-oc-cta:hover{background:#0b4f7f}
	.mc-oc-contact{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#3a4f63!important;text-decoration:none;padding:4px 4px}
	.mc-oc-contact span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eef3f8;color:#0b4f7f;font-size:13px}

}
/* sharper logo rendering in header */
.mc-brand img{image-rendering:-webkit-optimize-contrast}
.mc-brand .elementor-heading-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
@media (max-width:1024px) {
	#ekit-megamenu-main-menu .elementskit-navbar-nav{height:auto!important;max-height:none!important;overflow:visible!important}
	#ekit-megamenu-main-menu .elementskit-navbar-nav > li.mc-current > a{color:#0a8ccd!important}
	#ekit-megamenu-main-menu .elementskit-navbar-nav > li.mc-current > a::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#0a8ccd}
	#ekit-megamenu-main-menu .elementskit-submenu-panel > li.mc-current > a{color:#0a8ccd!important;font-weight:600!important}
	#ekit-megamenu-main-menu .elementskit-submenu-panel > li.mc-current > a::before{background:#0a8ccd}

}
.mc-oc-foot,.mc-oc-foot a{font-family:inherit!important}
#ekit-megamenu-main-menu .mc-oc-foot,#ekit-megamenu-main-menu .mc-oc-foot a{font-family:Manrope,system-ui,sans-serif!important}

/* ===== Custom 404 + search pages (markup in functions.php → mc_404_render / mc_search_render) ===== */
.mc-sys {
  --mc-navy: #0B4A73;
  --mc-blue: #008CCC;
  --mc-ink: #2B3436;
  --mc-muted: #5B6668;
  --mc-line: #DCE4EB;
  --mc-tint: #EAF2F8;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--mc-ink);
  max-width: none;
  margin: 0;
  padding: 0;
}
.mc-sys *, .mc-sys *::before, .mc-sys *::after { box-sizing: border-box; }
.mc-sys-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mc-sys a:focus-visible, .mc-sys button:focus-visible { outline: 2px solid var(--mc-blue); outline-offset: 3px; }
.mc-sys-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mc-blue);
}
.mc-sys-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.mc-sys-h2 { margin: 0 0 22px; font-family: 'Literata', Georgia, serif; font-size: 24px; font-weight: 700; color: var(--mc-navy); }

/* Search box */
.mc-sbox {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 0 20px;
  padding: 6px 6px 6px 16px;
  background: #fff;
  border: 1.5px solid var(--mc-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px -18px rgba(11,74,115,.45);
  transition: border-color .2s, box-shadow .2s;
}
.mc-sbox:focus-within { border-color: var(--mc-blue); box-shadow: 0 0 0 4px rgba(0,140,204,.14); }
.mc-sbox > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--mc-muted); stroke-width: 2; stroke-linecap: round; }
.mc-sbox input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  padding: 10px 0;
  background: transparent;
  font: 500 15px/1.3 'Manrope', system-ui, sans-serif;
  color: var(--mc-ink);
  box-shadow: none;
}
.mc-sbox button[type="submit"] {
  flex: none;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  background: var(--mc-navy);
  color: #fff;
  font: 700 14.5px/1 'Manrope', system-ui, sans-serif;
  cursor: pointer;
  transition: background-color .2s;
}
.mc-sbox button[type="submit"]:hover, .mc-sbox button[type="submit"]:focus { background: var(--mc-blue); color: #fff; }

/* Buttons */
.mc-sys-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background-color .2s, color .2s; }
.mc-sys-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.mc-sys-btn--solid { padding: 13px 22px; border-radius: 8px; background: var(--mc-blue); color: #fff; }
.mc-sys-btn--solid:hover, .mc-sys-btn--solid:focus { background: var(--mc-navy); color: #fff; }
.mc-sys-btn--solid:hover svg { transform: translateX(-3px); }
.mc-sys-btn--ghost { color: var(--mc-navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(11,74,115,.3); }
.mc-sys-btn--ghost:hover, .mc-sys-btn--ghost:focus { color: var(--mc-blue); text-decoration-color: currentColor; }

/* Quick links (grid on the 404, compact list in the search sidebar) */
.mc-slinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mc-slinks--grid { grid-template-columns: repeat(3, 1fr); }
.mc-slinks a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  background: #fff;
  color: var(--mc-ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s, background-color .2s;
}
.mc-slinks--grid a:hover, .mc-slinks--grid a:focus { border-color: #7FCBEF; box-shadow: 0 14px 30px -20px rgba(11,74,115,.5); transform: translateY(-2px); }
.mc-slinks-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 10px;
  background: var(--mc-tint);
  color: var(--mc-navy);
  transition: background-color .2s, color .2s;
}
.mc-slinks a:hover .mc-slinks-ico, .mc-slinks a:focus .mc-slinks-ico { background: var(--mc-blue); color: #fff; }
.mc-slinks-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mc-slinks-lt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mc-slinks-lt strong { font-size: 16px; font-weight: 700; color: var(--mc-navy); }
.mc-slinks-lt small { font-size: 13.5px; color: var(--mc-muted); }
.mc-slinks-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--mc-blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.mc-slinks a:hover .mc-slinks-arrow, .mc-slinks a:focus .mc-slinks-arrow { opacity: 1; transform: none; }
.mc-slinks--list { gap: 2px; }
.mc-slinks--list a { padding: 10px; gap: 12px; border: 0; border-radius: 10px; }
.mc-slinks--list a:hover, .mc-slinks--list a:focus { background: #F3F6F9; }
.mc-slinks--list .mc-slinks-ico { width: 38px; height: 38px; border-radius: 9px; }
.mc-slinks--list .mc-slinks-ico svg { width: 19px; height: 19px; }
.mc-slinks--list .mc-slinks-lt strong { font-size: 15px; }
.mc-slinks--list .mc-slinks-lt small { font-size: 13px; }

/* ---------- 404 ---------- */
.mc-404-hero {
  background: radial-gradient(900px 420px at 85% 10%, #E3F2FA 0%, rgba(227,242,250,0) 70%), linear-gradient(180deg, #F7FAFC 0%, #fff 100%);
  padding: 72px 0 64px;
  overflow: hidden;
}
.mc-404-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.mc-404-num {
  margin: 0 0 6px;
  font-family: 'Literata', Georgia, serif;
  font-weight: 700;
  font-size: clamp(88px, 13vw, 168px);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--mc-navy);
}
.mc-404-num span { background: linear-gradient(180deg, #7FCBEF, #008CCC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-404-title { margin: 0 0 8px; font-family: 'Literata', Georgia, serif; font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; color: var(--mc-navy); }
.mc-404-title em { font-style: italic; font-weight: 500; color: var(--mc-blue); }
.mc-404-as { margin: 0 0 16px; font-family: 'Noto Serif Bengali', 'Literata', serif; font-size: 18px; font-weight: 500; color: var(--mc-muted); }
.mc-404-text { margin: 0 0 28px; max-width: 52ch; font-size: 16.5px; line-height: 1.7; color: var(--mc-muted); }
.mc-404-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.mc-404-art svg { display: block; width: 100%; max-width: 460px; height: auto; margin-left: auto; }
.mc-404-wave { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 3; stroke-linecap: round; animation: mc-404-wave 4s ease-in-out infinite; }
.mc-404-wave--2 { animation-delay: -2s; }
.mc-404-bird { fill: none; stroke: #0B4A73; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mc-404-boat { animation: mc-404-drift 6s ease-in-out infinite; transform-origin: 332px 244px; }
@keyframes mc-404-drift { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(10px, 3px) rotate(3deg); } }
@keyframes mc-404-wave { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.mc-404-links { padding: 56px 0 80px; background: #fff; border-top: 1px solid var(--mc-line); }

/* ---------- Search results ---------- */
.mc-srch-hero {
  background: radial-gradient(900px 380px at 90% 0%, #E3F2FA 0%, rgba(227,242,250,0) 70%), linear-gradient(180deg, #F7FAFC 0%, #fff 100%);
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--mc-line);
}
.mc-srch-title { margin: 0 0 22px; font-family: 'Literata', Georgia, serif; font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; color: var(--mc-navy); word-break: break-word; }
.mc-srch-title em { font-style: italic; font-weight: 500; color: var(--mc-blue); }
.mc-srch-hero .mc-sbox { max-width: 680px; margin-bottom: 14px; }
.mc-srch-count { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--mc-muted); }
.mc-srch-body { padding: 40px 0 80px; background: #fff; }
.mc-srch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }

.mc-srch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mc-srch-item {
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.mc-srch-item:hover, .mc-srch-item:focus-within { border-color: #7FCBEF; box-shadow: 0 14px 30px -22px rgba(11,74,115,.55); transform: translateY(-2px); }
.mc-srch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--mc-muted); }
.mc-srch-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--mc-tint); color: var(--mc-navy); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mc-srch-h { margin: 0 0 8px; font-family: 'Literata', Georgia, serif; font-size: 21px; font-weight: 700; line-height: 1.3; }
.mc-srch-h a { color: var(--mc-navy); text-decoration: none; }
.mc-srch-h a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; } /* whole card clickable */
.mc-srch-item:hover .mc-srch-h a { color: var(--mc-blue); }
.mc-srch-snip { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--mc-muted); }
.mc-sys mark { background: rgba(0,140,204,.14); color: var(--mc-navy); padding: 0 2px; border-radius: 3px; font-weight: 700; }
.mc-srch-url { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--mc-blue); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mc-srch-url svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.mc-srch-pages { margin-top: 32px; }
.mc-srch-pages ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mc-srch-pages a, .mc-srch-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--mc-line);
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mc-navy);
  text-decoration: none;
  transition: border-color .2s, background-color .2s, color .2s;
}
.mc-srch-pages a:hover, .mc-srch-pages a:focus { border-color: var(--mc-blue); color: var(--mc-blue); }
.mc-srch-pages .current { background: var(--mc-navy); border-color: var(--mc-navy); color: #fff; }
.mc-srch-pages .dots { border-color: transparent; }

.mc-srch-empty { padding: 40px 32px; border: 1.5px dashed var(--mc-line); border-radius: 14px; text-align: center; background: #F7FAFC; }
.mc-srch-empty-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--mc-tint); color: var(--mc-navy); }
.mc-srch-empty-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mc-srch-empty h2 { margin: 0 0 8px; font-family: 'Literata', Georgia, serif; font-size: 24px; font-weight: 700; color: var(--mc-navy); word-break: break-word; }
.mc-srch-empty p { margin: 0 auto 20px; max-width: 48ch; font-size: 15.5px; line-height: 1.65; color: var(--mc-muted); }
.mc-srch-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mc-srch-chips a { display: inline-block; padding: 9px 16px; border: 1px solid var(--mc-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--mc-navy); text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.mc-srch-chips a:hover, .mc-srch-chips a:focus { border-color: var(--mc-blue); background: var(--mc-blue); color: #fff; }

.mc-srch-side { position: sticky; top: 24px; display: grid; gap: 16px; }
.mc-srch-side-card { padding: 20px 14px 14px; border: 1px solid var(--mc-line); border-radius: 14px; background: #fff; }
.mc-srch-side-h { margin: 0 0 8px; padding: 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mc-blue); }
.mc-srch-help { display: grid; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--mc-navy); color: #DCE4EB; font-size: 14px; line-height: 1.6; }
.mc-srch-help strong { color: #fff; font-size: 15px; }
.mc-srch-help a { color: #7FCBEF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mc-srch-help a:hover, .mc-srch-help a:focus { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .mc-404-wrap { gap: 32px; }
  .mc-slinks--grid { grid-template-columns: repeat(2, 1fr); }
  .mc-srch-layout { grid-template-columns: 1fr; gap: 32px; }
  .mc-srch-side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }

}
@media (max-width: 767px) {
  .mc-sys-wrap { padding: 0 18px; }
  .mc-sbox { padding-left: 12px; }
  .mc-sbox button[type="submit"] { padding: 12px 14px; }
  .mc-404-hero { padding: 40px 0 44px; }
  .mc-404-wrap { grid-template-columns: 1fr; }
  .mc-404-art { order: -1; }
  .mc-404-art svg { max-width: 260px; margin: 0 auto; }
  .mc-404-links { padding: 40px 0 56px; }
  .mc-slinks--grid { grid-template-columns: 1fr; gap: 12px; }
  .mc-slinks-arrow { opacity: 1; transform: none; }
  .mc-srch-hero { padding: 36px 0 26px; }
  .mc-srch-body { padding: 28px 0 56px; }
  .mc-srch-item { padding: 18px; }
  .mc-srch-h { font-size: 19px; }
  .mc-srch-side { grid-template-columns: 1fr; }
  .mc-srch-empty { padding: 32px 18px; }

}
@media (prefers-reduced-motion: reduce) {
  .mc-404-boat, .mc-404-wave { animation: none; }
  .mc-slinks a, .mc-srch-item, .mc-sys-btn svg { transition: none; }

}

/* Responsive */

/* ===== Elementor text widgets: the parent theme reset is off, so drop the browser's default top margin on the first block ===== */
.elementor-widget-text-editor > :first-child { margin-top: 0; }
.elementor-widget-text-editor ul, .elementor-widget-text-editor ol { padding-left: 1.3em; }

/* ===== Faculty cards on department pages ([mc_department_staff] → mc_department_faculty_html) ===== */
.mc-fac { position: relative; margin: 8px 0 0; padding: 36px 32px 34px; border: 0; border-radius: 24px; background: linear-gradient(180deg, #EEF5FA 0%, #F7FAFC 100%); overflow: hidden; font-family: 'Manrope', system-ui, sans-serif; }
.mc-fac::before { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,140,204,.12), rgba(0,140,204,0) 70%); pointer-events: none; }
.mc-fac-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.mc-fac-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px !important; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #008CCC; }
.mc-fac-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.mc-fac-title { margin: 0 !important; font-family: 'Literata', Georgia, serif; font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; color: #0B4A73; }
.mc-fac-count { flex: none; padding: 7px 14px; border-radius: 999px; background: #fff; color: #0B4A73; font-size: 13.5px; font-weight: 800; box-shadow: 0 1px 2px rgba(11,74,115,.08); }
.mc-fac-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.mc-fac-card { display: flex; flex-direction: column; min-width: 0; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(11,74,115,.06), 0 10px 28px -18px rgba(11,74,115,.35); transition: box-shadow .25s, transform .25s; }
.mc-fac-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11,74,115,.06), 0 22px 40px -20px rgba(11,74,115,.5); }
.mc-fac-photo { position: relative; aspect-ratio: 4 / 4.3; margin: 10px 10px 0; border-radius: 14px; background: #EAF2F8; overflow: hidden; }
.mc-fac-photo::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(180deg, rgba(11,74,115,0), rgba(11,74,115,.45)); pointer-events: none; }
.mc-fac-photo img, .mc-fac-photo .mc-staff-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; transition: transform .5s; }
.mc-fac-card:hover .mc-fac-photo img { transform: scale(1.04); }
.mc-fac-photo .mc-staff-initials { width: 100%; height: 100%; }
.mc-fac-badge { position: absolute; z-index: 1; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: #F2B705; color: #3B2A00; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.mc-fac-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.mc-fac-name { margin: 0 0 6px !important; font-family: 'Literata', Georgia, serif; font-size: 18.5px; font-weight: 600; line-height: 1.3; color: #0B4A73; }
.mc-fac-des { align-self: flex-start; margin: 0 0 14px !important; padding: 3px 10px; border-radius: 999px; background: #E3F2FA; color: #0072A8; font-size: 11px; font-weight: 800; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; }
.is-assoc .mc-fac-des { background: #0B4A73; color: #fff; }
.is-guest .mc-fac-des { background: #EEF1F3; color: #5B6668; }
.mc-fac-contact { list-style: none; margin: 0 0 14px !important; padding: 0 !important; display: grid; gap: 7px; }
.mc-fac-contact li { margin: 0; min-width: 0; }
.mc-fac-contact a { display: flex; align-items: center; gap: 10px; min-width: 0; color: #46525A; text-decoration: none; font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; }
.mc-fac-contact a:hover { color: #008CCC; }
.mc-fac-ci { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #F3F6F9; color: #008CCC; transition: background-color .2s, color .2s; }
.mc-fac-contact a:hover .mc-fac-ci { background: #008CCC; color: #fff; }
.mc-fac-actions { display: flex; margin-top: auto; padding-top: 14px; border-top: 1px dashed #DCE4EB; }
.mc-fac-btn, .mc-fac-btn--ghost { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: #008CCC !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.mc-fac-btn:hover, .mc-fac-btn--ghost:hover { color: #0B4A73 !important; }
.mc-fac a:focus-visible { outline: 2px solid #008CCC; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 767px) {
  .mc-fac { padding: 24px 14px 20px; border-radius: 18px; }
  .mc-fac-head { align-items: center; margin-bottom: 18px; }
  .mc-fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mc-fac-card { border-radius: 16px; }
  .mc-fac-photo { margin: 6px 6px 0; border-radius: 12px; }
  .mc-fac-badge { left: 6px; bottom: 6px; font-size: 9px; padding: 4px 8px; }
  .mc-fac-body { padding: 10px 12px 14px; }
  .mc-fac-name { font-size: 15.5px; }
  .mc-fac-des { font-size: 9.5px; padding: 2px 8px; margin-bottom: 10px !important; }
  .mc-fac-contact a { font-size: 12px; gap: 7px; }
  .mc-fac-ci { width: 24px; height: 24px; }
  .mc-fac-btn, .mc-fac-btn--ghost { font-size: 13px; }
}
@media (max-width: 380px) { .mc-fac-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mc-fac-card, .mc-fac-photo img { transition: none; } }
