/* Competition detail pages */
:root {
  --ink:       #0c1a3a;
  --ink-mid:   #1a3460;
  --ink-light: #3a5c8a;
  --border:    #9bbce8;
  --bg:        #f4f8ff;
  --bg-alt:    #eef5ff;
  --font: 'EB Garamond', Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Top bar ─────────────────────────────────── */
.topbar {
  background: #0c1e48;
  color: #fff;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px solid #555;
}
.topbar-back {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  padding: 5px 14px;
  transition: all .2s;
}
.topbar-back:hover { color: #dceeff; border-color: #dceeff; }
.topbar-church {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(255,255,255,.5);
}

/* ── Page header ─────────────────────────────── */
.page-hero {
  background: #0c1e48;
  color: #fff;
  text-align: center;
  padding: 72px 32px 64px;
  border-bottom: 3px solid #444;
}
.page-hero-tag {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.page-hero-year {
  font-size: 1rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
}
.hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px auto;
}
.hero-rule span { display: block; width: 80px; height: 1px; background: rgba(180,210,255,.3); }
.hero-rule .dot { color: rgba(255,255,255,.4); font-size: .7rem; }

/* ── Glance banner ───────────────────────────── */
.glance {
  background: #e4eef9;
  border-bottom: 2px solid #9bbce8;
  padding: 28px 32px;
}
.glance-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.glance-item {
  padding: 12px 32px;
  text-align: center;
  border-right: 1px solid #9bbce8;
}
.glance-item:last-child { border-right: none; }
.glance-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5a7ab0;
  margin-bottom: 4px;
}
.glance-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c1a3a;
}

/* ── Content ─────────────────────────────────── */
.comp-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.comp-section {
  padding: 48px 0;
  border-bottom: 1px solid #ddd;
}
.comp-section:last-child { border-bottom: none; }
.comp-section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5a7ab0;
  margin-bottom: 10px;
}
.comp-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.25;
}
.comp-section p {
  font-size: 1rem;
  color: #1a3460;
  margin-bottom: 14px;
  line-height: 1.75;
}
.comp-section p:last-child { margin-bottom: 0; }

/* Criteria list */
.criteria-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #9bbce8;
}
.criteria-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #ddd;
  gap: 16px;
}
.criteria-item:last-child { border-bottom: none; }
.criteria-name { font-weight: 600; font-size: .95rem; }
.criteria-desc { font-size: .88rem; color: #555; flex: 1; padding: 0 16px; }
.criteria-weight {
  font-size: .9rem;
  font-weight: 700;
  background: #1a3460;
  color: #dceeff;
  padding: 3px 12px;
  white-space: nowrap;
}

/* Eligibility bullets */
.elig-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.elig-list li {
  padding: 10px 16px;
  border-left: 3px solid #4a78c0;
  background: #eef5ff;
  font-size: .95rem;
  color: #222;
}

/* Timeline */
.timeline-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid #4a78c0;
  padding-left: 24px;
}
.timeline-item {
  position: relative;
  padding: 12px 0;
  border-bottom: 1px dashed #cdddf5;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 18px;
  width: 10px;
  height: 10px;
  background: #4a78c0;
  border-radius: 50%;
}
.timeline-date { font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: #555; margin-bottom: 3px; }
.timeline-event { font-size: .95rem; font-weight: 600; color: #000; }
.timeline-note  { font-size: .88rem; color: #555; margin-top: 2px; }

/* Winner card */
.winner-card {
  border: 2px solid #9bbce8;
  border-top: 5px solid #1a3460;
  margin-top: 16px;
}
.winner-card-header {
  background: #1a3460;
  color: #dceeff;
  padding: 14px 24px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.winner-card-body { padding: 24px; }
.winner-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.winner-prize { font-size: 1.1rem; color: #1a3460; margin-bottom: 14px; font-weight: 600; }
.winner-bio { font-size: .95rem; color: #3a5c8a; line-height: 1.7; }

/* Awards grid (for Community Excellence) */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.award-card {
  border: 1px solid #9bbce8;
  border-top: 4px solid #1a3460;
  padding: 24px 20px;
  text-align: center;
}
.award-place {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5a7ab0;
  margin-bottom: 8px;
}
.award-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}
.award-name { font-size: .95rem; font-weight: 600; color: #222; }
.award-note { font-size: .82rem; color: #666; margin-top: 4px; }

/* Spotlight (Darshan) */
.spotlight {
  background: #0c1e48;
  color: #fff;
  padding: 40px;
  margin-top: 32px;
}
.spotlight-label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.spotlight h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.spotlight-prize {
  font-size: 1rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.spotlight p {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Page footer */
.page-footer {
  background: #0c1e48;
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 24px 32px;
  font-size: .82rem;
  border-top: 2px solid #1e3a6a;
}
.page-footer a { color: rgba(255,255,255,.6); }

@media (max-width: 640px) {
  .awards-grid { grid-template-columns: 1fr; }
  .glance-item { border-right: none; border-bottom: 1px solid #bbb; padding: 12px 20px; }
  .glance-item:last-child { border-bottom: none; }
  .criteria-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .topbar { padding: 12px 20px; }
  .comp-body { padding: 0 20px 60px; }
  .spotlight { padding: 28px 20px; }
}
