/*
 * The SEO section on the landing page: the written blocks that carry the
 * in-article ad units.
 */

.seo-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

.seo-block {
  max-width: 760px;
  margin: 0 auto 8px;
}

.seo-block h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 14px;
}

.seo-block p {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 16px;
}

.seo-block strong {
  color: var(--text);
  font-weight: 600;
}

/* The placeholder the ad loader fills. It is empty until then, so it takes
   no space on a page with no ads. */
.ad-block {
  min-height: 0;
  margin: 28px auto;
  max-width: 760px;
}

/* The second block is for wide screens only: a phone shows one in-article
   ad, a desktop shows two. The rule has to beat the rule that makes an
   inline slot a block, so it names both classes. */
@media (max-width: 900px) {
  .ad-block--desktop-only,
  .ad-block--desktop-only.tsite-ad-slot--inline {
    display: none !important;
  }
}

/* A spare block for a third unit. It is not on the page by default; add
   the class to a div with data-ad-slot="seo3" to use it. */
.ad-block--spare {
  display: none;
}

@media (max-width: 720px) {
  .seo-section {
    padding: 44px 18px 28px;
  }

  .seo-block h3 {
    font-size: 19px;
  }

  .seo-block p {
    font-size: 15px;
  }
}

/* A small phone: the text has to stay readable and the ad must not take
   the whole screen. */
@media (max-width: 400px) {
  .seo-section {
    padding: 36px 14px 22px;
  }

  .seo-block h3 {
    font-size: 18px;
  }

  .seo-block p {
    font-size: 14.5px;
    line-height: 1.68;
  }

  .ad-block {
    margin: 22px auto;
  }
}
