/*=== BASE DE LAS PAGINAS DE SECCION ===*/
:root {
  --section-ink: #29252a;
  --section-muted: #69616a;
  --section-green: #482b3d;
  --section-lime: #795712;
  --section-paper: #faf9f6;
  --section-line: #e1dade;
}

body.section-page {
  min-height: 100vh;
  background: var(--section-paper);
  color: var(--section-ink);
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.section-header {
  background: #fff;
  border-bottom: 1px solid var(--section-line);
}

.section-header-inner,
.section-content,
.section-footer-inner {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.section-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--section-ink);
  text-decoration: none;
  font-weight: 800;
}

.section-brand img { width: 48px; height: 48px; object-fit: contain; }
.section-brand small { display: block; color: var(--section-muted); font-size: .7rem; font-weight: 600; }

.section-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.section-nav a {
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--section-muted);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.section-nav a:hover,
.section-nav a[aria-current="page"] {
  background: #fbf3e2;
  color: var(--section-green);
}

.section-nav-group { position: relative; }
.section-nav-group summary {
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--section-muted);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.section-nav-group summary::-webkit-details-marker { display: none; }
.section-nav-group summary::after { content: "⌄"; margin-left: 6px; }
.section-nav-group[open] summary { background: #fbf3e2; color: var(--section-green); }
.section-nav-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 10;
  min-width: 170px;
  padding: 5px;
  border: 1px solid var(--section-line);
  background: #fff;
  box-shadow: 0 12px 24px rgb(41 36 43 / 12%);
}
.section-nav-menu a { display: block; }

.section-content { padding-block: 68px 76px; }

.section-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, .8fr);
  gap: 52px;
  align-items: center;
  padding-bottom: 54px;
}

.section-kicker {
  color: #865c18;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-title {
  max-width: 700px;
  margin: 12px 0 16px;
  color: var(--section-green);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.section-description {
  max-width: 650px;
  color: var(--section-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-aside {
  padding: 25px;
  border-top: 4px solid var(--section-lime);
  background: #fff;
  box-shadow: 0 12px 32px rgb(41 36 43 / 7%);
}

.section-aside h2,
.roster-heading { margin-bottom: 18px; font-size: 1.05rem; }
.section-fact + .section-fact { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--section-line); }
.section-fact dt { color: var(--section-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-fact dd { margin-top: 4px; font-weight: 700; }

.section-roster { padding-top: 28px; border-top: 1px solid var(--section-line); }
.roster-heading { color: var(--section-green); font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; }
.roster-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; list-style: none; }
.roster-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--section-line); }
.roster-list span { font-weight: 700; }
.roster-list small { color: var(--section-muted); text-align: right; }

.section-footer { border-top: 1px solid var(--section-line); background: #fff; color: var(--section-muted); font-size: .82rem; }
.section-footer-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; }
.section-footer a { color: var(--section-green); font-weight: 700; text-decoration: none; }
.section-footer a:hover { text-decoration: underline; }

.portal-action {
  display: inline-flex;
  margin-top: 22px;
  padding: 11px 16px;
  background: var(--section-green);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.portal-action:hover { background: #301d29; }
.section-note { margin-top: 18px; color: var(--section-muted); font-size: .88rem; }

@media (max-width: 760px) {
  .section-header-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 14px; }
  .section-nav { justify-content: flex-start; }
  .section-nav a { padding: 7px 8px; }
  .section-content { padding-block: 44px 54px; }
  .section-hero { grid-template-columns: 1fr; gap: 28px; padding-bottom: 38px; }
  .section-title { font-size: clamp(2.7rem, 12vw, 4rem); }
  .roster-list { grid-template-columns: 1fr; }
  .section-footer-inner { flex-direction: column; }
}
