:root {
  --bg-page: #f7fbfa;
  --bg-alt: #eef6f5;
  --surface: #ffffff;
  --surface-soft: #f5faf9;
  --surface-navy: #002d62;
  --surface-navy-2: #064272;
  --ink-900: #102033;
  --ink-700: #3b4b5f;
  --ink-500: #667384;
  --line: rgba(116, 119, 127, 0.14);
  --line-strong: rgba(116, 119, 127, 0.26);
  --brand-900: #002d62;
  --brand-800: #064272;
  --brand-700: #0b5f83;
  --brand-500: #00a699;
  --brand-300: #a8ddd7;
  --accent: #00a699;
  --gold-600: #d1a316;
  --gold-500: #d1a316;
  --gold-300: #f1dc93;
  --ok: #1f7a52;
  --ok-soft: #e8f6ee;
  --danger: #aa3535;
  --danger-soft: #fbeaea;
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --shadow-soft: 0 22px 46px rgba(14, 39, 68, 0.08);
  --shadow-card: 0 12px 28px rgba(18, 51, 82, 0.08);
  --hero-focus-x: 50%;
  --hero-focus-y: 50%;
  --hero-overlay-alpha: 0.72;
  --hero-content-max-width: 620px;
  --hero-title-max-width: 11ch;
  --hero-title-size: 78px;
  --hero-min-height: 640px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-900);
  font-family: 'Inter', sans-serif;
  background:
    linear-gradient(135deg, rgba(0, 166, 153, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-page) 48%, var(--bg-alt) 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

p {
  line-height: 1.75;
}

.container {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
}

.utility-bar {
  background: transparent;
  color: rgba(27, 28, 21, 0.68);
  border-bottom: 0;
}

.utility-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.utility-copy {
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.utility-links a {
  text-decoration: none;
  font-size: 0.78rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(27, 28, 21, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  padding: 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 0;
}

.site-brand {
  flex: 0 0 auto;
}

.site-brand img {
  width: clamp(260px, 28vw, 380px);
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.brand-text {
  display: grid;
  gap: 0.12rem;
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text small {
  color: var(--ink-500);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.top-nav a,
.top-nav .btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
  border-radius: 0;
  border: 1px solid transparent;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-700);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.top-nav a {
  position: relative;
}

.top-nav a::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.42rem;
  height: 2px;
  background: var(--brand-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  transform: scaleX(1);
}

.top-nav a:hover,
.top-nav .btn-mini:hover,
.btn:hover,
.chip-btn:hover,
.utility-link:hover,
.feature-link:hover,
.news-link:hover,
.service-link:hover {
  transform: translateY(-1px);
}

.top-nav a:hover {
  color: var(--gold-600);
  background: transparent;
  border-color: transparent;
}

.btn,
.top-nav .btn-mini,
button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 0.82rem 1.18rem;
  color: var(--surface);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
  box-shadow: 0 12px 24px rgba(27, 28, 21, 0.1);
}

.btn-light,
.chip-btn {
  color: var(--brand-700);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-gold {
  color: #5d4300;
  background: linear-gradient(135deg, #f8d16a, #e6b53b);
  box-shadow: 0 14px 26px rgba(175, 126, 26, 0.25);
}

.btn-ghost-light {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.flash {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  padding: 0.82rem 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.flash-success {
  background: var(--ok-soft);
  color: var(--ok);
}

.flash-error {
  background: var(--danger-soft);
  color: var(--danger);
}

.site-main {
  padding: 1.4rem 0 0;
}

.home-hub {
  display: grid;
  gap: 1.3rem;
  padding-bottom: 2rem;
}

.home-hero-panel,
.conference-band,
.home-section,
.resource-card,
.news-highlight-card,
.news-feed-item,
.mentor-card,
.quick-link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.home-hero-panel {
  --hero-focus-x: 50%;
  --hero-focus-y: 50%;
  --hero-overlay-alpha: 0.72;
  --hero-content-max-width: 620px;
  --hero-title-max-width: 11ch;
  --hero-title-size: 78px;
  --hero-min-height: 640px;
  position: relative;
  overflow: hidden;
  min-height: var(--hero-min-height);
}

.home-hero-media,
.home-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-media img {
  object-fit: cover;
  object-position: var(--hero-focus-x) var(--hero-focus-y);
}

.home-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 32, calc(var(--hero-overlay-alpha) + 0.18)) 0%, rgba(10, 18, 32, var(--hero-overlay-alpha)) 38%, rgba(10, 18, 32, 0.14) 78%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.06), rgba(10, 18, 32, calc(var(--hero-overlay-alpha) * 0.34)));
}

.home-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 1rem;
  min-height: var(--hero-min-height);
  width: min(var(--hero-content-max-width), 100%);
  padding: 3.2rem;
  color: var(--surface);
}

.hero-align-top .home-hero-content {
  align-content: start;
}

.hero-align-middle .home-hero-content {
  align-content: center;
}

.hero-align-bottom .home-hero-content {
  align-content: end;
}

.home-kicker,
.section-label-light {
  color: rgba(255, 255, 255, 0.82);
}

.home-hero-content h1 {
  margin: 0;
  max-width: var(--hero-title-max-width);
  font-size: clamp(2.7rem, 5.4vw, var(--hero-title-size));
  line-height: 0.98;
  color: var(--surface);
}

.home-hero-summary {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.home-hero-actions,
.home-hero-links,
.conference-actions-grid,
.mentor-tags,
.split-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.home-hero-links a,
.text-link {
  color: var(--brand-700);
  text-decoration: none;
  font-weight: 700;
}

.home-hero-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--surface);
  backdrop-filter: blur(12px);
}

.conference-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
  background:
    radial-gradient(480px 220px at 100% 0%, rgba(108, 177, 255, 0.18), transparent 65%),
    linear-gradient(135deg, #0f2f54, #1f5b98);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--surface);
}

.conference-copy h2,
.conference-copy p,
.conference-action,
.countdown-chip strong,
.countdown-chip span {
  color: var(--surface);
}

.conference-copy h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.conference-location,
.conference-date,
.conference-summary {
  margin: 0;
}

.conference-location,
.conference-date {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.conference-summary {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
}

.conference-countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 0.75rem;
}

.countdown-chip,
.conference-action {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.countdown-chip {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
}

.countdown-chip strong {
  font-size: 2rem;
  line-height: 1;
}

.countdown-chip span {
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.conference-actions-grid {
  justify-content: flex-end;
}

.conference-action {
  display: grid;
  gap: 0.4rem;
  min-width: 150px;
  text-decoration: none;
}

.conference-action span {
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.conference-action strong {
  font-size: 1rem;
  line-height: 1.35;
}

.home-section {
  padding: 1.3rem;
}

.home-section-warm {
  background:
    radial-gradient(680px 260px at 50% 0%, rgba(243, 201, 112, 0.22), transparent 70%),
    linear-gradient(180deg, #fffdfa, #fffaf2 100%);
}

.home-section-head,
.home-section-head-compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-section-head h2,
.home-section-head-compact h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brand-900);
}

.section-meta-inline {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-500);
}

.mentor-grid,
.quick-links-grid,
.news-resource-section {
  display: grid;
  gap: 1rem;
}

.mentor-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mentor-card {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.mentor-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #dce8f4, #b7d0e8);
}

.mentor-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-media-fallback {
  display: grid;
  place-items: center;
}

.mentor-media-fallback span {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-800);
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.mentor-body {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.mentor-body h3 {
  margin: 0;
  font-size: 1.18rem;
}

.mentor-title,
.mentor-summary {
  margin: 0;
}

.mentor-title {
  color: var(--brand-700);
  font-weight: 700;
}

.mentor-summary {
  color: var(--ink-500);
  font-size: 0.92rem;
}

.mentor-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.42rem 0.74rem;
  border-radius: 8px;
  background: #edf5fc;
  color: var(--brand-700);
  font-size: 0.74rem;
  font-weight: 700;
}

.news-resource-section {
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.82fr);
  align-items: start;
}

.news-column,
.resource-column {
  min-width: 0;
}

.news-highlight-card {
  margin-bottom: 1rem;
  padding: 1.15rem;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.news-highlight-label,
.quick-link-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.22rem 0.62rem;
  border-radius: 8px;
  background: #edf4fc;
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-highlight-card h3,
.news-feed-item h3,
.quick-link-card h3 {
  margin: 0.55rem 0 0;
}

.news-highlight-card p,
.quick-link-card p {
  color: var(--ink-500);
}

.news-feed {
  display: grid;
  gap: 0.8rem;
}

.news-feed-item {
  padding: 1rem 1.1rem;
}

.news-feed-item time {
  color: var(--ink-500);
  font-size: 0.82rem;
  font-weight: 700;
}

.resource-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.3rem;
  background:
    radial-gradient(400px 180px at 50% 0%, rgba(105, 162, 230, 0.14), transparent 72%),
    linear-gradient(180deg, #f7fbff, #ffffff);
}

.resource-card h2 {
  margin: 0;
}

.resource-card p {
  margin: 0;
  color: var(--ink-500);
}

.resource-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: #dfeaf6;
}

.resource-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-links-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-link-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #fafdff);
}

.quick-link-card-1 .quick-link-media-fallback {
  background: linear-gradient(135deg, rgba(244, 209, 108, 0.45), rgba(255, 244, 210, 0.9));
}

.quick-link-card-2 .quick-link-media-fallback {
  background: linear-gradient(135deg, rgba(145, 228, 204, 0.5), rgba(227, 250, 242, 0.9));
}

.quick-link-card-3 .quick-link-media-fallback {
  background: linear-gradient(135deg, rgba(145, 196, 255, 0.48), rgba(232, 242, 255, 0.92));
}

.quick-link-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.quick-link-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-link-media-fallback {
  position: relative;
}

.quick-link-media-fallback::before,
.quick-link-media-fallback::after {
  content: '';
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.quick-link-media-fallback::before {
  inset: 18% auto auto 16%;
  width: 90px;
  height: 90px;
}

.quick-link-media-fallback::after {
  inset: auto 14% 14% auto;
  width: 130px;
  height: 26px;
}

.hero-shell,
.notice-strip,
.section-shell,
.content-shell,
.admin-shell,
.login-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 0;
  overflow: hidden;
}

.hero-main {
  padding: 2.2rem;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 253, 0.96));
}

.section-label,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  color: var(--brand-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-main h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 1.04;
  color: var(--brand-900);
}

.hero-summary {
  max-width: 64ch;
  margin: 0;
  color: var(--ink-700);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.card-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-visual {
  position: relative;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

.hero-visual img,
.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.metric-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--brand-800);
}

.metric-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink-500);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-side {
  display: grid;
  background: linear-gradient(180deg, var(--surface-navy-2), var(--surface-navy));
}

.hero-visual-overlay {
  position: absolute;
  inset: auto 1.1rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 39, 66, 0.78), rgba(11, 32, 54, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-visual-links {
  display: grid;
  gap: 0.65rem;
}

.side-panel {
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}

.side-panel .panel-label,
.side-panel h3,
.side-panel p,
.side-panel time,
.side-panel span {
  color: var(--surface);
}

.side-panel-cta {
  background: rgba(255, 255, 255, 0.08);
}

.utility-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 50px;
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--brand-800);
  text-decoration: none;
  font-weight: 700;
}

.utility-link::after,
.feature-link::after,
.news-link::after,
.service-link::after {
  content: '→';
}

.notice-mini-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-mini-list a {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
}

.notice-mini-list time {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.notice-mini-list span {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.notice-strip {
  margin-top: 1.2rem;
  overflow: hidden;
}

.notice-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--brand-900), var(--brand-700));
  color: var(--surface);
}

.notice-strip-head span {
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.notice-strip-head a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.notice-strip-body {
  display: grid;
  gap: 0;
}

.notice-list {
  display: grid;
  gap: 0;
}

.notice-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--line);
}

.notice-row:first-child {
  border-top: 0;
}

.notice-row time {
  color: var(--ink-500);
  font-size: 0.78rem;
  font-weight: 700;
}

.notice-row h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-900);
}

.notice-row a {
  color: var(--brand-700);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
}

.section-stack {
  display: grid;
  gap: 1.2rem;
  margin: 1.2rem 0 2rem;
}

.section-shell {
  padding: 1.25rem;
}

.section-shell-alt {
  background: linear-gradient(180deg, #ffffff, #f6faff);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.section-copy h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--brand-900);
}

.section-copy p,
.section-meta,
.page-head p {
  margin: 0;
  color: var(--ink-500);
}

.section-meta {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  font-size: 0.93rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-card,
.about-card,
.news-card,
.feature-card,
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.card-media {
  aspect-ratio: 16 / 9;
}

.card-media-feature {
  aspect-ratio: 16 / 7.5;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.service-card h3,
.about-card h3,
.news-card h3,
.feature-card h3,
.guide-card h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.42;
}

.service-card p,
.about-card p,
.news-card p,
.feature-card p,
.guide-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.92rem;
}

.service-tag,
.card-kicker,
.news-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.34rem 0.62rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-tag,
.card-kicker,
.news-badge {
  background: var(--accent);
  color: var(--brand-700);
}

.service-link,
.feature-link,
.news-link {
  margin-top: auto;
  width: fit-content;
  color: var(--brand-700);
  text-decoration: none;
  font-weight: 700;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 1rem;
}

.feature-card {
  background: linear-gradient(180deg, var(--surface-navy-2), var(--surface-navy));
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-card .news-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.feature-card,
.feature-card p,
.feature-card h3,
.feature-card a,
.feature-meta {
  color: var(--surface);
}

.feature-card .card-media {
  margin-bottom: 0.2rem;
}

.feature-meta,
.news-card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.feature-meta time,
.news-card-meta time {
  font-weight: 700;
}

.news-list-panel {
  display: grid;
  gap: 0.8rem;
}

.about-grid,
.guide-grid {
  display: grid;
  gap: 0.85rem;
}

.about-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.content-shell {
  width: min(1080px, calc(100vw - 2rem));
  margin: 1.4rem auto 2rem;
  padding: 1.2rem;
}

.page-head {
  display: grid;
  gap: 0.35rem;
}

.page-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brand-900);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.chip-btn {
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chip-btn.is-active {
  color: var(--surface);
  background: var(--brand-800);
  border-color: var(--brand-800);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.05rem;
}

.detail-article {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.detail-article h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--brand-900);
}

.detail-meta a {
  color: var(--brand-700);
}

.detail-content {
  margin-top: 1rem;
  color: var(--ink-700);
  font-size: 0.98rem;
}

.detail-lead {
  max-width: 68ch;
  margin: 0.35rem 0 0;
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.75;
}

.apcg-shell {
  display: grid;
  gap: 1.4rem;
}

.apcg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1.4rem;
  align-items: end;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.apcg-hero h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--brand-900);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.apcg-status {
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}

.apcg-status span,
.apcg-report-year {
  display: block;
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apcg-status strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--brand-900);
  font-size: 1.05rem;
}

.apcg-status p {
  margin: 0.45rem 0 0;
  color: var(--ink-500);
  font-size: 0.92rem;
  line-height: 1.65;
}

.apcg-report-grid {
  display: grid;
  gap: 0.95rem;
}

.apcg-report-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.apcg-report-media {
  min-height: 210px;
  aspect-ratio: auto;
}

.apcg-report-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.apcg-report-body h3 {
  margin: 0;
  color: var(--brand-900);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.22;
}

.apcg-report-body p {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.65;
}

.apcg-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: auto;
}

.apcg-video-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.apcg-video-panel h3 {
  margin: 0;
  color: var(--brand-900);
  font-size: 1.35rem;
}

.apcg-video-panel p {
  margin: 0.45rem 0 0;
  color: var(--ink-500);
  line-height: 1.65;
}

.apcg-video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #000;
}

.apcg-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-detail-article {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.about-index-main {
  width: min(1080px, calc(100vw - 2rem));
  margin: 1.6rem auto 3rem;
}

.about-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(0, 166, 153, 0.1), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.about-index-copy {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: center;
}

.about-index-copy h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  color: var(--brand-900);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.98;
}

.about-index-copy p:not(.section-label) {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-700);
  font-size: 1.05rem;
}

.about-index-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
  min-height: 260px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-md);
  background: var(--brand-900);
  color: #ffffff;
}

.about-index-panel strong {
  font-size: 1.25rem;
  line-height: 1.2;
}

.about-index-panel a {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.about-index-panel a:hover,
.about-index-panel a:focus-visible {
  color: #ffffff;
  transform: translateX(4px);
}

.about-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.about-index-card a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 112px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.about-index-card a:hover,
.about-index-card a:focus-visible {
  border-color: rgba(0, 166, 153, 0.45);
  box-shadow: 0 16px 34px rgba(18, 51, 82, 0.12);
  transform: translateY(-2px);
}

.about-index-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(0, 166, 153, 0.1);
  color: var(--brand-700);
}

.about-index-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.about-index-card-copy {
  display: grid;
  gap: 0.25rem;
}

.about-index-card-copy strong {
  color: var(--brand-900);
  font-size: 1.03rem;
}

.about-index-card-copy small {
  color: var(--ink-500);
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-index-arrow {
  color: var(--brand-500);
  font-size: 1.4rem;
  font-weight: 800;
}

.rich-content {
  max-width: 78ch;
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.82;
  letter-spacing: 0;
}

.rich-content > *:first-child {
  margin-top: 0;
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content table {
  margin: 1rem 0 0;
}

.rich-content h3,
.rich-content h4 {
  margin: 1.8rem 0 0.6rem;
  color: var(--brand-900);
  line-height: 1.25;
}

.rich-content strong {
  color: var(--brand-900);
  font-weight: 800;
}

.rich-content a {
  color: var(--brand-500);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.25rem;
}

.rich-content li {
  padding-left: 0.15rem;
}

.rich-content li + li {
  margin-top: 0.35rem;
}

.rich-content table {
  display: block;
  width: 100%;
  max-width: min(100%, 920px);
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  border-spacing: 0;
  background: var(--surface);
}

.mentor-profile-shell {
  display: grid;
  gap: 1rem;
}

.mentor-profile-hero,
.mentor-profile-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.mentor-profile-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
}

.mentor-profile-visual {
  display: grid;
  place-items: center;
  min-height: 100%;
  background: linear-gradient(180deg, var(--brand-900), var(--brand-700));
  color: var(--surface);
}

.mentor-profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mentor-profile-visual span {
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 800;
}

.mentor-profile-copy {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.mentor-profile-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  color: var(--brand-900);
}

.mentor-profile-role {
  margin: 0;
  color: var(--brand-700);
  font-size: 1.05rem;
  font-weight: 700;
}

.mentor-profile-summary,
.mentor-profile-empty {
  margin: 0;
  color: var(--ink-700);
}

.mentor-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mentor-profile-meta span {
  display: grid;
  gap: 0.18rem;
  min-width: 180px;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--ink-700);
  font-size: 0.92rem;
}

.mentor-profile-meta strong {
  color: var(--brand-900);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.mentor-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mentor-profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 166, 153, 0.12);
  color: var(--brand-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.mentor-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mentor-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 1rem;
}

.mentor-profile-card {
  padding: 1.35rem;
}

.mentor-profile-card-primary {
  grid-row: span 2;
}

.mentor-profile-card h2 {
  margin: 0 0 0.75rem;
  color: var(--brand-900);
  font-size: 1.35rem;
}

.mentor-rich-copy {
  display: grid;
  gap: 0.95rem;
  color: var(--ink-700);
}

.mentor-rich-copy p {
  margin: 0;
  line-height: 1.82;
}

.mentor-profile-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-700);
}

.mentor-profile-list li + li {
  margin-top: 0.6rem;
}

.mentor-profile-publications {
  grid-column: 1 / -1;
}

.mentor-publication-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mentor-publication-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.mentor-publication-list a {
  color: var(--brand-800);
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.mentor-publication-list a:hover {
  text-decoration: underline;
}

.mentor-publication-list span {
  color: var(--ink-500);
  font-size: 0.88rem;
}

.mentor-publication-manager {
  margin-top: 1rem;
}

.rich-content tbody,
.rich-content thead {
  display: table;
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.rich-content tr:nth-child(odd) {
  background: rgba(0, 166, 153, 0.045);
}

.rich-content td,
.rich-content th {
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  color: var(--ink-700);
  font-size: 0.9rem;
  line-height: 1.55;
  vertical-align: top;
}

.rich-content th,
.rich-content tr:first-child td {
  color: var(--brand-900);
  font-weight: 800;
  background: rgba(0, 45, 98, 0.06);
}

.detail-media {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.detail-media h3 {
  margin-bottom: 0.65rem;
  color: var(--brand-800);
  font-size: 1rem;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.detail-image-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.detail-image-item img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-image-item figcaption {
  padding: 0.72rem 0.82rem;
  color: var(--ink-500);
  font-size: 0.84rem;
}

.detail-files {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.detail-files a {
  color: var(--brand-700);
  text-decoration: none;
  font-weight: 700;
}

.policy-document-list {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.policy-document-list h3 {
  margin: 0 0 1rem;
  color: var(--brand-900);
}

.policy-document-card {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.policy-document-card:first-of-type {
  border-top: 0;
}

.policy-document-card h4 {
  margin: 0.25rem 0 0.45rem;
  color: var(--brand-900);
  font-size: 1.1rem;
}

.policy-document-card p {
  margin: 0.45rem 0 0;
  color: var(--ink-600);
  line-height: 1.65;
}

.policy-document-body {
  margin-top: 0.7rem;
}

.detail-actions {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.member-dashboard-shell {
  display: grid;
  gap: 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.member-dashboard-head {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid rgba(0, 45, 98, 0.08);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 166, 153, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4fbf8 58%, #eef6ff 100%);
  box-shadow: 0 12px 32px rgba(0, 45, 98, 0.08);
}

.member-dashboard-head h2 {
  margin: 0;
  color: var(--brand-900);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.member-dashboard-head p:last-child {
  max-width: 66ch;
  margin: 0.5rem 0 0;
  color: var(--ink-600);
}

.member-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 1rem;
  align-items: start;
}

.member-profile-card,
.member-panel {
  border: 1px solid rgba(0, 45, 98, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(0, 45, 98, 0.08);
}

.member-profile-card {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.member-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  color: var(--surface);
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-800), var(--teal-600));
  box-shadow: 0 12px 26px rgba(0, 45, 98, 0.22);
}

.profile-kicker {
  margin: 0 0 0.25rem;
  color: var(--teal-700);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.member-profile-card h3 {
  margin: 0;
  color: var(--brand-900);
  font-size: 1.35rem;
}

.member-profile-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.member-profile-list div {
  display: grid;
  gap: 0.2rem;
  padding: 0.78rem;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.member-profile-list dt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-500);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.member-profile-list dd {
  margin: 0;
  color: var(--brand-900);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.member-profile-list dd.is-warning {
  color: #b42318;
}

.member-field-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.member-profile-note {
  margin: 0;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  color: var(--brand-800);
  background: rgba(244, 209, 108, 0.22);
}

.member-profile-actions {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.member-dashboard-main,
.member-panel {
  display: grid;
  gap: 1rem;
}

.member-panel {
  padding: 1.1rem;
}

.member-panel-primary {
  border-color: rgba(0, 166, 153, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 166, 153, 0.1), transparent 34%),
    #ffffff;
}

.member-panel-secondary {
  background: rgba(250, 252, 255, 0.94);
}

.member-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.member-panel-head h3 {
  margin: 0;
  color: var(--brand-900);
  font-size: 1.35rem;
}

.member-empty-state {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px dashed rgba(0, 166, 153, 0.35);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(0, 166, 153, 0.08), rgba(244, 209, 108, 0.11)),
    var(--surface);
}

.member-empty-state h4,
.member-sig-card h4 {
  margin: 0;
  color: var(--brand-900);
}

.member-empty-state p,
.member-muted,
.member-empty-line {
  margin: 0;
  color: var(--ink-600);
}

.member-empty-line {
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.member-sig-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.member-sig-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.member-sig-card {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
  border: 1px solid rgba(0, 45, 98, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(0, 45, 98, 0.06);
}

.member-sig-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.92rem;
}

.member-sig-card-compact {
  min-width: 0;
}

.sig-card-meta,
.sig-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.sig-badge,
.sig-tag-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 820;
  line-height: 1;
}

.sig-badge {
  padding: 0.42rem 0.65rem;
  text-transform: capitalize;
}

.sig-tag-pill {
  padding: 0.38rem 0.58rem;
  color: var(--ink-700);
  background: #edf1f5;
}

.sig-badge-open,
.sig-badge-approved,
.sig-badge-member {
  color: #075e4b;
  background: rgba(0, 166, 153, 0.16);
}

.sig-badge-reviewed,
.sig-badge-pending {
  color: #064d89;
  background: rgba(49, 130, 206, 0.15);
}

.sig-badge-invite,
.sig-badge-rejected {
  color: #8a4b00;
  background: rgba(244, 209, 108, 0.28);
}

.member-request-table th,
.member-request-table td {
  white-space: nowrap;
}

.member-dashboard-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-outline {
  color: var(--brand-800);
  border: 1px solid rgba(0, 45, 98, 0.42);
  background: transparent;
  box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--surface);
  background: var(--brand-800);
}

.btn-member-logout {
  width: 100%;
  justify-content: center;
  color: var(--ink-600);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

.btn-member-logout:hover,
.btn-member-logout:focus-visible {
  color: #8a1f11;
  border-color: rgba(180, 35, 24, 0.28);
  background: rgba(180, 35, 24, 0.05);
}

.site-footer {
  margin-top: 2rem;
  border-top: 0;
  background: transparent;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.7fr) minmax(240px, 0.95fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: 1.8rem 0;
}

.footer-grid section {
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
}

.footer-grid h4 {
  margin: 0 0 0.7rem;
  color: var(--brand-800);
  font-size: 1.02rem;
}

.footer-grid p {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.75;
}

.footer-link-list,
.footer-utility-links {
  display: grid;
  gap: 0.55rem;
}

.footer-link-list a,
.footer-utility-links a,
.footer-contact a {
  color: var(--brand-700);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-contact strong {
  color: var(--brand-800);
  font-weight: 850;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 0.82rem;
}

.footer-bottom-bar p {
  margin: 0;
}

.footer-utility-links {
  grid-auto-flow: column;
  align-items: center;
}

.media-thumb {
  display: block;
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface-soft);
}

.copy-path-input {
  width: min(420px, 100%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.admin-preview-panel {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.admin-preview-panel h3 {
  margin: 0;
  color: var(--brand-800);
  font-size: 1rem;
}

.admin-news-cover-preview {
  display: block;
  width: min(360px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.news-asset-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.news-asset-preview-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  text-decoration: none;
  background: var(--surface);
}

.news-asset-preview-list span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-file-chip {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  height: 44px;
  border-radius: 8px;
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(0, 166, 153, 0.12);
}

.admin-shell {
  width: min(1120px, calc(100vw - 2rem));
  margin: 1.4rem auto 2rem;
  padding: 1.2rem;
}

.admin-body {
  min-height: 100vh;
  background: #f4f8f7;
}

.admin-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-rows: 76px minmax(0, 1fr);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.85rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.admin-brand img {
  width: 46px;
  height: 46px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

.admin-view-site,
.admin-user {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--brand-800);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(0, 166, 153, 0.08);
}

.admin-user {
  color: var(--ink-700);
  background: var(--surface-soft);
}

.btn-admin-logout {
  min-height: 38px;
  padding: 0.6rem 0.9rem;
  box-shadow: none;
}

.admin-sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
  height: calc(100vh - 76px);
  padding: 1rem 0.9rem;
  overflow-y: auto;
  color: var(--surface);
  background: linear-gradient(180deg, var(--brand-900), #05375f);
}

.admin-sidebar-home,
.admin-nav-group a {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 42px;
  padding: 0.62rem 0.72rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-sidebar-home {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.admin-sidebar-home:hover,
.admin-nav-group a:hover,
.admin-nav-group a:focus-visible,
.admin-nav-group a.is-active {
  color: var(--surface);
  background: rgba(0, 166, 153, 0.28);
  transform: translateX(2px);
}

.admin-nav-group {
  margin-top: 0.75rem;
}

.admin-nav-group summary {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  list-style: none;
}

.admin-nav-group summary::-webkit-details-marker {
  display: none;
}

.admin-nav-group summary::before {
  content: '';
  width: 0;
  height: 0;
  margin-right: 0.52rem;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  transition: transform 0.18s ease;
}

.admin-nav-group[open] summary::before {
  transform: rotate(90deg);
}

.admin-nav-group nav {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.2rem;
}

.admin-main-frame {
  min-width: 0;
  padding: 1.2rem 1.4rem 2rem;
}

.admin-body .container.flash {
  width: min(1180px, 100%);
}

.admin-body .admin-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.admin-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-dashboard {
  display: grid;
  gap: 1.2rem;
}

.admin-dashboard-hero {
  max-width: 760px;
}

.admin-dashboard-hero h2 {
  margin-bottom: 0.5rem;
  color: var(--brand-900);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.admin-dashboard-hero p:last-child {
  margin: 0;
  color: var(--ink-700);
}

.admin-quick-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(209, 163, 22, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(209, 163, 22, 0.16), rgba(255, 255, 255, 0.94));
}

.admin-quick-action-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--gold-600);
  background: rgba(209, 163, 22, 0.14);
}

.admin-quick-action h3,
.admin-module-head h3,
.admin-module-group-head h4 {
  margin-bottom: 0.35rem;
  color: var(--brand-900);
}

.admin-quick-action p {
  margin: 0;
  color: var(--ink-700);
}

.btn-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--brand-900);
  background: var(--gold-600);
  box-shadow: none;
}

.admin-badge,
.admin-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 999px;
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--brand-900);
}

.admin-module-area {
  display: grid;
  gap: 1rem;
}

.admin-module-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.admin-module-group {
  display: grid;
  gap: 0.7rem;
}

.admin-module-group-head h4 {
  font-size: 1rem;
}

.admin-module-group-head p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-500);
  font-size: 0.92rem;
}

.admin-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-permission-grid label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.55rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.admin-permission-grid input {
  margin-top: 0.18rem;
}

.admin-permission-grid strong,
.admin-permission-grid small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-permission-grid small {
  grid-column: 2;
  color: var(--ink-500);
}

.admin-user-card {
  gap: 0.8rem;
}

.admin-user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.admin-user-identity {
  min-width: 0;
}

.admin-user-identity h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.admin-permission-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.admin-permission-chip {
  display: inline-flex;
  max-width: 100%;
  padding: 0.26rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-800);
  background: rgba(0, 166, 153, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-permission-chip.is-empty {
  color: var(--ink-500);
  background: var(--surface-soft);
}

.admin-user-permission-editor {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.admin-user-permission-editor summary {
  cursor: pointer;
  color: var(--brand-800);
  font-weight: 800;
}

.admin-user-permission-editor form {
  margin-top: 0.85rem;
}

.audit-metadata {
  max-width: 360px;
  max-height: 180px;
  margin: 0;
  white-space: pre-wrap;
  overflow: auto;
  font-size: 0.78rem;
}

.admin-module-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.82rem;
  min-height: 132px;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-module-card:hover,
.admin-module-card:focus-visible {
  border-color: rgba(0, 166, 153, 0.5);
  box-shadow: 0 18px 34px rgba(14, 39, 68, 0.1);
  transform: translateY(-2px);
}

.admin-module-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--brand-800);
  background: rgba(0, 166, 153, 0.1);
}

.admin-module-card-copy {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}

.admin-module-card-copy strong {
  color: var(--brand-900);
  font-size: 1rem;
}

.admin-module-card-copy small {
  color: var(--ink-500);
  font-size: 0.84rem;
  line-height: 1.55;
}

.admin-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--gold-600);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.feedback-stats,
.feedback-filter-form,
.feedback-record-list,
.feedback-record-card,
.feedback-fact-grid,
.feedback-more dl {
  display: grid;
  gap: 1rem;
}

.feedback-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.feedback-stats > div,
.feedback-record-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.06);
}

.feedback-stats > div {
  padding: 1rem;
}

.feedback-stats span,
.feedback-fact-grid span,
.feedback-more dt {
  display: block;
  color: var(--ink-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feedback-stats strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--brand-900);
  font-size: 1.8rem;
}

.feedback-filter-form {
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 0.8fr)) auto;
  align-items: end;
  margin-bottom: 1rem;
}

.feedback-filter-actions {
  display: flex;
  gap: 0.55rem;
}

.feedback-record-card {
  padding: 1rem;
}

.feedback-record-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.feedback-record-head h3 {
  margin: 0.2rem 0 0;
  color: var(--brand-900);
}

.feedback-pill-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.feedback-fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feedback-fact-grid > div,
.feedback-more dl > div {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent);
}

.feedback-fact-grid strong {
  display: block;
  margin-top: 0.22rem;
  color: var(--ink-900);
}

.feedback-fact-grid small {
  display: block;
  margin-top: 0.18rem;
  overflow-wrap: anywhere;
}

.feedback-details {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.65;
}

.feedback-more summary {
  cursor: pointer;
  color: var(--brand-800);
  font-weight: 800;
}

.feedback-more dl {
  margin: 0.8rem 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feedback-more dd {
  margin: 0.3rem 0 0;
  color: var(--ink-700);
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--accent);
  color: var(--brand-800);
}

form {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-700);
}

input,
textarea,
select,
button {
  font: inherit;
}

input[type='text'],
input[type='password'],
input[type='number'],
input[type='datetime-local'],
input[type='file'],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.8rem;
  background: var(--surface);
  color: var(--ink-900);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.split-inputs > div {
  flex: 1 1 240px;
}

.split-inputs-3 > div {
  flex-basis: 180px;
}

.split-inputs-4 > div {
  flex-basis: 160px;
}

.admin-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-page-head h2 {
  margin-bottom: 0.35rem;
}

.admin-page-head p {
  margin: 0;
  color: var(--ink-500);
}

.membership-app-list {
  display: grid;
  gap: 1rem;
}

.membership-app-empty,
.membership-app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.06);
}

.membership-app-empty {
  padding: 1.5rem;
}

.membership-app-empty h3,
.membership-app-empty p {
  margin: 0;
}

.membership-app-empty p {
  margin-top: 0.35rem;
  color: var(--ink-500);
}

.member-detail-hero,
.member-section-card,
.member-detail-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.06);
}

.member-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.member-detail-identity,
.member-detail-heading,
.member-detail-sidebar,
.member-note-stack {
  display: grid;
  gap: 0.8rem;
}

.member-detail-heading h3,
.member-section-head h3 {
  margin: 0.1rem 0 0;
}

.member-detail-heading p,
.member-section-head p,
.member-note-block p,
.member-mail-list > span {
  margin: 0;
}

.member-detail-heading p {
  color: var(--ink-500);
}

.member-detail-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.status-neutral {
  background: rgba(12, 39, 72, 0.08);
  color: var(--ink-900);
}

.member-detail-metrics,
.member-section-grid,
.member-action-grid,
.member-detail-dual {
  display: grid;
  gap: 0.85rem;
}

.member-detail-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-detail-metric {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.member-detail-metric span,
.member-note-block span,
.member-mail-list > span {
  color: var(--ink-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-detail-metric strong,
.member-detail-metric small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.member-detail-metric small {
  color: var(--ink-500);
}

.member-detail-preview {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.member-detail-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.member-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.78fr);
  gap: 1rem;
}

.member-detail-main {
  display: grid;
  gap: 1rem;
}

.member-section-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.member-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.member-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-detail-dual {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.member-note-block,
.member-mail-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.member-note-block p {
  color: var(--ink-900);
  line-height: 1.65;
}

.member-action-card .application-review-form {
  display: grid;
  gap: 0.8rem;
}

.member-action-grid {
  grid-template-columns: 1fr;
}

.member-action-grid form,
.member-action-grid button {
  width: 100%;
}

.membership-app-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 1rem;
  padding: 1rem;
}

.membership-app-summary {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: 0.35rem 0.25rem;
}

.membership-app-title,
.membership-official-head,
.membership-status-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.membership-app-title h3 {
  margin: 0.1rem 0 0;
}

.eyebrow {
  margin: 0;
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 166, 153, 0.12);
  color: var(--brand-800);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-approved {
  background: var(--ok-soft);
  color: var(--ok);
}

.status-rejected {
  background: var(--danger-soft);
  color: var(--danger);
}

.membership-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.membership-fact,
.membership-status-note,
.membership-official-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.membership-fact {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.85rem;
}

.membership-fact span,
.membership-status-note span,
.official-record-list dt {
  color: var(--ink-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.membership-fact strong,
.membership-fact small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.membership-fact small {
  color: var(--ink-500);
}

.membership-status-note {
  padding: 0.85rem;
}

.membership-status-note strong {
  color: var(--brand-800);
}

.membership-official-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
}

.membership-official-head strong {
  color: var(--ink-900);
}

.application-review-form,
.application-reject-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.application-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.application-review-grid .field {
  display: grid;
  gap: 0.3rem;
}

.application-review-grid .field-wide {
  grid-column: 1 / -1;
}

.application-review-grid label {
  font-size: 0.78rem;
}

.application-review-grid input[type='date'],
.application-review-grid input[type='text'],
.application-review-grid input[type='number'],
.application-review-grid textarea {
  min-height: 42px;
  border-color: rgba(116, 119, 127, 0.22);
  background: #fff;
}

.application-review-grid textarea {
  min-height: 104px;
}

.membership-review-actions {
  display: flex;
  margin-top: 0.9rem;
}

.membership-review-actions button,
.application-reject-form button {
  width: 100%;
}

.application-reject-form button {
  background: #fff;
  color: var(--danger);
  border: 1px solid rgba(170, 53, 53, 0.3);
}

.application-reject-form button:hover,
.application-reject-form button:focus-visible {
  background: var(--danger-soft);
  color: var(--danger);
}

.official-record-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.official-record-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.official-record-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.official-record-list dd {
  margin: 0;
  color: var(--ink-900);
  font-weight: 700;
  text-align: right;
}

.hero-admin-preview {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-admin-preview h3 {
  margin: 0;
}

.home-hero-panel-preview {
  min-height: min(460px, var(--hero-min-height));
}

.hero-admin-preview .editorial-hero {
  min-height: min(460px, var(--hero-min-height));
  padding: 2rem;
  margin-bottom: 0;
}

.slider-order-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.slider-order-panel h4 {
  margin: 0 0 0.75rem;
}

.slider-order-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.slider-order-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.slider-order-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: var(--brand-900);
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 700;
}

.slider-order-path {
  min-width: 0;
  color: var(--ink-700);
  font-size: 0.86rem;
  word-break: break-all;
}

.slider-order-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 166, 153, 0.12);
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.slider-media-library {
  display: grid;
  gap: 0.9rem;
}

.slider-media-library-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.slider-media-library-head h4 {
  margin: 0 0 0.35rem;
}

.slider-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.slider-media-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.slider-media-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.slider-media-copy {
  display: grid;
  gap: 0.35rem;
}

.slider-media-copy strong {
  line-height: 1.4;
}

.slider-media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.slider-picker-button {
  width: 100%;
  justify-content: center;
}

.preview-btn {
  pointer-events: none;
}

.login-box {
  width: min(460px, calc(100vw - 2rem));
  margin: 8vh auto;
  padding: 1.4rem;
}

.hero-shell,
.notice-strip,
.section-shell,
.service-card,
.about-card,
.news-card,
.feature-card,
.guide-card,
.content-shell,
.detail-article,
.login-box,
.admin-shell {
  animation: rise-in 0.42s ease both;
}

.home-editorial {
  display: grid;
  gap: 4.5rem;
  padding-top: 2.4rem;
  padding-bottom: 3.5rem;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
  padding: 2rem 0 1rem;
}

.editorial-badge,
.editorial-section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.18);
  color: #745c00;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-hero-title {
  margin: 1rem 0 1.4rem;
  max-width: 10ch;
  color: var(--brand-900);
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.98;
}

.editorial-lead,
.editorial-section-copy {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-700);
  font-size: 1.02rem;
}

.editorial-hero-actions,
.editorial-hero-links,
.editorial-countdown,
.editorial-conference-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.editorial-hero-actions {
  margin-top: 2rem;
}

.btn-editorial-primary {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
}

.btn-editorial-secondary {
  color: var(--brand-900);
  background: var(--surface);
  border: 1px solid rgba(116, 119, 127, 0.2);
  box-shadow: none;
}

.btn-editorial-gold {
  color: #3d2f00;
  background: linear-gradient(135deg, #f2cf66, #d4af37);
  box-shadow: none;
}

.btn-editorial-ghost {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.editorial-hero-links {
  margin-top: 1.2rem;
}

.editorial-hero-links a,
.editorial-inline-link {
  color: var(--brand-900);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.editorial-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.editorial-inline-link::after {
  content: '→';
}

.editorial-inline-link-light {
  color: rgba(255, 255, 255, 0.92);
}

.editorial-hero-visual {
  position: relative;
  min-height: 560px;
}

.editorial-image-card {
  position: relative;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(27, 28, 21, 0.12);
  transform: translateX(1rem) rotate(2deg);
}

.editorial-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-floating-note {
  position: absolute;
  left: -1rem;
  bottom: 2rem;
  width: min(270px, 80%);
  padding: 1.15rem 1.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 40px rgba(27, 28, 21, 0.08);
}

.editorial-floating-note h2 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.5rem;
  color: var(--brand-900);
}

.editorial-floating-note p,
.editorial-floating-note strong {
  display: block;
  margin: 0;
  color: var(--ink-700);
}

.editorial-note-kicker,
.editorial-service-tag,
.editorial-feature-kicker {
  color: var(--gold-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-section {
  display: grid;
  gap: 1.6rem;
}

.editorial-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.editorial-section-head-centered {
  justify-content: center;
  text-align: center;
}

.editorial-section-head h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-900);
}

.editorial-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.editorial-service-card,
.editorial-insight-item,
.editorial-mentor-card {
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 40px rgba(27, 28, 21, 0.04);
}

.editorial-service-card {
  display: grid;
  gap: 0.8rem;
}

.editorial-service-card h3,
.editorial-insight-item h3,
.editorial-mentor-card h3 {
  margin: 0;
  font-size: 1.38rem;
  color: var(--brand-900);
}

.editorial-service-card p,
.editorial-insight-item p,
.editorial-mentor-card p {
  margin: 0;
  color: var(--ink-700);
}

.editorial-insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
}

.editorial-feature-story {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 8px;
  background: var(--brand-900);
}

.editorial-feature-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.8rem;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0, 32, 69, 0.08), rgba(0, 32, 69, 0.82));
  color: var(--surface);
}

.editorial-feature-overlay h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--surface);
}

.editorial-feature-overlay p {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.editorial-insight-list {
  display: grid;
  gap: 1rem;
}

.editorial-insight-item {
  background: #f5f4e8;
}

.editorial-insight-item time {
  color: var(--ink-500);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-resource-item {
  background: #e9e7d8;
}

.editorial-section-mentors {
  justify-items: center;
}

.editorial-mentor-grid {
  --mentor-gap: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--mentor-gap);
  width: 100%;
}

.editorial-mentor-card {
  flex: 1 1 calc(25% - (var(--mentor-gap) * 3 / 4));
  text-align: center;
}

.editorial-mentor-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.editorial-mentor-carousel {
  display: grid;
  gap: 1rem;
  width: 100%;
  --mentor-gap: 1rem;
}

.editorial-mentor-viewport {
  width: 100%;
}

.editorial-mentor-controls,
.editorial-mentor-pagination {
  display: none;
}

.editorial-mentor-carousel.is-carousel .editorial-mentor-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.editorial-mentor-nav,
.editorial-mentor-dot {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

.editorial-mentor-nav {
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  color: var(--brand-900);
  font-size: 1.4rem;
  line-height: 1;
}

.editorial-mentor-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.editorial-mentor-carousel.is-carousel .editorial-mentor-viewport {
  overflow: hidden;
}

.editorial-mentor-carousel.is-carousel .editorial-mentor-grid {
  flex-wrap: nowrap;
  transition: transform 0.42s ease;
}

.editorial-mentor-carousel.is-carousel .editorial-mentor-card {
  flex: 0 0 calc((100% - (var(--mentor-gap) * (var(--mentor-visible-count) - 1))) / var(--mentor-visible-count));
}

.editorial-mentor-carousel.is-carousel .editorial-mentor-pagination {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.editorial-mentor-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  padding: 0;
  border-radius: 999px;
  background: rgba(0, 45, 98, 0.16);
}

.editorial-mentor-dot.is-active {
  background: var(--brand-900);
  border-color: var(--brand-900);
}

.editorial-mentor-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #f0eee4, #d9d4c0);
  box-shadow: 0 8px 24px rgba(27, 28, 21, 0.08);
}

.editorial-mentor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-mentor-avatar span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--brand-900);
  font-family: 'Inter', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.editorial-mentor-role {
  color: var(--gold-600);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-mentor-summary {
  font-size: 0.93rem;
}

.editorial-conference-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2.6rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
  box-shadow: 0 18px 48px rgba(27, 28, 21, 0.14);
  color: var(--surface);
}

.editorial-conference-copy h2,
.editorial-conference-copy p,
.editorial-countdown span,
.editorial-countdown strong {
  color: var(--surface);
}

.editorial-conference-copy h2 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.editorial-conference-copy p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.editorial-section-kicker-light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.editorial-countdown {
  margin-top: 1.2rem;
}

.editorial-countdown span {
  min-height: 46px;
  padding: 0.75rem 0.95rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-countdown strong {
  margin-right: 0.35rem;
  font-size: 1.1rem;
}

.editorial-about-band {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.editorial-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.editorial-about-card {
  padding: 1.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.editorial-about-card h3 {
  margin: 0.5rem 0;
  color: var(--surface);
  font-size: 1.2rem;
}

.editorial-about-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.home-editorial {
  gap: 3.5rem;
  padding-top: 0;
}

.editorial-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(var(--hero-min-height), calc(100vh - 88px));
  overflow: hidden;
  place-items: center;
  padding: clamp(4rem, 8vw, 6.5rem) 1.4rem;
  border-radius: 8px;
  background: var(--brand-900);
  color: var(--surface);
  text-align: center;
}

.editorial-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 45, 98, calc(var(--hero-overlay-alpha) + 0.14)), rgba(0, 45, 98, var(--hero-overlay-alpha))),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, calc(var(--hero-overlay-alpha) * 0.62)));
}

.editorial-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus-x) var(--hero-focus-y);
}

.editorial-hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.editorial-hero-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.editorial-hero-slide.is-active {
  opacity: 1;
}

.editorial-hero-copy {
  display: grid;
  justify-items: center;
  max-width: var(--hero-content-max-width);
}

.editorial-badge,
.editorial-section-kicker {
  border-radius: 8px;
  background: rgba(0, 166, 153, 0.16);
  color: var(--brand-500);
}

.editorial-hero .editorial-badge {
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.88);
}

.editorial-hero-title {
  max-width: var(--hero-title-max-width);
  color: var(--surface);
  font-size: clamp(2.5rem, 6vw, var(--hero-title-size));
  line-height: 1.02;
}

.editorial-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.editorial-hero-actions {
  justify-content: center;
}

.btn,
.top-nav .btn-mini,
button,
.btn-editorial-primary,
.btn-editorial-secondary {
  border-radius: 8px;
}

.btn-editorial-primary {
  color: #12203a;
  background: linear-gradient(135deg, #e8c348, var(--gold-500));
  box-shadow: 0 14px 32px rgba(209, 163, 22, 0.28);
}

.btn-editorial-secondary {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.impact-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 96px;
  padding: 1.2rem;
  border: 1px solid rgba(0, 166, 153, 0.22);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(0, 45, 98, 0.06);
  color: var(--brand-900);
  font-weight: 800;
}

.impact-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 166, 153, 0.14);
  color: var(--brand-500);
}

.impact-icon svg,
.service-card-media svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.impact-stat strong {
  color: var(--gold-600);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.news-preview-section,
.member-services-section {
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(0, 45, 98, 0.06);
}

.news-update-list {
  display: grid;
  gap: 1rem;
}

.news-update-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.news-date-block {
  display: grid;
  min-height: 82px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-500);
  color: var(--surface);
  text-align: center;
}

.news-date-block span {
  align-self: end;
  font-size: 0.82rem;
  font-weight: 800;
}

.news-date-block strong {
  align-self: start;
  font-size: 2rem;
  line-height: 1;
}

.news-update-item h3 {
  margin-bottom: 0.25rem;
  color: var(--brand-900);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.news-update-item p {
  margin: 0 0 0.45rem;
  color: var(--ink-700);
}

.editorial-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-service-card,
.editorial-insight-item,
.editorial-mentor-card {
  border: 1px solid rgba(0, 45, 98, 0.08);
  border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.editorial-service-card:hover,
.editorial-mentor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 166, 153, 0.35);
  box-shadow: 0 18px 38px rgba(0, 45, 98, 0.12);
}

.service-card-media {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(0, 166, 153, 0.12);
  color: var(--brand-500);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-media span {
  color: var(--brand-900);
  font-size: 1.6rem;
  font-weight: 800;
}

.service-card-media-awards {
  background: rgba(209, 163, 22, 0.16);
  color: var(--gold-600);
}

.editorial-mentor-avatar {
  border-radius: 8px;
}

.editorial-conference-cta,
.editorial-about-card {
  border-radius: 8px;
}

.site-footer {
  margin-top: 2rem;
  background: var(--brand-900);
  color: var(--surface);
}

.footer-grid {
  align-items: start;
  padding: 2rem 0;
}

.footer-grid section {
  padding: 0;
  background: transparent;
}

.footer-grid h4,
.footer-grid p,
.footer-link-list a,
.footer-utility-links a,
.footer-contact a,
.footer-contact strong,
.footer-bottom-bar {
  color: var(--surface);
}

.footer-grid p,
.footer-link-list a,
.footer-utility-links a,
.footer-contact a,
.footer-bottom-bar {
  opacity: 0.82;
}

.footer-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero-shell,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .editorial-hero,
  .editorial-insights-grid,
  .editorial-conference-cta,
  .conference-band,
  .news-resource-section,
  .mentor-grid,
  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .editorial-service-grid,
  .editorial-mentor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-about-grid {
    grid-template-columns: 1fr;
  }

  .admin-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-filter-actions {
    grid-column: 1 / -1;
  }

  .feedback-fact-grid,
  .feedback-more dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-app-card {
    grid-template-columns: 1fr;
  }

  .member-detail-hero,
  .member-detail-layout,
  .member-detail-dual {
    grid-template-columns: 1fr;
  }

  .conference-actions-grid {
    justify-content: flex-start;
  }

  .hero-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .admin-app-shell {
    display: block;
  }

  .admin-topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .admin-topbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: grid;
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .admin-nav-group nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-main-frame {
    padding: 1rem 0.75rem 1.4rem;
  }

  .admin-quick-action {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-module-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-module-grid {
    grid-template-columns: 1fr;
  }

  .admin-permission-grid {
    grid-template-columns: 1fr;
  }

  .admin-user-row {
    grid-template-columns: 1fr;
  }

  .feedback-stats,
  .feedback-filter-form,
  .feedback-fact-grid,
  .feedback-more dl {
    grid-template-columns: 1fr;
  }

  .feedback-record-head {
    display: grid;
  }

  .feedback-pill-group {
    justify-content: flex-start;
  }

  .membership-fact-grid,
  .application-review-grid,
  .member-detail-metrics,
  .member-section-grid {
    grid-template-columns: 1fr;
  }

  .membership-app-title,
  .membership-status-note,
  .membership-official-head,
  .member-section-head,
  .official-record-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .member-detail-copy-row {
    grid-template-columns: 1fr;
  }

  .official-record-list dd {
    text-align: left;
  }

  .utility-wrap,
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-main {
    padding: 1.4rem;
  }

  .home-hero-panel,
  .home-hero-content {
    min-height: 560px;
  }

  .home-hero-content {
    width: min(100%, 560px);
    padding: 1.6rem;
  }

  .hero-main h1 {
    max-width: none;
    font-size: clamp(2.1rem, 11vw, 3.5rem);
  }

  .editorial-hero {
    gap: 2rem;
    padding-top: 0.5rem;
  }

  .editorial-hero-title {
    max-width: none;
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .editorial-hero-visual {
    min-height: auto;
  }

  .editorial-image-card {
    min-height: 360px;
    transform: none;
  }

  .editorial-floating-note {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-metrics,
  .service-grid,
  .about-grid,
  .guide-grid,
  .news-grid,
  .footer-grid,
  .detail-gallery,
  .editorial-service-grid,
  .editorial-mentor-grid,
  .conference-countdown,
  .apcg-hero,
  .apcg-report-card,
  .apcg-video-panel {
    grid-template-columns: 1fr;
  }

  .apcg-status {
    padding-top: 1rem;
    padding-left: 0;
    border-top: 4px solid var(--accent);
    border-left: 0;
  }

  .notice-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .home-section-head,
  .home-section-head-compact,
  .editorial-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-meta {
    padding-left: 0;
    border-left: 0;
  }

  .content-shell,
  .admin-shell,
  .site-main {
    width: min(100%, calc(100vw - 1rem));
  }

  .section-shell,
  .content-shell,
  .admin-shell {
    padding: 1rem;
  }

  .about-index-main {
    width: min(100%, calc(100vw - 1rem));
  }

  .about-index-hero,
  .about-index-list {
    grid-template-columns: 1fr;
  }

  .about-index-copy {
    min-height: auto;
  }

  .about-index-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .about-index-card a {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .about-index-icon {
    width: 40px;
    height: 40px;
  }

  .about-index-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1180px) {
  .impact-stats {
    grid-template-columns: 1fr;
  }

  .mentor-profile-grid {
    grid-template-columns: 1fr;
  }

  .mentor-profile-card-primary {
    grid-row: auto;
  }
}

@media (max-width: 860px) {
  .editorial-hero {
    min-height: 620px;
    padding: 4rem 1rem;
  }

  .news-preview-section,
  .member-services-section {
    padding: 1rem;
  }

  .news-update-item {
    grid-template-columns: 1fr;
  }

  .news-date-block {
    width: 82px;
  }

  .mentor-profile-hero {
    grid-template-columns: 1fr;
  }

  .mentor-profile-visual {
    min-height: 280px;
  }
}

/* APFG homepage visual pass: compact academic portal, nav unchanged. */
.site-main.home-editorial {
  width: min(880px, calc(100vw - 2rem));
  gap: 0;
  padding-top: 0.7rem;
  padding-bottom: 0;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 45, 98, 0.08);
}

.home-editorial > section {
  border-radius: 0;
}

.home-editorial .editorial-hero {
  grid-template-columns: 1fr;
  min-height: clamp(420px, 46vw, 500px);
  gap: 0;
  align-items: end;
  justify-items: start;
  padding: 2.2rem 2.4rem;
  text-align: left;
}

.home-editorial .editorial-hero.hero-align-top {
  align-items: start;
}

.home-editorial .editorial-hero.hero-align-middle {
  align-items: center;
}

.home-editorial .editorial-hero.hero-align-bottom {
  align-items: end;
}

.home-editorial .editorial-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 32, 69, calc(var(--hero-overlay-alpha) + 0.18)), rgba(0, 45, 98, var(--hero-overlay-alpha)) 48%, rgba(0, 45, 98, 0.28)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, calc(var(--hero-overlay-alpha) * 0.45)));
}

.home-editorial .editorial-hero-copy {
  justify-items: start;
  align-self: end;
  max-width: min(100%, 560px);
}

.home-editorial .editorial-hero .editorial-badge {
  display: inline-flex;
}

.home-editorial .editorial-hero-title {
  max-width: var(--hero-title-max-width);
  margin: 0 0 0.8rem;
  font-size: clamp(1.65rem, 3.4vw, var(--hero-title-size));
  line-height: 1.08;
  text-transform: uppercase;
}

.home-editorial .editorial-lead {
  max-width: 44ch;
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-editorial .editorial-hero-actions {
  margin-top: 1.1rem;
}

.home-editorial .btn-editorial-primary {
  min-height: 38px;
  padding: 0.7rem 1rem;
  color: #2b2100;
  font-size: 0.72rem;
  background: var(--gold-500);
  box-shadow: 0 10px 22px rgba(209, 163, 22, 0.26);
}

.editorial-section-mentors,
.news-preview-section,
.member-services-section {
  padding: 2rem 3rem;
  box-shadow: none;
}

.editorial-section-head-centered {
  text-align: left;
  justify-content: flex-start;
}

.editorial-section-kicker {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: var(--brand-900);
  font-size: 0.8rem;
}

.editorial-section-head h2,
.editorial-section-mentors h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.editorial-section-copy {
  font-size: 0.9rem;
}

.home-editorial .editorial-mentor-grid {
  gap: 1rem;
}

.home-editorial .editorial-mentor-card {
  flex: 1 1 calc(25% - 0.75rem);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.home-editorial .editorial-mentor-card-link {
  display: block;
}

.home-editorial .editorial-mentor-card-link:hover h3,
.home-editorial .editorial-mentor-card-link:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.home-editorial .editorial-mentor-card:hover {
  transform: none;
  box-shadow: none;
}

.home-editorial .editorial-mentor-avatar {
  width: 100%;
  height: 132px;
  margin: 0 0 0.65rem;
  overflow: hidden;
  border-radius: 18px;
  background: #d8e0e0;
}

.home-editorial .editorial-mentor-avatar img {
  object-position: center top;
}

.home-editorial .editorial-mentor-card h3 {
  font-size: 0.92rem;
}

.home-editorial .editorial-mentor-role,
.home-editorial .editorial-mentor-summary {
  font-size: 0.75rem;
  line-height: 1.45;
}

.home-editorial .editorial-mentor-summary,
.home-editorial .editorial-mentor-card .editorial-inline-link {
  display: none;
}

.news-preview-section {
  background: #f6fbfa;
}

.home-editorial .news-update-list {
  grid-template-columns: 1fr 1fr;
}

.home-editorial .news-update-item {
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 0;
  border: 0;
  background: transparent;
}

.home-editorial .news-date-block {
  width: 96px;
  min-height: 112px;
  background: var(--brand-500);
}

.home-editorial .news-date-block span,
.home-editorial .news-date-block em {
  font-style: normal;
  font-weight: 800;
}

.home-editorial .news-date-block strong {
  font-size: 2.25rem;
}

.home-editorial .news-update-item h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.home-editorial .news-update-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 0.82rem;
  line-height: 1.55;
}

.home-editorial .editorial-inline-link {
  color: var(--brand-500);
  font-size: 0.78rem;
}

.home-editorial .impact-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem 3rem;
  background: var(--surface);
}

.stats-heading {
  grid-column: 1 / -1;
  text-align: center;
}

.stats-heading h2 {
  margin: 0.2rem 0 0;
  color: var(--brand-900);
  font-size: 1.45rem;
}

.home-editorial .impact-stat {
  display: grid;
  justify-items: center;
  min-height: auto;
  padding: 0.4rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.home-editorial .impact-icon {
  width: 34px;
  height: 34px;
  color: var(--brand-500);
  background: transparent;
}

.home-editorial .impact-stat strong {
  display: block;
  color: var(--brand-500);
  font-size: 1.35rem;
}

.member-services-section {
  background: #f6fbfa;
}

.member-services-section .editorial-section-head {
  justify-content: center;
  text-align: center;
}

.home-editorial .editorial-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-editorial .editorial-service-card {
  justify-items: center;
  padding: 1.15rem;
  text-align: center;
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(0, 45, 98, 0.08);
}

.home-editorial .service-card-media {
  width: 58px;
  height: 58px;
}

.home-editorial .editorial-service-card h3 {
  font-size: 1rem;
}

.home-editorial .editorial-service-card p {
  font-size: 0.8rem;
  line-height: 1.55;
}

.home-editorial .editorial-conference-cta {
  padding: 2rem 3rem;
  box-shadow: none;
}

.home-editorial .editorial-about-band {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.home-editorial .editorial-about-band .editorial-conference-copy {
  max-width: 680px;
}

.home-editorial .editorial-about-band .editorial-conference-copy h2 {
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.08;
}

.home-editorial .editorial-about-band .editorial-conference-copy p {
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.7;
}

.home-editorial .editorial-about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-editorial .editorial-about-card {
  min-height: 190px;
  padding: 1.25rem;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(0, 20, 48, 0.16);
}

.home-editorial .editorial-about-card h3 {
  color: var(--brand-900);
  font-size: 1.12rem;
  line-height: 1.2;
}

.home-editorial .editorial-about-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  color: var(--ink-700);
  font-size: 0.85rem;
  line-height: 1.55;
}

.home-editorial .editorial-about-card .editorial-inline-link {
  color: var(--brand-500);
}

.home-editorial .editorial-countdown {
  display: none;
}

@media (max-width: 860px) {
  .site-main.home-editorial {
    width: min(100%, calc(100vw - 1rem));
  }

  .home-editorial .editorial-hero,
  .editorial-section-mentors,
  .news-preview-section,
  .member-services-section,
  .home-editorial .impact-stats,
  .home-editorial .editorial-conference-cta {
    padding: 1.25rem;
  }

  .home-editorial .editorial-hero {
    grid-template-columns: 1fr;
    min-height: 460px;
  }

  .site-brand img {
    width: min(82vw, 310px);
  }

  .home-editorial .news-update-list,
  .home-editorial .impact-stats,
  .home-editorial .editorial-service-grid,
  .home-editorial .editorial-about-grid,
  .home-editorial .editorial-conference-cta {
    grid-template-columns: 1fr;
  }

  .home-editorial .editorial-mentor-card {
    flex-basis: 100%;
  }

  .home-editorial .editorial-mentor-avatar {
    height: clamp(220px, 62vw, 320px);
  }

  .home-editorial .editorial-mentor-avatar img {
    object-fit: contain;
    background: #eef3f6;
  }

  .stats-heading {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-hero-slide {
    transition: none;
  }
}

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

  .member-profile-card {
    position: static;
  }

  .member-profile-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .member-dashboard-shell {
    width: min(100%, calc(100vw - 1rem));
    padding: 0;
  }

  .member-dashboard-head,
  .member-profile-card,
  .member-panel {
    border-radius: var(--radius-lg);
  }

  .member-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .member-panel-head .btn,
  .member-empty-state .btn,
  .member-dashboard-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .member-profile-list,
  .member-sig-grid,
  .member-sig-strip {
    grid-template-columns: 1fr;
  }

  .member-dashboard-actions {
    justify-content: stretch;
  }
}

/* APFG homepage redesign: image-reference institutional portal. */
body.site-body {
  background: #f4f7fb;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(0, 36, 82, 0.08);
}

.nav-wrap {
  min-height: 104px;
  padding: 1.1rem 0;
}

.site-brand img {
  width: clamp(235px, 25vw, 330px);
}

.top-nav {
  gap: 0.65rem;
}

.top-nav a,
.top-nav .btn-mini {
  min-height: 40px;
  padding: 0.65rem 0.9rem;
  color: #092a58;
  font-size: 0.92rem;
  font-weight: 800;
}

.top-nav .btn-mini {
  color: #ffffff;
  border-radius: 6px;
  background: linear-gradient(180deg, #07356f, #002d62);
  box-shadow: 0 8px 18px rgba(0, 45, 98, 0.2);
}

.site-main.home-editorial {
  display: flex;
  flex-direction: column;
  width: min(1180px, calc(100vw - 2rem));
  padding: 0;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(9, 42, 88, 0.08);
}

.home-editorial .editorial-hero {
  order: 0;
  min-height: clamp(330px, 34vw, 410px);
  padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 6vw, 4.5rem);
}

.home-editorial .editorial-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 35, 77, calc(var(--hero-overlay-alpha) + 0.16)), rgba(0, 45, 98, 0.74) 42%, rgba(0, 45, 98, 0.28)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16));
}

.home-editorial .editorial-hero-copy {
  align-self: center;
  max-width: min(100%, 640px);
}

.home-editorial .editorial-hero .editorial-badge {
  display: none;
}

.home-editorial .editorial-hero-title {
  max-width: 21ch;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-editorial .editorial-lead {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.58;
}

.home-editorial .editorial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.7rem;
}

.home-editorial .btn-editorial-primary,
.home-editorial .btn-editorial-secondary {
  min-width: 136px;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

.home-editorial .btn-editorial-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #f3b554, #dc8f2a);
}

.home-editorial .btn-editorial-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(0, 26, 60, 0.24);
}

.news-preview-section {
  order: 1;
  background: #ffffff;
}

.homepage-about-section {
  order: 2;
}

.member-services-section {
  order: 3;
  background: #ffffff;
}

.home-editorial .impact-stats {
  order: 4;
}

.mobile-home-quicklinks {
  display: none;
}

.editorial-section-mentors {
  order: 5;
}

.editorial-section-mentors,
.news-preview-section,
.member-services-section,
.homepage-about-section {
  padding: 2rem clamp(2rem, 6vw, 4.5rem);
  box-shadow: none;
}

.editorial-section-head {
  align-items: center;
  margin-bottom: 1.35rem;
}

.editorial-section-head h2,
.homepage-section-title h2,
.stats-heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 0.55rem;
  color: #071f49;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 850;
}

.editorial-section-head h2::after,
.homepage-section-title h2::after,
.stats-heading h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: #e58f2a;
}

.editorial-arrow-link::after {
  content: '›';
  margin-left: 0.7rem;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
}

.homepage-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.65rem;
}

.homepage-news-card {
  min-height: 132px;
  border: 1px solid rgba(8, 43, 92, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(6, 35, 75, 0.08);
}

.homepage-news-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 1rem;
  height: 100%;
  padding: 1.1rem 1rem 1rem 1.2rem;
  text-decoration: none;
}

.homepage-news-copy {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.homepage-news-category {
  color: #0b5f83;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.homepage-news-card h3 {
  margin: 0;
  color: #071f49;
  font-size: 0.9rem;
  line-height: 1.45;
}

.homepage-news-card time {
  color: #667384;
  font-size: 0.78rem;
}

.homepage-news-thumb {
  align-self: center;
  overflow: hidden;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 5px;
  background: #edf3f8;
}

.homepage-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage-about-section {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(0, 1fr);
  gap: 2rem;
  padding-top: 0.5rem;
}

.homepage-about-content {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
}

.homepage-about-content p {
  max-width: 78ch;
  margin: 0;
  color: #32445c;
  font-size: 0.95rem;
  line-height: 1.72;
}

.homepage-about-lead {
  color: #25364d;
}

.homepage-outline-button {
  justify-self: end;
  margin-top: 1.1rem;
  color: #07356f;
  border: 1px solid rgba(7, 53, 111, 0.5);
  background: #ffffff;
}

.home-editorial .editorial-service-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.home-editorial .editorial-service-card {
  min-height: 184px;
  padding: 1.35rem 1rem;
  border: 1px solid rgba(8, 43, 92, 0.06);
  border-radius: 8px;
  background: #fbfcfe;
  box-shadow: 0 14px 30px rgba(6, 35, 75, 0.06);
  text-align: center;
}

.homepage-work-card-link {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-editorial .service-card-media {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #063b78;
  background: transparent;
}

.home-editorial .service-card-media svg,
.home-editorial .impact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-editorial .editorial-service-card h3 {
  margin: 0;
  color: #071f49;
  font-size: 0.86rem;
  line-height: 1.28;
}

.home-editorial .editorial-service-card p {
  margin: 0;
  color: #40526a;
  font-size: 0.72rem;
  line-height: 1.55;
}

.home-editorial .impact-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0.75rem clamp(2rem, 6vw, 4.5rem) 2rem;
  background: #ffffff;
}

.stats-heading {
  grid-column: 1 / -1;
  text-align: left;
}

.home-editorial .impact-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 82px;
  padding: 1rem;
  border: 1px solid rgba(8, 43, 92, 0.06);
  border-radius: 8px;
  background: #fbfcfe;
  box-shadow: 0 14px 30px rgba(6, 35, 75, 0.06);
  text-align: left;
}

.home-editorial .impact-icon {
  width: 38px;
  height: 38px;
  color: #07356f;
  background: transparent;
}

.home-editorial .impact-stat strong {
  display: inline;
  color: #07356f;
  font-size: 1.8rem;
  line-height: 1;
}

.home-editorial .impact-stat b {
  color: #07356f;
  font-size: 1.25rem;
}

.home-editorial .impact-stat em {
  display: block;
  color: #071f49;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.home-editorial .editorial-mentor-grid {
  gap: 1.65rem;
}

.home-editorial .editorial-mentor-card {
  flex: 1 1 calc(25% - 1.25rem);
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-editorial .editorial-mentor-avatar {
  width: 100%;
  height: 128px;
  margin: 0 0 0.75rem;
  border-radius: 8px;
  background: #e9eef4;
}

.home-editorial .editorial-mentor-avatar img {
  object-fit: contain;
  object-position: center center;
  background: #e9eef4;
}

.home-editorial .editorial-mentor-card h3 {
  margin-bottom: 0.25rem;
  color: #071f49;
  font-size: 0.92rem;
}

.home-editorial .editorial-mentor-role {
  color: #071f49;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-editorial .editorial-mentor-summary {
  display: none;
}

.site-footer {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, #00204a 0%, #003a75 58%, #00204a 100%);
}

.site-footer .container {
  width: min(1180px, calc(100vw - 2rem));
}

.footer-grid {
  grid-template-columns: minmax(220px, 1.45fr) repeat(5, minmax(125px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding: 2.1rem 0 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-decoration: none;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  margin: 0;
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.footer-brand small {
  display: block;
  max-width: 170px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  line-height: 1.25;
}

.footer-grid h4 {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: 0.85rem;
}

.footer-accordion-toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  font: inherit;
  text-align: left;
}

.footer-grid p,
.footer-link-list a,
.footer-utility-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-link-list {
  gap: 0.42rem;
}

.footer-link-list a,
.footer-contact p {
  font-size: 0.76rem;
  line-height: 1.45;
}

.footer-contact strong {
  color: #ffffff;
}

.footer-social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-social-links a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: none;
}

.footer-bottom-bar {
  justify-content: center;
  padding: 0.8rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom-bar .footer-utility-links {
  display: none;
}

@media (max-width: 1080px) {
  .home-editorial .editorial-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .homepage-news-grid,
  .home-editorial .impact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 0;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .site-main.home-editorial {
    width: min(100%, calc(100vw - 1rem));
  }

  .home-editorial .editorial-hero,
  .editorial-section-mentors,
  .news-preview-section,
  .member-services-section,
  .homepage-about-section,
  .home-editorial .impact-stats {
    padding: 1.35rem;
  }

  .home-editorial .editorial-hero {
    min-height: min(390px, calc(100vh - 118px));
    padding: 2.65rem 1.1rem 2.1rem;
    place-items: end center;
  }

  .home-editorial .editorial-hero-copy {
    gap: 0.7rem;
  }

  .home-editorial .editorial-badge {
    font-size: 0.7rem;
  }

  .home-editorial .editorial-hero-title {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2rem, 11vw, 2.55rem);
    line-height: 1.04;
  }

  .home-editorial .editorial-lead {
    max-width: 34ch;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .home-editorial .editorial-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: min(100%, 280px);
  }

  .home-editorial .editorial-hero-actions .btn {
    min-height: 42px;
    justify-content: center;
    padding: 0.75rem 0.95rem;
  }

  .mobile-home-quicklinks {
    order: 1;
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    width: 100%;
    padding: 0 0.85rem 0.25rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .mobile-home-quicklinks::-webkit-scrollbar {
    display: none;
  }

  .mobile-home-quicklinks a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0.72rem 0.95rem;
    border: 1px solid rgba(8, 43, 92, 0.16);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(6, 35, 75, 0.08);
    color: #071f49;
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
    scroll-snap-align: start;
  }

  .homepage-news-grid,
  .homepage-about-section,
  .home-editorial .editorial-service-grid,
  .home-editorial .impact-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .homepage-news-grid {
    gap: 0.8rem;
  }

  .homepage-news-card {
    min-height: 0;
  }

  .homepage-news-card:first-child {
    overflow: hidden;
  }

  .homepage-news-card:first-child .homepage-news-link {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .homepage-news-card:first-child .homepage-news-copy {
    order: 2;
    gap: 0.5rem;
    padding: 1rem 1.05rem 1.1rem;
  }

  .homepage-news-card:first-child .homepage-news-thumb {
    order: 1;
    width: 100%;
    aspect-ratio: 16 / 8.5;
    border-radius: 0;
  }

  .homepage-news-card:first-child h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .homepage-news-link {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 0.8rem;
    padding: 0.85rem 0.85rem 0.85rem 1rem;
  }

  .homepage-news-copy {
    gap: 0.4rem;
  }

  .homepage-news-card h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .homepage-news-category {
    font-size: 0.64rem;
  }

  .homepage-news-card time {
    font-size: 0.72rem;
  }

  .homepage-news-thumb {
    width: 82px;
  }

  .home-editorial .impact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.15rem;
  }

  .home-editorial .impact-stat {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.65rem;
    min-height: 76px;
    padding: 0.8rem;
  }

  .home-editorial .impact-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .home-editorial .impact-stat strong {
    font-size: 1.32rem;
  }

  .home-editorial .impact-stat b {
    font-size: 0.94rem;
  }

  .home-editorial .impact-stat em {
    font-size: 0.66rem;
    line-height: 1.22;
  }

  .home-editorial .editorial-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .home-editorial .editorial-service-card {
    min-height: 142px;
    padding: 0.95rem 0.7rem;
  }

  .homepage-work-card-link {
    gap: 0.45rem;
  }

  .home-editorial .service-card-media {
    width: 34px;
    height: 34px;
  }

  .home-editorial .editorial-service-card h3 {
    font-size: 0.78rem;
  }

  .home-editorial .editorial-service-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.66rem;
    line-height: 1.38;
  }

  .homepage-outline-button {
    justify-self: start;
  }

  .home-editorial .editorial-mentor-card {
    flex-basis: 100%;
  }

  .home-editorial .editorial-mentor-avatar {
    height: clamp(176px, 54vw, 240px);
  }

  .editorial-mentor-carousel {
    gap: 0.75rem;
  }

  .editorial-mentor-carousel.is-carousel .editorial-mentor-controls {
    justify-content: space-between;
    order: 2;
  }

  .editorial-mentor-nav {
    min-width: 46px;
    min-height: 46px;
  }

  .editorial-mentor-carousel.is-carousel .editorial-mentor-pagination {
    order: 3;
    gap: 0.38rem;
  }

  .editorial-mentor-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
  }

  .site-footer .container {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1.45rem 0 1rem;
  }

  .footer-block:first-child {
    margin-bottom: 1rem;
  }

  .footer-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .footer-accordion h4 {
    margin: 0;
  }

  .footer-accordion-toggle {
    position: relative;
    min-height: 46px;
    padding: 0.9rem 2rem 0.9rem 0;
    cursor: pointer;
  }

  .footer-accordion-toggle::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 0.15rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.2rem;
    line-height: 1;
    transform: translateY(-50%);
  }

  .footer-accordion:not(.is-collapsed) .footer-accordion-toggle::after {
    content: '-';
  }

  .footer-link-list,
  .footer-contact-panel {
    padding: 0 0 0.95rem;
  }

  .footer-bottom-bar {
    padding-top: 1rem;
  }
}
