/* ============================================
   Seton Catholic School – Custom Styles
   ============================================ */

/* --- Global margin-block reset (overrides WordPress block library defaults) --- */
h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0;
  margin-block-end: 0;
}

section,
[class$="-section"],
[class*="-section "],
.site-footer {
  margin-block-start: 0;
  margin-block-end: 0;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-row p {
  margin: 0;
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: inherit;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.footer-bottom-links li {
  margin: 0;
}

.footer-bottom-links a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #fff;
}

section *,
[class$="-section"] *,
[class*="-section "] *,
:where(.wp-site-blocks) > * {
  margin-block-start: 0;
}

/* --- CSS Variables --- */
:root {
  --color-primary: #0d2842;
  --color-primary-foreground: #ffffff;
  --color-foreground: #020617;
  --color-background: #ffffff;
  --color-muted: #64748b;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-slate-950: #020617;
  --color-orange-50: #fff7ed;
  --color-orange-200: #fed7aa;
  --color-orange-400: #fb923c;
  --shadow-xs: 0 1px 2px rgba(0, 0 , 0 , .05);
  --shadow-md: 0 4px 6px -1px rgba(0 , 0 , 0 , .1), 0 2px 4px -2px rgba(0 , 0 , 0 , .1);
  --shadow-lg: 0 10px 15px -3px rgba(0 , 0 , 0 , .1), 0 4px 6px -4px rgba(0 , 0 , 0 , .1);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 14px;
}

/* --- Typography Utilities --- */
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }
.text-5xl { font-size: 48px; }
.text-muted { color: var(--color-muted); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 64px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-muted);
}

/* --- Grid Utilities --- */
.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* --- Page Hero --- */
.page-hero {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 96px 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.page-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  opacity: .85;
}

.page-hero-dark {
  background: var(--color-slate-900);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  line-height: 1.5;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.btn-primary:hover {
  background: var(--color-slate-800);
}

/* WordPress block buttons: cascade styles into the inner link element */
.btn-secondary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-slate-200) !important;
  color: var(--color-slate-900) !important;
  border: 1px solid var(--color-slate-200) !important;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.btn-secondary .wp-block-button__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-secondary:hover .wp-block-button__link,
.btn-secondary .wp-block-button__link:hover {
  background: var(--color-slate-200) !important;
  border-color: var(--color-slate-300) !important;
}

.btn-outline {
  background: transparent;
  color: var(--color-foreground);
  border-color: var(--color-slate-300);
}

.btn-outline:hover {
  background: var(--color-slate-50);
  border-color: var(--color-slate-400);
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
}

.btn-white:hover {
  background: var(--color-slate-100);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* --- Cards --- */
.card {
  background: var(--color-background);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 24px;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
}

.badge-primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.badge-secondary {
  background: var(--color-slate-100);
  color: var(--color-slate-700);
}

/* --- Icon Circle --- */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  color: var(--color-slate-700);
  flex-shrink: 0;
}

/* --- Avatar --- */
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar svg {
  width: 40px;
  height: 40px;
  color: var(--color-slate-400);
}

.avatar-lg {
  width: 120px;
  height: 120px;
}

.avatar-lg svg {
  width: 60px;
  height: 60px;
}

/* --- Tables --- */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-slate-200);
}

th {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-foreground);
  background: var(--color-slate-50);
}

td {
  font-size: 14px;
  color: var(--color-slate-600);
}

.info-table {
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.info-table th {
  background: var(--color-slate-100);
}

/* --- Forms --- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-foreground);
}

.form-group .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 40, 66, .1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* --- Alerts --- */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  border: 1px solid transparent;
}

.alert-red {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.alert-green {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.alert-amber {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.alert-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  padding: 20px;
  border-radius: var(--radius-lg);
}

.alert-info > svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--color-slate-700);
  padding: 64px 24px;
}

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #16a34a;
}

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid var(--color-slate-200);
  margin: 24px 0;
}

/* --- Staff Card --- */
.wp-block-columns:has(.staff-card) {
  align-items: stretch;
}

.wp-block-columns:has(.staff-card) .wp-block-column {
  display: flex;
}

.staff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: var(--color-background);
  border: 1px solid var(--color-slate-200);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.staff-card h4 {
  margin-bottom: 4px;
}

.staff-card .role {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.staff-card-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-slate-200);
}

.staff-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
}

.staff-contact-item svg {
  flex-shrink: 0;
  color: var(--color-slate-400);
}

/* --- Dress Code List --- */
.dress-code-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dress-code-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 14px;
  color: var(--color-slate-600);
  border-bottom: 1px solid var(--color-slate-100);
}

.dress-code-list li:last-child {
  border-bottom: none;
}

.dress-code-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* --- Home Hero --- */
.home-hero {
  position: relative;
  padding: 128px 24px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 800px;
  margin: 0;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}

.hero-stats > div {
  text-align: left;
}

.hero-stat .wp-block-group {
  align-items: flex-start;
}

.hero-stats .stat-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero-stats .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

/* --- About Row --- */
.about-row {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

.about-row > .wp-block-column:first-child {
  display: flex;
  flex-direction: column;
  max-width: 50%;
  flex-shrink: 0;
}

.about-row > .wp-block-column:first-child .wp-block-image {
  flex: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.about-row img,
.about-row .about-image-placeholder {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
  flex-shrink: 0;
}

.about-image-placeholder {
  height: 360px;
  background: var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-row .about-text {
  flex: 1;
}

.about-row .about-text h2 {
  margin-bottom: 16px;
}

.about-row .about-text p {
  color: var(--color-muted);
  margin-bottom: 12px;
}

/* --- Feature Cards --- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.feature-card .icon-circle {
  margin: 0 auto 16px;
}

.feature-card h4 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-muted);
  font-size: 14px;
}

/* --- Calendar Section --- */
.calendar-section {
  background: var(--color-slate-50);
  padding: 64px;
  text-align: center;
}

.calendar-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-background);
  border: 1px solid var(--color-slate-200);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Newsletter Section --- */
.newsletter-section {
  background: var(--color-slate-700);
  padding: 64px;
}

.newsletter-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.newsletter-inner .newsletter-content {
  flex: 1;
}

.newsletter-inner .newsletter-content h2 {
  color: #fff;
  margin-bottom: 12px;
}

.newsletter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  margin-bottom: 16px;
}

.newsletter-title h2 {
  margin: 0;
}

.newsletter-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}

.newsletter-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.newsletter-inner .newsletter-content p {
  color: var(--color-slate-300);
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-slate-500);
  background: var(--color-slate-800);
  color: #fff;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: var(--color-slate-400);
}

.newsletter-form button {
  padding: 12px 24px;
  background: #fff;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: var(--color-slate-100);
}

.newsletter-image {
  display: flex;
  flex-direction: column;
  width: 512px;
  max-width: 40%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
}

.newsletter-image .wp-block-image {
  flex: 1;
  margin: 0;
  overflow: hidden;
}

.newsletter-image .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Admissions Page – Application Requirements
   ============================================ */

.requirements-photo img {
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 0;
}

.requirement-item {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
}

.req-icon {
  flex-shrink: 0;
  margin: 2px 0 0;
}

.req-icon img {
  width: 20px !important;
  height: 20px !important;
  display: block;
}

.req-text {
  flex: 1;
}

.req-title {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--color-slate-950) !important;
  margin: 0 !important;
  line-height: 24px !important;
}

.req-subtitle {
  font-size: 14px !important;
  color: var(--color-slate-500) !important;
  margin: 0 !important;
  line-height: 20px !important;
}

.important-dates {
  margin-top: 32px;
}

.important-dates h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.dates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.date-row {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 16px;
  color: var(--color-slate-950);
}

.date-row p {
  margin: 0 !important;
  font-size: 16px !important;
  color: var(--color-slate-950) !important;
  line-height: 24px !important;
}

/* ============================================
   Academics Page – Specific Styles
   ============================================ */

/* Light hero variant */
.page-hero-light {
  background: linear-gradient(162.81deg, rgba(0, 45, 84, 0.05) 0%, rgba(0, 45, 84, 0.1) 100%);
  padding: 96px 24px;
  text-align: center;
}

.page-hero-light h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-slate-950);
}

.page-hero-light p {
  font-size: 20px;
  color: var(--color-slate-600);
  max-width: 700px;
  margin: 0 auto;
}

.btn-primary-hero .wp-block-button__link {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: var(--radius-md) !important;
  padding: 8px 16px !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent !important;
  display: inline-block;
  margin-top: 16px;
}

/* Subject card header: icon + title side by side */
.card-subject-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card-subject-header .icon-circle {
  background: rgba(0, 45, 84, 0.1) !important;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.card-subject-header .icon-circle figure,
.card-subject-header .icon-circle .wp-block-image {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-subject-header .icon-circle img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin: 0;
}

.card-subject-header h4 {
  margin: 0;
  font-size: 18px;
}

/* Key areas */
.key-areas-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--color-slate-950) !important;
  margin: 12px 0 6px !important;
  line-height: 1.5;
}

.key-areas-list {
  font-size: 13px;
  color: var(--color-slate-700);
  padding-left: 16px;
  margin: 0;
}

.key-areas-list li {
  margin-bottom: 2px;
  line-height: 20px;
}

/* Social Studies centered card */
.subject-center-row {
  margin-top: 32px;
}

.subject-card-half {
  width: 100%;
  max-width: calc(50% - 16px);
}

/* Program cards with image headers */
.program-card {
  background: var(--color-background);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.program-card .wp-block-cover {
  min-height: 192px !important;
  margin: 0;
  border-radius: 0;
}

.program-card .wp-block-cover__background {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)) !important;
  opacity: 1 !important;
}

.program-card .wp-block-cover__inner-container {
  display: flex;
  align-items: flex-end;
  padding: 16px;
  width: 100%;
  height: 100%;
}

.program-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.program-title-row figure,
.program-title-row .wp-block-image {
  margin: 0;
  flex-shrink: 0;
}

.program-title-row img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.program-title-row h3 {
  color: white !important;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.program-card-content {
  padding: 24px;
}

.available-programs-label {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--color-slate-950) !important;
  margin: 0 0 8px !important;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program-tags .badge {
  border-radius: var(--radius-md);
  padding: 2px 8px;
  font-size: 12px;
  display: inline-block;
  margin: 0;
}

/* Grade level cards */
.grade-card {
  text-align: center;
  align-items: center;
}

.grade-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 45, 84, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.grade-circle p {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.grade-card h4 {
  text-align: center;
  margin-bottom: 12px;
}

.grade-badge {
  display: table;
  margin: 0 auto 12px !important;
}

.grade-subjects-count {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--color-primary) !important;
  text-align: center;
  margin-top: 12px !important;
}

/* Why choose – larger icon circles */
.icon-circle-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 45, 84, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.icon-circle-lg figure,
.icon-circle-lg .wp-block-image {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle-lg img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.why-card {
  text-align: center;
}

.why-card h4 {
  text-align: center;
}

/* CTA with dark primary background */
.cta-section-primary {
  background: var(--color-primary);
  padding: 64px 24px;
  text-align: center;
}

.cta-section-primary h2 {
  color: white !important;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section-primary p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 20px;
  margin-bottom: 24px;
}
  display: block;
}

/* --- SVG Icon Sizing ---
   Scoped rules ensure icons render at the correct size regardless of
   whether inline width/height attributes are present.
-------------------------------------------------- */
.section-title svg,
.hero-stat svg,
.feature-card svg,
.value-card svg,
.stat-card svg { width: 24px; height: 24px; flex-shrink: 0; }

.hero-stat svg { color: rgba(255, 255, 255, 0.85); }

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

h2 {
  margin: 0;
}

.checklist li svg,
.contact-info svg { width: 20px; height: 20px; flex-shrink: 0; }

.check-icon svg,
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.newsletter-image-placeholder {
  height: 320px;
  background: var(--color-slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-400);
}

/* ============================================
   Admissions Page – General
   ============================================ */

.admissions-hero {
  background: var(--color-slate-100);
  padding: 96px 24px;
  text-align: center;
}

.admissions-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-slate-950);
  margin-bottom: 16px;
}

.admissions-hero p {
  font-size: 20px;
  color: var(--color-slate-500);
  max-width: 700px;
  margin: 0 auto 32px;
}

.process-card {
  text-align: center;
}

.process-step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto 20px;
  color: var(--color-slate-500);
}

.process-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-slate-950);
  margin-bottom: 8px;
}

.ready-banner {
  background: var(--color-slate-100);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  margin-top: 24px;
}

.ready-banner h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-slate-950);
  margin-bottom: 12px;
}

.ready-banner p {
  font-size: 18px;
  color: var(--color-slate-500);
  margin-bottom: 20px;
}

.tuition-subtitle {
  font-size: 18px !important;
  color: var(--color-slate-500) !important;
}

.tuition-card-header {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.tuition-card-header svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-slate-950);
}

.tuition-card-label {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--color-slate-950) !important;
  margin: 0 !important;
}

.tuition-row {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.tuition-row p {
  margin: 0 !important;
  font-size: 16px !important;
  color: var(--color-slate-950) !important;
  line-height: 24px !important;
}

.tuition-row .amount {
  font-weight: 700 !important;
}

.tuition-note {
  font-size: 14px !important;
  color: var(--color-slate-500) !important;
  margin-top: 16px !important;
}

.financial-aid-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.financial-aid-item:last-child {
  margin-bottom: 0;
}

.aid-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--color-slate-950) !important;
  margin: 0 !important;
  line-height: 24px !important;
}

.aid-desc {
  font-size: 14px !important;
  color: var(--color-slate-500) !important;
  margin: 0 !important;
  line-height: 20px !important;
}

.cta-btn-row {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-or {
  color: white !important;
  font-size: 16px !important;
  margin: 0 !important;
  line-height: 1;
}

.cta-contact-info p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 16px !important;
  margin: 0 !important;
  line-height: 24px !important;
  text-align: center;
}

/* ============================================
   Responsive – Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 64px 24px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .home-hero {
    padding: 96px 24px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 32px;
  }
}

/* ============================================
   Responsive – Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .page-hero {
    padding: 48px 16px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .home-hero {
    padding: 64px 16px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .about-row {
    flex-direction: column;
  }

  .about-row > .wp-block-column:first-child {
    max-width: 100%;
    width: 100%;
  }

  .about-row img,
  .about-row .about-image-placeholder {
    max-width: 100%;
    width: 100%;
  }

  .newsletter-inner {
    flex-direction: column;
  }

  .newsletter-image {
    max-width: 100%;
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .cta-section {
    padding: 48px 16px;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Two-column content sections go single column */
  [style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
  }
}
