/* Inner pages. Loaded after style.css and before a page stylesheet.
   Shared inner typography is scoped to .page-inner so the homepage keeps its own sizes. */

.page-inner {
  background: #fff;
}

.page-inner .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.page-inner .site-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 35px rgba(9, 47, 69, 0.09);
}

.page-inner .site-header.scrolled .brand,
.page-inner .site-header.scrolled .contact-btn {
  display: inline-flex;
}

.page-inner .site-header.scrolled .brand img {
  display: block;
}

.page-inner .site-header.scrolled .header-inner {
  justify-content: space-between;
}

.page-inner .site-header.scrolled .header-actions {
  width: auto;
  justify-content: flex-end;
}

.page-inner .site-header.scrolled .menu-toggle {
  position: static;
  top: auto;
  right: auto;
  margin-left: 0;
}

@media (min-width: 768px) {
  .page-inner .site-header.scrolled .header-main,
  .page-inner .site-header.scrolled .header-inner {
    height: auto;
    min-height: 86px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.page-inner h1,
.page-inner h2,
.page-inner h3 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: var(--heading-weight);
}

.page-inner h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.page-inner h1 em,
.page-inner h2 em {
  color: var(--green);
  font-style: italic;
  font-weight: 500;
}

.lede {
  max-width: 40rem;
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-inner p {
  line-height: var(--text-body-line-height);
}

.measure {
  max-width: 42rem;
}

.inner-section {
  padding: 76px 0;
}

.inner-section.tight {
  padding: 40px 0 28px;
}

.page-inner .section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0;
  margin-bottom: 16px;
}

.inner-section.cream {
  background: var(--cream);
}

.inner-section.navy {
  background: var(--navy);
  color: #fff;
}

.inner-section.navy h2,
.inner-section.navy h3,
.inner-section.navy p {
  color: #fff;
}

.inner-section.navy .eyebrow {
  color: var(--gold);
}

.btn.btn-line {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(9, 47, 69, 0.28);
}

.btn.btn-line:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn.btn-gold {
  color: #183746;
  border: 0;
}

.btn.btn-gold:hover {
  color: #183746;
  filter: brightness(0.96);
}

.page-inner a:focus-visible,
.page-inner button:focus-visible,
.page-inner input:focus-visible,
.page-inner textarea:focus-visible,
.page-inner summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Heroes */

.inner-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  padding: 176px 0 52px;
  overflow: hidden;
  color: #fff;
  background-color: #123246;
  background-image: url("https://images.unsplash.com/photo-1692356573087-00b545ac4694?auto=format&fit=crop&w=1800&q=80");
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 28, 40, 0.78) 0%, rgba(5, 28, 40, 0.55) 48%, rgba(5, 28, 40, 0.42) 100%);
}

.inner-hero > .container {
  position: relative;
  z-index: 1;
}

.inner-hero h1,
.inner-hero p,
.inner-hero .eyebrow,
.inner-hero .lede,
.inner-hero h1 em {
  color: #fff;
}

.inner-hero h1 em {
  color: #f3d78a;
}

.inner-hero .eyebrow::before {
  background: var(--gold);
}

.inner-hero .side-panel,
.inner-hero .side-panel h2,
.inner-hero .side-panel h3,
.inner-hero .side-panel p {
  color: var(--ink);
}

.inner-hero .side-panel h2,
.inner-hero .side-panel h3 {
  color: var(--navy);
}

/* One breadcrumb style for every inner page. Page files only change the links and the current title. */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.crumbs a {
  color: #fff;
}

.crumbs a:hover {
  color: #f3d78a;
}

.crumbs span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.55);
}

.inner-hero .btn-line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.inner-hero .btn-line:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.portrait {
  overflow: hidden;
  border-radius: 10px 10px 100px 10px;
  box-shadow: rgba(0, 0, 0, 0.18) 0 8px 24px;
  min-height: 360px;
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.script-aside {
  margin-top: 22px;
  color: var(--green);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.35;
}

/* Facts, story, lists */

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  background: transparent;
}

.fact {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.fact + .fact {
  padding-left: 24px;
  border-left: 0;
}

.fact span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.story-grid p + p {
  margin-top: 16px;
}

.side-panel {
  background: var(--cream);
  border-radius: 24px;
  padding: 28px 28px 26px;
}

.story-visual {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 24px;
}

.story-visual-wide {
  margin: 0 0 28px;
}

.story-visual img,
.story-visual-wide img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.story-visual-wide img {
  height: 320px;
}

.inner-section.tight .side-panel {
  margin-bottom: 16px;
}

.side-panel h2,
.side-panel h3 {
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid rgba(9, 47, 69, 0.08);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.group-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.group-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.group-list strong {
  display: block;
  color: var(--navy);
}

.group-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

.people article {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.inner-section.navy .people article {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.people .role {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.people a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.related-links a {
  color: var(--green);
  font-weight: 700;
}

.related-links a:hover {
  color: var(--navy);
}

.notice {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.notice p {
  font-size: 1.15rem;
}

/* Board cards */

.board-section {
  background: #f7f4ec;
}

.board-intro {
  max-width: 100%;
  margin: 0 auto 36px;
  text-align: center;
}

.board-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.board-intro p {
  margin: 0 auto;
  max-width: 100%;
  color: var(--ink);
}

.board-intro .eyebrow {
  justify-content: center;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.board-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(9, 47, 69, 0.08);
  overflow: hidden;
}

.board-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.board-photo {
  position: relative;
  height: 380px;
  background: #d7e0e4;
}

.board-photo::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -30px;
  height: 58px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 -3px 0 #e9b735;
}

.board-card-wide .board-photo {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.board-card-wide .board-photo::after {
  display: none;
}

.board-card-wide .board-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.board-card-wide .board-id {
  margin-top: 0;
}

.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.board-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px 20px;
}

.board-id {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -46px;
}

.board-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}

.board-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.board-role {
  display: inline-block;
  margin: 4px 0 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f3d78a;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.board-summary {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.profile-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.board-card.is-open .profile-more {
  grid-template-rows: 1fr;
}

.profile-more-inner {
  overflow: hidden;
}

.profile-more h4 {
  margin: 12px 0 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.profile-more p {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.board-toggle {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.board-toggle i {
  color: var(--navy);
  font-size: 0.95rem;
}

.board-toggle .fa-arrow-right {
  color: var(--green);
}

.board-card.is-open .board-toggle .fa-arrow-right {
  transform: rotate(90deg);
}

/* Club news archive */

.rebus-news-page {
  padding: 36px 0 72px;
  background: #f4f7fb;
}

.news-year {
  margin-bottom: 22px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 47, 69, 0.06);
}

.news-year-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
  padding: 18px 22px;
  overflow: hidden;
}

.news-year-blue .news-year-bar::before,
.news-year-cream .news-year-bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}

.news-year-navy .news-year-bar { background: #123246; color: #fff; }
.news-year-blue .news-year-bar { background: #e7f1f8; color: #16384c; }
.news-year-cream .news-year-bar { background: #f7f1e3; color: #16384c; }

.news-year-blue .news-year-bar::before {
  right: 0;
  width: min(680px, 72%);
  background-image: url("../images/news-mountains.svg");
  background-position: right center;
  background-size: 100% 100%;
}

.news-year-cream .news-year-bar::before {
  right: 132px;
  width: 168px;
  background-image: url("../images/news-fern.svg");
  background-position: center;
  background-size: contain;
}

.news-year-title,
.news-collapse {
  position: relative;
  z-index: 1;
}

.news-year-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.news-year-title h2 {
  margin: 0;
  color: inherit;
  font-size: 2.45rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.news-cal {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.14);
}

.news-year-blue .news-cal,
.news-year-cream .news-cal {
  background: #123246;
  color: #fff;
}

.news-year-label {
  padding-left: 16px;
  border-left: 1px solid rgba(22, 56, 76, 0.28);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.15;
}

.news-year-navy .news-year-label {
  border-left-color: rgba(255, 255, 255, 0.35);
}

.news-year-label small {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.72;
}

.news-collapse {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.news-year-blue .news-collapse,
.news-year-cream .news-collapse {
  background: #fff;
  border: 1px solid #e4e8ec;
  box-shadow: 0 2px 8px rgba(23, 57, 75, 0.06);
  color: #1d3d52;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.news-year.is-collapsed .news-grid {
  display: none;
}

.news-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e6ebf0;
  border-radius: 14px;
  background: #fff;
}

.news-file h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.news-file p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.pdf-mark {
  width: 36px;
  height: 42px;
  border-radius: 6px;
  background: #e23b3b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
}

.news-file a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d5dde4;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.news-file a:hover {
  border-color: var(--green);
  color: var(--green);
}

.news-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  align-items: stretch;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 47, 69, 0.06);
}

.news-connect > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 20px 36px 36px;
}

.news-connect h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.news-connect p {
  margin: 0;
  max-width: 34rem;
  color: #4d5d68;
}

.news-connect img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center right;
}

/* News and documents */

.year-block + .year-block {
  margin-top: 36px;
}

.issue-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.issue-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.issue-list a {
  font-weight: 700;
  color: var(--green);
}

.issue-list a:hover {
  color: var(--navy);
}

.doc-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

.doc-index a {
  display: block;
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(9, 47, 69, 0.04);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.doc-index a:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.doc-index strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.doc-index span {
  color: var(--muted);
  font-size: 0.95rem;
}

.doc-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 70vh;
}

.doc-frame iframe {
  width: 100%;
  min-height: 70vh;
  border: 0;
  display: block;
}

.report-stage {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.report-intro p {
  max-width: 36rem;
}

.doc-sheet {
  background: #e4ecee;
  border-radius: 24px;
  padding: 18px;
}

.doc-sheet iframe {
  display: block;
  width: 100%;
  aspect-ratio: 210 / 297;
  min-height: 640px;
  height: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Map */

.map-board-section {
  background: #f3efe4;
}

.map-board {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  background: transparent;
}

.map-board-main {
  overflow: hidden;
  padding: 14px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(9, 47, 69, 0.06);
}

.map-board-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 16px 16px 0 0;
}

.map-board-bar h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
}

.map-board-bar h2 i {
  margin-right: 8px;
  color: var(--gold);
}

.map-board-bar a {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.map-board-bar a:hover {
  color: var(--gold);
}

.map-guide {
  padding: 32px 28px 28px;
  background: #f7f4ec;
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(9, 47, 69, 0.06);
}

.map-guide h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 1.35rem;
}

.map-guide h2 i {
  color: var(--gold);
}

.map-guide > p {
  margin: 0 0 28px;
  color: var(--ink);
}

.map-guide ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.map-guide li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
}

.map-guide li i {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f6f1df;
  color: #c49a2c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.map-guide strong {
  display: block;
  color: var(--navy);
}

.map-guide li span {
  color: var(--muted);
  font-size: 0.95rem;
}

.map-guide .btn {
  width: 100%;
  justify-content: center;
  gap: 10px;
}

.map-frame {
  overflow: hidden;
  margin-top: 0;
  border-radius: 0 0 16px 16px;
  min-height: 520px;
  border: 0;
}

.map-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

/* Apparel */

.apparel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.apparel-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--cream);
  aspect-ratio: 1;
}

.apparel-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.price-sheet {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.price-sheet img {
  width: 100%;
  height: auto;
  display: block;
}

.order-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.order-paths article {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.order-paths h3 {
  margin-top: 0;
}

/* Papanui gallery */

.visit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.visit-row figure {
  margin: 0;
}

.visit-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.visit-row figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1199px) {
  .apparel-grid,
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-card-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .inner-section {
    padding: 64px 0;
  }

  .hero-split,
  .story-grid,
  .contact-band,
  .contact-layout,
  .order-paths,
  .doc-index,
  .report-stage,
  .map-board,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .board-card-wide {
    grid-template-columns: 1fr;
  }

  .board-card-wide .board-photo {
    height: 220px;
    min-height: 220px;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }

  .fact + .fact {
    padding-left: 22px;
    border-left: 0;
    border-top: 0;
  }

  .group-list,
  .people,
  .visit-row {
    grid-template-columns: 1fr;
  }

  .portrait,
  .portrait img {
    min-height: 260px;
  }

  .inner-hero {
    min-height: 0;
    padding: 148px 0 40px;
  }

  .inner-hero::before {
    background: linear-gradient(180deg, rgba(5, 28, 40, 0.72) 0%, rgba(5, 28, 40, 0.78) 100%);
  }
}

@media (max-width: 767px) {
  .page-inner .header-main,
  .page-inner .header-inner {
    height: auto;
    min-height: 72px;
  }

  .page-inner h1 {
    font-size: 1.85rem;
    overflow-wrap: break-word;
  }

  .apparel-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .news-connect {
    grid-template-columns: 1fr;
  }

  .news-year-title h2 {
    font-size: 2rem;
  }

  .news-year-cream .news-year-bar::before {
    right: 108px;
    width: 120px;
    opacity: 0.8;
  }

  .news-connect > div {
    padding: 28px 22px 8px;
  }

  .news-connect img {
    min-height: 180px;
  }

  .issue-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .inner-hero .lede {
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  .fact strong {
    font-size: 1.15rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* At 320px the year title and Collapse button occupy the same space. */
@media (max-width: 400px) {
  .news-year-bar {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 12px;
  }

  .news-year-title h2 {
    font-size: 2rem;
  }

  .news-collapse {
    margin-left: 62px;
  }
}

/* At 320px the download control leaves the newsletter title too narrow. */
@media (max-width: 360px) {
  .news-file {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .news-file > .pdf-mark {
    grid-row: 1 / span 2;
  }

  .news-file > div {
    grid-column: 2;
    min-width: 0;
  }

  .news-file > a {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }
}
