/*
Theme Name: St. Mary's Orthodox School
Theme URI: https://stmarysorthodoxschool.com
Author: St. Mary's Orthodox School
Author URI: https://stmarysorthodoxschool.com
Description: A premium, animated WordPress theme for St. Mary's Orthodox School Kanpur – affiliated to CISCE. Features animated hero, notice ticker, dynamic counters, smooth scroll animations, admission enquiry form, and fully responsive design.
Version: 2.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stmarys-theme
Tags: education, school, responsive, animated, one-page
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --maroon: #7B1D2A;
  --maroon-mid: #6B1A22;
  --maroon-deep: #5A1220;
  --maroon-light: #9E2435;
  --maroon-pale: #F8EEF0;
  --maroon-tint: #FCF5F6;
  --gold: #C9973A;
  --gold-light: #E8C06A;
  --gold-pale: #FBF3E3;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --gray-50: #F7F7F5;
  --gray-100: #EDECE8;
  --gray-300: #C5C4BF;
  --gray-400: #A8A79F;
  --gray-500: #8A8980;
  --gray-700: #4A4945;
  --gray-800: #2E2D2A;
  --gray-900: #1E1E1C;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(123,29,42,0.08);
  --shadow-md: 0 8px 40px rgba(123,29,42,0.12);
  --transition: 0.22s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
#home, #about, #results, #events, #academic-highlights, #contact, #welcome, #achievers { scroll-margin-top: 90px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: var(--font-body); }

/* Lock scroll while the splash preloader is up */
html.smos-intro-lock, html.smos-intro-lock body { overflow: hidden; height: 100%; }

/* =============================================
   SPLASH PRELOADER (first homepage visit only)
   ============================================= */
.smos-preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  background: radial-gradient(circle at 50% 42%, var(--maroon) 0%, var(--maroon-deep) 75%);
  transition: opacity .6s ease, visibility .6s ease;
}
.smos-preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.smos-preloader.is-skip { display: none; }

.smos-preloader__logo {
  position: relative; z-index: 1;
  width: 190px; height: 190px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 22px 60px rgba(0,0,0,.4);
  animation: smos-logo-in 1.3s ease-out both;
  overflow: hidden;
}
.smos-preloader__logo img { width: 100%; height: 100%; object-fit: cover; }
.smos-preloader__logo svg { width: 46%; height: 46%; color: var(--maroon); }

.smos-preloader__ring {
  position: absolute; width: 232px; height: 232px; border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--gold-light);
  border-right-color: var(--gold-light);
  animation: smos-ring-spin 1.8s linear infinite, smos-ring-in .6s ease both;
}

.smos-preloader__name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  animation: smos-text-in .8s ease .5s forwards;
}

@keyframes smos-logo-in {
  0%   { opacity: 0; filter: blur(16px); transform: scale(.8); }
  60%  { opacity: 1; filter: blur(2px); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
@keyframes smos-ring-in {
  0%   { opacity: 0; transform: scale(.7); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes smos-ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes smos-text-in {
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .smos-preloader__logo { width: 140px; height: 140px; }
  .smos-preloader__ring { width: 176px; height: 176px; }
  .smos-preloader__name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .smos-preloader__logo, .smos-preloader__ring, .smos-preloader__name { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .smos-preloader { transition: none !important; }
}

/* =============================================
   TOPBAR
   ============================================= */
.smos-topbar {
  background: linear-gradient(90deg, var(--maroon-deep) 0%, var(--maroon) 50%, var(--maroon-deep) 100%);
  background-size: 200% 100%;
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 7px 0;
  position: relative;
  overflow: hidden;
  animation: topbar-sheen 14s linear infinite;
}
.smos-topbar::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,150,62,.55), transparent);
}
@keyframes topbar-sheen {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.smos-topbar__inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.smos-topbar a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color var(--transition); }

/* Entrance animation — staggered fade/slide down on load */
.smos-topbar__left > *, .smos-topbar__right > * {
  opacity: 0; transform: translateY(-6px);
  animation: topbar-item-in .55s ease forwards;
}
.smos-topbar__left > *:nth-child(1) { animation-delay: .05s; }
.smos-topbar__left > *:nth-child(2) { animation-delay: .12s; }
.smos-topbar__left > *:nth-child(3) { animation-delay: .19s; }
.smos-topbar__left > *:nth-child(4) { animation-delay: .26s; }
.smos-topbar__left > *:nth-child(5) { animation-delay: .33s; }
.smos-topbar__right > *:nth-child(1) { animation-delay: .15s; }
.smos-topbar__right > *:nth-child(2) { animation-delay: .21s; }
.smos-topbar__right > *:nth-child(3) { animation-delay: .27s; }
.smos-topbar__right > *:nth-child(4) { animation-delay: .33s; }
.smos-topbar__right > *:nth-child(5) { animation-delay: .40s; }
@keyframes topbar-item-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .smos-topbar, .smos-topbar__left > *, .smos-topbar__right > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Contact links — icon + underline-grow hover */
.smos-topbar__left { display: flex; gap: 20px; align-items: center; }
.smos-topbar__item {
  display: inline-flex; align-items: center; gap: 6px;
  position: relative; padding-bottom: 1px;
}
.smos-topbar__item svg {
  width: 13px; height: 13px; flex-shrink: 0;
  color: var(--gold-light);
  transition: transform .25s ease;
}
a.smos-topbar__item::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold-light);
  transition: width .25s ease;
}
a.smos-topbar__item:hover { color: #fff; }
a.smos-topbar__item:hover::after { width: 100%; }
a.smos-topbar__item:hover svg { transform: scale(1.15) rotate(-6deg); }

.smos-topbar__divider { opacity: 0.3; }

/* Social icon buttons — circular, brand-glow on hover */
.smos-topbar__right { display: flex; gap: 10px; align-items: center; }
.smos-topbar__social {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.smos-topbar__social svg { width: 12px; height: 12px; fill: rgba(255,255,255,.85); transition: fill .25s ease; }
.smos-topbar__social:hover { transform: translateY(-2px) scale(1.08); border-color: transparent; }
.smos-topbar__social.is-fb:hover  { background: #1877F2; box-shadow: 0 3px 12px rgba(24,119,242,.5); }
.smos-topbar__social.is-ig:hover  { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 3px 12px rgba(214,36,159,.4); }
.smos-topbar__social.is-yt:hover  { background: #FF0000; box-shadow: 0 3px 12px rgba(255,0,0,.45); }
.smos-topbar__social:hover svg { fill: #fff; }

/* Admission badge — pulse + diagonal shine sweep */
.smos-admission-badge {
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold);
  color: var(--maroon-deep) !important;
  padding: 3px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: topbar-item-in .55s ease forwards, pulse-badge 2.4s ease-in-out .55s infinite;
}
.smos-admission-badge::before {
  content: '';
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  animation: badge-shine 3.2s ease-in-out .8s infinite;
}
.smos-admission-badge .smos-badge-icon { display: inline-block; animation: badge-bounce 1.8s ease-in-out .8s infinite; }
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,150,62,.45); }
  50%      { box-shadow: 0 0 0 5px rgba(200,150,62,0); }
}
@keyframes badge-shine {
  0%   { left: -60%; }
  35%  { left: 130%; }
  100% { left: 130%; }
}
@keyframes badge-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.5px); }
}

/* =============================================
   HEADER / NAV
   ============================================= */
.smos-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}
.smos-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.smos-header__inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  box-sizing: border-box;
}
.smos-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}
.smos-logo__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.smos-logo__icon img { width: 100%; height: 100%; object-fit: contain; }
.smos-logo__icon svg { width: 28px; height: 28px; fill: white; }
.smos-logo__icon.is-fallback-icon {
  width: 48px;
  height: 48px;
  background: var(--maroon);
  border-radius: 50%;
  overflow: hidden;
}
.smos-logo__text { min-width: 0; overflow: hidden; }
.smos-logo__text h1 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--maroon); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smos-logo__text p { font-size: 11px; color: var(--gray-500); font-weight: 400; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.smos-nav { display: flex; align-items: center; gap: 4px; }
.smos-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color .25s ease, transform .25s ease;
  position: relative;
  white-space: nowrap;
}
.smos-nav > .menu-item > a {
  display: inline-flex;
  align-items: center;
}
/* Sliding underline — grows from the center outward */
.smos-nav > .menu-item > a::before {
  content: '';
  position: absolute;
  left: 50%; right: 50%; bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
  border-radius: 2px;
  transition: left .3s cubic-bezier(.4,0,.2,1), right .3s cubic-bezier(.4,0,.2,1);
}
.smos-nav > .menu-item > a:hover,
.smos-nav > .menu-item > a:focus-visible {
  color: var(--maroon);
  transform: translateY(-1px);
}
.smos-nav > .menu-item > a:hover::before,
.smos-nav > .menu-item > a:focus-visible::before,
.smos-nav > .menu-item.current-menu-item > a::before,
.smos-nav > .menu-item.current_page_item > a::before,
.smos-nav > .menu-item.current-menu-ancestor > a::before {
  left: 6px; right: 6px;
}
.smos-nav a.current-menu-item,
.smos-nav .current-menu-item > a,
.smos-nav .current_page_item > a { color: var(--maroon); }

.smos-nav .nav-cta {
  background: var(--maroon);
  color: white !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 600;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.smos-nav .nav-cta::before { display: none; content: none; } /* no underline on the pill CTA */
.smos-nav .nav-cta:hover {
  background: var(--maroon-light) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123,29,42,.3);
}

/* Dropdown */
.smos-nav .menu-item-has-children { position: relative; }
.smos-nav .menu-item-has-children > a::after {
  content: '';
  width: 6px; height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease, margin-top .25s ease;
  display: inline-block;
}
.smos-nav .menu-item-has-children:hover > a::after { transform: rotate(225deg); margin-top: 4px; }
.smos-nav .sub-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  padding: 8px;
  z-index: 100;
  border: 1px solid var(--gray-100);
  border-top: 2px solid var(--gold);
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.smos-nav .menu-item-has-children:hover > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.smos-nav .sub-menu li a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--gray-700);
  position: relative;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
  opacity: 0;
  transform: translateX(-6px);
}
.smos-nav .menu-item-has-children:hover > .sub-menu li a {
  animation: submenu-item-in .32s ease forwards;
}
.smos-nav .sub-menu li:nth-child(1) a { animation-delay: .03s; }
.smos-nav .sub-menu li:nth-child(2) a { animation-delay: .07s; }
.smos-nav .sub-menu li:nth-child(3) a { animation-delay: .11s; }
.smos-nav .sub-menu li:nth-child(4) a { animation-delay: .15s; }
.smos-nav .sub-menu li:nth-child(5) a { animation-delay: .19s; }
.smos-nav .sub-menu li:nth-child(6) a { animation-delay: .23s; }
@keyframes submenu-item-in { to { opacity: 1; transform: translateX(0); } }
.smos-nav .sub-menu li a:hover { background: var(--maroon-pale); color: var(--maroon); padding-left: 20px; }
@media (prefers-reduced-motion: reduce) {
  .smos-nav > .menu-item > a, .smos-nav .sub-menu, .smos-nav .sub-menu li a, .smos-nav .menu-item-has-children > a::after, .smos-nav .nav-cta {
    animation: none !important; transition: none !important;
  }
  .smos-nav .sub-menu li a { opacity: 1 !important; transform: none !important; }
}

/* Mobile toggle */
.smos-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.smos-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s;
  border-radius: 2px;
}
.smos-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.smos-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.smos-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   NOTICE TICKER
   ============================================= */
.smos-notice-bar {
  background: var(--maroon-pale);
  border-top: 1px solid rgba(123,29,42,0.1);
  border-bottom: 1px solid rgba(123,29,42,0.1);
  padding: 10px 0;
  overflow: hidden;
}
.smos-notice-bar__inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}
.smos-notice-bar__label {
  background: var(--maroon);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.smos-notice-bar__scroll { overflow: hidden; flex: 1; }
.smos-notice-bar__text {
  font-size: 13.5px;
  color: var(--maroon-deep);
  font-weight: 500;
  white-space: nowrap;
  display: inline-block;
  animation: marquee 28s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================
   HERO — KIIT full-landscape style
   Full-width background image, centred overlay text,
   slide dots, stats strip, scroll hint.
   ============================================= */

/* ── Wrapper ── */
.smos-hero--fullbg {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Background slider ── */
.smos-hero__bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.smos-hero__bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease;
}
.smos-hero__bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ── Dark overlay ── */
.smos-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(20,4,8,0.55) 0%,
    rgba(90,18,32,0.62) 40%,
    rgba(20,4,8,0.78) 100%
  );
}

/* ── Centred content ── */
.smos-hero__center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 160px 32px 180px;
  max-width: 900px;
  width: 100%;
}

/* Badge */
.smos-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.92);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.25);
  width: fit-content;
  letter-spacing: 0.03em;
  animation: fadeInDown 0.8s ease 0.2s both;
}
.smos-hero__badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--gold-light, #E8C06A);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Title */
.smos-hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease 0.35s both;
  text-shadow: 0 3px 20px rgba(0,0,0,0.35);
}
.smos-hero__title em {
  color: var(--gold-light, #E8C06A);
  font-style: italic;
}

/* Description */
.smos-hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 640px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

/* CTA buttons */
.smos-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease 0.65s both;
}
.smos-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.smos-hero__btn--primary {
  background: var(--maroon, #7B1D2A);
  color: #fff;
  border: 2px solid var(--maroon, #7B1D2A);
}
.smos-hero__btn--primary:hover {
  background: var(--maroon-deep, #5A1220);
  border-color: var(--maroon-deep, #5A1220);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.smos-hero__btn--ghost {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.smos-hero__btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
}

/* Stats strip */
.smos-hero__stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 32px;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.smos-hero__stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.smos-hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.smos-hero__stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-light, #E8C06A);
  line-height: 1;
}
.smos-hero__stat-label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll hint */
.smos-hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: rgba(255,255,255,0.45);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
}
.smos-hero__scroll-dot {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 11px;
  position: relative;
}
.smos-hero__scroll-dot::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease infinite;
}
@keyframes scroll-dot {
  0%,100% { top: 5px; opacity: 1; }
  100%     { top: 18px; opacity: 0; }
}

/* Slide dots */
.smos-hero__slide-dots {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.smos-hero__slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.smos-hero__slide-dot.active {
  background: var(--gold-light, #E8C06A);
  transform: scale(1.35);
}

/* Floating admissions card */
.smos-hero__floating-card {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 4;
  background: white;
  border-radius: var(--radius, 10px);
  padding: 16px 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  border-left: 4px solid var(--gold, #C9973A);
  animation: slideInRight 0.8s ease 0.8s both;
}
.smos-hero__floating-card .card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500, #8A8980);
  margin-bottom: 4px;
}
.smos-hero__floating-card .card-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--maroon, #7B1D2A);
}

/* ── Quick-links strip ── */
.smos-quicklinks-strip {
  position: relative;
  z-index: 5;
  margin-top: -68px;
  padding: 0 24px;
}
.smos-quicklinks-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.smos-ql-card {
  background: var(--white, #fff);
  border-radius: var(--radius, 10px);
  padding: 22px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-bottom: 3px solid var(--gold, #C9973A);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.smos-ql-card::before {
  content: '';
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.smos-ql-card:hover::before { left: 130%; }
.smos-ql-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(123,29,42,0.18);
}
.smos-ql-card--accent {
  background: var(--maroon, #7B1D2A);
  border-bottom-color: var(--gold-light, #E8C06A);
}
.smos-ql-card--accent strong,
.smos-ql-card--accent span { color: rgba(255,255,255,0.92) !important; }
.smos-ql-card__icon {
  font-size: 28px;
  flex-shrink: 0;
  animation: quicklink-float 3s ease-in-out infinite;
}
.smos-ql-card:nth-child(2) .smos-ql-card__icon { animation-delay: 0.25s; }
.smos-ql-card:nth-child(3) .smos-ql-card__icon { animation-delay: 0.5s; }
.smos-ql-card:nth-child(4) .smos-ql-card__icon { animation-delay: 0.75s; }
@keyframes quicklink-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.smos-ql-card__body { display: flex; flex-direction: column; gap: 2px; }
.smos-ql-card__body strong { font-size: 15px; font-weight: 700; color: var(--gray-900, #1E1E1C); }
.smos-ql-card__body span  { font-size: 12.5px; color: var(--gray-500, #8A8980); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .smos-hero__center { padding: 120px 24px 160px; }
  .smos-hero__stats-strip { flex-wrap: wrap; gap: 16px; padding: 16px 20px; }
  .smos-hero__stat { padding: 0 16px; }
  .smos-hero__stat-divider { display: none; }
  .smos-quicklinks-strip { margin-top: -40px; }
  .smos-quicklinks-strip__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .smos-hero__floating-card { bottom: 120px; right: 20px; }
}
@media (max-width: 560px) {
  .smos-hero__center { padding: 100px 20px 140px; }

  .smos-hero__desc { font-size: 15px; }
  .smos-hero__actions { gap: 10px; }
  .smos-hero__btn { padding: 12px 20px; font-size: 14px; }
  .smos-hero__stats-strip { padding: 14px 16px; }
  .smos-hero__stat-num { font-size: 26px; }
  .smos-quicklinks-strip__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .smos-ql-card { padding: 16px 14px; }
  .smos-hero__floating-card { display: none; }
  .smos-hero__slide-dots { bottom: 140px; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  background: var(--maroon);
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 2px solid var(--maroon);
  cursor: pointer;
}
.btn-primary:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123,29,42,0.3); }
.btn-outline {
  background: transparent;
  color: var(--maroon);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--maroon);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--maroon-pale); transform: translateY(-2px); }

/* =============================================
   SECTIONS COMMON
   ============================================= */
.smos-section { padding: 96px 24px; }
.smos-container { max-width: 1200px; margin: 0 auto; }
.smos-section-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); margin-bottom: 12px; }
.smos-section-title { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--gray-900); line-height: 1.15; margin-bottom: 20px; }
.smos-section-title em { color: var(--maroon); font-style: italic; }
.smos-section-desc { font-size: 16.5px; color: var(--gray-500); line-height: 1.75; max-width: 580px; }
.smos-section-bar { width: 48px; height: 3px; background: var(--maroon); border-radius: 2px; margin: 16px 0 24px; }
.smos-section-bar--center { margin-left: auto; margin-right: auto; }
.smos-text-center { text-align: center; }
.smos-text-center .smos-section-desc { margin: 0 auto; }

/* =============================================
   ABOUT
   ============================================= */
.smos-about { background: var(--white); }
.smos-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.smos-about__image-wrap { position: relative; }
.smos-about__image-wrap img { width: 100%; border-radius: var(--radius); object-fit: cover; height: 520px; }
.smos-about__overlay {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--maroon);
  color: white;
  padding: 28px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.smos-about__overlay .big-num { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1; }
.smos-about__overlay .label { font-size: 13px; opacity: 0.75; margin-top: 4px; }
.smos-about__content { padding-left: 16px; }
.smos-about__text { font-size: 16.5px; color: var(--gray-700); line-height: 1.8; margin-bottom: 20px; }
.smos-about__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.smos-tag {
  background: var(--maroon-pale);
  color: var(--maroon);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(123,29,42,0.15);
  transition: all var(--transition);
}
.smos-tag:hover { background: var(--maroon); color: white; }

/* =============================================
   WHY US / FEATURES
   ============================================= */
.smos-why { background: var(--off-white); }
.smos-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.smos-why__card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.smos-why__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.smos-why__card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.smos-why__card:hover::before { opacity: 1; }
.smos-why__icon {
  width: 52px;
  height: 52px;
  background: var(--maroon-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
  transition: transform var(--transition);
}
.smos-why__card:hover .smos-why__icon { transform: scale(1.1) rotate(-5deg); }
.smos-why__card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.smos-why__card p { font-size: 14.5px; color: var(--gray-500); line-height: 1.7; }

/* =============================================
   COUNTERS
   ============================================= */
.smos-counters { background: var(--maroon); padding: 80px 24px; position: relative; overflow: hidden; }
.smos-counters::before {
  content: '✝';
  position: absolute;
  font-size: 400px;
  opacity: 0.04;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  pointer-events: none;
}
.smos-counters__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.smos-counter__item { color: white; padding: 20px; }
.smos-counter__num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: white;
}
.smos-counter__num sup { font-size: 32px; }
.smos-counter__num .suffix { font-size: 36px; }
.smos-counter__label { font-size: 13.5px; color: rgba(255,255,255,0.65); margin-top: 10px; letter-spacing: 0.03em; }
.smos-counter__separator { width: 40px; height: 2px; background: rgba(255,255,255,0.2); margin: 12px auto 0; border-radius: 2px; }

/* =============================================
   ACHIEVERS
   ============================================= */
.smos-achievers__track-wrap {
  overflow: hidden;
  margin-top: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.smos-achievers__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: achievers-scroll linear infinite;
}
.smos-achievers__track:hover { animation-play-state: paused; }
@keyframes achievers-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.smos-achiever__card { width: 320px; flex-shrink: 0; }
.smos-achiever__card {
  display: flex;
  align-items: stretch;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  min-height: 320px;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.45s ease;
}
.smos-achiever__card:hover { box-shadow: 0 20px 48px rgba(123,29,42,0.18); transform: translateY(-10px); }

/* Maroon rounded photo panel with vertical watermark text behind the photo */
.smos-achiever__img-wrap {
  flex: 0 0 42%;
  position: relative;
  margin: 14px 0 14px 14px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.smos-achiever__watermark {
  position: absolute;
  top: 18px;
  right: -4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 3px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.28);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.smos-achiever__img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.smos-achiever__card:hover .smos-achiever__img-wrap img { transform: scale(1.06); }

.smos-achiever__info { flex: 1; padding: 26px 24px 22px; display: flex; flex-direction: column; }
.smos-achiever__score { font-family: var(--font-display); font-weight: 800; color: var(--maroon); font-size: 18.5px; line-height: 1.32; text-transform: uppercase; margin-bottom: 14px; }
.smos-achiever__exam { font-weight: 600; opacity: 0.8; }
.smos-achiever__divider { width: 38px; height: 3px; background: var(--maroon); border-radius: 2px; margin-bottom: 16px; }
.smos-achiever__name { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--maroon); }
.smos-achiever__year { font-size: 12.5px; color: var(--gray-500); margin-top: 4px; }
.smos-achiever__crest { margin-top: auto; padding-top: 18px; opacity: 0.92; }
.smos-achiever__crest img { max-width: 34px; max-height: 34px; width: auto; height: auto; object-fit: contain; display: block; }
.smos-achiever__crest-fallback { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--gray-400); text-transform: uppercase; }

@media (max-width: 640px) {
  .smos-achiever__card { flex-direction: column; min-height: auto; }
  .smos-achiever__img-wrap { flex: none; height: 220px; margin: 14px 14px 0; }
}


/* =============================================
   RESULTS
   ============================================= */
.smos-results { background: var(--gray-50); }
.smos-results__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
.smos-result__card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 36px;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s ease;
}
.smos-result__card::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  z-index: 2;
  transition: left 0.7s ease;
  pointer-events: none;
}
.smos-result__card:hover::before { left: 130%; }
.smos-result__card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: var(--maroon-tint);
  border-radius: 0 var(--radius) 0 120px;
  z-index: 0;
}
.smos-result__card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.1); transform: translateY(-6px); }
.smos-result__trophy { font-size: 36px; position: relative; z-index: 1; margin-bottom: 20px; }
.smos-result__card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 14px; position: relative; z-index: 1; }
.smos-result__highlight { background: var(--maroon-pale); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 12px; position: relative; z-index: 1; }
.smos-result__highlight strong { color: var(--maroon); font-weight: 700; }
.smos-result__highlight span { font-size: 14px; color: var(--gray-700); display: block; margin-top: 2px; }
.smos-result__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}
.smos-result__link:hover { color: var(--maroon-light); }

/* =============================================
   LEADERSHIP
   ============================================= */
.smos-leadership__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.smos-leader__card { text-align: center; }
.smos-leader__img-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--maroon-pale);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s ease;
}
.smos-leader__card:hover .smos-leader__img-wrap {
  border-color: var(--maroon);
  transform: scale(1.07);
  box-shadow: 0 0 0 6px var(--maroon-pale);
}
.smos-leader__img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.smos-leader__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.smos-leader__role { font-size: 13px; color: var(--maroon); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* =============================================
   ENQUIRY / CONTACT
   ============================================= */
.smos-enquiry { background: var(--maroon); padding: 96px 24px; }
.smos-enquiry__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.smos-enquiry__left h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}
.smos-enquiry__left p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.75; }
.smos-enquiry__details { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.smos-enquiry__detail-item { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.85); font-size: 15px; }
.smos-enquiry__detail-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.smos-enquiry__form {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.smos-enquiry__form h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 28px; }
.smos-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.smos-form-group { margin-bottom: 18px; }
.smos-form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); display: block; margin-bottom: 7px; }
.smos-form-group input,
.smos-form-group select,
.smos-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--gray-900);
  outline: none;
  transition: border-color var(--transition);
  background: white;
}
.smos-form-group input:focus,
.smos-form-group select:focus,
.smos-form-group textarea:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(123,29,42,0.08); }
.smos-form-submit {
  width: 100%;
  padding: 14px;
  background: var(--maroon);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.smos-form-submit:hover { background: var(--maroon-deep); }
.smos-form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.smos-form-message { margin-top: 12px; font-size: 14px; font-weight: 500; }
.smos-form-message.success { color: #16a34a; }
.smos-form-message.error { color: #dc2626; }

/* =============================================
   GALLERY SECTION
   ============================================= */
.smos-gallery { background: var(--white); }
.smos-gallery__track-wrap {
  overflow: hidden;
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.smos-gallery__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: gallery-scroll linear infinite;
}
.smos-gallery__track:hover { animation-play-state: paused; }
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.smos-gallery__item { width: 260px; height: 200px; flex-shrink: 0; overflow: hidden; border-radius: var(--radius); position: relative; cursor: pointer; }
.smos-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.smos-gallery__item:hover img { transform: scale(1.08); }
.smos-gallery__item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(90,18,32,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.smos-gallery__item:hover::after { opacity: 1; }
@media (max-width: 640px) { .smos-gallery__item { width: 200px; height: 160px; } }

/* =============================================
   FOOTER
   ============================================= */
.smos-footer { background: var(--gray-900); color: rgba(255,255,255,0.75); padding: 72px 24px 0; }
.smos-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.smos-footer__brand h2 { font-family: var(--font-display); font-size: 20px; color: white; margin-bottom: 12px; }
.smos-footer__brand p { font-size: 14px; line-height: 1.75; max-width: 280px; }
.smos-footer__socials { display: flex; gap: 10px; margin-top: 24px; }
.smos-social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
  font-weight: 600;
}
.smos-social-btn:hover { background: var(--maroon); color: white; transform: translateY(-2px); }
.smos-footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 18px; font-weight: 600; }
.smos-footer__col ul li { margin-bottom: 10px; }
.smos-footer__col ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color var(--transition); }
.smos-footer__col ul li a:hover { color: var(--gold-light); }
.smos-footer__contact-item { font-size: 14px; margin-bottom: 10px; display: flex; gap: 8px; }
.smos-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.smos-footer__bottom a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color var(--transition); }
.smos-footer__bottom a:hover { color: var(--gold-light); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }

/* =============================================
   BACK TO TOP
   ============================================= */
.smos-back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--maroon);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s ease;
  z-index: 999;
}
.smos-back-top.visible { opacity: 1; transform: translateY(0); }
.smos-back-top:hover { background: var(--maroon-deep); transform: translateY(-2px); }

/* =============================================
   WORDPRESS CORE ALIGNMENT
   ============================================= */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--gray-500); text-align: center; margin-top: 6px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  /* hero responsive handled in hero block above */
  .smos-about__grid, .smos-enquiry__inner { grid-template-columns: 1fr; gap: 48px; }
  .smos-about__overlay { position: static; margin-top: 16px; display: inline-block; }
  .smos-leadership__grid { grid-template-columns: repeat(2, 1fr); }
  .smos-footer__inner { grid-template-columns: 1fr 1fr; }
  .smos-why__grid { grid-template-columns: repeat(2, 1fr); }
  .smos-counters__inner { grid-template-columns: repeat(2, 1fr); }
}

/* Nav collapses to the hamburger menu earlier than other mobile
   breakpoints — 8 top-level menu items need more room than 768px
   leaves next to the school name/logo, which was causing overlap. */
@media (max-width: 1080px) {
  .smos-nav { display: none; }
  .smos-mobile-toggle { display: flex; }
}

@media (max-width: 768px) {

  .smos-section-title { font-size: 32px; }
  .smos-results__grid, .smos-why__grid { grid-template-columns: 1fr; }
  .smos-achiever__card { width: 268px; }
  .smos-counters__inner { grid-template-columns: 1fr 1fr; }
  .smos-footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .smos-form-row { grid-template-columns: 1fr; }

  .smos-enquiry__left h2 { font-size: 32px; }
  .smos-topbar__left span:last-child, .smos-topbar__divider:last-of-type { display: none; }
}

/* Mobile nav open state */
@media (max-width: 1080px) {
  .smos-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 24px 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 999;
    gap: 4px;
    border-top: 1px solid var(--gray-100);
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
  .smos-nav.mobile-open .sub-menu { display: block; visibility: visible; opacity: 1; transform: none; position: static; box-shadow: none; border: none; border-top: none; padding: 4px 0 4px 12px; animation: none; }
  .smos-nav.mobile-open .sub-menu li a { opacity: 1; transform: none; animation: none; }
  .smos-nav.mobile-open a { width: 100%; }
}

/* =============================================
   INNER PAGE LAYOUT — SIDEBAR + CONTENT
   ============================================= */

/* Page hero banner (breadcrumb bar) */
.smos-page-hero {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 100%);
  padding: 52px 24px 44px;
  position: relative;
  overflow: hidden;
}
.smos-page-hero::after {
  content: '✝';
  position: absolute;
  font-size: 300px;
  color: rgba(255,255,255,0.04);
  right: -40px;
  bottom: -60px;
  pointer-events: none;
  line-height: 1;
}
.smos-page-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.smos-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.smos-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.smos-breadcrumb a:hover { color: var(--gold-light); }
.smos-breadcrumb__sep { font-size: 10px; opacity: 0.5; }
.smos-breadcrumb__current { color: rgba(255,255,255,0.9); font-weight: 500; }
.smos-page-hero__title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin: 0;
}

/* Main two-column layout — sidebar LEFT, content RIGHT */
.smos-inner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

/* Content area */
.smos-inner-content {
  min-width: 0;
}
.smos-inner-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 32px 0 14px;
  line-height: 1.25;
}
.smos-inner-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--maroon);
  margin: 26px 0 10px;
}
.smos-inner-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 20px 0 8px;
}
.smos-inner-content p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 18px;
}
.smos-inner-content ul, .smos-inner-content ol {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 18px;
}
.smos-inner-content li {
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 6px;
}
.smos-inner-content img {
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}
.smos-inner-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
}
.smos-inner-content table th {
  background: var(--maroon);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.smos-inner-content table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.smos-inner-content table tr:nth-child(even) td { background: var(--maroon-tint); }
.smos-inner-content a { color: var(--maroon); text-decoration: underline; }
.smos-inner-content a:hover { color: var(--maroon-light); }
.smos-inner-content blockquote {
  border-left: 4px solid var(--maroon);
  background: var(--maroon-pale);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--gray-700);
}

/* =============================================
   RIGHT SIDEBAR
   ============================================= */
.smos-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

/* Sidebar submenu widget */
.smos-sidebar-widget {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.smos-sidebar-widget__head {
  background: var(--maroon);
  color: white;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.smos-sidebar-widget__head::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.smos-sidebar-widget__body { padding: 8px 0; }

/* Section submenu nav */
.smos-sub-nav { list-style: none; padding: 0; margin: 0; }
.smos-sub-nav li { border-bottom: 1px solid var(--gray-50); }
.smos-sub-nav li:last-child { border-bottom: none; }
.smos-sub-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 14px;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition);
  gap: 8px;
}
.smos-sub-nav a::after {
  content: '›';
  font-size: 18px;
  color: var(--gray-300);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.smos-sub-nav a:hover {
  background: var(--maroon-pale);
  color: var(--maroon);
  padding-left: 26px;
}
.smos-sub-nav a:hover::after { color: var(--maroon); transform: translateX(3px); }
.smos-sub-nav li.current > a {
  background: var(--maroon-pale);
  color: var(--maroon);
  font-weight: 600;
  border-left: 3px solid var(--maroon);
  padding-left: 17px;
}
.smos-sub-nav li.current > a::after { color: var(--maroon); }

/* Contact card in sidebar */
.smos-contact-card {
  background: var(--maroon);
  border-radius: var(--radius);
  overflow: hidden;
  color: white;
  box-shadow: 0 4px 20px rgba(123,29,42,0.2);
}
.smos-contact-card__head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.smos-contact-card__head h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}
.smos-contact-card__head p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.smos-contact-card__body { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.smos-contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.smos-contact-row__icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.smos-contact-row__text { font-size: 13.5px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.smos-contact-row__text a { color: rgba(255,255,255,0.85); text-decoration: none; }
.smos-contact-row__text a:hover { color: var(--gold-light); }
.smos-contact-row__label { font-size: 11px; color: rgba(255,255,255,0.45); display: block; margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; }
.smos-contact-card__ctas {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.smos-contact-card__ctas a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.smos-contact-card__ctas .cta-primary {
  background: white;
  color: var(--maroon);
}
.smos-contact-card__ctas .cta-primary:hover { background: var(--gold-light); color: var(--maroon-deep); }
.smos-contact-card__ctas .cta-outline {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}
.smos-contact-card__ctas .cta-outline:hover { background: rgba(255,255,255,0.2); }

/* Downloads widget */
.smos-dl-list { list-style: none; padding: 0; margin: 0; }
.smos-dl-list li { border-bottom: 1px solid var(--gray-50); }
.smos-dl-list li:last-child { border-bottom: none; }
.smos-dl-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  font-size: 13.5px;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition);
}
.smos-dl-list a:hover { background: var(--maroon-pale); color: var(--maroon); }
.smos-dl-list__icon {
  width: 30px;
  height: 30px;
  background: var(--maroon-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: var(--maroon);
}

/* Admission CTA widget */
.smos-admission-widget {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-light));
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  color: white;
}
.smos-admission-widget .badge {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.smos-admission-widget h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  line-height: 1.25;
}
.smos-admission-widget p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
  line-height: 1.6;
}
.smos-admission-widget a {
  display: block;
  background: white;
  color: var(--maroon);
  padding: 11px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
}
.smos-admission-widget a:hover { background: var(--gold-light); }

/* Notice list widget */
.smos-notice-list { list-style: none; padding: 0; margin: 0; }
.smos-notice-list li { border-bottom: 1px solid var(--gray-50); }
.smos-notice-list li:last-child { border-bottom: none; }
.smos-notice-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--gray-700);
  text-decoration: none;
  line-height: 1.5;
  transition: all var(--transition);
}
.smos-notice-list a:hover { background: var(--maroon-pale); color: var(--maroon); }
.smos-notice-list__dot {
  width: 7px;
  height: 7px;
  background: var(--maroon);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.smos-notice-list__date { font-size: 11px; color: var(--gray-500); margin-top: 3px; display: block; }

/* =============================================
   RESPONSIVE — INNER PAGE
   ============================================= */
@media (max-width: 1024px) {
  .smos-inner-wrap { grid-template-columns: 280px 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .smos-inner-wrap { grid-template-columns: 1fr; }
  .smos-sidebar-col { position: static; }
  .smos-page-hero__title { font-size: 28px; }
  .smos-inner-content h2 { font-size: 22px; }
}

/* =============================================================
   CAMPUS BUZZ — Circulars · Facebook · Calendar
   ============================================================= */
.smos-campus-buzz { background: var(--off-white); }

/* ── Three-column grid ── */
.smos-buzz__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
  align-items: start;
}

/* ── Individual column card ── */
.smos-buzz__col {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(123,29,42,0.06);
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

/* Column header */
.smos-buzz__col-head {
  background: var(--maroon);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 3px solid var(--gold);
}
.smos-buzz__col-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.smos-buzz__col-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); flex-shrink: 0;
}
.smos-buzz__col-icon svg { width: 18px; height: 18px; }
.smos-buzz__col-icon--fb  { background: rgba(255,255,255,0.2); }
.smos-buzz__col-icon--cal { background: rgba(255,255,255,0.2); }

/* Column body */
.smos-buzz__col-body { flex: 1; overflow: hidden; }

/* Column footer */
.smos-buzz__col-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.smos-buzz__view-all {
  font-size: 13.5px; font-weight: 600;
  color: var(--maroon); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.smos-buzz__view-all:hover { color: var(--maroon-mid); }
.smos-buzz__view-all--fb { color: #1877f2; }
.smos-buzz__view-all--fb svg { fill: #1877f2; }
.smos-buzz__view-all--fb:hover { color: #0d5ecc; }

/* ── CIRCULARS ── */
.smos-circular__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 22px;
  border-bottom: 1px solid var(--gray-50);
  transition: background var(--transition);
}
.smos-circular__item:hover { background: var(--maroon-tint); }
.smos-circular__item:last-child { border-bottom: none; }

.smos-circular__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--maroon);
  flex-shrink: 0;
  margin-top: 6px;
}

.smos-circular__content { flex: 1; min-width: 0; }

.smos-circular__title {
  display: flex; align-items: flex-start; gap: 7px; flex-wrap: wrap;
}
.smos-circular__title a {
  font-size: 13.5px; font-weight: 500;
  color: var(--gray-800); text-decoration: none;
  line-height: 1.45; flex: 1;
  transition: color var(--transition);
}
.smos-circular__title a:hover { color: var(--maroon); }

.smos-circular__new {
  background: var(--maroon);
  color: white;
  font-size: 9.5px; font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.07em;
  flex-shrink: 0;
  margin-top: 2px;
  animation: badge-pulse 2s ease infinite;
}
@keyframes badge-pulse {
  0%,100% { opacity:1; }
  50%      { opacity:0.7; }
}

.smos-circular__meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px;
}
.smos-circular__date {
  font-size: 11.5px; color: var(--gray-400);
}
.smos-circular__dl {
  font-size: 11.5px; color: var(--maroon);
  font-weight: 600;
}

/* ── FACEBOOK FEED ── */
.smos-buzz__fb-body { position: relative; }

.smos-fb-plugin-wrap {
  padding: 12px;
  min-height: 430px;
  display: flex; align-items: flex-start; justify-content: center;
}
/* If FB embed loads, hide the fallback */
.smos-fb-plugin-wrap + .smos-fb-fallback { display: none; }

.smos-fb-fallback {
  display: flex; flex-direction: column;
  padding: 8px 0;
}

.smos-fb-post {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-50);
}
.smos-fb-post:last-child { border-bottom: none; }

.smos-fb-post__header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.smos-fb-post__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-mid));
  flex-shrink: 0;
}
.smos-fb-post__name {
  font-size: 13px; font-weight: 700; color: var(--gray-900);
}
.smos-fb-post__date {
  font-size: 11px; color: var(--gray-400);
}
.smos-fb-post__text {
  font-size: 13px; color: var(--gray-700);
  line-height: 1.55; margin-bottom: 10px;
}
.smos-fb-post__img-wrap {
  border-radius: var(--radius-sm); overflow: hidden;
  height: 110px; margin-bottom: 8px;
}
.smos-fb-post__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.smos-fb-post__footer {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--gray-400);
}
.smos-fb-post__footer a {
  color: #1877f2; font-weight: 600; font-size: 12px; text-decoration: none;
}
.smos-fb-post__footer a:hover { text-decoration: underline; }

/* ── CALENDAR ── */
.smos-cal-month {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--gray-100);
}
.smos-cal-month__header {
  display: flex; justify-content: center;
  margin-bottom: 12px;
}
.smos-cal-month__name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--maroon);
}
.smos-cal-month__days-head {
  display: grid; grid-template-columns: repeat(7,1fr);
  gap: 2px; margin-bottom: 6px;
  text-align: center;
}
.smos-cal-month__days-head span {
  font-size: 10.5px; font-weight: 700;
  color: var(--gray-400); text-transform: uppercase;
  padding: 4px 0;
}
.smos-cal-month__grid {
  display: grid; grid-template-columns: repeat(7,1fr); gap: 2px;
}
.smos-cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; color: var(--gray-700);
  border-radius: 6px; cursor: default;
  transition: background var(--transition);
}
.smos-cal-day--empty { visibility: hidden; }
.smos-cal-day--today {
  background: var(--maroon); color: white;
  font-weight: 700; border-radius: 50%;
}
.smos-cal-day--event {
  background: var(--gold-pale); color: var(--maroon);
  font-weight: 700;
  position: relative; cursor: pointer;
}
.smos-cal-day--event::after {
  content: '';
  position: absolute; bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.smos-cal-day--today.smos-cal-day--event {
  background: var(--maroon); color: white;
}

/* Upcoming events list */
.smos-cal-events { padding: 12px 18px 4px; }
.smos-cal-events__label {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--gray-400); margin-bottom: 12px;
}
.smos-cal-event__item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-50);
}
.smos-cal-event__item:last-child { border-bottom: none; margin-bottom: 0; }

.smos-cal-event__date-box {
  min-width: 44px; padding: 6px 4px;
  border-radius: 8px; text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 1px; flex-shrink: 0;
}
.smos-cal-event__day {
  font-size: 18px; font-weight: 700;
  color: white; line-height: 1;
  font-family: var(--font-display);
}
.smos-cal-event__month {
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.smos-cal-event__info { flex: 1; }
.smos-cal-event__name {
  font-size: 13px; font-weight: 600;
  color: var(--gray-900); line-height: 1.4;
  margin-bottom: 3px;
}
.smos-cal-event__loc {
  font-size: 11.5px; color: var(--gray-500);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .smos-buzz__grid { grid-template-columns: 1fr 1fr; }
  .smos-buzz__col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .smos-buzz__grid { grid-template-columns: 1fr; }
  .smos-buzz__col:last-child { grid-column: auto; }
  .smos-buzz__col { min-height: auto; }
  .smos-fb-plugin-wrap { min-height: 380px; }
}

@keyframes slideInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn       { from { opacity: 0; } to { opacity: 1; } }

/* ══════════════════════════════════════════════════════════
   IMAGE PROTECTION
   Deters casual copying — cannot block screenshots or dev tools.
   Toggle off in Customizer → Image Protection if it ever causes issues.
   ══════════════════════════════════════════════════════════ */
body.smos-protect-images img {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;   /* stops the iOS "Save Image" long-press menu */
  pointer-events: auto;
}
/* Belt-and-braces: a transparent layer over gallery/achiever photos so a
   right-click / long-press lands on the overlay, not the <img> itself. */
body.smos-protect-images .smos-gallery__item,
body.smos-protect-images .smos-achiever__card,
body.smos-protect-images .smos-leader__img-wrap {
  position: relative;
}
body.smos-protect-images .smos-gallery__item::after,
body.smos-protect-images .smos-achiever__card::after,
body.smos-protect-images .smos-leader__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}
@media print {
  body.smos-protect-images img { display: none !important; }
  body.smos-protect-images .no-print-note::after {
    content: ' [Image removed for print — visit stmarysorthodoxschool.com]';
    font-style: italic;
    font-size: 11px;
  }
}
