:root {
  --mala-blue: #095DA5; --mala-navy: #095DA5; --mala-coral: #F76B3C;
  --mala-yellow: #FFB928; --mala-green: #64835F; --mala-pink: #FFF0E8; --mala-sand: #FAF7F2;
  --mala-sky: #EAF4FB; --mala-paper: #FFF6DE; --mala-radius: 28px;
  --mala-font: "Poppins", "Trebuchet MS", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--mala-navy); background: var(--mala-paper); font: 400 17px/1.65 var(--mala-font); }
h1,h2,h3 { line-height: 1.15; letter-spacing: -.035em; color: var(--mala-navy); text-wrap: balance; }
h1,.mala-home h1,.mala-page h1,.editor-styles-wrapper h1 { font-size: clamp(2rem,3.7vw,3.4rem); font-weight: 800; }
h2,.mala-home h2,.mala-page h2,.editor-styles-wrapper h2 { font-size: clamp(1.6rem,2.6vw,2.4rem); }
h3 { font-size: clamp(1.2rem,2vw,1.5rem); }
p { margin-block: 0 1.15em; }
a { color: var(--mala-blue); text-underline-offset: .2em; }
button,a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible,button:focus-visible,[tabindex]:focus-visible { outline: 3px solid var(--mala-navy); outline-offset: 5px; }
[hidden] { display: none !important; }
[aria-disabled="true"] { cursor: not-allowed; }
img { max-width: 100%; height: auto; }
.wp-site-blocks > * { margin-block-start: 0; }
.mala-header { max-width: 1440px; margin: auto; padding: 22px 30px; display: flex; align-items: center; gap: 24px; background: white; }
.mala-brand { flex: 0 0 180px; line-height: 0; }
.mala-brand img { width: 180px; }
.mala-nav { margin-left: auto; }
.mala-nav ul,.mala-footer ul { display: flex; list-style: none; padding: 0; margin: 0; gap: 16px; flex-wrap: wrap; }
.mala-nav a,.mala-nav span { font-size: 13px; font-weight: 700; text-decoration: none; display: block; padding: 9px 0; }
.mala-nav a[aria-current="page"] { box-shadow: 0 3px var(--mala-blue); }
.mala-nav a:hover,.mala-footer a:hover { text-decoration: underline; }
.mala-language { display: flex; gap: 10px; font-size: 14px; white-space: nowrap; }
.mala-language [aria-current] { font-weight: 800; }
.mala-button,.wp-block-button__link { background: var(--mala-yellow); color: var(--mala-navy); border: 2px solid transparent; border-radius: 999px; padding: 13px 24px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 20px; line-height: 1.35; text-align: center; }
.mala-header > .mala-button { font-size: 14px; padding: 12px 18px; white-space: nowrap; }
.mala-button:hover,.wp-block-button__link:hover { background: var(--mala-navy); color: white; }
.is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--mala-blue); color: var(--mala-navy); }
.is-style-outline .wp-block-button__link:hover { background: var(--mala-navy); color: white; }
.mala-menu-toggle { display: none; border: 1px solid var(--mala-navy); background: white; border-radius: 12px; padding: 9px 12px; }
.mala-skip { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 12px; background: white; }
.mala-skip:focus { top: 12px; }
.mala-home { max-width: 1380px; margin: auto; padding: 0 30px; }
.mala-home .mala-section { margin: 22px 0; padding: clamp(24px,3vw,40px); border-radius: var(--mala-radius); background: white; }
.mala-section > :first-child { margin-top: 0; }
.mala-section > :last-child { margin-bottom: 0; }
.mala-home .mala-hero { background: var(--mala-sand); margin-top: 0; padding: 0; overflow: hidden; }
.mala-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,56px); align-items: center; }
.mala-columns > * { min-width: 0; }
.mala-hero .mala-columns { gap: 0; }
.mala-hero .mala-copy { padding: clamp(24px,3vw,40px); }
.mala-hero .mala-copy + .mala-copy { padding: 0; }
.mala-hero .mala-placeholder { min-height: 360px; border-radius: 0; border: 0; background: #FFF0E8; }
.mala-eyebrow { text-transform: uppercase; font-size: 13px; letter-spacing: .14em; font-weight: 800; color: var(--mala-blue); margin-bottom: 12px; }
.mala-lead { font-size: clamp(1.1rem,2vw,1.5rem); line-height: 1.45; }
.mala-home .mala-funding { background: var(--mala-sky); border-left: 8px solid var(--mala-green); }
.mala-funding .mala-columns { grid-template-columns: 1.5fr 1fr; }
.mala-home .mala-benefits { background: transparent; padding: 12px 0; }
.mala-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 22px; }
.mala-benefit { border-radius: 22px; background: white; padding: 28px; display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; }
.mala-benefit::before { content: ""; width: 48px; height: 48px; background-color: var(--mala-sand); border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 30px; grid-row: span 2; }
.mala-icon-attention::before { background-image: url("../icons/attention.svg"); }
.mala-icon-calendar::before { background-image: url("../icons/calendar.svg"); }
.mala-icon-child::before { background-image: url("../icons/child.svg"); }
.mala-icon-meals::before { background-image: url("../icons/meals.svg"); }
.mala-benefit h3 { margin: 0 0 10px; }
.mala-benefit p { margin: 0; }
.mala-home .mala-international { background: var(--mala-sky); }
.mala-home .mala-programme { background: #EAF4FB; }
.mala-placeholder { border: 2px dashed #8b9b9c; border-radius: 22px; background: var(--mala-sand); padding: 30px; min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--mala-navy); font-size: 15px; }
.mala-placeholder p { max-width: 27ch; margin: 0; }
.mala-todo { border-left: 4px solid var(--mala-coral); padding: 12px 18px; background: #FFF0E8; font-size: 15px; }
.mala-tabs { display: flex; justify-content: center; gap: 10px; margin: 24px 0 32px; }
.mala-tabs button { border: 1px solid var(--mala-blue); border-radius: 999px; padding: 14px 24px; background: white; color: var(--mala-navy); cursor: pointer; }
.mala-tabs [aria-selected="true"] { background: var(--mala-yellow); border-color: var(--mala-yellow); font-weight: 700; }
.mala-audiences > h2,.mala-gallery > h2,.mala-gallery > .mala-eyebrow,.mala-reviews > h2,.mala-reviews > .mala-eyebrow { text-align: center; }
.mala-audience-panel + .mala-audience-panel { margin-top: 30px; }
.mala-audience-panel h3 { margin-bottom: 10px; }
.mala-audience-panel .mala-feature-title { font-weight: 800; margin: 24px 0 8px; }
.mala-mosaic { display: grid !important; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; margin: 30px 0; }
.mala-mosaic > :first-child { grid-row: span 2; }
.mala-mosaic .mala-placeholder { min-height: 185px; }
.mala-mosaic > :first-child { min-height: 388px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.mala-gallery .wp-block-buttons { justify-content: center; }
.mala-home .mala-reviews { background: var(--mala-pink); }
.mala-home .mala-visit { background: var(--mala-sky); }
.mala-page { max-width: 1260px; min-height: 55vh; padding: 24px 24px; margin: auto; }
.mala-page h1 { margin-top: 0; }
.mala-footer { max-width: 1320px; margin: 60px auto 0; padding: 45px 30px 25px; border-top: 1px solid var(--mala-sand); display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 30px; align-items: start; }
.mala-footer p { font-size: 14px; }
.mala-footer nav { font-size: 14px; }
.mala-footer-note { grid-column: 1 / -1; }
.mala-preview-banner { padding: 10px 24px; background: var(--mala-navy); color: white; font: 13px/1.5 Arial,sans-serif; text-align: center; }
.editor-styles-wrapper .mala-audience-panel { display: block; }
.editor-styles-wrapper .mala-section { margin-block: 24px; padding: 30px; border: 1px solid var(--mala-sand); border-radius: 24px; }
@media (max-width: 1100px) {
  .mala-header { flex-wrap: wrap; gap: 18px; }
  .mala-brand { margin-right: auto; }
  .mala-nav { order: 5; width: 100%; margin: 0; }
  .mala-nav ul { justify-content: center; }
  .mala-js .mala-menu-toggle { display: block; }
  .mala-js .mala-menu-toggle[aria-expanded="false"] ~ .mala-nav { display: none; }
  .mala-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .mala-header { padding: 18px; gap: 12px; }
  .mala-brand,.mala-brand img { width: 148px; flex-basis: 148px; }
  .mala-header > .mala-button { order: 4; margin-left: auto; }
  .mala-nav ul { flex-direction: column; gap: 4px; }
  .mala-nav a,.mala-nav span { padding: 12px 8px; font-size: 16px; }
  .mala-home { padding: 0 14px; }
  .mala-columns,.mala-funding .mala-columns,.mala-grid { grid-template-columns: 1fr; }
  .mala-hero .mala-placeholder { min-height: 260px; }
  .mala-home .mala-section { margin-block: 18px; }
  .mala-benefit { padding: 22px; }
  .mala-tabs { flex-direction: column; }
  .mala-mosaic { grid-template-columns: 1fr 1fr; }
  .mala-mosaic > :first-child { grid-column: 1 / -1; grid-row: auto; min-height: 220px; }
  .mala-mosaic .mala-placeholder { padding: 16px; font-size: 13px; }
  .mala-footer { grid-template-columns: 1fr; margin-top: 30px; padding-inline: 24px; }
  .mala-footer-note { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Admissions / Vpis. Native blocks outside the protected fee widget. */
.mala-admissions > * { margin-block: 20px; }
.mala-admissions > :first-child { margin-top: 0; }
.mala-admissions .mala-section { padding: clamp(22px,3vw,36px); border-radius: 24px; background: white; }
.mala-admissions h1,.mala-admissions h2,.mala-admissions h3 { margin-top: 0; margin-bottom: .6em; }
.mala-admissions .mala-hero { padding: 0; overflow: hidden; background: var(--mala-sand); }
.mala-admissions .mala-hero .mala-columns { gap: 0; }
.mala-admissions .mala-hero .mala-placeholder { min-height: 350px; }
.mala-admissions .mala-hero .mala-lead { font-size: 1.1rem; }
.mala-admissions .mala-fees,.mala-admissions .mala-extras { background: var(--mala-sky); }
.mala-calculator { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: 28px; }
.mala-calculator label { display: block; font-weight: 700; margin: 12px 0 7px; }
.mala-calculator select { width: 100%; padding: 13px 36px 13px 12px; min-height: 48px; background: white; border: 1px solid var(--mala-blue); border-radius: 12px; font: inherit; color: var(--mala-navy); }
.mala-calculator select:focus-visible,.mala-admissions summary:focus-visible { outline: 3px solid var(--mala-navy); outline-offset: 4px; }
.mala-result-card { padding: 18px 22px; margin-top: 20px; background: white; border: 2px solid var(--mala-blue); border-radius: 20px; }
.mala-result-card p { margin-bottom: 0; }
.mala-fee-output { display: block; font-size: clamp(2.1rem,4vw,3.1rem); font-weight: 800; line-height: 1.3; margin: 6px 0; }
.mala-full-fee { margin: 18px 0 10px; }
.mala-fee-note { font-size: .875rem; }
.mala-price-table-wrap { max-width: 100%; overflow-x: auto; border-radius: 16px; background: white; padding: 12px; }
.mala-price-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.4; }
.mala-price-table caption { text-align: left; font-weight: 700; padding: 4px 4px 14px; }
.mala-price-table caption span { display: block; font-weight: 400; font-size: .85rem; margin-top: 4px; }
.mala-price-table th,.mala-price-table td { padding: 9px 8px; border-bottom: 1px solid #EAF4FB; text-align: center; }
.mala-price-table thead { background: var(--mala-sand); }
.mala-price-table tbody tr:nth-child(even) { background: #EAF4FB; }
.mala-price-table tbody tr.is-selected { background: #EAF4FB; }
.mala-price-table td.is-selected { font-weight: 800; box-shadow: inset 0 0 0 2px var(--mala-blue); }
.mala-support-card { padding: 26px; border-radius: 22px; background: #EAF4FB; }
.mala-support-card:first-child { background: #FFF6DE; }
.mala-support-card h2 { font-size: 1.5rem; }
.mala-extra-grid,.mala-steps { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.mala-extra-card { text-align: center; background: white; border-radius: 18px; padding: 24px 12px; }
.mala-extra-card h3 { font-size: 1.15rem; }
.mala-extra-card .mala-price { font-size: 1.75rem; font-weight: 800; margin: 8px 0 0; }
.mala-step { background: #FAF7F2; border-radius: 18px; padding: 22px 18px; }
.mala-step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mala-yellow); font-weight: 800; margin-bottom: 16px; }
.mala-step h3 { font-size: 1.15rem; }
.mala-step p:last-child { font-size: .95rem; margin-bottom: 0; }
.mala-admissions .mala-deposit { background: var(--mala-pink); }
.mala-admissions .mala-bottom { align-items: start; gap: 22px; }
.mala-admissions .mala-faq { background: #FFF6DE; }
.mala-admissions details { border-bottom: 1px solid #d5cebd; padding: 14px 0; }
.mala-admissions summary { cursor: pointer; font-weight: 700; line-height: 1.5; }
.mala-admissions details p { margin: 12px 0 2px; font-size: .95rem; }
.mala-admissions .mala-visit { background: var(--mala-pink); }
.mala-admissions .mala-visit .mala-placeholder { min-height: 190px; margin: 20px 0; }
.mala-editor-note { margin-top: 18px; font-size: .85rem; }
@media (max-width: 850px) {
  .mala-calculator { grid-template-columns: 1fr; }
  .mala-extra-grid,.mala-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .mala-page { padding: 18px 14px; }
  .mala-admissions .mala-hero .mala-placeholder { min-height: 220px; }
  .mala-price-table-wrap { padding: 7px; }
  .mala-price-table { font-size: .8rem; }
  .mala-price-table th,.mala-price-table td { padding: 8px 4px; }
}
@media (max-width: 380px) {
  .mala-extra-grid,.mala-steps { grid-template-columns: 1fr; }
}

.mala-footer--compact { grid-template-columns: 1fr 1.5fr; }
@media (max-width: 700px) { .mala-footer--compact { grid-template-columns: 1fr; } }
