/* Local visual review: common edges and spacing; approved copy and Poppins retained. */
/* Heading-only refinement: real SemiBold, looser tracking and room for Slovenian accents. */
body main :is(h1,h2,h3){font-weight:600!important;font-synthesis:none;letter-spacing:-.01em}
body main h1{letter-spacing:-.015em!important;line-height:1.14!important}
body main h2{letter-spacing:-.01em!important}
body main h3{letter-spacing:0!important}
body .mala-home .ma-hero-copy h1{font-weight:600!important;letter-spacing:-.015em!important;line-height:1.14!important}
@media(max-width:360px){body .mala-contact-page .mc-contact-intro .mc-cards{grid-template-columns:1fr}}
/* The current menu keeps its primary button; archive items are secondary text links. */
body .mala-parents-page .pr-menu-history{border-top:1px solid #ddd8c9;margin-top:18px;padding-top:12px}
body .mala-parents-page .pr-menu-history h3{font-size:16px;line-height:1.4;font-weight:600;color:#095DA5;margin:0 0 4px}
body .mala-parents-page .pr-menu-history > p,
body .mala-parents-page .pr-menu-history .mala-menus > p{font-size:13px;line-height:1.5;color:#095DA5;margin:0 0 8px}
body .mala-parents-page .pr-menu-history .ma-menu-list{display:grid;gap:6px;list-style:none;margin:0;padding:0}
body .mala-parents-page .pr-menu-history .ma-menu-list li{margin:0;padding:0}
body .mala-parents-page .pr-menu-history .ma-menu-list a{display:inline-block;background:transparent!important;color:#095DA5!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:5px 0!important;min-height:0!important;font-size:14px!important;font-weight:400!important;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
body .mala-parents-page .pr-menu-history .ma-menu-list a:hover{color:#095DA5!important}
body .mala-parents-page .pr-menu-history .ma-menu-list a:focus-visible{outline:2px solid #095DA5;outline-offset:3px}
body .ma-home-sections{max-width:1320px;margin-inline:auto}
/* International introduction has text only, so it must not reserve an empty image column. */
body .ma-home-sections #international-environment .mala-columns{display:block;grid-template-columns:1fr}
body .ma-home-sections #international-environment .mala-copy{width:100%;max-width:90ch}
body .mala-resource-centre{max-width:1320px;gap:16px}
body .mala-resource-centre .mala-article article{max-width:86ch;margin-inline:auto;box-sizing:border-box}
body .ma-home-sections h2,body .mala-resource-centre section > h2{font-size:30px!important;line-height:1.25!important}
body .ma-home-sections section[id]:where(:not(#hero)),
body :is(.mala-about-page,.mala-program-page,.mala-parents-page) > section{
  box-sizing:border-box;margin-block:16px!important;padding:24px!important;border-radius:22px;
}
body .ma-home-sections :is(#parent-reviews,#come-and-see),
body :is(.mala-about-page,.mala-parents-page) :is(#testimonials,#parent-resources){max-width:none!important;width:100%!important;margin-inline:0!important}
body :is(.ma-home-sections,.mala-about-page,.mala-program-page,.mala-admissions,.mala-parents-page,.mala-learning-page) section > h2,
body :is(.about-team-grid,.about-community-grid,.release-outdoor) h2,
body .mala-admissions .mala-benefits-grid h2{font-size:30px!important;line-height:1.25!important;margin:0 0 14px!important}
body .mala-program-page :is(.reading-photo,.outdoor-photo){height:330px}
body .mala-program-page :is(.reading-photo,.outdoor-photo)>img{height:100%;object-fit:cover}
body .mala-about-page .about-team-grid img{width:100%;height:300px;object-fit:cover;object-position:center 35%}
body .mala-about-page .about-community-grid{grid-template-columns:minmax(0,1fr) 270px;gap:28px}
body .mala-about-page .about-community-grid img{height:300px;width:100%;object-fit:cover}
body :is(.mala-about-page,.mala-program-page) p{max-width:85ch}
body :is(.resource-article-body,.mala-article-body) p{max-width:76ch}
/* Closing invitations use a shared two-column composition. */
body .mala-about-page .ma-visit{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 28px;text-align:left;padding:24px!important}
body .mala-about-page .ma-visit > :is(h2,p,.about-contact-details){grid-column:1;margin:0!important}
body .mala-about-page .ma-visit > .wp-block-buttons{grid-column:2;grid-row:1/4;align-self:center;margin:0!important}
body .mala-about-page .ma-visit .about-contact-details{font-size:14px;line-height:1.6;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 20px}
body .mala-about-page .ma-visit .about-contact-details :is(address,.about-contact-links,.about-social-links){margin:0;display:flex;gap:12px;font-style:normal}
body .mala-parents-page .resource-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;align-items:center}
body .mala-parents-page .resource-entry > :is(h2,p){grid-column:1;margin:0!important}
body .mala-parents-page .resource-entry > :is(a,.wp-block-buttons){grid-column:2;grid-row:1/3}
body .mala-parents-page .resource-entry-featured{border-left:5px solid #FFB928;gap:18px 28px;padding:24px!important}
body .mala-parents-page .resource-entry-featured .resource-entry-copy{grid-column:1;min-width:0}
body .mala-parents-page .resource-entry-featured .mala-eyebrow{font-size:12px;letter-spacing:.1em;line-height:1.5;margin:0 0 8px;color:#095DA5}
body .mala-parents-page .resource-entry-featured h2{font-size:30px;line-height:1.25;margin:0 0 10px}
body .mala-parents-page .resource-entry-featured .resource-entry-copy > p:last-child{margin:0;max-width:70ch}
body .mala-parents-page .resource-entry-featured > .resource-entry-link{grid-column:2;grid-row:1;align-self:center;white-space:normal;text-align:center;max-width:300px}
.resource-entry-topics{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.resource-entry-topics a{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #cddde5;border-radius:12px;padding:12px 14px;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;color:#095DA5}
.resource-entry-topics a:hover{background:#EAF4FB;border-color:#095DA5}
.resource-entry-topics a span{flex:none}
@media(max-width:900px){.resource-entry-topics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body .mala-parents-page .resource-entry-featured h2{font-size:24px}.resource-entry-topics{margin-top:16px}.resource-entry-topics a{padding:11px;font-size:14px}body .mala-parents-page .resource-entry-featured > .resource-entry-link{display:inline-flex;margin-top:14px;max-width:100%}}
@media(max-width:360px){.resource-entry-topics{grid-template-columns:1fr}}
body .mala-parents-page .pr-help{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;text-align:left;background:#fff!important;padding:20px 24px!important}
body .mala-parents-page .pr-help > :is(h2,p){grid-column:1;margin:0!important}
body .mala-parents-page .pr-help > .wp-block-buttons{grid-column:2;grid-row:1/3;align-self:center;margin:0}
body .mala-parents-page .pr-help > h2{font-size:24px!important}
/* Contacts and form share one balanced desktop layout; no empty column below the map. */
@media(min-width:901px){
 body .mala-contact-page:not(.mala-visit-dialog-content){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:16px 20px;align-items:start}
 body .mala-contact-page .mc-contact-intro{grid-column:1;grid-row:1/3;display:flex!important;flex-direction:column;align-items:stretch;gap:20px;margin:0;padding:24px!important}
 body .mala-contact-page .mc-contact-intro .contact-photo{max-width:none;width:100%;height:230px;aspect-ratio:auto!important;flex:none;margin:0!important}
 body .mala-contact-page .mc-contact-intro .contact-photo img{position:static!important;top:auto!important;left:auto!important;height:230px!important;object-fit:cover;object-position:center 50%}
 body .mala-contact-page > .mc-columns:not(.mc-hero){display:contents!important}
 body .mala-contact-page .mc-form-wrap{grid-column:2;grid-row:1;margin:0}
 body .mala-contact-page .mc-form-section{padding:24px;margin:0}
 body .mala-contact-page .mc-map{grid-column:2;grid-row:2;padding:20px 24px;margin:0}
 body .mala-contact-page .mc-map h2{font-size:24px;margin:0 0 8px}
 body .mala-contact-page .mc-map p{margin:0 0 12px}
}
@media(max-width:700px){
 body .ma-home-sections h2,body .mala-resource-centre section > h2{font-size:24px!important;line-height:1.3!important}
 body .ma-home-sections section[id]:where(:not(#hero)),body :is(.mala-about-page,.mala-program-page,.mala-parents-page) > section{padding:18px!important;margin-block:12px!important;border-radius:18px}
 body :is(.ma-home-sections,.mala-about-page,.mala-program-page,.mala-admissions,.mala-parents-page,.mala-learning-page) section > h2,
 body :is(.about-team-grid,.about-community-grid,.release-outdoor) h2{font-size:24px!important;line-height:1.3!important;margin-bottom:12px!important}
 body .mala-program-page :is(.reading-photo,.outdoor-photo){height:250px}
 body .mala-about-page .about-team-grid img{height:auto;max-height:300px}
 body .mala-about-page .about-community-grid{grid-template-columns:1fr;gap:16px}
 body .mala-about-page .about-community-grid img{height:240px;max-width:320px}
 body .mala-admissions .mala-steps{display:grid;grid-template-columns:1fr;gap:10px}
 body .mala-admissions .mala-step{display:grid;grid-template-columns:36px minmax(0,1fr);gap:4px 12px;padding:16px!important;align-content:start}
 body .mala-admissions .mala-step > .mala-step-number{grid-column:1;grid-row:1/4;margin:0;width:34px;height:34px;font-size:16px}
 body .mala-admissions .mala-step > :not(.mala-step-number){grid-column:2;margin:0!important}
 body .mala-admissions .mala-step h3{font-size:18px!important;line-height:1.3}
 body :is(.mala-admissions .mala-extra-grid,.mala-program-page .mp-extra-list){display:grid;grid-template-columns:1fr;gap:8px}
 body :is(.mala-extra-card,.mp-extra-list > div):not(.release-english){display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:12px 16px!important;text-align:left;min-height:0}
 body :is(.mala-extra-card,.mp-extra-list > div):not(.release-english) > *{margin:0!important}
 body .mala-extra-card:not(.release-english) .mala-price{margin-left:auto!important;font-size:21px}
 body .release-english{padding:16px!important}
 body :is(.mala-about-page .ma-visit,.mala-parents-page .resource-entry,.mala-parents-page .pr-help){display:block;padding:18px!important}
 body :is(.mala-about-page .ma-visit,.mala-parents-page .resource-entry,.mala-parents-page .pr-help) > * + *{margin-top:10px!important}
 body .mala-about-page .ma-visit .wp-block-buttons,body .mala-parents-page .pr-help .wp-block-buttons{justify-content:flex-start}
 body .mala-about-page .ma-visit .about-contact-details{display:flex;font-size:14px}
}


/* Approved parent documents: compact library, with language and PDF details. */
/* Preserve the full approved portrait: the child's head, watering can and plants. */
body .mala-home #quality-programme .home-photo-wrap{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;width:100%;max-width:360px;justify-self:end;align-self:center}
body .mala-home #quality-programme img[data-home-photo="play"]{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
@media(min-width:901px){body .mala-home #quality-programme .mala-columns{grid-template-columns:minmax(0,1fr) 360px!important}}
@media(max-width:900px){body .mala-home #quality-programme .home-photo-wrap{justify-self:center}}
.mala-resource-centre .resource-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.mala-resource-centre .resource-document-grid .resource-card{display:flex;flex-direction:column;min-width:0}
.mala-resource-centre .resource-document-grid .resource-note{margin-top:auto;padding-top:8px;font-size:.875em}
.mala-resource-centre .resource-document-grid h3{margin-top:0}
.mala-resource-centre .resource-document-grid a{align-self:flex-start}
@media(max-width:700px){.mala-resource-centre .resource-document-grid{grid-template-columns:1fr}}

/* Shared EN/SL homepage: compact meal photo on the left. */
body .mala-home #meals.home-meals-panel{grid-template-columns:280px minmax(0,1fr)!important;gap:28px!important}
body .mala-home #meals .home-photo-wrap{width:100%;max-width:280px;grid-column:1;grid-row:1;margin:0}
body .mala-home #meals .home-photo-wrap img{height:230px!important;width:100%;object-fit:cover}
body .mala-home #meals .home-meals-copy{grid-column:2;grid-row:1}
body .mala-icon-international::before{background-image:none;content:'◎';color:#095DA5;font:38px/1 Arial,sans-serif;display:grid;place-items:center}
@media(max-width:700px){body .mala-home #meals.home-meals-panel{grid-template-columns:1fr!important;gap:18px!important}body .mala-home #meals .home-photo-wrap{justify-self:center;grid-column:1;grid-row:2}body .mala-home #meals .home-meals-copy{grid-column:1;grid-row:1}}

/* Age group cards share their appearance in both languages. */
body .mala-home #age-groups .mala-age-card{padding:18px;border-radius:20px;background:#EAF4FB}
body .mala-home #age-groups .mala-age-card+.mala-age-card{background:#FFF0E8}
body .mala-home #age-groups .mala-age-card h3{margin-top:0}
body .mala-home #age-groups .mala-age-card p{margin-bottom:0}

/* Compact team portrait and balanced community/programme photography. */
body .mala-about-page .about-team-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}
body .mala-about-page .about-team-grid .team-current-photo img{width:100%;height:auto;max-height:none;object-fit:contain;display:block}
body .team-current-photo figcaption{font-size:14px;line-height:1.5;text-align:center;margin-top:8px;color:#095DA5}
body .mala-about-page .about-community-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.65fr);align-items:center}
body .mala-about-page .about-community-grid>img{height:auto;max-height:440px;width:100%;object-fit:contain}
body .mala-program-page .reading-photo{height:auto;max-width:420px;margin-inline:auto}
body .mala-program-page .reading-photo>img{width:100%;height:auto;object-fit:contain;display:block}
@media(max-width:800px){body .mala-about-page .about-team-grid,body .mala-about-page .about-community-grid{grid-template-columns:1fr;gap:18px}body .mala-about-page .about-community-grid>img{max-width:100%;max-height:400px;height:auto}}
/* Discreet company details; scoped to the About page section. */
body .company-information{border-top:1px solid #d9ddd8;background:transparent;border-radius:0;padding:24px 28px;margin-top:24px}
body .company-information h2{font-size:24px;margin:0 0 18px}
body .company-information-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:36px;align-items:start}
body .company-identification{margin:0;font-size:14px;line-height:1.6}
body .company-identification>div{display:grid;grid-template-columns:minmax(125px,.8fr) minmax(0,1.2fr);gap:12px;margin-bottom:7px}
body .company-identification dt{font-weight:600}
body .company-identification dd{margin:0;overflow-wrap:anywhere}
body .company-banking{border-left:1px solid #d9ddd8;padding-left:28px;font-size:14px;line-height:1.6;min-width:0}
body .company-banking h3{font-size:18px;margin:0 0 12px}
body .company-bank h4{font-size:14px;line-height:1.5;margin:0 0 5px;font-weight:600}
body .company-bank{margin-bottom:16px}
body .company-bank p{font-size:14px;margin:4px 0 0;line-height:1.6}
body .company-iban{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
body .iban-value{font-variant-numeric:tabular-nums;white-space:nowrap}
body .company-information button[data-copy-iban]{font:inherit;font-size:12px;line-height:1.4;color:#095DA5;background:transparent;border:1px solid #a8bdc7;border-radius:5px;padding:4px 7px;cursor:pointer;min-height:32px}
body .company-information button[data-copy-iban]:hover{background:#EAF4FB}
body .company-information button[data-copy-iban]:focus-visible{outline:2px solid #095DA5;outline-offset:3px}
body .company-copy-status{font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin:0;min-height:18px}
@media(max-width:800px){body .company-information{padding:20px 18px}body .company-information-grid{grid-template-columns:1fr;gap:20px}body .company-banking{border-left:0;border-top:1px solid #d9ddd8;padding:18px 0 0}body .company-identification>div{grid-template-columns:1fr;gap:0;margin-bottom:10px}}
