/* ==========================================================
  LOCATION PAGE (Premium + Stable)
========================================================== */

.eimr-location-page{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Container */
.container-main{
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Desktop/Mobile toggles */
.desk-ver{ display:block; }
.mob-ver{ display:none; }
@media (max-width: 768px){
  .desk-ver{ display:none !important; }
  .mob-ver{ display:block !important; }
}

/* ==========================================================
  HERO
========================================================== */
.loc-hero{
  position: relative;
  min-height: 340px;
  display:flex;
  align-items: center;
  overflow:hidden;
  background:#071a2a;
}
.loc-hero-bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.loc-hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(6,18,32,.86) 0%, rgba(6,18,32,.62) 55%, rgba(6,18,32,.35) 100%);
}
.loc-hero .container-main{ position:relative; z-index:2; }
.loc-hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items:center;
  padding: 58px 0;
}
@media (max-width: 900px){
  .loc-hero-inner{ grid-template-columns: 1fr; padding: 44px 0; }
}

.loc-pill{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color:#fff;
  font-weight:600;
  font-size: 13px;
  letter-spacing:.2px;
  margin-bottom: 14px;
}

.loc-hero-h1{
  color:#fff;
  font-weight: 700;
  line-height: 1.06;
  font-size: clamp(34px, 4.2vw, 54px);
  margin: 0 0 12px;
}
.loc-hero-sub{
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.75;
  max-width: 720px;
  margin: 0;
}

/* Hero CTAs (premium) */
.loc-hero-right{
  display:flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
@media (max-width: 900px){
  .loc-hero-right{ align-items: flex-start; }
}

.btn-primary,
.btn-secondary{
  appearance:none;
  border:0;
  cursor:pointer;
  font-weight:700;
  border-radius: 999px;
  padding: 12px 18px;
  min-width: 220px;
  text-align:center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn-primary{
  background: #4c79dc;
  color:#fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }

.btn-secondary{
  background: #fdbE10;
  color:#071a2a;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.btn-secondary:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.22); }

/* ==========================================================
  SECTION COLOURS (LOCKED)
========================================================== */
.loc-alt-white{
  background:#ffffff;
  color:#071a2a;
}

.loc-alt-blue{
  background:#071a2a;
  color:#ffffff;
}

/* Gridlines (only for white sections by default) */
.loc-section{
  position: relative;
  padding: 76px 0;
}
.loc-section.has-grid::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(to right, rgba(7,26,42,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(7,26,42,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events:none;
  opacity:.55;
}
.loc-alt-blue.has-grid::before{ display:none !important; } /* blue = no gridlines */

/* Headings */
.loc-h2{
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  margin: 0 0 12px;
  font-weight: 800;
}
.loc-sub{
  margin: 0 0 26px;
  line-height: 1.85;
  font-size: 15px;
  color: rgba(7,26,42,.72);
  max-width: 860px;
}

.loc-alt-blue .loc-h2,
.loc-alt-blue .loc-sub{
  color:#fff;
}
.loc-alt-blue .loc-sub{ opacity:.84; }

/* ==========================================================
  SPLIT LAYOUT + IMAGE SIZE FIX
========================================================== */
.loc-split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px){
  .loc-split{ grid-template-columns: 1fr; gap: 18px; }
}

.loc-split-media{
  display:flex;
  align-items:center;
  justify-content:center;
}

.loc-split-media img{
  width: 100%;
  height: 100%;
  max-height: 420px;       /* makes image look “matched” */
  object-fit: cover;
  border-radius: 18px;
  display:block;
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}
@media (max-width: 900px){
  .loc-split-media img{ max-height: 320px; }
}

/* ==========================================================
  CARDS
========================================================== */
.loc-cards{
  display:grid;
  gap: 16px;
}
.loc-cards-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.loc-cards-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.loc-cards-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }

@media (max-width: 1024px){
  .loc-cards-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .loc-cards-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .loc-cards-4,
  .loc-cards-3,
  .loc-cards-2{ grid-template-columns: 1fr; }
}

.loc-card{
  background:#fff;
  border-radius: 18px;
  padding: 18px 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(7,26,42,.08);
  position: relative;
  overflow:hidden;
}
.loc-card-title{
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
}
.loc-card-line{
  color: rgba(7,26,42,.72);
  line-height: 1.7;
  font-size: 14px;
}

/* Blue section cards style */
.loc-alt-blue .loc-card{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.loc-alt-blue .loc-card-title,
.loc-alt-blue .loc-card-line{
  color:#fff;
}
.loc-alt-blue .loc-card-line{ opacity:.82; }

/* Badge */
.loc-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(253,190,16,.18);
  color: #8a5b00;
  font-weight: 800;
  font-size: 12px;
}
.loc-alt-blue .loc-badge{
  background: rgba(253,190,16,.16);
  color: #fdbE10;
}

/* Spec card header row */
.loc-card-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

/* Spec CTAs (better) */
.loc-card-cta{
  display:flex;
  gap: 10px;
  margin-top: 14px;
  align-items:center;
}

.btn-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn-mini-solid{
  background:#4c79dc;
  color:#fff;
  border:1px solid rgba(0,0,0,0);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.btn-mini-solid:hover{ transform: translateY(-1px); }

.btn-mini-outline{
  background: transparent;
  color:#071a2a;
  border:1px solid rgba(7,26,42,.28);
}
.btn-mini-outline:hover{ transform: translateY(-1px); }

.loc-alt-blue .btn-mini-outline{
  color:#fff;
  border-color: rgba(255,255,255,.35);
}

/* ==========================================================
  ADMISSION STEPS
========================================================== */
.loc-steps{
  display:flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.loc-step{
  display:flex;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.loc-alt-white .loc-step{
  background:#fff;
  border-color: rgba(7,26,42,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.07);
}
.loc-step-no{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background:#fdbE10;
  color:#071a2a;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  flex: 0 0 auto;
}
.loc-step-title{ font-weight: 900; margin-bottom: 6px; }
.loc-step-text{ opacity: .85; line-height: 1.7; }

/* ==========================================================
  FAQ
========================================================== */
.loc-faq{
  margin-top: 18px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.loc-faq-item{
  background:#fff;
  border-radius: 16px;
  border: 1px solid rgba(7,26,42,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
  overflow:hidden;
}
.loc-faq-q{
  cursor:pointer;
  padding: 16px 18px;
  font-weight: 900;
  list-style: none;
}
.loc-faq-q::-webkit-details-marker{ display:none; }
.loc-faq-a{
  padding: 0 18px 16px;
  color: rgba(7,26,42,.72);
  line-height: 1.75;
}

/* ==========================================================
  FINAL CTA (FULL WIDTH YELLOW, no “white inside” feel)
========================================================== */
.loc-bottom-cta{
  background: transparent;
  padding: 0;
}
.loc-cta-inner{
  background: radial-gradient(circle at 78% 40%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 55%),
              linear-gradient(90deg, #fdbE10 0%, #f2b200 55%, #fdbE10 100%);
  padding: 54px 0;
}
.loc-cta-box{
  border-radius: 22px;
  padding: 28px 28px;
  background: rgba(7,26,42,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  position: relative;
  overflow:hidden;
}
.loc-cta-title{
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 900;
  color:#071a2a;
}
.loc-cta-sub{
  margin: 0 0 18px;
  color: rgba(7,26,42,.80);
  line-height: 1.7;
  max-width: 760px;
}
.loc-cta-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================
  REVEAL ANIMATION (minimal)
========================================================== */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   LOCATION PAGE — FINAL SINGLE OVERRIDE (NO CONFLICTS)
   Paste ONLY this at the END
========================================================= */

.eimr-location-page{
  --navy:#071a2a;
  --gold:#FDBE10;
  --text:#071a2a;
  --muted: rgba(7,26,42,.72);
}

/* 1) GOLD LINE under headings (premium) */
.eimr-location-page .loc-h2{
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 12px;
}
.eimr-location-page .loc-h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:82px;
  height:4px;
  border-radius:99px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(253,190,16,.30) 100%);
  box-shadow: 0 10px 22px rgba(253,190,16,.14);
}

/* 2) FIRST SECTION cards spacing (your red box issue) */
.eimr-location-page #expectations .loc-sub{ margin-bottom: 22px !important; }
.eimr-location-page #expectations .loc-cards{
  margin-top: 18px !important;
  gap: 18px !important;
}
@media (max-width: 768px){
  .eimr-location-page #expectations .loc-cards{ gap: 12px !important; }
}

/* 3) BBA AT EIMR empty-right fix: last card spans full width (desktop) */
@media (min-width: 992px){
  .eimr-location-page #bba-at-eimr .loc-cards.loc-cards-2 .loc-card:last-child{
    grid-column: 1 / -1;
    max-width: 860px;
  }
}

/* 4) SPLIT IMAGE size (make it feel matched) */
.eimr-location-page .loc-split{ align-items:center !important; }
.eimr-location-page .loc-split-media img{
  max-height: 460px !important;
  border-radius: 20px !important;
}
@media (max-width: 900px){
  .eimr-location-page .loc-split-media img{ max-height: 320px !important; }
}

/* 5) SPECIALISATIONS alignment + hover */
.eimr-location-page #specialisations .loc-cards{ gap: 18px !important; }
.eimr-location-page #specialisations .loc-card{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
@media (hover:hover){
  .eimr-location-page #specialisations .loc-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
  }
}

/* 6) Stop NPF buttons turning red anywhere */
.eimr-location-page .npfWidgetButton{
  background: #071a2a !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18) !important;
}
.eimr-location-page .btn-secondary.npfWidgetButton{
  background: var(--gold) !important;
  color: #071a2a !important;
}

/* 7) Admission forced WHITE + readable */
.eimr-location-page #admission{
  background:#fff !important;
  color: var(--text) !important;
}
.eimr-location-page #admission .loc-h2,
.eimr-location-page #admission .loc-sub,
.eimr-location-page #admission .loc-step-title,
.eimr-location-page #admission .loc-step-text{
  color: var(--text) !important;
}
.eimr-location-page #admission .loc-step{
  background:#fff !important;
  border: 1px solid rgba(7,26,42,.12) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.08) !important;
  transition: transform .22s ease, box-shadow .22s ease;
}
@media (hover:hover){
  .eimr-location-page #admission .loc-step:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(0,0,0,.12) !important;
  }
}

/* 8) FAQ forced BLUE + down arrow */
.eimr-location-page #faqs{
  background: var(--navy) !important;
  color: #fff !important;
}
.eimr-location-page #faqs .loc-h2,
.eimr-location-page #faqs .loc-sub{ color:#fff !important; }
.eimr-location-page #faqs .loc-faq-item{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}
.eimr-location-page #faqs summary.loc-faq-q{
  position: relative;
  padding-right: 52px !important;
}
.eimr-location-page #faqs summary.loc-faq-q::-webkit-details-marker{ display:none; }
.eimr-location-page #faqs summary.loc-faq-q::after{
  content:"▾";
  position:absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,.9);
  transition: transform .22s ease;
}
.eimr-location-page #faqs details[open] > summary.loc-faq-q::after{
  transform: translateY(-50%) rotate(180deg);
}
.eimr-location-page #faqs .loc-faq-a{ color: rgba(255,255,255,.82) !important; }

/* 9) FINAL CTA (your markup): not inside-section feel + rings */
.eimr-location-page #bottom-cta.loc-bottom-cta{
  position: relative;
  padding: 28px 0 !important;
  background: linear-gradient(90deg, #FDBE10 0%, #F2B200 50%, #FDBE10 100%) !important;
  overflow:hidden;
}
.eimr-location-page #bottom-cta.loc-bottom-cta::before{
  content:"";
  position:absolute;
  right:-220px;
  top:50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  border-radius: 999px;
  background: radial-gradient(circle,
    rgba(255,255,255,.34) 0%,
    rgba(255,255,255,.18) 22%,
    rgba(255,255,255,.08) 44%,
    rgba(255,255,255,0) 70%);
  pointer-events:none;
}
.eimr-location-page #bottom-cta .loc-cta-inner{
  background: transparent !important;
  padding: 0 !important;
}
.eimr-location-page #bottom-cta .loc-cta-box{
  background: rgba(255,255,255,.18) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 18px !important;
  padding: 18px 18px !important;
  max-width: 920px;
  box-shadow: 0 18px 44px rgba(0,0,0,.14) !important;
  backdrop-filter: blur(10px);
}
@media (max-width: 768px){
  .eimr-location-page #bottom-cta .loc-cta-actions{ flex-direction: column; }
  .eimr-location-page #bottom-cta .loc-cta-actions .npfWidgetButton{ width:100% !important; }
}

/* 10) Desktop/Mobile image toggle — FINAL (no duplicates) */
.eimr-location-page .desk-ver{ display:block !important; }
.eimr-location-page .mob-ver{ display:none !important; }
@media (max-width: 768px){
  .eimr-location-page .desk-ver{ display:none !important; }
  .eimr-location-page .mob-ver{ display:block !important; }
}


/* =========================================================
   FIX PACK — Buttons + BBA Layout + Expectations Cards + CTA width
   Paste at the VERY END of location-page.css
========================================================= */

/* ---------------------------------
   1) NPF buttons — bigger + premium
---------------------------------- */
.eimr-location-page .npfWidgetButton,
.eimr-location-page .btn-primary.npfWidgetButton,
.eimr-location-page .btn-secondary.npfWidgetButton{
  min-width: 260px !important;
  padding: 14px 22px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  line-height: 1 !important;
}

@media (max-width: 900px){
  .eimr-location-page .npfWidgetButton{
    width: 100% !important;
    min-width: unset !important;
  }
}

/* Hero buttons: keep them slightly larger */
.eimr-location-page .loc-hero-right .npfWidgetButton{
  min-width: 300px !important;
  padding: 15px 24px !important;
}

/* ---------------------------------
   2) "What Students Expect" cards — more spacing + no text clipping
   (Your Entrepreneurship word cut)
---------------------------------- */
.eimr-location-page #expectations .loc-cards{
  gap: 22px !important;
  margin-top: 20px !important;
}
.eimr-location-page #expectations .loc-card{
  padding: 20px 18px !important;
}
.eimr-location-page #expectations .loc-card-title{
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.25 !important;
}

/* If some card title is still getting clipped by fixed height from theme */
.eimr-location-page #expectations .loc-card,
.eimr-location-page #expectations .loc-card *{
  height: auto !important;
  max-height: none !important;
}

/* ---------------------------------
   3) BBA AT EIMR — no image → remove “empty right” feel
   Make grid 3 columns on desktop (more balanced)
---------------------------------- */
@media (min-width: 992px){
  .eimr-location-page #bba-at-eimr .loc-cards.loc-cards-2{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    max-width: 1100px;
  }

  /* Make last card span 2 cols if odd count */
  .eimr-location-page #bba-at-eimr .loc-cards.loc-cards-2 .loc-card:last-child:nth-child(odd){
    grid-column: span 2 !important;
  }
}

/* Mobile stays 1 column (already ok) */
@media (max-width: 768px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: 1fr !important;
  }
}

/* ---------------------------------
   4) FINAL CTA — make it feel full-width, not “inside container”
   (Your markup: #bottom-cta > .loc-cta-inner > .container-main > .loc-cta-box)
---------------------------------- */

/* Make the CTA box stretch full-width of section but keep nice padding */
.eimr-location-page #bottom-cta .container-main{
  width: 100% !important;
  max-width: none !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

.eimr-location-page #bottom-cta .loc-cta-box{
  max-width: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 22px 24px !important;
  border-radius: 22px !important;
}

/* CTA buttons alignment */
.eimr-location-page #bottom-cta .loc-cta-actions{
  gap: 14px !important;
}

/* Mobile CTA padding */
@media (max-width: 768px){
  .eimr-location-page #bottom-cta .container-main{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .eimr-location-page #bottom-cta .loc-cta-box{
    padding: 18px 16px !important;
  }
}


/* =========================
   FINAL CTA — TRUE FULL WIDTH
   (edge-to-edge + rings)
========================= */
.eimr-location-page #bottom-cta.loc-bottom-cta{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;  /* breaks out of theme container */
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
}

/* Remove container constraint inside CTA */
.eimr-location-page #bottom-cta .container-main{
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  max-width: none !important;
}

/* CTA box stays premium centred */
.eimr-location-page #bottom-cta .loc-cta-box{
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
}


/* =========================
   BBA AT EIMR — FIX EMPTY RIGHT SIDE
   (force 3-col grid + balance last row)
========================= */

/* Ensure the grid is actually used (some theme rules can override) */
.eimr-location-page #bba-at-eimr .loc-cards{
  display: grid !important;
  gap: 18px !important;
}

/* Desktop: 3 columns (no empty right block) */
@media (min-width: 992px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
  }

  /* If total cards count = 5 or 4 etc, last row can look odd.
     Make the LAST card span 2 cols for a balanced final row. */
  .eimr-location-page #bba-at-eimr .loc-cards .loc-card:last-child{
    grid-column: span 2;
  }

  /* If there are exactly 6 (perfect 3x2), don’t span */
  .eimr-location-page #bba-at-eimr .loc-cards .loc-card:nth-last-child(1):nth-child(3n){
    grid-column: auto;
  }
}

/* Tablet: 2 columns */
@media (max-width: 991px) and (min-width: 641px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .eimr-location-page #bba-at-eimr .loc-cards .loc-card:last-child{
    grid-column: auto;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: 1fr !important;
  }
}

/* Slightly better card sizing for this section */
.eimr-location-page #bba-at-eimr .loc-card{
  min-height: 170px;
}

/* =========================================================
   FINAL PATCH — fixes based on your exact HTML
   Paste at END of location-page.css
========================================================= */

/* ---------------------------------------------------------
  1) BBA AT EIMR — remove empty right side (no image column)
--------------------------------------------------------- */
.eimr-location-page #bba-at-eimr .loc-split{
  grid-template-columns: 1fr !important;  /* single column */
  gap: 22px !important;
}

/* Make content full width (so it doesn’t feel “left aligned only”) */
.eimr-location-page #bba-at-eimr .loc-split-content{
  width: 100% !important;
  max-width: 980px;          /* premium readable width */
}

/* OPTIONAL: If you want it full-wide (not limited), comment the max-width above */


/* ---------------------------------------------------------
  2) BBA AT EIMR — better cards layout (3-col, balanced)
--------------------------------------------------------- */
.eimr-location-page #bba-at-eimr .loc-cards{
  display: grid !important;
  gap: 18px !important;
}

/* Desktop: 3 columns */
@media (min-width: 992px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  /* balance the last row (for 5 cards, last spans 2 cols) */
  .eimr-location-page #bba-at-eimr .loc-cards .loc-card:last-child{
    grid-column: span 2;
  }
}

/* Tablet: 2 columns */
@media (max-width: 991px) and (min-width: 641px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .eimr-location-page #bba-at-eimr .loc-cards .loc-card:last-child{
    grid-column: auto;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: 1fr !important;
  }
}


/* ---------------------------------------------------------
  3) EXPECTATIONS cards — fix spacing + long words clipping
  (Entrepreneurship word, etc.)
--------------------------------------------------------- */
.eimr-location-page #expectations .loc-cards{
  gap: 18px !important;
  margin-top: 18px !important;
}

/* Instead of rigid 4 tiny boxes, allow nicer minimum width */
@media (min-width: 992px){
  .eimr-location-page #expectations .loc-cards{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  }
}

/* Let long words wrap cleanly (no awkward cut) */
.eimr-location-page #expectations .loc-card-title{
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}


/* ---------------------------------------------------------
  4) NPF buttons — restore premium size (theme reduced it)
--------------------------------------------------------- */
.eimr-location-page .npfWidgetButton{
  min-width: 260px !important;
  padding: 14px 20px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
}

@media (max-width: 900px){
  .eimr-location-page .npfWidgetButton{
    width: 100% !important;
    min-width: unset !important;
  }
}


/* ---------------------------------------------------------
  5) FINAL CTA — TRUE full width (not container-bound)
--------------------------------------------------------- */
.eimr-location-page #bottom-cta.loc-bottom-cta{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;
}

/* make sure inner wrappers don't re-add “boxed” look */
.eimr-location-page #bottom-cta .loc-cta-inner{
  background: transparent !important;
  padding: 0 !important;
}

/* Center CTA box but keep section full width */
.eimr-location-page #bottom-cta .loc-cta-box{
  max-width: 980px !important;
  margin: 0 auto !important;
}



/* =========================================================
   PREMIUM DEPTH — BBA AT EIMR SECTION
   CSS ONLY — No PHP changes
========================================================= */

.eimr-location-page #bba-at-eimr{
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(253,190,16,.08), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(253,190,16,.06), transparent 45%),
    linear-gradient(180deg, #061C2E 0%, #071F33 100%) !important;
  overflow: hidden;
}

/* subtle floating light grain */
.eimr-location-page #bba-at-eimr:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to right, rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:.25;
  pointer-events:none;
}

/* make content layered above glow */
.eimr-location-page #bba-at-eimr .container-main{
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------
   Card Elevation Upgrade
--------------------------------------------------------- */

.eimr-location-page #bba-at-eimr .loc-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* hover lift */
@media (hover:hover){
  .eimr-location-page #bba-at-eimr .loc-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(0,0,0,.35);
    border-color: rgba(253,190,16,.35);
  }
}

/* card title stronger */
.eimr-location-page #bba-at-eimr .loc-card-title{
  font-weight: 700;
  letter-spacing: .2px;
}

/* ---------------------------------------------------------
   Section spacing refinement
--------------------------------------------------------- */

.eimr-location-page #bba-at-eimr .loc-sub{
  max-width: 900px;
  margin-bottom: 28px;
}

/* better spacing between heading and underline */
.eimr-location-page #bba-at-eimr .loc-h2{
  margin-bottom: 18px;
}

/* ---------------------------------------------------------
   Optional Gold accent behind cards (very subtle)
--------------------------------------------------------- */

.eimr-location-page #bba-at-eimr .loc-cards{
  position: relative;
}

.eimr-location-page #bba-at-eimr .loc-cards:after{
  content:"";
  position:absolute;
  inset: -40px -40px;
  background:
    radial-gradient(circle at 30% 30%, rgba(253,190,16,.07), transparent 50%);
  z-index: -1;
  pointer-events:none;
}

/* ---------------------------------------------------------
   Mobile polish
--------------------------------------------------------- */

@media (max-width: 768px){

  .eimr-location-page #bba-at-eimr{
    padding: 52px 0 !important;
  }

  .eimr-location-page #bba-at-eimr .loc-card{
    border-radius: 16px;
  }

  .eimr-location-page #bba-at-eimr .loc-card:hover{
    transform: none; /* prevent jumpy hover on mobile */
  }
}


/* =========================================================
   BBA SECTION — Ambient Gold Motion Layer
========================================================= */

.eimr-location-page #bba-at-eimr{
  position: relative;
  overflow: hidden;
}

/* animated glow */
.eimr-location-page #bba-at-eimr::after{
  content:"";
  position:absolute;
  width: 700px;
  height: 700px;
  right:-250px;
  top:50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle,
      rgba(253,190,16,.18) 0%,
      rgba(253,190,16,.10) 20%,
      rgba(253,190,16,.05) 40%,
      transparent 65%);
  animation: eimrGoldFloat 14s ease-in-out infinite alternate;
  pointer-events:none;
  z-index:1;
  opacity:.7;
}

@keyframes eimrGoldFloat{
  0%{ transform: translateY(-50%) translateX(0px); }
  100%{ transform: translateY(-50%) translateX(-40px); }
}


/* =========================================================
   BBA Cards Stagger Animation
========================================================= */

.eimr-location-page #bba-at-eimr .loc-card{
  opacity: 0;
  transform: translateY(20px);
  animation: eimrCardIn .7s ease forwards;
}

/* Stagger timing */
.eimr-location-page #bba-at-eimr .loc-card:nth-child(1){ animation-delay: .1s; }
.eimr-location-page #bba-at-eimr .loc-card:nth-child(2){ animation-delay: .2s; }
.eimr-location-page #bba-at-eimr .loc-card:nth-child(3){ animation-delay: .3s; }
.eimr-location-page #bba-at-eimr .loc-card:nth-child(4){ animation-delay: .4s; }
.eimr-location-page #bba-at-eimr .loc-card:nth-child(5){ animation-delay: .5s; }

@keyframes eimrCardIn{
  to{
    opacity:1;
    transform: translateY(0);
  }
}

/* Disable animation on small mobile for performance */
@media (max-width:768px){
  .eimr-location-page #bba-at-eimr .loc-card{
    animation:none;
    opacity:1;
    transform:none;
  }
}



/* =========================================================
   Layered Hover Depth
========================================================= */

@media (hover:hover){

  .eimr-location-page #bba-at-eimr .loc-card{
    transition: transform .3s ease, box-shadow .3s ease;
  }

  .eimr-location-page #bba-at-eimr .loc-card:hover{
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
  }

}

/* =========================================================
   FIX 1: EXPECTATIONS SECTION — IMAGE SIZE (proper + premium)
   (Targets your split layout image block)
========================================================= */

.eimr-location-page #expectations .loc-split{
  align-items: center !important;
}

/* Make image block look “intentional” */
.eimr-location-page #expectations .loc-split-media{
  align-items: center !important;
  justify-content: center !important;
}

/* Fix the image crop/height */
.eimr-location-page #expectations .loc-split-media img{
  width: 100% !important;
  max-width: 640px !important;     /* controls excessive width on big screens */
  height: auto !important;
  aspect-ratio: 16 / 10;           /* keeps consistent premium proportion */
  object-fit: cover !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.14) !important;
}

/* Mobile: make it taller (your screenshot shows it feels off) */
@media (max-width: 768px){
  .eimr-location-page #expectations .loc-split-media img{
    max-width: 100% !important;
    aspect-ratio: 16 / 11 !important;
    border-radius: 16px !important;
  }
}


/* =========================================================
   FIX 2: EXPECTATIONS SECTION — CARD SPACING + LONG WORDS
   (Entrepreneurship word cutting)
========================================================= */

/* Slightly more breathing space */
.eimr-location-page #expectations .loc-cards{
  gap: 18px !important;
  margin-top: 20px !important;
}

/* Make cards a bit wider + better padding */
.eimr-location-page #expectations .loc-card{
  padding: 20px 20px !important;
}

/* Prevent text clipping on long words */
.eimr-location-page #expectations .loc-card-title{
  line-height: 1.25 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;   /* important: stops “Entrepreneurship” clipping */
}

/* If you want the expectation cards to look like “pills” (optional premium) */
@media (min-width: 992px){
  .eimr-location-page #expectations .loc-cards.loc-cards-4 .loc-card{
    border-radius: 18px !important;
  }
}


/* =========================================================
   FIX 3: SPECIALISATIONS — BUTTON ALIGNMENT (static + same row)
   (Pins CTA to bottom, equal sizing across all 3 cards)
========================================================= */

/* Make each specialisation card behave like a fixed layout */
.eimr-location-page #specialisations .loc-card{
  display: flex !important;
  flex-direction: column !important;
  min-height: 260px;                /* keeps cards uniform even if text differs */
}

/* Push CTA to bottom */
.eimr-location-page #specialisations .loc-card-cta{
  margin-top: auto !important;
  padding-top: 14px !important;
}

/* Make Enquire button consistent width */
.eimr-location-page #specialisations .loc-card-cta .npfWidgetButton{
  width: 220px !important;
  height: 46px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}

/* Centre the button inside cards */
.eimr-location-page #specialisations .loc-card-cta{
  display: flex !important;
  justify-content: flex-start !important; /* left aligned like your design */
}

/* Mobile: full width buttons */
@media (max-width: 768px){
  .eimr-location-page #specialisations .loc-card{
    min-height: unset !important;
  }

  .eimr-location-page #specialisations .loc-card-cta{
    width: 100% !important;
  }

  .eimr-location-page #specialisations .loc-card-cta .npfWidgetButton{
    width: 100% !important;
  }
}



/* =========================================================
   LONG PARAGRAPH SPLIT SECTIONS — MAKE IMAGE MATCH HEIGHT
   Applies to: #expectations, #ecosystem, #why-beyond
========================================================= */

/* 1) Better split proportions for text-heavy sections */
.eimr-location-page #expectations .loc-split,
.eimr-location-page #ecosystem .loc-split,
.eimr-location-page #why-beyond .loc-split{
  grid-template-columns: 1.15fr 0.85fr !important;  /* text slightly wider but image still strong */
  align-items: start !important;
  gap: 34px !important;
}

/* 2) Make paragraphs feel premium (not stretched wide) */
.eimr-location-page #expectations .loc-sub,
.eimr-location-page #ecosystem .loc-sub,
.eimr-location-page #why-beyond .loc-sub{
  max-width: 920px !important;
}

/* 3) Make the image area tall + sticky, so it matches long text */
.eimr-location-page #expectations .loc-split-media,
.eimr-location-page #ecosystem .loc-split-media,
.eimr-location-page #why-beyond .loc-split-media{
  position: sticky;
  top: 110px;                 /* adjust if your header height differs */
  align-self: start;
}

/* 4) Bigger image that feels “even” with text */
.eimr-location-page #expectations .loc-split-media img,
.eimr-location-page #ecosystem .loc-split-media img,
.eimr-location-page #why-beyond .loc-split-media img{
  width: 100% !important;
  max-width: 680px !important;
  height: 520px !important;   /* KEY: makes image not look small vs paragraph */
  object-fit: cover !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.14) !important;
}

/* 5) If screen is shorter, reduce height so it never overflows */
@media (max-height: 740px){
  .eimr-location-page #expectations .loc-split-media img,
  .eimr-location-page #ecosystem .loc-split-media img,
  .eimr-location-page #why-beyond .loc-split-media img{
    height: 460px !important;
  }
}

/* =========================
   MOBILE — STACK + PREMIUM IMAGE HEIGHT
========================= */
@media (max-width: 900px){

  .eimr-location-page #expectations .loc-split,
  .eimr-location-page #ecosystem .loc-split,
  .eimr-location-page #why-beyond .loc-split{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Disable sticky on mobile */
  .eimr-location-page #expectations .loc-split-media,
  .eimr-location-page #ecosystem .loc-split-media,
  .eimr-location-page #why-beyond .loc-split-media{
    position: relative !important;
    top: auto !important;
  }

  .eimr-location-page #expectations .loc-split-media img,
  .eimr-location-page #ecosystem .loc-split-media img,
  .eimr-location-page #why-beyond .loc-split-media img{
    height: 260px !important;
    max-width: 100% !important;
    border-radius: 16px !important;
  }
}


/* =====================================================
   HERO / BANNER SIZE FIX — Chennai Page Only
===================================================== */

/* Make hero taller */
.eimr-location-page .loc-hero {
  min-height: 620px !important;   /* increase height */
  display: flex;
  align-items: center;
}

/* Add more vertical spacing */
.eimr-location-page .loc-hero-inner {
  padding: 110px 0 !important;
}

/* Improve text alignment balance */
.eimr-location-page .loc-hero .loc-hero-content {
  max-width: 650px;
}

/* Slightly bigger heading */
.eimr-location-page .loc-hero h1 {
  font-size: 48px;
  line-height: 1.15;
}

/* Better overlay feel (optional but premium) */
.eimr-location-page .loc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 22, 38, 0.85) 0%,
    rgba(0, 22, 38, 0.6) 45%,
    rgba(0, 22, 38, 0.3) 100%
  );
  z-index: 0;
}
.eimr-location-page .loc-hero-inner {
  position: relative;
  z-index: 2;
}

/* =========================
   MOBILE HERO FIX
========================= */
@media (max-width: 900px) {
  .eimr-location-page .loc-hero {
    min-height: 580px !important;
  }

  .eimr-location-page .loc-hero-inner {
    padding: 80px 0 !important;
  }

  .eimr-location-page .loc-hero h1 {
    font-size: 32px;
  }
}


/* ================================
   OPTION A — Glass Panel + Outcome Chips
   Only for #program-outcomes
================================ */

.eimr-location-page #program-outcomes{
  position: relative;
}

.eimr-location-page #program-outcomes .container-main{
  position: relative;
  z-index: 2;
}

/* main panel */
.eimr-location-page #program-outcomes .loc-outcomes-wrap{
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(7,26,42,.10);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 46px rgba(2,6,23,.08);
  backdrop-filter: blur(10px);
}

/* grid becomes chip layout */
.eimr-location-page #program-outcomes .loc-outcomes-grid{
  display:flex !important;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

/* each outcome looks like a chip */
.eimr-location-page #program-outcomes .loc-outcome-card{
  flex: 1 1 calc(50% - 14px);
  min-width: 280px;
  border-radius: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(7,26,42,.08);
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.eimr-location-page #program-outcomes .loc-outcome-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(2,6,23,.10);
  border-color: rgba(253,190,16,.40);
}

/* badge becomes small premium icon */
.eimr-location-page #program-outcomes .loc-outcome-badge{
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: rgba(253,190,16,.18) !important;
  color: #071a2a !important;
  font-weight: 900 !important;
}

/* mobile */
@media (max-width: 768px){
  .eimr-location-page #program-outcomes .loc-outcomes-wrap{ padding: 18px; }
  .eimr-location-page #program-outcomes .loc-outcome-card{ flex: 1 1 100%; }
}

/* ==========================
   Specialisations CTA Layout
========================== */

.eimr-location-page #specialisations .loc-card-cta{
  margin-top: 20px;
  display:flex;
  gap:14px;
  align-items:center;
}

.eimr-location-page #specialisations .btn-mini{
  height:48px;
  padding:0 22px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: all .25s ease;
}

/* Enquire Now */
.eimr-location-page #specialisations .btn-mini-solid{
  background:#071a2a;
  color:#fff;
  box-shadow:0 14px 28px rgba(0,0,0,.15);
}

/* Know More */
.eimr-location-page #specialisations .btn-mini-outline{
  background:transparent;
  border:1px solid rgba(7,26,42,.25);
  color:#071a2a;
  text-decoration:none;
}

.eimr-location-page #specialisations .btn-mini-outline::after{
  content:" →";
  margin-left:6px;
  font-weight:700;
}

/* Hover */
.eimr-location-page #specialisations .btn-mini:hover{
  transform:translateY(-2px);
}

/* Mobile */
@media(max-width:768px){
  .eimr-location-page #specialisations .loc-card-cta{
    flex-direction:column;
    align-items:stretch;
  }
  .eimr-location-page #specialisations .btn-mini{
    width:100%;
  }
}

/* ============================================
   SPECIALISATIONS — FIX "KNOW MORE" CTA STYLING
   Paste at END of location-page.css
============================================ */

.eimr-location-page #specialisations .loc-card{
  display: flex;
  flex-direction: column;
  min-height: 240px; /* keeps cards visually equal */
}

.eimr-location-page #specialisations .loc-card-line{
  flex: 1; /* pushes CTA row to bottom */
}

/* CTA row aligned + consistent */
.eimr-location-page #specialisations .loc-card-cta{
  margin-top: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
}

/* Enquire Now = primary wide button */
.eimr-location-page #specialisations .btn-mini-solid.npfWidgetButton{
  flex: 1 1 auto !important;
  height: 46px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  background: #071a2a !important;
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.12) !important;
}

/* Know More = secondary outline button (NOT pill/chip) */
.eimr-location-page #specialisations a.btn-mini-outline{
  flex: 0 0 auto !important;
  height: 46px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #071a2a !important;
  border: 1px solid rgba(7,26,42,.22) !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.06) !important;
}

/* Arrow on Know More */
.eimr-location-page #specialisations a.btn-mini-outline::after{
  content: "↗";
  margin-left: 8px;
  font-weight: 900;
  opacity: .9;
}

/* Hover */
@media (hover:hover){
  .eimr-location-page #specialisations .btn-mini-solid.npfWidgetButton:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0,0,0,.14) !important;
  }
  .eimr-location-page #specialisations a.btn-mini-outline:hover{
    transform: translateY(-1px);
    border-color: rgba(253,190,16,.7) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,.08) !important;
  }
}

/* Mobile: stack buttons full width */
@media (max-width: 768px){
  .eimr-location-page #specialisations .loc-card-cta{
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .eimr-location-page #specialisations .btn-mini-solid.npfWidgetButton,
  .eimr-location-page #specialisations a.btn-mini-outline{
    width: 100% !important;
  }
}

/* ===== Specialisation Button Alignment Fix ===== */

#specialisations .loc-card-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Reduce Enquire Now width */
#specialisations .btn-mini-solid {
  flex: 0 0 auto;      /* remove full width */
  padding: 10px 22px;  /* reduce size */
  font-size: 14px;
  min-width: 160px;    /* controlled width */
  border-radius: 30px;
}

/* Know More Button Proper Size */
#specialisations .btn-mini-outline {
  flex: 0 0 auto;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 30px;
  white-space: nowrap;
}

/* Make both buttons sit properly */
#specialisations .loc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  #specialisations .loc-card-cta {
    flex-direction: column;
    align-items: stretch;
  }

  #specialisations .btn-mini-solid,
  #specialisations .btn-mini-outline {
    width: 100%;
    text-align: center;
  }
}

/* ===============================
   SPECIALISATION BUTTON FIX (FINAL)
================================= */

#specialisations .loc-card-cta {
  display: flex !important;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

/* Override global button width */
#specialisations .loc-card-cta .btn-mini-solid,
#specialisations .loc-card-cta .npfWidgetButton {
  width: auto !important;
  min-width: 170px !important;
  padding: 12px 26px !important;
  font-size: 15px !important;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
}

/* Know More Button */
#specialisations .loc-card-cta .btn-mini-outline {
  width: auto !important;
  min-width: 130px !important;
  padding: 12px 22px !important;
  font-size: 14px !important;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  white-space: nowrap;
}

/* Ensure card layout behaves */
#specialisations .loc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* MOBILE FIX */
@media (max-width: 768px) {

  #specialisations .loc-card-cta {
    flex-direction: column !important;
    gap: 10px;
  }

  #specialisations .loc-card-cta .btn-mini-solid,
  #specialisations .loc-card-cta .btn-mini-outline {
    width: 100% !important;
  }
}



/* =========================================================
   BBA @ EIMR — Fix last row (8 cards in 3-col grid)
   Order:
   1 Certs, 2 Global, 3 Entre, 4 Exposure, 5 Bangalore,
   6 Industry Integration, 7 Seed, 8 Academic
========================================================= */

.eimr-location-page #bba-at-eimr .loc-cards{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

/* Base card polish (optional, keep if you like) */
.eimr-location-page #bba-at-eimr .loc-card{
  border-radius: 18px !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

/* ---------- KEY FIX: last two cards fill the last row ---------- */
/* 7) Seed Funding spans 2 columns */
.eimr-location-page #bba-at-eimr .loc-cards > .loc-card:nth-child(7){
  grid-column: 1 / span 2 !important;
}

/* 8) Academic & Career Security sits in column 3 */
.eimr-location-page #bba-at-eimr .loc-cards > .loc-card:nth-child(8){
  grid-column: 3 / span 1 !important;
}

/* Make Seed Funding look like a “highlight” */
.eimr-location-page #bba-at-eimr .loc-cards > .loc-card:nth-child(7){
  border-color: rgba(253,190,16,.22) !important;
  background: linear-gradient(180deg, rgba(253,190,16,.10), rgba(255,255,255,.06)) !important;
  position: relative;
}
.eimr-location-page #bba-at-eimr .loc-cards > .loc-card:nth-child(7)::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width: 4px;
  background: linear-gradient(180deg, #FDBE10, rgba(253,190,16,.18));
  border-radius: 18px 0 0 18px;
}

/* Tablet: 2-column grid (reset spans so it stays clean) */
@media (max-width: 1024px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .eimr-location-page #bba-at-eimr .loc-cards > .loc-card:nth-child(7),
  .eimr-location-page #bba-at-eimr .loc-cards > .loc-card:nth-child(8){
    grid-column: auto !important;
  }
}

/* Mobile: 1-column stack */
@media (max-width: 640px){
  .eimr-location-page #bba-at-eimr .loc-cards{
    grid-template-columns: 1fr !important;
  }
}



