:root {
  --terracotta: #9e2806;
  --terracotta-deep: #6e1d0a;
  --saffron: #fcae4b;
  --saffron-soft: #fff4e6;
  --cream: #fff;
  --ink: #000;
  --muted: #000;
  --line: rgba(0, 0, 0, 0.14);
  --green: #1d7b34;
  --blue: #2b668e;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --display: "Yeseva One", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --container: 1152px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: var(--terracotta);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 130px;
  background: #fff;
  border-bottom: 1px solid rgba(158, 40, 6, 0.06);
}

.header-inner {
  min-height: 130px;
  display: flex;
  align-items: center;
  position: relative;
}

.brand {
  width: 83px;
  height: 130px;
  flex: 0 0 83px;
  display: grid;
  justify-items: start;
  align-items: center;
}

.brand img {
  width: 83px;
  height: 83px;
  max-width: 100%;
  object-fit: contain;
  transform: translateY(-1px);
}

.desktop-nav {
  min-height: 130px;
  margin-left: 0;
  display: flex;
  align-items: stretch;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-link,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--terracotta);
  font-family: var(--body);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-item.is-active > .nav-link,
.nav-item.is-active > .nav-dropdown-toggle {
  background: var(--saffron);
  color: #fff;
  outline: none;
}

.nav-dropdown-toggle::after {
  content: "⌄";
  margin-top: -0.2rem;
  font-family: var(--body);
  font-size: 0.9em;
}

.nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  min-width: 245px;
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.45rem);
  border: 1px solid var(--line);
  border-radius: 0 0 0.7rem 0.7rem;
  background: #fff;
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  color: var(--terracotta);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--saffron-soft);
  outline: none;
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--terracotta);
  font-size: 1.5rem;
  line-height: 1;
}

.language-switcher {
  position: absolute;
  top: 0.55rem;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid rgba(158, 40, 6, 0.16);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.language-button {
  min-height: 1.8rem;
  padding: 0.2rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  background: var(--terracotta);
  color: #fff;
  outline: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: 1rem;
  background: rgba(24, 18, 15, 0.34);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  width: min(100%, 360px);
  height: 100%;
  margin-left: auto;
  overflow: auto;
  padding: 1.25rem;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(1rem);
  transition: transform 180ms ease;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-head strong {
  color: var(--terracotta);
  font-family: var(--display);
  font-size: 1.25rem;
}

.mobile-close {
  border: 0;
  background: transparent;
  color: var(--terracotta);
  font-size: 1.7rem;
}

.mobile-nav {
  display: grid;
  gap: 0.2rem;
  padding-top: 1rem;
}

.mobile-nav > a,
.mobile-nav > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.65rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--terracotta);
  font-family: var(--body);
  font-weight: 600;
  text-align: left;
}

.mobile-nav > a:hover,
.mobile-nav > button:hover {
  background: var(--saffron-soft);
}

.mobile-subnav {
  display: none;
  padding-left: 0.75rem;
}

.mobile-subnav.is-open {
  display: grid;
}

.mobile-subnav a {
  padding: 0.55rem 0.65rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.home-hero {
  background: #fff;
}

.hero-spacer {
  height: 134px;
}

.hero-media {
  min-height: 720px;
  background-position: center;
  background-size: cover;
}

.home-lead {
  padding: 10.2rem 1rem 3.75rem;
  text-align: center;
}

.home-lead h1 {
  max-width: 1152px;
  margin: 0 auto 1.35rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 47px;
  font-weight: 700;
  line-height: 47px;
}

.home-lead p {
  max-width: 1000px;
  margin: 0 auto;
  color: #fff;
  font-size: 30px;
  line-height: 49.5px;
}

.highlight-pill {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 112px;
  background: linear-gradient(360deg, rgb(164, 44, 0) 0%, rgb(252, 174, 75) 100%);
  box-shadow: none;
}

.home-lead .action-link {
  display: inline-flex;
  margin-top: 10px;
  padding: 12px 24px;
  border-radius: 3px;
  background: rgb(164, 44, 0);
  color: #fff;
  font-family: var(--body);
  font-size: 30px;
  font-weight: 400;
  line-height: 30px;
  transition: transform 180ms ease, background 180ms ease;
}

.home-lead .action-link:hover {
  background: rgb(164, 44, 0);
  transform: translateY(-2px);
}

.section {
  padding: 5.5rem 0;
}

.section--cream {
  background: #fff;
}

.section-heading {
  max-width: 960px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading h2,
.page-intro h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.25;
}

.section-heading h2 {
  font-size: 45px;
  line-height: 45px;
}

.section-heading p {
  max-width: 780px;
  margin: 0 auto;
  color: #000;
  font-size: 25px;
  line-height: 1.65;
}

.notice-grid,
.card-grid,
.gallery-grid,
.landmark-grid,
.member-grid {
  display: grid;
  gap: 1.25rem;
}

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

.notice-card,
.info-card,
.member-card,
.content-card {
  height: 100%;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(77, 35, 12, 0.05);
}

.hub-card {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: 0;
}

.hub-card-link {
  display: block;
  height: 100%;
  padding: 1.55rem;
  color: inherit;
}

.hub-card--works {
  background: var(--saffron);
  border-radius: 20px;
}

.hub-card--works .hub-card-link {
  padding: 15px 5px;
}

.hub-card h3 {
  font-size: 30px;
  line-height: 1.2;
}

.hub-card p {
  font-size: 25px;
  line-height: 1.65;
}

.notice-card {
  border-top: 4px solid var(--saffron);
}

.notice-card:nth-child(2) {
  border-top-color: #e9c900;
}

.notice-card:nth-child(3) {
  border-top-color: #e36d1a;
}

.notice-card h3,
.info-card h3,
.member-card h3,
.content-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.35;
}

.notice-card p,
.info-card p,
.member-card p,
.content-card p {
  margin: 0;
  color: #000;
  font-size: 25px;
  line-height: 1.65;
}

.accordion {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.3rem;
  text-align: left;
}

.accordion-trigger::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--terracotta);
  font-family: var(--body);
  font-size: 1.5rem;
}

.accordion-item.is-open .accordion-trigger::after {
  content: "−";
}

.accordion-panel {
  display: none;
  padding: 0 2rem 1.25rem 0;
  color: var(--muted);
  font-size: 25px;
  line-height: 1.65;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.faq-media,
.contact-media {
  max-width: 1024px;
  margin: 3rem auto 0;
}

.faq-media img,
.contact-media img {
  width: 100%;
  height: auto;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-info-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.15rem 1.55rem 2.4rem;
  border: 0;
  border-radius: 0.75rem;
  background: rgb(164, 44, 0);
  color: #fff;
  text-align: center;
}

.contact-info-icon {
  width: 1.9rem;
  height: 1.9rem;
  margin-bottom: 1.2rem;
  fill: var(--saffron);
}

.contact-info-card h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.3;
  font-weight: 700;
}

.contact-info-card p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 600;
}

.contact-form-heading {
  margin-top: 4.5rem;
}

.contact-page-section .contact-page-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-page-form .form-grid {
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.contact-page-form .form-field--full {
  grid-column: auto;
}

.contact-page-form .form-field input,
.contact-page-form .form-field textarea {
  border-color: var(--terracotta);
  border-radius: 1.25rem;
  padding: 0.65rem 0.9rem;
}

.contact-page-form .button-primary {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-family: var(--body);
  font-weight: 400;
}

.contact-page-form .button-primary:hover {
  background: transparent;
  color: var(--terracotta);
  transform: none;
}

.contact-page-media {
  max-width: 1024px;
  margin: 3rem auto 0;
}

.contact-page-media img {
  width: 100%;
  height: auto;
}

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

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 12rem;
  text-align: center;
}

.info-card-icon {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  display: block;
  color: var(--terracotta);
  fill: currentColor;
}

.info-card h3,
.info-card p {
  text-align: center;
}

.info-card .text-link,
.content-card .text-link {
  margin-top: auto;
  color: var(--terracotta);
  font-family: var(--display);
}

.text-link:hover {
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

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

.landmark-card {
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(77, 35, 12, 0.08);
}

.landmark-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.landmark-card figcaption {
  padding: 1rem 1.1rem 1.2rem;
  color: var(--terracotta);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.5;
}

.page-intro {
  min-height: 258px;
  display: flex;
  align-items: center;
  padding: 50px 0;
  background: #ac2905;
  border-bottom: 0;
  text-align: center;
}

.page-intro .container {
  width: min(calc(100% - 2.5rem), 750px);
}

.page-intro h1 {
  margin: 0;
  color: #fff;
  font-size: 90px;
  font-weight: 400;
  line-height: 1.3;
}

.page-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: #000;
  font-size: 1.1rem;
}

.page-body {
  padding: 4.5rem 0 6rem;
}

.content-narrow {
  max-width: 900px;
  margin-inline: auto;
}

.content-narrow > p,
.content-narrow > .lead-copy {
  color: #000;
  font-size: 25px;
  line-height: 1.65;
}

.page-body h2 {
  margin: 2.75rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
}

.page-body h3 {
  margin: 1.5rem 0 0.45rem;
  color: var(--terracotta);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
}

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

.about-story-grid {
  display: grid;
  gap: 5.5rem;
  margin-top: 5.5rem;
}

.about-story-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.about-story-copy {
  padding: 0 0.6rem;
}

.about-story-copy h2 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
}

.about-story-copy p {
  margin: 0;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

.about-story-media {
  min-height: 25rem;
  border-radius: 1rem;
  background-color: var(--saffron-soft);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 10px 28px rgba(77, 35, 12, 0.08);
}

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

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(77, 35, 12, 0.06);
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.gallery-card-media {
  position: relative;
  display: block;
  background: #fff;
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.gallery-card-body {
  padding: 1rem 1.1rem 1.25rem;
}

.gallery-card h3 {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 1.15rem;
}

.gallery-card p {
  margin: 0;
  color: #000;
  font-size: 0.95rem;
}

.pagination-item[hidden] {
  display: none !important;
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

.pagination-summary {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.pagination-next {
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.pagination-next:hover,
.pagination-next:focus-visible {
  border-color: var(--terracotta-deep);
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}

.pagination-next:disabled {
  cursor: default;
  border-color: var(--line);
  background: #f1f1f1;
  color: #666;
  transform: none;
}

.achievements-intro {
  max-width: 960px;
  margin: 0 auto 4rem;
  padding: 0 0.75rem 2.25rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.achievements-intro h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
}

.achievements-intro p {
  max-width: 900px;
  margin: 0 auto;
  color: #000;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
}

.achievements-intro--with-media {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.achievements-intro--with-media .achievements-intro-copy {
  min-width: 0;
}

.achievements-intro--with-media p {
  margin-left: 0;
  margin-right: 0;
}

.gallery-intro-media {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
}

.gallery-intro-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-intro-media.image-carousel {
  display: block;
}

.image-carousel {
  position: relative;
  overflow: hidden;
  background: #fff;
  touch-action: pan-x pan-y;
  user-select: none;
}

.image-carousel .gallery-image {
  -webkit-user-drag: none;
  user-select: none;
}

.image-carousel-viewport {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fff;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.image-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.image-carousel-track {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.image-carousel-slide {
  display: block !important;
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  scroll-snap-align: start;
}

.image-carousel-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.image-carousel-control:hover,
.image-carousel-control:focus-visible {
  background: var(--terracotta);
}

.image-carousel-control--prev {
  left: 0.7rem;
}

.image-carousel-control--next {
  right: 0.7rem;
}

.image-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem 0.75rem;
  background: #fff;
}

.image-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  background: transparent;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.image-carousel-dot[aria-selected="true"] {
  background: var(--terracotta);
}

.image-carousel-dot:focus-visible,
.image-carousel-control:focus-visible,
.image-carousel:focus-visible {
  outline: 3px solid rgba(252, 174, 75, 0.72);
  outline-offset: 3px;
}

.source-gallery {
  display: grid;
  gap: 6.25rem;
}

.gallery-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.gallery-section--text-only,
.gallery-section--media-only {
  grid-template-columns: 1fr;
}

.gallery-section-copy {
  padding: 0 0.6rem;
}

.gallery-section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.gallery-section p {
  margin: 0 0 1rem;
  color: #000;
  font-size: 25px;
  line-height: 1.65;
}

.gallery-section-media {
  display: grid;
  gap: 1rem;
}

.gallery-section-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-section-media.image-carousel {
  display: block;
  gap: 0;
}

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

.source-section + .source-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.source-section h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.source-section p {
  margin: 0 0 1rem;
  color: #000;
  font-size: 25px;
  line-height: 1.65;
}

.section--source {
  padding: 130px 0;
}

.source-article {
  max-width: 1152px;
}

.source-article--admin .source-section {
  text-align: center;
}

.source-article--admin .source-section p {
  max-width: 1100px;
  margin: 0 auto 1rem;
}

.article-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.article-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.member-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3.5rem;
}

.member-card {
  padding: 0;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.member-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.member-card-body {
  padding: 1rem 1.15rem 1.2rem;
}

.member-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-detail {
  padding-left: 1rem;
  border-left: 3px solid var(--saffron);
}

.contact-detail strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--terracotta);
  font-family: var(--display);
  font-size: 1.05rem;
}

.contact-detail span {
  color: #000;
  font-size: 25px;
  line-height: 1.65;
}

.contact-form {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--cream);
}

.form-copy {
  margin-bottom: 1.4rem;
}

.form-copy h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
}

.form-copy p {
  margin: 0;
  color: #000;
}

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

.form-field {
  display: grid;
  gap: 0.35rem;
}

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

.form-field label {
  color: var(--terracotta);
  font-family: var(--display);
  font-size: 1rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(158, 40, 6, 0.22);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.3);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--terracotta);
  border-radius: 0.55rem;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--display);
  transition: background 180ms ease, transform 180ms ease;
}

.button-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
}

.form-status {
  min-height: 1.5rem;
  color: var(--green);
  font-size: 0.9rem;
}

.form-field.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.65;
}

.callout {
  margin: 2rem 0;
  padding: 1.2rem 1.35rem;
  border-left: 5px solid var(--saffron);
  border-radius: 0.75rem;
  background: var(--saffron-soft);
  color: var(--muted);
}

.site-footer {
  padding: 4.5rem 0 2.25rem;
  background: #111518;
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--saffron);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.88rem;
  text-align: center;
}

.loading-state {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.3rem;
}

@media (max-width: 1100px) {
  .nav-link,
  .nav-dropdown-toggle {
    padding-inline: 9px;
    font-size: 15px;
  }

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

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

@media (max-width: 820px) {
  .site-header,
  .header-inner {
    min-height: 96px;
  }

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .brand {
    width: 92px;
    height: 96px;
    flex-basis: 92px;
    justify-items: center;
  }

  .brand img {
    width: 92px;
    height: 92px;
    max-width: 100%;
    transform: none;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .language-switcher {
    position: static;
    margin-left: auto;
    margin-right: 0.65rem;
    box-shadow: none;
  }

  .language-button {
    min-height: 1.65rem;
    padding-inline: 0.45rem;
    font-size: 0.7rem;
  }

  .hero-spacer {
    height: 33px;
  }

  .hero-media {
    min-height: 182px;
  }

  .home-lead {
    padding: 3.25rem 1rem 3rem;
  }

  .home-lead h1 {
    max-width: 360px;
    font-size: 1.8rem;
    line-height: 1.35;
  }

  .home-lead p {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .section-heading h2 {
    font-size: 32px;
    line-height: 1.4;
  }

  .section {
    padding: 4rem 0;
  }

  .notice-grid,
  .landmark-grid,
  .gallery-grid,
  .member-grid,
  .card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-intro {
    min-height: 190px;
    padding: 35px 0;
  }

  .page-intro h1 {
    font-size: 42px;
    line-height: 1.25;
  }

  .section--source {
    padding: 4rem 0;
  }

  .source-section p {
    font-size: 1.1rem;
    line-height: 1.65;
  }

  .section-heading p,
  .notice-card p,
  .info-card p,
  .member-card p,
  .content-card p,
  .accordion-panel,
  .content-narrow > p,
  .content-narrow > .lead-copy,
  .contact-detail span {
    font-size: 1.1rem;
    line-height: 1.65;
  }

  .landmark-card figcaption {
    font-size: 1.25rem;
  }

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

  .source-gallery {
    gap: 4rem;
  }

  .about-story-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-story-media {
    min-height: 20rem;
  }

  .achievements-intro--with-media {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .achievements-intro--with-media p {
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-section h2 {
    font-size: 1.7rem;
  }

  .gallery-section p {
    font-size: 1.1rem;
    line-height: 1.65;
  }
}

@media (max-width: 540px) {
  .notice-grid,
  .card-grid,
  .landmark-grid,
  .gallery-grid,
  .member-grid,
  .card-grid--three,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-section .contact-page-form {
    padding: 0;
  }

  .form-field--full {
    grid-column: auto;
  }

  .notice-card,
  .info-card,
  .member-card,
  .content-card,
  .contact-form {
    padding: 1.15rem;
  }

  .notice-card h3,
  .info-card h3,
  .member-card h3,
  .content-card h3 {
    font-size: 1.45rem;
  }

  .page-intro h1 {
    font-size: 32px;
  }

  .article-images {
    grid-template-columns: 1fr;
  }

  .about-story-grid {
    gap: 3.5rem;
    margin-top: 3.5rem;
  }

  .about-story-media {
    min-height: 16rem;
  }

  .gallery-section--media-only .gallery-section-media {
    grid-template-columns: 1fr;
  }

  .accordion-trigger {
    font-size: 1.12rem;
  }

  .pagination-controls {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .pagination-next {
    width: 100%;
  }

  .page-body {
    padding: 3.25rem 0 4rem;
  }
}

/* Confirmed first card-and-grid layout. It is the default; ?layout=source can switch to the source-style layout. */
html[data-layout="first"] .section {
  padding: 4rem 0;
}

html[data-layout="first"] .section-heading {
  margin-bottom: 1.75rem;
}

html[data-layout="first"] .section-heading h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.2;
}

html[data-layout="first"] .section-heading p,
html[data-layout="first"] .notice-card p,
html[data-layout="first"] .info-card p,
html[data-layout="first"] .member-card p,
html[data-layout="first"] .content-card p,
html[data-layout="first"] .accordion-panel,
html[data-layout="first"] .content-narrow > p,
html[data-layout="first"] .content-narrow > .lead-copy,
html[data-layout="first"] .contact-detail span {
  font-size: 1rem;
  line-height: 1.65;
}

html[data-layout="first"] .notice-card,
html[data-layout="first"] .info-card,
html[data-layout="first"] .member-card,
html[data-layout="first"] .content-card {
  padding: 1.3rem;
  border-radius: 0.85rem;
}

html[data-layout="first"] .notice-card h3,
html[data-layout="first"] .info-card h3,
html[data-layout="first"] .member-card h3,
html[data-layout="first"] .content-card h3 {
  font-size: 1.35rem;
  line-height: 1.3;
}

html[data-layout="first"] .home-lead {
  padding: 5rem 1rem 3.5rem;
}

html[data-layout="first"] .home-lead h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.2;
}

html[data-layout="first"] .home-lead p,
html[data-layout="first"] .home-lead .action-link {
  font-size: 1.15rem;
  line-height: 1.55;
}

html[data-layout="first"] .home-lead .action-link {
  padding: 0.75rem 1.15rem;
}

html[data-layout="first"] .page-intro {
  min-height: 210px;
  padding: 3rem 0;
}

html[data-layout="first"] .page-intro h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.15;
}

html[data-layout="first"] .first-version-gallery,
html[data-layout="first"] .first-version-article {
  padding: 4.5rem 0 6rem;
}

html[data-layout="first"] .gallery-card {
  border-radius: 0.85rem;
}

html[data-layout="first"] .achievements-intro {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
}

html[data-layout="first"] .achievements-intro p {
  font-size: 0.95rem;
  line-height: 1.65;
}

html[data-layout="first"] .gallery-card h3 {
  font-size: 1.15rem;
  line-height: 1.35;
}

html[data-layout="first"] .gallery-card p,
html[data-layout="first"] .first-version-article-section p {
  font-size: 0.95rem;
  line-height: 1.65;
}

html[data-layout="first"] .first-version-article-section + .first-version-article-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

html[data-layout="first"] .first-version-article-section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.3;
}

html[data-layout="first"] .first-version-article--admin .first-version-article-section {
  text-align: center;
}

html[data-layout="first"] .first-version-article--admin .first-version-article-section p {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
}

html[data-layout="first"] .first-version-article--monthly .monthly-intro {
  margin: 0;
}

html[data-layout="first"] .first-version-article--monthly .monthly-notice-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

html[data-layout="first"] .first-version-article--monthly .monthly-notice-section h2 {
  margin-bottom: 0.85rem;
}

html[data-layout="first"] .first-version-article--monthly .monthly-notice-section p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

html[data-layout="first"] .notices-page-section .notices-intro {
  margin: 0;
}

html[data-layout="first"] .notices-page-section .notices-list {
  margin-top: 3rem;
}

html[data-layout="first"] .notices-page-section .notice-entry {
  padding: 2rem 0;
  text-align: center;
}

html[data-layout="first"] .notices-page-section .notice-entry + .notice-entry {
  border-top: 1px solid var(--line);
}

html[data-layout="first"] .notices-page-section .notice-entry h3 {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
}

html[data-layout="first"] .notices-page-section .notice-entry p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
}

html[data-layout="first"] .hub-card--projects {
  min-height: 18rem;
  border: 0;
  border-radius: 1rem;
  background: var(--saffron);
}

html[data-layout="first"] .hub-card--projects .hub-card-link {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  padding: 1.5rem 1.15rem;
  text-align: center;
}

html[data-layout="first"] .hub-card--projects .info-card-icon {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  color: var(--ink);
  fill: currentColor;
}

html[data-layout="first"] .hub-card--projects h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

html[data-layout="first"] .hub-card--projects p {
  margin: 0;
  max-width: 15rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

html[data-layout="first"] .works-overview-section .hub-intro {
  max-width: none;
}

html[data-layout="first"] .works-overview-section .hub-card--works {
  min-height: 12.45rem;
  border-radius: 1.25rem;
  background: var(--saffron);
}

html[data-layout="first"] .works-overview-section .hub-card--works .hub-card-link {
  display: flex;
  min-height: 12.45rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.95rem 0.35rem;
  text-align: center;
}

html[data-layout="first"] .works-overview-section .hub-card--works .info-card-icon {
  width: 3.125rem;
  height: 3.125rem;
  flex: 0 0 3.125rem;
  color: var(--ink);
  fill: currentColor;
}

html[data-layout="first"] .works-overview-section .hub-card--works h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.875rem;
  line-height: 1.2;
}

html[data-layout="first"] .works-overview-section .hub-card--works p {
  margin: 0;
  max-width: 18rem;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.65;
}

html[data-layout="first"] .first-version-article--rti .content-narrow {
  max-width: 1152px;
}

html[data-layout="first"] .first-version-article--rti .first-version-article-section {
  text-align: center;
}

html[data-layout="first"] .first-version-article--rti .rti-intro {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

html[data-layout="first"] .first-version-article--rti .accordion {
  max-width: none;
  margin-top: 3rem;
  text-align: left;
}

html[data-layout="first"] .first-version-article--rti .accordion-trigger {
  font-size: 1.15rem;
  font-weight: 700;
}

html[data-layout="first"] .first-version-article--rti .accordion-panel {
  padding-right: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: left;
}

html[data-layout="first"] .first-version-schemes {
  padding: 4.5rem 0 6rem;
}

html[data-layout="first"] .first-version-schemes .schemes-intro {
  margin: 0 0 3.5rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

html[data-layout="first"] .first-version-schemes .schemes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.75rem;
  align-items: start;
}

html[data-layout="first"] .first-version-schemes .schemes-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

html[data-layout="first"] .first-version-schemes .schemes-card img {
  display: block;
  width: min(100%, 22.3rem);
  height: auto;
  object-fit: contain;
}

html[data-layout="first"] .first-version-schemes .schemes-card h2 {
  margin: 1.5rem 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

html[data-layout="first"] .first-version-schemes .schemes-card p {
  max-width: 22.3rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
}

html[data-layout="first"] .first-version-schemes .schemes-contact-link {
  margin-top: 1.25rem;
}

html[data-layout="first"] .first-version-government {
  padding: 4.5rem 0 6rem;
}

html[data-layout="first"] .first-version-government .government-intro {
  margin: 0 0 3.5rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

html[data-layout="first"] .first-version-government .government-image {
  display: block;
  width: min(100%, 22.3rem);
  height: auto;
  object-fit: contain;
}

html[data-layout="first"] .first-version-government .government-divider {
  width: 100%;
  margin: 2.75rem 0 2rem;
  border-top: 1px solid var(--line);
}

html[data-layout="first"] .first-version-government .government-entry {
  width: min(100%, 22.3rem);
}

html[data-layout="first"] .first-version-government .government-entry h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

html[data-layout="first"] .first-version-government .government-entry p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
}

html[data-layout="first"] .first-version-government .government-contact-link {
  margin-top: 1.25rem;
}

html[data-layout="first"] .first-version-facilities {
  padding: 4.5rem 0 6rem;
}

html[data-layout="first"] .first-version-facilities .facilities-intro {
  margin: 0 0 3.5rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

html[data-layout="first"] .first-version-facilities .facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.75rem 2.5rem;
  align-items: start;
}

html[data-layout="first"] .first-version-facilities .facilities-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

html[data-layout="first"] .first-version-facilities .facilities-card img {
  display: block;
  width: min(100%, 22.3rem);
  height: auto;
  object-fit: contain;
}

html[data-layout="first"] .first-version-facilities .facilities-card h2 {
  margin: 1.5rem 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

html[data-layout="first"] .first-version-facilities .facilities-card p {
  max-width: 22.3rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
}

html[data-layout="first"] .first-version-facilities .facilities-contact-link {
  margin-top: 1.25rem;
}

html[data-layout="first"] .first-version-facilities .facilities-card--no-media {
  min-height: 20rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(158, 40, 6, 0.12);
  border-radius: 0.85rem;
  background: rgba(248, 181, 78, 0.14);
}

@media (max-width: 820px) {
  html[data-layout="first"] .home-lead {
    padding: 3.25rem 1rem 3rem;
  }

  html[data-layout="first"] .home-lead h1 {
    font-size: 1.8rem;
    line-height: 1.35;
  }

  html[data-layout="first"] .home-lead p,
  html[data-layout="first"] .home-lead .action-link {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  html[data-layout="first"] .section-heading h2 {
    font-size: 2rem;
  }

  html[data-layout="first"] .page-intro h1 {
    font-size: 3rem;
  }

  html[data-layout="first"] .first-version-schemes .schemes-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  html[data-layout="first"] .first-version-facilities .facilities-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 540px) {
  html[data-layout="first"] .page-intro h1 {
    font-size: 2rem;
  }

  html[data-layout="first"] .gallery-card h3,
  html[data-layout="first"] .achievements-intro h2,
  html[data-layout="first"] .first-version-article-section h2 {
    font-size: 1.45rem;
  }

  html[data-layout="first"] .gallery-card p,
  html[data-layout="first"] .first-version-article-section p {
    font-size: 1rem;
  }
}

/* Content hierarchy and restrained colour treatment applied consistently across every page. */
.home-lead h1,
.section-heading h2,
.page-intro h1,
.notice-card h3,
.info-card h3,
.member-card h3,
.content-card h3,
.hub-card h3,
.gallery-card h3,
.achievements-intro h2,
.gallery-section h2,
.source-section h2,
.first-version-article-section h2,
.accordion-trigger,
.form-copy h3,
.contact-detail strong,
.landmark-card figcaption {
  font-weight: 700;
}

.home-lead p,
.section-heading p,
.notice-card p,
.info-card p,
.member-card p,
.content-card p,
.hub-card p,
.gallery-card p,
.achievements-intro p,
.gallery-section p,
.source-section p,
.first-version-article-section p,
.accordion-panel,
.content-narrow > p,
.content-narrow > .lead-copy,
.contact-detail span,
.form-copy p,
.footer-grid p {
  font-weight: 600;
}

.notice-card,
.info-card,
.content-card,
.hub-card:not(.hub-card--works),
.gallery-card:not(:has(img)) {
  background: var(--saffron-soft);
  border-color: rgba(158, 40, 6, 0.18);
}

.hub-card--works {
  background: var(--saffron);
}

/* Match the source page's three-column works overview while keeping the approved first-layout styling. */
html[data-layout="first"] .works-overview-section .hub-card--works {
  padding: 0;
}

html[data-layout="first"] .works-overview-section .card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 357px));
  justify-content: start;
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  html[data-layout="first"] .works-overview-section .card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  html[data-layout="first"] .works-overview-section .card-grid--three {
    grid-template-columns: 1fr;
  }
}

/* Keep grid items shrinkable at narrow widths, including intrinsic-size content cards. */
.pagination-item,
.gallery-card,
.member-card {
  min-width: 0;
}

/* Translated navigation labels are longer than the Marathi source labels. Keep the approved desktop header compact without changing the page layout. */
html[data-language="en"] .nav-link,
html[data-language="en"] .nav-dropdown-toggle,
html[data-language="hi"] .nav-link,
html[data-language="hi"] .nav-dropdown-toggle {
  padding-inline: 6px;
  font-size: 15px;
}
