/* MathLab Calicut homepage architecture refresh - 2026-06-21. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  color: #172033;
  background: #ffffff;
}

a {
  color: #123f93;
}

a:hover,
a:focus {
  color: #08245b;
}

a:focus,
button:focus,
.btn:focus,
.nav-link:focus,
.list-group-item:focus {
  outline: 3px solid rgba(246, 168, 23, 0.7);
  outline-offset: 3px;
  box-shadow: none;
}

.navbar.fixed-top {
  min-height: 64px;
  height: 64px;
  border-bottom: 1px solid rgba(18, 63, 147, 0.12);
  box-shadow: 0 10px 28px rgba(15, 32, 65, 0.08) !important;
  padding: 0 1rem;
}

.navbar.fixed-top .navbar-brand .logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.navbar.fixed-top .primary-navigation .navigation {
  height: 64px;
}

.navbar.fixed-top .primary-navigation .navigation .nav-link {
  display: flex;
  align-items: center;
  height: 64px;
  color: #172033;
  font-weight: 650;
  padding-left: .9rem;
  padding-right: .9rem;
}

.navbar.fixed-top .primary-navigation .navigation .nav-link.active {
  color: #e31b23;
  border-bottom: 3px solid #e31b23;
}

.navbar.fixed-top .primary-navigation .navigation .nav-link:hover, .navbar.fixed-top .primary-navigation .navigation .nav-link:focus {
  color: #e31b23;
  background: rgba(227, 27, 35, 0.06);
}

.navbar.fixed-top .usermenu .login a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: .5rem;
  background: #e31b23;
  color: #fff;
  font-weight: 750;
  padding: .55rem 1rem;
  text-decoration: none;
}

.navbar.fixed-top .usermenu .login a:hover, .navbar.fixed-top .usermenu .login a:focus {
  background: #b90f17;
  color: #fff;
}

.mathlab-public-nav,
.mathlab-public-drawer-links {
  display: none;
}

@media (min-width: 992px) {
  #page-site-index.notloggedin .navbar.fixed-top .mathlab-public-nav {
    display: flex;
    align-items: center;
    gap: .2rem;
    height: 64px;
    margin-left: .5rem;
    padding-left: .75rem;
    border-left: 1px solid rgba(18, 63, 147, 0.12);
  }
  .mathlab-public-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: .5rem;
    color: #08245b;
    font-size: .86rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    padding: .55rem .62rem;
  }
  .mathlab-public-nav a:hover, .mathlab-public-nav a:focus {
    background: rgba(227, 27, 35, 0.06);
    color: #e31b23;
  }
  .mathlab-public-nav .mathlab-public-nav-cta {
    margin-left: .2rem;
    background: #128c7e;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(18, 140, 126, 0.18);
  }
  .mathlab-public-nav .mathlab-public-nav-cta:hover, .mathlab-public-nav .mathlab-public-nav-cta:focus {
    background: #0d7468;
    color: #fff !important;
  }
}

#page-site-index.notloggedin .drawer-primary .mathlab-public-drawer-links {
  display: grid;
  gap: .35rem;
  border-bottom: 1px solid #dce6f3;
  background: #f5f8fc;
  padding: .8rem;
}

.mathlab-public-drawer-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid #dce6f3;
  border-radius: .5rem;
  background: #fff;
  color: #08245b;
  font-weight: 750;
  text-decoration: none;
  padding: .65rem .8rem;
}

.mathlab-public-drawer-links a:hover, .mathlab-public-drawer-links a:focus {
  border-color: rgba(227, 27, 35, 0.24);
  background: rgba(227, 27, 35, 0.06);
  color: #e31b23;
}

.mathlab-public-drawer-links .mathlab-public-drawer-cta {
  justify-content: center;
  border-color: #e31b23;
  background: #e31b23;
  color: #fff !important;
}

.mathlab-public-drawer-links .mathlab-public-drawer-cta:hover, .mathlab-public-drawer-links .mathlab-public-drawer-cta:focus {
  border-color: #b90f17;
  background: #b90f17;
  color: #fff !important;
}

#page-site-index.notloggedin #page.drawers {
  background: #ffffff !important;
}

#page-site-index.notloggedin #mooveslideshow,
#page-site-index.notloggedin #feature,
#page-site-index.notloggedin #numbers {
  display: none !important;
}

.mathlab-home {
  background: #ffffff;
  color: #172033;
}

.mathlab-home *,
.mathlab-home *::before,
.mathlab-home *::after {
  box-sizing: border-box;
}

.ml-container {
  width: calc(100% - 2rem);
  max-width: 1160px;
  margin: 0 auto;
}

.ml-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.ml-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(8, 127, 123, 0.28);
  border-radius: .5rem;
  background: rgba(8, 127, 123, 0.08);
  color: #086b68;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: 0;
  padding: .35rem .7rem;
}

.ml-section-title {
  max-width: 760px;
  color: #08245b;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.12;
  margin: .85rem 0 1rem;
}

.ml-section-copy {
  max-width: 700px;
  color: #5e6b7d;
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0;
}

.ml-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.ml-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: .5rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  padding: .8rem 1.15rem;
}

.ml-button-primary {
  background: #e31b23;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(227, 27, 35, 0.22);
}

.ml-button-primary:hover, .ml-button-primary:focus {
  background: #b90f17;
  color: #fff !important;
}

.ml-button-secondary {
  border: 1px solid #dce6f3;
  background: #fff;
  color: #123f93 !important;
}

.ml-button-secondary:hover, .ml-button-secondary:focus {
  border-color: rgba(18, 63, 147, 0.34);
  background: rgba(18, 63, 147, 0.06);
  color: #08245b !important;
}

.ml-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 78%);
}

.ml-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(18, 63, 147, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 63, 147, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

.ml-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, #e31b23 0 22%, #08245b 22% 78%, #f6a817 78% 100%);
}

.ml-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.ml-hero-grid > * {
  min-width: 0;
}

.ml-hero h1 {
  max-width: 690px;
  color: #08245b;
  font-size: clamp(2.15rem, 5.2vw, 4.6rem);
  line-height: 1.1;
  margin: 1rem 0 1rem;
}

.ml-hero-lede {
  max-width: 650px;
  color: #5e6b7d;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
  margin: 0;
}

.ml-latest-batches {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  max-width: 680px;
  border: 1px solid rgba(227, 27, 35, 0.2);
  border-left: 5px solid #e31b23;
  border-radius: .5rem;
  background: #fff;
  padding: .45rem;
  margin-top: 1.15rem;
  box-shadow: 0 14px 32px rgba(15, 32, 65, 0.09);
}

.ml-latest-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: .5rem;
  background: #e31b23;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
  padding: .45rem .7rem;
}

.ml-latest-window {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 1rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 1rem), transparent 100%);
}

.ml-latest-track {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: max-content;
  animation: mathlabLatestTicker 26s linear infinite;
  will-change: transform;
}

.ml-latest-window:hover .ml-latest-track,
.ml-latest-window:focus-within .ml-latest-track {
  animation-play-state: paused;
}

.ml-latest-track a {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .12rem;
  width: 238px;
  min-height: 48px;
  border: 1px solid #dce6f3;
  border-radius: .5rem;
  background: #f5f8fc;
  color: #5e6b7d;
  text-decoration: none;
  padding: .48rem .65rem;
}

.ml-latest-track a:hover,
.ml-latest-track a:focus {
  border-color: rgba(227, 27, 35, 0.26);
  background: rgba(227, 27, 35, 0.06);
}

.ml-latest-track strong {
  color: #08245b;
  font-size: .86rem;
  line-height: 1.15;
  white-space: normal;
}

.ml-latest-track span {
  color: #5e6b7d;
  font-size: .78rem;
  line-height: 1.2;
  white-space: normal;
}

@keyframes mathlabLatestTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-latest-track {
    animation: none;
    transform: none;
  }
}

.ml-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  max-width: 640px;
  margin-top: 1.6rem;
}

.ml-proof {
  min-height: 94px;
  border: 1px solid rgba(18, 63, 147, 0.14);
  border-top: 4px solid #08245b;
  border-radius: .5rem;
  background: rgba(255, 255, 255, 0.86);
  padding: .9rem;
  box-shadow: none;
}

.ml-proof:nth-child(2) {
  border-top-color: #e31b23;
}

.ml-proof:nth-child(3) {
  border-top-color: #f6a817;
}

.ml-proof strong {
  display: block;
  color: #08245b;
  font-size: 1.35rem;
  line-height: 1.12;
}

.ml-proof span {
  display: block;
  color: #5e6b7d;
  font-size: .86rem;
  line-height: 1.35;
  margin-top: .45rem;
}

.ml-hero-board {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(18, 63, 147, 0.2);
  border-radius: .5rem;
  background: #071d42;
  color: #fff;
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 24px 50px rgba(15, 32, 65, 0.18);
}

.ml-hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.ml-hero-board > * {
  position: relative;
  z-index: 1;
}

.ml-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 1rem;
}

.ml-board-top span {
  color: rgba(255, 255, 255, 0.68);
  font-size: .82rem;
  font-weight: 750;
}

.ml-board-top strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: .5rem;
  background: #e31b23;
  color: #fff;
  font-size: .86rem;
  padding: .45rem .7rem;
}

.ml-board-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}

.ml-board-proof div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: .5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: .85rem;
}

.ml-board-proof small,
.ml-board-schedule dt {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ml-board-proof strong {
  display: block;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.55rem);
  line-height: 1.18;
  min-height: 1.2em;
  margin-top: .28rem;
}

.ml-board-proof span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
  margin-top: .3rem;
}

.ml-board-graph {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: .5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  margin-top: .9rem;
}

.ml-board-webgl {
  display: none;
  width: 100%;
  height: clamp(150px, 16vw, 210px);
}

.ml-board-webgl canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.ml-board-graph.ml-webgl-ready .ml-board-webgl {
  display: block;
}

.ml-board-graph.ml-webgl-ready .ml-board-fallback {
  display: none;
}

.ml-board-formula {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: .88rem;
  font-weight: 750;
  padding: .7rem .85rem;
}

.ml-board-graph svg {
  display: block;
  width: 100%;
  height: auto;
}

.ml-board-gridline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
}

.ml-board-curve {
  fill: none;
  stroke: #f6a817;
  stroke-linecap: round;
  stroke-width: 8;
}

.ml-board-graph circle {
  fill: #e31b23;
  stroke: #fff;
  stroke-width: 3;
}

.ml-board-schedule {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin: .9rem 0 0;
}

.ml-board-schedule div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: .5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: .75rem;
}

.ml-board-schedule dd {
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.2;
  margin: .35rem 0 0;
}

.ml-results-band {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid #dce6f3;
  background: #fff;
}

.ml-results-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.ml-results-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(18, 63, 147, 0.2);
  border-radius: .5rem;
  background: #08245b;
  box-shadow: 0 18px 38px rgba(15, 32, 65, 0.13);
}

.ml-results-cards article {
  position: relative;
  min-height: 250px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 1.45rem;
  box-shadow: none;
}

.ml-results-cards article:first-child {
  border-top: 0;
}

.ml-results-cards article:last-child {
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.ml-results-cards article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: #e31b23;
}

.ml-results-cards article:last-child::before {
  background: #f6a817;
}

.ml-results-cards small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.ml-results-cards strong {
  display: block;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 1.18;
  min-height: 1.25em;
  letter-spacing: 0;
}

.ml-results-cards span {
  display: block;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.35;
  margin-top: 1rem;
}

.ml-csir-feature {
  background: #f5f8fc;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.ml-csir-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 147, 0.14);
  border-radius: .5rem;
  background: #fff;
  color: #172033;
  box-shadow: 0 22px 46px rgba(15, 32, 65, 0.14);
}

.ml-csir-main {
  position: relative;
  overflow: hidden;
  background: #08245b;
  color: #fff;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.ml-csir-main::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, #e31b23 0 45%, #f6a817 45% 100%);
}

.ml-csir-panel .ml-kicker {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ml-csir-main h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin: .85rem 0 1rem;
}

.ml-csir-main p {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  line-height: 1.7;
  margin: 0;
}

.ml-csir-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  max-width: 850px;
  margin-top: 1.4rem;
}

.ml-csir-stats div {
  min-height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: .5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: .9rem;
}

.ml-csir-stats strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
}

.ml-csir-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.35;
  margin-top: .45rem;
}

.ml-csir-batches {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  background: #fff;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.ml-batch-card {
  border: 1px solid #dce6f3;
  border-left: 5px solid #e31b23;
  border-radius: .5rem;
  background: #fff;
  color: #172033;
  padding: 1.15rem;
  box-shadow: none;
}

.ml-batch-card:nth-child(2) {
  border-left-color: #f6a817;
}

.ml-batch-card h3 {
  color: #08245b;
  font-size: 1.22rem;
  line-height: 1.22;
  margin: 0 0 .55rem;
}

.ml-batch-fee {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: .5rem;
  background: rgba(246, 168, 23, 0.18);
  color: #805300;
  font-weight: 800;
  margin: 0 0 .8rem;
  padding: .35rem .6rem;
}

.ml-batch-card ul,
.ml-csir-common ul {
  display: grid;
  gap: .4rem;
  color: #5e6b7d;
  line-height: 1.5;
  margin: 0;
  padding-left: 1.1rem;
}

.ml-csir-common {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #071d42;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.ml-csir-common h3 {
  color: #fff;
  font-size: 1.12rem;
  margin: 0 0 .8rem;
}

.ml-csir-common ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: rgba(255, 255, 255, 0.78);
}

.ml-pathways {
  border-top: 1px solid #dce6f3;
  border-bottom: 1px solid #dce6f3;
  background: #fff;
}

.ml-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.ml-card-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #dce6f3;
  border-radius: .5rem;
  background: #f5f8fc;
  overflow: hidden;
}

.ml-path-card {
  min-height: 260px;
  border: 0;
  border-left: 1px solid #dce6f3;
  border-radius: 0;
  background: transparent;
  padding: 1.1rem;
  box-shadow: none;
}

.ml-path-card:first-child {
  border-left: 0;
}

.ml-path-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: .5rem;
  background: rgba(18, 63, 147, 0.08);
  color: #123f93;
  font-weight: 800;
  margin-bottom: 1rem;
}

.ml-path-card h3 {
  color: #08245b;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 .55rem;
}

.ml-path-card p {
  color: #5e6b7d;
  line-height: 1.55;
  margin: 0 0 .85rem;
}

.ml-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ml-chip-list li {
  border-radius: .5rem;
  background: rgba(246, 168, 23, 0.15);
  color: #805300;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .5rem;
}

.ml-method-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.ml-method-visual {
  margin: 1.4rem 0 0;
}

.ml-method-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dce6f3;
  border-radius: .5rem;
  box-shadow: 0 14px 30px rgba(15, 32, 65, 0.08);
}

.ml-method-list {
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ml-method-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: .85rem;
  min-height: 112px;
  border: 1px solid #dce6f3;
  border-radius: .5rem;
  background: #fff;
  padding: 1rem;
}

.ml-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: .5rem;
  background: #08245b;
  color: #fff;
  font-weight: 800;
}

.ml-method-item h3 {
  color: #08245b;
  font-size: 1rem;
  margin: 0 0 .35rem;
}

.ml-method-item p {
  color: #5e6b7d;
  line-height: 1.55;
  margin: 0;
}

.ml-value-band {
  background: #fff;
}

.ml-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ml-value {
  min-height: 170px;
  border-top: 4px solid #087f7b;
  border-radius: .5rem;
  background: #f5f8fc;
  padding: 1.1rem;
}

.ml-value:nth-child(2) {
  border-color: #f6a817;
}

.ml-value:nth-child(3) {
  border-color: #123f93;
}

.ml-value:nth-child(4) {
  border-color: #e31b23;
}

.ml-value h3 {
  color: #08245b;
  font-size: 1rem;
  margin: 0 0 .5rem;
}

.ml-value p {
  color: #5e6b7d;
  line-height: 1.55;
  margin: 0;
}

.ml-admission {
  background: #08245b;
  color: #fff;
}

.ml-admission-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.ml-admission h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.12;
  margin: .8rem 0 .75rem;
}

.ml-admission p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.ml-admission .ml-kicker {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ml-admission .ml-button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.ml-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.ml-contact-strip a,
.ml-contact-strip span {
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: .5rem;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
  padding: .85rem 1rem;
}

.ml-contact-strip small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: .76rem;
  margin-bottom: .18rem;
}

.ml-current-notices {
  padding-top: 3rem;
  padding-bottom: 4rem;
  background: #f5f8fc;
}

#page-site-index.notloggedin #topofscroll {
  display: none !important;
  margin-left: -15px;
  margin-right: -15px;
  padding: 0 1rem 3.5rem;
  background: #f5f8fc;
}

#page-site-index.notloggedin #topofscroll #page-content,
#page-site-index.notloggedin #topofscroll #region-main {
  background: transparent;
}

#page-site-index.notloggedin #topofscroll #page-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}

#page-site-index.notloggedin #topofscroll #region-main {
  border: 0;
  padding: 0;
}

#page-site-index.notloggedin #topofscroll .section-item {
  border: 1px solid #dce6f3;
  border-radius: .5rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(15, 32, 65, 0.07);
}

#page-site-index.notloggedin #topofscroll h2 {
  color: #08245b;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
}

#page-site-index.notloggedin #topofscroll h2 u {
  text-decoration-color: #f6a817;
  text-decoration-thickness: .14rem;
  text-underline-offset: .22rem;
}

#page-site-index.notloggedin #topofscroll .activity-item.activityinline {
  border: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

#page-site-index.notloggedin #topofscroll .no-overflow p[style*="padding-left"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-left: 0 !important;
  text-align: center !important;
}

#page-site-index.notloggedin #topofscroll .no-overflow img.img-fluid {
  display: block;
  max-width: 100%;
  height: auto;
  margin: .5rem auto;
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 32, 65, 0.1);
}

#page-site-index.notloggedin #topofscroll a[href*="forms.gle"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: .5rem;
  background: #e31b23;
  color: #fff !important;
  font-weight: 750;
  text-decoration: none;
  padding: .6rem 1rem;
}

.ml-notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.ml-notice-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  border: 1px solid #dce6f3;
  border-radius: .5rem;
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 14px 30px rgba(15, 32, 65, 0.08);
}

.ml-notice-meta {
  align-self: flex-start;
  border-radius: .5rem;
  background: rgba(227, 27, 35, 0.08);
  color: #b90f17;
  font-size: .78rem;
  font-weight: 800;
  padding: .32rem .55rem;
  margin-bottom: .9rem;
}

.ml-notice-card h3 {
  color: #08245b;
  font-size: 1.25rem;
  line-height: 1.22;
  margin: 0 0 .55rem;
}

.ml-notice-card p {
  color: #5e6b7d;
  line-height: 1.58;
  margin: 0 0 .85rem;
}

.ml-notice-card ul {
  display: grid;
  gap: .35rem;
  color: #5e6b7d;
  line-height: 1.45;
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.ml-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: auto;
}

.ml-notice-actions .ml-button {
  min-height: 42px;
  padding: .65rem .9rem;
}

#page-footer {
  margin-left: -15px;
  margin-right: -15px;
  background: #08245b;
  color: #fff;
}

#page-footer .footer-columns {
  max-width: 1180px;
  padding: 2rem 1rem;
}

#page-footer h3.footer-title {
  color: #fff;
  font-weight: 750;
}

#page-footer .contact ul,
#page-footer .socialnetworks ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 0;
}

#page-footer .contact ul li,
#page-footer .socialnetworks ul li {
  display: block;
}

#page-footer .contact ul li a,
#page-footer .socialnetworks ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem !important;
}

#page-footer .column-center {
  color: rgba(255, 255, 255, 0.82);
}

#page-footer .column-center a {
  color: #fff;
}

#page-footer .copyright {
  background: #071d42;
}

.mathlab-floating-actions {
  display: none;
}

#page-site-index.notloggedin .mathlab-floating-actions,
body.pagelayout-login.notloggedin .mathlab-floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  display: flex;
}

.mathlab-floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: .5rem;
  background: #128c7e;
  color: #fff !important;
  font-weight: 750;
  text-decoration: none;
  padding: .75rem 1rem;
  box-shadow: 0 14px 32px rgba(15, 32, 65, 0.22);
}

@media (max-width: 1199.98px) {
  .ml-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .ml-path-card {
    border: 1px solid #dce6f3;
    border-left: 4px solid #123f93;
    border-radius: .5rem;
    background: #f5f8fc;
  }
  .ml-path-card:nth-child(2),
.ml-path-card:nth-child(5) {
    border-left-color: #e31b23;
  }
  .ml-path-card:nth-child(3) {
    border-left-color: #f6a817;
  }
  .ml-path-card:nth-child(4) {
    border-left-color: #087f7b;
  }
  .ml-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .ml-hero-grid,
.ml-results-grid,
.ml-csir-panel,
.ml-method-grid,
.ml-admission-panel {
    grid-template-columns: 1fr;
  }
  .ml-csir-batches,
.ml-csir-common {
    grid-column: auto;
  }
  .ml-notice-grid {
    grid-template-columns: 1fr;
  }
  .ml-hero-board {
    min-height: 0;
  }
  .ml-section-head {
    display: block;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 74px;
  }
  .navbar.fixed-top {
    padding-left: .75rem;
    padding-right: .75rem;
  }
  .navbar.fixed-top .navbar-brand.d-none.d-md-flex {
    display: flex !important;
    max-width: 150px;
    margin-left: .5rem !important;
    margin-right: .5rem !important;
  }
  .navbar.fixed-top .navbar-brand .logo {
    max-width: 132px;
    max-height: 44px;
  }
  .navbar.fixed-top .primary-navigation {
    display: none;
  }
  .navbar.fixed-top .usermenu .login a {
    min-height: 36px;
    padding: .45rem .75rem;
  }
  .ml-container {
    width: calc(100% - 1.25rem);
    max-width: 1160px;
  }
  .ml-section {
    padding: 2.25rem 0;
  }
  .ml-hero {
    padding: 1.25rem 0 1.75rem;
  }
  .ml-hero-grid {
    gap: 1rem;
  }
  .ml-hero h1 {
    font-size: clamp(1.75rem, 7.4vw, 2.2rem);
    line-height: 1.07;
    margin: .7rem 0;
  }
  .ml-hero-lede {
    font-size: .98rem;
    line-height: 1.55;
  }
  .ml-latest-batches {
    grid-template-columns: 1fr;
    gap: .45rem;
    margin-top: .9rem;
  }
  .ml-latest-label {
    justify-content: center;
    min-height: 32px;
  }
  .ml-latest-track {
    gap: .5rem;
    animation-duration: 24s;
  }
  .ml-latest-track a {
    width: 230px;
    min-height: 52px;
  }
  .ml-actions {
    gap: .55rem;
    margin-top: 1rem;
  }
  .ml-button {
    min-height: 42px;
    padding: .65rem .9rem;
  }
  .ml-csir-batches,
.ml-csir-common ul,
.ml-results-cards,
.ml-value-grid,
.ml-contact-strip {
    grid-template-columns: 1fr;
  }
  .ml-results-band {
    padding: 2.25rem 0;
  }
  .ml-results-cards article {
    min-height: 150px;
    padding: 1rem;
  }
  .ml-results-cards article:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }
  .ml-results-cards strong {
    font-size: 3.2rem;
  }
  .ml-csir-feature {
    padding-top: 1.75rem;
  }
  .ml-csir-main {
    padding: 1rem;
  }
  .ml-csir-main h2 {
    font-size: 1.8rem;
  }
  .ml-csir-main p {
    font-size: .98rem;
    line-height: 1.55;
  }
  .ml-csir-stats {
    grid-template-columns: 1fr;
    gap: .55rem;
    margin-top: 1rem;
  }
  .ml-csir-stats div {
    min-height: 74px;
    padding: .75rem;
  }
  .ml-batch-card {
    padding: 1rem;
  }
  .ml-proof-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    margin-top: 1rem;
  }
  .ml-proof {
    min-height: 78px;
    padding: .65rem .55rem;
  }
  .ml-proof strong {
    font-size: 1rem;
  }
  .ml-proof span {
    font-size: .72rem;
    line-height: 1.25;
    margin-top: .3rem;
  }
  .ml-board-top {
    display: grid;
    gap: .65rem;
  }
  .ml-board-top strong {
    justify-content: center;
  }
  .ml-board-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .ml-board-proof div,
.ml-board-schedule div {
    padding: .65rem;
  }
  .ml-board-proof strong {
    font-size: 2.2rem;
  }
  .ml-board-formula {
    font-size: .8rem;
    line-height: 1.35;
    padding: .6rem .7rem;
  }
  .ml-board-schedule {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
  .ml-card-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .ml-section-copy {
    line-height: 1.55;
  }
  .ml-card-grid {
    gap: .75rem;
  }
  .ml-path-card {
    min-height: 0;
    padding: .9rem;
  }
  .ml-path-card p {
    line-height: 1.45;
    margin-bottom: .65rem;
  }
  .ml-method-visual {
    margin-top: 1rem;
  }
  .ml-admission-panel {
    gap: 1rem;
  }
  .ml-contact-strip a,
.ml-contact-strip span {
    min-height: 58px;
  }
  .ml-notice-card {
    min-height: 0;
    padding: 1rem;
  }
  .ml-actions a,
.ml-admission .ml-actions a {
    width: 100%;
  }
  #page-site-index.notloggedin .mathlab-floating-actions {
    display: none !important;
  }
  #page-footer .footer-columns {
    padding-bottom: 1.5rem;
  }
}
