/*
 * Shared interior-page treatment for the approved yellow/poster site.
 * Older packages may supply verified content, but every public route uses
 * this visual shell and the richer-restored design tokens.
 */

.page-actions,
.inline-links,
.actions,
.links,
.download-actions,
.language-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

/* Use the broadly supported poster JPEG in the prominent hero slot. */
.hero-poster-card img {
  content: url("/assets/poster-fnds-2026-display.jpg");
}

.page-actions a,
.inline-links a,
.actions a,
.links a,
.language-actions a,
.download-link,
.mail-button {
  align-items: center;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-weight: 850;
  min-height: 48px;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.page-hero .page-actions a,
.page-hero .language-actions a {
  background: rgba(4, 16, 31, 0.58);
  border-color: #fff;
  color: #fff;
  text-decoration-color: currentColor;
}

.page-hero .page-actions a:first-child,
.page-hero .language-actions a:first-child {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}

.page-hero .page-actions a:hover,
.page-hero .language-actions a:hover {
  background: #fff;
  color: var(--navy);
}

.page-hero .page-actions a:first-child:hover,
.page-hero .language-actions a:first-child:hover {
  background: #fff3a6;
  border-color: #fff;
  color: #07142b;
}

/* The site is the live accessibility demonstration, not a detached brochure. */
.home-live-proof {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 223, 53, 0.2), transparent 20rem),
    linear-gradient(145deg, #07142b, #123563);
  border-radius: 28px;
  box-shadow: 14px 16px 0 rgba(7, 20, 43, 0.12);
  color: #eaf2f8;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  margin-bottom: clamp(4rem, 8vw, 7rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 6vw, 4.5rem);
}

.home-live-proof .section-label {
  color: var(--yellow);
}

.home-live-proof h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.7vw, 4.25rem);
  line-height: 1.02;
  margin: 0.75rem 0 1.4rem;
}

.home-live-proof p {
  color: #eaf2f8;
  font-size: 1.05rem;
}

.home-live-proof strong {
  color: #fff;
}

.home-live-proof aside {
  background: #fff6bd;
  border: 3px solid #ffe56a;
  border-radius: 20px;
  color: #07142b;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.home-live-proof aside h3,
.home-live-proof aside p,
.home-live-proof aside li {
  color: #07142b;
}

.home-live-proof aside h3 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-top: 0;
}

.home-live-proof aside ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.home-live-proof aside li {
  margin: 0.65rem 0;
}

.conference-artifact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.conference-artifact-actions a {
  align-items: center;
  background: var(--yellow);
  border: 2px solid #8b6500;
  border-radius: 999px;
  color: #07142b;
  display: inline-flex;
  font-weight: 900;
  min-height: 50px;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.conference-artifact-actions a:hover {
  background: #fff3a6;
}

.conference-handout-panel {
  align-items: start;
  background: #fff;
  border: 1px solid #c7d5e3;
  border-left: 8px solid #c58d00;
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(7, 20, 43, 0.07);
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  margin: 1.35rem 0;
  padding: clamp(2rem, 5vw, 4.2rem);
}

.conference-handout-panel h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
}

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

.conference-handout-grid figure {
  margin: 0;
}

.conference-handout-grid img {
  border: 1px solid #8da2b7;
  border-radius: 14px;
  display: block;
  height: auto;
  width: 100%;
}

.conference-handout-grid figcaption {
  color: var(--pf-readable-muted, #3b4d63);
  font-weight: 750;
  padding-top: 0.65rem;
}

body.pf-high-contrast .home-live-proof,
body.pf-contrast .home-live-proof {
  background: #000 !important;
  border: 3px solid #000 !important;
}

body.pf-high-contrast .home-live-proof aside,
body.pf-contrast .home-live-proof aside {
  background: #fff000 !important;
  border-color: #000 !important;
}

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

.demo-choice-card {
  background: #f7fbff;
  border: 2px solid var(--navy);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 1.5rem;
}

.demo-choice-card:nth-child(2) {
  background: #fff7bf;
}

.demo-choice-card > span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-choice-card h3 {
  color: var(--navy);
  margin: 0.8rem 0;
}

.demo-choice-card p {
  color: var(--muted);
  flex: 1;
}

.demo-choice-card a {
  color: var(--blue);
  font-weight: 900;
}

.source-boundary {
  background: var(--yellow-soft);
  border: 2px solid #8b6500;
  border-radius: 18px;
  color: #2f2200;
  margin: 1.35rem 0;
  padding: 1.25rem;
}

.source-boundary a {
  color: #003f91;
  font-weight: 900;
}

@media (max-width: 760px) {
  .home-live-proof,
  .conference-handout-panel,
  .conference-handout-grid,
  .demo-choice-grid {
    grid-template-columns: 1fr;
  }
}

.content-section > h2,
.content-section > h3,
.record-card h2,
.record-card h3,
.record-notice h2,
.record-notice h3 {
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.content-section > h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-top: 0;
}

.content-section p,
.content-section li,
.record-card p,
.record-card li,
.record-notice p,
.record-notice li {
  color: var(--muted);
}

.record-card-grid,
.grid,
.story,
.timeline,
.identity,
.meta,
.future-grid,
.download-grid,
.image-grid,
.schedule-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.25rem 0;
}

.record-card,
.card,
.box,
.stage,
.download-card,
.image-card,
.future-mini,
.schedule-card {
  background: #fff;
  border: 1px solid #c7d5e3;
  border-left: 7px solid var(--blue);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(7, 20, 43, 0.08);
  min-width: 0;
  padding: 1.4rem;
}

.record-card:nth-child(3n + 2),
.card:nth-child(3n + 2),
.stage:nth-child(3n + 2) {
  border-left-color: var(--teal);
}

.record-card:nth-child(3n + 3),
.card:nth-child(3n + 3),
.stage:nth-child(3n + 3) {
  border-left-color: #c58d00;
}

.record-notice,
.notice,
.boundary,
.checklist,
.medical-journey-boat-notice,
.accessibility-note,
.redacted-source-note,
.translation-note,
.pf-artifact-note {
  background: var(--yellow-soft);
  border: 2px solid #9b7300;
  border-left: 9px solid #c58d00;
  border-radius: 18px;
  color: var(--ink);
  margin: 1.25rem 0;
  padding: 1.25rem 1.4rem;
}

.record-notice p,
.notice p,
.boundary p,
.checklist p,
.medical-journey-boat-notice p,
.accessibility-note p,
.translation-note p,
.pf-artifact-note {
  color: var(--ink);
}

.status-pill,
.tag,
.status,
.badge {
  align-items: center;
  background: #e5f4ef;
  border: 1px solid #427c72;
  border-radius: 999px;
  color: #073d39;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0.35rem 0.45rem 0;
  min-height: 32px;
  padding: 0.3rem 0.65rem;
}

.step-number,
.num {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.stage {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: 64px minmax(0, 1fr);
}

.data-table-wrap,
.boundary-table-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 1.25rem 0;
  overflow-x: auto;
}

.data-table,
.boundary-table,
.content-section table {
  background: #fff;
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.data-table th,
.data-table td,
.boundary-table th,
.boundary-table td,
.content-section th,
.content-section td {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.data-table th,
.boundary-table th,
.content-section th {
  background: var(--navy);
  color: #fff;
}

.content-section img,
.record-card img,
.image-card img {
  border: 1px solid var(--line);
  border-radius: 14px;
  display: block;
  height: auto;
  max-width: 100%;
}

.image-card figure,
.content-section figure {
  margin: 1.25rem 0;
}

.image-card figcaption,
.content-section figcaption {
  color: var(--muted);
  margin-top: 0.65rem;
}

.full {
  grid-column: 1 / -1;
}

.content-section details,
.record-card details {
  background: #f1f6fa;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 1rem;
  padding: 1rem;
}

.content-section summary,
.record-card summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
}

.email-box {
  align-items: center;
  background: #eaf4ff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem;
}

.email-text {
  color: var(--navy);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.copy-button,
.copy-status {
  display: none;
}

.unified-page .pf-page-toc,
.unified-page .pf-page-toc-backdrop,
.unified-page .pf-sitewide-tap-away,
.unified-page .pf-dock-tap-away,
.unified-page .pf-reader-panel,
.unified-page .floating-controls-show-button,
.unified-page #floatingPageTools {
  display: none !important;
}

body.pf-high-contrast .record-card,
body.pf-high-contrast .card,
body.pf-high-contrast .box,
body.pf-high-contrast .stage,
body.pf-high-contrast .record-notice,
body.pf-high-contrast .notice,
body.pf-high-contrast .boundary,
body.pf-high-contrast .checklist,
body.pf-high-contrast .data-table-wrap,
body.pf-high-contrast .boundary-table-wrap,
body.pf-high-contrast .translation-note,
body.pf-high-contrast .pf-artifact-note {
  background: #fff !important;
  border-color: #000 !important;
  box-shadow: none !important;
  color: #000 !important;
}

body.pf-high-contrast .record-card *,
body.pf-high-contrast .card *,
body.pf-high-contrast .box *,
body.pf-high-contrast .stage *,
body.pf-high-contrast .record-notice *,
body.pf-high-contrast .notice *,
body.pf-high-contrast .boundary *,
body.pf-high-contrast .checklist *,
body.pf-high-contrast .translation-note *,
body.pf-high-contrast .pf-artifact-note * {
  color: #000 !important;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.one-key-current {
  outline: 5px solid var(--focus);
  outline-offset: 8px;
  scroll-margin-top: 8.5rem;
}

body.pf-high-contrast .one-key-current {
  outline-color: #000 !important;
}

@media (max-width: 760px) {
  .record-card-grid,
  .grid,
  .story,
  .timeline,
  .identity,
  .meta,
  .future-grid,
  .download-grid,
  .image-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .stage {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 1.1rem;
  }

  .full {
    grid-column: auto;
  }

  .page-actions a,
  .inline-links a,
  .actions a,
  .links a,
  .language-actions a,
  .download-link,
  .mail-button {
    justify-content: center;
    width: 100%;
  }
}
