/* ── EAGLE SCOUTS PAGE ── */
.eagles-wrap { padding: 4rem 0 5rem; }

/* ── Page content (Upper/Lower Content) ── */
.eagles-content-block { padding: 2rem 0; }
.eagles-content { max-width: 780px; margin: 0 auto; }
.eagles-content p { font-size: 0.97rem; color: var(--text); line-height: 1.85; margin-bottom: 1.2rem; }
.eagles-content h2, .eagles-content h3 { font-family: var(--f-head); font-weight: 800; color: var(--navy); line-height: 1.25; margin: 1.6rem 0 0.9rem; }
.eagles-content img { max-width: 100%; border-radius: 4px; }
.eagles-content a { color: var(--navy); text-decoration: underline; }
.eagles-content a:hover { color: var(--gold); }

.eagle-intro { background: var(--cream); border: 1px solid var(--border); border-left: 5px solid var(--gold); border-radius: 0 4px 4px 0; padding: 1.6rem 2rem; margin-bottom: 3rem; }
.eagle-intro h2 { font-family: var(--f-head); font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.eagle-intro p { font-size: 0.9rem; line-height: 1.75; color: var(--muted); }

.eagle-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3.5rem; }
.eagle-stat { background: var(--navy); color: white; padding: 1.4rem 1.2rem; border-radius: 4px; text-align: center; }
.eagle-stat-num { font-family: var(--f-head); font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 0.3rem; }
.eagle-stat-lbl { font-family: var(--f-head); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

.roll-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.roll-bar h3 { font-family: var(--f-head); font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.sort-select { font-family: var(--f-head); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 3px; background: white; color: var(--navy); cursor: pointer; }

.eagle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.eagle-card {
  background: white; border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.eagle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.eagle-card-top { display: flex; gap: 0; }
.eagle-photo { width: 100px; height: 110px; flex-shrink: 0; overflow: hidden; }
.eagle-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.eagle-card-header { flex: 1; padding: 1rem 1rem 0.8rem; background: var(--navy); color: white; display: flex; flex-direction: column; justify-content: center; }
.eagle-year { font-family: var(--f-head); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.eagle-name { font-family: var(--f-head); font-size: 1rem; font-weight: 800; line-height: 1.2; }
.eagle-card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; }
.eagle-project-label { font-family: var(--f-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.35rem; }
.eagle-project { font-size: 0.84rem; line-height: 1.65; color: var(--text); }
.eagle-card-footer { padding: 0.7rem 1.1rem; border-top: 1px solid var(--border); background: var(--cream); }
.eagle-detail { font-size: 0.75rem; color: var(--muted); }

/* Full honor roll toggle */
.full-list { margin-top: 3rem; }
.full-list-toggle { font-family: var(--f-head); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--navy); background: none; border: 2px solid var(--navy); padding: 0.65rem 1.5rem; border-radius: 3px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.full-list-toggle:hover { background: var(--navy); color: white; }
.toggle-arrow { transition: transform 0.3s; display: inline-block; }
.toggle-arrow.open { transform: rotate(90deg); }
.honor-roll-table-wrap { margin-top: 1.5rem; }

/* MudTable overrides for honor roll */
.honor-table .mud-table-cell.mud-table-cell-header,
.honor-table th {
  background: var(--navy) !important;
  color: white !important;
  font-family: var(--f-head) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.75rem 1rem !important;
  text-align: left !important;
}
.honor-table .mud-table-cell,
.honor-table td {
  padding: 0.75rem 1rem !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid var(--border) !important;
  vertical-align: middle !important;
}
.honor-table .mud-table-row:last-child .mud-table-cell,
.honor-table tr:last-child td { border-bottom: none !important; }
.honor-table .mud-table-row:hover { background: var(--cream) !important; }
.honor-table .mud-elevation-1 { box-shadow: none !important; border: 1px solid var(--border) !important; border-radius: 4px !important; }
.ht-year { font-family: var(--f-head); font-weight: 800; color: var(--gold); font-size: 0.9rem; }
.ht-name { font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.ht-name-cell { display: flex; align-items: center; gap: 0.6rem; }
.ht-thumb { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

@media (max-width: 900px) { .eagle-grid { grid-template-columns: repeat(2, 1fr); } .eagle-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eagle-grid { grid-template-columns: 1fr; } .eagle-stats { grid-template-columns: repeat(2, 1fr); } }
