.anm-insights {
  --anm-ink: #171b2f;
  --anm-indigo: #232b59;
  --anm-cream: #f5f0e6;
  --anm-paper: #fffdf8;
  --anm-coral: #ef6a4c;
  --anm-ochre: #d99a2b;
  --anm-sage: #b9c6a5;
  --anm-line: rgba(23, 27, 47, 0.18);
  background: var(--anm-paper);
  color: var(--anm-ink);
  container-name: anm-insights;
  container-type: inline-size;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
  width: 100vw;
  max-width: none !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: 0;
}

.anm-insights,
.anm-insights * {
  box-sizing: border-box;
}

.anm-insights > * {
  margin-block: 0;
  max-width: none;
}

.anm-insights h1,
.anm-insights h2,
.anm-insights h3 {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.anm-eyebrow {
  margin: 0 0 22px !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.anm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.6fr);
  min-height: 680px;
  background: var(--anm-cream);
}

.anm-hero-copy {
  padding: clamp(64px, 9vw, 128px) clamp(22px, 6vw, 96px);
  position: relative;
}

.anm-hero-copy::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -95px;
  width: 250px;
  height: 250px;
  border: 52px solid var(--anm-ochre);
  border-radius: 50%;
}

.anm-page-title {
  max-width: 930px;
  margin: 0 !important;
  font-size: clamp(50px, 7.7vw, 116px) !important;
  line-height: 0.92 !important;
  overflow-wrap: anywhere;
}

.anm-intro {
  max-width: 700px;
  margin: 32px 0 0 !important;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
}

.anm-actions {
  margin-top: 38px !important;
}

.anm-primary-button .wp-block-button__link {
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 0;
  background: var(--anm-ink);
  color: #fff;
  font-weight: 800;
}

.anm-primary-button .wp-block-button__link:hover {
  background: var(--anm-coral);
}

.anm-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 3.5vw, 56px);
  background: var(--anm-coral);
  position: relative;
}

.anm-note::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 48px;
  width: 68px;
  height: 68px;
  border-radius: 50% 50% 50% 0;
  background: var(--anm-ink);
}

.anm-note-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.anm-note > p:not(.anm-note-kicker) {
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.7vw, 40px);
  line-height: 1.08;
}

.anm-ticker {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	min-height: 68px;
  padding: 16px clamp(22px, 5vw, 80px);
  background: var(--anm-ink);
  color: #fff;
}

.anm-ticker p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anm-section {
  padding: clamp(78px, 10vw, 144px) clamp(22px, 6vw, 96px);
}

.anm-explore,
.anm-audience,
.anm-principles-card {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(48px, 8vw, 128px);
}

.anm-section-heading h2,
.anm-reads > h2,
.anm-principles-card h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 83px);
  line-height: 0.98;
}

.anm-section-heading > p:last-child {
  max-width: 520px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
}

.anm-topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--anm-line);
}

.anm-topic {
  padding: 34px 32px 44px 0;
  border-bottom: 1px solid var(--anm-line);
}

.anm-topic:nth-child(even) {
  padding-left: 32px;
  border-left: 1px solid var(--anm-line);
}

.anm-number {
  margin: 0;
  color: var(--anm-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.anm-topic h3 {
  margin: 28px 0 12px;
  font-size: 30px;
}

.anm-topic > p:last-child {
  margin: 0;
  color: #46485a;
  line-height: 1.62;
}

.anm-reads {
  background: var(--anm-indigo);
  color: #fff;
}

.anm-reads .anm-eyebrow,
.anm-takeaway strong {
  color: #f0b95a;
}

.anm-reads > h2 {
  max-width: 900px;
  margin-bottom: 48px;
}

.anm-read {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.anm-read:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.anm-read summary {
  min-height: 110px;
  padding: 28px 58px 28px 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.1;
}

.anm-read > p {
  max-width: 880px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.anm-takeaway {
  color: #fff !important;
}

.anm-audience {
  background: var(--anm-sage);
}

.anm-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid rgba(23, 27, 47, 0.24);
  background: rgba(23, 27, 47, 0.24);
}

.anm-audience-grid article {
  min-height: 220px;
  padding: 32px;
  background: var(--anm-sage);
}

.anm-audience-grid h3 {
  margin: 0 0 64px;
  font-size: 32px;
}

.anm-principles-card {
  padding: clamp(36px, 6vw, 96px);
  background: var(--anm-cream);
  position: relative;
  overflow: hidden;
}

.anm-principles-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--anm-ochre);
}

.anm-principles-list {
  margin: 0;
  padding-left: 30px;
  position: relative;
  z-index: 1;
}

.anm-principles-list li {
  padding: 21px 0 21px 8px;
  border-bottom: 1px solid var(--anm-line);
  font-size: 17px;
  font-weight: 700;
}

.anm-principles-list li::marker {
  color: var(--anm-coral);
  font-size: 12px;
}

.anm-closing {
  padding: clamp(78px, 11vw, 160px) clamp(22px, 8vw, 128px);
  background: var(--anm-coral);
  text-align: center;
}

.anm-closing h2 {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.94;
}

.anm-closing > p:last-child {
  margin: 32px auto 0;
  font-size: 18px;
}

.anm-disclaimer {
  margin: 0 !important;
  padding: 18px 24px;
  background: var(--anm-ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-align: center;
}

.anm-section > .anm-disclaimer {
  grid-column: 1 / -1;
}

.anm-closing .wp-block-media-text {
  max-width: 980px;
  margin: 64px auto 0;
  text-align: left;
}

.anm-closing .wp-block-media-text__content {
  padding: clamp(24px, 5vw, 64px);
}

.anm-closing .wp-block-media-text__content h3 {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 52px);
}

.anm-closing .wp-block-media-text__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.editor-styles-wrapper .anm-insights,
.block-editor-writing-flow .anm-insights {
  width: auto;
  margin-left: 0 !important;
}

.anm-insights a:focus-visible,
.anm-insights summary:focus-visible {
  outline: 3px solid var(--anm-ochre);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .anm-hero,
  .anm-explore,
  .anm-audience,
  .anm-principles-card {
    grid-template-columns: 1fr;
  }

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

  .anm-note {
    min-height: 430px;
  }

  .anm-page-title {
    font-size: clamp(44px, 9vw, 72px) !important;
  }

  .anm-topic-grid,
  .anm-audience-grid {
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .anm-page-title {
    font-size: clamp(42px, 10vw, 58px) !important;
  }

  .anm-hero-copy {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .anm-topic-grid,
  .anm-audience-grid {
    grid-template-columns: 1fr;
  }

  .anm-topic,
  .anm-topic:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }

  .anm-ticker {
    justify-content: center !important;
  }
}

/*
 * Gutenberg's device preview can narrow the editor canvas without changing
 * the browser viewport. Container queries keep the pattern responsive in both
 * the editor preview and the published page.
 */
@container anm-insights (max-width: 900px) {
  .anm-hero,
  .anm-explore,
  .anm-audience,
  .anm-principles-card {
    grid-template-columns: 1fr;
  }

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

  .anm-hero-copy {
    padding: 72px clamp(22px, 6cqw, 48px) 80px;
  }

  .anm-page-title {
    font-size: clamp(44px, 9cqw, 72px) !important;
    overflow-wrap: anywhere;
  }

  .anm-intro {
    font-size: clamp(16px, 2.8cqw, 20px);
  }

  .anm-note {
    min-height: 380px;
    padding: 64px clamp(22px, 6cqw, 48px) 48px;
  }

  .anm-section {
    padding: clamp(72px, 12cqw, 108px) clamp(22px, 6cqw, 48px);
  }

  .anm-topic-grid,
  .anm-audience-grid {
    margin-top: 16px;
  }
}

@container anm-insights (max-width: 560px) {
  .anm-page-title {
    font-size: clamp(42px, 10cqw, 58px) !important;
    line-height: 0.96 !important;
  }

  .anm-hero-copy {
    padding: 56px 22px 68px;
  }

  .anm-hero-copy::after {
    right: -72px;
    bottom: -72px;
    width: 170px;
    height: 170px;
    border-width: 36px;
  }

  .anm-note {
    min-height: 340px;
    padding: 96px 22px 44px;
  }

  .anm-note::before {
    top: 34px;
    left: 22px;
    width: 54px;
    height: 54px;
  }

  .anm-topic-grid,
  .anm-audience-grid {
    grid-template-columns: 1fr;
  }

  .anm-topic,
  .anm-topic:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }

  .anm-ticker {
    justify-content: center !important;
  }

  .anm-read summary {
    padding-right: 16px;
    font-size: clamp(24px, 7cqw, 34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .anm-insights * {
    scroll-behavior: auto !important;
  }
}
