/* Meer Sir Academy components. Scoped to .msa so the existing theme is not restyled. */
.msa{--surface-100:#fbf8f1;--surface-000:#ffffff;--surface-200:#f3eee2;--brand:#0f2340;--brand-strong:#1d3a66;--brand-tint:#e6ecf5;--on-brand:#ffffff;--gold:#c9a227;--on-gold:#0f2340;--gold-text:#7d5f0a;--ink:#1a1f2b;--ink-muted:#4b5363;--link:#1d4f91;--border:#8f887a;--hairline:#dcd6c8;--focus:#1d4f91;--focus-on-brand:#c9a227;--success:#1e6b47;--notice-bg:#fbeccb;--notice:#6e4400;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:72px;--content-max:1200px;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-pill:999px;--shadow-card:0 1px 2px rgba(15,35,64,0.06), 0 4px 16px rgba(15,35,64,0.06);--font-serif:"Source Serif 4", Georgia, "Times New Roman", serif;--font-sans:"Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;}
/* Meer Sir Academy shared component styles. Uses tokens.css custom properties only. */
.msa, .msa * { box-sizing: border-box; }
.msa { font-family: var(--font-sans); color: var(--ink); background: var(--surface-100); font-size: 17px; line-height: 28px; }
.msa h1, .msa h2 { font-family: var(--font-serif); font-weight: 600; margin: 0; color: var(--ink); }
.msa h3 { font-family: var(--font-sans); font-weight: 600; font-size: 20px; line-height: 28px; margin: 0; }
.msa p { margin: 0; }
.msa a { color: var(--link); }
.msa :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.msa .on-navy :focus-visible { outline-color: var(--focus-on-brand); }

.msa-eyebrow { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.msa-eyebrow::after { content: ""; display: block; width: 32px; height: 3px; background: var(--gold); margin-top: 8px; border-radius: 2px; }
.msa-muted { color: var(--ink-muted); }

/* Buttons */
.msa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-md); font: 600 16px/20px var(--font-sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s; }
.msa .msa-btn--primary, .msa-btn--primary { background: var(--brand); color: var(--on-brand); }
.msa .msa-btn--primary:hover { background: var(--brand-strong); }
.msa .msa-btn--gold, .msa-btn--gold { background: var(--gold); color: var(--on-gold); }
.msa .msa-btn--secondary, .msa-btn--secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.msa .msa-btn--on-navy, .msa-btn--on-navy { background: transparent; color: var(--on-brand); border-color: rgba(255,255,255,.55); }
.msa .msa-btn--text, .msa-btn--text { background: none; padding: 12px 4px; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.msa-btn--sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }

/* Badges and chips */
.msa-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-sm); font-size: 13px; line-height: 20px; font-weight: 600; background: var(--brand-tint); color: var(--ink); }
.msa-badge--notice { background: var(--notice-bg); color: var(--notice); }
.msa-badge--ok { background: transparent; color: var(--success); padding-left: 0; }
.msa-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface-000); color: var(--ink); font: 600 15px/20px var(--font-sans); }
.msa-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* Course card */
.msa-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface-000); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); }
.msa-card__label { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.msa-card__title { font: 600 20px/28px var(--font-sans); color: var(--ink); }
.msa-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.msa-card__desc { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.msa-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.msa-card__fee { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.msa-card__fee strong { color: var(--ink); font-size: 17px; }

/* Fee box */
.msa-fee { background: var(--surface-000); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; }
.msa-fee__head { padding: 20px 24px; background: var(--brand); color: var(--on-brand); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.msa-fee__head h3 { color: var(--on-brand); }
.msa-fee__rows { display: grid; grid-template-columns: 1fr 1fr; }
.msa-fee__row { padding: 20px 24px; border-bottom: 1px solid var(--hairline); }
.msa-fee__row + .msa-fee__row { border-left: 1px solid var(--hairline); }
.msa-fee__amt { font: 600 28px/36px var(--font-serif); color: var(--ink); }
.msa-fee__list { margin: 0; padding: 16px 24px 16px 44px; font-size: 15px; line-height: 26px; }
.msa-fee__uni { margin: 0 24px 24px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-200); font-size: 15px; line-height: 24px; }

/* Download box */
.msa .msa-dl, .msa-dl { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--surface-000); border: 1px solid var(--hairline); border-radius: var(--radius-md); text-decoration: none; color: var(--ink); min-height: 72px; }
.msa-dl__type { flex: none; width: 48px; height: 56px; border-radius: 6px; background: var(--brand-tint); color: var(--ink); display: grid; place-items: center; font: 700 12px/1 var(--font-sans); letter-spacing: .05em; }
.msa-dl__text { flex: 1; min-width: 0; }
.msa-dl__title { font-weight: 600; font-size: 17px; line-height: 24px; }
.msa-dl__meta { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.msa .msa-dl__go, .msa-dl__go { flex: none; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* Media placeholder: stands in for a real academy photo in previews only */
.msa-photo { background: var(--surface-200); border: 1px dashed var(--border); border-radius: var(--radius-lg); display: grid; place-items: center; text-align: center; padding: 16px; color: var(--ink-muted); font-size: 13px; line-height: 18px; }

/* Grids used by the block patterns */
.msa-grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.msa-stack{display:grid;gap:12px}
.msa-section{padding:48px 16px}
.msa-section--navy{background:var(--brand);color:var(--on-brand)}
.msa-section--navy h2,.msa-section--navy p{color:var(--on-brand)}
.msa .wp-block-button__link.msa-btn{border-radius:var(--radius-md)}
@media (max-width:640px){.msa-fee__rows{grid-template-columns:1fr}.msa-fee__row+.msa-fee__row{border-left:0}}
@media (prefers-reduced-motion:reduce){.msa *{transition:none!important}}
