/* Abhyudaya Public School – site styles (works with the Blocksy theme) */
:root {
	--aps-pri: #1e3a8a;
	--aps-pri-d: #172c6b;
	--aps-pri-l: #eef2ff;
	--aps-acc: #16803c;
	--aps-acc-l: #e9f7ee;
	--aps-sun: #f5b301;
	--aps-ink: #0f1b3d;
	--aps-text: #3f4a5a;
	--aps-muted: #6b7587;
	--aps-line: #e3e8f4;
	--aps-soft: #f5f7fd;
	--aps-navy: #0f1b3d;
	--aps-wa: #16a34a;
	--aps-r: 18px;
	--aps-sh: 0 1px 2px rgba(15, 27, 61, .05), 0 10px 28px rgba(15, 27, 61, .07);
	--aps-head: "Poppins", system-ui, sans-serif;
	--aps-body: "Nunito", system-ui, sans-serif;
	--aps-serif: "Merriweather", Georgia, serif;
}
:root:root {
	--theme-palette-color-1: #1e3a8a;
	--theme-palette-color-2: #16803c;
	--theme-palette-color-3: #3f4a5a;
	--theme-palette-color-4: #0f1b3d;
	--theme-palette-color-5: #e3e8f4;
	--theme-palette-color-6: #f1f4fb;
	--theme-palette-color-7: #f8f9fd;
	--theme-palette-color-8: #ffffff;
	--theme-font-family: var(--aps-body);
	--theme-headings-font-family: var(--aps-head);
}
body { font-family: var(--aps-body); color: var(--aps-text); background: #fff; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .aps-h { font-family: var(--aps-head); color: var(--aps-ink); letter-spacing: -.01em; }
a { color: var(--aps-pri); }
.aps-i { width: 1.05em; height: 1.05em; flex: 0 0 auto; vertical-align: -.15em; }
.aps-ph { display: block; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, #e0e7ff, #e9f7ee); }
.aps-hp { position: absolute !important; left: -9999px !important; }
.aps-small { font-size: 14px; color: var(--aps-muted); }
.aps-noscroll { overflow: hidden; }

/* Theme integration */
body.aps-own-title .hero-section, body.aps-own-title .entry-header { display: none !important; }
body.aps-own-title .ct-container-full, body.aps-own-title [class*="ct-container"][data-vertical-spacing] { padding-top: 0 !important; padding-bottom: 0 !important; }
#footer.ct-footer, .ct-footer { display: none !important; }
.entry-content > .alignfull:first-child { margin-top: 0; }
.entry-content > * + .aps-sec, .entry-content > .aps-sec + * { margin-block-start: 0; }
.entry-content > .aps-sec { margin-top: 0 !important; margin-bottom: 0 !important; }
body.single-post .entry-meta .meta-author, body.single-post .ct-featured-image { }
body.single-aps_album .entry-meta, body.single-aps_notice .entry-meta { display: none !important; }

/* Header */
header#header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--aps-line); transition: box-shadow .2s; }
.admin-bar header#header { top: 32px; }
@media (max-width: 782px) { .admin-bar header#header { top: 0; } }
#header [data-row*="middle"] { --height: 88px; }
#header .site-branding { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px; }
#header .site-logo-container img, #header [data-id="logo"] img { height: 64px !important; max-height: 64px !important; width: auto !important; filter: drop-shadow(0 2px 6px rgba(15,27,61,.12)); }
#header .site-title-container { text-align: left; display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--aps-line); }
#header .site-title { margin: 0; font-family: "Merriweather", Georgia, serif; font-weight: 700; font-size: 21px; letter-spacing: .015em; line-height: 1.15; }
#header .site-title a { color: var(--aps-pri) !important; }
#header .site-title-container::after { font: 700 10.5px/1.2 var(--aps-head); letter-spacing: .12em; text-transform: uppercase; color: var(--aps-acc); white-space: nowrap; }
#header .site-description { display: none; }
#header [data-id="menu"] { --menu-items-spacing: 6px; }
#header .menu > li > .ct-menu-link { font-family: var(--aps-head); font-weight: 500; font-size: 14.5px; letter-spacing: .01em; text-transform: none; color: var(--aps-ink); padding: 0 12px !important; position: relative; }
#header .menu > li > .ct-menu-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 26px; height: 2px; border-radius: 2px; background: var(--aps-sun); transform: scaleX(0); transition: transform .2s; }
#header .menu > li.current-menu-item > .ct-menu-link::after, #header .menu > li.current-menu-ancestor > .ct-menu-link::after, #header .menu > li > .ct-menu-link:hover::after { transform: scaleX(1); }
#header .menu > li.current-menu-item > .ct-menu-link, #header .menu > li.current-menu-ancestor > .ct-menu-link, #header .menu > li > .ct-menu-link:hover { color: var(--aps-pri); }
#header .menu > li.aps-menu-cta > .ct-menu-link { background: var(--aps-acc); color: #fff !important; border-radius: 999px; padding: 0 20px !important; height: 42px !important; font-weight: 600; margin-left: 10px; box-shadow: 0 6px 16px rgba(22,128,60,.25); }
#header .menu > li.aps-menu-cta > .ct-menu-link::after { display: none; }
#header .menu > li.aps-menu-cta > .ct-menu-link:hover { background: #126a31; }
#header .sub-menu { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(15,27,61,.16); border-top: 3px solid var(--aps-sun); padding: 6px 0; min-width: 220px; }
#header .sub-menu .ct-menu-link { font: 500 14px var(--aps-head); text-transform: none; padding: 10px 18px !important; }
#header .sub-menu .ct-menu-link:hover { background: var(--aps-pri-l); color: var(--aps-pri); }
@media (max-width: 1200px) { #header .menu > li > .ct-menu-link { padding: 0 8px !important; font-size: 14px; } #header .site-title { font-size: 19px; } }
@media (max-width: 999px) { #header .site-title-container::after { font-size: 9.5px; letter-spacing: .08em; } }
@media (max-width: 600px) {
	#header .site-logo-container img, #header [data-id="logo"] img { height: 46px !important; max-height: 46px !important; }
	#header .site-title { font-size: 16px; }
	#header .site-title-container { padding-left: 10px; }
	#header .site-title-container::after { content: "Est. 2004 · Nursery to Class 10" !important; font-size: 9px; letter-spacing: .06em; }
}

.aps-topbar { background: var(--aps-navy); color: #c7d0e6; font-size: 13.5px; }
.aps-topbar-in { max-width: 1240px; margin: 0 auto; padding: 7px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.aps-topbar-in > div { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.aps-topbar a { color: #e6ebf7; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.aps-topbar a:hover { color: #fff; }
.aps-topbar .aps-i { color: var(--aps-sun); }
@media (max-width: 760px) { .aps-hide-sm { display: none !important; } .aps-topbar-in { justify-content: center; } .aps-tb-r { display: none !important; } }

/* Notice strip */
.aps-strip { display: flex; align-items: stretch; background: #fff8e1; border-bottom: 1px solid #f6e3a6; font-size: 14.5px; overflow: hidden; }
.aps-strip-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; background: var(--aps-sun); color: #3b2a00; font: 600 13px var(--aps-head); padding: 7px 14px; text-transform: uppercase; letter-spacing: .04em; }
.aps-strip-track { flex: 1; display: flex; overflow: hidden; --aps-strip-speed: 30s; }
.aps-strip-run { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; padding: 7px 0 7px 18px; white-space: nowrap; animation: aps-marquee var(--aps-strip-speed) linear infinite; }
.aps-strip:hover .aps-strip-run, .aps-strip:focus-within .aps-strip-run { animation-play-state: paused; }
.aps-strip a, .aps-strip span { color: #5b4300; font-weight: 700; text-decoration: none; }
.aps-strip a:hover { text-decoration: underline; }
.aps-strip i { color: #c99400; font-style: normal; }
@keyframes aps-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .aps-strip-run { animation: none; } .aps-strip-run[aria-hidden] { display: none; } .aps-strip-track { overflow-x: auto; } }

/* Buttons */
.aps-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.aps-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 15.5px/1.2 var(--aps-head); text-decoration: none !important; border: 2px solid transparent; background: var(--aps-acc); color: #fff !important; box-shadow: 0 8px 20px rgba(22,128,60,.25); transition: background .15s, transform .15s; cursor: pointer; }
.aps-btn:hover { background: #126a31; transform: translateY(-1px); }
.aps-btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); color: #fff !important; box-shadow: none; }
.aps-btn-ghost:hover { background: #fff; color: var(--aps-pri) !important; }
.aps-btn-block { width: 100%; }
.aps-link { font: 600 15px var(--aps-head); color: var(--aps-pri); text-decoration: none; }
.aps-link:hover { text-decoration: underline; }

/* Sections */
.aps-sec { padding: clamp(46px, 6vw, 84px) 20px !important; }
.aps-sec.aps-soft { background: var(--aps-soft); }
.aps-sec.aps-tight { padding-top: 10px !important; }
.aps-sec > * { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.aps-sec.aps-narrow > * { max-width: 840px; }
.aps-eyebrow { text-align: center; margin: 0 auto 10px !important; width: max-content; max-width: 100%; color: var(--aps-acc); font: 700 13px var(--aps-head); letter-spacing: .1em; text-transform: uppercase; }
.aps-eyebrow::before, .aps-eyebrow::after { content: "—"; margin: 0 8px; color: var(--aps-sun); }
.aps-sec h1.aps-h, .aps-sec h2.aps-h { text-align: center; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; font-weight: 700; margin: 0 auto 12px !important; max-width: 860px; }
.aps-sec h1.aps-h { font-size: clamp(2rem, 4vw, 2.8rem); }
.aps-lead { text-align: center; color: var(--aps-muted); font-size: 1.08rem; max-width: 720px; margin: 0 auto 34px !important; }
.aps-sec.aps-ctasec { padding-top: 0 !important; }
.aps-soft + .aps-ctasec, .aps-ctasec:first-child { padding-top: clamp(46px, 6vw, 84px) !important; }
.aps-sub-h { font-size: 1.5rem; margin: 40px 0 16px; }
.aps-sec .wp-block-details { background: #fff; border: 1px solid var(--aps-line); border-radius: 14px; padding: 16px 20px; margin: 0 0 10px; box-shadow: var(--aps-sh); }
.aps-sec .wp-block-details summary { font: 600 16px var(--aps-head); color: var(--aps-ink); cursor: pointer; margin: 0 !important; padding: 0; }
.aps-sec .wp-block-details > *:last-child { margin-bottom: 0; }
.aps-sec .wp-block-details p { margin: 10px 0 0; }
.aps-more { text-align: center; margin: 26px 0 0 !important; }
.aps-more a { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--aps-head); color: var(--aps-pri); text-decoration: none; }
.aps-more a:hover { text-decoration: underline; }
.aps-empty { display: flex; gap: 12px; align-items: flex-start; color: var(--aps-muted); background: #fff; border: 1px dashed #c7d2fe; border-radius: var(--aps-r); padding: 18px; }
.aps-empty > .aps-i { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: #fff8e1; color: #b07d00; }
.aps-empty p { margin: 0; font-size: 15px; }
.aps-empty b { display: block; color: var(--aps-ink); font-family: var(--aps-head); font-weight: 600; }

/* Page heading band */
.aps-sec.aps-pagehead { background: radial-gradient(circle at 85% 10%, rgba(245,179,1,.18), transparent 40%), linear-gradient(135deg, var(--aps-pri), #234aa8); padding: clamp(44px, 6vw, 72px) 20px !important; }
.aps-pagehead .aps-eyebrow { color: #ffe08a; }
.aps-pagehead h1.aps-h { color: #fff; }
.aps-pagehead .aps-lead { color: #dbe3f7; margin-bottom: 0 !important; }

/* Hero */
.entry-content > .aps-hero, .entry-content > p > .aps-hero { width: 100vw; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; margin-top: 0; }
.aps-hero { position: relative; overflow: hidden; background: var(--aps-navy); color: #fff; min-height: min(74vh, 640px); display: flex; align-items: center; padding: clamp(56px, 8vw, 110px) 20px clamp(90px, 10vw, 130px); }
.aps-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aps-hero.has-slides .aps-hero-bg { opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease-out; }
.aps-hero.has-slides .aps-hero-bg.is-on { opacity: 1; transform: scale(1); }
.aps-hero-dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 84px; display: flex; gap: 8px; }
.aps-hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.aps-hero-dots button[aria-current] { width: 28px; background: var(--aps-sun); }
@media (prefers-reduced-motion: reduce) { .aps-hero.has-slides .aps-hero-bg { transition: none; transform: none; } }
@media (max-width: 760px) { .aps-hero-dots { bottom: 74px; } }
.aps-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(15,27,61,.92) 0%, rgba(15,27,61,.72) 45%, rgba(15,27,61,.25) 100%); }
.aps-hero-in { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; }
.aps-hero-in > * { max-width: 640px; }
.aps-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--aps-sun); color: #2f2200 !important; border-radius: 999px; padding: 7px 16px; font: 600 14px var(--aps-head); text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.aps-dot { width: 8px; height: 8px; border-radius: 50%; background: #16803c; box-shadow: 0 0 0 4px rgba(22,128,60,.25); animation: aps-pulse 1.8s infinite; }
@keyframes aps-pulse { 50% { box-shadow: 0 0 0 7px rgba(22,128,60,0); } }
.aps-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.12; font-weight: 700; margin: 18px 0 14px; }
.aps-hero-sub { color: #dbe3f7; font-size: 1.12rem; line-height: 1.65; margin: 0; }

/* Quick links (overlap the hero) */
.aps-sec.aps-quicksec { padding-top: 0 !important; padding-bottom: 10px !important; position: relative; z-index: 3; }
.aps-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -64px !important; }
.aps-quick a { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--aps-r); padding: 18px; box-shadow: 0 14px 40px rgba(15,27,61,.14); text-decoration: none; border: 1px solid var(--aps-line); transition: transform .15s, border-color .15s; }
.aps-quick a:hover { transform: translateY(-3px); border-color: #c7d2fe; }
.aps-quick-ic { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--aps-pri-l); color: var(--aps-pri); }
.aps-quick a:nth-child(2) .aps-quick-ic { background: #fff8e1; color: #b07d00; }
.aps-quick a:nth-child(3) .aps-quick-ic { background: var(--aps-acc-l); color: var(--aps-acc); }
.aps-quick a:nth-child(4) .aps-quick-ic { background: #fdecef; color: #be123c; }
.aps-quick-ic .aps-i { width: 24px; height: 24px; }
.aps-quick b { display: block; font: 600 16px var(--aps-head); color: var(--aps-ink); }
.aps-quick small { color: var(--aps-muted); font-size: 14px; }

/* Welcome */
.aps-welcome { gap: clamp(28px, 5vw, 64px) !important; align-items: center !important; }
.aps-welcome .aps-eyebrow, .aps-welcome h2.aps-h, .aps-videorow .aps-eyebrow, .aps-videorow h2.aps-h { text-align: left; margin-left: 0 !important; }
.aps-welcome .aps-eyebrow::before, .aps-videorow .aps-eyebrow::before { display: none; }
.aps-photo { margin: 0; }
.aps-photo img { border-radius: var(--aps-r); width: 100%; height: auto; display: block; box-shadow: var(--aps-sh); }
.aps-photo-tilt { position: relative; }
.aps-photo-tilt::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: var(--aps-r); background: repeating-linear-gradient(45deg, var(--aps-acc-l) 0 10px, #fff 10px 20px); z-index: -1; }
.aps-photo-tilt img { aspect-ratio: 4 / 4.2; object-fit: cover; }
.aps-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0; }
.aps-stats > div { background: var(--aps-soft); border-radius: 14px; padding: 14px 10px; text-align: center; }
.aps-stats b { display: block; font: 700 1.2rem var(--aps-head); color: var(--aps-pri); line-height: 1.2; }
.aps-stats span { font-size: 13px; color: var(--aps-muted); }

/* Facilities */
.aps-facs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aps-fac { background: #fff; border-radius: var(--aps-r); padding: 24px 22px; border: 1px solid var(--aps-line); box-shadow: var(--aps-sh); transition: transform .15s; }
.aps-fac:hover { transform: translateY(-3px); }
.aps-fac-ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--aps-pri-l); color: var(--aps-pri); margin-bottom: 14px; }
.aps-fac:nth-child(3n+2) .aps-fac-ic { background: var(--aps-acc-l); color: var(--aps-acc); }
.aps-fac:nth-child(3n) .aps-fac-ic { background: #fff8e1; color: #b07d00; }
.aps-fac-ic .aps-i { width: 26px; height: 26px; }
.aps-fac h3 { font-size: 1.08rem; margin: 0 0 6px; }
.aps-fac p { margin: 0; font-size: 15.5px; color: var(--aps-muted); line-height: 1.55; }
.aps-fac-img { margin: -24px -22px 16px; border-radius: var(--aps-r) var(--aps-r) 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.aps-fac-img img { width: 100%; height: 100%; object-fit: cover; }

/* News + notices */
.aps-newsnotices { gap: 36px !important; }
.aps-newsnotices h3 { font-size: 1.25rem; margin: 0 0 16px; }
.aps-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aps-newsnotices .aps-news { grid-template-columns: repeat(2, 1fr); }
.aps-card { background: #fff; border-radius: var(--aps-r); overflow: hidden; border: 1px solid var(--aps-line); box-shadow: var(--aps-sh); display: flex; flex-direction: column; }
.aps-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--aps-soft); }
.aps-card-img img, .aps-card-img .aps-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.aps-card:hover .aps-card-img img { transform: scale(1.04); }
.aps-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 5px; align-items: center; background: rgba(15,27,61,.75); color: #fff; font: 600 12.5px var(--aps-head); padding: 4px 10px; border-radius: 999px; }
.aps-card-body { padding: 18px 20px 22px; }
.aps-card time { font-size: 13.5px; color: var(--aps-acc); font-weight: 700; }
.aps-card h3 { font-size: 1.08rem; line-height: 1.35; margin: 6px 0 8px; }
.aps-card h3 a { color: var(--aps-ink); text-decoration: none; }
.aps-card h3 a:hover { color: var(--aps-pri); }
.aps-card p { margin: 0; font-size: 15px; color: var(--aps-muted); line-height: 1.55; }
.aps-notices { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--aps-line); border-radius: var(--aps-r); box-shadow: var(--aps-sh); }
.aps-notice { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid var(--aps-line); }
.aps-notice:last-child { border-bottom: 0; }
.aps-ndate { flex: 0 0 54px; text-align: center; background: var(--aps-pri-l); color: var(--aps-pri); border-radius: 10px; padding: 6px 2px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.aps-ndate b { display: block; font: 700 1.3rem var(--aps-head); }
.aps-notice.is-imp .aps-ndate { background: #fff8e1; color: #8a6200; }
.aps-ntitle { color: var(--aps-ink); font-weight: 700; text-decoration: none; line-height: 1.4; }
.aps-ntitle:hover { color: var(--aps-pri); }
.aps-nfile { display: inline-flex; gap: 4px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--aps-acc); text-decoration: none; margin-top: 4px; }
.aps-pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.aps-pager a, .aps-pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--aps-line); text-decoration: none; font-weight: 700; }
.aps-pager span { background: var(--aps-pri); color: #fff; border-color: var(--aps-pri); }

/* Gallery */
.aps-albums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aps-album { position: relative; display: block; aspect-ratio: 1; border-radius: var(--aps-r); overflow: hidden; box-shadow: var(--aps-sh); background: var(--aps-soft); }
.aps-album img, .aps-album .aps-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.aps-album:hover img { transform: scale(1.06); }
.aps-album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,27,61,.85)); }
.aps-album-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; }
.aps-album-cap b { display: block; font: 600 1.05rem/1.3 var(--aps-head); }
.aps-album-cap small { color: #dbe3f7; font-size: 13.5px; }
.aps-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.aps-photos a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--aps-soft); }
.aps-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.aps-photos a:hover img { transform: scale(1.05); }
.aps-album-meta { color: var(--aps-muted); font-size: 15px; }
.aps-after { margin-top: 48px; padding-top: 10px; border-top: 1px solid var(--aps-line); }
.aps-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,12,26,.94); display: flex; align-items: center; justify-content: center; padding: 50px 60px; }
.aps-lightbox[hidden] { display: none; }
.aps-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.aps-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.aps-lightbox button:hover { background: rgba(255,255,255,.25); }
.aps-lb-close { top: 14px; right: 14px; }
.aps-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.aps-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.aps-lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #c7d0e6; margin: 0; font-size: 14px; }

/* About */
.aps-journey { gap: 44px !important; align-items: center !important; }
.aps-journey h2 { font-size: 1.9rem; }
.aps-campus { gap: 14px !important; max-width: 960px !important; }
.aps-campus .aps-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.aps-vm { gap: 22px !important; }
.aps-box { background: #fff; border-radius: var(--aps-r); padding: 28px 30px; border-top: 5px solid var(--aps-pri); box-shadow: var(--aps-sh); height: 100%; }
.aps-vm > .wp-block-column:last-child .aps-box { border-top-color: var(--aps-acc); }
.aps-box h3 { margin-top: 0; }
.aps-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 280px)); justify-content: center; gap: 22px; }
.aps-member { margin: 0; background: #fff; border-radius: var(--aps-r); overflow: hidden; box-shadow: var(--aps-sh); border: 1px solid var(--aps-line); }
.aps-member img, .aps-member .aps-ph { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top; }
.aps-member figcaption { padding: 14px 16px 16px; text-align: center; }
.aps-member figcaption b { display: block; font: 600 1.05rem var(--aps-head); color: var(--aps-ink); }
.aps-member figcaption span { color: var(--aps-acc); font-weight: 700; font-size: 14px; }
.aps-member blockquote { margin: 0; padding: 0 18px 18px; font-size: 15px; color: var(--aps-muted); }

/* Video */
.aps-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--aps-r); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--aps-sh); }
.aps-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.aps-video:hover img { opacity: 1; }
.aps-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #dc2626; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.aps-play .aps-i { width: 34px; height: 34px; margin-left: 4px; }
.aps-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aps-videorow { gap: 44px !important; align-items: center !important; }

/* Reviews */
.aps-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aps-review { margin: 0; background: #fff; border-radius: var(--aps-r); padding: 26px; box-shadow: var(--aps-sh); border: 1px solid var(--aps-line); position: relative; }
.aps-review::before { content: "\201C"; position: absolute; right: 22px; top: 2px; font: 700 80px/1 Georgia, serif; color: var(--aps-pri-l); }
.aps-stars { display: flex; gap: 2px; color: var(--aps-sun); margin-bottom: 10px; }
.aps-review p { font-size: 15.5px; line-height: 1.65; margin: 0 0 14px; }
.aps-review footer b { display: block; font: 600 15.5px var(--aps-head); color: var(--aps-ink); }
.aps-review footer span { font-size: 13.5px; color: var(--aps-muted); }

/* CTA */
.aps-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: radial-gradient(circle at 90% 0%, rgba(245,179,1,.25), transparent 45%), linear-gradient(120deg, var(--aps-pri), #2a52b8); color: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 20px 50px rgba(30,58,138,.3); }
.aps-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.aps-cta p { margin: 0; color: #dbe3f7; max-width: 560px; }
.aps-cta .aps-btns { margin: 0; }

/* Admissions */
.aps-admrow { gap: 40px !important; }
.aps-admrow h2 { font-size: 1.7rem; margin-top: 0; }
.aps-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.aps-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; background: var(--aps-soft); border-radius: 14px; padding: 14px 16px; }
.aps-steps li > span { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--aps-pri); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 16px var(--aps-head); }
.aps-steps b { font: 600 16px var(--aps-head); color: var(--aps-ink); }
.aps-steps p { margin: 2px 0 0; font-size: 15px; color: var(--aps-muted); }
.aps-classes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; }
.aps-classes b { font: 600 15px var(--aps-head); color: var(--aps-ink); margin-right: 4px; }
.aps-classes span { background: var(--aps-acc-l); color: var(--aps-acc); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; }
.aps-ticks { list-style: none; padding: 0 !important; margin: 0 0 12px; }
.aps-ticks li { position: relative; padding-left: 30px; margin: 9px 0; }
.aps-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--aps-acc-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316803c'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.aps-facrow { gap: 40px !important; align-items: center !important; }

/* Forms */
.aps-form { background: #fff; border: 1px solid var(--aps-line); border-radius: 22px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 18px 44px rgba(15,27,61,.1); border-top: 5px solid var(--aps-acc); }
.aps-form-title { margin: 0; font-size: 1.4rem; }
.aps-form-sub { margin: 4px 0 18px; color: var(--aps-muted); font-size: 15px; }
.aps-form label { display: block; font: 600 14px var(--aps-head); color: var(--aps-ink); margin-bottom: 12px; }
.aps-form input, .aps-form select, .aps-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--aps-line); border-radius: 12px; font: 400 16px var(--aps-body); color: var(--aps-ink); background: #fbfcff; box-sizing: border-box; }
.aps-form input:focus, .aps-form select:focus, .aps-form textarea:focus { outline: none; border-color: var(--aps-pri); box-shadow: 0 0 0 3px rgba(30,58,138,.12); background: #fff; }
.aps-form select { height: auto !important; min-height: 50px; line-height: 1.3; padding-top: 12px; padding-bottom: 12px; }
.aps-form .is-bad { border-color: #dc2626 !important; background: #fef2f2; }
.aps-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.aps-form .aps-btn { margin-top: 6px; padding: 15px; font-size: 16px; border-radius: 14px; }
.aps-form .aps-btn:disabled { opacity: .7; cursor: default; transform: none; }
.aps-form-msg { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.aps-form-msg.is-ok { background: var(--aps-acc-l); color: #0f5d2b; }
.aps-form-msg.is-err { background: #fef2f2; color: #b91c1c; }

/* Contact */
.aps-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aps-contact li { display: flex; gap: 14px; align-items: flex-start; }
.aps-contact li > .aps-i { width: 40px; height: 40px; padding: 10px; box-sizing: border-box; border-radius: 12px; background: var(--aps-pri-l); color: var(--aps-pri); }
.aps-contact b { display: block; font: 600 15px var(--aps-head); color: var(--aps-ink); }
.aps-contact span { display: block; }
.aps-contact a { font-weight: 700; }
.aps-map { margin-top: 20px; border-radius: var(--aps-r); overflow: hidden; border: 1px solid var(--aps-line); }
.aps-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.aps-conrow { gap: 40px !important; }

/* Single news / notice / album */
.aps-notice-meta { display: flex; gap: 8px; align-items: center; color: var(--aps-muted); }
.aps-circular { max-width: 100%; border-radius: 12px; border: 1px solid var(--aps-line); }
.single-post .entry-content > p:first-child { font-size: 1.1rem; }

/* Footer */
.aps-footer { background: var(--aps-navy); color: #c7d0e6; font-size: 15px; margin-top: 0; }
.aps-footer-in { max-width: 1200px; margin: 0 auto; padding: 60px 20px 38px; display: grid; grid-template-columns: 1.4fr .9fr 1.1fr 1.4fr; gap: 34px; }
.aps-flogo { width: 74px; height: 74px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; }
.aps-fname { font: 600 1.2rem/1.3 var(--aps-head); color: #fff; margin: 10px 0 10px; }
.aps-fname small { display: block; font: 600 13px var(--aps-body); color: var(--aps-sun); }
.aps-footer h3 { color: #fff; font-size: 1.05rem; margin: 0 0 14px; }
.aps-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aps-footer a { color: #e6ebf7; text-decoration: none; }
.aps-footer a:hover { color: var(--aps-sun); }
.aps-footer .aps-contact li > .aps-i { width: 34px; height: 34px; padding: 8px; background: rgba(255,255,255,.08); color: var(--aps-sun); }
.aps-footer .aps-contact b { color: #fff; font-size: 14px; }
.aps-soc { display: flex; gap: 14px; flex-wrap: wrap; }
.aps-soc a { font-weight: 700; }
.aps-fbottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 16px 20px 18px; font-size: 13.5px; color: #97a3c2; }
.aps-fbottom span { margin-left: 8px; }

/* Floating buttons and mobile action bar */
.aps-float-wa, .aps-float-call { position: fixed; right: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: transform .15s; }
.aps-float-wa:hover, .aps-float-call:hover { transform: scale(1.06); color: #fff; }
.aps-float-wa { bottom: 22px; background: #25d366; }
.aps-float-call { bottom: 88px; background: var(--aps-pri); }
.aps-float-wa .aps-i { width: 30px; height: 30px; }
.aps-float-call .aps-i { width: 24px; height: 24px; }
.aps-totop { position: fixed; right: 25px; bottom: 154px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--aps-line); background: #fff; color: var(--aps-ink); box-shadow: 0 8px 22px rgba(15,27,61,.16); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .15s, color .15s, transform .15s; }
.aps-totop[hidden] { display: none; }
.aps-totop:hover { background: var(--aps-pri); color: #fff; transform: translateY(-2px); }
.aps-totop svg { width: 22px; height: 22px; }
body:not(:has(.aps-float-wa)) .aps-float-call { bottom: 22px; }
body:not(:has(.aps-float-wa)) .aps-totop { bottom: 88px; }

/* Page banner photo */
.aps-sec.aps-pagehead { position: relative; overflow: hidden; }
.aps-pagehead::before { content: ""; position: absolute; inset: 0; background-image: var(--aps-ph, none); background-size: cover; background-position: center 35%; opacity: .28; mix-blend-mode: luminosity; }
.aps-pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--aps-sun) 0 33%, var(--aps-acc) 33% 66%, #6366f1 66%); }
.aps-pagehead > * { position: relative; z-index: 1; }

/* Stages */
.aps-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aps-stage { background: #fff; border-radius: 22px; padding: 28px 26px; border: 1px solid var(--aps-line); box-shadow: var(--aps-sh); position: relative; overflow: hidden; }
.aps-stage::before { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--aps-pri-l); }
.aps-stage.s1::before { background: var(--aps-acc-l); }
.aps-stage.s2::before { background: #fff8e1; }
.aps-stage > * { position: relative; }
.aps-stage-ic { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--aps-pri); color: #fff; margin-bottom: 16px; }
.aps-stage.s1 .aps-stage-ic { background: var(--aps-acc); }
.aps-stage.s2 .aps-stage-ic { background: #c98a00; }
.aps-stage-ic .aps-i { width: 26px; height: 26px; }
.aps-stage-k { margin: 0; font: 700 12.5px var(--aps-head); letter-spacing: .08em; text-transform: uppercase; color: var(--aps-acc); }
.aps-stage h3 { margin: 4px 0 8px; font-size: 1.35rem; }
.aps-stage p:last-child { margin: 0; color: var(--aps-muted); font-size: 15.5px; }
.aps-center { text-align: center; margin-top: 24px !important; }
.aps-aca { gap: 40px !important; }
.aps-aca h2 { font-size: 1.6rem; margin-top: 0; }

/* Staff */
.aps-member-img { overflow: hidden; }
.aps-avatar { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3.4; font: 700 2.6rem var(--aps-head); color: #fff; background: linear-gradient(135deg, var(--aps-pri), #3b5fc4); }
.aps-avatar.c1 { background: linear-gradient(135deg, #16803c, #2fa35a); }
.aps-avatar.c2 { background: linear-gradient(135deg, #b07d00, #e0a800); }
.aps-avatar.c3 { background: linear-gradient(135deg, #7c3aed, #a066f5); }
.aps-avatar.c4 { background: linear-gradient(135deg, #be123c, #e14a6d); }
.aps-member figcaption small { display: block; color: var(--aps-muted); font-size: 13.5px; margin-top: 2px; }
.aps-team.is-compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.aps-team.is-compact .aps-member { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; }
.aps-team.is-compact .aps-member-img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; }
.aps-team.is-compact .aps-member-img img { width: 56px; height: 56px; aspect-ratio: 1; }
.aps-team.is-compact .aps-avatar { width: 56px; height: 56px; aspect-ratio: 1; font-size: 1.1rem; border-radius: 50%; }
.aps-team.is-compact figcaption { padding: 0; text-align: left; }
.aps-team.is-compact figcaption b { font-size: 15.5px; }
.aps-team.is-compact figcaption span { font-size: 13.5px; }
@media (max-width: 1000px) { .aps-stages { grid-template-columns: 1fr; } }
.aps-mbar { display: none; }

/* Responsive */
@media (max-width: 1000px) {
	.aps-quick { grid-template-columns: 1fr 1fr; }
	.aps-facs, .aps-albums { grid-template-columns: repeat(2, 1fr); }
	.aps-news, .aps-reviews { grid-template-columns: 1fr 1fr; }
	.aps-footer-in { grid-template-columns: 1fr 1fr; }
	.aps-stats { grid-template-columns: repeat(2, 1fr); }
	.aps-campus { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 781px) {
	.aps-newsnotices .aps-news { grid-template-columns: 1fr 1fr; }
	.aps-photo-tilt::before { display: none; }
	.aps-welcome .aps-eyebrow, .aps-welcome h2.aps-h, .aps-videorow .aps-eyebrow, .aps-videorow h2.aps-h { text-align: center; margin-left: auto !important; }
}
@media (max-width: 760px) {
	body { font-size: 16px; padding-bottom: 68px; }
	.aps-float-wa, .aps-float-call { display: none; }
	.aps-totop { right: 14px; bottom: 84px; width: 40px; height: 40px; }
	.aps-mbar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--aps-line); box-shadow: 0 -6px 20px rgba(15,27,61,.08); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
	.aps-mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 6px; border-radius: 12px; font: 600 14px var(--aps-head); text-decoration: none; background: var(--aps-soft); color: var(--aps-ink); }
	.aps-mbar a.is-main { background: var(--aps-acc); color: #fff; }
	.aps-mbar a.is-wa { background: #25d366; color: #fff; }
	.aps-hero { min-height: 0; padding-bottom: 96px; }
	.aps-hero::before { background: linear-gradient(180deg, rgba(15,27,61,.75), rgba(15,27,61,.9)); }
	.aps-hero .aps-btns .aps-btn { flex: 1 1 100%; }
}
@media (max-width: 600px) {
	.aps-quick { gap: 10px; }
	.aps-quick a { flex-direction: column; text-align: center; padding: 14px 10px; gap: 8px; }
	.aps-quick small { font-size: 12.5px; }
	.aps-facs { grid-template-columns: 1fr 1fr; gap: 12px; }
	.aps-fac { padding: 18px 16px; }
	.aps-fac p { font-size: 14px; }
	.aps-news, .aps-newsnotices .aps-news, .aps-reviews, .aps-footer-in { grid-template-columns: 1fr; }
	.aps-albums { grid-template-columns: 1fr 1fr; gap: 10px; }
	.aps-album-cap { left: 10px; right: 10px; bottom: 8px; }
	.aps-album-cap b { font-size: .92rem; }
	.aps-photos { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.aps-photos a { border-radius: 8px; }
	.aps-grid2 { grid-template-columns: 1fr; }
	.aps-cta { text-align: center; justify-content: center; }
	.aps-cta .aps-btns { justify-content: center; width: 100%; }
	.aps-cta .aps-btn { flex: 1 1 100%; }
	.aps-lightbox { padding: 50px 6px; }
	.aps-lightbox .aps-lb-prev, .aps-lightbox .aps-lb-next { top: auto; bottom: 6px; transform: none; }
}

/* Academic year filter */
.aps-ayf { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 28px !important; }
.aps-ayf span { font: 600 13px var(--aps-head); letter-spacing: .08em; text-transform: uppercase; color: var(--aps-muted); margin-right: 4px; }
.aps-ayf a { padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--aps-line); background: #fff; color: var(--aps-ink); font: 600 14px var(--aps-head); text-decoration: none; transition: all .15s; }
.aps-ayf a:hover { border-color: var(--aps-pri); color: var(--aps-pri); }
.aps-ayf a[aria-current] { background: var(--aps-pri); border-color: var(--aps-pri); color: #fff; }
.aps-ay-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--aps-pri-l); color: var(--aps-pri); font: 700 11.5px var(--aps-head); vertical-align: 1px; }
.aps-empty-s { text-align: center; color: var(--aps-muted); }
