/* Programme cards imported from file 2, scoped to the home page only. */
.programme-section{background:linear-gradient(180deg,#f8fbfe 0%,#fff 100%)}
.programme-showcase{width:min(1320px,calc(100% - 40px));margin:auto}
.programme-kicker{display:flex;align-items:center;justify-content:center;gap:18px;text-transform:uppercase;letter-spacing:.2em;color:#0b63b3;font-size:12px;margin-bottom:10px}
.programme-kicker span{width:48px;height:1px;background:#78a9d3}
.programme-heading.centered{max-width:760px;margin:0 auto 24px;text-align:center}
.programme-heading h2{font-size:clamp(42px,5vw,68px);letter-spacing:-.055em;color:#07162f;margin:0 0 14px}
.programme-heading h2 em{font-style:normal;color:#0b73d1}
.programme-heading p{font-size:17px;max-width:720px;margin:auto;color:#617086}
.programme-benefits{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:28px 0 38px}
.programme-benefits span{display:flex;align-items:center;min-height:43px;padding:0 18px;border-radius:999px;background:#edf5fc;color:#15223a;font-size:12px;font-weight:700;box-shadow:inset 0 1px 0 #fff}
.programme-card-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-items:stretch}
.programme-card-new{grid-column:span 3;min-width:0;background:#fff;border:1px solid rgba(214,229,241,.95);border-radius:24px;overflow:hidden;box-shadow:0 18px 48px rgba(17,55,91,.11);transition:transform .24s ease,box-shadow .24s ease;padding:0;text-align:left;font:inherit;cursor:pointer;color:inherit}
.programme-card-new:nth-child(-n+3){grid-column:span 4}
.programme-card-new:hover,.programme-card-new:focus-visible{transform:translateY(-8px);box-shadow:0 30px 78px rgba(17,55,91,.18);outline:none}
.programme-card-link-inner{display:flex;flex-direction:column;height:100%}
.programme-card-visual{position:relative;height:190px;background:#dbeaf4 center/cover no-repeat;overflow:visible}
.programme-card-new:nth-child(-n+3) .programme-card-visual{height:225px}
.programme-card-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(255,255,255,.24))}
.programme-icon{position:absolute;z-index:2;left:24px;bottom:-31px;width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0b73d1;box-shadow:0 12px 30px rgba(17,55,91,.17);font-size:28px;border:1px solid #eef5fb}
.programme-card-body{display:flex;flex-direction:column;flex:1;padding:45px 22px 22px}
.programme-card-body h3{color:#07162f;font-size:21px;line-height:1.12;letter-spacing:-.035em;margin:0 0 12px}
.programme-card-new:nth-child(-n+3) h3{font-size:28px}
.programme-card-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:15px}
.programme-card-meta span{background:#eff5fa;border-radius:999px;padding:6px 10px;color:#15223a;font-size:10px;font-weight:750;line-height:1}
.programme-card-meta i{width:1px;height:11px;background:#cad8e5}
.programme-card-body p{color:#617086;font-size:13px;line-height:1.5;margin:0 0 18px}
.programme-card-new:nth-child(-n+3) p{font-size:14px}
.programme-view{margin-top:auto;min-height:45px;border:1.5px solid #0b73d1;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:11px;color:#075fb7;font-weight:800;font-size:12px;transition:.2s}
.programme-card-new:first-child .programme-view,.programme-card-new:hover .programme-view,.programme-card-new:focus-visible .programme-view{background:linear-gradient(90deg,#0b7be4,#075fc4);color:#fff}
.programme-view b{font-size:18px}
.programme-card-md-en .programme-card-visual{background-image:url('../images/programmes/medical-doctor.svg')}
.programme-card-dental-en .programme-card-visual{background-image:url('../images/programmes/dental.svg')}
.programme-card-md-ru .programme-card-visual{background-image:url('../images/programmes/laboratory.svg')}
.programme-card-dental-ru .programme-card-visual{background-image:url('../images/programmes/dental-russian.svg')}
.programme-card-pharmacy-en .programme-card-visual{background-image:url('../images/programmes/pharmacy.svg')}
.programme-card-pmr-en .programme-card-visual{background-image:url('../images/programmes/rehabilitation.svg')}
.programme-card-usmd .programme-card-visual{background-image:url('../images/programmes/usmd.svg')}

/* Stable two-level admission guideline accordion. */
.guidelines-section{background:linear-gradient(180deg,#f2f9fc,#fff)}
.instruction-frame{border:2px solid #d9e8f2;border-radius:26px;background:#fff;box-shadow:0 18px 52px rgba(15,62,94,.10);overflow:hidden}
.instruction-master{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px;border:0;background:#fff;text-align:left;cursor:pointer}
.instruction-master span{display:block}
.instruction-master small{display:block;color:#0a77a0;text-transform:uppercase;letter-spacing:.12em;font-weight:800;margin-bottom:5px}
.instruction-master strong{display:block;font-size:clamp(25px,3vw,38px);color:#103a56;letter-spacing:-.03em}
.instruction-master b{width:48px;height:48px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:#e9f5fb;color:#0b7298;font-size:26px}
.guideline-steps{display:grid;gap:12px;max-height:0;overflow:hidden;opacity:0;padding:0 28px;transition:max-height .5s ease,opacity .3s ease,padding .35s ease}
.guideline-steps.open{max-height:2200px;opacity:1;padding:0 28px 30px}
.guideline-step{border:1px solid #dceaf1;border-radius:17px;background:#f9fcfe;overflow:hidden}
.guideline-step-button{width:100%;display:grid;grid-template-columns:54px 1fr 38px;gap:14px;align-items:center;padding:16px 18px;border:0;background:transparent;text-align:left;cursor:pointer}
.guideline-step-number{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#e4f3f9;color:#0a7299;font-weight:900}
.guideline-step-button h3{margin:0;color:#153b55;font-size:17px}
.guideline-step-button p{margin:3px 0 0;color:#71828e;font-size:12px}
.guideline-step-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #d6e6ee;color:#0a7299;font-size:20px;font-weight:700}
.guideline-step-content{max-height:0;overflow:hidden;opacity:0;padding:0 22px 0 86px;transition:max-height .4s ease,opacity .25s ease,padding .3s ease}
.guideline-step.open .guideline-step-content{max-height:420px;opacity:1;padding:0 22px 20px 86px}
.guideline-step-content p{margin:0;color:#536d7d;line-height:1.7;font-size:14px}
.guideline-step-content ul{margin:12px 0 0;padding-left:18px;color:#536d7d;font-size:13px;line-height:1.65}
@media(max-width:1050px){.programme-card-new,.programme-card-new:nth-child(-n+3){grid-column:span 6}}
@media(max-width:650px){.programme-showcase{width:min(100% - 24px,1320px)}.programme-card-new,.programme-card-new:nth-child(-n+3){grid-column:1/-1}.programme-card-visual,.programme-card-new:nth-child(-n+3) .programme-card-visual{height:190px}.programme-card-body h3,.programme-card-new:nth-child(-n+3) h3{font-size:24px}.programme-benefits{justify-content:flex-start;flex-wrap:nowrap;overflow:auto;padding-bottom:6px}.programme-benefits span{white-space:nowrap}.instruction-master{padding:22px 18px}.guideline-steps.open{padding:0 14px 20px}.guideline-step-button{grid-template-columns:48px 1fr 32px;padding:14px}.guideline-step-content,.guideline-step.open .guideline-step-content{padding-left:18px;padding-right:18px}.guideline-step.open .guideline-step-content{padding-bottom:18px}}

/* v1.9 functional and colour corrections. */
.floating-apply,
.apply-nav,
.hero-actions .button-primary {
  background: linear-gradient(135deg, #1689ee 0%, #075fc4 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 16px 40px rgba(7, 95, 196, .30) !important;
}
.floating-apply:hover,
.apply-nav:hover,
.hero-actions .button-primary:hover {
  background: linear-gradient(135deg, #0f76d4 0%, #064fa5 100%) !important;
}
.guideline-steps[hidden],
.guideline-step-content[hidden] {
  display: none !important;
}
.guideline-steps.open {
  display: grid;
  max-height: none;
  overflow: visible;
  opacity: 1;
}
.guideline-step.open .guideline-step-content {
  display: block;
  max-height: none;
  overflow: visible;
  opacity: 1;
}
.programme-card-new { position: relative; z-index: 1; }
.programme-card-link-inner { pointer-events: none; }
.programme-card-new:focus-visible { outline: 3px solid rgba(22, 137, 238, .35); outline-offset: 4px; }
