/*
Theme Name: Aldenmoor University
Theme URI: https://aldenmoor.ac.uk
Author: Aldenmoor University
Author URI: https://aldenmoor.ac.uk
Description: A distinguished academic WordPress theme for Aldenmoor University, inspired by centuries of tradition. Features navy and gold palette, EB Garamond typography, and elegant program/event/faculty layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aldenmoor
Tags: education, university, academic, custom-menu, featured-images, full-width-template, post-formats, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:        #1a2540;
  --navy-light:  #243153;
  --gold:        #c9a84c;
  --gold-light:  #e8c86a;
  --gold-pale:   #fdf4e0;
  --cream:       #faf8f4;
  --cream-dark:  #f0ebe0;
  --text:        #1c1c1c;
  --text-mid:    #4a4a4a;
  --text-muted:  #7a7a7a;
  --border:      rgba(0,0,0,0.10);
  --border-strong: rgba(0,0,0,0.18);
  --white:       #ffffff;
  --radius:      10px;
  --radius-lg:   14px;
  --max-width:   960px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: underline; }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-branding:hover { text-decoration: none; }

.branding-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.branding-name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.2;
  display: block;
}

.branding-sub {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 300;
  display: block;
}

/* Primary menu */
.main-navigation { display: flex; align-items: center; }
.main-navigation ul { list-style: none; display: flex; gap: 2px; padding: 0; margin: 0; }
.main-navigation ul li { position: relative; }
.main-navigation ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
  display: block;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  background: rgba(201,168,76,0.18);
  color: var(--gold-light);
}

/* Dropdown */
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  min-width: 200px;
  flex-direction: column;
  gap: 0;
  padding: 6px;
}
.main-navigation ul li:hover > ul { display: flex; }
.main-navigation ul ul li a { border-radius: 6px; white-space: nowrap; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}

/* ============================================================
   HERO / PAGE BANNER
   ============================================================ */
.hero-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 59px, rgba(201,168,76,0.04) 59px, rgba(201,168,76,0.04) 60px),
    repeating-linear-gradient(90deg,  transparent, transparent 59px, rgba(201,168,76,0.04) 59px, rgba(201,168,76,0.04) 60px);
  pointer-events: none;
}

.hero-crest {
  width: 110px;
  height: 110px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.hero-banner h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.hero-latin {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

.hero-desc {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 20px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.75;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero-stat {
  flex: 1;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }

.hero-stat-val {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 28px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-lbl {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 29px, rgba(201,168,76,0.04) 29px, rgba(201,168,76,0.04) 30px),
    repeating-linear-gradient(90deg,  transparent, transparent 29px, rgba(201,168,76,0.04) 29px, rgba(201,168,76,0.04) 30px);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.page-hero h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}
.page-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.page-hero-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

/* ============================================================
   LAYOUT / CONTAINERS
   ============================================================ */
.site-main { min-height: 60vh; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: var(--cream);
  display: inline-block;
}

.tag.gold {
  background: var(--gold-pale);
  color: #7a5800;
  border-color: rgba(201,168,76,0.5);
  font-weight: 500;
}

/* ============================================================
   PROGRAM CARDS
   ============================================================ */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.prog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.prog-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26,37,64,0.08);
  text-decoration: none;
  color: inherit;
}

.prog-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.prog-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prog-card h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.prog-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.prog-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ============================================================
   EVENT CARDS
   ============================================================ */
.event-list { display: flex; flex-direction: column; gap: 14px; }

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.event-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26,37,64,0.08);
  text-decoration: none;
  color: inherit;
}

.event-date {
  min-width: 54px;
  text-align: center;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 8px 6px;
  flex-shrink: 0;
}

.event-date .month {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
}

.event-date .day {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 26px;
  color: #fff;
  line-height: 1;
  display: block;
}

.event-body h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.event-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}

.event-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ============================================================
   PROFESSOR CARDS
   ============================================================ */
.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.prof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.prof-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26,37,64,0.08);
  text-decoration: none;
  color: inherit;
}

.prof-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  margin: 0 auto 1rem;
  border: 2px solid var(--border);
  overflow: hidden;
}

.prof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-card h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.prof-title {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}

.prof-dept {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prof-quote {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 15px;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}

.prof-detail-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 1rem;
  border: 3px solid rgba(201, 168, 76, 0.3);
}

.prof-detail-avatar img {
  max-width: 100px;
}

/* ============================================================
   CAMPUS CARDS
   ============================================================ */
.campus-list { display: flex; flex-direction: column; gap: 20px; }

.campus-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.campus-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26,37,64,0.08);
  text-decoration: none;
  color: inherit;
}

.campus-banner { height: 6px; }
.campus-body { padding: 1.5rem; }

.campus-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.campus-head h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.campus-loc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.campus-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.campus-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fact {
  background: var(--cream);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.fact-val {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 20px;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
  font-weight: 600;
}

.fact-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================================
   DETAIL PAGES (single program/event/professor/campus)
   ============================================================ */
.detail-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.detail-container .wp-block-heading {
  margin: 1rem 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.back-btn:hover {
  background: var(--cream-dark);
  color: var(--text);
  text-decoration: none;
}

.back-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Detail two-column layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}

.detail-main { display: flex; flex-direction: column; gap: 1.5rem; }
.detail-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.detail-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.detail-block h4 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.detail-block p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.detail-block p:last-child { margin-bottom: 0; }

.detail-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.detail-block ul li {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.detail-block ul li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}

/* Sidebar widgets */
.sidebar-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.sidebar-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sidebar-stat-value {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 600;
}

.sidebar-stat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.sidebar-info-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.sidebar-info-block h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.info-row:last-child { border-bottom: none; }
.info-row .lbl { color: var(--text-muted); }
.info-row .val { color: var(--text); font-weight: 500; text-align: right; }

/* Apply button */
.apply-btn {
  display: block;
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px;
  font-size: 14px;
  font-family: 'EB Garamond', Georgia, serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
  text-decoration: none;
}

.apply-btn:hover {
  background: var(--navy-light);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  background: var(--gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.quote-block p {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  margin: 0;
}

blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  background: var(--gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
}

/* ============================================================
   STANDARD CONTENT (pages / posts)
   ============================================================ */
.entry-header { margin-bottom: 2rem; }
.entry-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.entry-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.entry-content {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

.entry-content h2 { font-size: 28px; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 22px; margin: 1.75rem 0 0.75rem; }
.entry-content h4 { font-size: 18px; margin: 1.5rem 0 0.5rem; }

/* ============================================================
   SIDEBAR (widget area)
   ============================================================ */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text-mid); text-decoration: none; }
.widget ul li a:hover { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-top: 1px solid rgba(201,168,76,0.2);
  margin-top: 3rem;
}

.site-footer span { color: var(--gold); }

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-motto {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--gold); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.pagination a:hover,
.pagination .current {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--navy);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

textarea { resize: vertical; min-height: 120px; }

.btn,
button[type="submit"],
input[type="submit"] {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 10px 24px;
  font-size: 14px;
  font-family: 'EB Garamond', Georgia, serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--navy-light);
  color: #fff;
}

.btn.gold {
  background: var(--gold);
  color: var(--navy);
}
.btn.gold:hover { background: var(--gold-light); color: var(--navy); }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; }
.search-form button { width: auto; padding: 10px 20px; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .detail-grid      { grid-template-columns: 1fr; }
  .sidebar-layout   { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-inner        { padding: 0 1rem; }
  .main-navigation  { display: none; }
  .main-navigation.is-open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1rem; }
  .main-navigation.is-open ul { flex-direction: column; }
  .menu-toggle      { display: block; }
  .hero-banner h1   { font-size: 30px; }
  .hero-stats       { flex-wrap: wrap; }
  .hero-stat        { min-width: 50%; }
  .campus-facts     { grid-template-columns: 1fr 1fr; }
  .container        { padding: 2rem 1.25rem; }
}
