:root {
  --blue: #8aa5d0;
  --blue-deep: #1f5f96;
  --accent: #f0b200;
  --accent-text: #8b6800;
  --cream: #f4f1ea;
  --ink: #0b132b;
  --mango: #f0b200;
  --pistachio: #55a867;
  --strawberry: #f0b200;
  --glass: rgba(244, 241, 234, 0.42);
  --line: rgba(255, 255, 255, 0.34);
  --shadow: 0 24px 70px rgba(11, 19, 43, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.8, 0.2, 1);
  --font-sans: "Avenir Next", "Nunito Sans", Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  margin: 0;
  overflow-x: clip;
  overscroll-behavior: none;
  background:
    linear-gradient(rgba(244, 241, 234, 0.08), rgba(244, 241, 234, 0.08)),
    url("./assets/backdrop.png") center / cover fixed no-repeat;
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

h1,
h2,
h3,
strong {
  font-weight: 500;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(247, 245, 240, 0.34), rgba(247, 245, 240, 0.08)),
    url("./assets/backdrop.png") center / cover fixed no-repeat;
  backdrop-filter: blur(8px) saturate(1.04);
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 460ms var(--ease-out), transform 620ms var(--ease-out), backdrop-filter 460ms var(--ease-out);
}

.is-ready:not(.is-leaving) body::before {
  opacity: 0;
  transform: scale(1.012);
}

.is-leaving body::before {
  opacity: 0.72;
  transform: scale(1);
  backdrop-filter: blur(12px) saturate(1.04);
}

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

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

[hidden] {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 60px);
}

.app-frame {
  position: relative;
  width: min(100%, 1360px);
  margin: 0 auto;
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.62);
  border-radius: clamp(30px, 4vw, 58px);
  background: var(--cream);
  box-shadow: var(--shadow);
  transform-origin: 50% 44%;
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 620ms var(--ease-out),
    transform 700ms var(--ease-out),
    filter 620ms var(--ease-out);
}

.is-ready .app-frame {
  opacity: 1;
  transform: none;
  filter: none;
}

.is-leaving .app-frame {
  opacity: 0;
  transform: translateY(-8px) scale(0.992);
  filter: blur(10px);
  transition:
    opacity 380ms var(--ease-soft),
    transform 440ms var(--ease-soft),
    filter 380ms var(--ease-soft);
}

.topbar {
  position: absolute;
  inset: 22px 22px auto;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  animation: none;
}

.brand-mark {
  display: inline-flex;
  width: clamp(150px, 14vw, 190px);
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: opacity 220ms var(--ease-soft), transform 220ms var(--ease-soft);
}

.brand-mark:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 42px;
  filter: invert(11%) sepia(21%) saturate(2200%) hue-rotate(185deg) brightness(91%) contrast(96%);
  object-fit: contain;
}

.nav-pills,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pills {
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
}

.nav-pills a,
.ghost-action,
.primary-action,
.light-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 22px;
  background: rgba(244, 241, 234, 0.22);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 240ms var(--ease-soft), background 240ms var(--ease-soft), color 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft);
}

.light-action {
  background: white !important;
  color: var(--ink) !important;
  border-color: white !important;
  box-shadow: 0 4px 16px rgba(11, 19, 43, 0.08);
}

.nav-pills a:hover,
.ghost-action:hover,
.primary-action:hover,
.light-action:hover {
  transform: translateY(-2px);
  background: rgba(244, 241, 234, 0.86);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(11, 19, 43, 0.14);
}

.light-action:hover {
  background: white !important;
  box-shadow: 0 14px 32px rgba(11, 19, 43, 0.18) !important;
}

.subpage {
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(135deg, rgba(247, 245, 240, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(134, 164, 197, 0.14);
  box-shadow: 0 24px 70px rgba(20, 34, 58, 0.16);
  backdrop-filter: blur(22px) saturate(1.08);
}

.subpage .topbar {
  position: relative;
  inset: auto;
  padding: 22px;
}

.subpage-main {
  padding: clamp(28px, 5vw, 72px);
}

.page-hero {
  display: grid;
  gap: 24px;
  margin-bottom: 34px;
  border-radius: 34px;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(247, 245, 240, 0.88), rgba(247, 245, 240, 0.66)),
    rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.1);
  backdrop-filter: blur(18px) saturate(1.04);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(11, 19, 43, 0.68);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.7;
}

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

.page-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 0.86), rgba(247, 245, 240, 0.68)),
    rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.08);
  backdrop-filter: blur(16px) saturate(1.05);
  transition: transform 360ms var(--ease-soft), box-shadow 360ms var(--ease-soft);
}

.page-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 500ms var(--ease-soft);
}

.page-card div {
  padding: 24px;
}

.page-card h2,
.page-card h3 {
  margin: 10px 0 0;
  font-size: 1.75rem;
  line-height: 1.08;
}

.page-card p {
  color: rgba(11, 19, 43, 0.64);
  font-weight: 500;
  line-height: 1.6;
}

.page-card a,
.read-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: white;
  font-weight: 600;
  transition: transform 240ms var(--ease-soft), background 240ms var(--ease-soft);
}

.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 320px;
  gap: 28px;
  align-items: start;
}

.article-body {
  border-radius: 30px;
  background: var(--cream);
  padding: clamp(24px, 4vw, 46px);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.08);
}

.article-body p {
  margin: 0 0 22px;
  color: rgba(11, 19, 43, 0.76);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.85;
}

.side-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.side-panel a,
.side-panel button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: transform 240ms var(--ease-soft), background 240ms var(--ease-soft), color 240ms var(--ease-soft);
}

.share-panel {
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  box-shadow: none;
}

.share-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-icon {
  width: 52px;
  height: 52px;
  min-height: 52px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(11, 19, 43, 0.12);
  backdrop-filter: blur(14px);
}

.share-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.share-icon.whatsapp {
  color: #25d366;
}

.share-icon.linkedin {
  color: #0a66c2;
}

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

.share-back {
  width: max-content;
  background: rgba(244, 241, 234, 0.72) !important;
  box-shadow: inset 0 0 0 1px rgba(11, 19, 43, 0.1);
}

.event-detail {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 24px;
}

.event-detail img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.12);
  transition: transform 900ms var(--ease-out), filter 500ms var(--ease-soft);
}

.event-info {
  border-radius: 34px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--cream);
}

.event-info h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.event-info p {
  color: rgba(11, 19, 43, 0.68);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.meta-list span {
  border-radius: 18px;
  padding: 14px 16px;
  background: white;
  font-weight: 600;
}

.login-main {
  display: grid;
  min-height: min(760px, calc(100vh - 150px));
  align-items: center;
}

.login-card {
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.92), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 70px rgba(11, 19, 43, 0.12);
  backdrop-filter: blur(20px) saturate(1.04);
}

.login-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.login-heading h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.login-heading p:not(.eyebrow) {
  margin: 0;
  color: rgba(11, 19, 43, 0.64);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.login-card label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
}

.login-card input,
.login-choice input,
.newsletter-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 18px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 180ms var(--ease-soft), box-shadow 180ms var(--ease-soft), background 180ms var(--ease-soft);
}

.login-card input:focus,
.login-choice input:focus,
.newsletter-form input:focus {
  border-color: rgba(240, 178, 0, 0.86);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 4px rgba(240, 178, 0, 0.16);
}

.login-card .primary-action {
  width: 100%;
  margin-top: 22px;
}

.login-choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
  gap: 18px;
  margin-top: 0;
}

.login-choice {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 30px;
  padding: clamp(22px, 3.2vw, 34px);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.login-choice label,
.form-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: rgba(11, 19, 43, 0.78);
  font-size: 0.95rem;
  font-weight: 650;
}

.form-field span {
  display: block;
}

.login-choice h2,
.login-choice p {
  margin: 0;
}

.login-choice h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.login-choice p:not(.eyebrow) {
  color: rgba(11, 19, 43, 0.66);
  line-height: 1.55;
}

.phone-field {
  margin-top: 0 !important;
}

.phone-field input {
  background: rgba(255, 255, 255, 0.78);
}

.google-action {
  gap: 12px;
  min-height: 54px;
}

.google-action span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 700;
}

.text-action {
  border: 0;
  padding: 8px 0 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  cursor: pointer;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 19, 43, 0.42);
  backdrop-filter: blur(14px) saturate(1.05);
  cursor: pointer;
}

.auth-modal-blocking .auth-modal-backdrop {
  background: rgba(11, 19, 43, 0.52);
  cursor: default;
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 660px);
  max-height: min(86vh, 820px);
  overflow: auto;
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.96), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 28px 90px rgba(11, 19, 43, 0.24);
  backdrop-filter: blur(20px) saturate(1.08);
}

.complete-profile-card {
  width: min(100%, 820px);
  gap: 20px;
  padding: clamp(26px, 4vw, 46px);
}

.complete-profile-card h2 {
  max-width: 10ch;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

.complete-profile-card p:not(.eyebrow) {
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.complete-profile-card .full-action {
  margin-top: 4px;
}

.modal-close-button {
  justify-self: end;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

body[data-auth-overlay="signup"],
body[data-auth-overlay="complete"] {
  overflow: hidden;
}

.newsletter-main {
  min-height: min(720px, calc(100vh - 150px));
  display: grid;
  place-items: center;
}

.newsletter-card {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 38px;
  padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(circle at 12% 16%, rgba(240, 178, 0, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(244, 241, 234, 0.94), rgba(255, 255, 255, 0.72));
  box-shadow: 0 24px 80px rgba(11, 19, 43, 0.14);
  backdrop-filter: blur(18px) saturate(1.05);
}

.newsletter-copy h1 {
  margin: 10px 0 20px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
}

.newsletter-copy p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.newsletter-form {
  display: grid;
  gap: 18px;
  border-radius: 30px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.newsletter-form .full-action {
  width: 100%;
  margin-top: 4px;
}

.session-panel {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.session-panel h2 {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out),
    filter 760ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@keyframes frameArrive {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.965);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes copyRise {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(-0.8%, -0.6%, 0);
  }

  to {
    transform: scale(1.09) translate3d(0.8%, 0.6%, 0);
  }
}

@keyframes orbitTrace {
  from {
    transform: rotate(-12deg);
  }

  to {
    transform: rotate(348deg);
  }
}

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

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

.primary-action {
  border-color: transparent;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(240, 178, 0, 0.24);
}

.primary-action.full {
  width: 100%;
}

.hero-panel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: #14223a;
}

.hero-video,
.hero-veil,
.path-line {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.04);
  transform-origin: center;
  filter: saturate(0.92) contrast(0.96);
  will-change: transform;
}

@supports (-webkit-touch-callout: none) {
  .hero-video {
    height: 100%;
    transform: scale(1.04);
  }
}

.hero-veil {
  background: linear-gradient(90deg, rgba(11, 19, 43, 0.28) 0%, rgba(11, 19, 43, 0.14) 36%, rgba(11, 19, 43, 0) 72%);
}

.path-line {
  width: 390px;
  height: 390px;
  margin: 80px 0 0 165px;
  border: 2px dashed rgba(255, 255, 255, 0.36);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-12deg);
  animation: orbitTrace 12s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 830px;
  padding: 190px 72px 80px;
  color: white;
  animation: none;
}

.eyebrow,
.section-heading p,
.route-card span,
.event-card span,
.articles span {
  margin: 0;
  color: var(--strawberry);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.page-card .eyebrow,
.event-card div span {
  color: var(--blue-deep);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(3.1rem, 7vw, 6.9rem);
  font-weight: 400;
  line-height: 0.96;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 600;
  transition: transform 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft), background 240ms var(--ease-soft);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(11, 19, 43, 0.18);
}

.button.light {
  background: rgba(244, 241, 234, 0.94);
  color: var(--ink);
}

.button.light .button-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}

.button-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.glass {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(244, 241, 234, 0.16);
  color: white;
  backdrop-filter: blur(16px);
}

.floating-cards {
  position: absolute;
  right: 34px;
  bottom: 44px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 16px;
  width: min(54%, 660px);
}

.floating-cards article {
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  padding: 18px;
  background: rgba(244, 241, 234, 0.18);
  color: white;
  backdrop-filter: blur(18px);
  transform-origin: 50% 100%;
  transition: transform 320ms var(--ease-soft), background 320ms var(--ease-soft), border-color 320ms var(--ease-soft);
}

.floating-cards article:hover {
  transform: translateY(-9px) rotate(1deg);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(244, 241, 234, 0.27);
}

.floating-cards span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 500;
}

.floating-cards strong {
  display: block;
  margin-top: 8px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.floating-cards img {
  width: 100%;
  height: 84px;
  margin-top: 18px;
  border-radius: 16px;
  object-fit: cover;
}

.content-board,
.agenda-section,
.author-band,
.article-row {
  padding: clamp(38px, 6vw, 82px);
}

.content-board {
  position: relative;
  background:
    radial-gradient(circle at 20% 35%, rgba(138, 165, 208, 0.18), transparent 28%),
    var(--cream);
}

.content-board::before,
.content-board::after {
  content: "";
  position: absolute;
  border: 2px dashed rgba(11, 19, 43, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.content-board::before {
  left: -80px;
  top: 190px;
  width: 250px;
  height: 170px;
}

.content-board::after {
  right: 110px;
  top: 78px;
  width: 220px;
  height: 160px;
  transform: rotate(18deg);
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
}

.route-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 210px;
  gap: 22px;
}

.route-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 28px;
  padding: 26px;
  background: white;
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.08);
  transition: transform 360ms var(--ease-soft), box-shadow 360ms var(--ease-soft), filter 360ms var(--ease-soft);
}

.route-card:hover,
.page-card:hover,
.event-card:hover,
.articles article:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(11, 19, 43, 0.14);
}

.route-card.tall {
  grid-row: span 2;
  color: white;
}

.route-card.tall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(11, 19, 43, 0.72));
}

.route-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 500ms var(--ease-soft);
}

.route-card:hover img,
.page-card:hover img,
.event-card:hover img,
.event-detail:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.route-card span,
.route-card h3 {
  position: relative;
  z-index: 1;
}

.route-card.tall span {
  color: rgba(255, 255, 255, 0.74);
}

.route-card h3 {
  max-width: 420px;
  margin: 12px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.04;
}

.route-card.compact {
  cursor: pointer;
  text-align: left;
}

.yellow {
  background: var(--mango);
}

.green {
  background: var(--pistachio);
  color: white;
}

.green span,
.red span {
  color: rgba(255, 255, 255, 0.72);
}

.red {
  border: 0;
  background: var(--strawberry);
  color: white;
}

.agenda-section {
  background: #fffdf8;
}

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

.event-card {
  display: grid;
  grid-template-rows: 230px 1fr auto;
  overflow: hidden;
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.08);
  transition: transform 360ms var(--ease-soft), box-shadow 360ms var(--ease-soft);
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 500ms var(--ease-soft);
}

.event-card div {
  padding: 22px;
}

.event-card h3,
.articles h3 {
  margin: 10px 0 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.event-card p {
  color: rgba(11, 19, 43, 0.66);
  font-weight: 500;
  line-height: 1.55;
}

.event-card a,
.event-card button {
  min-height: 50px;
  margin: 0 22px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 240ms var(--ease-soft), background 240ms var(--ease-soft), color 240ms var(--ease-soft);
}

.event-card a:hover,
.event-card button:hover,
.page-card a:hover,
.read-actions a:hover,
.side-panel a:hover,
.side-panel button:hover {
  transform: translateY(-2px);
  background: var(--strawberry);
  color: var(--ink);
}

.share-panel .share-icon:hover {
  background: white !important;
  transform: translateY(-3px) scale(1.03);
}

.share-panel .share-icon.whatsapp:hover {
  color: #25d366;
}

.share-panel .share-icon.linkedin:hover {
  color: #0a66c2;
}

.share-panel .share-icon.facebook:hover {
  color: #1877f2;
}

.share-panel .share-back:hover {
  background: var(--accent) !important;
  color: var(--ink);
}

.event-card a {
  display: grid;
  place-items: center;
}

.event-card.soft {
  grid-template-rows: 1fr auto;
  background: linear-gradient(135deg, rgba(247, 245, 240, 0.98), rgba(244, 241, 234, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-left: 6px solid var(--accent);
}

.event-desc {
  display: block;
}

.event-desc p {
  color: rgba(11, 19, 43, 0.72);
  font-weight: 500;
  line-height: 1.55;
  margin: 6px 0;
  font-size: 0.95rem;
}

.event-desc strong {
  color: var(--ink);
  font-weight: 600;
}

.author-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(247, 245, 240, 0.82), rgba(247, 245, 240, 0.56)),
    url("./assets/backdrop.png") center / cover fixed no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(14px) saturate(1.05);
}

.author-band-copy {
  min-width: 0;
}

.author-band h2 {
  margin: 10px 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
}

.author-band p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(20, 34, 58, 0.76);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
}

.author-band .author-actions {
  margin-top: 28px;
}

.author-band .author-linkedin {
  background: var(--ink);
  color: white;
  box-shadow: none;
}

.author-band-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: center;
}

.author-mini-portrait {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(247, 245, 240, 0.72);
  border-radius: 36px;
  background: var(--cream);
  box-shadow: 0 28px 70px rgba(20, 34, 58, 0.18);
}

.author-mini-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(20, 34, 58, 0.76));
  pointer-events: none;
}

.author-mini-portrait img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.04);
}

.author-mini-portrait figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: white;
}

.author-mini-portrait figcaption span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.author-mini-portrait figcaption strong {
  display: block;
  max-width: 230px;
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.08;
}

.author-points {
  display: grid;
  gap: 14px;
}

.author-points span {
  display: flex;
  min-height: 76px;
  align-items: center;
  border-radius: 999px;
  padding: 18px 26px;
  background: rgba(247, 245, 240, 0.94);
  font-weight: 600;
  box-shadow: 0 16px 38px rgba(20, 34, 58, 0.08);
  transition: transform 260ms var(--ease-soft), background 260ms var(--ease-soft);
}

.author-points span:hover {
  transform: translateX(8px);
  background: white;
}

.article-row {
  background: var(--cream);
}

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

.articles article {
  border-radius: 26px;
  padding: 24px;
  background: white;
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.07);
  transition: transform 360ms var(--ease-soft), box-shadow 360ms var(--ease-soft);
}

.articles a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent-text);
  font-weight: 600;
}

.newsletter-modal {
  width: min(92vw, 480px);
  border: 0;
  border-radius: 30px;
  padding: 0;
  background: transparent;
}

.newsletter-modal::backdrop {
  background: rgba(11, 19, 43, 0.5);
  backdrop-filter: blur(6px);
}

.newsletter-modal form {
  position: relative;
  display: grid;
  gap: 16px;
  border-radius: 30px;
  padding: 30px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.newsletter-modal h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
}

.newsletter-modal p:not(.eyebrow) {
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-weight: 500;
  line-height: 1.5;
}

.newsletter-modal label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.newsletter-modal input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 18px;
  padding: 0 16px;
  background: white;
  color: var(--ink);
}

.close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Compact visual scale */
:root {
  --blue: #86a4c5;
  --blue-deep: #1b5f91;
  --accent: #f0b200;
  --accent-text: #8b6800;
  --cream: #f7f5f0;
  --ink: #14223a;
  --mango: #f0b200;
  --pistachio: #edf3f5;
  --strawberry: #f0b200;
  --shadow: 0 18px 54px rgba(11, 19, 43, 0.14);
}

body {
  font-size: 15px;
}

.page-shell {
  min-height: 100svh;
  padding: clamp(10px, 1.5svh, 18px) 0;
}

.app-frame {
  width: 97vw;
  max-width: none;
  border-width: 10px;
  border-radius: clamp(28px, 3vw, 44px);
}

.topbar {
  inset: 18px 18px auto;
  gap: 12px;
}

.brand-mark {
  width: clamp(136px, 13vw, 178px);
  height: 44px;
  padding: 0;
}

.nav-pills,
.nav-actions {
  gap: 7px;
}

.nav-pills a,
.ghost-action,
.primary-action {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(247, 245, 240, 0.7);
  color: var(--ink);
}

.primary-action {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(240, 178, 0, 0.28);
}

.content-board {
  background:
    radial-gradient(circle at 18% 55%, rgba(27, 95, 145, 0.08), transparent 24%),
    var(--cream);
}

.hero-panel {
  --hero-gutter: max(clamp(56px, 5vw, 92px), calc((100% - 1500px) / 2 + 92px));
  min-height: 0;
  height: calc(100svh - (clamp(10px, 1.5svh, 18px) * 2) - 20px);
}

.path-line {
  width: 260px;
  height: 260px;
  margin: clamp(116px, 15svh, 158px) 0 0 calc(var(--hero-gutter) + 42px);
}

.hero-copy {
  max-width: min(50vw, 860px);
  padding: clamp(178px, 24svh, 235px) clamp(34px, 5vw, 72px) 34px var(--hero-gutter);
}

.hero-copy h1 {
  max-width: min(50vw, 840px);
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  line-height: 0.98;
}

.hero-copy p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 24px;
  font-size: 0.94rem;
  line-height: 1.58;
}

.eyebrow,
.section-heading p,
.route-card span,
.event-card span,
.articles span {
  color: var(--accent-text);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.hero-buttons {
  gap: 10px;
  margin-top: 34px;
}

.button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.86rem;
}

.button.light .button-arrow {
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: var(--ink);
}

.floating-cards {
  right: 24px;
  bottom: 28px;
  grid-template-columns: repeat(3, minmax(108px, 1fr));
  gap: 10px;
  width: min(46%, 500px);
}

.floating-cards article {
  min-height: 124px;
  border-radius: 18px;
  padding: 12px;
}

.floating-cards span {
  font-size: 0.78rem;
}

.floating-cards strong {
  margin-top: 6px;
  font-size: 0.92rem;
}

.floating-cards img {
  height: 52px;
  margin-top: 10px;
  border-radius: 12px;
}

.content-board,
.agenda-section,
.author-band,
.article-row {
  padding: clamp(28px, 4.2vw, 48px);
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.65rem);
}

.route-grid {
  grid-auto-rows: 142px;
  gap: 14px;
}

.route-card {
  border-radius: 21px;
  padding: 18px;
}

.route-card h3 {
  font-size: clamp(1.12rem, 1.9vw, 1.5rem);
  line-height: 1.12;
}

.green {
  color: var(--ink);
}

.green span,
.red span {
  color: rgba(20, 34, 58, 0.58);
}

.red {
  background: var(--accent);
  color: var(--ink);
}

.red span {
  color: rgba(20, 34, 58, 0.62);
}

.event-track {
  gap: 16px;
}

.event-card {
  grid-template-rows: 160px 1fr auto;
  border-radius: 21px;
}

.event-card.soft {
  grid-template-rows: 1fr auto;
}

.event-card div {
  padding: 24px 20px;
}

.event-card h3,
.articles h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.event-card p {
  font-size: 0.95rem;
}

.event-card a,
.event-card button {
  min-height: 46px;
  margin: 0 20px 20px;
  font-size: 0.95rem;
}

.author-band {
  gap: 20px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

.site-footer {
  padding: 60px 24px calc(40px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 320px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 200ms var(--ease-soft);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 200ms var(--ease-soft);
}

.footer-bottom a:hover {
  color: var(--accent);
}

@media (min-width: 821px) {
  .site-footer {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    grid-template-rows: auto auto;
    gap: 40px 64px;
    padding: 64px 48px calc(40px + env(safe-area-inset-bottom));
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-nav {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
  }

  .footer-nav a {
    padding: 0;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    margin-top: 16px;
  }

  .app-frame:not(.subpage) .topbar .brand-mark img {
    filter: brightness(0) invert(1);
  }
}


.author-band h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.author-band p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.62;
}

.author-points span {
  padding: 13px 16px;
  font-size: 0.94rem;
}

.articles {
  gap: 14px;
}

.articles article {
  border-radius: 22px;
  padding: 20px;
}

.subpage .topbar {
  padding: 18px;
}

.subpage-main {
  padding: clamp(24px, 4.5vw, 54px);
}

.page-hero {
  gap: 16px;
  margin-bottom: 24px;
  border-radius: 28px;
  padding: clamp(26px, 5vw, 54px);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.3vw, 3.3rem);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.6;
}

.page-grid {
  gap: 16px;
}

.page-card {
  border-radius: 23px;
}

.page-card div {
  padding: 20px;
}

.page-card h2,
.page-card h3 {
  font-size: 1.18rem;
  line-height: 1.16;
}

.page-card p {
  font-size: 0.95rem;
}

.page-card a,
.read-actions a,
.side-panel a,
.side-panel button {
  min-height: 40px;
  font-size: 0.9rem;
}

.article-body,
.side-panel,
.login-card {
  border-radius: 24px;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.72;
}

.event-detail {
  gap: 18px;
}

.event-detail img {
  min-height: 340px;
  border-radius: 28px;
}

.event-info {
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
}

.event-info h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.event-info p {
  font-size: 1rem;
}

.meta-list span {
  border-radius: 15px;
  padding: 12px 14px;
}

.reveal {
  transform: translateY(18px);
  filter: blur(3px);
}

.hero-newsletter {
  position: absolute;
  right: var(--hero-gutter);
  top: clamp(198px, 27svh, 268px);
  z-index: 3;
  display: grid;
  gap: 18px;
  width: clamp(280px, 27vw, 430px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  padding: clamp(22px, 2.4vw, 34px);
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.76), rgba(244, 241, 234, 0.22)),
    rgba(255, 255, 255, 0.12);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(11, 19, 43, 0.22);
  backdrop-filter: blur(22px) saturate(1.08);
}

.hero-newsletter .eyebrow {
  color: rgba(11, 19, 43, 0.58);
}

.hero-newsletter h2 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.6rem, 2.35vw, 2.35rem);
  font-weight: 500;
  line-height: 1.03;
}

.hero-newsletter p:not(.eyebrow) {
  max-width: 360px;
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-newsletter label {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  color: rgba(11, 19, 43, 0.64);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-newsletter input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-newsletter input:focus {
  border-color: rgba(240, 178, 0, 0.76);
  box-shadow: 0 0 0 4px rgba(240, 178, 0, 0.18);
}

.hero-newsletter button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(240, 178, 0, 0.26);
  transition: transform 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft);
}

.hero-newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(240, 178, 0, 0.34);
}

.wave-divider {
  position: absolute;
  right: -6%;
  bottom: -66px;
  left: -6%;
  z-index: 2;
  height: 120px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--cream);
}

.intro-split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 42px;
}

.intro-collage {
  position: relative;
  min-height: 255px;
}

.intro-collage img {
  position: absolute;
  width: 58%;
  height: 170px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(11, 19, 43, 0.13);
}

.intro-collage img:first-child {
  left: 0;
  top: 0;
}

.intro-collage img:nth-child(2) {
  right: 0;
  bottom: 0;
}

.intro-collage a {
  position: absolute;
  left: 48px;
  bottom: 36px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(11, 19, 43, 0.18);
}

.intro-collage .play-link span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

.intro-copy h2 {
  max-width: 520px;
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.intro-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(20, 34, 58, 0.64);
  font-size: 0.98rem;
  line-height: 1.68;
}

.contact-strip {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  border-radius: 22px;
  padding: 12px 14px 12px 18px;
  background: white;
  box-shadow: 0 16px 38px rgba(11, 19, 43, 0.1);
}

.contact-strip span {
  color: rgba(20, 34, 58, 0.64);
  font-size: 0.86rem;
}

.contact-strip a {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.routes-heading {
  margin-top: 10px;
}

.routes-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 10px 18px;
}

.routes-heading p {
  grid-column: 1 / -1;
}

.routes-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.routes-heading span {
  max-width: 330px;
  color: rgba(20, 34, 58, 0.56);
  font-size: 0.88rem;
  line-height: 1.5;
}

.route-grid {
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(160px, 0.75fr));
  grid-auto-rows: 190px;
  align-items: stretch;
}

.route-card {
  min-height: 0;
  justify-content: flex-start;
  border-color: rgba(20, 34, 58, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 40px rgba(11, 19, 43, 0.08);
}

.route-card h3 {
  max-width: 260px;
  margin-top: 7px;
  font-size: 1.08rem;
  line-height: 1.16;
}

.route-card small {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 220px;
  margin-top: 10px;
  color: rgba(20, 34, 58, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.route-card-photo {
  justify-content: flex-end;
  padding: 0;
  color: white;
}

.route-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(11, 19, 43, 0.78));
}

.route-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-card-photo div {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.route-card-photo span {
  color: rgba(255, 255, 255, 0.72);
}

.route-card-soft {
  padding: 20px;
  justify-content: center;
  background: rgba(239, 244, 248, 0.78);
}

.route-card-soft:nth-child(3) {
  background: rgba(245, 248, 249, 0.92);
}

.route-card-strong {
  background: var(--accent);
  color: var(--ink);
}

.route-card-strong span,
.route-card-strong small {
  color: rgba(20, 34, 58, 0.62);
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }

  .nav-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .hero-copy {
    padding-top: 210px;
  }

  .floating-cards {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    padding: 0 28px 28px;
  }

  .hero-panel {
    min-height: auto;
    height: auto;
  }

  .hero-newsletter {
    position: relative;
    top: auto;
    right: auto;
    width: min(360px, calc(100% - 56px));
    margin: 0 28px 18px auto;
  }

  .wave-divider {
    display: none;
  }

  .route-grid,
  .event-track,
  .articles,
  .author-band,
  .page-grid,
  .reading-layout,
  .event-detail,
  .intro-split {
    grid-template-columns: 1fr;
  }

  .intro-collage {
    max-width: 520px;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(26px, 4vw, 54px);
    align-items: center;
    min-height: calc(100svh - 30px);
    padding: clamp(178px, 18svh, 230px) clamp(44px, 6vw, 72px) clamp(54px, 7vw, 86px);
  }

  .path-line {
    width: 250px;
    height: 250px;
    margin: clamp(150px, 17svh, 206px) 0 0 clamp(58px, 8vw, 96px);
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(3.25rem, 6.8vw, 4.65rem);
    line-height: 1;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-newsletter {
    position: relative;
    inset: auto;
    align-self: center;
    justify-self: end;
    width: min(100%, 360px);
    margin: 0;
    padding: clamp(20px, 2.8vw, 28px);
  }

  .hero-newsletter h2 {
    font-size: clamp(1.55rem, 3vw, 2.05rem);
  }

  .hero-newsletter input,
  .hero-newsletter button {
    min-height: 48px;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .hero-copy {
    padding-top: clamp(150px, 20svh, 178px);
  }

  .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(2.4rem, 4.45vw, 4.65rem);
    line-height: 0.96;
  }

  .hero-copy p:not(.eyebrow) {
    margin-top: 18px;
    line-height: 1.48;
  }

  .hero-buttons {
    margin-top: 24px;
  }

  .hero-newsletter {
    top: clamp(150px, 20svh, 178px);
    width: clamp(260px, 25vw, 360px);
  }

  .path-line {
    width: 230px;
    height: 230px;
    margin-top: 82px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding: 8px;
  }

  .app-frame {
    width: 100%;
    border-width: 7px;
    border-radius: 30px;
  }

  .topbar,
  .subpage .topbar {
    position: relative;
    inset: auto;
    z-index: 12;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: auto;
    margin: 14px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 24px;
    background: rgba(247, 245, 240, 0.94);
    box-shadow: 0 10px 30px rgba(11, 19, 43, 0.08);
    backdrop-filter: blur(14px);
    transition: all 300ms var(--ease-soft);
  }

  .app-frame:not(.subpage) .topbar {
    position: absolute;
    top: 14px;
    right: 0;
    left: 0;
    width: auto;
    margin: 0 14px;
  }

  .topbar.is-open,
  .subpage .topbar.is-open {
    background: rgba(247, 245, 240, 0.96);
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: 0 18px 42px rgba(11, 19, 43, 0.12);
    backdrop-filter: blur(18px) saturate(1.04);
  }

  .topbar.is-open .brand-mark img {
    filter: none;
  }

  .app-frame:not(.subpage) .topbar.is-open {
    padding: 12px 18px;
    border-radius: 24px;
  }

  .brand-mark {
    width: 136px;
    height: 44px;
    padding: 0;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin-left: auto;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(247, 245, 240, 0.92);
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(11, 19, 43, 0.1);
    transition: transform 260ms var(--ease-soft), background 260ms var(--ease-soft), box-shadow 260ms var(--ease-soft);
  }

  .menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 19, 43, 0.16);
  }

  .menu-toggle[aria-expanded="true"] {
    background: var(--accent);
    transform: rotate(90deg);
  }

  .menu-toggle span {
    grid-area: 1 / 1;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 240ms var(--ease-soft), opacity 180ms var(--ease-soft);
  }

  .menu-toggle span:first-child {
    transform: translateY(-6px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }

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

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

  .nav-pills,
  .nav-actions {
    position: absolute;
    left: 18px;
    width: calc(100% - 36px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-8px) scale(0.98);
    transition:
      max-height 420ms var(--ease-out),
      opacity 240ms var(--ease-soft),
      transform 320ms var(--ease-soft);
  }

  .topbar.is-open .nav-pills,
  .topbar.is-open .nav-actions {
    position: relative;
    left: auto;
    width: 100%;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    max-height: 280px;
    transform: translateY(0) scale(1);
  }

  .topbar.is-open .nav-pills {
    margin-top: 8px;
  }

  .topbar.is-open .nav-pills a,
  .topbar.is-open .ghost-action,
  .topbar.is-open .primary-action {
    width: 100%;
    min-height: 42px;
    justify-content: space-between;
    border-color: rgba(20, 34, 58, 0.08);
    background: white;
    color: var(--ink);
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 280ms var(--ease-soft),
      transform 320ms var(--ease-soft),
      background 240ms var(--ease-soft),
      color 240ms var(--ease-soft);
  }

  .topbar.is-open .primary-action {
    background: var(--accent);
    color: var(--ink);
  }

  .topbar.is-open .nav-pills a,
  .topbar.is-open .nav-actions a {
    opacity: 1;
    transform: translateY(0);
  }

  .topbar.is-open .nav-pills a:nth-child(1) {
    transition-delay: 40ms;
  }

  .topbar.is-open .nav-pills a:nth-child(2) {
    transition-delay: 80ms;
  }

  .topbar.is-open .nav-pills a:nth-child(3) {
    transition-delay: 120ms;
  }

  .topbar.is-open .nav-actions a:nth-child(1) {
    transition-delay: 160ms;
  }

  .topbar.is-open .nav-actions a:nth-child(2) {
    transition-delay: 200ms;
  }

  .hero-panel {
    height: auto;
    min-height: calc(100svh - 30px);
    border-radius: 0 0 26px 26px;
  }

  .path-line {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: clamp(124px, 22svh, 164px) 20px 24px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 9.6vw, 3.15rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 32rem;
    font-size: 0.95rem;
  }

  .hero-buttons {
    margin-top: 26px;
  }

  .hero-newsletter {
    position: relative;
    inset: auto;
  }

  .hero-newsletter {
    width: calc(100% - 40px);
    margin: 0 20px 18px;
  }

}

@media (max-width: 720px) {
  .page-shell {
    padding: 10px;
  }

  .app-frame {
    width: 100%;
    border-width: 7px;
    border-radius: 30px;
  }

  .topbar {
    display: flex;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 132px;
    height: 44px;
    padding: 0;
  }

  .nav-pills,
  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-pills a,
  .ghost-action,
  .primary-action {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 9.6vw, 2.85rem);
  }

  .floating-cards,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .hero-newsletter {
    width: calc(100% - 40px);
    margin: 0 20px 18px;
  }

  .intro-collage {
    min-height: 225px;
  }

  .intro-collage img {
    height: 145px;
  }

  .contact-strip {
    display: grid;
    width: 100%;
  }

  .content-board,
  .agenda-section,
  .author-band,
  .article-row {
    padding: 28px 18px;
  }
}

.author-page {
  display: grid;
  gap: 22px;
}

.author-profile-hero,
.author-story-card,
.credential-card,
.author-closing-panel {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(247, 245, 240, 0.94);
  box-shadow: 0 18px 48px rgba(11, 19, 43, 0.1);
}

.author-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(30px, 5vw, 64px);
}

.author-profile-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -150px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(27, 95, 145, 0.09);
}

.author-profile-copy {
  position: relative;
  z-index: 1;
}

.author-profile-copy h1 {
  max-width: 720px;
  margin: 12px 0 0;
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  line-height: 0.98;
}

.author-lead {
  max-width: 630px;
  margin: 20px 0 0;
  color: rgba(20, 34, 58, 0.7);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.72;
}

.author-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.author-chip-list span {
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  color: rgba(20, 34, 58, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 10px 26px rgba(11, 19, 43, 0.06);
}

.author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.author-actions .ghost-action {
  background: white;
  color: var(--ink);
}

.author-portrait-card {
  position: relative;
  z-index: 1;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 9px solid white;
  border-radius: 32px;
  background: #dce7f0;
  box-shadow: 0 24px 60px rgba(11, 19, 43, 0.16);
}

.author-portrait-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center top;
}

.author-portrait-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 6px;
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(247, 245, 240, 0.83);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.author-portrait-card figcaption span {
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.author-portrait-card figcaption strong {
  font-size: 1rem;
  line-height: 1.35;
}

.author-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
}

.author-story-card {
  border-radius: 28px;
  padding: clamp(24px, 3.6vw, 42px);
}

.author-story-card.main {
  grid-row: span 2;
}

.author-story-card h2,
.author-closing-panel h2 {
  max-width: 690px;
  margin: 10px 0 0;
  font-size: clamp(1.65rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.author-story-card h3 {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.14;
}

.author-story-card p:not(.eyebrow),
.credential-card p {
  color: rgba(20, 34, 58, 0.66);
  line-height: 1.68;
}

.author-story-card.soft {
  background: rgba(255, 255, 255, 0.78);
}

.author-story-card.blue {
  background: var(--accent);
  color: var(--ink);
}

.author-story-card.blue .eyebrow,
.author-story-card.blue p {
  color: rgba(20, 34, 58, 0.68);
}

.author-credentials-section {
  border-radius: 30px;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.35);
}

.author-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.credential-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
  border-radius: 24px;
  padding: 22px;
}

.credential-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.credential-card h3 {
  margin: 8px 0 0;
  font-size: 1.1rem;
  line-height: 1.18;
}

.credential-card p {
  margin: 0;
  font-size: 0.93rem;
}

.author-closing-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 44px);
}

.author-closing-panel .author-actions {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .author-profile-hero,
  .author-story-grid,
  .author-closing-panel {
    grid-template-columns: 1fr;
  }

  .author-band-feature {
    grid-template-columns: minmax(210px, 0.65fr) minmax(240px, 1fr);
  }

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

  .author-portrait-card {
    max-width: 470px;
  }

  .author-closing-panel .author-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .author-page {
    gap: 16px;
  }

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

  .author-mini-portrait {
    min-height: 320px;
  }

  .author-mini-portrait img {
    min-height: 320px;
  }

  .subpage-main.author-page {
    padding: 18px 12px 24px;
  }

  .author-profile-hero,
  .author-story-card,
  .author-credentials-section,
  .author-closing-panel {
    border-radius: 24px;
    padding: 22px;
  }

  .author-profile-hero {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .author-profile-copy,
  .author-portrait-card,
  .author-story-card,
  .credential-card {
    min-width: 0;
    max-width: 100%;
  }

  .author-profile-copy h1 {
    font-size: clamp(2.1rem, 11vw, 2.45rem);
  }

  .author-lead {
    font-size: 0.96rem;
  }

  .author-chip-list {
    max-width: 100%;
  }

  .author-chip-list span {
    max-width: 100%;
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .author-portrait-card {
    width: 100%;
    min-height: 360px;
    margin-top: 22px;
    border-width: 6px;
    border-radius: 24px;
  }

  .author-portrait-card img {
    min-height: 360px;
  }

  .author-credentials-grid {
    grid-template-columns: 1fr;
  }

  .credential-card {
    min-height: 0;
  }
}

.full-action {
  width: 100%;
}

.admin-page {
  display: grid;
  gap: 26px;
}

.admin-hero h1 {
  max-width: 940px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.admin-tabs-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-top: 8px;
  padding-bottom: 24px;
  scrollbar-width: none;
}

.admin-tabs-nav::-webkit-scrollbar {
  display: none;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.4);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease-soft);
  white-space: nowrap;
}

.admin-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.admin-tab.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  box-shadow: 0 8px 24px rgba(11, 19, 43, 0.16);
}

[data-tab-content][hidden] {
  display: none !important;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.admin-panel,
.dynamic-section,
.reader-shell {
  border-radius: 30px;
  background: rgba(244, 241, 234, 0.96);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.09);
}

.admin-panel,
.reader-shell {
  padding: clamp(22px, 3.6vw, 40px);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-panel-head.compact {
  margin: 26px 0 12px;
}

.admin-panel-head.compact h3 {
  margin: 4px 0 0;
  font-size: 1.15rem;
}

.admin-panel-head h2,
.dynamic-section h2,
.event-status-grid h3 {
  margin: 6px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

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

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

.admin-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: rgba(11, 19, 43, 0.76);
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.rich-toolbar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 16px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft);
}

.admin-form textarea {
  min-height: 108px;
  padding: 14px;
  resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.rich-editor:focus {
  border-color: rgba(240, 178, 0, 0.78);
  box-shadow: 0 0 0 4px rgba(240, 178, 0, 0.16);
}

.secondary-action {
  min-height: 42px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.editor-block {
  display: grid;
  gap: 10px;
}

.field-note {
  display: block;
  margin-top: 2px;
  color: rgba(11, 19, 43, 0.54);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}

.field-note code {
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(240, 178, 0, 0.16);
  color: var(--ink);
}

.upload-preview {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.68);
}

.upload-preview[hidden] {
  display: none;
}

.upload-preview img {
  width: 100%;
  aspect-ratio: 1.7;
  border-radius: 14px;
  object-fit: cover;
}

.upload-preview small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(11, 19, 43, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.editorial-disclosure {
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.editorial-disclosure summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.editorial-disclosure .field-grid {
  margin-top: 18px;
}

.editor-workflow-nav {
  position: sticky;
  top: 12px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  padding: 8px;
  background: rgba(244, 241, 234, 0.76);
  box-shadow: 0 16px 34px rgba(11, 19, 43, 0.08);
  backdrop-filter: blur(16px);
}

.editor-workflow-nav a {
  min-height: 36px;
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(11, 19, 43, 0.7);
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 180ms var(--ease-soft), color 180ms var(--ease-soft);
}

.editor-workflow-nav a:hover {
  background: rgba(240, 178, 0, 0.2);
  color: var(--ink);
}

.editor-step-card {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 28px;
  padding: clamp(18px, 2.8vw, 28px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 234, 0.7)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 42px rgba(11, 19, 43, 0.06);
  scroll-margin-top: 24px;
}

.editor-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.editor-step-head > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(240, 178, 0, 0.24);
}

.editor-step-head h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.social-preview-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 22px;
  padding: 12px;
  background: rgba(244, 241, 234, 0.82);
}

.social-preview-card img {
  width: 100%;
  aspect-ratio: 1.62;
  border-radius: 16px;
  object-fit: cover;
}

.social-preview-card span,
.media-library-item span,
.version-item span,
.interest-person small {
  display: block;
  color: rgba(11, 19, 43, 0.48);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-preview-card strong,
.media-library-item strong,
.version-item strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1rem;
}

.social-preview-card p {
  margin: 6px 0 0;
  color: rgba(11, 19, 43, 0.6);
  line-height: 1.5;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 18px;
  padding: 8px;
  background: rgba(138, 165, 208, 0.14);
}

.rich-toolbar select {
  width: auto;
  min-width: 142px;
}

.rich-toolbar button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms var(--ease-soft), background 200ms var(--ease-soft);
}

.rich-toolbar button:hover {
  transform: translateY(-1px);
  background: var(--accent);
}

.toolbar-color-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 12px;
  background: white;
  color: rgba(11, 19, 43, 0.72);
  font-size: 0.85rem;
  font-weight: 700;
}

.toolbar-color-control input {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.rich-editor {
  min-height: 280px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 22px;
  padding: 22px;
  background: white;
  color: rgba(11, 19, 43, 0.78);
  font-size: 1rem;
  line-height: 1.75;
  outline: none;
}

.rich-editor h2,
.rich-content h2 {
  margin: 26px 0 12px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.rich-editor blockquote,
.rich-content blockquote {
  margin: 24px 0;
  border-left: 5px solid var(--accent);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(240, 178, 0, 0.14);
  color: rgba(11, 19, 43, 0.74);
}

.rich-editor img,
.rich-content img {
  max-width: 100%;
  border-radius: 20px;
}

.legacy-rich-toolbar[hidden] {
  display: none;
}

.quill-editor {
  padding: 0;
}

.rich-editor.quill-editor:not(.ql-container) {
  padding: 22px;
}

.ql-toolbar.ql-snow {
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 20px 20px 12px 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.ql-container.ql-snow {
  min-height: 300px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-top: 0;
  border-radius: 12px 12px 22px 22px;
  background: white;
  color: rgba(11, 19, 43, 0.78);
  font: inherit;
}

.ql-editor {
  min-height: 300px;
  padding: 24px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.75;
}

.ql-editor.ql-blank::before {
  color: rgba(11, 19, 43, 0.38);
  font-style: normal;
}

.ql-toolbar.ql-snow .ql-picker,
.ql-toolbar.ql-snow button {
  border-radius: 10px;
}

.ql-toolbar.ql-snow button:hover,
.ql-toolbar.ql-snow button.ql-active,
.ql-toolbar.ql-snow .ql-picker-label:hover,
.ql-toolbar.ql-snow .ql-picker-label.ql-active {
  color: var(--accent-text);
}

.ql-toolbar.ql-snow button:hover .ql-stroke,
.ql-toolbar.ql-snow button.ql-active .ql-stroke,
.ql-toolbar.ql-snow .ql-picker-label:hover .ql-stroke,
.ql-toolbar.ql-snow .ql-picker-label.ql-active .ql-stroke {
  stroke: var(--accent-text);
}

.editor-preview-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(11, 19, 43, 0.1);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(circle at 12% 12%, rgba(240, 178, 0, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(11, 19, 43, 0.08);
}

.editor-preview-card[hidden] {
  display: none;
}

.editor-preview-card h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.editor-preview-card p {
  margin: 0;
  color: rgba(11, 19, 43, 0.62);
  line-height: 1.6;
}

.editorial-ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 14px;
}

.editorial-meter-card,
.editorial-checklist-card,
.version-panel,
.media-library-panel {
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 36px rgba(11, 19, 43, 0.06);
}

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

.editorial-meter-row strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.editorial-meter-row span,
.editorial-meter-card small {
  color: rgba(11, 19, 43, 0.58);
  font-weight: 700;
}

.editorial-card-head .eyebrow {
  margin: 0;
}

.editorial-card-head span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(240, 178, 0, 0.18);
  color: var(--ink);
  font-weight: 800;
}

.editorial-checklist-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.editorial-checklist-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(244, 241, 234, 0.68);
  color: rgba(11, 19, 43, 0.7);
}

.editorial-checklist-card li span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(11, 19, 43, 0.08);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.editorial-checklist-card li p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.editorial-checklist-card li.is-ok span {
  background: rgba(85, 168, 103, 0.18);
  color: #276b39;
}

.editorial-checklist-card li.is-required span {
  background: rgba(209, 46, 60, 0.15);
  color: #9b2330;
}

.version-panel[hidden] {
  display: none;
}

.version-list,
.media-library-list,
.comment-moderation-list {
  display: grid;
  gap: 10px;
}

.version-item,
.media-library-item,
.moderation-comment-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.version-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.version-item button,
.media-library-item button,
.interest-toolbar button,
.interest-person button,
.moderation-comment-card button {
  min-height: 36px;
  border: 1px solid rgba(11, 19, 43, 0.1);
  border-radius: 999px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.media-library-panel {
  margin-top: 18px;
}

.media-library-item {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
}

.media-library-item img,
.media-file-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
}

.media-file-icon {
  display: grid;
  place-items: center;
  background: rgba(240, 178, 0, 0.18);
  color: var(--ink);
  font-weight: 900;
}

.interest-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.interest-toolbar select {
  min-height: 42px;
  border: 1px solid rgba(11, 19, 43, 0.1);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.moderation-comment-card.is-hidden {
  opacity: 0.68;
}

.moderation-comment-card p {
  margin: 0;
  color: rgba(11, 19, 43, 0.7);
  line-height: 1.55;
}

.moderation-comment-card blockquote {
  margin: 0;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(240, 178, 0, 0.12);
  color: var(--ink);
}

.review-queue-panel {
  display: grid;
  gap: 16px;
}

.review-queue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.review-queue-column {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 26px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.review-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-column-head .eyebrow {
  margin: 0;
}

.review-column-head span {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(240, 178, 0, 0.2);
  color: var(--ink);
  font-weight: 900;
}

.review-queue-list {
  display: grid;
  gap: 10px;
}

.review-queue-item {
  display: grid;
  gap: 8px;
  border-radius: 22px;
  padding: 14px;
  background: rgba(244, 241, 234, 0.82);
}

.review-queue-item.is-flagged {
  background: rgba(209, 46, 60, 0.1);
}

.review-queue-item h3,
.review-queue-item p {
  margin: 0;
}

.review-queue-item h3 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.16;
}

.review-queue-item p {
  color: rgba(11, 19, 43, 0.58);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-feedback {
  color: var(--pistachio);
  font-weight: 600;
}

.form-feedback[data-type="error"] {
  color: #a92d36;
}

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

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

.editorial-dashboard-panel {
  display: grid;
  gap: 22px;
}

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

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

.editorial-stat-card {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  padding: 20px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(244, 241, 234, 0.66));
  box-shadow: 0 18px 46px rgba(11, 19, 43, 0.08);
}

.editorial-stat-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -44px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(138, 165, 208, 0.26);
}

.editorial-stat-card.is-yellow::after {
  background: rgba(240, 178, 0, 0.34);
}

.editorial-stat-card span {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.9;
}

.editorial-stat-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(11, 19, 43, 0.62);
  font-weight: 700;
  line-height: 1.35;
}

.editorial-dashboard-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.dashboard-focus-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 28px;
  padding: clamp(18px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.64);
}

.dashboard-focus-card .admin-section-heading {
  margin-bottom: 0;
}

.dashboard-focus-card .admin-section-heading a {
  color: var(--accent-text);
  font-weight: 800;
}

.dashboard-priority-list {
  display: grid;
  gap: 10px;
}

.dashboard-priority-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-radius: 22px;
  padding: 14px;
  background: rgba(244, 241, 234, 0.78);
}

.dashboard-priority-item span,
.review-queue-item span {
  display: block;
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-priority-item strong,
.dashboard-priority-item p {
  display: block;
  margin: 0;
}

.dashboard-priority-item strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 1rem;
}

.dashboard-priority-item p {
  margin-top: 3px;
  color: rgba(11, 19, 43, 0.56);
  font-size: 0.88rem;
  font-weight: 650;
}

.dashboard-health-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-health-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 18px;
  padding: 11px 12px;
  background: rgba(244, 241, 234, 0.72);
}

.dashboard-health-list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(85, 168, 103, 0.18);
  color: #276b39;
  font-size: 0.68rem;
  font-weight: 900;
}

.dashboard-health-list li.is-warn span {
  background: rgba(240, 178, 0, 0.22);
  color: #8a6400;
}

.dashboard-health-list p {
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-size: 0.9rem;
  font-weight: 700;
}

.content-backup-panel {
  display: grid;
  gap: 20px;
  overflow: hidden;
}

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

.content-backup-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 30px;
  padding: clamp(20px, 2.2vw, 28px);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(244, 241, 234, 0.58));
  box-shadow: 0 20px 54px rgba(11, 19, 43, 0.08);
}

.content-backup-card > span {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(240, 178, 0, 0.2);
  color: #8a6400;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-backup-card h3,
.content-backup-card p {
  margin: 0;
}

.content-backup-card h3 {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.content-backup-card p {
  color: rgba(11, 19, 43, 0.62);
  font-size: 0.98rem;
  line-height: 1.55;
}

.content-backup-card code {
  border-radius: 8px;
  padding: 2px 6px;
  background: rgba(11, 19, 43, 0.08);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
}

.content-backup-card .primary-action,
.content-backup-card .secondary-action {
  width: fit-content;
  justify-content: center;
}

.content-backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.content-import-preview {
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 26px;
  padding: clamp(18px, 2vw, 24px);
  background:
    linear-gradient(135deg, rgba(240, 178, 0, 0.18), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.58);
}

.content-import-preview h3,
.content-import-preview p {
  margin: 0;
}

.content-import-preview h3 {
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.content-import-preview p {
  margin-top: 8px;
  color: rgba(11, 19, 43, 0.64);
  font-weight: 700;
}

.content-import-preview small {
  display: block;
  margin-top: 12px;
  color: rgba(11, 19, 43, 0.54);
  line-height: 1.45;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-card {
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(240, 178, 0, 0.2), rgba(255, 255, 255, 0.68)),
    white;
}

.dashboard-card span {
  display: block;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.9;
}

.dashboard-card p {
  margin: 10px 0 0;
  color: rgba(11, 19, 43, 0.62);
  font-weight: 600;
}

.admin-hint {
  margin: 0;
  color: rgba(11, 19, 43, 0.62);
  line-height: 1.55;
}

.admin-hint code,
.role-access-card code {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(11, 19, 43, 0.08);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.88em;
  font-weight: 700;
  word-break: break-all;
}

.firestore-meta code {
  display: inline-block;
  margin-top: 2px;
  border-radius: 6px;
  padding: 4px 8px;
  background: rgba(11, 19, 43, 0.08);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.88em;
  font-weight: 700;
  word-break: break-all;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-item-actions button {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
}

.admin-item-actions button:hover {
  background: rgba(11, 19, 43, 0.8);
}

.admin-item-actions button[data-disable-user],
.admin-item-actions button[data-remove-invite] {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  font-weight: 600;
}

.admin-item-actions button[data-disable-user]:hover,
.admin-item-actions button[data-remove-invite]:hover {
  background: rgba(239, 68, 68, 0.2);
}

.admin-insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 18px;
  align-items: start;
}

.admin-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-section-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.user-report-list,
.event-interest-list,
.interest-people {
  display: grid;
  gap: 12px;
}

.user-report-card,
.interest-group-card {
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.06);
}

.user-report-card.is-disabled {
  opacity: 0.62;
}

.user-report-main {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.user-report-main img,
.user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.user-report-main img {
  object-fit: cover;
}

.user-avatar {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.user-report-main span,
.interest-group-head span {
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-report-main h3,
.user-report-main p,
.activity-summary,
.interest-group-head h3,
.interest-person strong,
.interest-person span {
  margin: 0;
}

.user-report-main h3,
.interest-group-head h3 {
  margin-top: 2px;
  font-size: 1.08rem;
  line-height: 1.15;
}

.user-report-main p,
.activity-summary,
.interest-person span {
  color: rgba(11, 19, 43, 0.62);
  font-size: 0.9rem;
  line-height: 1.45;
}

.activity-summary {
  margin-top: 12px;
}

.firestore-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px !important;
}

.activity-details {
  margin-top: 10px;
  border-radius: 18px;
  background: rgba(244, 241, 234, 0.7);
}

.activity-details summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
}

.activity-details ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 14px 14px 32px;
  color: rgba(11, 19, 43, 0.68);
}

.activity-details li span {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
}

.interest-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.interest-person {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(244, 241, 234, 0.74);
}

.super-admin-panel[hidden] {
  display: none;
}

.access-item {
  grid-template-columns: 1fr;
}

.soft-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(11, 19, 43, 0.1);
}

.admin-list-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 22px;
  padding: 12px;
  background: white;
}

.activity-details.access-item {
  margin-top: 0;
  background: white;
  border: 1px solid rgba(11, 19, 43, 0.08);
}

.admin-list-item img {
  width: 100%;
  height: 104px;
  border-radius: 16px;
  object-fit: cover;
}

.admin-list-item h3 {
  margin: 4px 0 6px;
  font-size: 1.04rem;
  line-height: 1.18;
}

.admin-list-item p,
.admin-list-item small {
  display: block;
  margin: 0;
  color: rgba(11, 19, 43, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-list-item span {
  color: var(--accent-text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-item-actions button,
.admin-item-actions a {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(11, 19, 43, 0.92);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-item-actions button[data-delete-list-article],
.admin-item-actions button[data-delete-list-event],
.admin-item-actions button[data-disable-user],
.admin-item-actions button[data-report-disable-user],
.admin-item-actions button[data-remove-invite] {
  background: rgba(209, 46, 60, 0.12);
  color: #9b2330;
}

.admin-item-actions a {
  display: inline-flex;
  align-items: center;
}

.empty-state {
  margin: 0;
  border: 1px dashed rgba(11, 19, 43, 0.18);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(11, 19, 43, 0.62);
  font-weight: 600;
  line-height: 1.5;
}

.dynamic-section {
  display: grid;
  gap: 22px;
  margin-top: 26px;
  padding: clamp(24px, 4vw, 42px);
}

.dynamic-section[hidden] {
  display: none;
}

.dynamic-section .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
}

.event-status-grid {
  display: grid;
  gap: 30px;
}

.event-status-grid > section {
  display: grid;
  gap: 14px;
}

.event-status-grid .page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-card .card-actions a {
  margin-top: 0;
}

.page-card .secondary-link,
.read-actions a:nth-child(n + 2) {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(11, 19, 43, 0.1);
}

.reader-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.reader-cover {
  width: 100%;
  max-height: 420px;
  margin-bottom: 28px;
  object-fit: cover;
}

.article-attachment {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.read-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.read-actions button,
.engagement-actions button,
.comment-form button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.engagement-actions button[data-liked="true"],
.engagement-actions button[data-disliked="true"] {
  background: var(--ink);
  color: white;
}

.reader-engagement {
  display: grid;
  gap: 20px;
  margin-top: 34px;
  border-top: 1px solid rgba(11, 19, 43, 0.12);
  padding-top: 28px;
}

.reading-progress {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 5px;
  margin: -12px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 19, 43, 0.08);
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--accent);
}

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

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form label {
  display: grid;
  gap: 10px;
  color: rgba(11, 19, 43, 0.7);
  font-weight: 700;
}

.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 20px;
  padding: 16px;
  background: white;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

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

.comment-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.comment-item img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.comment-item strong,
.comment-item span {
  display: block;
}

.comment-item span {
  color: rgba(11, 19, 43, 0.5);
  font-size: 0.82rem;
}

.admin-reply {
  margin-top: 12px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(240, 178, 0, 0.12);
}

.admin-reply span {
  color: rgba(11, 19, 43, 0.56);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-reply p {
  margin: 5px 0 0;
}

.comment-item {
  grid-template-columns: 1fr;
}

.article-gallery-card {
  position: relative;
}

.article-card-actions {
  margin-top: 16px;
}

.article-card-actions .article-admin-button,
.danger-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 19, 43, 0.1);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 220ms var(--ease-soft), background 220ms var(--ease-soft), color 220ms var(--ease-soft);
}

.article-card-actions .article-admin-button:hover,
.danger-action:hover {
  transform: translateY(-2px);
  background: white;
}

.article-card-actions .article-admin-button.danger,
.danger-action {
  background: rgba(209, 46, 60, 0.1);
  color: #9b2330;
}

.article-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 46px);
}

.article-editor-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 19, 43, 0.46);
  backdrop-filter: blur(14px) saturate(1.04);
}

.article-editor-card {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: min(88vh, 920px);
  overflow: auto;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 34px;
  padding: clamp(22px, 3vw, 38px);
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.96), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 30px 90px rgba(11, 19, 43, 0.26);
  backdrop-filter: blur(20px) saturate(1.06);
}

.article-editor-head,
.article-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.article-editor-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.85rem, 4vw, 3.4rem);
  line-height: 1;
}

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

.modal-rich-toolbar {
  margin-top: 4px;
}

.modal-rich-editor {
  min-height: 300px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  outline: none;
}

.modal-rich-editor:focus {
  border-color: rgba(240, 178, 0, 0.72);
  box-shadow: 0 0 0 4px rgba(240, 178, 0, 0.14);
}

.reader-hero-pro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: stretch;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 38px;
  padding: clamp(24px, 4vw, 54px);
  background:
    radial-gradient(circle at 16% 18%, rgba(240, 178, 0, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(244, 241, 234, 0.92), rgba(255, 255, 255, 0.7));
  box-shadow: 0 24px 80px rgba(11, 19, 43, 0.12);
  backdrop-filter: blur(18px) saturate(1.04);
}

.reader-hero-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.reader-hero-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.96;
}

.reader-hero-copy p:not(.eyebrow) {
  max-width: 64ch;
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.72;
}

.reader-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reader-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reader-meta-line span {
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(11, 19, 43, 0.68);
  font-size: 0.84rem;
  font-weight: 800;
}

.reader-hero-actions button,
.reader-hero-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.reader-hero-actions a {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(11, 19, 43, 0.1);
}

.reader-hero-media {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  box-shadow: 0 22px 70px rgba(11, 19, 43, 0.14);
}

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

.reader-layout-pro {
  grid-template-columns: minmax(0, 820px) minmax(260px, 330px);
  justify-content: center;
}

.reader-article-pro {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 234, 0.94)),
    var(--cream);
}

.article-body-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.article-body-kicker span {
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(240, 178, 0, 0.16);
  color: rgba(11, 19, 43, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rich-content h2,
.rich-content h3 {
  margin: 34px 0 14px;
  line-height: 1.12;
}

.rich-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.rich-content h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
}

.rich-content blockquote {
  margin: 34px 0;
  border-left: 6px solid var(--accent);
  border-radius: 24px;
  padding: 24px 26px;
  background: rgba(240, 178, 0, 0.12);
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.rich-content p {
  overflow-wrap: anywhere;
}

.rich-content a {
  color: #1e5d8f;
  font-weight: 800;
  text-decoration-color: rgba(30, 93, 143, 0.32);
  text-underline-offset: 0.18em;
}

.rich-content a:hover {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.rich-content ul,
.rich-content ol {
  margin: 24px 0;
  padding-left: 1.35em;
}

.rich-content li {
  margin: 10px 0;
  padding-left: 0.18em;
  line-height: 1.72;
}

.rich-content figure {
  margin: 36px 0;
}

.rich-content figure img {
  display: block;
  width: 100%;
}

.rich-content figcaption {
  margin-top: 10px;
  color: rgba(11, 19, 43, 0.54);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.rich-content iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 320px;
  margin: 34px 0;
  border: 0;
  border-radius: 22px;
  background: rgba(11, 19, 43, 0.08);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.12);
}

.rich-content table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.rich-content th,
.rich-content td {
  border: 1px solid rgba(11, 19, 43, 0.1);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.rich-content th {
  background: rgba(240, 178, 0, 0.12);
  color: var(--ink);
}

.rich-content pre {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(11, 19, 43, 0.92);
  color: white;
  line-height: 1.55;
}

.rich-content code {
  border-radius: 8px;
  padding: 0.12em 0.36em;
  background: rgba(11, 19, 43, 0.08);
}

.rich-content pre code {
  padding: 0;
  background: transparent;
}

.rich-content hr {
  width: min(180px, 48%);
  margin: 42px auto;
  border: 0;
  border-top: 2px solid rgba(240, 178, 0, 0.7);
}

.rich-content .ql-align-center,
.rich-content [style*="text-align: center"] {
  text-align: center;
}

.rich-content .ql-align-right,
.rich-content [style*="text-align: right"] {
  text-align: right;
}

.rich-content .ql-align-justify,
.rich-content [style*="text-align: justify"] {
  text-align: justify;
}

.rich-content .ql-indent-1 {
  margin-left: 2em;
}

.rich-content .ql-indent-2 {
  margin-left: 4em;
}

.article-note {
  margin: 34px 0;
  border-left: 6px solid var(--accent);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(240, 178, 0, 0.16), rgba(255, 255, 255, 0.68)),
    rgba(244, 241, 234, 0.9);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(11, 19, 43, 0.08);
}

.article-note span {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(11, 19, 43, 0.52);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-note p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 500;
  line-height: 1.62;
}

.article-footnote,
.article-facts {
  border-left-color: rgba(11, 19, 43, 0.22);
  background: rgba(255, 255, 255, 0.62);
}

.article-footnote p,
.article-facts p {
  color: rgba(11, 19, 43, 0.72);
  font-size: 1rem;
}

.rich-content img {
  max-width: 100%;
  border-radius: 24px;
}

.reader-share-pro {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 28px;
  padding: 24px;
  background: rgba(244, 241, 234, 0.66);
  box-shadow: 0 18px 54px rgba(11, 19, 43, 0.1);
  backdrop-filter: blur(18px);
}

.reader-share-pro h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.article-newsletter-cta {
  margin: 40px 0 8px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 28px;
  padding: clamp(20px, 3vw, 32px);
  background:
    radial-gradient(circle at 86% 20%, rgba(240, 178, 0, 0.2), transparent 38%),
    rgba(244, 241, 234, 0.82);
}

.article-newsletter-cta h3 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.article-newsletter-cta p:not(.eyebrow) {
  max-width: 62ch;
  margin: 0 0 18px;
  color: rgba(11, 19, 43, 0.62);
  line-height: 1.65;
}

.related-articles {
  margin-top: 34px;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(244, 241, 234, 0.72);
}

.related-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.related-article-card {
  display: grid;
  gap: 12px;
  border-radius: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(11, 19, 43, 0.08);
}

.related-article-card img {
  width: 100%;
  aspect-ratio: 1.4;
  border-radius: 18px;
  object-fit: cover;
}

.related-article-card span {
  color: rgba(11, 19, 43, 0.5);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-article-card strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.comments-heading h3 {
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.comment-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.comment-avatar,
.comment-avatar-placeholder {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(240, 178, 0, 0.22);
}

.comment-meta strong,
.comment-meta time {
  display: block;
}

.comment-meta time {
  color: rgba(11, 19, 43, 0.5);
  font-size: 0.82rem;
}

.comment-content {
  margin-top: 12px;
}

.comment-content p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.62;
}

@media (min-width: 1101px) {
  .hero-panel {
    height: calc(100svh - (clamp(10px, 1.5svh, 18px) * 2) - 20px);
    min-height: 650px;
    max-height: 900px;
  }

  .hero-copy {
    position: absolute;
    left: var(--hero-gutter);
    top: 54%;
    width: min(46vw, 760px);
    max-width: min(46vw, 760px);
    padding: 0;
    transform: translateY(-43%);
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.8rem, 4.4vw, 5.2rem);
    line-height: 0.98;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 560px;
    margin-top: 30px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-buttons {
    margin-top: 42px;
  }

  .hero-newsletter {
    top: 52%;
    transform: translateY(-38%);
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .hero-copy {
    top: 55%;
    transform: translateY(-43%);
  }

  .hero-copy h1 {
    max-width: 680px;
    font-size: clamp(2.45rem, 4vw, 4.4rem);
    line-height: 0.98;
  }

  .hero-copy p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .hero-buttons {
    margin-top: 30px;
  }

  .hero-newsletter {
    top: 51%;
    width: clamp(270px, 23vw, 370px);
    transform: translateY(-38%);
  }
}

@media (max-width: 1100px) {
  .reader-hero-pro,
  .reader-layout-pro,
  .modal-editor-grid,
  .editorial-ops-grid,
  .editorial-dashboard-split,
  .admin-insight-layout {
    grid-template-columns: 1fr;
  }

  .reader-hero-media {
    min-height: 280px;
  }

  .article-editor-head,
  .article-editor-actions {
    display: grid;
  }
}

@media (max-width: 720px) {
  .reader-hero-pro,
  .article-editor-card,
  .reader-share-pro {
    border-radius: 24px;
    padding: 20px;
  }

  .reader-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.03;
  }

  .reader-hero-media {
    min-height: 220px;
    border-width: 5px;
    border-radius: 22px;
  }

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

  .related-article-grid,
  .social-preview-card {
    grid-template-columns: 1fr;
  }

  .version-item,
  .media-library-item {
    grid-template-columns: 1fr;
  }
}

.account-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 400px);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: 0;
  overflow: hidden;
  padding: clamp(34px, 5vw, 70px);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.92), rgba(244, 241, 234, 0.62) 58%, rgba(240, 178, 0, 0.12)),
    radial-gradient(circle at 12% 22%, rgba(240, 178, 0, 0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(138, 165, 208, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.22);
}

.account-hero::before {
  content: "";
  position: absolute;
  inset: 24px auto auto -110px;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 42% 58% 54% 46%;
  background: rgba(240, 178, 0, 0.1);
  filter: blur(2px);
  opacity: 0.72;
  pointer-events: none;
  transform: rotate(-14deg);
}

.account-hero::after {
  content: "";
  position: absolute;
  inset: auto 34px 28px auto;
  width: min(30vw, 360px);
  height: min(16vw, 190px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  filter: blur(28px);
  pointer-events: none;
}

.account-hero > * {
  position: relative;
  z-index: 1;
}

.account-hero-copy {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  align-content: center;
  max-width: 820px;
}

.account-hero h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 4.15vw, 4.7rem);
  line-height: 0.98;
  text-wrap: balance;
}

.account-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(11, 19, 43, 0.64);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.58;
}

.account-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 8px;
}

.account-quick-grid a {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 108px;
  overflow: hidden;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 16px 40px rgba(11, 19, 43, 0.06);
  transition: transform 220ms var(--ease-soft), background 220ms var(--ease-soft), box-shadow 220ms var(--ease-soft);
}

.account-quick-grid a::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--mango);
  color: var(--ink);
}

.account-quick-grid a::before {
  content: "";
  position: absolute;
  right: 25px;
  top: 24px;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}

.account-quick-grid a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 48px rgba(11, 19, 43, 0.09);
}

.account-quick-grid span {
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-quick-grid strong {
  max-width: 12ch;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.12;
}

.profile-card {
  display: grid;
  gap: 18px;
  width: min(100%, 400px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(244, 241, 234, 0.76)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    0 24px 60px rgba(11, 19, 43, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(1.08);
}

.profile-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-avatar-wrap {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(240, 178, 0, 0.36), transparent 42%),
    linear-gradient(145deg, rgba(11, 19, 43, 0.96), rgba(31, 95, 150, 0.72));
  box-shadow: 0 18px 38px rgba(11, 19, 43, 0.16);
}

.profile-card img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.profile-avatar-fallback {
  color: white;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.account-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(85, 168, 103, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(85, 168, 103, 0.1);
  color: rgba(11, 19, 43, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.account-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pistachio);
  box-shadow: 0 0 0 5px rgba(85, 168, 103, 0.12);
}

.profile-identity {
  display: grid;
  gap: 10px;
}

.profile-card h2,
.profile-card p,
.profile-card dl,
.profile-card dd {
  margin: 0;
}

.profile-card h2 {
  font-size: clamp(1.65rem, 2.2vw, 2.12rem);
  line-height: 1.02;
}

.role-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(240, 178, 0, 0.2);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-card[data-role="superAdmin"] .role-chip {
  background: rgba(240, 178, 0, 0.3);
}

.profile-card[data-role="admin"] .role-chip,
.profile-card[data-role="editorialAdmin"] .role-chip {
  background: rgba(138, 165, 208, 0.22);
}

.profile-meta-list {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(11, 19, 43, 0.08);
  padding-top: 4px;
}

.profile-meta-list div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px solid rgba(11, 19, 43, 0.07);
  padding: 12px 0;
}

.profile-meta-list dt {
  color: rgba(11, 19, 43, 0.48);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-meta-list dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(11, 19, 43, 0.78);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.profile-card-actions {
  display: grid;
  gap: 12px;
}

.profile-card-actions .primary-action,
.profile-card-actions .secondary-action {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
  justify-content: center;
  border-radius: 999px;
  padding-inline: 18px;
  text-align: center;
  line-height: 1;
}

.profile-card-actions .primary-action,
.profile-card-actions .secondary-action,
.profile-card-actions .profile-logout {
  grid-column: 1 / -1;
}

.profile-card-actions .profile-logout {
  background: rgba(255, 255, 255, 0.64);
  color: rgba(11, 19, 43, 0.72);
}

.profile-card-actions .secondary-action:not(.profile-logout) {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.profile-card-actions .secondary-action:hover {
  border-color: rgba(240, 178, 0, 0.32);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(11, 19, 43, 0.08);
  transform: translateY(-1px);
}

.profile-edit-panel {
  scroll-margin-top: 24px;
}

.profile-edit-panel.is-highlighted {
  animation: profilePanelFocus 1100ms var(--ease-out);
}

.profile-form {
  gap: 22px;
}

.profile-form .form-field {
  gap: 10px;
}

.profile-form .form-field input,
.profile-form .form-field textarea {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.profile-form .form-field textarea {
  min-height: 150px;
}

.admin-form .profile-checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.64);
  color: rgba(11, 19, 43, 0.72);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.admin-form .profile-checkbox input[type="checkbox"] {
  display: grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 2px solid rgba(11, 19, 43, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  cursor: pointer;
  transition: background 180ms var(--ease-soft), border-color 180ms var(--ease-soft), box-shadow 180ms var(--ease-soft);
}

.admin-form .profile-checkbox input[type="checkbox"]::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.7);
  transition: opacity 160ms var(--ease-soft), transform 160ms var(--ease-soft);
}

.admin-form .profile-checkbox input[type="checkbox"]:checked {
  border-color: var(--mango);
  background: var(--mango);
  box-shadow: 0 8px 18px rgba(240, 178, 0, 0.22);
}

.admin-form .profile-checkbox input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.admin-form .profile-checkbox input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(240, 178, 0, 0.26);
  outline-offset: 3px;
}

.admin-form .profile-checkbox span {
  min-width: 0;
}

@keyframes profilePanelFocus {
  0% {
    box-shadow: 0 18px 50px rgba(11, 19, 43, 0.09), 0 0 0 0 rgba(240, 178, 0, 0.28);
  }

  40% {
    box-shadow: 0 22px 58px rgba(11, 19, 43, 0.12), 0 0 0 8px rgba(240, 178, 0, 0.14);
  }

  100% {
    box-shadow: 0 18px 50px rgba(11, 19, 43, 0.09), 0 0 0 0 rgba(240, 178, 0, 0);
  }
}

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

.role-access-card {
  align-content: start;
  gap: 16px;
}

.role-access-card[hidden] {
  display: none;
}

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

.saved-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 22px;
  padding: 16px;
  background: white;
}

.saved-item h3,
.saved-item p {
  margin: 0;
}

.dynamic-event-detail .read-actions {
  margin-top: 8px;
}

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

.reveal:not(.is-visible) {
  transform: translateY(14px) scale(0.995);
}

@media (max-width: 1100px) {
  .admin-layout,
  .account-hero,
  .admin-insight-layout,
  .editorial-dashboard-split,
  .event-status-grid .page-grid {
    grid-template-columns: 1fr;
  }

  .account-hero {
    min-height: 0;
  }

  .profile-card {
    width: 100%;
    max-width: 520px;
    justify-self: start;
  }

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

  .editorial-dashboard-grid,
  .review-queue-grid,
  .content-backup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .subpage-main {
    padding: clamp(18px, 3vw, 30px);
    overflow-x: clip;
  }

  .account-hero {
    width: 100%;
    max-width: 100%;
    gap: clamp(20px, 4vw, 30px);
    padding: clamp(28px, 5vw, 44px);
    border-radius: 32px;
  }

  .account-hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .account-hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 6.6vw, 3.55rem);
    line-height: 1.03;
    overflow-wrap: normal;
  }

  .account-hero p:not(.eyebrow) {
    max-width: 58ch;
  }

  .account-quick-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-quick-grid a {
    min-width: 0;
    min-height: 94px;
    padding: 18px 56px 18px 18px;
  }

  .account-quick-grid a:nth-child(3) {
    grid-column: 1 / -1;
  }

  .account-quick-grid strong {
    max-width: none;
  }

  .profile-card {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .admin-page {
    gap: 18px;
  }

  .admin-hero h1,
  .reader-hero h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.04;
  }

  .admin-panel,
  .dynamic-section,
  .reader-shell {
    border-radius: 24px;
    padding: 20px;
  }

  .admin-panel-head,
  .dynamic-section .section-heading {
    display: grid;
    align-items: start;
  }

  .field-grid,
  .admin-list-item,
  .admin-dashboard-grid,
  .editorial-dashboard-grid,
  .review-queue-grid,
  .content-backup-grid,
  .dashboard-priority-item {
    grid-template-columns: 1fr;
  }

  .editor-workflow-nav {
    position: static;
    border-radius: 24px;
  }

  .editor-workflow-nav a {
    flex: 1 1 130px;
    text-align: center;
  }

  .rich-toolbar {
    gap: 6px;
  }

  .rich-toolbar select,
  .rich-toolbar button,
  .toolbar-color-control {
    flex: 1 1 auto;
    min-height: 40px;
  }

  .rich-content iframe {
    min-height: 220px;
    border-radius: 18px;
  }

  .rich-editor {
    min-height: 240px;
    padding: 18px;
  }

  .form-actions,
  .read-actions {
    display: grid;
    width: 100%;
  }

  .form-actions .primary-action,
  .read-actions a,
  .read-actions button {
    width: 100%;
  }

  .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
  }

  .card-actions a,
  .card-actions button,
  .article-card-actions .article-admin-button,
  .danger-action {
    flex: 1 1 120px;
    width: auto !important;
    min-height: 40px;
    margin: 0 !important;
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
  }

  .account-hero,
  .account-grid,
  .saved-item,
  .login-choice-grid,
  .interest-group-head,
  .interest-person,
  .comment-item {
    grid-template-columns: 1fr;
  }

  .account-quick-grid a:nth-child(3) {
    grid-column: auto;
  }

  .account-hero-copy {
    min-height: 0;
  }

  .account-hero::before,
  .account-hero::after {
    opacity: 0.32;
  }

  .login-main {
    min-height: 0;
  }

  .login-choice {
    min-height: 0;
  }

  .interest-person {
    display: grid;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 540px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-shell {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    overflow-x: clip;
  }

  .app-frame.subpage {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    border-width: 5px;
    border-radius: 28px;
  }

  .subpage-main {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    padding: 10px;
    overflow-x: clip;
  }

  .subpage .topbar {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .page-hero,
  .account-hero,
  .admin-panel,
  .dynamic-section,
  .login-card,
  .login-choice,
  .complete-profile-card,
  .newsletter-card {
    width: min(100%, calc(100vw - 28px));
    max-width: 100%;
    max-inline-size: calc(100vw - 28px);
    min-width: 0;
    margin-inline: 0;
    border-radius: 26px;
  }

  .account-hero {
    gap: 20px;
    padding: 24px 18px;
    align-items: start;
  }

  .page-hero,
  .account-hero,
  .admin-panel,
  .dynamic-section {
    width: 100%;
    max-inline-size: 100%;
  }

  .login-card,
  .login-choice,
  .complete-profile-card,
  .newsletter-card {
    width: min(100%, 360px);
    max-inline-size: min(100%, 360px);
  }

  .account-hero::before {
    inset: -42px auto auto -92px;
    width: 260px;
    height: 260px;
  }

  .account-hero::after {
    inset: auto -80px 18px auto;
    width: 230px;
    height: 150px;
  }

  .account-hero-copy {
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .account-hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 11vw, 2.8rem);
    line-height: 1.04;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .account-hero p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .account-quick-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }

  .account-quick-grid a {
    min-height: 78px;
    border-radius: 20px;
    padding: 16px 48px 16px 16px;
  }

  .account-quick-grid strong {
    max-width: none;
    font-size: 1rem;
  }

  .profile-card {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    gap: 16px;
    border-radius: 26px;
    padding: 18px;
  }

  .profile-card-top {
    align-items: center;
    gap: 12px;
  }

  .profile-avatar-wrap {
    width: 64px;
    height: 64px;
    border-radius: 22px;
  }

  .profile-card img {
    border-radius: 18px;
  }

  .account-status {
    gap: 7px;
    padding: 6px 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .account-status::before {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 4px rgba(85, 168, 103, 0.12);
  }

  .profile-card h2 {
    font-size: clamp(1.55rem, 8vw, 2.08rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .role-chip {
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  .profile-meta-list {
    gap: 4px;
  }

  .profile-meta-list div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 10px 0;
  }

  .profile-meta-list dt {
    font-size: 0.68rem;
  }

  .profile-meta-list dd {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .profile-card-actions {
    gap: 10px;
  }

  .profile-card-actions .primary-action,
  .profile-card-actions .secondary-action {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 0.96rem;
  }

  .account-grid {
    gap: 14px;
  }

  .profile-edit-panel {
    scroll-margin-top: 12px;
  }

  .profile-form {
    gap: 16px;
  }

  .profile-form .form-field input,
  .profile-form .form-field textarea,
  .login-card input,
  .login-choice input,
  .newsletter-form input {
    min-width: 0;
    min-height: 50px;
    border-radius: 18px;
    font-size: 1rem;
  }

  .profile-form .form-field textarea {
    min-height: 130px;
  }

  .admin-form .profile-checkbox {
    align-items: start;
    gap: 12px;
    border-radius: 18px;
    padding: 14px;
    font-size: 0.92rem;
  }

  .admin-form .profile-checkbox span {
    line-height: 1.35;
  }

  .login-main,
  .newsletter-main {
    min-height: 0;
    place-items: stretch;
  }

  .login-card,
  .complete-profile-card,
  .newsletter-card {
    padding: 22px 16px;
  }

  .login-card *,
  .login-choice *,
  .complete-profile-card *,
  .newsletter-card *,
  .profile-card *,
  .profile-edit-panel * {
    min-width: 0;
  }

  .login-heading {
    margin-bottom: 22px;
    text-align: left;
  }

  .login-heading h1,
  .complete-profile-card h2,
  .newsletter-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.04;
  }

  .login-choice-grid,
  .newsletter-card {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .login-choice {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
  }

  .login-heading p:not(.eyebrow),
  .login-choice p:not(.eyebrow),
  .complete-profile-card p:not(.eyebrow),
  .newsletter-copy p {
    overflow-wrap: anywhere;
  }

  .complete-profile-card p:not(.eyebrow),
  .newsletter-copy p {
    max-width: 100%;
  }
}

/* --- Highlights Band --- */
.highlights-band {
  width: 100%;
  padding: 24px 24px 0;
  max-width: 1400px;
  margin: 0 auto 32px;
}

.highlights-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 18px 48px rgba(11, 19, 43, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.highlight-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 48px;
  min-height: 260px;
  transition: background 300ms var(--ease-soft), color 300ms var(--ease-soft);
}

/* Temas de cores do banner */
.highlight-slide.theme-cream {
  background: linear-gradient(135deg, rgba(247, 245, 240, 0.95), rgba(239, 244, 248, 0.95));
  color: var(--ink);
}
.highlight-slide.theme-cream h2 {
  color: var(--ink);
}

.highlight-slide.theme-blue {
  background: linear-gradient(135deg, rgba(216, 229, 245, 0.95), rgba(200, 218, 238, 0.95));
  color: var(--ink);
}
.highlight-slide.theme-blue h2 {
  color: var(--blue-deep);
}

.highlight-slide.theme-navy {
  background: linear-gradient(135deg, var(--ink), var(--blue-deep));
  color: rgba(255, 255, 255, 0.85);
}
.highlight-slide.theme-navy h2 {
  color: white;
}
.highlight-slide.theme-navy .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.highlight-slide.theme-accent {
  background: linear-gradient(135deg, var(--accent), #ffca28);
  color: var(--ink);
}
.highlight-slide.theme-accent h2 {
  color: var(--ink);
}

.highlight-slide[style*="display: none;"] {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.highlight-content {
  flex: 1;
  max-width: 600px;
}

.highlight-content .eyebrow {
  margin-bottom: 12px;
  color: rgba(20, 34, 58, 0.65);
}

.highlight-content h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.highlight-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft);
}

.highlight-content a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 19, 43, 0.12);
}

.highlight-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(11, 19, 43, 0.12);
}

@media (max-width: 820px) {
  .highlights-band {
    padding: 16px 16px 0;
  }
  
  .highlights-carousel {
    border-radius: 24px;
  }

  .highlight-slide {
    flex-direction: column-reverse;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  
  .highlight-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .highlight-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================================
   Event Public Modal
   ========================================================================= */

.event-public-modal-card {
  max-width: 640px;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.event-public-modal-card .event-modal-cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 1px solid rgba(11, 19, 43, 0.08);
}

.event-public-modal-card .event-modal-body {
  padding: 34px clamp(20px, 4vw, 42px) 42px;
}

.event-public-modal-card [data-event-modal-meta] {
  margin-bottom: 8px;
  color: var(--accent-text);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.event-public-modal-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 16px 0;
  color: var(--ink);
}

.event-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.event-modal-tags span {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 19, 43, 0.05);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.event-public-modal-card .rich-content {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(11, 19, 43, 0.8);
  margin-bottom: 32px;
}

.event-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.event-modal-actions .primary-action,
.event-modal-actions .secondary-action {
  min-height: 50px;
  border-radius: 16px;
  padding: 0 22px;
  text-decoration: none;
}

.event-modal-actions .primary-action {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 32px rgba(11, 19, 43, 0.16);
}

.event-modal-actions .primary-action:hover {
  background: rgba(11, 19, 43, 0.9);
  color: white;
}

.event-modal-actions .secondary-action {
  background: rgba(255, 255, 255, 0.74);
}

.event-interest-section {
  background: var(--cream);
  border-radius: 24px;
  padding: 32px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.event-interest-section hr {
  display: none;
}

.event-interest-section h3 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  color: var(--ink);
}

.event-interest-section p {
  margin: 0 0 24px 0;
  font-size: 0.95rem;
  color: rgba(11, 19, 43, 0.6);
}

.interest-form-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interest-form-layout label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.interest-form-layout input,
.interest-form-layout textarea {
  width: 100%;
  border: 1px solid rgba(11, 19, 43, 0.15);
  border-radius: 12px;
  padding: 14px;
  font-family: inherit;
  font-size: 1rem;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.interest-form-layout input:focus,
.interest-form-layout textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 178, 0, 0.2);
}

.interest-form-layout button[type="submit"] {
  margin-top: 8px;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.05rem;
}

.top-right-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.2s;
  z-index: 10;
}

.top-right-close:hover {
  transform: scale(1.1);
  background: white;
}

@media (max-width: 600px) {
  .event-public-modal-card .event-modal-cover {
    height: 200px;
  }
  .event-modal-actions {
    flex-direction: column;
  }
  .event-modal-actions button,
  .event-modal-actions a {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================================
   Event Empty State
   ========================================================================= */

.empty-event-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  grid-column: 1 / -1;
  padding: 60px 24px;
  background: rgba(247, 245, 240, 0.4);
  border: 1px dashed rgba(11, 19, 43, 0.15);
  border-radius: 24px;
  color: var(--ink);
}

.empty-event-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: rgba(11, 19, 43, 0.3);
}

.empty-event-state p {
  font-size: 1.3rem !important;
  font-weight: 600;
  margin: 0 0 8px 0 !important;
  color: var(--ink) !important;
}

.empty-event-state span {
  font-size: 0.95rem !important;
  font-weight: 500;
  color: rgba(11, 19, 43, 0.6) !important;
  letter-spacing: normal !important;
}

/* =========================================================================
   Event Reader (Full Page)
   ========================================================================= */

.event-reader-layout {
  padding: clamp(32px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
}

.event-reader-hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 48px;
  background: var(--ink);
}

.event-reader-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.event-reader-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vw, 64px);
  width: 100%;
  background: linear-gradient(0deg, rgba(11, 19, 43, 0.95) 0%, rgba(11, 19, 43, 0.4) 60%, transparent 100%);
}

.event-reader-hero-content .eyebrow {
  color: var(--accent);
  margin-bottom: 12px;
}

.event-reader-hero-content h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 24px 0;
  max-width: 800px;
}

.event-reader-lede {
  max-width: 760px;
  margin: -10px 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.event-reader-hero-content .event-modal-tags span {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(8px);
}

.event-reader-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.event-reader-main {
  min-width: 0;
}

.event-reader-section {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 19, 43, 0.06);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 18px 55px rgba(11, 19, 43, 0.06);
}

.event-reader-section > .eyebrow {
  margin-bottom: 18px;
}

.event-reader-section .rich-content {
  color: rgba(11, 19, 43, 0.82);
  font-size: 1.08rem;
  line-height: 1.78;
}

.event-reader-sidebar {
  position: sticky;
  top: 32px;
}

.event-sidebar-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(11, 19, 43, 0.05);
  border: 1px solid rgba(11, 19, 43, 0.05);
}

.event-sidebar-card h2 {
  margin: 8px 0 22px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.15;
}

.event-facts {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
}

.event-facts div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11, 19, 43, 0.08);
}

.event-facts dt {
  margin-bottom: 4px;
  color: rgba(11, 19, 43, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

.event-sidebar-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.event-sidebar-actions button,
.event-sidebar-actions a {
  width: 100%;
  text-align: center;
}

.event-sidebar-card .event-interest-section {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.event-reader-related {
  margin-top: 48px;
  padding: 32px;
  background: var(--cream);
  border-radius: 24px;
  border: 1px dashed rgba(11, 19, 43, 0.15);
}

.event-reader-related h3 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
}

.event-reader-related p {
  margin: 0 0 24px 0;
  color: rgba(11, 19, 43, 0.7);
  font-size: 1.05rem;
}

.event-related-articles {
  margin-top: 48px;
}

@media (max-width: 900px) {
  .event-reader-grid {
    grid-template-columns: 1fr;
  }
  .event-reader-sidebar {
    position: static;
  }

  .event-reader-layout {
    padding-inline: 18px;
  }

  .event-reader-hero {
    border-radius: 22px;
    min-height: 420px;
  }

  .event-reader-hero-content {
    padding: 28px;
  }
}
