:root {
  --blue: #0d47a1;
  --blue-mid: #1565c0;
  --blue-light: #1976d2;
  --blue-pale: #e3f2fd;
  --text: #212121;
  --text-muted: #616161;
  --bg: #f5f7fa;
  --card-bg: #ffffff;
  --border: #e0e0e0;
  --radius: 8px;

  --hero-bg-from: #0d2854;
  --hero-bg-to: #060e1d;
  --hero-cyan: #00bcd4;
  --hero-green: #7cb342;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--blue-light);
}

a:hover {
  color: var(--blue);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Standard header (non-index pages) ── */

header {
  background: var(--blue);
  color: #fff;
  padding: 1.75rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-inner h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tagline {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ── Main ── */

main {
  flex: 1;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */

.hero {
  position: relative;
  background: radial-gradient(ellipse at 35% 55%, var(--hero-bg-from) 0%, var(--hero-bg-to) 100%);
  overflow: hidden;
}

/* Corner decorations */
.hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}

.deco {
  position: absolute;
}

/* Blue rounded quarter-circle — anchored to very corner */
.deco-blue {
  top: 0;
  right: 0;
  width: 230px;
  height: auto;
}

/* Cyan rounded quarter-circle — slightly offset left, in front */
.deco-cyan {
  top: 0;
  right: 65px;
  width: 210px;
  height: auto;
}

/* Green right-angle triangle at the absolute top-right corner */
.deco-green {
  top: 0;
  right: 0;
  width: 125px;
  height: 125px;
  background: var(--hero-green);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

/* Cyan chevron arrow */
.deco-arrow {
  top: 75px;
  right: 278px;
  width: 56px;
  height: auto;
}

/* Inner layout: two-column grid */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: end;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 540px;
}

/* Penguins column */
.hero-penguins {
  display: flex;
  align-items: flex-end;
  align-self: end;
}

.penguin {
  display: block;
  flex-shrink: 0;
}

.penguin-a {
  width: 158px;
  margin-right: -22px;
  position: relative;
  z-index: 1;
}

.penguin-b {
  width: 140px;
}

/* Content column */
.hero-body {
  padding: 4rem 0 3.5rem 2rem;
  color: #fff;
}

/* Logos */
.hero-logos {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-logo {
  height: auto;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-oc {
  height: 46px;
}

.logo-lxf {
  height: 38px;
}

/* Title */
.hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-text-link {
  color: var(--hero-cyan);
  text-decoration: none;
  font-weight: 500;
}

.hero-text-link:hover {
  text-decoration: underline;
  color: var(--hero-cyan);
}

/* CTA buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}

.hero-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.hero-btn-primary {
  background: var(--hero-cyan);
  color: #fff;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* ── Meetings ── */

.meetings-section {
  padding: 2.5rem 1.5rem;
}

.meetings-section h2 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue-pale);
}

.meetings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.meeting-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.meeting-header {
  background: var(--blue-mid);
  padding: 0.6rem 1.25rem;
}

.meeting-date {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.file-list {
  list-style: none;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.file-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--blue-light);
  padding: 0.3rem 0.4rem;
  border-radius: 4px;
  transition: background 0.12s;
}

.file-link:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

.badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15em 0.45em;
  border-radius: 3px;
  flex-shrink: 0;
}

.badge-pdf {
  background: #ffebee;
  color: #c62828;
}

.badge-md {
  background: #e8f5e9;
  color: #2e7d32;
}

.file-label {
  font-size: 0.95rem;
}

/* ── Footer ── */

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

footer a:hover {
  color: var(--blue-light);
}

/* ── Responsive ── */

@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0 1.25rem;
  }

  .hero-mascots {
    display: none;
  }

  .hero-body {
    padding: 3rem 0 3rem 0;
  }

  .deco-blue  { width: 160px; }
  .deco-cyan  { width: 145px; right: 45px; }
  .deco-green { width: 88px; height: 88px; }
  .deco-arrow { width: 40px; top: 50px; right: 195px; }
}
