.mba-all-spec-card{text-decoration:none;color:inherit;overflow:hidden}.mba-all-spec-img{height:210px;overflow:hidden}.mba-all-spec-img img{width:100%;height:100%;object-fit:cover;transition:.35s}.mba-all-spec-card:hover .mba-all-spec-img img{transform:scale(1.04)}.mba-spec-counts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.mba-spec-counts span{font-size:12px;font-weight:650;background:#eef3ff;border:1px solid #dbe5ff;color:#3156c0;padding:6px 8px;border-radius:999px}.mba-all-spec-card b{font-size:13px;color:#315eea}
.mba-spec-search{display:flex;align-items:center;gap:10px;padding:12px 14px;margin:0 0 24px;border:1px solid #dde5f2;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(18,39,72,.06)}
.mba-spec-search-copy{flex:0 0 225px}
.mba-spec-search-copy small,.mba-spec-search-copy strong{display:block}
.mba-spec-search-copy small{font-size:8px;font-weight:550;letter-spacing:.1em;color:#71809a}
.mba-spec-search-copy strong{margin-top:3px;font-size:13px;color:#19375f}
.mba-spec-search-control{flex:1;min-width:0}
.mba-spec-search-control select{width:100%;height:46px;padding:0 12px;border:1px solid #dce4ef;border-radius:11px;background:#f9fbff;color:#263d5d;font-size:12px;font-weight:700;outline:0}
.mba-spec-search-control select:focus{border-color:#7e99ea;box-shadow:0 0 0 3px rgba(67,98,210,.09)}
.mba-spec-search-clear{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#f0f3f8;color:#738095;text-decoration:none;font-size:18px}
.mba-spec-search-btn{flex:0 0 auto;height:46px;padding:0 10px 0 15px;border:0;border-radius:11px;background:linear-gradient(135deg,#174184,#315eea);color:#fff;display:flex;align-items:center;gap:11px;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(42,78,177,.17)}
.mba-spec-search-btn b{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.13)}

.mba-spec-result-head{display:flex;justify-content:space-between;align-items:end;margin:4px 0 16px}
.mba-spec-result-head h2{margin:4px 0 3px;color:#18365f;font-size:24px}
.mba-spec-result-head p{margin:0;color:#76849a;font-size:11px}
.mba-spec-university-results{margin-bottom:24px}
.mba-spec-university-card{overflow:hidden;display:flex;flex-direction:column}
.mba-spec-university-img{position:relative;height:180px;overflow:hidden;background:#eef2f7}
.mba-spec-university-img img{width:100%;height:100%;object-fit:cover}
.mba-spec-university-img>span{position:absolute;top:10px;right:10px;padding:6px 8px;border-radius:999px;background:#fff;color:#425fbd;font-size:8px;font-weight:900}
.mba-spec-university-body{display:flex;flex-direction:column;flex:1}
.mba-spec-university-body h3{margin:5px 0 5px;color:#19365e}
.mba-spec-university-location{color:#7f8b9c;font-size:10px;margin-bottom:10px}
.mba-spec-uni-info{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:4px 0 10px}
.mba-spec-uni-info>div{padding:9px;border:1px solid #e3e9f2;border-radius:10px;background:#fafbfd}
.mba-spec-uni-info small,.mba-spec-uni-info strong{display:block}
.mba-spec-uni-info small{font-size:7px;font-weight:900;color:#8491a3;letter-spacing:.07em;margin-bottom:3px}
.mba-spec-uni-info strong{font-size:9px;line-height:1.45;color:#42546e}
.mba-spec-result-meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:9px}
.mba-spec-result-meta span{padding:5px 7px;border-radius:999px;background:#eef3ff;border:1px solid #dce5ff;color:#3158be;font-size:8px;font-weight:850}
.mba-spec-course-names{font-size:9px;line-height:1.5;color:#65758c;margin:0 0 11px}
.mba-spec-university-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto}
.mba-spec-university-actions a{min-height:38px;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 8px;border-radius:9px;text-decoration:none;font-size:9px;font-weight:650}
.mba-spec-university-actions a:first-child{background:#173d79;color:#fff}
.mba-spec-university-actions a:last-child{background:#eef3ff;border:1px solid #dce5ff;color:#3159bd}
.mba-spec-no-result{padding:18px;border:1px dashed #d9e2ee;border-radius:13px;background:#fafbfd;color:#65758a;font-size:11px;text-align:center;margin-bottom:22px}
.mba-spec-results-divider{height:1px;background:#e9edf4;margin:4px 0 26px}

@media(max-width:760px){
  .mba-spec-search{flex-wrap:wrap}
  .mba-spec-search-copy{flex:1 1 100%}
  .mba-spec-search-control{flex:1 1 calc(100% - 110px)}
  .mba-spec-search-btn{flex:0 0 auto}
}
@media(max-width:520px){
  .mba-spec-search-control{flex:1 1 100%}
  .mba-spec-search-btn{width:100%;justify-content:space-between}
  .mba-spec-search-clear{position:absolute;right:30px;margin-top:-62px}
  .mba-spec-uni-info{grid-template-columns:1fr}
  .mba-spec-university-actions{grid-template-columns:1fr 1fr}
}


/* =========================================================
   MBAXPERT PREMIUM + READABLE SPECIALIZATIONS PAGE
   Visual/readability upgrade only. Search logic unchanged.
   ========================================================= */

/* Entire page readability */
.mba-all-specs .card-body{padding:18px!important}
.mba-all-specs .card-body .eyebrow{font-size:11px!important;line-height:1.4!important;letter-spacing:.08em!important}
.mba-all-specs .card-body h3{font-size:17px!important;line-height:1.35!important;margin:7px 0 8px!important;color:#18365f!important}
.mba-all-specs .card-body p{font-size:14px!important;line-height:1.65!important;color:#66778e!important}
.mba-all-specs .card{border-radius:18px!important;overflow:hidden!important;border:1px solid #dfe6f0!important;box-shadow:0 10px 28px rgba(20,40,74,.06)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
.mba-all-specs .card:hover{transform:translateY(-4px);border-color:#cad7ec!important;box-shadow:0 18px 38px rgba(20,40,74,.11)!important}

/* Premium search panel */
.mba-spec-search{
  padding:16px!important;
  margin:0 0 28px!important;
  border:1px solid #dce5f1!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#fff,#f8faff)!important;
  box-shadow:0 14px 36px rgba(19,40,76,.075)!important;
}
.mba-spec-search-copy{flex-basis:255px!important}
.mba-spec-search-copy small{font-size:11px!important;line-height:1.4!important;letter-spacing:.09em!important}
.mba-spec-search-copy strong{font-size:15px!important;line-height:1.35!important;margin-top:4px!important}
.mba-spec-search-control select{
  height:52px!important;
  padding:0 14px!important;
  border-radius:13px!important;
  font-size:13px!important;
  line-height:1.4!important;
  color:#203b60!important;
  background:#fbfcff!important;
}
.mba-spec-search-btn{
  height:52px!important;
  padding:0 12px 0 18px!important;
  border-radius:13px!important;
  font-size:14px!important;
  box-shadow:0 9px 22px rgba(42,78,177,.18)!important;
}
.mba-spec-search-btn b{width:30px!important;height:30px!important;font-size:15px!important}
.mba-spec-search-clear{width:38px!important;height:38px!important;flex-basis:38px!important;font-size:21px!important}

/* Result title */
.mba-spec-result-head{
  margin:8px 0 18px!important;
  padding:16px 18px;
  border:1px solid #e0e7f1;
  border-radius:16px;
  background:linear-gradient(135deg,#f9fbff,#fff);
}
.mba-spec-result-head .eyebrow{font-size:11px!important;letter-spacing:.09em!important}
.mba-spec-result-head h2{font-size:28px!important;line-height:1.25!important;margin:5px 0!important}
.mba-spec-result-head p{font-size:14px!important;line-height:1.6!important;color:#6d7d93!important}

/* University result cards */
.mba-spec-university-results{gap:18px!important;margin-bottom:30px!important;align-items:stretch}
.mba-spec-university-card{
  display:flex!important;
  flex-direction:column!important;
  height:100%;
  border:1px solid #dfe6f0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 12px 31px rgba(18,39,72,.07)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.mba-spec-university-card:hover{
  transform:translateY(-4px);
  border-color:#cbd8ed!important;
  box-shadow:0 20px 43px rgba(18,39,72,.12)!important;
}
.mba-spec-university-img{height:195px!important}
.mba-spec-university-img>span{font-size:10px!important;padding:7px 10px!important}
.mba-spec-university-body{padding:18px!important}
.mba-spec-university-body>.eyebrow{font-size:12px!important;line-height:1.4!important}
.mba-spec-university-body h3{
  font-size:20px!important;
  line-height:1.35!important;
  margin:7px 0!important;
  color:#17365f!important;
}
.mba-spec-university-location{
  font-size:13px!important;
  line-height:1.5!important;
  margin-bottom:13px!important;
  color:#748398!important;
}

/* Ranking and accreditation */
.mba-spec-uni-info{gap:9px!important;margin:5px 0 13px!important}
.mba-spec-uni-info>div{padding:12px!important;border-radius:12px!important}
.mba-spec-uni-info small{
  font-size:10px!important;
  line-height:1.35!important;
  margin-bottom:5px!important;
}
.mba-spec-uni-info strong{
  font-size:11px!important;
  line-height:1.55!important;
  color:#354c6c!important;
}

/* Matching course / fee pills */
.mba-spec-result-meta{gap:8px!important;margin-bottom:12px!important}
.mba-spec-result-meta span{
  padding:7px 9px!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight: 650;
}

/* Matching course names */
.mba-spec-course-names{
  font-size:13px!important;
  line-height:1.65!important;
  color:#5f718a!important;
  margin:0 0 14px!important;
}
.mba-spec-course-names b{color:#263f62!important}

/* Result card actions: aligned in one line */
.mba-spec-university-actions{
  grid-template-columns:1fr 1fr!important;
  gap:9px!important;
  margin-top:auto!important;
}
.mba-spec-university-actions a{
  min-height:46px!important;
  padding:0 10px!important;
  border-radius:11px!important;
  font-size:14px!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}

/* Empty state */
.mba-spec-no-result{
  padding:22px!important;
  border-radius:15px!important;
  font-size:14px!important;
  line-height:1.6!important;
}

/* Responsive readability */
@media(max-width:900px){
  .mba-spec-search-copy{flex-basis:210px!important}
  .mba-spec-university-body h3{font-size:19px!important}
  .mba-spec-uni-info strong{font-size:12.5px!important}
}
@media(max-width:760px){
  .mba-spec-search{gap:12px!important;padding:15px!important}
  .mba-spec-search-copy{flex:1 1 100%!important}
  .mba-spec-search-copy strong{font-size:17px!important}
  .mba-spec-search-control{flex:1 1 calc(100% - 150px)!important}
  .mba-spec-result-head h2{font-size:24px!important}
  .mba-spec-result-head p{font-size:13px!important}
}
@media(max-width:620px){
  .mba-spec-search-control{flex:1 1 100%!important}
  .mba-spec-search-control select{height:50px!important;font-size:14px!important}
  .mba-spec-search-btn{width:100%!important;justify-content:space-between!important;font-size:14px!important}
  .mba-spec-result-head{padding:14px!important}
  .mba-spec-result-head h2{font-size:22px!important}
  .mba-spec-university-img{height:205px!important}
  .mba-spec-university-body{padding:16px!important}
  .mba-spec-university-body h3{font-size:19px!important}
  .mba-spec-university-location{font-size:13px!important}
  .mba-spec-uni-info{grid-template-columns:1fr!important}
  .mba-spec-uni-info small{font-size:10px!important}
  .mba-spec-uni-info strong{font-size:13px!important}
  .mba-spec-course-names{font-size:13px!important}
  .mba-spec-university-actions{grid-template-columns:1fr 1fr!important}
  .mba-spec-university-actions a{font-size:11.5px!important;min-height:45px!important}
  .mba-all-specs .card-body h3{font-size:18px!important}
  .mba-all-specs .card-body p{font-size:13.5px!important}
}
@media(max-width:390px){
  .mba-spec-university-actions{gap:7px!important}
  .mba-spec-university-actions a{font-size:11px!important;padding:0 7px!important}
  .mba-spec-result-meta span{font-size:10.5px!important}
  .mba-spec-result-head h2{font-size:21px!important}
}


/* =========================================================
   PREMIUM HERO — aligned with universities.php visual language
   ========================================================= */
.premium-specializations-page{
  background:
    radial-gradient(circle at 7% 3%,rgba(78,112,232,.07),transparent 24%),
    linear-gradient(180deg,#f8faff 0,#fff 26%,#fff 100%);
  padding-top:30px!important;
}
.premium-spec-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:29px 31px;
  margin-bottom:18px;
  border-radius:24px;
  background:
    radial-gradient(circle at 87% 8%,rgba(110,132,255,.27),transparent 31%),
    linear-gradient(135deg,#071a36,#123c78);
  box-shadow:0 21px 55px rgba(10,31,67,.16);
  color:#fff;
}
.premium-spec-hero:after{
  content:"";
  position:absolute;
  right:-78px;
  bottom:-112px;
  width:260px;
  height:260px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    0 0 0 36px rgba(255,255,255,.025),
    0 0 0 72px rgba(255,255,255,.018);
}
.premium-spec-hero-copy{
  position:relative;
  z-index:2;
  max-width:820px;
}
.premium-spec-kicker{
  display:inline-block;
  color:#a8bfff;
  font-size:11px;
  line-height:1.4;
  letter-spacing:.14em;
  font-weight:950;
}
.premium-spec-hero h1{
  margin:7px 0 8px;
  font-size:35px;
  line-height:1.16;
  letter-spacing:-.025em;
}
.premium-spec-hero p{
  margin:0;
  max-width:760px;
  color:#c8d5e8;
  font-size:15px;
  line-height:1.65;
}
.premium-spec-hero-stats{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:17px;
}
.premium-spec-hero-stats span{
  min-width:112px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:11px;
  background:rgba(255,255,255,.07);
}
.premium-spec-hero-stats b,
.premium-spec-hero-stats small{display:block}
.premium-spec-hero-stats b{font-size:14px}
.premium-spec-hero-stats small{
  margin-top:2px;
  color:#b9c8dc;
  font-size:11px;
}
.premium-spec-hero-mark{
  position:relative;
  z-index:2;
  flex:0 0 175px;
  min-height:152px;
  padding:20px 15px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:21px;
  background:rgba(255,255,255,.07);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.premium-spec-hero-mark>span{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.10);
  color:#b7c9ff;
  font-size:23px;
}
.premium-spec-hero-mark strong{
  margin-top:9px;
  font-size:13px;
  line-height:1.35;
}
.premium-spec-hero-mark small{
  margin-top:4px;
  color:#b9c9dd;
  font-size:9px;
}

/* =========================================================
   UNIVERSITY LOGO ON SPECIALIZATION SEARCH RESULTS
   ========================================================= */
.mba-spec-university-img{
  position:relative!important;
  overflow:visible!important;
  margin-bottom:0!important;
}
.mba-spec-university-img>img:first-child{
  border-radius:0!important;
}
.mba-spec-university-logo{
  position:absolute;
  left:16px;
  bottom:-27px;
  width:64px;
  height:64px;
  padding:7px;
  border-radius:16px;
  background:#fff;
  border:1px solid #dfe6f0;
  box-shadow:0 9px 22px rgba(12,30,62,.15);
  display:grid;
  place-items:center;
  z-index:5;
}
.mba-spec-university-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  border-radius:9px!important;
}
.mba-spec-university-body{
  padding-top:36px!important;
}

/* Search panel refined to sit directly under hero */
.mba-spec-search{
  margin-top:0!important;
}

/* Responsive */
@media(max-width:760px){
  .premium-spec-hero{
    padding:22px 18px;
    border-radius:18px;
  }
  .premium-spec-hero h1{
    font-size:28px;
  }
  .premium-spec-hero p{
    font-size:14px;
  }
  .premium-spec-hero-mark{
    display:none;
  }
}
@media(max-width:620px){
  .premium-specializations-page{
    padding-top:18px!important;
  }
  .premium-spec-hero{
    padding:20px 17px;
  }
  .premium-spec-hero h1{
    font-size:25px;
  }
  .premium-spec-hero p{
    font-size:13.5px;
  }
  .premium-spec-hero-stats span{
    flex:1;
    min-width:90px;
  }
  .mba-spec-university-logo{
    left:14px;
    width:60px;
    height:60px;
    bottom:-25px;
  }
  .mba-spec-university-body{
    padding-top:34px!important;
  }
}

/* Safe fallback only for a missing/broken specialization image */
.mba-all-spec-img{background:linear-gradient(135deg,#123c78,#315eea)}
.mba-all-spec-img.mba-spec-image-fallback{display:grid;place-items:center}
.mba-spec-image-placeholder,
.mba-all-spec-img.mba-spec-image-fallback:after{
  width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;color:#fff;padding:24px;background:
  radial-gradient(circle at 25% 20%,rgba(255,255,255,.16),transparent 24%),
  linear-gradient(135deg,#123c78,#315eea)
}
.mba-all-spec-img.mba-spec-image-fallback:after{content:"MBA Specialization";font-size:18px;font-weight:850}
.mba-spec-image-placeholder span{font-size:32px;margin-bottom:10px}
.mba-spec-image-placeholder strong{font-size:18px;line-height:1.35}
