:root {
  color-scheme: light;
  --jmj-primary: #0b4fc4;
  --jmj-primary-dark: #07358a;
  --jmj-secondary: #d91f3d;
  --jmj-secondary-dark: #a9142d;
  --jmj-accent: #f2ca3e;
  --jmj-background: #f5f7fb;
  --jmj-surface: #ffffff;
  --jmj-surface-blue: #edf4ff;
  --jmj-surface-red: #fff1f3;
  --jmj-surface-yellow: #fff9e5;
  --jmj-text: #172033;
  --jmj-muted: #596277;
  --jmj-border: #dce3ef;
  --shadow-soft: 0 18px 60px rgba(12, 40, 91, 0.11);
  --shadow-card: 0 10px 32px rgba(12, 40, 91, 0.08);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--jmj-background);
  color: var(--jmj-text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 202, 62, 0.12), transparent 22rem),
    radial-gradient(circle at 5% 35%, rgba(11, 79, 196, 0.06), transparent 25rem);
  content: "";
  pointer-events: none;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--jmj-secondary);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  text-wrap: balance;
}

p,
li {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--jmj-text);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
  padding: 0.7rem max(1rem, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(220, 227, 239, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 24px rgba(12, 40, 91, 0.04);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  gap: 0.75rem;
  color: var(--jmj-primary-dark);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand img {
  width: 10rem;
  height: 3.55rem;
  object-fit: contain;
  object-position: left center;
}

.brand > .brand-title {
  display: inline-flex;
  gap: 0.28rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--jmj-border);
}

.brand-jmj {
  color: #111111;
}

.brand-seoul {
  color: var(--jmj-secondary);
}

.brand-year {
  color: var(--jmj-primary);
}

.mobile-header-actions {
  display: none;
}

.site-nav {
  gap: clamp(0.7rem, 2vw, 1.4rem);
  color: var(--jmj-muted);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  padding-block: 0.55rem;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--jmj-primary);
}

.site-nav .nav-cta {
  padding-inline: 0.9rem;
  border-radius: 999px;
  background: var(--jmj-primary);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--jmj-primary-dark);
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 5rem);
  padding: clamp(3rem, 7vw, 6.5rem) 1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 58%, #fff8dc 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.hero::before {
  width: 23rem;
  height: 23rem;
  right: -8rem;
  top: -9rem;
  border: 5rem solid rgba(207, 32, 56, 0.08);
}

.hero::after {
  width: 10rem;
  height: 10rem;
  left: -5rem;
  bottom: 7%;
  background: rgba(243, 202, 62, 0.3);
}

.hero-inner {
  display: grid;
  width: min(100%, var(--container));
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: clamp(2.5rem, 7vw, 6rem);
}

.hero-content {
  max-width: 43rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--jmj-primary);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  letter-spacing: -0.07em;
}

.hero h1 span {
  display: block;
  color: var(--jmj-primary);
}

.hero blockquote {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--jmj-secondary);
}

.hero blockquote p {
  margin-bottom: 0.15rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  text-wrap: balance;
}

.hero blockquote cite {
  color: var(--jmj-muted);
  font-style: normal;
  font-weight: 650;
}

.hero-lead {
  max-width: 40rem;
  color: var(--jmj-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--jmj-primary);
  border-radius: 999px;
  background: var(--jmj-primary);
  box-shadow: 0 8px 22px rgba(11, 79, 196, 0.18);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--jmj-primary-dark);
  background: var(--jmj-primary-dark);
  box-shadow: 0 12px 28px rgba(11, 79, 196, 0.25);
}

.button-secondary {
  background: transparent;
  box-shadow: none;
  color: var(--jmj-primary-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--jmj-surface-blue);
  color: var(--jmj-primary-dark);
}

.button-light {
  border-color: #fff;
  background: #fff;
  box-shadow: none;
  color: var(--jmj-primary-dark);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: #fff;
  background: #fff8dc;
  color: var(--jmj-primary-dark);
}

.hero-media {
  position: relative;
  min-height: 38rem;
}

.hero-photo {
  width: min(100%, 27rem);
  height: 36rem;
  margin-left: auto;
  border: 0.65rem solid #fff;
  border-radius: 11rem 11rem 2rem 2rem;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.logo-panel {
  position: absolute;
  left: 0;
  bottom: 1.6rem;
  display: grid;
  width: 15rem;
  min-height: 18rem;
  place-items: center;
  padding: 1.2rem;
  border: 1px solid var(--jmj-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.logo-panel .logo-jmj {
  width: 9.5rem;
  height: 11.5rem;
  object-fit: contain;
}

.logo-panel .logo-diocese {
  width: 11rem;
  height: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--jmj-border);
}

.section {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.25rem) 0;
}

.section-band {
  position: relative;
  isolation: isolate;
}

.section-band::before {
  position: absolute;
  z-index: -1;
  width: 100vw;
  inset-block: 0;
  left: 50%;
  transform: translateX(-50%);
  border-block: 1px solid rgba(220, 227, 239, 0.65);
  content: "";
}

.section-band-light::before {
  background:
    radial-gradient(circle at 8% 22%, rgba(11, 79, 196, 0.08), transparent 20rem),
    linear-gradient(135deg, #ffffff 25%, #f3f7ff 100%);
}

.section-band-warm::before {
  background:
    radial-gradient(circle at 92% 20%, rgba(217, 31, 61, 0.055), transparent 18rem),
    linear-gradient(135deg, #fffdf5 15%, var(--jmj-surface-yellow) 100%);
}

.section-band-blue::before {
  background:
    radial-gradient(circle at 5% 12%, rgba(217, 31, 61, 0.07), transparent 20rem),
    linear-gradient(135deg, #fffafb 0%, #f7f9ff 52%, #edf4ff 100%);
}

#jmj .eyebrow,
#programme .eyebrow {
  color: var(--jmj-primary);
}

#delegation .eyebrow {
  color: var(--jmj-secondary-dark);
}

#delegation {
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

#programme {
  padding-top: clamp(2.75rem, 5vw, 4rem);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-heading p:not(.eyebrow),
.section-footnote {
  color: var(--jmj-muted);
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 7rem);
}

.prose p {
  color: var(--jmj-muted);
  font-size: 1.08rem;
}

.prose-large p {
  color: var(--jmj-text);
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
}

.feature-list,
.option-card ul,
.participant-card ul {
  padding: 0;
  list-style: none;
}

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

.feature-list li,
.option-card li,
.participant-card li {
  position: relative;
  padding-left: 1.6rem;
}

.feature-list li::before,
.option-card li::before,
.participant-card li::before {
  position: absolute;
  left: 0;
  color: var(--jmj-primary);
  content: "✓";
  font-weight: 900;
}

.section-highlight {
  display: grid;
  width: min(100% - 2rem, 1280px);
  min-height: 38rem;
  margin: clamp(2.75rem, 6vw, 5rem) auto;
  align-items: stretch;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jmj-primary-dark);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

.highlight-media img {
  width: 100%;
  height: 100%;
  min-height: 38rem;
  object-fit: cover;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.highlight-content .eyebrow {
  color: #ffd95a;
}

.highlight-content p {
  color: #dfe9ff;
}

.text-link {
  width: fit-content;
  margin-top: 1rem;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid var(--jmj-accent);
  color: #fff;
  font-weight: 800;
}

.delegation-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.notice {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(11, 79, 196, 0.2);
  border-top: 0.3rem solid var(--jmj-primary);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.notice-icon {
  display: grid;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--jmj-primary);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.notice h3 {
  margin-bottom: 0.5rem;
}

.notice p {
  margin-bottom: 0;
  color: var(--jmj-muted);
}

.news-section {
  position: relative;
}

.news-section::before {
  position: absolute;
  z-index: -1;
  width: 100vw;
  inset-block: 0;
  left: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 92% 18%, rgba(242, 202, 62, 0.17), transparent 19rem),
    linear-gradient(145deg, #ffffff 0%, #f3f7ff 100%);
  border-block: 1px solid rgba(220, 227, 239, 0.75);
  content: "";
}

.news-heading {
  display: grid;
  align-items: end;
  margin-bottom: 2.25rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
  gap: 1.5rem clamp(2rem, 7vw, 6rem);
}

.news-heading h2,
.news-heading .eyebrow {
  margin-bottom: 0;
}

.news-heading p:last-child {
  max-width: 38rem;
  margin-bottom: 0.35rem;
  color: var(--jmj-muted);
  font-size: 1.05rem;
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
}

.news-card {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--jmj-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--jmj-text);
  font: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(11, 79, 196, 0.55);
  box-shadow: 0 18px 40px rgba(12, 40, 91, 0.14);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--jmj-surface-blue);
}

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

.news-card-body {
  display: flex;
  min-height: 14rem;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem;
}

.news-publication-date {
  color: var(--jmj-secondary-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card-title {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 850;
  line-height: 1.2;
  text-wrap: balance;
}

.news-card-summary {
  display: -webkit-box;
  margin-top: 0.75rem;
  overflow: hidden;
  color: var(--jmj-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.55;
}

.news-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--jmj-primary);
  font-weight: 850;
}

.news-card-read::after {
  content: "→";
  font-size: 1.1rem;
}

.news-home-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.news-status {
  margin: 0;
  color: var(--jmj-muted);
  text-align: center;
}

.news-status:not(:empty) {
  padding: 1.25rem;
  border: 1px solid var(--jmj-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

body.has-open-dialog {
  overflow: hidden;
}

.news-dialog {
  width: min(calc(100% - 2rem), 72rem);
  height: min(calc(100dvh - 2rem), 56rem);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 90px rgba(3, 22, 58, 0.35);
  color: var(--jmj-text);
}

.news-detail-dialog {
  width: min(calc(100% - 2rem), 52rem);
  height: auto;
  max-height: min(calc(100dvh - 2rem), 56rem);
}

.news-dialog::backdrop {
  background: rgba(5, 17, 39, 0.72);
  backdrop-filter: blur(4px);
}

.news-dialog[open] {
  animation: news-dialog-enter 180ms ease-out;
}

@keyframes news-dialog-enter {
  from {
    transform: translateY(1rem) scale(0.985);
    opacity: 0;
  }
}

.news-dialog-shell {
  display: grid;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr);
  background: #f7f9fd;
}

.news-dialog-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--jmj-border);
  background: rgba(255, 255, 255, 0.97);
}

.news-dialog-header .eyebrow {
  margin-bottom: 0.25rem;
}

.news-dialog-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.news-dialog-close {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--jmj-border);
  border-radius: 50%;
  background: #fff;
  color: var(--jmj-text);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.news-dialog-close:hover,
.news-dialog-close:focus-visible {
  background: var(--jmj-primary);
  color: #fff;
}

.news-dialog-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1rem, 4vw, 2.25rem);
}

.news-feed-list {
  display: grid;
  width: min(100%, 52rem);
  margin-inline: auto;
  gap: 1.25rem;
}

.news-card-feed {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
}

.news-card-feed.news-card-no-image {
  grid-template-columns: 1fr;
}

.news-card-feed .news-card-image {
  height: 100%;
  min-height: 15rem;
  aspect-ratio: auto;
}

.news-card-feed .news-card-body {
  min-height: 15rem;
}

.news-feed-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.5rem;
  color: var(--jmj-muted);
}

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

.loading-spinner {
  width: 1.35rem;
  height: 1.35rem;
  border: 0.2rem solid #cbd8ef;
  border-top-color: var(--jmj-primary);
  border-radius: 50%;
  animation: news-spinner 700ms linear infinite;
}

@keyframes news-spinner {
  to {
    transform: rotate(360deg);
  }
}

.news-load-more {
  display: flex;
  margin: 1.5rem auto 0;
}

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

.news-feed-sentinel {
  width: 100%;
  height: 1px;
}

.news-detail-shell {
  position: relative;
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
}

.news-detail-close {
  position: sticky;
  z-index: 3;
  top: 1rem;
  float: right;
  margin: 1rem 1rem -3.8rem 0;
  box-shadow: 0 6px 20px rgba(3, 22, 58, 0.18);
}

.news-detail-image {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--jmj-surface-blue);
  text-align: center;
}

.news-detail-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 32.5rem;
  margin-inline: auto;
  object-fit: contain;
}

.news-detail-body {
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.news-detail-body h2 {
  max-width: 44rem;
  margin: 0.65rem 0 1.5rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.news-detail-copy {
  color: var(--jmj-muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.news-detail-copy p {
  white-space: normal;
}

.news-detail-copy p:last-child {
  margin-bottom: 0;
}

.news-detail-action {
  margin-top: 1.5rem;
}

.news-detail-message {
  min-height: min(24rem, 70dvh);
  align-content: center;
  text-align: center;
}

.news-detail-message p {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: var(--jmj-muted);
}

.news-share-panel {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--jmj-border);
}

.news-share-panel h3 {
  margin-bottom: 0.9rem;
  color: var(--jmj-text);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.news-share-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.news-share-button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--jmj-border);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--jmj-primary-dark);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.news-share-button:hover,
.news-share-button:focus-visible {
  border-color: var(--jmj-primary);
  background: var(--jmj-surface-blue);
  color: var(--jmj-primary-dark);
  transform: translateY(-1px);
}

.news-share-button.is-primary {
  border-color: var(--jmj-primary);
  background: var(--jmj-primary);
  color: #fff;
}

.news-share-button.is-primary:hover,
.news-share-button.is-primary:focus-visible {
  background: var(--jmj-primary-dark);
  color: #fff;
}

.news-share-button.is-facebook .news-share-icon {
  color: #1877f2;
}

.news-share-button.is-instagram .news-share-icon {
  color: #c13584;
}

.news-share-button.is-whatsapp .news-share-icon {
  color: #128c7e;
}

.news-share-icon {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-items: center;
}

.news-share-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.news-share-status {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  color: var(--jmj-primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.news-share-help {
  margin: 0.25rem 0 0;
  color: var(--jmj-muted);
  font-size: 0.8rem;
}

.news-image-unavailable {
  margin: 0;
  padding: 1rem 4.5rem 1rem 1.25rem;
  background: var(--jmj-surface-yellow);
  color: #5e4c0b;
  font-weight: 700;
}

.publication-rich-content {
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.publication-rich-content h2,
.publication-rich-content h3,
.publication-rich-content h4 {
  margin: 1.55em 0 0.55em;
  color: var(--jmj-text);
  line-height: 1.2;
}

.publication-rich-content h2 { font-size: 1.65rem; }
.publication-rich-content h3 { font-size: 1.4rem; }
.publication-rich-content h4 { font-size: 1.18rem; }

.publication-rich-content ul,
.publication-rich-content ol {
  padding-left: 1.5rem;
}

.publication-rich-content blockquote {
  margin: 1.4rem 0;
  padding: 0.9rem 1.15rem;
  border-left: 0.3rem solid var(--jmj-primary);
  background: var(--jmj-surface-blue);
  color: var(--jmj-text);
}

.publication-rich-content a {
  color: var(--jmj-primary);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2rem;
}

.publication-rich-content a:hover,
.publication-rich-content a:focus-visible {
  color: var(--jmj-primary-dark);
}

.publication-font-sans { font-family: Arial, sans-serif; }
.publication-font-serif { font-family: Georgia, serif; }
.publication-font-humanist { font-family: "Trebuchet MS", sans-serif; }
.publication-font-verdana { font-family: Verdana, sans-serif; }
.publication-size-small { font-size: 0.875rem; }
.publication-size-normal { font-size: 1rem; }
.publication-size-large { font-size: 1.125rem; }
.publication-size-xlarge { font-size: 1.25rem; }

.section-options {
  position: relative;
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - var(--container)) / 2));
  background:
    radial-gradient(circle at 96% 8%, rgba(242, 202, 62, 0.13), transparent 22rem),
    #f8f9fd;
}

.anchor-alias {
  position: absolute;
  top: -6rem;
}

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

.option-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--jmj-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border-top: 0.4rem solid var(--jmj-primary);
}

.option-card::after {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(207, 32, 56, 0.08);
  content: "";
}

.option-card:nth-child(2) {
  border-top-color: var(--jmj-secondary);
}

.option-card:nth-child(2) .option-code {
  background: var(--jmj-surface-red);
  color: var(--jmj-secondary-dark);
}

.option-card .option-code {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--jmj-surface-blue);
  color: var(--jmj-primary-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.option-card h3 {
  margin-bottom: 0.8rem;
  color: var(--jmj-primary-dark);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.option-card h4 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1rem;
}

.option-card > p {
  color: var(--jmj-muted);
}

.option-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #f7f9fd;
}

.option-price strong {
  color: var(--jmj-primary-dark);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.option-price span,
.option-card .option-fee {
  color: var(--jmj-muted);
  font-size: 0.88rem;
}

.option-card .option-fee {
  margin: 0.75rem 0 0;
}

.option-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.package-price-note {
  max-width: 50rem;
  margin: 1.25rem auto 0;
  color: var(--jmj-muted);
  font-size: 0.9rem;
  text-align: center;
}

.package-details {
  display: grid;
  margin-top: 3rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 1.25rem;
}

.package-details article {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--jmj-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.package-details h3 {
  color: var(--jmj-primary-dark);
}

.package-details ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--jmj-muted);
}

.package-notices {
  display: grid;
  max-width: 58rem;
  margin: 1.25rem auto 0;
  gap: 0.6rem;
}

.package-notices p {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--jmj-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff9dc;
  color: #514511;
  font-size: 0.88rem;
}

.options-footer {
  max-width: 50rem;
  margin: 2.5rem auto 0;
  text-align: center;
}

.technical-note {
  color: var(--jmj-muted);
  font-size: 0.88rem;
}

.priority-note {
  margin: 1.25rem 0 0;
  color: var(--jmj-muted);
  font-size: 0.88rem;
}

.itinerary-phases {
  display: grid;
  gap: 2rem;
}

.itinerary-phase {
  border: 1px solid var(--jmj-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.phase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(120deg, var(--jmj-primary-dark), var(--jmj-primary));
  color: #fff;
}

.phase-header p {
  margin-bottom: 0.25rem;
  color: #ffdf70;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phase-header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.phase-header > span {
  flex: 0 0 auto;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.itinerary-days {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.itinerary-day {
  display: grid;
  align-items: start;
  grid-template-columns:
    minmax(15rem, 0.8fr)
    minmax(14rem, 0.9fr)
    minmax(19rem, 1.15fr);
  gap: 1rem clamp(1.25rem, 3vw, 2rem);
  padding: 1.25rem clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--jmj-border);
}

.itinerary-day:last-child {
  border-bottom: 0;
}

.day-heading {
  display: grid;
  align-items: start;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: 0.85rem;
}

.day-number {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--jmj-surface-blue);
  color: var(--jmj-primary);
  font-size: 0.85rem;
  font-weight: 900;
}

.day-heading time {
  color: var(--jmj-secondary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-heading h4 {
  margin: 0.25rem 0 0;
  font-size: 1.3rem;
}

.day-details {
  display: grid;
  gap: 0.3rem;
  margin: 0.2rem 0 0;
  padding-left: 1rem;
  color: var(--jmj-muted);
  font-size: 1rem;
}

.itinerary-day:not(.has-lodging) .day-details {
  grid-column: 2 / -1;
}

.day-details li::marker {
  color: var(--jmj-primary);
}

.day-lodgings {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #cdddf8;
  border-radius: var(--radius-sm);
  background: #f4f8ff;
}

.day-lodgings div {
  display: grid;
  gap: 0.1rem;
}

.day-lodgings div + div {
  padding-top: 0.6rem;
  border-top: 1px solid #d8e4f8;
}

.day-lodgings dt {
  color: var(--jmj-primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.day-lodgings dd {
  margin: 0;
  color: var(--jmj-muted);
  font-size: 1rem;
}

.section-participants {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - var(--container)) / 2));
  background: var(--jmj-primary-dark);
  color: #fff;
}

.section-participants .eyebrow {
  color: #ffd95a;
}

.section-participants .section-heading p:not(.eyebrow) {
  color: #d6e1f6;
}

.participant-grid {
  display: grid;
  max-width: 52rem;
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.participant-card {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.participant-card > span {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--jmj-accent);
  color: #362c08;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.participant-card h3 {
  margin-bottom: 1rem;
}

.participant-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0;
  color: #e6edfb;
  font-size: 0.9rem;
}

.participant-card li::before {
  color: #ffd95a;
}

.section-participants .section-footnote {
  color: #d6e1f6;
}

.section-footnote {
  max-width: 50rem;
  margin: 2rem auto 0;
  font-size: 0.9rem;
  text-align: center;
}

.gallery-section .section-heading {
  max-width: 51rem;
}

.photo-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 12rem;
  gap: 0.8rem;
}

.photo-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--jmj-surface-blue);
}

.photo-grid figure:nth-child(1),
.photo-grid figure:nth-child(4) {
  grid-column: span 3;
}

.photo-grid figure:nth-child(2),
.photo-grid figure:nth-child(3) {
  grid-row: span 2;
  grid-column: span 3;
}

.photo-grid figure:nth-child(5) {
  grid-column: span 6;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.photo-grid figure:hover img {
  transform: scale(1.025);
}

.video-feature {
  display: grid;
  align-items: center;
  margin-top: clamp(3rem, 7vw, 5rem);
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.video-copy p:not(.eyebrow) {
  color: var(--jmj-muted);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 0.5rem solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  background: #071731;
}

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

.interest-section {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 1rem;
  overflow: hidden;
  background:
    linear-gradient(115deg, var(--jmj-primary-dark) 0%, var(--jmj-primary) 52%, #1659c8 100%);
  color: #fff;
}

.interest-section::after {
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -5rem;
  bottom: -10rem;
  border: 4rem solid rgba(242, 202, 62, 0.24);
  border-radius: 50%;
  content: "";
}

.interest-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, var(--container));
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(21rem, 0.88fr);
  gap: clamp(2rem, 7vw, 6rem);
}

.interest-inner .eyebrow {
  color: #ffe47f;
}

.interest-inner h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.interest-inner p:not(.eyebrow) {
  max-width: 45rem;
  margin-bottom: 0;
  color: #e8efff;
  font-size: 1.08rem;
}

.interest-actions {
  display: grid;
  gap: 1.1rem;
}

.interest-actions > .button {
  width: 100%;
}

.registration-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 22px 50px rgba(2, 28, 81, 0.3);
}

.registration-card::before {
  position: absolute;
  height: 0.38rem;
  inset: 0 0 auto;
  background: linear-gradient(90deg, var(--jmj-secondary), var(--jmj-accent));
  content: "";
}

.interest-inner .registration-card p {
  color: var(--jmj-muted);
  font-size: 0.96rem !important;
}

.registration-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.65rem;
}

.registration-icon {
  display: grid;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--jmj-surface-red);
  color: var(--jmj-secondary-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.interest-inner .registration-card .registration-title {
  margin: 0 !important;
  color: var(--jmj-text);
  font-size: 1.08rem !important;
  font-weight: 850;
}

.button-registration {
  width: 100%;
  margin-top: 1rem;
  justify-content: space-between;
  gap: 1rem;
  border-color: var(--jmj-secondary);
  border-radius: 1rem;
  background: var(--jmj-secondary);
  box-shadow: 0 10px 28px rgba(105, 8, 27, 0.28);
  color: #fff;
}

.button-registration:hover,
.button-registration:focus-visible {
  border-color: var(--jmj-secondary-dark);
  background: var(--jmj-secondary-dark);
  box-shadow: 0 14px 32px rgba(105, 8, 27, 0.35);
}

.button-registration[aria-disabled="true"] {
  border-color: var(--jmj-secondary);
  background: var(--jmj-secondary);
  color: #fff;
  cursor: not-allowed;
}

.button-registration[aria-disabled="true"]:hover,
.button-registration[aria-disabled="true"]:focus-visible {
  transform: none;
  outline-color: #f7cf48;
  box-shadow: 0 10px 28px rgba(105, 8, 27, 0.28);
}

.button-arrow {
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--jmj-secondary-dark);
  font-size: 1.15rem;
  line-height: 1;
}

.interest-inner .registration-card .registration-status {
  width: fit-content;
  margin: 0.8rem auto 0 !important;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #fff4c7;
  color: #674f00;
  font-size: 0.82rem !important;
  font-weight: 800;
  text-align: center;
}

.registration-dialog {
  width: min(calc(100% - 2rem), 64rem);
  height: min(calc(100dvh - 2rem), 58rem);
}

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

.registration-frame-wrap {
  min-height: 0;
  overflow: hidden;
  background: #eef3fb;
}

.registration-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.registration-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 1.5rem);
  border-top: 1px solid var(--jmj-border);
  background: #fff;
}

.registration-dialog-footer p {
  max-width: 38rem;
  margin: 0;
  color: var(--jmj-muted);
  font-size: 0.88rem;
}

.registration-dialog-footer .button {
  flex: 0 0 auto;
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
}

.official-grid {
  display: grid;
  max-width: 52rem;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.official-card {
  position: relative;
  min-height: 14rem;
  padding: 1.5rem;
  border: 1px solid var(--jmj-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.official-card:hover,
.official-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--jmj-primary);
}

.official-card h3 {
  padding-right: 2rem;
}

.official-card p {
  margin-bottom: 0;
  color: var(--jmj-muted);
}

.external-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--jmj-surface-blue);
  color: var(--jmj-primary);
  font-weight: 850;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.not-found h1,
.not-found p {
  margin: 0;
}

@media (max-width: 1024px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

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

  .site-nav {
    width: 100%;
    padding-bottom: 0.35rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 2rem;
  }

  .hero-media {
    min-height: 32rem;
  }

  .hero-photo {
    height: 31rem;
  }

  .logo-panel {
    width: 12rem;
    min-height: 15rem;
  }

  .logo-panel .logo-jmj {
    width: 7.5rem;
    height: 9rem;
  }

  .itinerary-day {
    grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.3fr);
  }

  .day-heading {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .day-details,
  .itinerary-day:not(.has-lodging) .day-details {
    grid-column: 2;
    grid-row: 1;
  }

  .day-lodgings {
    grid-column: 2;
    grid-row: 2;
  }

}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 9rem;
  }

  .site-header {
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.55rem 1rem 0.65rem;
  }

  .brand img {
    width: 8.4rem;
    height: 3rem;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.65rem;
  }

  .mobile-interest-button {
    display: inline-flex;
    min-height: 2.85rem;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 0.85rem;
    background: var(--jmj-primary);
    box-shadow: 0 7px 18px rgba(11, 79, 196, 0.2);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
  }

  .mobile-interest-button:hover,
  .mobile-interest-button:focus-visible {
    background: var(--jmj-primary-dark);
  }

  .menu-toggle {
    display: grid;
    width: 2.85rem;
    height: 2.85rem;
    flex: 0 0 2.85rem;
    place-content: center;
    gap: 0.28rem;
    padding: 0;
    border: 1px solid #b9c9e6;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 7px 18px rgba(12, 40, 91, 0.1);
    color: var(--jmj-primary-dark);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 1.25rem;
    height: 0.14rem;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.42rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.42rem) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--jmj-border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 32px rgba(12, 40, 91, 0.16);
    overflow: visible;
    font-size: 0.95rem;
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.9rem;
    border-radius: 0.7rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--jmj-surface-blue);
  }

  .site-nav .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-inner,
  .intro-grid,
  .section-highlight,
  .delegation-grid,
  .news-heading,
  .video-feature,
  .interest-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: min(100%, 32rem);
    min-height: 31rem;
    margin-inline: auto;
  }

  .hero-photo {
    width: calc(100% - 3.5rem);
    height: 29rem;
  }

  .logo-panel {
    left: 0;
    bottom: 0;
  }

  .section-highlight {
    min-height: auto;
  }

  .highlight-media img {
    min-height: 20rem;
    max-height: 28rem;
  }

  .highlight-content {
    padding: 2rem 1.5rem 2.5rem;
  }

  .option-grid,
  .package-details,
  .official-grid {
    grid-template-columns: 1fr;
  }

  .news-heading {
    align-items: start;
    gap: 0.75rem;
  }

  .phase-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .day-heading {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .day-details {
    grid-column: 1;
    grid-row: 2;
  }

  .itinerary-day:not(.has-lodging) .day-details {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .day-lodgings {
    grid-column: 2;
    grid-row: 2;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 14rem;
  }

  .photo-grid figure:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .photo-grid figure:nth-child(1),
  .photo-grid figure:nth-child(5) {
    grid-column: span 2;
  }

  .interest-inner {
    text-align: left;
  }

  .interest-inner p:not(.eyebrow) {
    margin-inline: 0;
  }

  .interest-inner .button {
    width: min(100%, 25rem);
    justify-self: center;
  }

}

@media (max-width: 640px) {
  .news-card-grid {
    grid-template-columns: 1fr;
  }

  .itinerary-day {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.15rem;
  }

  .day-heading,
  .day-details,
  .itinerary-day:not(.has-lodging) .day-details,
  .day-lodgings {
    grid-column: 1;
    grid-row: auto;
  }

  .day-heading h4 {
    font-size: 1.2rem;
  }

  .day-details {
    margin-top: 0;
  }

  .news-dialog,
  .news-detail-dialog,
  .registration-dialog {
    width: calc(100% - 0.75rem);
    height: calc(100dvh - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
    border-radius: 1.2rem;
  }

  .news-dialog-header {
    padding: 1rem;
  }

  .news-dialog-header .eyebrow {
    display: none;
  }

  .news-dialog-header h2 {
    font-size: 1.55rem;
  }

  .news-dialog-scroll {
    padding: 0.75rem;
  }

  .registration-dialog-footer {
    display: grid;
    gap: 0.65rem;
  }

  .registration-dialog-footer .button {
    width: 100%;
  }

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

  .news-card-feed .news-card-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .news-card-feed .news-card-body,
  .news-card-body {
    min-height: 0;
  }

  .news-card-read {
    margin-top: 0.5rem;
  }

  .news-detail-body {
    padding: 1.35rem;
  }

  .news-share-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-share-button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .news-share-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand > .brand-title {
    font-size: 0.85rem;
  }

  .site-nav {
    gap: 0.25rem;
    font-size: 0.92rem;
  }

  .section-heading-centered p:not(.eyebrow) {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    min-height: 26rem;
  }

  .hero-photo {
    height: 25rem;
    border-width: 0.4rem;
    border-radius: 8rem 8rem 1.5rem 1.5rem;
  }

  .logo-panel {
    width: 9.5rem;
    min-height: 12rem;
    padding: 0.8rem;
    border-radius: 1.25rem;
  }

  .logo-panel .logo-jmj {
    width: 5.7rem;
    height: 7rem;
  }

  .logo-panel .logo-diocese {
    width: 8rem;
  }

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

  .participant-card h3 {
    min-height: auto;
  }

  .participant-card ul {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 18rem;
  }

  .photo-grid figure:nth-child(n) {
    grid-column: span 1;
  }

  .photo-grid figure:nth-child(2),
  .photo-grid figure:nth-child(3) {
    height: 24rem;
  }

  .video-frame {
    border-width: 0.3rem;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
