/* Quick Access Floating Cards */
.sxm-quick-access-section {
	position: relative;
	z-index: 10;
	margin-top: -42px;
	padding-bottom: 24px;
}

.sxm-quick-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
	gap: 16px;
}

.sxm-quick-card {
	background: var(--sxm-white);
	border: 1px solid var(--sxm-border);
	border-top: 3px solid var(--sxm-card-accent, var(--sxm-royal));
	border-radius: var(--sxm-radius-md);
	padding: 18px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: var(--sxm-shadow-md);
	color: var(--sxm-ink);
	transition: transform 0.28s var(--sxm-ease), box-shadow 0.28s var(--sxm-ease);
}

.sxm-quick-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--sxm-shadow-lg);
	color: var(--sxm-navy);
}

.sxm-quick-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--sxm-surface);
	color: var(--sxm-card-accent, var(--sxm-royal));
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.sxm-quick-text strong {
	display: block;
	font-size: 0.95rem;
	line-height: 1.25;
}

.sxm-quick-text small {
	color: var(--sxm-muted);
	font-size: 0.78rem;
}

.sxm-quick-arrow {
	margin-left: auto;
	color: var(--sxm-gold);
	font-weight: 700;
}

/* Welcome Section */
.sxm-welcome-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 54px;
	align-items: center;
}

.sxm-welcome-media {
	position: relative;
}

.sxm-editorial-frame {
	border-radius: var(--sxm-radius-lg);
	overflow: hidden;
	box-shadow: var(--sxm-shadow-lg);
}

.sxm-editorial-frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.sxm-editorial-placeholder {
	background: linear-gradient(135deg, var(--sxm-navy), var(--sxm-royal));
	color: var(--sxm-white);
	border-radius: var(--sxm-radius-lg);
	padding: 48px 36px;
	min-height: 360px;
	display: grid;
	place-items: center;
	text-align: center;
	box-shadow: var(--sxm-shadow-lg);
}

.sxm-crest-card h3 {
	color: var(--sxm-white);
	margin-top: 14px;
}

.sxm-crest-card p {
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

.sxm-crest-badge {
	display: inline-block;
	padding: 6px 18px;
	border-radius: 999px;
	border: 1px solid var(--sxm-gold-light);
	color: var(--sxm-gold-light);
	font-weight: 700;
}

.sxm-welcome-badge-card {
	position: absolute;
	right: -14px;
	bottom: -20px;
	background: var(--sxm-white);
	border: 1px solid var(--sxm-border);
	border-left: 4px solid var(--sxm-gold);
	border-radius: var(--sxm-radius-md);
	padding: 16px 20px;
	box-shadow: var(--sxm-shadow-lg);
}

.sxm-badge-label {
	display: block;
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sxm-muted);
}

.sxm-welcome-badge-card strong {
	display: block;
	font-family: var(--sxm-font-heading);
	font-size: 1.65rem;
	color: var(--sxm-navy);
}

.sxm-welcome-highlights {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 24px 0 28px;
}

.sxm-highlight-item {
	background: var(--sxm-surface);
	padding: 14px 16px;
	border-radius: var(--sxm-radius-sm);
	border-left: 3px solid var(--sxm-gold);
}

.sxm-highlight-item strong {
	display: block;
	color: var(--sxm-navy);
}

.sxm-highlight-item span {
	font-size: 0.86rem;
	color: var(--sxm-muted);
}

/* Statistics Counters */
.sxm-stats-section {
	background: linear-gradient(135deg, var(--sxm-navy-deep), var(--sxm-royal));
	color: var(--sxm-white);
	padding-block: 60px;
}

.sxm-stats-empty {
	background: var(--sxm-surface);
	padding-block: 24px;
}

.sxm-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px;
	text-align: center;
}

.sxm-stat-card {
	padding: 20px 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--sxm-radius-md);
}

.sxm-stat-value {
	font-family: var(--sxm-font-heading);
	font-size: clamp(2rem, 3.2vw, 3rem);
	font-weight: 700;
	color: var(--sxm-gold-light);
	line-height: 1.1;
}

.sxm-stat-label {
	margin-top: 8px;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.9);
}

/* Principal's Message & Repeatable Leadership Cards */
.sxm-principal-section {
	background: var(--sxm-surface);
}

.sxm-leadership-stack {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.sxm-principal-card {
	background: var(--sxm-white);
	border-radius: var(--sxm-radius-lg);
	box-shadow: var(--sxm-shadow-md);
	display: grid;
	grid-template-columns: 340px 1fr;
	overflow: hidden;
	border: 1px solid var(--sxm-border);
}

.sxm-principal-card-alt {
	grid-template-columns: 1fr 340px;
}

.sxm-principal-card-alt .sxm-principal-media {
	order: 2;
}

.sxm-principal-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sxm-principal-placeholder {
	height: 100%;
	min-height: 320px;
	background: linear-gradient(160deg, var(--sxm-navy), var(--sxm-royal));
	color: var(--sxm-gold-light);
	display: grid;
	place-items: center;
}

.sxm-principal-placeholder svg {
	width: 64px;
	height: 64px;
}

.sxm-principal-body {
	padding: 42px 46px;
}

.sxm-principal-quote {
	margin: 16px 0 26px;
	padding-left: 20px;
	border-left: 3px solid var(--sxm-gold);
	font-size: 1.04rem;
	color: var(--sxm-ink);
}

.sxm-principal-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
}

.sxm-principal-sig {
	max-height: 52px;
	margin-bottom: 8px;
}

.sxm-principal-name {
	display: block;
	font-size: 1.05rem;
	color: var(--sxm-navy);
}

.sxm-principal-role {
	color: var(--sxm-muted);
	font-size: 0.88rem;
}

/* Academic Programs */
.sxm-academics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 22px;
}

.sxm-academic-card {
	background: var(--sxm-white);
	border: 1px solid var(--sxm-border);
	border-radius: var(--sxm-radius-md);
	overflow: hidden;
	box-shadow: var(--sxm-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s var(--sxm-ease), box-shadow 0.3s var(--sxm-ease);
}

.sxm-academic-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--sxm-shadow-lg);
}

.sxm-academic-media {
	position: relative;
	height: 185px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--sxm-navy), var(--sxm-royal));
}

.sxm-academic-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--sxm-ease);
}

.sxm-academic-card:hover .sxm-academic-media img {
	transform: scale(1.07);
}

.sxm-academic-pattern {
	height: 100%;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.35);
}

.sxm-academic-pattern svg {
	width: 48px;
	height: 48px;
}

.sxm-academic-stage {
	position: absolute;
	left: 14px;
	bottom: 12px;
	background: rgba(11, 29, 58, 0.85);
	color: var(--sxm-gold-light);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}

.sxm-academic-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.sxm-academic-body h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
}

.sxm-academic-body p {
	color: var(--sxm-muted);
	font-size: 0.93rem;
	margin: 0 0 18px;
	flex: 1;
}

/* Facilities Grid */
.sxm-facilities-section {
	background: var(--sxm-surface);
}

.sxm-facilities-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.sxm-facility-card {
	position: relative;
	border-radius: var(--sxm-radius-md);
	overflow: hidden;
	min-height: 230px;
	display: flex;
	align-items: flex-end;
	box-shadow: var(--sxm-shadow-sm);
	background: linear-gradient(145deg, var(--sxm-navy), var(--sxm-royal));
}

.sxm-facility-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--sxm-ease);
}

.sxm-facility-card:hover img {
	transform: scale(1.08);
}

.sxm-facility-overlay {
	position: relative;
	z-index: 2;
	margin: 12px;
	width: fit-content;
	max-width: calc(100% - 24px);
	padding: 10px 14px;
	background: rgba(7, 12, 22, 0.78);
	backdrop-filter: blur(6px);
	border-radius: 10px;
	border-left: 3px solid var(--sxm-gold);
	color: var(--sxm-white);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.sxm-facility-overlay h3 {
	color: var(--sxm-white);
	font-size: 1.12rem;
	margin: 0 0 4px;
}

.sxm-facility-overlay span {
	font-size: 0.82rem;
	color: var(--sxm-gold-light);
}

/* News & Events */
.sxm-news-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
	align-items: start;
}

.sxm-news-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.sxm-news-card {
	background: var(--sxm-white);
	border: 1px solid var(--sxm-border);
	border-radius: var(--sxm-radius-md);
	overflow: hidden;
	box-shadow: var(--sxm-shadow-sm);
	transition: transform 0.28s var(--sxm-ease), box-shadow 0.28s var(--sxm-ease);
}

.sxm-news-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--sxm-shadow-md);
}

.sxm-news-card-media {
	position: relative;
	height: 200px;
	overflow: hidden;
	background: var(--sxm-surface-alt);
}

.sxm-news-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--sxm-ease);
}

.sxm-news-card:hover .sxm-news-card-media img {
	transform: scale(1.06);
}

.sxm-news-cat {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--sxm-navy);
	color: var(--sxm-white);
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
}

.sxm-news-card-body {
	padding: 20px;
}

.sxm-news-date {
	display: block;
	font-size: 0.8rem;
	color: var(--sxm-muted);
	margin-bottom: 6px;
}

.sxm-news-title {
	font-size: 1.15rem;
	margin-bottom: 8px;
}

.sxm-news-excerpt {
	color: var(--sxm-muted);
	font-size: 0.92rem;
	margin-bottom: 14px;
}

.sxm-notice-board {
	background: var(--sxm-surface);
	border: 1px solid var(--sxm-border);
	border-radius: var(--sxm-radius-md);
	overflow: hidden;
	margin-bottom: 22px;
}

.sxm-notice-board-head {
	background: var(--sxm-navy);
	color: var(--sxm-white);
	padding: 14px 18px;
}

.sxm-notice-board-head h3 {
	color: var(--sxm-white);
	font-size: 1.05rem;
	margin: 0;
}

.sxm-notice-list,
.sxm-event-mini-list {
	list-style: none;
	margin: 0;
	padding: 14px 18px;
}

.sxm-notice-row {
	padding: 10px 0;
	border-bottom: 1px solid var(--sxm-border);
}

.sxm-notice-row:last-child {
	border-bottom: 0;
}

.sxm-notice-date {
	display: block;
	font-size: 0.76rem;
	color: var(--sxm-muted);
}

.sxm-event-mini-list li {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--sxm-border);
}

.sxm-event-mini-list li:last-child {
	border-bottom: 0;
}

.sxm-ev-date-badge {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: var(--sxm-navy);
	color: var(--sxm-white);
	text-align: center;
	padding: 5px;
	flex-shrink: 0;
}

.sxm-ev-date-badge strong {
	display: block;
	font-size: 1.05rem;
	line-height: 1.1;
	color: var(--sxm-gold-light);
}

.sxm-ev-date-badge span {
	font-size: 0.7rem;
	text-transform: uppercase;
}

.sxm-load-more-wrap,
.sxm-section-cta-center {
	text-align: center;
	margin-top: 32px;
}

/* Achievements & Testimonials */
.sxm-achievements-section {
	background: var(--sxm-surface);
}

.sxm-achievements-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 22px;
}

.sxm-achievement-card {
	background: var(--sxm-white);
	border: 1px solid var(--sxm-border);
	border-radius: var(--sxm-radius-md);
	padding: 24px;
	box-shadow: var(--sxm-shadow-sm);
}

.sxm-achievement-top {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.sxm-achievement-avatar img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.sxm-badge-gold {
	display: inline-block;
	background: rgba(201, 151, 44, 0.16);
	color: #8f6510;
	font-size: 0.74rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 4px;
}

.sxm-achievement-title {
	font-size: 1.08rem;
	margin: 0;
}

.sxm-achievement-meta strong {
	display: block;
	color: var(--sxm-navy);
}

.sxm-achievement-meta span {
	font-size: 0.84rem;
	color: var(--sxm-muted);
}

/* Admission CTA Banner */
.sxm-admission-cta-section {
	position: relative;
	background: linear-gradient(135deg, var(--sxm-navy-deep), var(--sxm-royal));
	background-size: cover;
	background-position: center;
	padding-block: 80px;
	color: var(--sxm-white);
}

.sxm-admission-cta-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(7, 19, 38, 0.92), rgba(22, 66, 139, 0.82));
}

.sxm-admission-cta-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
}

.sxm-cta-pill {
	display: inline-block;
	background: rgba(224, 180, 74, 0.2);
	border: 1px solid var(--sxm-gold-light);
	color: var(--sxm-gold-light);
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.sxm-admission-cta-text h2 {
	color: var(--sxm-white);
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.sxm-admission-cta-text p {
	max-width: 620px;
	opacity: 0.9;
	margin: 0;
}

.sxm-admission-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Footer */
.sxm-site-footer {
	background: var(--sxm-footer-bg);
	color: rgba(255, 255, 255, 0.82);
}

.sxm-footer-main {
	padding-block: 64px 48px;
}

.sxm-footer-grid {
	display: grid;
	gap: 32px;
}

.sxm-footer-cols-4 { grid-template-columns: 1.35fr 1fr 1fr 1.15fr; }
.sxm-footer-cols-3 { grid-template-columns: 1.3fr 1fr 1.1fr; }
.sxm-footer-cols-2 { grid-template-columns: 1fr 1fr; }

.sxm-footer-heading {
	color: var(--sxm-white);
	font-size: 1.12rem;
	margin-bottom: 16px;
}

.sxm-footer-links,
.sxm-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sxm-footer-links li,
.sxm-footer-contact li {
	margin-bottom: 10px;
	display: flex;
	gap: 9px;
	align-items: flex-start;
}

.sxm-footer-links a,
.sxm-footer-contact a {
	color: rgba(255, 255, 255, 0.8);
}

.sxm-footer-links a:hover,
.sxm-footer-contact a:hover {
	color: var(--sxm-gold-light);
}

.sxm-footer-socials {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.sxm-footer-socials a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--sxm-white);
	display: grid;
	place-items: center;
}

.sxm-footer-socials a:hover {
	background: var(--sxm-gold);
	color: var(--sxm-navy);
}

.sxm-footer-map iframe {
	width: 100%;
	height: 150px;
	border: 0;
	border-radius: var(--sxm-radius-sm);
	margin-top: 12px;
}

.sxm-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: 18px;
	font-size: 0.86rem;
}

.sxm-footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

.sxm-footer-bottom p {
	margin: 0;
}

.sxm-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: var(--sxm-navy);
	color: var(--sxm-gold-light);
	box-shadow: var(--sxm-shadow-md);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.3s var(--sxm-ease);
	z-index: 800;
	display: grid;
	place-items: center;
}

.sxm-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
