/* Construction Insider — newsletter-style homepage */

body.ci-bodi.ci-newsletter-page {
  padding: clamp(12px, 2.5vw, 32px);
  background-color: #fff;
  background-image: linear-gradient(#00000080, #00000080), url('../images/Construction-Insider-1_1.webp');
  background-position: 0 0, 50% 0;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
  --ci-nl-ink: #111;
  --ci-nl-muted: #5c5c5c;
  --ci-nl-rule: #d4d4d4;
  --ci-nl-accent: var(--ci-yellow, #ffce00);
  --ci-nl-paper: #fff;
  --ci-nl-warm: #f7f5f0;
}

body.ci-bodi.ci-newsletter-page .saintfg---restrictor.ci.af {
  background-color: #fff;
  width: 100%;
  max-width: min(1440px, calc(100vw - 24px));
  margin-inline: auto;
  padding: 0 0 48px;
}

body.ci-bodi.ci-newsletter-page .saintfg---restrictor.ci.af.ci-newsletter {
  padding-top: 0;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 6%),
    -20px 0 40px -16px rgb(0 0 0 / 16%),
    20px 0 40px -16px rgb(0 0 0 / 16%),
    0 -12px 40px rgb(0 0 0 / 12%);
}

body.ci-bodi.ci-newsletter-page .content-section {
  border-bottom: 1px solid #d4d4d4;
  padding-top: clamp(2rem, 4vw, 3rem);
}

@media screen and (max-width: 991px) {
  body.ci-bodi.ci-newsletter-page .content-section {
    padding-top: clamp(1.75rem, 5vw, 2.5rem);
  }
}

body.ci-bodi.ci-newsletter-page .content-section.ci-nl-hero {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.75rem) clamp(2.5rem, 5vw, 3.5rem);
  border-top: none;
  border-bottom: 3px double var(--ci-nl-ink, #111);
  background: #fff;
}

/* ── Editorial hero ── */

body.ci-bodi.ci-newsletter-page .ci-nl-hero-grid {
  align-items: start;
  column-gap: clamp(2rem, 5vw, 4rem);
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-main {
  align-items: stretch;
  max-width: none;
}

.ci-nl-hero-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.125rem;
  padding-bottom: 0;
  border-bottom: none;
}

.ci-nl-hero-brand .image-357 {
  display: block;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-headline {
  margin: 0 0 1rem;
  color: var(--ci-nl-ink, #111);
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(2.125rem, 4.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: left;
  text-wrap: balance;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-headline strong {
  font-weight: 700;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-deck {
  margin: 0 0 0.75rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--ci-nl-rule, #d4d4d4);
  color: var(--ci-nl-ink, #111);
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-deck strong {
  font-weight: 700;
  font-style: italic;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-lede {
  margin: 0 0 1.5rem;
  max-width: 44ch;
  color: var(--ci-nl-muted, #5c5c5c);
  font-family: Mulish, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-lede .yellowlink {
  color: var(--ci-nl-ink, #111);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--ci-nl-accent, #ffce00);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe {
  width: 100%;
  max-width: 28rem;
  margin-bottom: 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe .form-block-9.ci {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe .div-block-683 {
  gap: 0.625rem;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe .text-field-11 {
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #aaa;
  border-radius: 0;
  background: #fff;
  font-family: Mulish, sans-serif;
  font-size: 0.9375rem;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe .text-field-11:focus {
  border-color: var(--ci-nl-ink, #111);
  outline: none;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe .button-menu.ci.not010.main.block {
  width: 100%;
  margin-top: 0.35rem;
  margin-bottom: 0;
  padding: 0.85rem 1rem;
  border-radius: 0;
  font-family: Mulish, sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe .w-checkbox {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe .w-form-label {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ci-nl-muted, #5c5c5c);
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-pullquote.content-info-list {
  width: 100%;
  max-width: 28rem;
  margin-bottom: 0;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-pullquote .content-info-item {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-pullquote .content-info-item-top {
  margin-bottom: 0.5rem;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-pullquote .content-info-item-top h2 {
  margin: 0;
  color: var(--ci-nl-ink, #111);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-pullquote .content-info-item-top .odometer,
body.ci-bodi.ci-newsletter-page .ci-nl-hero-pullquote .content-info-item-top .text-span-111 {
  color: var(--ci-nl-ink, #111);
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-pullquote .content-info-item-text {
  margin: 0;
  padding: 0;
  border-left: none;
  color: var(--ci-nl-muted, #5c5c5c);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-media {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

body.ci-bodi.ci-newsletter-page .ci-nl-hero-media .image-358 {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

@media screen and (max-width: 991px) {
  body.ci-bodi.ci-newsletter-page .ci-nl-hero-grid {
    row-gap: 2rem;
  }

  body.ci-bodi.ci-newsletter-page .ci-nl-hero-media {
    max-width: 22rem;
    margin-inline: auto;
  }

  body.ci-bodi.ci-newsletter-page .ci-nl-hero-subscribe,
  body.ci-bodi.ci-newsletter-page .ci-nl-hero-pullquote.content-info-list {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ci-bodi.ci-newsletter-page .ci-nl-hero-media {
    box-shadow: none;
  }
}

.ci-nl-hero-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35em 1em;
  margin: 0;
  padding: 0.75rem clamp(1rem, 4%, 2rem);
  border-top: 3px double var(--ci-nl-ink, #111);
  border-bottom: 1px solid var(--ci-nl-rule, #d4d4d4);
  font-family: Mulish, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ci-nl-muted, #5c5c5c);
  background: #fff;
}

.ci-nl-hero-byline time {
  font-weight: 700;
  color: var(--ci-nl-ink, #111);
  text-transform: none;
  letter-spacing: 0.02em;
}

.ci-nl-hero-byline strong {
  color: var(--ci-nl-ink, #111);
  font-weight: 700;
}

.ci-nl-hero-byline__sep {
  font-weight: 400;
  opacity: 0.45;
}

.ci-nl-hero-brand .ci-nl-hero-byline {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  justify-content: flex-start;
  align-items: center;
  line-height: 1;
}

.ci-nl-hero-brand .ci-nl-hero-byline time {
  line-height: 1;
}

/* ── Masthead (legacy — unused on homepage) ── */

body.ci-bodi.ci-newsletter-page .navigation-wrap.ci {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

body.ci-bodi.ci-newsletter-page .navigation.ci {
  position: relative;
  width: 100%;
}

/* ── Masthead ── */

.ci-nl-masthead {
  text-align: center;
  padding: 28px 4% 32px;
  border-bottom: 1px solid var(--ci-nl-rule, #d4d4d4);
  background: #fff;
}

.ci-nl-masthead__logo {
  width: min(320px, 72vw);
  height: auto;
  margin: 0 auto 16px;
  display: block;
}

.ci-nl-masthead__tagline {
  margin: 0 0 10px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--ci-nl-muted, #5c5c5c);
}

.ci-nl-masthead__byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35em 1em;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--ci-nl-rule, #d4d4d4);
  font-family: Mulish, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-nl-muted, #5c5c5c);
}

.ci-nl-masthead__byline time {
  font-weight: 700;
  color: var(--ci-nl-ink, #111);
  text-transform: none;
  letter-spacing: 0.02em;
}

.ci-nl-masthead__byline strong {
  color: var(--ci-nl-ink, #111);
  font-weight: 700;
}

.ci-nl-masthead__sep {
  font-weight: 400;
  opacity: 0.45;
}

.ci-nl {
  --ci-nl-ink: #111;
  --ci-nl-muted: #5c5c5c;
  --ci-nl-rule: #d4d4d4;
  --ci-nl-accent: var(--ci-yellow, #ffce00);
  --ci-nl-paper: #fff;
  --ci-nl-warm: #f7f5f0;
  width: 100%;
  overflow-x: clip;
  color: var(--ci-nl-ink);
  font-family: Mulish, sans-serif;
}

/* ── Featured story ── */

.ci-nl-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 36px 4% 40px;
  border-bottom: 1px solid var(--ci-nl-rule);
}

@media (min-width: 900px) {
  .ci-nl-featured {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
  }
}

.ci-nl-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--ci-nl-accent);
  color: #111;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ci-nl-featured__title {
  margin: 0 0 14px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.ci-nl-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ci-nl-featured__title a:hover {
  color: #333;
}

.ci-nl-featured__dek {
  margin: 0 0 20px;
  max-width: 52ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ci-nl-muted);
  text-wrap: pretty;
}

.ci-nl-featured__meta {
  margin: 0 0 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ci-nl-muted);
}

.ci-nl-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: var(--ci-nl-ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ci-nl-featured__cta:hover {
  background: #333;
  transform: translateY(-1px);
}

.ci-nl-featured__figure {
  margin: 0;
  overflow: hidden;
  background: var(--ci-nl-warm);
}

.ci-nl-featured__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── Two-column layout ── */

.ci-nl-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 960px) {
  .ci-nl-columns {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    align-items: start;
  }
}

.ci-nl-main {
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--ci-nl-rule);
}

@media (min-width: 960px) {
  .ci-nl-main {
    border-bottom: none;
    border-right: 1px solid var(--ci-nl-rule);
  }
}

.ci-nl-sidebar {
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 1.75rem);
  background: linear-gradient(180deg, #f7f5f0 0%, #efebe3 100%);
}

@media (min-width: 960px) {
  .ci-nl-sidebar {
    position: sticky;
    top: 156px;
    padding: 4rem 1.75rem 2.5rem;
  }
}

.ci-nl-section + .ci-nl-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--ci-nl-rule);
}

.ci-nl-section-title {
  margin: 0 0 1.5rem;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ci-nl-section-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--ci-nl-accent);
}

/* ── Article list ── */

.ci-nl-articles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ci-nl-articles__item {
  margin: 0;
}

.ci-nl-articles__link {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 1.25rem 1.25rem 1.375rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--ci-nl-rule);
  border-left: 3px solid transparent;
  box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.ci-nl-articles__link:hover {
  border-left-color: var(--ci-nl-accent);
  box-shadow: 0 6px 20px rgb(0 0 0 / 8%);
  transform: translateY(-1px);
}

.ci-nl-articles__link:focus-visible {
  outline: 2px solid var(--ci-nl-accent);
  outline-offset: 2px;
}

.ci-nl-articles__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin: 0;
}

.ci-nl-articles__meta-part {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ci-nl-muted);
}

.ci-nl-articles__meta-part--category {
  padding: 0.2rem 0.55rem;
  background: rgb(255 206 0 / 16%);
  color: var(--ci-nl-ink);
  border-radius: 2px;
}

.ci-nl-articles__title {
  display: block;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ci-nl-articles__dek {
  display: block;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ci-nl-muted);
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.ci-nl-articles__read {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ci-nl-ink);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ci-nl-articles__link:hover .ci-nl-articles__read,
.ci-nl-articles__link:focus-visible .ci-nl-articles__read {
  opacity: 1;
  transform: translateY(0);
}

.ci-nl-articles__empty {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--ci-nl-muted);
  background: var(--ci-nl-warm);
  border: 1px dashed var(--ci-nl-rule);
}

/* ── Category / section links ── */

.ci-nl-sections {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.ci-nl-sections__item {
  border-bottom: 1px solid var(--ci-nl-rule);
}

.ci-nl-sections__item:first-child {
  border-top: 1px solid var(--ci-nl-rule);
}

.ci-nl-sections__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ci-nl-sections__link:hover {
  background: rgb(255 206 0 / 8%);
}

.ci-nl-sections__icon {
  font-size: 1.25rem;
  line-height: 1;
  padding-top: 2px;
}

.ci-nl-sections__name {
  display: block;
  margin-bottom: 4px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.ci-nl-sections__desc {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ci-nl-muted);
}

/* ── Quick nav row ── */

.ci-nl-quicknav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--ci-nl-rule);
  border: 1px solid var(--ci-nl-rule);
}

.ci-nl-quicknav__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  padding: 20px;
  background: var(--ci-nl-paper);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ci-nl-quicknav__link:hover {
  background: var(--ci-nl-warm);
}

.ci-nl-quicknav__title {
  margin: 0 0 8px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
}

.ci-nl-quicknav__desc {
  margin: 0 0 12px;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ci-nl-muted);
}

.ci-nl-quicknav__action {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-nl-ink);
}

/* ── Sidebar subscribe ── */

.ci-nl-sidebar-panel {
  background: #fff;
  border: 1px solid var(--ci-nl-rule);
  border-top: 4px solid var(--ci-nl-accent);
  overflow: hidden;
}

.ci-nl-subscribe {
  padding: clamp(1.5rem, 3vw, 1.75rem);
  background: transparent;
  border: none;
  box-shadow: none;
}

.ci-nl-subscribe__eyebrow {
  margin: 0 0 0.4rem;
  font-family: Mulish, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ci-nl-muted);
}

.ci-nl-subscribe__title {
  margin: 0 0 0.5rem;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.ci-nl-subscribe__text {
  margin: 0 0 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ci-nl-muted);
}

.ci-nl-subscribe .form-block-9.ci {
  width: 100%;
  margin: 0;
}

.ci-nl-subscribe .div-block-683 {
  flex-direction: column;
  gap: 0.625rem;
}

.ci-nl-subscribe .text-field-11 {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.875rem;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  background: #fff;
  transition: border-color 0.2s ease;
}

.ci-nl-subscribe .text-field-11:focus {
  border-color: var(--ci-nl-ink);
  background: #fff;
  outline: none;
}

.ci-nl-subscribe .button-menu.ci.not010.main.block {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
}

.ci-nl-subscribe .w-checkbox {
  margin-top: 0.75rem;
}

.ci-nl-subscribe .w-form-label {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ci-nl-muted);
}

.ci-nl-subscribe .link-92 {
  color: var(--ci-nl-ink);
  font-weight: 600;
}

.ci-nl-quote {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.5rem) clamp(1.5rem, 3vw, 1.75rem)
    clamp(1.35rem, 2.5vw, 1.5rem);
  background: var(--ci-nl-warm, #f7f5f0);
  border: none;
  border-top: 1px solid var(--ci-nl-rule);
  box-shadow: none;
}

.ci-nl-quote__text {
  margin: 0 0 0.85rem;
  padding: 0;
  border: none;
}

.ci-nl-quote__text p {
  margin: 0;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ci-nl-ink);
}

.ci-nl-quote__text p::before {
  content: '\201C';
  color: var(--ci-nl-accent);
  font-size: 1.35em;
  line-height: 0;
  margin-right: 0.1em;
}

.ci-nl-quote__cite {
  display: block;
  margin: 0 0 1rem;
  font-family: Mulish, sans-serif;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ci-nl-muted);
}

.ci-nl-quote__stat {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgb(0 0 0 / 8%);
  font-family: Mulish, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ci-nl-muted);
}

.ci-nl-quote__stat strong {
  color: var(--ci-nl-ink);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

/* ── Magazine issues ── */

.ci-nl-issues {
  padding: 48px 4%;
  text-align: center;
  border-top: 3px double var(--ci-nl-ink);
  border-bottom: 1px solid var(--ci-nl-rule);
}

.ci-nl-issues__title {
  margin: 0 0 8px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.ci-nl-issues__subtitle {
  margin: 0 0 32px;
  font-size: 0.9375rem;
  color: var(--ci-nl-muted);
}

.ci-nl-issues__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 28px;
}

.ci-nl-issues__cover {
  margin: 0;
  transition: transform 0.25s ease;
}

.ci-nl-issues__cover:hover {
  transform: translateY(-4px);
}

.ci-nl-issues__cover img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
}

/* ── Ads, testimonial, social (newsletter overrides) ── */

body.ci-bodi.ci-newsletter-page .ci-ad-wrap {
  padding: 32px 4%;
  border-bottom: 1px solid var(--ci-nl-rule);
}

body.ci-bodi.ci-newsletter-page .flexed-vert {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) clamp(3.5rem, 7vw, 4.5rem);
  background: #fff;
  box-shadow: none;
}

body.ci-bodi.ci-newsletter-page .text-block-65 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.ci-bodi.ci-newsletter-page .div-block-285.ci {
  width: min(85%, 760px);
  margin-top: 0;
  margin-bottom: 2rem;
  min-height: clamp(240px, 34vw, 340px);
}

body.ci-bodi.ci-newsletter-page .flexed-vert .button-menu.ci.not010 {
  position: relative;
  z-index: 3;
  display: inline-block;
  margin: 0;
}

body.ci-bodi.ci-newsletter-page .text-block-54 {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.ci-bodi.ci-newsletter-page .ci-primaryhead {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.75rem;
}

body.ci-bodi.ci-newsletter-page .div-block-459 {
  display: none;
}

body.ci-bodi.ci-newsletter-page .text-block-65.af {
  display: none;
}

body.ci-bodi.ci-newsletter-page .section-83.ci-logo-band {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body.ci-bodi.ci-newsletter-page .ci-logo-band__label {
  margin: 0;
  padding: 1.75rem 1.5rem 1.125rem;
  text-align: center;
  color: #fff;
  font-family: Mulish, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.ci-bodi.ci-newsletter-page .ci-logo-carousel {
  padding: 1rem 0 2.5rem;
}

body.ci-bodi.ci-newsletter-page .ci-logo-carousel__item {
  width: 10rem;
  height: 4rem;
}

@media (prefers-reduced-motion: reduce) {
  .ci-nl-featured__cta:hover,
  .ci-nl-articles__link:hover,
  .ci-nl-issues__cover:hover {
    transform: none;
  }

  .ci-nl-articles__read {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 959px) {
  .ci-nl-sidebar {
    border-top: 1px solid var(--ci-nl-rule);
  }
}

/* CTA + footer bands align with newsletter paper width */
body.ci-bodi.ci-newsletter-page .ci-page-band:not(.ci-page-band--footer) {
  padding-top: clamp(1.5rem, 3vw, 2rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

body.ci-bodi.ci-newsletter-page .ci-page-band {
  width: 100%;
  max-width: min(1440px, calc(100vw - 24px));
  margin-inline: auto;
  box-sizing: border-box;
}

body.ci-bodi.ci-newsletter-page .saintfg---restrictor.ci.af:has(.ci-social-groups) {
  width: 100%;
  max-width: min(1440px, calc(100vw - 24px));
  margin-inline: auto;
  box-shadow: none;
}

/* ── Unified engagement CTA (toolbox + social groups) ── */
body.ci-bodi.ci-newsletter-page .ci-engagement-cta {
  width: 100%;
  background: #fff;
  border: 2px solid #111;
  box-sizing: border-box;
  overflow: hidden;
}

body.ci-bodi.ci-newsletter-page .ci-engagement-cta .ci-toolbox-cta--embedded {
  border: none;
  box-shadow: none;
}

body.ci-bodi.ci-newsletter-page .ci-engagement-cta .ci-toolbox-cta__inner {
  padding-bottom: clamp(1.75rem, 3.5vw, 2.25rem);
}

body.ci-bodi.ci-newsletter-page .ci-engagement-cta .ci-social-groups--embedded {
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 3rem)
    clamp(2.25rem, 4.5vw, 3rem);
  border-top: 1px solid var(--ci-nl-rule, #d4d4d4);
  background: var(--ci-nl-warm, #f7f5f0);
}

body.ci-bodi.ci-newsletter-page .ci-engagement-cta .ci-social-groups__eyebrow {
  margin: 0 0 0.5rem;
  color: #5c5c5c;
  font-family: Mulish, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body.ci-bodi.ci-newsletter-page .ci-engagement-cta .ci-social-groups__title {
  margin: 0 auto 2rem;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  text-align: center;
}

body.ci-bodi.ci-newsletter-page .ci-engagement-cta .ci-social-card {
  box-shadow: none;
  border: 1px solid rgb(0 0 0 / 10%);
}

body.ci-bodi.ci-newsletter-page .ci-engagement-cta .ci-social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
}

/* ── Toolbox CTA (newsletter homepage) ── */
body.ci-bodi .ci-page-band .ci-toolbox-cta {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid #111;
  border-top: 4px solid var(--ci-yellow, #ffce00);
  box-shadow: 0 12px 36px rgb(0 0 0 / 12%);
  box-sizing: border-box;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
  background: #fff;
  color: #111;
  text-align: center;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__mark {
  display: block;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__kicker {
  margin: 0;
  color: #5c5c5c;
  font-family: Mulish, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__title {
  margin: 0 auto 0.85rem;
  padding: 0 0 0.85rem;
  border-bottom: 3px solid var(--ci-yellow, #ffce00);
  color: #111;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: none;
  text-wrap: balance;
  width: fit-content;
  max-width: 100%;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__lede {
  margin: 0 auto 1.5rem;
  max-width: 52ch;
  color: #5c5c5c;
  font-family: Mulish, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
  text-wrap: pretty;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__stats li {
  margin: 0;
  padding: 0;
  color: #5c5c5c;
  font-family: Mulish, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__stats li strong {
  color: #111;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__stats li:not(:last-child)::after {
  content: '·';
  margin-left: 1.25rem;
  color: #d4d4d4;
  font-weight: 400;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: #111;
  color: #fff;
  font-family: Mulish, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.2s ease;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__action:hover {
  background: #2a2a2a;
  color: #fff;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__action:focus-visible {
  outline: 2px solid var(--ci-yellow, #ffce00);
  outline-offset: 3px;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__action-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

body.ci-bodi .ci-page-band .ci-toolbox-cta__action:hover .ci-toolbox-cta__action-arrow {
  transform: translateX(3px);
}

@media (max-width: 540px) {
  body.ci-bodi .ci-page-band .ci-toolbox-cta__stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  body.ci-bodi .ci-page-band .ci-toolbox-cta__stats li:not(:last-child)::after {
    content: none;
  }

  body.ci-bodi .ci-page-band .ci-toolbox-cta__action {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ci-bodi .ci-page-band .ci-toolbox-cta__action,
  body.ci-bodi .ci-page-band .ci-toolbox-cta__action-arrow {
    transition: none;
  }

  body.ci-bodi .ci-page-band .ci-toolbox-cta__action:hover .ci-toolbox-cta__action-arrow {
    transform: none;
  }
}
