body.edu-yeonhwa {
  --background: #f8f5f0;
  --foreground: #1d1a16;
  --card: #ffffff;
  --card-foreground: #1d1a16;
  --border: #e3dbcf;
  --border-strong: #d5cbbd;
  --muted: #f1ece4;
  --muted-foreground: #6d5d52;
  --primary: #002554;
  --primary-hover: #001a3b;
  --accent: #f6b51f;
  --ring: #002554;
  --header-height: 64px;
  --content-max: var(--page-max);
}

body.edu-yeonhwa::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 37, 84, 0.12), transparent 50%),
    radial-gradient(circle at 82% 8%, rgba(246, 181, 31, 0.18), transparent 55%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.65), rgba(244, 236, 225, 0.95)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 6px);
  z-index: -2;
}

.edu-yeonhwa .edu-header {
  background: rgba(255, 255, 255, 0.92);
}

.edu-yeonhwa .edu-header .logo-img {
  height: clamp(32px, 4vw, 48px);
  width: auto;
}

.yeonhwa-page-hero {
  padding: 28px 32px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(20, 16, 12, 0.08);
  display: grid;
  gap: 10px;
}

.yeonhwa-page-hero .badge {
  width: fit-content;
}

.yeonhwa-page-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.yeonhwa-page-subtitle {
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 680px;
}

.yeonhwa-hero {
  position: relative;
  border-radius: 28px;
  padding: 40px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(0, 37, 84, 0.92), rgba(0, 26, 59, 0.96));
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 20, 40, 0.25);
}

.yeonhwa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(246, 181, 31, 0.3), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 0.7;
}

.yeonhwa-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  z-index: 1;
}

.yeonhwa-hero h1 {
  font-family: var(--font-family-serif);
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 12px;
}

.yeonhwa-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.7;
}

.yeonhwa-hero-info {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.yeonhwa-hero-info-item {
  display: grid;
  gap: 2px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.yeonhwa-hero-info-item strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.yeonhwa-hero-links {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.yeonhwa-quick-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.yeonhwa-quick-card span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.yeonhwa-quick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.yeonhwa-hero .btn {
  border-color: rgba(255, 255, 255, 0.3);
}

.yeonhwa-hero .btn-primary {
  background: var(--accent);
  color: #1c1b19;
}

.yeonhwa-hero .btn-outline {
  color: #ffffff;
}

.yeonhwa-hero .badge {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

.yeonhwa-hero .edu-chip {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.yeonhwa-hero-media {
  display: grid;
  gap: 16px;
  align-content: center;
}

.yeonhwa-emblem {
  width: min(200px, 60vw);
  height: auto;
}

.yeonhwa-wordmark {
  width: min(280px, 70vw);
  height: auto;
}

.yeonhwa-seal {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 8px;
  backdrop-filter: blur(8px);
}

.yeonhwa-seal strong {
  font-size: 18px;
}

.paper-card {
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(22, 18, 14, 0.08);
  position: relative;
  overflow: hidden;
}

.paper-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 6px);
  opacity: 0.3;
  pointer-events: none;
}

.paper-card > * {
  position: relative;
  z-index: 1;
}

.yeonhwa-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.yeonhwa-stat {
  display: grid;
  gap: 6px;
}

.yeonhwa-stat strong {
  font-size: 22px;
  color: var(--primary);
}

.yeonhwa-info-grid {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.yeonhwa-info-item {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
}

.yeonhwa-info-item dt {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.yeonhwa-info-item dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.5;
}

.yeonhwa-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 16px;
}

.yeonhwa-news-list {
  display: grid;
  gap: 10px;
}

.yeonhwa-news-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: inherit;
}

.yeonhwa-news-item strong {
  font-size: 15px;
}

.yeonhwa-news-item:hover {
  border-color: var(--border-strong);
}

.yeonhwa-news-meta {
  font-size: 14px;
  color: var(--muted-foreground);
}

.yeonhwa-calendar {
  display: grid;
  gap: 8px;
}

.yeonhwa-calendar-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.yeonhwa-calendar-item span {
  color: var(--muted-foreground);
}

.yeonhwa-feature {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 37, 84, 0.08);
  display: grid;
  gap: 6px;
}

.yeonhwa-feature strong {
  font-size: 14px;
  color: var(--primary);
}

.yeonhwa-campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.yeonhwa-campus-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
}

.yeonhwa-campus-card span {
  font-size: 14px;
  color: var(--muted-foreground);
}

.yeonhwa-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yeonhwa-tag-list .badge {
  font-size: 14px;
}

.yeonhwa-major-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.yeonhwa-major-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yeonhwa-major-list .badge {
  background: rgba(0, 37, 84, 0.08);
  color: var(--primary);
  border: 1px solid rgba(0, 37, 84, 0.15);
}

.yeonhwa-system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.yeonhwa-system-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 8px;
}

.yeonhwa-system-card strong {
  font-size: 14px;
}

.yeonhwa-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.yeonhwa-life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.yeonhwa-life-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  gap: 8px;
}

.yeonhwa-life-card ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.yeonhwa-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.yeonhwa-affiliate-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 8px;
}

.yeonhwa-affiliate-card ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.yeonhwa-history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
}

.yeonhwa-history-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 10px;
}

.yeonhwa-history-card ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.yeonhwa-admissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.yeonhwa-admissions-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 8px;
}

.yeonhwa-admissions-card ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.yeonhwa-timeline {
  display: grid;
  gap: 12px;
}

.yeonhwa-timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
}

.yeonhwa-timeline-year {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.yeonhwa-symbol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.yeonhwa-symbol-card {
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

.yeonhwa-symbol-card img {
  max-width: 160px;
  height: auto;
}

.yeonhwa-color-swatch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.yeonhwa-color {
  padding: 14px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 600;
  display: grid;
  gap: 6px;
}

.yeonhwa-color.light {
  color: #1d1a16;
}

.yeonhwa-president-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.yeonhwa-president-card {
  display: grid;
  gap: 12px;
}

.yeonhwa-president-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  justify-self: center;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
}

.yeonhwa-president-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.yeonhwa-president-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.yeonhwa-president-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.yeonhwa-president-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yeonhwa-president-story {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.yeonhwa-president-detail {
  display: grid;
  gap: 6px;
  margin: 0;
}

.yeonhwa-president-detail div {
  display: grid;
  grid-template-columns: minmax(120px, 140px) 1fr;
  gap: 8px;
}

.yeonhwa-president-detail dt {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}

.yeonhwa-president-detail dd {
  margin: 0;
  font-weight: 500;
}

.yeonhwa-president-highlights {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.yeonhwa-president-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1024px) {
  .yeonhwa-hero-grid {
    grid-template-columns: 1fr;
  }

  .yeonhwa-news-grid,
  .yeonhwa-history-grid {
    grid-template-columns: 1fr;
  }

  .yeonhwa-timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .yeonhwa-hero {
    padding: 28px;
  }

  .yeonhwa-hero-links {
    grid-template-columns: 1fr;
  }

  .yeonhwa-page-hero {
    padding: 22px;
  }
}
