:root {
  --ink: #18202b;
  --muted: #657180;
  --line: #e7ebf0;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --brand: #c8242b;
  --brand-dark: #9f171f;
  --accent: #0e6f7e;
  --shadow: 0 18px 50px rgba(24, 32, 43, 0.11);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 235, 240, 0.9);
  backdrop-filter: blur(16px);
}

.nav-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: min(343px, 55vw);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #2b3440;
  font-size: 15px;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brand);
  background: #fff2f3;
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.home-hero {
  isolation: isolate;
}

.hero.hero-compact {
  min-height: 420px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-rotator img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  animation: heroMove 14s ease-in-out infinite;
  animation-play-state: paused;
}

.hero-rotator.is-ready img {
  transition: opacity 1.2s ease;
}

.hero-rotator img.is-active {
  opacity: 1;
  animation-play-state: running;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 23, 36, 0.82) 0%, rgba(11, 23, 36, 0.58) 42%, rgba(11, 23, 36, 0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0 96px;
  animation: heroCopyIn 0.9s ease both;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffd8db;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.7vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-index {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 42px;
  z-index: 3;
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-transform: uppercase;
}

.hero-index span {
  position: relative;
  padding-left: 30px;
}

.hero-index span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 22px;
  background: #fff;
  animation: scrollCue 1.8s ease-in-out infinite;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section {
  padding: 84px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-desc {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
}

.link-more {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  min-height: 130px;
  padding: 26px;
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(24, 32, 43, 0.08);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 32px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card,
.news-card,
.contact-card,
.job-card,
.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.feature-card {
  position: relative;
  padding: 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 44px;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.feature-card:hover {
  border-color: rgba(200, 36, 43, 0.32);
  box-shadow: 0 18px 45px rgba(24, 32, 43, 0.1);
  transform: translateY(-6px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card h3,
.value-card h3,
.job-card h3,
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.feature-card p,
.value-card p,
.job-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.media-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  box-shadow: 0 18px 40px rgba(24, 32, 43, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-card:hover img {
  transform: scale(1.04);
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(24, 32, 43, 0.16);
}

.media-card .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}

.caption h3 {
  margin: 0;
  font-size: 21px;
}

.caption small {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffb8bd;
  font-weight: 700;
}

.caption p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.consult-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.consult-tags span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #e8edf4;
  font-size: 14px;
}

.project-showcase {
  grid-auto-flow: dense;
}

.featured-project {
  grid-column: span 2;
}

.consult-band {
  color: #fff;
  background: #18202b;
}

.consult-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.consult-band .section-title {
  color: #fff;
}

.consult-band .section-desc {
  color: #c4ccd6;
}

.news-lite {
  padding-top: 70px;
}

.news-card {
  display: flex;
  min-height: 156px;
  padding: 22px;
  gap: 18px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.news-card.has-thumb {
  min-height: 190px;
  padding: 0;
  align-items: stretch;
}

.news-card:hover {
  border-color: rgba(200, 36, 43, 0.32);
  box-shadow: 0 16px 42px rgba(24, 32, 43, 0.09);
  transform: translateY(-4px);
}

.news-date {
  flex: 0 0 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #fff2f3;
  color: var(--brand);
  text-align: center;
  font-weight: 700;
}

.news-date small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.news-thumb {
  flex: 0 0 190px;
  min-height: 190px;
  overflow: hidden;
  background: var(--soft);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.04);
}

.news-card-copy {
  display: block;
  padding: 26px 24px;
  align-self: center;
}

.news-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.prose {
  color: var(--muted);
}

.prose h2,
.prose h3 {
  color: var(--ink);
  line-height: 1.3;
}

.prose h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0;
  padding-left: 20px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.tab-button.active,
.tab-button:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff2f3;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.case-card:hover {
  border-color: rgba(200, 36, 43, 0.32);
  box-shadow: 0 18px 44px rgba(24, 32, 43, 0.1);
  transform: translateY(-5px);
}

.case-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.rich-case-card {
  position: relative;
}

.case-open {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.rich-case-card img {
  height: 285px;
}

.case-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 32, 43, 0.72);
  font-size: 12px;
}

.case-card-body {
  display: block;
  padding: 18px;
}

.case-card-body strong {
  display: block;
  font-size: 20px;
  line-height: 1.35;
}

.case-card-body small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.case-tags em {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--brand);
  background: #fff2f3;
  font-size: 12px;
  font-style: normal;
}

.case-card div {
  padding: 18px;
}

.case-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 28px;
}

.gallery-modal.open {
  display: block;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.78);
  backdrop-filter: blur(10px);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100vh - 56px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: #10151d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.gallery-main {
  min-height: 520px;
  display: grid;
  place-items: center;
  background: #080c12;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 210px);
  object-fit: contain;
}

.gallery-info {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 26px;
  color: #fff;
  background: #151c26;
}

.gallery-info .section-kicker {
  color: #ffb8bd;
}

.gallery-info h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}

.gallery-info p {
  margin: 10px 0 0;
  color: #aeb8c5;
}

.gallery-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-thumbs {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  background: #0d1219;
}

.gallery-thumbs button {
  flex: 0 0 92px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  opacity: 0.58;
}

.gallery-thumbs button.active {
  border-color: var(--brand);
  opacity: 1;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.contact-qr {
  margin: 0 26px 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-qr p {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}

.contact-qr img {
  width: 128px;
  height: 128px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  color: var(--muted);
}

.contact-row dt {
  color: var(--ink);
  font-weight: 700;
}

.contact-row dd {
  margin: 0;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.site-footer {
  padding: 42px 0;
  color: #d6dde6;
  background: #18202b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: end;
}

.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer-text {
  margin: 0;
  color: #b9c2ce;
}

.footer-meta {
  text-align: right;
  color: #aeb8c5;
}

.footer-meta a {
  color: #d6dde6;
}

.article {
  width: min(calc(100% - 40px), 900px);
  margin: 64px auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.article h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.article-meta {
  margin: 0 0 30px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.article p {
  color: var(--muted);
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 30px;
}

.article-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.article-gallery figure:first-child,
.article-gallery figure:nth-child(3) {
  grid-column: 1 / -1;
}

.article-gallery img {
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: cover;
}

.empty-state {
  padding: 110px 0;
  text-align: center;
}

.honor-list-modern {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.honor-list-modern li + li {
  margin-top: 8px;
}

.empty-state h1 {
  margin: 0;
  font-size: clamp(42px, 10vw, 92px);
  color: var(--brand);
}

.empty-state p {
  margin: 10px auto 28px;
  max-width: 520px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroMove {
  0% {
    transform: scale(1.04) translateX(0);
  }

  50% {
    transform: scale(1.1) translateX(-1.2%);
  }

  100% {
    transform: scale(1.04) translateX(0);
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes scrollCue {
  0% {
    transform: translateY(-24px);
  }

  100% {
    transform: translateY(58px);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 10px;
  }

  .hero,
  .hero.hero-compact {
    min-height: 520px;
  }

  .hero::after {
    background: rgba(11, 23, 36, 0.68);
  }

  .hero-index {
    display: none;
  }

  .stats,
  .grid-3,
  .grid-4,
  .grid-2,
  .case-grid,
  .split,
  .split.reverse,
  .footer-grid,
  .consult-inner {
    grid-template-columns: 1fr;
  }

  .featured-project {
    grid-column: auto;
  }

  .gallery-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .gallery-info {
    grid-column: 1;
    grid-row: 2;
    padding: 22px;
  }

  .gallery-main {
    min-height: 380px;
  }

  .gallery-main img {
    max-height: 56vh;
  }

  .section-head {
    display: block;
  }

  .link-more {
    display: inline-block;
    margin-top: 16px;
  }

  .split-media img {
    height: 320px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-bar {
    min-height: 68px;
  }

  .nav-menu {
    top: 68px;
  }

  .hero,
  .hero.hero-compact {
    min-height: 480px;
  }

  .hero-inner {
    padding: 64px 0;
  }

  .section {
    padding: 58px 0;
  }

  .stats {
    gap: 0;
  }

  .stat {
    min-height: 112px;
    padding: 22px;
  }

  .news-card {
    display: block;
  }

  .news-card.has-thumb {
    min-height: 0;
  }

  .news-thumb {
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .news-card-copy {
    padding: 20px;
  }

  .gallery-modal {
    padding: 12px;
  }

  .gallery-dialog {
    max-height: calc(100vh - 24px);
  }

  .gallery-controls {
    grid-template-columns: 1fr;
  }

  .news-date {
    margin-bottom: 14px;
  }

  .article {
    margin: 36px auto;
    padding: 28px 20px;
  }

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

  .article-gallery figure:first-child,
  .article-gallery figure:nth-child(3) {
    grid-column: auto;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
