:root {
  --bg: #f3ead9;
  --bg-deep: #e6d8bf;
  --panel: rgba(255,255,255,0.72);
  --ink: #2a211d;
  --muted: #6f6257;
  --accent: #b51f25;
  --accent-dark: #7b1318;
  --line: #cfb99a;
  --gold: #b59055;
  --shadow: 0 20px 45px rgba(40, 20, 10, 0.16);
  --radius: 26px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at top left, rgba(181,31,37,0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(181,144,85,0.10), transparent 26%),
    linear-gradient(180deg, #f8f1e4 0%, var(--bg) 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(248,241,228,0.84);
  border-bottom: 1px solid rgba(123,19,24,0.12);
}
.topbar-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: clamp(170px, 28vw, 360px);
  height: auto;
}
.brand small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav a:hover,
.nav a.active {
  background: rgba(181,31,37,0.09);
  color: var(--accent-dark);
}
.hero {
  position: relative;
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 62px 0 44px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(181,31,37,0.1);
  color: var(--accent-dark);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 18px 0 0 var(--accent), 36px 0 0 var(--accent);
  margin-right: 30px;
}
h1, h2, h3 {
  line-height: 1.18;
  margin: 0;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  margin-top: 18px;
  letter-spacing: 0.01em;
}
.lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(180deg, #c52a31, var(--accent));
  color: white;
  box-shadow: 0 12px 28px rgba(181,31,37,0.26);
}
.button.secondary {
  background: rgba(255,255,255,0.75);
  color: var(--ink);
  border: 1px solid rgba(111,98,87,0.18);
}
.hero-visual {
  position: relative;
}
.hero-card {
  background: linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.28));
  border-radius: min(34px, 5vw);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  position: relative;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card.hero-equipment {
  background:
    radial-gradient(circle at top, rgba(181,144,85,0.18), transparent 32%),
    linear-gradient(180deg, #221916 0%, #120d0c 100%);
}
.hero-card.hero-equipment img {
  object-fit: contain;
  padding: 28px;
}
.film-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(35,26,22,0.78);
  color: white;
  padding: 12px 14px;
  border-radius: 16px;
  max-width: min(78%, 300px);
  font-size: 0.96rem;
  backdrop-filter: blur(4px);
}
.film-tag strong { display: block; font-size: 1.05rem; }
.page-header {
  padding: 42px 0 26px;
}
.page-header h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.page-header p {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 68ch;
}
.section {
  padding: 42px 0;
}
.section.large { padding: 66px 0; }
.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}
.section-title h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}
.section-title p {
  max-width: 64ch;
  color: var(--muted);
  margin: 0;
}
.panel {
  background: var(--panel);
  border: 1px solid rgba(111,98,87,0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filmstrip {
  position: relative;
  overflow: hidden;
  padding-top: 78px;
  padding-bottom: 50px;
}
.filmstrip > h2:first-child,
.filmstrip > h3:first-child {
  margin-top: 0;
}
.filmstrip > .ribbon:first-child {
  margin-top: 2px;
}
.filmstrip > .ribbon:first-child + h2,
.filmstrip > .ribbon:first-child + h3 {
  margin-top: 18px;
}
.filmstrip::before,
.filmstrip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  background:
    repeating-linear-gradient(
      90deg,
      #8B4513 0 18px,
      transparent 18px 30px,
      #8B4513 30px 48px,
      transparent 48px 60px
    );
  opacity: 0.9;
}
.filmstrip::before { top: 0; }
.filmstrip::after { bottom: 0; }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature-card,
.info-card,
.tour-card,
.exhibit-card,
.contact-card,
.support-card {
  padding: 24px;
}
.feature-card h3,
.info-card h3,
.tour-card h3,
.exhibit-card h3,
.contact-card h3,
.support-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.muted { color: var(--muted); }
.media-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #1a1412;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-tall { aspect-ratio: 4 / 5; }
.media-wide { aspect-ratio: 16 / 9; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.stat {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(111,98,87,0.12);
}
.stat strong {
  display: block;
  font-size: 1.55rem;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 6px;
}
.exhibit-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}
.exhibit-card h3,
.exhibit-card p,
.exhibit-card .ribbon {
  position: relative;
  z-index: 1;
}
.card-image {
  height: 240px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 20px;
  margin-bottom: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(181,144,85,0.22), transparent 35%),
    linear-gradient(180deg, #221916 0%, #120d0c 100%);
}
.card-image img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ribbon {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(181,31,37,0.1);
  color: var(--accent-dark);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.timeline-panel {
  overflow: hidden;
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.timeline-step {
  padding: 24px;
  background: rgba(255,255,255,0.66);
}
.timeline-step + .timeline-step {
  border-left: 1px solid rgba(111,98,87,0.12);
}
.timeline-step .year {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.info-list {
  display: grid;
  gap: 14px;
}
.info-list .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(111,98,87,0.12);
}
.info-list .row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list .label {
  color: var(--muted);
  font-weight: 700;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery .large-left { grid-column: span 7; }
.gallery .stack-right { grid-column: span 5; display: grid; gap: 16px; }
.gallery .stack-right > * { min-height: 0; }
.note {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,0.72);
  border-radius: 16px;
}
.footer {
  padding: 28px 0 48px;
  color: var(--muted);
}
.footer-inner {
  border-top: 1px solid rgba(111,98,87,0.16);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.quick-links a {
  text-decoration: none;
  color: var(--muted);
}
.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(111,98,87,0.12);
  font-size: 0.92rem;
}
.dual-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
}
.map-card {
  display: grid;
  gap: 18px;
}
.map-embed {
  border-radius: 24px;
  overflow: hidden;
  background: #ddd0b7;
  border: 1px solid rgba(111,98,87,0.16);
  box-shadow: var(--shadow);
  min-height: 360px;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}
.map-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.support-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(111,98,87,0.12);
  border-radius: 22px;
}
.support-card strong {
  font-size: 1.42rem;
  display: block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
}
.emphasis {
  color: var(--accent-dark);
  font-weight: 700;
}
@media (max-width: 1080px) {
  .hero-grid,
  .dual-panel,
  .grid-2,
  .gallery,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .gallery .large-left,
  .gallery .stack-right { grid-column: auto; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .topbar-inner {
    min-height: 72px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
  }
  .brand {
    width: 100%;
    justify-content: center;
  }
  .nav {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }
  .nav a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .container { width: min(var(--content), calc(100% - 24px)); }
  .hero-grid { padding-top: 38px; }
  .section,
  .section.large { padding: 28px 0; }
  .grid-3,
  .grid-4,
  .stat-row,
  .support-grid,
  .timeline-steps { grid-template-columns: 1fr; }
  .timeline-step + .timeline-step {
    border-left: 0;
    border-top: 1px solid rgba(111,98,87,0.12);
  }
  .info-list .row { grid-template-columns: 1fr; gap: 8px; }
  .feature-card,
  .info-card,
  .tour-card,
  .exhibit-card,
  .contact-card,
  .support-card { padding: 20px; }
  .card-image { height: 220px; }
  .hero-card.hero-equipment img { padding: 20px; }
}

.button-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.support-grid-detailed {
  margin-top: 12px;
}
.tier-head {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.tier-blue .tier-head { background: #1546a6; }
.tier-gold .tier-head { background: #b17b10; }
.tier-silver .tier-head { background: #7b7f89; }
.tier-green .tier-head { background: #188243; }
.benefit-list {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}
.benefit-list li + li { margin-top: 6px; }
.supporter-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  margin-top: 22px;
  align-items: start;
}
.supporter-info-card,
.form-card {
  padding: 26px;
}
.compact-list {
  gap: 0;
}
.compact-list .row {
  padding: 12px 0;
}
.small-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.supporter-message {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(181,31,37,0.08);
}
.supporter-message strong {
  display: block;
  margin-bottom: 6px;
}
.supporter-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.form-grid {
  display: grid;
  gap: 14px;
}
.form-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field {
  display: grid;
  gap: 8px;
}
.field span {
  font-weight: 700;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(111,98,87,0.18);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  font: inherit;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(181,31,37,0.18);
  border-color: rgba(181,31,37,0.28);
}
.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.check-field input {
  width: 18px;
  height: 18px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
@media (max-width: 1080px) {
  .supporter-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .form-grid.two-col {
    grid-template-columns: 1fr;
  }
  .supporter-info-card,
  .form-card {
    padding: 20px;
  }
}


.zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.zone-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 26px 48px 26px 84px;
  border-radius: 28px;
  background: #f3ead9;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(111,98,87,0.16);
}
.zone-card::before,
.zone-card::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 18px;
  background: radial-gradient(circle, #8B4513 0 6px, transparent 6.3px) center top / 18px 28px repeat-y;
}
.zone-card::before { left: 16px; }
.zone-card::after { right: 16px; }
.zone-photo {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #241a16 0%, #120d0c 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.zone-photo img {
  width: 100%;
  height: 100%;
}
.zone-contain img {
  object-fit: contain;
  padding: 14px;
}
.zone-cover img {
  object-fit: cover;
}
.zone-copy-box {
  align-self: center;
  background: #d1bc97;
  border-radius: 22px;
  padding: 24px 28px 24px 30px;
  min-height: calc(100% - 8px);
}
.zone-copy-box h3 {
  font-size: 1.34rem;
  margin-bottom: 10px;
}
.plain-list {
  padding-left: 1.2em;
  margin: 0;
}
.plain-list li + li { margin-top: 8px; }
@media (max-width: 980px) {
  .zone-grid {
    grid-template-columns: 1fr;
  }
  .zone-card {
    grid-template-columns: 1fr;
    padding: 64px 28px 64px 28px;
  }
  .zone-card::before,
  .zone-card::after {
    top: 12px;
    bottom: auto;
    left: 18px;
    right: 18px;
    width: auto;
    height: 18px;
    background: radial-gradient(circle, #8B4513 0 6px, transparent 6.3px) left center / 28px 18px repeat-x;
  }
  .zone-card::after {
    top: auto;
    bottom: 12px;
  }
}
@media (max-width: 640px) {
  .zone-photo {
    aspect-ratio: 5 / 6;
  }
  .zone-copy-box {
    padding: 22px 24px;
  }
}


.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--accent-dark);
  background: rgba(181,31,37,0.08);
  border: 1px solid rgba(123,19,24,0.14);
  font-weight: 700;
}
.social-links a:hover {
  background: rgba(181,31,37,0.14);
}
.social-links-large a {
  min-height: 44px;
  padding: 0 18px;
}



.social-pill {
  gap: 10px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.social-links-home .social-pill {
  min-height: 46px;
  padding: 0 18px;
}

.visit-note strong {
  color: var(--accent-dark);
}
.visit-note {
  margin-top: 18px;
}

.hero-home .hero-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  padding-top: 28px;
}
.hero-home .hero-visual {
  order: -1;
}
.hero-home .hero-card.hero-equipment {
  aspect-ratio: 16 / 7.8;
  padding: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.28));
}
.hero-home .hero-card.hero-equipment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  display: block;
}
.hero-home .hero-catchcopy {
  left: 28px;
  bottom: 28px;
  right: auto;
  max-width: min(72%, 760px);
  background: rgba(35, 26, 22, 0.68);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  padding: 16px 20px;
  border-radius: 18px;
}
.hero-home .hero-catchcopy strong {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.35;
  font-weight: 700;
}
.hero-home .hero-copy {
  max-width: 980px;
}

/* Keep these cards horizontal longer so they don't become narrow vertical columns */
.stat-row-top {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  align-items: stretch;
}
.stat-row-top .stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}
.stat-row-top .stat strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.25;
}
.stat-row-top .stat span {
  display: block;
  margin-top: 6px;
  line-height: 1.6;
  font-size: 0.97rem;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .stat-row-top {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
@media (max-width: 900px) {
  .hero-home .hero-card.hero-equipment {
    aspect-ratio: 4 / 3;
  }
  .hero-home .hero-catchcopy {
    max-width: calc(100% - 40px);
  }
}
@media (max-width: 640px) {
  .stat-row-top {
    grid-template-columns: 1fr;
  }
  .hero-home .hero-catchcopy {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 14px 16px;
  }
}


/* v24: hero cleanup and catchcopy style */
.hero-home .hero-catchcopy,
.hero-home .hero-catchcopy strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* v24: concept stats should stay readable without clipping */
.stat-row-top {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px;
}
.stat-row-top .stat {
  min-width: 0;
  overflow: visible;
}
.stat-row-top .stat strong {
  font-size: 1.22rem;
}
.stat-row-top .stat span {
  display: block;
  margin-top: 6px;
  line-height: 1.65;
  font-size: 0.96rem;
  word-break: normal;
  overflow-wrap: anywhere;
}
.stat-row-top .stat-zone {
  grid-column: span 2;
}

/* v24: notice + facebook section */
.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: start;
}
.notice-board,
.social-feed-card {
  padding: 26px;
}
.notice-board h2,
.social-feed-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}
.news-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.news-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(111,98,87,0.12);
}
.news-item h3 {
  font-size: 1.1rem;
  margin: 2px 0 8px;
}
.news-item p {
  margin: 0;
  color: var(--muted);
}
.news-meta {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(181,31,37,0.1);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.news-item-important {
  background: linear-gradient(180deg, rgba(181,31,37,0.08), rgba(255,255,255,0.82));
}
.facebook-embed {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(111,98,87,0.12);
  min-height: 560px;
}
.facebook-embed iframe {
  display: block;
  width: 100%;
  min-height: 560px;
}
.notice-social-links {
  margin-top: 16px;
}
@media (max-width: 1180px) {
  .notice-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .stat-row-top {
    grid-template-columns: 1fr !important;
  }
  .stat-row-top .stat-zone {
    grid-column: auto;
  }
  .notice-board,
  .social-feed-card {
    padding: 20px;
  }
}


/* v25: facebook-only updates section */
.social-feed-card-wide {
  padding: 26px;
}
.social-feed-card-wide h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}
.social-feed-card-wide .facebook-embed {
  max-width: 820px;
}
