/* BSS Worldclass - Custom CSS (no Bootstrap) */
:root {
  --red: #FB002C;
  --red-dark: #C80020;
  --red-deep: #8A0016;
  --red-glow: rgba(251, 0, 44, 0.25);
  --white: #FFFFFF;
  --ink: #FFFFFF;
  --ink-mid: #FFF5F6;
  --muted: rgba(30, 0, 10, 0.45);
  --border-light: rgba(30, 0, 10, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: #FFFFFF;
  color: #1A0008;
  overflow-x: hidden;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

body:not(.has-hero) #particle-canvas {
  display: none;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 74px;
  transition: background 0.4s, backdrop-filter 0.4s;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(251, 0, 44, 0.1);
  box-shadow: 0 2px 24px rgba(251, 0, 44, 0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-emblem {
  width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-emblem-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.nav-emblem-ring::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.nav-emblem-inner {
  width: 32px;
  height: 32px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--white);
  z-index: 1;
  letter-spacing: 0;
}

.nav-name {
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A0008;
  letter-spacing: 0.01em;
}

.nav-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(30, 0, 10, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(30, 0, 10, 0.6);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-links a:hover {
  color: #1A0008;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 11px 26px;
  border-radius: 2px;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  box-shadow: 0 0 24px var(--red-glow);
  transition: box-shadow 0.3s, transform 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  box-shadow: 0 0 40px rgba(251, 0, 44, 0.55) !important;
  transform: translateY(-1px) !important;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FB002C 0%, #D00020 60%, #A80018 100%);
  animation: meshPulse 8s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  from {
    opacity: 0.8;
  }

  to {
    opacity: 1;
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-photo-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  overflow: hidden;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  background: linear-gradient(to right, #FB002C 0%, #D00020 20%, transparent 100%);
  z-index: 2;
}

.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(251, 0, 44, 0.25);
  z-index: 1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.1);
  animation: slowZoom 16s ease-out forwards;
}

@keyframes slowZoom {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1.0);
  }
}

.hero-slash {
  position: absolute;
  top: 0;
  right: 49.5%;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 30px 6px rgba(255, 255, 255, 0.3);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 8vw;
  max-width: 640px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: slideRight 0.9s 0.3s forwards;
}

.hero-eyebrow-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), transparent);
}

.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero-headline {
  font-family: 'Lora', serif;
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 8px;
  opacity: 0;
  animation: slideRight 0.9s 0.45s forwards;
}

.hero-headline .outline-text {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.7);
  color: transparent;
}

.hero-headline .red-text {
  color: #FFFFFF;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.hero-sub {
  font-family: 'EB Garamond', serif;
  font-size: clamp(17px, 2vw, 24px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin: 22px 0 44px;
  line-height: 1.6;
  opacity: 0;
  animation: slideRight 0.9s 0.6s forwards;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideRight 0.9s 0.75s forwards;
}

.btn-red {
  background: #FFFFFF;
  color: var(--red);
  padding: 18px 44px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s, transform 0.2s;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-red::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-red:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.btn-red:hover::before {
  opacity: 1;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 18px 44px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.3s, background 0.3s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.hero-scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

.hero-badge {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px 28px;
  animation: floatBadge 6s ease-in-out infinite;
}

.hero-badge-1 {
  bottom: 18%;
  right: 6%;
}

.hero-badge-2 {
  top: 25%;
  right: 20%;
  animation-delay: 1.5s;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.badge-num {
  font-family: 'Lora', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.badge-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 4px;
}

/* TICKER */
.ticker {
  position: relative;
  z-index: 10;
  background: var(--red);
  height: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 28px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red-dark);
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
}

.ticker-inner {
  display: inline-flex;
  gap: 80px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticker-item::after {
  content: '✦';
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* SECTIONS */
.section {
  padding: 120px 8vw;
  position: relative;
  z-index: 10;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--red), rgba(251, 0, 44, 0.3));
}

.section-headline {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #1A0008;
}

/* ABOUT */
.about-section {
  background: #FFF5F6;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-frame {
  position: relative;
  border: 1px solid rgba(251, 0, 44, 0.2);
  border-radius: 4px;
  overflow: visible;
  aspect-ratio: 3/4;
  background: rgba(251, 0, 44, 0.03);
}

.about-frame-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.about-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  display: block;
}

.corner {
  position: absolute;
  width: 28px;
  height: 28px;
}

.corner-tl {
  top: -2px;
  left: -2px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
}

.corner-tr {
  top: -2px;
  right: -2px;
  border-top: 3px solid var(--red);
  border-right: 3px solid var(--red);
}

.corner-bl {
  bottom: -2px;
  left: -2px;
  border-bottom: 3px solid var(--red);
  border-left: 3px solid var(--red);
}

.corner-br {
  bottom: -2px;
  right: -2px;
  border-bottom: 3px solid var(--red);
  border-right: 3px solid var(--red);
}

.about-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 110px;
  height: 110px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(251, 0, 44, 0.5);
}

.ab-num {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.ab-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.about-text {
  margin: 28px 0 36px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(30, 0, 10, 0.65);
  font-weight: 400;
}

.about-text p+p {
  margin-top: 16px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pillar {
  padding: 20px;
  border: 1px solid rgba(251, 0, 44, 0.12);
  border-radius: 6px;
  background: rgba(251, 0, 44, 0.04);
  transition: border-color 0.3s, background 0.3s;
}

.pillar:hover {
  border-color: rgba(251, 0, 44, 0.35);
  background: rgba(251, 0, 44, 0.06);
}

.pillar-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.pillar-title {
  font-size: 13px;
  font-weight: 700;
  color: #1A0008;
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 12px;
  color: rgba(30, 0, 10, 0.5);
  line-height: 1.5;
}

/* STATS */
.stats-band {
  position: relative;
  z-index: 10;
  background: var(--red);
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 40px);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.stat-cell {
  padding: 56px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  transition: background 0.3s;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell:hover {
  background: rgba(255, 255, 255, 0.06);
}

.stat-n {
  font-family: 'Lora', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-n sup {
  font-size: 34px;
  vertical-align: super;
}

.stat-l {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* PROGRAMS */
.programs-section {
  background: #FFFFFF;
}

.programs-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.programs-intro-sub {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(30, 0, 10, 0.55);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(251, 0, 44, 0.1);
}

.prog-card {
  padding: 48px 36px;
  border-right: 1px solid rgba(251, 0, 44, 0.08);
  border-bottom: 1px solid rgba(251, 0, 44, 0.08);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  cursor: default;
}

.prog-card:nth-child(3n) {
  border-right: none;
}

.prog-card:nth-child(n+4) {
  border-bottom: none;
}

.prog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 100%, rgba(251, 0, 44, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.prog-card:hover {
  background: rgba(251, 0, 44, 0.04);
}

.prog-card:hover::before {
  opacity: 1;
}

.prog-img-wrap {
  display: none;
}

.prog-num {
  font-family: 'Lora', serif;
  font-size: 72px;
  font-weight: 700;
  font-style: italic;
  color: rgba(251, 0, 44, 0.07);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
  transition: color 0.4s;
}

.prog-card:hover .prog-num {
  color: rgba(251, 0, 44, 0.16);
}

.prog-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.prog-title {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 600;
  color: #1A0008;
  margin-bottom: 12px;
}

.prog-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(30, 0, 10, 0.55);
}

.prog-tag {
  display: inline-block;
  margin-top: 24px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(251, 0, 44, 0.3);
  color: var(--red);
  padding: 5px 14px;
  border-radius: 40px;
  transition: background 0.2s, color 0.2s;
}

.prog-card:hover .prog-tag {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* GALLERY */
.gallery-section {
  background: #FFF5F6;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

/* Masonry grid for gallery page */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 6px;
  margin-top: 32px;
}

.gal-item {
  position: relative;
  overflow: hidden;
  background: rgba(251, 0, 44, 0.06);
  cursor: pointer;
  border-radius: 4px;
}

.gal-item.gal-span {
  grid-column: span 2;
  grid-row: span 2;
}

.gal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s;
  display: block;
}

.gal-item:hover .gal-img {
  transform: scale(1.07);
  filter: grayscale(0%);
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 0, 8, 0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

.gal-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.gal-item:hover .gal-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Homepage mini-gallery strip (5 images) */
.gallery-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 3px;
}

.gallery-grid .gal-item {
  border-radius: 0;
}

.gallery-grid .gal-item:first-child {
  grid-row: 1 / 3;
}

.gallery-grid .gal-img {
  filter: grayscale(15%);
}

.gallery-grid .gal-overlay {
  background: linear-gradient(to top, rgba(251, 0, 44, 0.55) 0%, transparent 60%);
}

.gal-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(251, 0, 44, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(251, 0, 44, 0.4);
}

/* PULL QUOTE */
.pull-section {
  position: relative;
  z-index: 10;
  background: var(--red);
  padding: 120px 8vw;
  overflow: hidden;
}

.pull-bg-text {
  position: absolute;
  font-family: 'Lora', serif;
  font-size: clamp(100px, 18vw, 260px);
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  user-select: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: -0.02em;
}

.pull-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pull-qmark {
  font-family: 'EB Garamond', serif;
  font-size: 140px;
  line-height: 0.5;
  color: rgba(255, 255, 255, 0.45);
  opacity: 1;
  margin-bottom: 24px;
  display: block;
}

.pull-text {
  font-family: 'EB Garamond', serif;
  font-size: clamp(26px, 3.8vw, 50px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  margin-bottom: 36px;
}

.pull-divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto 24px;
}

.pull-author {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* NEWS */
.news-section {
  background: #FFFFFF;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.news-card {
  background: var(--white);
  border: 1px solid rgba(251, 0, 44, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.news-card:hover {
  box-shadow: 0 16px 48px rgba(251, 0, 44, 0.12);
  transform: translateY(-4px);
}

.news-banner {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.news-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
}

.news-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 28px 32px 36px;
  background: #FFFFFF;
}

.news-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.news-title {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 600;
  color: #1A0008;
  line-height: 1.3;
  margin-bottom: 12px;
}

.news-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(30, 0, 10, 0.55);
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.3s;
}

.news-link:hover {
  gap: 14px;
}

/* ADMISSIONS */
.admissions-section {
  position: relative;
  z-index: 10;
  background: var(--red);
  overflow: hidden;
  padding: 0;
}

.admissions-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 50px);
}

.admissions-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  z-index: 1;
}

.admissions-left {
  padding: 100px 6vw 100px 8vw;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.admissions-section .section-label {
  color: rgba(255, 255, 255, 0.65);
}

.admissions-section .section-label::before {
  background: rgba(255, 255, 255, 0.35);
}

.admissions-section .section-headline {
  color: var(--white);
}

.outline-wh {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.adm-steps {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.adm-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.adm-step-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
}

.adm-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.adm-step-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.admissions-right {
  padding: 100px 8vw 100px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admissions-right .section-label {
  color: rgba(255, 255, 255, 0.65);
}

.admissions-right .section-label::before {
  background: rgba(255, 255, 255, 0.35);
}

.adm-form-title {
  font-family: 'Lora', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
}

.adm-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 14px 18px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 14px;
}

.adm-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.adm-input:focus {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.16);
}

.adm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.adm-submit {
  width: 100%;
  margin-top: 6px;
  background: var(--white);
  color: var(--red);
  padding: 17px;
  border: none;
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.adm-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* CONTACT */
.contact-section {
  background: #FFFFFF;
  padding: 120px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 10;
}

.contact-items {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.c-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid rgba(251, 0, 44, 0.25);
  border-radius: 8px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.c-item:hover .c-icon {
  background: rgba(251, 0, 44, 0.1);
  border-color: var(--red);
}

.c-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.c-val {
  font-size: 15px;
  color: rgba(30, 0, 10, 0.65);
}

.cf-wrap {
  background: #FFFFFF;
  border: 1px solid rgba(251, 0, 44, 0.1);
  border-radius: 12px;
  padding: 52px;
  box-shadow: 0 8px 40px rgba(251, 0, 44, 0.08);
}

.cf-title {
  font-family: 'Lora', serif;
  font-size: 26px;
  font-weight: 600;
  color: #1A0008;
  margin-bottom: 32px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-group {
  margin-bottom: 16px;
}

.cf-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(30, 0, 10, 0.45);
  margin-bottom: 8px;
}

.cf-input {
  width: 100%;
  background: #FAFAFA;
  border: 1px solid rgba(251, 0, 44, 0.12);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: #1A0008;
  outline: none;
  transition: border-color 0.2s;
}

.cf-input::placeholder {
  color: rgba(30, 0, 10, 0.3);
}

.cf-input:focus {
  border-color: var(--red);
}

textarea.cf-input {
  min-height: 110px;
  resize: vertical;
}

.cf-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 17px;
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(251, 0, 44, 0.35);
  transition: box-shadow 0.3s, transform 0.2s;
  margin-top: 4px;
}

.cf-submit:hover {
  box-shadow: 0 16px 48px rgba(251, 0, 44, 0.55);
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: var(--red);
  border-top: none;
  position: relative;
  z-index: 10;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 80px 8vw 60px;
}

.f-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.f-emblem {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--white);
  box-shadow: 0 0 20px rgba(251, 0, 44, 0.35);
}

.f-name {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.f-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.f-head {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.f-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.f-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 24px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* ANIMATIONS */
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.up {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.12s;
}

.reveal-d2 {
  transition-delay: 0.24s;
}

/* CMS BAR (for logged-in users) */
.cms-bar {
  background: #1A0008;
  padding: 8px 5vw;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  position: relative;
  z-index: 201;
}

.cms-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.cms-bar a:hover {
  color: var(--white);
  text-decoration: underline;
}

.cms-bar form {
  display: inline;
}

.cms-bar button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 12px;
  padding: 0;
}

.cms-bar button:hover {
  color: var(--white);
  text-decoration: underline;
}

/* MOBILE NAV */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1A0008;
  margin: 5px 0;
  transition: 0.3s;
}

nav.scrolled .nav-toggle span {
  background: #1A0008;
}

/* RESPONSIVE */
@media (max-width: 960px) {

  .hero-slash,
  .hero-badge {
    display: none;
  }

  .hero {
    flex-direction: column;
    padding-top: 120px;
    height: auto;
    min-height: auto;
    align-items: stretch;
  }

  .hero-photo-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    order: -1;
  }

  .hero-photo-wrap::before {
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, #FB002C 0%, transparent 100%);
    top: 0;
    left: 0;
  }

  .hero-content {
    padding: 40px 8vw 80px;
    max-width: 100%;
  }

  .hero-headline {
    font-size: 42px;
  }

  .about-inner,
  .admissions-inner,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .about-frame {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 60px;
  }

  .about-badge {
    bottom: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
  }

  .ab-num {
    font-size: 18px;
  }

  .ab-text {
    font-size: 8px;
  }

  .programs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prog-card:nth-child(3n) {
    border-right: 1px solid rgba(251, 0, 44, 0.08);
  }

  .prog-card:nth-child(2n) {
    border-right: none;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell:nth-child(2n) {
    border-right: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gal-item:first-child {
    grid-row: auto;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .programs-intro {
    grid-template-columns: 1fr;
  }

  .adm-row {
    grid-template-columns: 1fr;
  }

  .cf-row {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
}

/* PAGE MAIN — full-width wrapper for non-home pages */
.page-main {
  width: 100%;
  padding-top: 74px;
}

/* PAGE HERO BANNER — inner page header strip */
.page-hero-banner {
  background: linear-gradient(135deg, #1A0008 0%, #3A0010 60%, #1A0008 100%);
  padding: 80px 8vw 60px;
  position: relative;
  overflow: hidden;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(251, 0, 44, 0.04) 0px, rgba(251, 0, 44, 0.04) 1px, transparent 1px, transparent 60px);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 12px 0 16px;
}

.page-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-banner {
    padding: 60px 6vw 40px;
  }
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

/* ADMIN / CMS UTILITY STYLES (no Bootstrap) */
:is(.page-container, .page-main) .d-flex {
  display: flex;
}

:is(.page-container, .page-main) .justify-content-between {
  justify-content: space-between;
}

:is(.page-container, .page-main) .justify-content-center {
  justify-content: center;
}

:is(.page-container, .page-main) .align-items-center {
  align-items: center;
}

:is(.page-container, .page-main) .align-items-start {
  align-items: flex-start;
}

:is(.page-container, .page-main) .flex-grow-1 {
  flex-grow: 1;
}

:is(.page-container, .page-main) .gap-2 {
  gap: 8px;
}

:is(.page-container, .page-main) .gap-3 {
  gap: 12px;
}

:is(.page-container, .page-main) .gap-4 {
  gap: 16px;
}

:is(.page-container, .page-main) .mb-0 {
  margin-bottom: 0;
}

:is(.page-container, .page-main) .mb-1 {
  margin-bottom: 4px;
}

:is(.page-container, .page-main) .mb-2 {
  margin-bottom: 8px;
}

:is(.page-container, .page-main) .mb-3 {
  margin-bottom: 12px;
}

:is(.page-container, .page-main) .mb-4 {
  margin-bottom: 16px;
}

:is(.page-container, .page-main) .mb-5 {
  margin-bottom: 20px;
}

:is(.page-container, .page-main) .mt-2 {
  margin-top: 8px;
}

:is(.page-container, .page-main) .py-5 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

:is(.page-container, .page-main) .text-center {
  text-align: center;
}

:is(.page-container, .page-main) .text-muted {
  color: rgba(30, 0, 10, 0.55);
}

:is(.page-container, .page-main) .text-danger {
  color: #dc3545;
}

:is(.page-container, .page-main) .text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(.page-container, .page-main) .small {
  font-size: 0.875em;
}

:is(.page-container, .page-main) .fw-bold {
  font-weight: 700;
}

:is(.page-container, .page-main) .h3 {
  font-size: 1.5rem;
}

:is(.page-container, .page-main) .h5 {
  font-size: 1.25rem;
}

:is(.page-container, .page-main) .h6 {
  font-size: 1rem;
}

:is(.page-container, .page-main) .card {
  background: #fff;
  border: 1px solid rgba(251, 0, 44, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

:is(.page-container, .page-main) .card-body {
  padding: 1.25rem;
}

:is(.page-container, .page-main) .card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

:is(.page-container, .page-main) .card-text {
  margin-bottom: 1rem;
}

:is(.page-container, .page-main) .card-footer {
  padding: 1rem 1.25rem;
  background: #fafafa;
  border-top: 1px solid rgba(251, 0, 44, 0.08);
}

:is(.page-container, .page-main) .card-img-top {
  width: 100%;
  display: block;
}

:is(.page-container, .page-main) .shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

:is(.page-container, .page-main) .border-0 {
  border: none;
}

:is(.page-container, .page-main) .border-top-0 {
  border-top: none;
}

:is(.page-container, .page-main) .bg-transparent {
  background: transparent;
}

:is(.page-container, .page-main) .bg-light {
  background: #f5f5f5;
}

:is(.page-container, .page-main) .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}

:is(.page-container, .page-main) .btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

:is(.page-container, .page-main) .btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

:is(.page-container, .page-main) .btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

:is(.page-container, .page-main) .btn-outline-dark {
  background: transparent;
  color: #1A0008;
  border-color: rgba(30, 0, 10, 0.3);
}

:is(.page-container, .page-main) .btn-outline-dark:hover {
  background: rgba(30, 0, 10, 0.05);
}

:is(.page-container, .page-main) .btn-outline-danger {
  background: transparent;
  color: #dc3545;
  border-color: #dc3545;
}

:is(.page-container, .page-main) .btn-outline-danger:hover {
  background: rgba(220, 53, 69, 0.1);
}

:is(.page-container, .page-main) .btn-outline-primary {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

:is(.page-container, .page-main) .btn-outline-primary:hover {
  background: rgba(251, 0, 44, 0.04);
}

:is(.page-container, .page-main) .btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

:is(.page-container, .page-main) .w-100 {
  width: 100%;
}

:is(.page-container, .page-main) .badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 0.75em;
  font-weight: 600;
  border-radius: 4px;
}

:is(.page-container, .page-main) .bg-success {
  background: #16a34a;
  color: #fff;
}

:is(.page-container, .page-main) .bg-warning {
  background: #f59e0b;
  color: #1A0008;
}

:is(.page-container, .page-main) .bg-secondary {
  background: #6b7280;
  color: #fff;
}

:is(.page-container, .page-main) .bg-dark {
  background: #1A0008;
  color: #fff;
}

:is(.page-container, .page-main) .text-dark {
  color: #1A0008;
}

:is(.page-container, .page-main) .alert {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

:is(.page-container, .page-main) .alert-secondary {
  background: #f5f5f5;
  color: #374151;
}

:is(.page-container, .page-main) .form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid rgba(251, 0, 44, 0.2);
  border-radius: 4px;
}

:is(.page-container, .page-main) .form-control:focus {
  outline: none;
  border-color: var(--red);
}

:is(.page-container, .page-main) .form-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
}

:is(.page-container, .page-main) .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

:is(.page-container, .page-main) .form-check-input {
  width: 1rem;
  height: 1rem;
}

:is(.page-container, .page-main) .form-check-label {
  margin: 0;
}

:is(.page-container, .page-main) .text-decoration-none {
  text-decoration: none;
}

:is(.page-container, .page-main) .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

:is(.page-container, .page-main) .row>* {
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  :is(.page-container, .page-main) .col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

/* ═══════════════════════════════════════════════
   PAGE MAIN — full-width wrapper for non-home pages
═══════════════════════════════════════════════ */
.page-main {
  width: 100%;
  padding-top: 74px;
}

/* ═══════════════════════════════════════════════
   PAGE HERO BANNER — inner page dark header strip
═══════════════════════════════════════════════ */
.page-hero-banner {
  background: linear-gradient(135deg, #1A0008 0%, #3A0010 60%, #1A0008 100%);
  padding: 80px 8vw 60px;
  position: relative;
  overflow: hidden;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(251, 0, 44, 0.04) 0px, rgba(251, 0, 44, 0.04) 1px, transparent 1px, transparent 60px);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 12px 0 16px;
}

.page-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
}

/* ═══════════════════════════════════════════════
   NEWS GRID fix
═══════════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

/* ═══════════════════════════════════════════════
   GALLERY MASONRY (Gallery page — 20 photos)
═══════════════════════════════════════════════ */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 6px;
  margin-top: 32px;
}

.gal-item.gal-span {
  grid-column: span 2;
  grid-row: span 2;
}

.gal-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.gal-item:hover .gal-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .gal-item.gal-span {
    grid-column: span 1;
    grid-row: span 1;
  }

  .page-hero-banner {
    padding: 70px 6vw 50px;
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .page-hero-banner {
    padding: 60px 5vw 40px;
  }

  .page-hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }
}

@media (max-width: 400px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
}

/* OUTLINED INPUT (Material Design Style) */
.outlined-group {
  position: relative;
  margin-bottom: 24px;
}

.outlined-group .form-control {
  background: transparent;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  padding: 16px 48px 16px 20px;
  height: auto;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.outlined-group .form-control:focus {
  border-color: #FB002C;
  /* Bata Red */
  box-shadow: 0 0 0 4px rgba(251, 0, 44, 0.1);
}

.outlined-group .form-label {
  position: absolute;
  top: 0;
  left: 14px;
  transform: translateY(-50%);
  background: white;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  pointer-events: none;
  transition: color 0.2s;
}

.outlined-group .form-control:focus+.form-label {
  color: #FB002C;
}

.outlined-group .toggle-password {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #6b7280;
  cursor: pointer;
  z-index: 5;
}

.outlined-group .toggle-password:hover {
  color: #374151;
}