:root {
  --bg: #f4efe5;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: #fffaf2;
  --surface-dark: #10213b;
  --surface-dark-soft: #183154;
  --text: #1f2937;
  --text-soft: #526071;
  --text-muted: #6b7280;
  --primary: #0f4c81;
  --primary-strong: #0b3a63;
  --primary-soft: #d7e6f2;
  --accent: #bc8a3f;
  --accent-soft: #f0dfc0;
  --border: rgba(16, 33, 59, 0.12);
  --border-strong: rgba(16, 33, 59, 0.2);
  --shadow-soft: 0 18px 44px rgba(16, 33, 59, 0.08);
  --shadow-strong: 0 26px 60px rgba(16, 33, 59, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(188, 138, 63, 0.12), transparent 34%),
    radial-gradient(circle at right 20%, rgba(15, 76, 129, 0.12), transparent 30%),
    linear-gradient(180deg, #f8f4ec 0%, #f4efe5 48%, #f8f6f1 100%);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main {
  max-width: 100%;
  overflow-x: clip;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 3px solid rgba(15, 76, 129, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--surface-dark);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.section-shell {
  width: var(--shell);
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding-top: 12px;
  transition: transform 0.24s ease, background 0.24s ease;
}

.site-header.is-scrolled {
  transform: translateY(0);
}

.navbar {
  width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  background: rgba(255, 251, 245, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 20px 44px rgba(16, 33, 59, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(15, 76, 129, 0.22);
}

.logo-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-copy strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.logo-copy small {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-soft);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: '';
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(6px);
}

.nav-toggle.is-active span {
  background: transparent;
}

.nav-toggle.is-active span::before {
  transform: rotate(45deg);
}

.nav-toggle.is-active span::after {
  transform: rotate(-45deg);
}

.btn-primary,
.button-outline,
.news-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 76, 129, 0.22);
}

.btn-primary {
  padding: 15px 24px;
}

.button-outline,
.news-back-button {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 76, 129, 0.16);
  color: var(--primary);
}

.button-outline {
  padding: 14px 22px;
}

.button-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn-primary:hover,
.button-outline:hover,
.news-back-button:hover,
.btn-primary:focus-visible,
.button-outline:focus-visible,
.news-back-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 88px 0;
}

.section-muted {
  position: relative;
}

.section-muted::before {
  content: '';
  position: absolute;
  inset: 28px 0;
  background: rgba(255, 255, 255, 0.46);
  border-block: 1px solid rgba(16, 33, 59, 0.08);
  z-index: -1;
}

.section-accent {
  padding-bottom: 110px;
}

.hero {
  position: relative;
  padding: 108px 0 24px;
  min-height: 100svh;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 19, 38, 0.84), rgba(12, 35, 63, 0.62)),
    url('/src/assets/images/hero_bg.webp') center center / cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.hero-copy {
  padding: 0 24px;
  color: #f7f6f2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-soft);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-header h2,
.about-copy h3,
.contact-panel h2,
.contact-form h3,
.site-footer h3,
.site-footer h4,
.news-detail-title {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 18px auto;
  font-size: clamp(2.9rem, 5.6vw, 5.4rem);
  max-width: 14ch;
}

.hero p {
  max-width: 44rem;
  margin: 0 auto;
  color: rgba(247, 246, 242, 0.86);
  font-size: clamp(1.02rem, 1.9vw, 1.14rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.hero-actions .btn-primary {
  min-width: 210px;
}

.page-header {
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
}

.page-header-inner {
  width: auto;
  max-width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.about-copy {
  padding: 8px 0;
}

.about-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.about-copy p {
  color: var(--text-soft);
  margin: 0 0 14px;
  font-size: 1.03rem;
}

.about-copy a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.about-visual img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

.schedule-grid,
.news-list {
  display: grid;
  gap: 18px;
}

.schedule-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.schedule-toolbar {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.schedule-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(188, 138, 63, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.84);
}

.schedule-tabs button,
.week-today {
  width: 100%;
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--text-soft);
  background: transparent;
  font-weight: 800;
  transition:
    background-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease,
    transform 200ms ease;
}

.schedule-tabs button.active,
.schedule-tabs button:hover,
.schedule-tabs button:focus-visible,
.week-today:hover,
.week-today:focus-visible {
  color: #fff;
  background: var(--surface-dark);
  box-shadow: 0 10px 24px rgba(16, 33, 59, 0.14);
}

.schedule-tabs button:hover,
.schedule-tabs button:focus-visible,
.week-today:hover,
.week-today:focus-visible {
  transform: translateY(-1px);
}

.public-week-controls {
  width: 100%;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px minmax(136px, 0.42fr);
  align-items: center;
  gap: 8px;
  overflow: hidden;
  transform: translateY(-8px);
  transition:
    max-height 320ms ease,
    opacity 240ms ease,
    transform 260ms ease,
    visibility 0ms linear 320ms;
}

.public-week-controls.is-visible {
  max-height: 96px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow: visible;
  transform: translateY(0);
  transition:
    max-height 320ms ease,
    opacity 260ms ease 60ms,
    transform 300ms ease,
    visibility 0ms;
}

.public-week-controls .icon-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(188, 138, 63, 0.24);
  border-radius: 999px;
  color: var(--surface-dark);
  background: rgba(255, 252, 247, 0.94);
  transition:
    background-color 240ms ease,
    color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 200ms ease;
}

.public-week-controls .icon-btn:hover,
.public-week-controls .icon-btn:focus-visible {
  border-color: rgba(16, 33, 59, 0.22);
  color: #fff;
  background: var(--surface-dark);
  box-shadow: 0 10px 24px rgba(16, 33, 59, 0.14);
  transform: translateY(-1px);
}

.public-week-controls span {
  min-width: 0;
  color: var(--surface-dark);
  font-weight: 800;
  text-align: center;
}

.section-state {
  margin: 0;
  padding: 26px 22px;
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.84);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.section-state-error {
  color: #991b1b;
}

.ugcc-loader {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ugcc-loader-compact {
  min-height: 42px;
  justify-content: flex-start;
}

.ugcc-loader-mark {
  width: 76px;
  height: 76px;
  display: inline-block;
  border: 7px solid rgba(16, 33, 59, 0.12);
  border-top-color: var(--accent);
  border-right-color: rgba(188, 138, 63, 0.42);
  border-radius: 999px;
  animation: ugcc-loader-spin 0.95s linear infinite;
}

.ugcc-loader-compact .ugcc-loader-mark {
  width: 34px;
  height: 34px;
  border-width: 4px;
}

.ugcc-loader-mark i {
  display: none;
}

@keyframes ugcc-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ugcc-loader-mark {
    animation: none;
  }
}

.schedule-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.schedule-card::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--card-color, var(--primary));
}

.schedule-card.is-featured {
  border-color: rgba(188, 138, 63, 0.34);
  background:
    linear-gradient(135deg, rgba(188, 138, 63, 0.14), transparent 44%),
    rgba(255, 252, 247, 0.98);
  box-shadow: 0 18px 42px rgba(80, 57, 22, 0.14);
}

.schedule-card.is-featured::before {
  content: '';
  position: absolute;
  inset: 12px 12px auto auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(188, 138, 63, 0.14);
}

.schedule-card.has-red-line::after {
  width: 5px;
}

.schedule-card.is-past {
  opacity: 0.68;
}

.schedule-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-card-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--card-color, var(--primary));
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.schedule-card-time {
  color: var(--card-color, var(--primary));
  font-weight: 800;
}

.schedule-card-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-size: 1.35rem;
  color: #132033;
}

.schedule-card-title i {
  color: var(--card-color, var(--primary));
  margin-top: 4px;
}

.schedule-card-date,
.schedule-card-desc {
  margin: 0;
  color: var(--text-soft);
}

.schedule-card-date {
  font-weight: 700;
}

.schedule-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--card-color, var(--primary));
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(16, 33, 59, 0.14);
}

.schedule-card-link:hover,
.schedule-card-link:focus-visible {
  transform: translateY(-1px);
}

.news-list {
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(255, 252, 247, 0.94);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(15, 76, 129, 0.16);
}

.news-card-image,
.news-card-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-placeholder {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.18), rgba(188, 138, 63, 0.18));
  display: grid;
  place-items: center;
  color: var(--text-soft);
  padding: 20px;
  text-align: center;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.news-card-date {
  color: var(--text-muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.news-card-title {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.25;
}

.news-card-subtitle,
.news-card-excerpt {
  margin: 0;
  color: var(--text-soft);
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
}

.content-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.content-more[hidden] {
  display: none;
}

.content-collapse {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 20;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(188, 138, 63, 0.24);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 252, 247, 0.94);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.content-collapse:hover,
.content-collapse:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.content-collapse[hidden] {
  display: none;
}

#news-collapse {
  bottom: clamp(70px, 8vw, 88px);
}

.news-card-pinned {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(188, 138, 63, 0.14);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-extra {
  margin-top: clamp(28px, 5vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.related-extra h2 {
  margin: 0 0 14px;
  color: var(--surface-dark);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.related-extra-list {
  display: grid;
  gap: 10px;
}

.related-extra-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--surface-dark);
  background: rgba(255, 252, 247, 0.94);
  font-weight: 800;
}

.related-extra-card i {
  color: var(--accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 26px;
  align-items: stretch;
  min-width: 0;
}

.contact-panel,
.contact-form,
.news-detail-article {
  min-width: 0;
  background: rgba(255, 251, 245, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.contact-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 24px;
  min-width: 0;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-list i {
  flex: 0 0 auto;
  color: var(--accent);
}

.contact-form {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.form-intro {
  text-align: center;
}

.form-intro h3 {
  margin: 0;
  font-size: 2rem;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form .field:last-of-type {
  flex: 1 1 auto;
  min-height: 0;
  grid-template-rows: auto minmax(180px, 1fr);
}

.field span {
  font-weight: 700;
  color: var(--surface-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(16, 33, 59, 0.14);
  background: rgba(255, 255, 255, 0.84);
  padding: 15px 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form textarea {
  min-height: 180px;
  height: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(15, 76, 129, 0.4);
  box-shadow: 0 0 0 6px rgba(15, 76, 129, 0.08);
  background: #fff;
  outline: none;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.form-trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.turnstile-box {
  width: 100%;
  max-width: 100%;
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.turnstile-box > *,
.turnstile-box iframe {
  max-width: 100%;
}

.turnstile-box[hidden] {
  display: none;
}

.form-status {
  min-height: 24px;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: #166534;
}

.form-status[data-state="error"] {
  color: #b91c1c;
}

.form-status[data-state="loading"] {
  color: var(--primary);
}

.form-status .ugcc-loader {
  min-height: 24px;
}

.map-block {
  margin-top: auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.map-block iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}

.hero-copy .section-eyebrow,
.page-header .section-eyebrow,
.contact-panel > .section-eyebrow {
  margin-inline: auto;
}

.page-header .section-eyebrow,
.contact-panel > .section-eyebrow {
  background: transparent;
  color: #111111;
}

.page-header .section-eyebrow {
  padding: 0;
  border-radius: 0;
  letter-spacing: -0.02em;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.contact-panel > .section-eyebrow {
  display: block;
  padding: 0;
  border-radius: 0;
  letter-spacing: -0.02em;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.04;
  text-transform: none;
}

.contact-form .btn-primary {
  width: 100%;
}

.site-footer {
  background: linear-gradient(180deg, #10213b 0%, #0c1a31 100%);
  color: #ecf0f6;
  margin-top: 20px;
}

.footer-grid {
  padding: 46px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 24px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
}

.site-footer h3 {
  font-size: 2rem;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  color: rgba(236, 240, 246, 0.82);
  margin: 0 0 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.footer-meta {
  width: var(--shell);
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
  text-align: left;
}

.footer-meta p {
  margin: 0;
  color: rgba(236, 240, 246, 0.66);
}

.footer-meta span {
  display: inline;
}

.footer-meta a {
  display: inline-flex;
  align-items: baseline;
}

.footer-credit-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.36em;
  margin-left: 0.18em;
  color: rgba(255, 255, 255, 0.96);
}

.footer-credit-mark {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9em;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-credit-script {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28em;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 0.92;
  transform: translateY(0.04em);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.news-detail {
  padding: 118px 0 86px;
}

.news-detail-container {
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
}

.news-back-button {
  margin-bottom: 20px;
  padding: 12px 18px;
  font-weight: 800;
}

.news-detail-article {
  padding: 42px;
}

.news-detail-date {
  display: block;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.news-detail-title {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  color: #10213b;
}

.news-detail-subtitle {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.news-detail-hero {
  margin-bottom: 22px;
}

.news-hero-inner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 2;
  background: rgba(16, 33, 59, 0.08);
  box-shadow: var(--shadow-strong);
}

.news-hero-figure,
.news-hero-figure img {
  width: 100%;
  height: 100%;
  margin: 0;
}

.news-hero-figure img {
  object-fit: cover;
  cursor: zoom-in;
}

.news-hero-nav,
.news-hero-expand,
.news-lightbox-close,
.news-lightbox-nav {
  border: none;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 26, 49, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.news-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
}

.news-hero-nav.prev {
  left: 16px;
}

.news-hero-nav.next {
  right: 16px;
}

.news-hero-nav span {
  font-size: 30px;
  line-height: 1;
}

.news-hero-nav:hover,
.news-hero-expand:hover,
.news-lightbox-close:hover,
.news-lightbox-nav:hover,
.news-hero-nav:focus-visible,
.news-hero-expand:focus-visible,
.news-lightbox-close:focus-visible,
.news-lightbox-nav:focus-visible {
  background: rgba(15, 76, 129, 0.94);
  transform: translateY(-50%) scale(1.04);
}

.news-hero-nav[disabled],
.news-lightbox-nav[disabled] {
  opacity: 0.26;
  cursor: default;
}

.news-hero-expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
}

.news-detail-gallery {
  margin-bottom: 18px;
}

.news-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.news-thumb {
  padding: 0;
  width: 112px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-thumb:hover,
.news-thumb:focus-visible,
.news-thumb.active {
  border-color: rgba(15, 76, 129, 0.36);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.news-lightbox[hidden] {
  display: none;
}

.news-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 26, 49, 0.88);
  padding: 24px;
}

.news-lightbox-inner {
  position: relative;
  width: min(100%, 980px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-lightbox-frame {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-lightbox-frame img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.news-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 46px;
  height: 46px;
  font-size: 24px;
}

.news-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 32px;
  transform: translateY(-50%);
}

.news-lightbox-nav.prev {
  left: -72px;
}

.news-lightbox-nav.next {
  right: -72px;
}

.news-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.news-lightbox-open {
  overflow: hidden;
}

.news-detail-content {
  margin-top: 28px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.75;
}

.news-detail-content p,
.news-detail-content div {
  margin: 0 0 18px;
}

.news-detail-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.news-detail-content strong {
  font-weight: 800;
}

.news-detail-content em {
  font-style: italic;
}

.news-detail-content ul,
.news-detail-content ol {
  margin: 0;
  padding-left: 1.35rem;
}

.news-detail-video {
  margin-top: 34px;
}

.news-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.news-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.news-video-file {
  width: 100%;
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow-soft);
}

.news-detail-error {
  margin: 0;
  color: #991b1b;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 24px;
  }

  .news-lightbox-nav.prev {
    left: 10px;
  }

  .news-lightbox-nav.next {
    right: 10px;
  }
}

@media (max-width: 860px) {
  .navbar {
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: min(320px, calc(100vw - 40px));
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 251, 245, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
  }

  .button-outline {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 20px;
    min-height: 100svh;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .page-header-inner,
  .contact-panel,
  .contact-form,
  .news-detail-article {
    padding: 24px;
    border-radius: 24px;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-detail {
    padding-top: 106px;
  }

  .news-thumb {
    width: 86px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: min(100vw - 24px, 1180px);
  }

  .schedule-toolbar,
  .schedule-tabs,
  .public-week-controls {
    width: 100%;
  }

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

  .schedule-tabs button {
    width: 100%;
    justify-content: center;
  }

  .public-week-controls {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .public-week-controls.is-visible {
    max-height: 126px;
  }

  .public-week-controls .icon-btn {
    width: 42px;
    height: 42px;
  }

  .public-week-controls span {
    min-width: 0;
  }

  .public-week-controls .week-today {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header {
    padding-top: 8px;
  }

  .navbar {
    padding: 12px 14px;
  }

  .logo-copy small {
    display: none;
  }

  .btn-primary,
  .button-outline {
    width: 100%;
  }

  .page-header-inner,
  .contact-panel,
  .contact-form,
  .news-detail-article {
    padding: 20px;
  }

  .contact-panel,
  .contact-form {
    overflow: hidden;
  }

  .contact-list a,
  .contact-list span {
    align-items: flex-start;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .contact-list i {
    margin-top: 0.25em;
  }

  .schedule-card,
  .news-card-body {
    padding: 20px;
  }

  .news-lightbox {
    padding: 14px;
  }

  .news-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .news-lightbox-counter {
    bottom: -26px;
    font-size: 0.84rem;
  }

  .footer-meta {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
