:root {
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --background: #f3efe7;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffdfa;
  --surface-dark: #6a1f26;
  --text: #2a2826;
  --muted: #6d655e;
  --primary: #8d232c;
  --primary-strong: #611b21;
  --secondary: #f0b42f;
  --secondary-soft: #f5deb0;
  --line: rgba(97, 27, 33, 0.1);
  --shadow: 0 22px 64px rgba(64, 31, 21, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --site-width: min(1240px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(141, 35, 44, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(240, 180, 47, 0.09), transparent 24%),
    radial-gradient(circle at bottom right, rgba(240, 180, 47, 0.1), transparent 26%),
    var(--background);
  color: var(--text);
  font-family: var(--font-body), sans-serif;
}

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

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

code {
  font-family: "SFMono-Regular", ui-monospace, monospace;
}

.page {
  overflow-x: clip;
}

.site-shell {
  width: var(--site-width);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 18px;
  border-radius: 18px;
  background: var(--secondary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-strong);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-links a {
  font-weight: 700;
}

.topbar a,
.topbar span {
  color: inherit;
}

.site-header-shell {
  padding-top: 2px;
}

.navbar {
  display: grid;
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px 22px 18px 20px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 244, 238, 0.94));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand h1,
.hero-copy h2,
.section-heading h2,
.highlight-card h3,
.schedule-card h3,
.news-card h3,
.radio-copy h3,
.contact-banner h3,
.footer h3,
.admin-card h1 {
  font-family: var(--font-display), serif;
}

.brand h1 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.08;
  color: var(--primary-strong);
}

.brand-eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 28ch;
}

.brand-mark {
  width: 148px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 148px;
  filter: drop-shadow(0 10px 18px rgba(97, 27, 33, 0.06));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 12px;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.93rem;
  color: var(--primary-strong);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--secondary);
  transition: transform 180ms ease;
}

.nav-link:hover {
  background: rgba(141, 35, 44, 0.06);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.hero {
  padding: 44px 0 32px;
}

.page-hero {
  padding: 30px 0 8px;
}

.page-hero-shell {
  padding: 0;
}

.page-hero-copy {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 100%;
  padding: 6px 0 14px 28px;
}

.page-hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(141, 35, 44, 0.84), rgba(240, 180, 47, 0.82));
  box-shadow: 0 10px 24px rgba(141, 35, 44, 0.12);
}

.page-hero-body {
  display: grid;
  gap: 14px;
  max-width: 100%;
  width: 100%;
}

.page-hero h1 {
  margin: 10px 0 0;
  font-family: var(--font-display), serif;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  line-height: 1.08;
  max-width: none;
  width: 100%;
  text-wrap: balance;
}

.page-hero p {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.72;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  padding: 26px 0;
}

.hero-chip,
.chip,
.section-heading span,
.highlight-index,
.schedule-card span,
.news-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(141, 35, 44, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h2 {
  margin: 18px 0 20px;
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero-copy p,
.section-heading p,
.quote-panel p,
.highlight-card p,
.schedule-card p,
.news-card p,
.radio-copy p,
.radio-note,
.contact-banner p,
.footer p,
.admin-card p {
  color: var(--muted);
  line-height: 1.7;
}

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

.hero-carousel-section {
  padding-top: 34px;
}

.hero-banner {
  position: relative;
  height: 620px;
  overflow: hidden;
  border-radius: 42px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
}

.hero-banner-image {
  object-fit: cover;
}

.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(73, 26, 30, 0.74) 0%, rgba(73, 26, 30, 0.48) 34%, rgba(73, 26, 30, 0.16) 60%, rgba(73, 26, 30, 0.12) 100%),
    linear-gradient(180deg, rgba(53, 25, 24, 0.08) 0%, rgba(53, 25, 24, 0.16) 100%);
}

.hero-banner-overlay {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 16px;
  width: min(100% - 72px, 760px);
}

.hero-banner-overlay h2,
.hero-banner-overlay p {
  margin: 0;
  max-width: 100%;
  text-wrap: balance;
}

.hero-banner-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-font-display h2,
.hero-font-display p {
  font-family: var(--font-display), serif;
}

.hero-font-serif h2,
.hero-font-serif p {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-font-sans h2,
.hero-font-sans p {
  font-family: var(--font-body), sans-serif;
}

.hero-title-sm h2 {
  font-size: clamp(2rem, 2.8vw, 2.9rem);
  line-height: 1;
}

.hero-title-md h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.45rem);
  line-height: 0.98;
}

.hero-title-lg h2 {
  font-size: clamp(2.55rem, 4vw, 3.95rem);
  line-height: 0.96;
}

.hero-title-xl h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.35rem);
  line-height: 0.94;
}

.hero-text-sm p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 56ch;
}

.hero-text-md p {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 58ch;
}

.hero-text-lg p {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 60ch;
}

.hero-overlay-top-left {
  top: 48px;
  left: 48px;
}

.hero-overlay-top-center {
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-overlay-center-left {
  top: 50%;
  left: 48px;
  transform: translateY(-50%);
}

.hero-overlay-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-overlay-bottom-left {
  left: 48px;
  bottom: 56px;
}

.hero-overlay-bottom-center {
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  text-align: center;
}

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

.hero-banner-controls {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-banner-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(97, 27, 33, 0.28);
  color: white;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.hero-banner-arrow:hover {
  background: rgba(97, 27, 33, 0.42);
  transform: translateY(-1px);
}

.hero-banner-dots {
  position: absolute;
  left: 48px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-banner-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.hero-banner-dot.is-active {
  width: 34px;
  background: white;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button-primary {
  border: 1px solid rgba(97, 27, 33, 0.16);
  background: linear-gradient(135deg, #f0b42f, #e1a11a);
  color: var(--primary-strong);
  box-shadow: 0 16px 34px rgba(141, 35, 44, 0.14);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-strong);
}

.button-danger {
  border: 1px solid rgba(97, 27, 33, 0.14);
  background: linear-gradient(135deg, #8d232c, #741d25);
  color: #fff8f1;
  box-shadow: 0 16px 34px rgba(97, 27, 33, 0.24);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  box-shadow: 0 18px 36px rgba(141, 35, 44, 0.18);
}

.button-secondary:hover {
  background: rgba(240, 180, 47, 0.12);
  border-color: rgba(97, 27, 33, 0.18);
}

.button-danger:hover {
  box-shadow: 0 18px 36px rgba(97, 27, 33, 0.28);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.hero-facts div {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.56);
}

.hero-facts dt {
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.hero-facts dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo {
  inset: 0 0 140px 60px;
}

.hero-outline {
  right: 60px;
  bottom: 0;
  width: 80%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(249, 243, 231, 0.95));
}

.cover-image {
  object-fit: cover;
}

.outline-image {
  width: 100%;
  height: auto;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.quick-links-band {
  padding-top: 18px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.quick-link strong {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--primary-strong);
}

.quick-link:hover {
  transform: translateY(-2px);
  background: rgba(240, 180, 47, 0.14);
  box-shadow: 0 18px 36px rgba(97, 27, 33, 0.12);
}

.shortcut-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(97, 27, 33, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.shortcut-card:hover,
.portal-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(97, 27, 33, 0.14);
}

.shortcut-card strong {
  font-family: var(--font-display), serif;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--primary-strong);
}

.portal-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 26px;
}

.visual-pilgrimage {
  display: grid;
  gap: 24px;
  padding: 72px 0 20px;
}

.welcome-section {
  padding: 78px 0 24px;
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.welcome-copy {
  display: grid;
  gap: 24px;
}

.welcome-copy .section-heading {
  max-width: 720px;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.welcome-text {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.8;
}

.welcome-panel {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.welcome-panel-image {
  position: relative;
  min-height: 320px;
}

.welcome-panel-body {
  display: grid;
  gap: 20px;
  padding: 28px;
}

.welcome-panel-body h3,
.editorial-card h3,
.ministry-showcase-quote h3 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: 1.55rem;
  color: var(--primary-strong);
}

.info-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.info-list div {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(97, 27, 33, 0.1);
}

.info-list dt {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.info-list dd {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.editorial-band {
  padding: 76px 0;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.editorial-card {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
}

.editorial-card-accent {
  background: linear-gradient(180deg, rgba(240, 180, 47, 0.96), rgba(229, 168, 36, 0.98));
}

.editorial-card-accent h3,
.editorial-card-accent p,
.editorial-card-accent .feature-link strong,
.editorial-card-accent .feature-link p {
  color: var(--primary-strong);
}

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

.editorial-card-heading a {
  color: var(--primary-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.chip-light {
  background: rgba(255, 255, 255, 0.34);
  color: var(--primary-strong);
}

.editorial-list,
.feature-stack {
  display: grid;
  gap: 14px;
}

.editorial-list-item,
.feature-link {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.editorial-card-accent .feature-link {
  background: rgba(255, 255, 255, 0.28);
}

.editorial-list-item:hover,
.feature-link:hover {
  transform: translateY(-2px);
}

.editorial-list-item span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.editorial-list-item strong,
.feature-link strong {
  font-family: var(--font-display), serif;
  font-size: 1.05rem;
  color: var(--primary-strong);
}

.editorial-list-item p,
.feature-link p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.liturgy-section {
  padding: 82px 0 28px;
}

.liturgy-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: start;
}

.liturgy-copy {
  display: grid;
  gap: 24px;
}

.liturgy-copy .section-heading {
  max-width: 560px;
}

.liturgy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.schedule-grid-emphasis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.ministry-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  padding: 78px 0 40px;
  align-items: center;
}

.ministry-showcase-copy {
  display: grid;
  gap: 22px;
}

.ministry-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ministry-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(97, 27, 33, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-strong);
  font-weight: 700;
}

.ministry-showcase-visual {
  display: grid;
  gap: 16px;
}

.ministry-visual-main {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.ministry-visual-quote {
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
}

.ministry-visual-quote p {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
}

.portal-link-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(97, 27, 33, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.portal-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(97, 27, 33, 0.14);
}

.portal-link-card h3 {
  margin: 18px 0 10px;
  font-family: var(--font-display), serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.portal-link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.highlight-card,
.quote-panel,
.schedule-card,
.news-card,
.roadmap-card,
.radio-panel,
.contact-banner,
.admin-card {
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.highlight-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.highlight-card h3 {
  margin: 18px 0 10px;
  font-size: 1.65rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 20px;
  padding: 72px 0;
}

.story-panel {
  padding-right: 24px;
}

.section-heading h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.04;
  max-width: 24ch;
  text-wrap: balance;
}

.section-display {
  margin: 12px 0 10px;
  font-family: var(--font-display), serif;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.quote-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.quote-panel p {
  margin: 0;
  font-size: 1.06rem;
}

.content-band {
  padding: 54px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
}

.schedule-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.schedule-card,
.news-card {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
}

.schedule-card h3,
.news-card h3 {
  margin: 12px 0 6px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.schedule-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 196px;
}

.schedule-card p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.schedule-card strong {
  color: var(--primary-strong);
  font-size: 1rem;
  line-height: 1.45;
}

.newsroom {
  padding: 56px 0;
}

.listing-section {
  padding: 22px 0 60px;
}

.section-heading-compact {
  margin-bottom: 22px;
  max-width: 980px;
}

.news-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.listing-grid-centered {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
}

.schedule-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.news-card-rich {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
}

.news-cover,
.article-cover {
  min-height: 240px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.event-meta,
.article-meta,
.admin-path {
  color: var(--primary);
  font-size: 0.9rem;
}

.article-layout {
  display: grid;
  gap: 28px;
  padding: 18px 0 84px;
}

.article-layout-detail {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.detail-surface {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
}

.detail-aside {
  display: grid;
  gap: 18px;
}

.detail-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
}

.detail-card h3 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: 1.8rem;
  line-height: 1.08;
  color: var(--primary-strong);
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-facts {
  display: grid;
  gap: 16px;
}

.detail-facts div {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(97, 27, 33, 0.1);
}

.detail-facts dt {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.detail-facts dd {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.article-body {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.article-body p {
  margin: 0;
  color: var(--text);
  line-height: 1.85;
}

.rich-content {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.rich-paragraph,
.rich-list li,
.rich-quote {
  color: var(--text);
  line-height: 1.85;
}

.rich-heading {
  margin: 8px 0 0;
  font-family: var(--font-display), serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.rich-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.rich-quote {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--secondary);
  background: rgba(141, 35, 44, 0.06);
  border-radius: 0 18px 18px 0;
}

.rich-content a {
  color: var(--primary);
  text-decoration: underline;
}

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

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

.gallery-album-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 26px;
}

.gallery-album-copy {
  margin-bottom: 0;
}

.gallery-share-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 238, 0.98));
  box-shadow: var(--shadow);
}

.gallery-share-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.gallery-share-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-card {
  margin: 0;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-image {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  object-fit: cover;
}

.gallery-zoom-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
  position: relative;
}

.gallery-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(97, 27, 33, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-zoom-trigger:hover .gallery-zoom-hint,
.gallery-zoom-trigger:focus-visible .gallery-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card figcaption {
  padding-top: 14px;
}

.gallery-caption {
  padding-top: 14px;
}

.gallery-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-lightbox {
  width: min(1120px, calc(100vw - 32px));
  max-width: 1120px;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(38, 17, 20, 0.78);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-shell {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(245, 240, 232, 0.98));
  box-shadow: 0 28px 80px rgba(24, 11, 14, 0.3);
}

.gallery-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gallery-lightbox-topbar strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
}

.gallery-lightbox-close {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(97, 27, 33, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-strong);
  font-weight: 700;
  cursor: pointer;
}

.gallery-lightbox-stage-wrap {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 16px;
}

.gallery-lightbox-stage {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(97, 27, 33, 0.06);
  overflow: hidden;
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  transform-origin: center;
  transition: transform 160ms ease;
}

.gallery-lightbox-nav {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(97, 27, 33, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-strong);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.gallery-lightbox-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.empty-state {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.empty-state h3 {
  margin: 0 0 10px;
  font-family: var(--font-display), serif;
  font-size: 2rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.planning-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
}

.community-list,
.roadmap-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.community-list li,
.roadmap-card li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.6;
}

.community-list li::before,
.roadmap-card li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
}

.roadmap-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(240, 180, 47, 0.96), rgba(229, 168, 36, 0.92));
  color: var(--primary-strong);
}

.roadmap-card li {
  color: var(--primary-strong);
}

.chip-dark {
  background: rgba(240, 180, 47, 0.16);
  color: #fff3d2;
}

.radio-section {
  padding: 44px 0 28px;
}

.radio-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(240, 180, 47, 0.96), rgba(229, 168, 36, 0.94)),
    var(--surface-dark);
  color: var(--primary-strong);
}

.radio-copy p,
.radio-note {
  color: color-mix(in srgb, var(--primary-strong) 82%, white);
}

.radio-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.radio-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.08;
  max-width: none;
  width: 100%;
  text-wrap: balance;
}

.radio-copy p {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: 1rem;
  line-height: 1.72;
}

.radio-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.34);
}

.audio-player {
  width: 100%;
}

.radio-fallback {
  display: grid;
  gap: 14px;
}

.radio-note-soft {
  font-size: 0.95rem;
  opacity: 0.92;
}

.radio-support-band {
  padding-top: 10px;
}

.radio-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 18px;
}

.radio-support-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
}

.radio-support-card-primary {
  background: linear-gradient(180deg, rgba(240, 180, 47, 0.96), rgba(229, 168, 36, 0.98));
}

.radio-support-card h3 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: 1.55rem;
  line-height: 1.08;
  color: var(--primary-strong);
}

.radio-support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.radio-support-card-primary h3,
.radio-support-card-primary p,
.radio-support-card-primary .radio-schedule-item strong,
.radio-support-card-primary .radio-schedule-item p {
  color: var(--primary-strong);
}

.radio-support-card-primary .editorial-card-heading a,
.radio-support-card-primary .chip {
  color: var(--primary-strong);
}

.radio-support-card-primary .chip {
  background: rgba(255, 255, 255, 0.34);
}

.radio-schedule-list {
  display: grid;
  gap: 12px;
}

.radio-schedule-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
}

.radio-support-card:not(.radio-support-card-primary) .radio-schedule-item {
  background: rgba(141, 35, 44, 0.06);
}

.radio-schedule-item strong {
  font-size: 1rem;
  line-height: 1.3;
}

.radio-schedule-item p {
  font-size: 0.96rem;
  line-height: 1.6;
}

.contact-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  margin-bottom: 76px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
}

.contact-banner > div:first-child {
  display: grid;
  gap: 14px;
}

.contact-banner h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.08;
  max-width: none;
  width: 100%;
  text-wrap: balance;
}

.contact-data {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 18px;
}

.contact-data p {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: 1rem;
  line-height: 1.65;
}

.footer {
  padding: 18px 0 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  padding: 34px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(240, 180, 47, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 238, 0.96));
  box-shadow: var(--shadow);
}

.footer-kicker {
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.footer h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.08;
  max-width: 16ch;
}

.footer-title {
  letter-spacing: -0.02em;
  text-shadow: 0 10px 24px rgba(97, 27, 33, 0.08);
  text-wrap: balance;
}

.footer-title-accent {
  background: linear-gradient(135deg, #8d232c, #611b21 55%, #f0b42f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(141, 35, 44, 0.14));
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand-mark {
  display: grid;
  place-items: center;
  width: 140px;
  height: 80px;
  flex: 0 0 140px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 238, 0.94));
  box-shadow: 0 18px 34px rgba(97, 27, 33, 0.08);
}

.footer-brand-image {
  width: 116px;
  height: 60px;
  object-fit: contain;
}

.footer-brand-copy {
  display: grid;
  gap: 8px;
}

.footer-text {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.75;
}

.footer-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(97, 27, 33, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-strong);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.footer-pill:hover {
  transform: translateY(-1px);
  background: rgba(240, 180, 47, 0.14);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-content: start;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.footer-column p,
.footer-column a {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  word-break: break-word;
  font-size: 0.98rem;
}

.footer-column a {
  color: var(--primary-strong);
  font-weight: 600;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(97, 27, 33, 0.1);
  background: rgba(240, 180, 47, 0.14);
  color: var(--primary-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(97, 27, 33, 0.08);
  grid-column: 1 / -1;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.footer-bottom a {
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-label {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-placeholder {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  background:
    radial-gradient(circle at top left, rgba(141, 35, 44, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(240, 180, 47, 0.18), transparent 24%),
    #f5efe3;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 180, 47, 0.96), rgba(229, 168, 36, 0.98));
  color: var(--primary-strong);
  position: sticky;
  top: 0;
  min-height: 100vh;
}

.admin-sidebar-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.admin-sidebar h1 {
  margin: 18px 0 12px;
  font-family: var(--font-display), serif;
  font-size: 2rem;
  line-height: 1;
}

.admin-sidebar p {
  margin: 0;
  color: rgba(97, 27, 33, 0.76);
  line-height: 1.7;
}

.admin-sidebar .chip {
  background: rgba(255, 255, 255, 0.34);
  color: var(--primary-strong);
}

.admin-nav {
  display: grid;
  gap: 12px;
}

.admin-sidebar-logout {
  margin-top: auto;
}

.admin-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(97, 27, 33, 0.9);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.admin-nav-link:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.4);
}

.admin-nav-link-active {
  background: rgba(97, 27, 33, 0.12);
  border-color: rgba(97, 27, 33, 0.16);
}

.admin-content {
  position: relative;
  padding: 28px;
}

.admin-content a.button,
.listing-section a.button,
.article-layout a.button,
.news-grid a.button {
  align-self: flex-start;
}

.admin-stack {
  display: grid;
  gap: 24px;
}

.admin-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.admin-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-page-header h1 {
  margin: 16px 0 12px;
  font-family: var(--font-display), serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.admin-page-header p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.admin-panel h2 {
  margin: 16px 0 10px;
  font-family: var(--font-display), serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.admin-metrics article {
  padding: 20px;
  border-radius: 18px;
  background: rgba(141, 35, 44, 0.08);
}

.admin-metrics strong {
  display: block;
  font-size: 2rem;
  color: var(--primary-strong);
}

.admin-metrics span {
  color: var(--muted);
}

.admin-seed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(141, 35, 44, 0.06);
}

.admin-seed-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-card {
  width: min(720px, 100%);
  padding: 40px;
  border-radius: var(--radius-xl);
}

.admin-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.admin-module-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: white;
  box-shadow: 0 16px 44px rgba(97, 27, 33, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(97, 27, 33, 0.12);
}

.admin-module-card strong {
  color: var(--primary-strong);
  font-size: 1.1rem;
}

.admin-module-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-module-link {
  color: var(--primary);
  font-weight: 700;
}

.admin-card h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-section-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.admin-section-header {
  display: grid;
  gap: 10px;
}

.admin-section-header h2 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1;
}

.admin-section-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 760px;
}

.admin-section-grid {
  margin-top: 0;
}

.admin-modal-form {
  margin-top: 0;
}

.admin-modal-stack {
  display: grid;
  gap: 18px;
}

.admin-modal-stack .admin-section-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.admin-grid-compact > .admin-form-full,
.admin-grid-compact > .admin-field-span-2 {
  grid-column: 1 / -1;
}

.admin-form label {
  display: grid;
  gap: 8px;
}

.admin-form span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-strong);
}

.admin-field-hint {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid rgba(97, 27, 33, 0.16);
  border-radius: 16px;
  padding: 14px 16px;
  background: white;
  color: var(--text);
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  padding-right: 60px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(97, 27, 33, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-strong);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  border-color: rgba(97, 27, 33, 0.28);
  background: rgba(255, 250, 239, 0.98);
  transform: translateY(-1px);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.rich-text-shell {
  border: 1px solid rgba(97, 27, 33, 0.16);
  border-radius: 18px;
  overflow: hidden;
  background: white;
}

.rich-text-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(97, 27, 33, 0.1);
  background: rgba(141, 35, 44, 0.04);
}

.rich-text-button {
  border: 1px solid rgba(97, 27, 33, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: white;
  color: var(--primary-strong);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.rich-text-shell textarea {
  border: 0;
  border-radius: 0;
}

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

.admin-inline-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

.admin-inline-check input {
  width: 18px;
  height: 18px;
}

.auth-form {
  margin-top: 28px;
}

.admin-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-auth-feedback {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.flash-message {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(97, 27, 33, 0.1);
  line-height: 1.6;
  box-shadow: 0 10px 28px rgba(97, 27, 33, 0.08);
}

.flash-success {
  border-color: rgba(154, 118, 18, 0.24);
  background: linear-gradient(135deg, rgba(255, 250, 239, 0.98), rgba(246, 231, 186, 0.9));
  color: var(--primary-strong);
}

.flash-error {
  border-color: rgba(141, 35, 44, 0.2);
  background: linear-gradient(135deg, rgba(255, 244, 244, 0.98), rgba(247, 217, 218, 0.92));
  color: var(--primary-strong);
}

.flash-warning {
  border-color: rgba(240, 180, 47, 0.28);
  background: linear-gradient(135deg, rgba(255, 251, 240, 0.98), rgba(249, 233, 185, 0.9));
  color: var(--primary-strong);
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(141, 35, 44, 0.06);
}

.admin-list-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-strong);
}

.admin-list-item p {
  margin: 0;
  color: var(--muted);
}

.admin-media-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-media-preview {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(141, 35, 44, 0.12);
}

.admin-media-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-media-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-kpi-grid,
.admin-tip-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

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

.admin-kpi-card,
.admin-tip-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.admin-kpi-card span,
.admin-tip-card strong {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-kpi-card strong {
  font-family: var(--font-display), serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-strong);
}

.admin-tip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.admin-tip-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  overflow: visible;
}

.admin-dialog-hero {
  width: min(1220px, calc(100vw - 32px));
}

.admin-dialog-news {
  width: min(1180px, calc(100vw - 32px));
}

.admin-dialog::backdrop {
  background: rgba(58, 24, 20, 0.42);
  backdrop-filter: blur(8px);
}

.admin-dialog-surface {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
  min-height: 0;
  border-radius: 28px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: #fbf7ef;
  box-shadow: 0 34px 90px rgba(97, 27, 33, 0.22);
  overflow: hidden;
}

.admin-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(97, 27, 33, 0.1);
  background: linear-gradient(180deg, rgba(141, 35, 44, 0.08), rgba(141, 35, 44, 0));
}

.admin-dialog-header h2 {
  margin: 14px 0 10px;
  font-family: var(--font-display), serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.admin-dialog-header p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-dialog-close {
  border: 1px solid rgba(97, 27, 33, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  color: var(--primary-strong);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.admin-section-header-compact {
  gap: 6px;
}

.admin-section-header-compact h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.1;
}

.admin-section-header-compact p {
  max-width: none;
  font-size: 0.96rem;
}

.admin-color-field {
  display: grid;
  gap: 8px;
}

.admin-color-control {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.admin-color-picker {
  width: 58px !important;
  min-width: 58px;
  height: 50px;
  padding: 4px !important;
  border-radius: 16px !important;
  cursor: pointer;
}

.admin-color-text {
  min-width: 0;
}

.admin-upload-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px dashed rgba(97, 27, 33, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(240, 180, 47, 0.1), rgba(255, 255, 255, 0.92));
}

.admin-upload-panel input[type="file"] {
  padding: 12px !important;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.94);
}

.admin-upload-panel-compact {
  grid-template-columns: 1fr;
  min-height: 100%;
}

.admin-upload-copy {
  display: grid;
  gap: 6px;
}

.admin-upload-copy strong {
  color: var(--primary-strong);
}

.admin-upload-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-news-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 20px;
  align-items: start;
}

.admin-news-form-stack {
  display: grid;
  gap: 16px;
}

.admin-news-section-card {
  gap: 16px;
}

.admin-form-stack {
  display: grid;
  gap: 16px;
}

.admin-news-grid {
  gap: 14px;
}

.admin-content-editor .admin-news-preview-copy p {
  white-space: pre-line;
}

.admin-news-preview-panel {
  min-width: 0;
}

.admin-news-preview-sticky {
  position: sticky;
  top: 0;
  display: grid;
  gap: 14px;
}

.admin-news-preview-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(97, 27, 33, 0.12);
}

.admin-news-preview-image {
  min-height: 240px;
  background-size: cover;
  background-position: center;
  background-color: rgba(141, 35, 44, 0.08);
}

.admin-news-preview-copy {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.admin-news-preview-copy h3 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.06;
  color: var(--primary-strong);
}

.admin-news-preview-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-gallery-manager {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.admin-gallery-manager-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.admin-gallery-manager-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display), serif;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  line-height: 1;
}

.admin-gallery-manager-head p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.admin-gallery-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(97, 27, 33, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(97, 27, 33, 0.08);
}

.admin-gallery-card-media {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  background-color: rgba(141, 35, 44, 0.08);
}

.admin-gallery-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.admin-gallery-card-body strong {
  color: var(--primary-strong);
  font-size: 1.05rem;
}

.admin-gallery-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-gallery-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-gallery-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(141, 35, 44, 0.06);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.admin-gallery-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px 18px;
}

.admin-gallery-upload-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-gallery-upload-tips article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.admin-gallery-upload-tips strong {
  color: var(--primary-strong);
}

.admin-gallery-upload-tips p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-hero-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 20px;
  align-items: start;
}

.admin-hero-form-stack {
  display: grid;
  gap: 16px;
}

.admin-hero-section-card {
  gap: 16px;
}

.admin-hero-grid {
  gap: 14px;
}

.admin-hero-title-input {
  min-height: 110px;
  font-family: var(--font-display), serif;
  font-size: 1.28rem;
  line-height: 1.2;
}

.admin-hero-check {
  min-height: 52px;
  align-items: center;
}

.admin-hero-preview-panel {
  min-width: 0;
}

.admin-hero-preview-sticky {
  position: sticky;
  top: 0;
  display: grid;
  gap: 14px;
}

.admin-hero-preview-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.admin-hero-preview-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 28px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(36, 17, 15, 0.28)), var(--surface-dark);
  box-shadow: 0 24px 60px rgba(97, 27, 33, 0.16);
}

.admin-hero-preview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-preview-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.admin-hero-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 12, 10, 0.18), rgba(27, 12, 10, 0.28) 32%, rgba(27, 12, 10, 0.74));
}

.admin-hero-preview-content {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100% - 48px, 420px);
}

.admin-hero-preview-card[data-position="top-left"] .admin-hero-preview-content {
  top: 24px;
  left: 24px;
}

.admin-hero-preview-card[data-position="top-center"] .admin-hero-preview-content {
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.admin-hero-preview-card[data-position="center-left"] .admin-hero-preview-content {
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.admin-hero-preview-card[data-position="center"] .admin-hero-preview-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.admin-hero-preview-card[data-position="bottom-center"] .admin-hero-preview-content {
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.admin-hero-preview-card[data-position="bottom-left"] .admin-hero-preview-content {
  left: 24px;
  bottom: 24px;
}

.admin-hero-preview-chip {
  justify-self: start;
  color: var(--primary-strong);
}

.admin-hero-preview-title {
  margin: 0;
  font-family: var(--font-display), serif;
  line-height: 0.98;
  text-wrap: balance;
  color: #fff;
}

.admin-hero-preview-title.font-display,
.admin-hero-preview-title.font-serif {
  font-family: var(--font-display), serif;
}

.admin-hero-preview-title.font-sans {
  font-family: var(--font-body), sans-serif;
  font-weight: 800;
}

.admin-hero-preview-description {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.admin-hero-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-hero-preview-button {
  pointer-events: none;
  box-shadow: none;
}

.admin-hero-preview-meta {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(97, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.admin-hero-preview-meta strong {
  color: var(--primary-strong);
}

.admin-hero-preview-meta code {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(141, 35, 44, 0.06);
  color: var(--primary-strong);
}

.admin-confirm-dialog {
  width: min(560px, calc(100vw - 32px));
}

.admin-confirm-dialog .admin-dialog-surface {
  max-height: none;
}

.admin-confirm-dialog .admin-dialog-body {
  overflow: visible;
}

.admin-confirm-dialog-danger .admin-dialog-header {
  background: linear-gradient(180deg, rgba(141, 35, 44, 0.12), rgba(141, 35, 44, 0));
}

.admin-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.admin-feedback-toast {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(97, 27, 33, 0.1);
  background: rgba(255, 252, 245, 0.96);
  box-shadow: 0 16px 40px rgba(97, 27, 33, 0.12);
  backdrop-filter: blur(10px);
}

.admin-feedback-toast-success {
  border-color: rgba(154, 118, 18, 0.24);
  background: linear-gradient(135deg, rgba(255, 250, 239, 0.98), rgba(246, 231, 186, 0.94));
}

.admin-feedback-toast strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-strong);
}

.admin-feedback-toast p {
  margin: 0;
  color: rgba(97, 27, 33, 0.78);
  line-height: 1.6;
}

.admin-feedback-close {
  border: 0;
  background: transparent;
  color: rgba(97, 27, 33, 0.72);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-note-grid {
  margin-top: -8px;
}

.filter-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
}

.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid rgba(97, 27, 33, 0.16);
  border-radius: 16px;
  padding: 12px 14px;
  background: white;
  color: var(--text);
  font: inherit;
}

.filter-toolbar label {
  display: grid;
  gap: 8px;
}

.filter-toolbar span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid rgba(97, 27, 33, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(97, 27, 33, 0.08);
}

.admin-table thead th {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(141, 35, 44, 0.04);
}

.admin-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.admin-sort-button::after {
  content: "↕";
  font-size: 0.8em;
  opacity: 0.45;
}

.admin-sort-button[data-sort-dir="asc"]::after {
  content: "↑";
  opacity: 0.9;
}

.admin-sort-button[data-sort-dir="desc"]::after {
  content: "↓";
  opacity: 0.9;
}

.admin-table tbody tr:hover {
  background: rgba(240, 180, 47, 0.08);
}

.admin-table strong {
  color: var(--primary-strong);
}

.admin-table p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button.button-small {
  padding: 10px 14px;
  font-size: 0.88rem;
}

.button.button-ghost {
  border: 1px solid rgba(97, 27, 33, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: var(--primary-strong);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.status-published {
  background: rgba(240, 180, 47, 0.22);
  color: var(--primary-strong);
}

.status-pill.status-draft {
  background: rgba(141, 35, 44, 0.12);
  color: var(--primary-strong);
}

.status-pill.status-archived {
  background: rgba(109, 101, 94, 0.16);
  color: var(--muted);
}

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.pagination-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination-number-button {
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(97, 27, 33, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-strong);
  font: inherit;
  font-weight: 700;
}

.pagination-number-button.is-active {
  background: linear-gradient(135deg, #f0b42f, #e1a11a);
}

.pagination-summary {
  color: var(--muted);
  line-height: 1.6;
}

.admin-danger-zone {
  margin-top: 22px;
}

.admin-subpanel {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(97, 27, 33, 0.1);
}

@media (max-width: 1100px) {
  .split-section,
  .planning-grid,
  .page-hero-body,
  .radio-panel,
  .radio-support-grid,
  .contact-banner,
  .footer-grid,
  .hero-grid,
  .welcome-grid,
  .editorial-grid,
  .liturgy-grid,
  .ministry-showcase,
  .article-layout-detail,
  .admin-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-brand-head {
    align-items: flex-start;
  }

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

  .gallery-album-head,
  .gallery-lightbox-toolbar {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .contact-banner {
    border-radius: 28px;
  }

  .navbar {
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

  .hero-banner {
    height: 560px;
    border-radius: 32px;
  }

  .hero-banner-overlay {
    width: min(100% - 56px, 620px);
  }

  .hero-photo {
    inset: 0 0 110px 0;
  }

  .hero-outline {
    right: 20px;
    width: calc(100% - 40px);
  }

  .highlights,
  .portal-links,
  .schedule-grid,
  .news-grid,
  .news-grid-wide,
  .schedule-grid-wide,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-hero-editor {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-stage {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  :root {
    --site-width: min(100vw - 24px, 100%);
  }

  .topbar {
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
  }

  .navbar {
    padding: 18px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 118px;
    height: 62px;
    flex-basis: 118px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 24px;
  }

  .home-shortcuts,
  .highlights,
  .portal-links,
  .schedule-grid,
  .news-grid,
  .news-grid-wide,
  .schedule-grid-wide,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    height: 500px;
    border-radius: 26px;
  }

  .hero-banner-overlay {
    width: calc(100% - 40px);
    gap: 12px;
  }

  .hero-overlay-top-left,
  .hero-overlay-center-left,
  .hero-overlay-bottom-left {
    left: 20px;
  }

  .hero-overlay-top-left,
  .hero-overlay-top-center {
    top: 20px;
  }

  .hero-overlay-bottom-left,
  .hero-overlay-bottom-center {
    bottom: 22px;
  }

  .hero-overlay-center-left,
  .hero-overlay-center {
    top: 50%;
  }

  .hero-banner-actions {
    gap: 10px;
  }

  .hero-banner-controls {
    right: 18px;
    bottom: 18px;
  }

  .hero-banner-arrow {
    width: 42px;
    height: 42px;
  }

  .hero-banner-dots {
    left: 20px;
    bottom: 18px;
  }

  .welcome-section,
  .editorial-band,
  .liturgy-section,
  .ministry-showcase {
    padding-top: 56px;
  }

  .welcome-panel-body,
  .editorial-card,
  .ministry-visual-quote,
  .footer-grid,
  .detail-surface,
  .detail-card {
    padding: 22px;
  }

  .page-hero-copy {
    padding-left: 22px;
  }

  .gallery-share-actions,
  .gallery-lightbox-actions {
    flex-direction: column;
  }

  .gallery-lightbox {
    width: calc(100vw - 20px);
  }

  .gallery-lightbox-shell {
    padding: 18px;
  }

  .gallery-lightbox-stage-wrap {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-nav {
    width: 48px;
    height: 48px;
    justify-self: center;
  }

  .gallery-lightbox-stage {
    min-height: 300px;
    padding: 12px;
  }

  .welcome-panel-image,
  .ministry-visual-main {
    min-height: 280px;
  }

  .hero-photo {
    inset: 0 0 100px 0;
  }

  .hero-outline {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 8px;
  }

  .split-section,
  .newsroom,
  .content-band,
  .radio-section {
    padding: 56px 0;
  }

  .radio-panel,
  .contact-banner,
  .admin-card,
  .admin-panel {
    padding: 24px;
  }

  .radio-support-card {
    padding: 22px;
  }

  .contact-data {
    gap: 12px;
  }

  .footer-brand-head {
    flex-direction: column;
  }

  .footer-brand-mark {
    width: 120px;
    height: 72px;
    flex-basis: 120px;
  }

  .footer-brand-image {
    width: 98px;
    height: 52px;
  }

  .admin-grid,
  .admin-grid-compact,
  .admin-metrics,
  .admin-module-grid {
    grid-template-columns: 1fr;
  }

  .admin-seed-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-page-header,
  .admin-dialog-header {
    flex-direction: column;
  }

  .admin-page-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-list-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-kpi-grid,
  .admin-tip-grid {
    grid-template-columns: 1fr;
  }

  .admin-media-item {
    width: 100%;
  }

  .admin-media-meta {
    justify-items: start;
    text-align: left;
  }

  .admin-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .admin-dialog-hero {
    width: calc(100vw - 20px);
  }

  .admin-dialog-news {
    width: calc(100vw - 20px);
  }

  .admin-dialog-surface {
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .admin-dialog-header,
  .admin-dialog-body {
    padding: 20px;
  }

  .admin-confirm-actions {
    flex-direction: column-reverse;
  }

  .admin-feedback-toast {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-upload-panel,
  .admin-hero-editor,
  .admin-news-editor {
    grid-template-columns: 1fr;
  }

  .admin-gallery-manager-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-gallery-upload-tips {
    grid-template-columns: 1fr;
  }

  .admin-hero-preview-card {
    min-height: 420px;
  }

  .admin-color-control {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

.nav-link-active {
  background: rgba(141, 35, 44, 0.06);
}

.hero-carousel {
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.php-hero-image,
.php-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
