/* As-Sunnah Academy theme ------------------------------------------------ */
:root {
	--green: #0d4a33;
	--green-deep: #093a28;
	--green-mid: #14613f;
	--gold: #b8862b;
	--gold-text: #8f6519;
	--gold-bright: #e6b54e;
	--sage: #e7efe6;
	--sage-2: #f1f5ef;
	--cream: #f7f0de;
	--bg: #fbfaf5;
	--panel: #ffffff;
	--ink: #1d2b25;
	--body: #37483f;
	--muted: #5f6f66;
	--line: #dfe6dc;
	--radius: 12px;
	--radius-lg: 16px;
	--shadow: 0 12px 30px -20px rgba(13, 74, 51, .45);
	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Lora", Georgia, "Times New Roman", serif;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 16px/1.65 var(--font);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--green); line-height: 1.2; font-family: var(--font-serif); }
[hidden] { display: none !important; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100;
	left: 8px; top: 8px; padding: 10px 14px; background: #fff; color: var(--green);
}
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.site-main { flex: 1 0 auto; }
.asa-icon { flex: none; }

/* Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
	border-radius: 10px; padding: 12px 22px; border: 2px solid transparent;
	transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 20px -12px rgba(13, 74, 51, .8); }
.btn--primary:hover { background: var(--green-deep); color: #fff; }
.btn--outline { border-color: var(--green); color: var(--green); background: rgba(255, 255, 255, .7); }
.btn--outline:hover { background: var(--sage); color: var(--green); }
.btn--gold { background: var(--gold-bright); color: #2a2109; border-radius: 999px; }
.btn--gold:hover { background: #f0c468; color: #2a2109; }
.icon-btn {
	background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer;
	color: var(--green); display: inline-grid; place-items: center;
}
.icon-btn:hover { background: var(--sage); }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.text-link:hover { text-decoration: underline; }

/* Header ---------------------------------------------------------------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header__bar { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.asa-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; flex: none; }
.asa-brand__emblem { width: 60px; height: 60px; }
.asa-brand__full { height: 60px; width: auto; max-width: 300px; object-fit: contain; }
.asa-brand__text { display: flex; flex-direction: column; min-width: 0; }
.asa-brand__name { font: 700 30px/1 var(--font-serif); color: var(--green); letter-spacing: -.3px; white-space: nowrap; }
.asa-brand__sub { font: 600 14px/1 var(--font-serif); color: var(--gold); letter-spacing: 5.5px; text-transform: uppercase; margin-top: 5px; padding-left: 2px; }

.main-nav { margin-left: auto; }
.main-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; }
.main-nav__menu a {
	display: block; padding: 10px 16px; color: var(--green); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
	position: relative;
}
.main-nav__menu a:hover { color: var(--gold-text); }
.main-nav__menu > .current-menu-item > a,
.main-nav__menu > .current_page_item > a,
.main-nav__menu > .current-page-ancestor > a { color: var(--gold-text); font-weight: 700; }
.main-nav__menu > .current-menu-item > a::after,
.main-nav__menu > .current_page_item > a::after,
.main-nav__menu > .current-page-ancestor > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold-bright);
}
.menu-toggle { display: none; margin-left: auto; }

@media (max-width: 820px) {
	.menu-toggle { display: inline-grid; }
	.main-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow); display: none; margin: 0; max-height: calc(100vh - 80px); overflow-y: auto;
	}
	.main-nav.is-open { display: block; }
	.main-nav__menu { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 24px 14px; }
	.main-nav__menu > li { border-bottom: 1px solid var(--line); }
	.main-nav__menu > li:last-child { border-bottom: 0; }
	.main-nav__menu a { padding: 14px 4px; font-size: 16.5px; }
	.main-nav__menu a::after { display: none; }
}
@media (max-width: 600px) {
	.site-header__bar { min-height: 70px; }
	.asa-brand__emblem { width: 46px; height: 46px; }
	.asa-brand__full { height: 46px; max-width: 220px; }
	.asa-brand__name { font-size: 23px; }
	.asa-brand__sub { font-size: 11px; letter-spacing: 4.2px; margin-top: 4px; }
}

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: #f6f1e4; }
.hero::before {
	content: ""; position: absolute; inset: 0 0 0 34%;
	background: var(--hero-img) 70% 30% / cover no-repeat;
}
.hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, #fbf8ef 0%, #fbf8ef 36%, rgba(251, 248, 239, .9) 46%, rgba(251, 248, 239, .45) 58%, rgba(251, 248, 239, 0) 72%);
}
.hero__inner { position: relative; z-index: 1; min-height: 480px; display: flex; align-items: center; padding-top: 52px; padding-bottom: 56px; }
.hero__content { max-width: 500px; }
.hero__eyebrow { font: 700 15px/1 var(--font); color: var(--gold-text); letter-spacing: 3.2px; text-transform: uppercase; margin: 0 0 12px; }
.hero__title { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero__name { font: 700 clamp(48px, 7.2vw, 80px)/1 var(--font-serif); color: var(--green); letter-spacing: -1.5px; }
.hero__sub { font: 600 clamp(24px, 3.4vw, 38px)/1.1 var(--font-serif); color: var(--gold); letter-spacing: .32em; text-transform: uppercase; margin-top: 8px; padding-left: .12em; }
.hero__rule { display: flex; align-items: center; width: min(340px, 82%); margin: 16px 0 20px; height: 12px; position: relative; }
.hero__rule::before { content: ""; flex: 1; height: 1.5px; background: var(--gold); opacity: .75; }
.hero__rule i { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 4px #fbf8ef; }
.hero__tagline { font: 700 clamp(19px, 2.2vw, 23px)/1.3 var(--font-serif); color: var(--green); margin: 0 0 10px; max-width: 440px; }
.hero__text { font-size: 16.5px; color: var(--body); max-width: 400px; margin: 0 0 26px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 820px) {
	.hero::before { inset: 0 0 auto 0; height: min(64vw, 420px); background-image: var(--hero-img-sm, var(--hero-img)); background-position: 68% 22%; }
	.hero::after { background: linear-gradient(180deg, rgba(251, 248, 239, 0) 0, rgba(251, 248, 239, 0) calc(min(64vw, 420px) - 110px), #fbf8ef min(64vw, 420px)); }
	.hero__inner { min-height: 0; padding-top: calc(min(64vw, 420px) - 14px); padding-bottom: 40px; }
	.hero__content { max-width: none; }
	.hero__rule i { box-shadow: 0 0 0 4px #fbf8ef; }
}

/* Programmes strip ------------------------------------------------------ */
.programmes { background: var(--sage-2); border-top: 1px solid #e3ebe0; border-bottom: 1px solid #e3ebe0; padding: 28px 0 30px; }
.programmes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.programme { text-align: center; padding: 4px 18px; border-left: 1px solid #cfdccb; }
.programme:first-child { border-left: 0; }
.programme__icon, .area__icon {
	width: 78px; height: 78px; border-radius: 50%; display: inline-grid; place-items: center;
	background: #dbe8d8; color: var(--green); margin-bottom: 12px;
}
.programme h2 { font: 600 20px/1.25 var(--font-serif); margin: 0 0 6px; }
.programme p { margin: 0 auto; font-size: 14.5px; line-height: 1.45; color: var(--body); max-width: 190px; }
@media (max-width: 820px) {
	.programmes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
	.programme:nth-child(odd) { border-left: 0; }
}
@media (max-width: 420px) { .programme { padding: 4px 10px; } .programme h2 { font-size: 18px; } }

/* About ----------------------------------------------------------------- */
.eyebrow { font: 700 13.5px/1.2 var(--font); color: var(--gold-text); letter-spacing: 2.4px; text-transform: uppercase; margin: 0 0 8px; }
.eyebrow--center, .display--center { text-align: center; }
.display { font: 700 clamp(32px, 4.4vw, 46px)/1.1 var(--font-serif); color: var(--green); margin: 0 0 18px; letter-spacing: -.5px; }
.about { padding: 60px 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.about__content p:not(.eyebrow) { color: var(--body); font-size: 16.5px; margin: 0 0 24px; max-width: 420px; }
.about__image img { width: 100%; aspect-ratio: 17 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) {
	.about { padding: 44px 0; }
	.about__grid { grid-template-columns: 1fr; gap: 28px; }
	.about__content p:not(.eyebrow) { max-width: none; }
}

/* Key learning areas ---------------------------------------------------- */
.areas { background: var(--sage-2); padding: 46px 0 52px; }
.areas .display { font-size: clamp(30px, 3.8vw, 40px); margin-bottom: 28px; }
.areas__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.area { border-radius: var(--radius); padding: 26px 18px 24px; text-align: center; }
.area--sage { background: #e3ede1; }
.area--cream { background: var(--cream); }
.area--cream .area__icon { background: #f0dfb6; color: var(--gold); }
.area__glyph { font: 700 40px/1 "Noto Naskh Arabic", "Amiri", "Scheherazade New", "Traditional Arabic", serif; margin-top: -10px; }
.area h3 { font: 600 20px/1.25 var(--font-serif); margin: 0 0 8px; }
.area p { margin: 0 auto; font-size: 14.5px; line-height: 1.45; color: var(--body); max-width: 200px; }
@media (max-width: 900px) { .areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .areas__grid { gap: 12px; } .area { padding: 20px 12px; } .area h3 { font-size: 18px; } }

/* Call-to-action band + shared pattern ---------------------------------- */
.cta, .page-hero, .site-footer {
	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M48 4 59 37 92 48 59 59 48 92 37 59 4 48 37 37z'/%3E%3Cpath d='M48 20 68 28 76 48 68 68 48 76 28 68 20 48 28 28z'/%3E%3Cpath d='M0 0 20 8M96 0 76 8M0 96 20 88M96 96 76 88M0 0 8 20M96 0 88 20M0 96 8 76M96 96 88 76'/%3E%3C/svg%3E");
}
.cta { background: var(--pattern), linear-gradient(120deg, var(--green-deep), var(--green) 60%, #115a3c); color: #e9f1ec; padding: 34px 0; }
.cta__inner { display: flex; align-items: center; gap: 30px; max-width: 900px; }
.cta__icon { color: var(--gold-bright); flex: none; padding-right: 30px; border-right: 1px solid rgba(255, 255, 255, .35); line-height: 0; }
.cta__text { flex: 1; min-width: 0; }
.cta__eyebrow { font: 700 13px/1.2 var(--font); color: var(--gold-bright); letter-spacing: 2px; text-transform: uppercase; margin: 0 0 6px; }
.cta h2 { color: #fff; font: 600 clamp(26px, 3.4vw, 34px)/1.15 var(--font-serif); margin: 0 0 6px; }
.cta__text p:last-child { margin: 0; font-size: 16px; }
@media (max-width: 760px) {
	.cta__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
	.cta__icon { border-right: 0; padding-right: 0; }
	.cta__icon svg { width: 44px; height: 44px; }
}

/* Inner pages ----------------------------------------------------------- */
.page-hero { background: var(--pattern), linear-gradient(120deg, var(--green-deep), var(--green) 60%, #115a3c); color: #fff; padding: 46px 0 50px; }
.page-hero__eyebrow { font: 700 13px var(--font); letter-spacing: 2.4px; text-transform: uppercase; margin: 0 0 8px; color: var(--gold-bright); }
.page-hero__title { color: #fff; font: 700 clamp(32px, 4.6vw, 48px)/1.1 var(--font-serif); margin: 0; letter-spacing: -.4px; }
.page-hero__subtitle { font: 500 clamp(17px, 2vw, 21px)/1.35 var(--font-serif); margin: 10px 0 0; max-width: 760px; color: #e6efe9; }
.page-body { padding-top: 42px; padding-bottom: 60px; }
.page-body--narrow { max-width: 860px; }

.entry-content { font-size: 16.5px; }
.entry-content > * { max-width: 820px; }
.entry-content > .alignwide, .entry-content > .wp-block-columns, .entry-content > .asa-showcase,
.entry-content > .wp-block-group.is-style-asa-panel, .entry-content > .asa-wide, .entry-content > .asa-contact-grid { max-width: none; }
.entry-content h2 { font: 700 clamp(24px, 2.8vw, 31px)/1.2 var(--font-serif); margin: 1.9em 0 .6em; }
.entry-content h3 { font: 600 20px/1.3 var(--font-serif); margin: 1.6em 0 .5em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p, .entry-content li { color: var(--body); }
.entry-content ul:not(.wp-block-gallery), .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .3em 0; }
.entry-content ul.is-style-asa-checks { list-style: none; padding-left: 0; }
.entry-content ul.is-style-asa-checks li { position: relative; padding-left: 32px; }
.entry-content ul.is-style-asa-checks li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 5px; background: var(--green)
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.entry-content .wp-block-button__link { border-radius: 10px; padding: 13px 26px; font-weight: 700; background: var(--green); color: #fff; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--green-deep); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--green); border: 2px solid var(--green); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--sage); }
.entry-content .wp-block-buttons { gap: 12px; margin: 1.6em 0; }
.entry-content blockquote { border-left: 4px solid var(--gold); margin: 1.5em 0; padding: 4px 0 4px 20px; font-size: 18px; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }

/* Panels and cards used inside page content (block styles) */
.entry-content .is-style-asa-panel {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow); margin: 2em 0;
}
.entry-content .is-style-asa-panel > :first-child { margin-top: 0; }
.entry-content .is-style-asa-panel > :last-child { margin-bottom: 0; }
.entry-content .is-style-asa-highlight {
	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M48 4 59 37 92 48 59 59 48 92 37 59 4 48 37 37z'/%3E%3Cpath d='M48 20 68 28 76 48 68 68 48 76 28 68 20 48 28 28z'/%3E%3C/svg%3E");
	background: var(--pattern), linear-gradient(120deg, var(--green-deep), var(--green)); color: #fff; border-radius: var(--radius-lg); padding: 28px 30px; margin: 2.4em 0;
}
.entry-content .is-style-asa-highlight > :first-child { margin-top: 0; }
.entry-content .is-style-asa-highlight > :last-child { margin-bottom: 0; }
.entry-content .is-style-asa-highlight :is(h2, h3, p, li) { color: #fff; }
.entry-content .is-style-asa-highlight .wp-block-button__link { background: var(--gold-bright); color: #2a2109; border-radius: 999px; }
.entry-content .is-style-asa-note {
	background: #fff8e6; border: 1px solid #f1d58a; border-radius: 12px; padding: 14px 18px; font-size: 15px; color: #6b5310;
}
.entry-content .wp-block-columns.is-style-asa-cards { gap: 18px; }
.entry-content .wp-block-columns.is-style-asa-cards > .wp-block-column {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow);
}
.entry-content .wp-block-columns.is-style-asa-cards > .wp-block-column > :first-child { margin-top: 0; }
.entry-content ol.is-style-asa-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.entry-content ol.is-style-asa-steps li {
	counter-increment: step; position: relative; padding: 14px 18px 14px 64px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0;
}
.entry-content ol.is-style-asa-steps li::before {
	content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%;
	background: var(--green); color: #fff; display: grid; place-items: center; font: 700 15px var(--font);
}

/* Listings (search results, any news posts) */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.news-card__img { aspect-ratio: 16 / 10; background: var(--sage); display: grid; place-items: center; color: var(--green); overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: 13px; color: var(--muted); }
.news-card h2 { font: 600 20px/1.3 var(--font-serif); margin: 4px 0 8px; }
.news-card h2 a { color: var(--green); text-decoration: none; }
.news-card p { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.news-card .text-link { margin-top: auto; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.entry-featured { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; font-weight: 700; }
.post-nav a { text-decoration: none; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form label { flex: 1; }
.search-submit { font: 700 14px var(--font); background: var(--green); color: #fff; border: 0; border-radius: 10px; padding: 0 18px; cursor: pointer; }

/* Our Students showcase (As-Sunnah Core) -------------------------------- */
.asa-showcase { list-style: none; padding: 0 !important; margin: 1.6em 0 2em; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.asa-showcase__item { margin: 0 !important; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.asa-showcase__img { aspect-ratio: 3 / 2; background: var(--sage); overflow: hidden; }
.asa-showcase__img img { width: 100%; height: 100%; object-fit: cover; }
.asa-showcase__body { padding: 18px 20px 20px; }
.asa-showcase__item.no-photo { border-top: 4px solid var(--gold-bright); }
.asa-showcase__type { font: 700 12px/1.2 var(--font); letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-text) !important; margin: 0 0 6px; }
.asa-showcase__body h2 { font: 600 20px/1.3 var(--font-serif); margin: 0 0 8px; }
.asa-showcase__body p { margin: 0 0 .7em; font-size: 15px; }
.asa-showcase__body > :last-child { margin-bottom: 0; }
@media (max-width: 900px) { .asa-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .asa-showcase { grid-template-columns: 1fr; } }

/* Forms (As-Sunnah Core) ------------------------------------------------ */
.search-field, .asa-form input, .asa-form select, .asa-form textarea {
	width: 100%; font: inherit; color: var(--ink); background: #fff;
	border: 1.5px solid #cfd9cc; border-radius: 10px; padding: 11px 14px;
}
.search-field:focus, .asa-form input:focus, .asa-form select:focus, .asa-form textarea:focus {
	outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(20, 97, 63, .2);
}
.asa-form { display: grid; gap: 16px; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.asa-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.asa-form label { display: block; font-weight: 700; font-size: 14.5px; color: var(--green); margin-bottom: 6px; }
.asa-form .opt { font-weight: 400; color: var(--muted); }
.asa-form textarea { min-height: 140px; resize: vertical; }
.asa-form button[type=submit] { justify-self: start; border: 0; }
.asa-form .asa-hp { position: absolute; left: -9999px; }
.asa-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--muted); }
.asa-form .consent input { width: auto; margin-top: 4px; accent-color: var(--green); }
.asa-alert { border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; max-width: 760px; }
.asa-alert--ok { background: #e8f6ee; border: 1px solid #a9dcbc; color: #1d5c34; }
.asa-alert--err { background: #fdecec; border: 1px solid #f0b4b4; color: #7a1f1f; }
.asa-alert--info { background: var(--sage); border: 1px solid #c9d9c5; color: var(--green); }
.asa-alert p { color: inherit; margin: 0 0 .5em; }
.asa-alert ul { margin: 6px 0 0; padding-left: 20px; }
.asa-alert li { color: inherit; }
.asa-alert a { color: inherit; }
.asa-alert form { margin-top: 10px; }
@media (max-width: 600px) { .asa-form .row { grid-template-columns: 1fr; } .asa-form { padding: 18px; } }

.entry-content > .asa-enrol { max-width: 820px; }
.asa-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.asa-form legend { font: 600 19px var(--font-serif); color: var(--green); padding: 0; margin-bottom: 12px; }
.asa-form .field { min-width: 0; }
.asa-form .field.short input { max-width: 200px; }
.asa-form .hint { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.asa-form .error { font-size: 13.5px; color: #b32d2e; font-weight: 600; margin: 6px 0 0; }
.asa-form .has-error input, .asa-form .has-error select, .asa-form .has-error textarea { border-color: #d63638; background: #fffafa; }
.asa-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: 15px; cursor: pointer; margin: 0; }
.asa-form .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--green); }
.asa-form .check.has-error span { color: #b32d2e; }
.asa-form input[type=date] { min-height: 46px; }
.asa-small { font-size: 13.5px; color: var(--muted); margin: 0; }
.asa-form--enrol { gap: 22px; }
.asa-form--enrol textarea { min-height: 96px; }
.asa-section { display: grid; gap: 14px; padding-top: 18px !important; border-top: 1px solid var(--line) !important; }
.asa-section:first-of-type { border-top: 0 !important; padding-top: 0 !important; }
.asa-section legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 4px; }
.asa-section legend + * { clear: both; }
.asa-section .num { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: inline-grid; place-items: center; font: 700 14px var(--font); flex: none; }
.asa-pay-summary { display: flex; justify-content: space-between; align-items: center; background: var(--cream); border-radius: 12px; padding: 14px 18px; font-size: 16px; color: var(--green); }
.asa-pay-summary strong { font: 700 24px var(--font-serif); }
@media (max-width: 600px) { .asa-form .btn--lg { width: 100%; } }

/* Result (thank-you) */
.asa-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow); max-width: 760px; border-top: 5px solid var(--gold-bright); }
.asa-result h2 { margin-top: 0 !important; }
.asa-ref { font: 700 15px var(--font); color: var(--green) !important; background: var(--sage); display: inline-block; padding: 6px 12px; border-radius: 8px; }

/* Contact block */
.asa-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 26px; align-items: start; }
.asa-contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.asa-contact-card h2 { margin-top: 0 !important; font-size: 23px !important; }
.asa-contact-card ul:not(.asa-socials) { list-style: none; padding: 0 !important; margin: 0 0 18px; display: grid; gap: 12px; }
.asa-contact-card li { display: flex; gap: 10px; align-items: flex-start; margin: 0 !important; }
.asa-contact-card li .asa-icon { color: var(--gold); margin-top: 3px; }
.asa-contact-card .asa-socials { list-style: none; padding: 0 !important; margin: 0 0 6px; display: flex; gap: 10px; }
.asa-contact-card .asa-social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.asa-contact-card .asa-social .asa-icon { color: #fff; margin: 0; }
.asa-map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; }
@media (max-width: 900px) { .asa-contact-grid { grid-template-columns: 1fr; } }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--pattern), var(--green-deep); color: #dbe7e0; font-size: 14.5px; }
.site-footer__top { display: flex; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 22px; }
.asa-brand--footer .asa-brand__emblem { width: 54px; height: 54px; }
.asa-brand--footer .asa-brand__name { color: #fff; font-size: 24px; }
.asa-brand--footer .asa-brand__sub { color: var(--gold-bright); font-size: 12px; letter-spacing: 4.4px; }
.footer-nav { flex: 1; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 34px; }
.footer-links a, .legal-links a, .contact-list a, .site-footer__bottom a { color: #f1f6f3; text-decoration: none; }
.footer-links a:hover, .legal-links a:hover, .contact-list a:hover, .site-footer__bottom a:hover { color: #fff; text-decoration: underline; }
.site-footer .asa-socials { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 6px; }
.site-footer .asa-social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; }
.site-footer .asa-social:hover { background: rgba(255, 255, 255, .12); color: var(--gold-bright); }
.site-footer__contact { padding-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.contact-list li { display: flex; gap: 8px; align-items: center; }
.contact-list .asa-icon { color: var(--gold-bright); }
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 14px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; font-size: 13px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__parent, .site-footer__credit { margin-left: 6px; white-space: nowrap; }
.site-footer__credit::before { content: "·"; margin-right: 8px; opacity: .6; }
.legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.legal-links li + li::before { content: "|"; margin: 0 10px; opacity: .45; }
.site-footer__motto { color: var(--gold-bright); font-weight: 500; letter-spacing: .3px; white-space: nowrap; }
.site-footer__motto span { margin: 0 8px; }
@media (max-width: 860px) {
	.site-footer__top { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 30px; }
	.footer-links { justify-content: flex-start; gap: 8px 26px; }
	.site-footer .asa-socials { margin-left: -8px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.site-footer__parent, .site-footer__credit { display: block; margin: 4px 0 0; white-space: normal; }
	.site-footer__credit::before { display: none; }
	.legal-links { gap: 6px 18px; }
	.legal-links li + li::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
