/* Masthead and a three-column opening, followed by topical editorial sections. */
.wrap { width: min(1120px, calc(100% - 64px)); }
.topbar { display: none; }
.site-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px #10213d0a; }
.admin-bar .site-header { top: 32px; }
html { scroll-padding-top: calc(var(--site-header-height, 86px) + 20px); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 86px; gap: 20px; }
.header-inner > .brand { justify-self: start; }
.site-header #site-nav { margin: 0; justify-self: center; }
.brand { font-size: 27px; letter-spacing: -1.4px; }
.primary-menu { display: flex; gap: 18px; align-items: center; list-style: none; padding: 0; margin: 0; }
.site-header nav a { font-size: 13px; }
.header-search { display: grid; place-items: center; justify-self: end; width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 0; color: var(--ink); }
.header-search:hover, .header-search[aria-expanded="true"] { background: #eef3ff; color: var(--blue); }
.search-icon { position: relative; display: block; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; margin: -4px 4px 0 0; }
.search-icon::after { content: ''; position: absolute; right: -6px; bottom: -4px; width: 8px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.header-search-panel.wrap { position: absolute; top: calc(100% - 1px); right: max(18px, calc((100% - 1120px) / 2)); width: min(380px, calc(100% - 36px)); padding: 14px; margin: 0; background: #fff; border: 1px solid #dce4f0; border-radius: 6px; box-shadow: 0 8px 25px #10213d18; }
.header-search-panel[hidden] { display: none; }
.header-search-panel .search-form { width: 100%; margin: 0; gap: 8px; }
.header-search-panel .search-form label { min-width: 0; }
.library-heading > .search-form { width: min(680px, 100%); margin: 0 auto; }
.header-search-panel .search-form input, .library-heading .search-form input { width: 100%; min-width: 0; border-radius: 4px; }
.header-search-panel .search-form input { height: 40px; padding: 8px 10px; font-size: 14px; }
.header-search-panel .button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 4px; background: var(--blue); color: #fff; }
.library-heading .search-form .button { border-radius: 4px; }
.menu-icon { display: block; width: 17px; height: 2px; background: currentColor; box-shadow: 0 -5px currentColor, 0 5px currentColor; }
.site-header .editorial-topics { display: flex; flex-direction: row; width: min(1120px, calc(100% - 64px)); justify-content: center; gap: 32px; padding: 14px 0; margin: 0 auto; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.site-header .editorial-topics a { padding: 0; border: 0; font-size: 12px; font-weight: 700; text-decoration: none; }
.editorial-disclosure { padding-block: 16px 22px; text-align: center; font-size: 11px; color: #52627d; }
.editorial-disclosure a { margin-left: 6px; }
.publisher-lead { display: grid; grid-template-columns: minmax(150px, .85fr) minmax(0, 3fr) minmax(155px, .95fr); gap: 26px; padding-bottom: 46px; align-items: start; }
.publisher-lead > *, .home-story .story-copy { min-width: 0; }
.home-left-rail { border-right: 1px solid var(--line); padding-right: 20px; }
.home-left-rail > h2, .home-right-rail > h2 { font-size: 20px; line-height: 1.15; margin-bottom: 16px; letter-spacing: -.5px; }
.home-left-rail article { margin-bottom: 20px; }
.home-left-rail h3 { font-size: 14px; line-height: 1.3; letter-spacing: -.2px; margin: 5px 0 0; }
.home-left-rail .eyebrow { font-size: 9px; }
.home-left-rail a, .home-story a, .lead-story a { text-decoration: none; }
.home-left-rail .text-link { font-size: 11px; }
.home-left-rail .rail-story { margin-bottom: 0; }
.home-left-rail > .text-link { display: block; margin-top: 18px; }
.lead-photo { display: block; margin-bottom: 15px; background: #f0f4f8; }
.lead-photo img { width: 100%; aspect-ratio: 1.58; height: auto; object-fit: cover; object-position: center 35%; }
.lead-story h1 { font-size: clamp(28px, 2.7vw, 37px); line-height: 1.08; letter-spacing: -1.2px; margin: 8px 0 14px; }
.lead-story > p { font: 17px/1.5 Georgia, serif; color: #43516a; margin-bottom: 22px; }
.lead-bottom { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; }
.lead-bottom > a { font-size: 12px; align-self: start; }
.lead-related { border-top: 1px solid #9aa7ba; padding-top: 10px; }
.lead-related h2 { font-size: 15px; margin-bottom: 8px; }
.lead-related a { display: block; font-size: 12px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.home-right-rail { border-left: 1px solid var(--line); padding-left: 20px; }
.rail-intro { font: 13px/1.4 Georgia, serif; color: #52627d; margin-top: -8px; }
.rail-story { padding-block: 14px; border-bottom: 1px solid var(--line); }
.rail-story .story-image { display: block; margin-bottom: 9px; }
.rail-story img { width: 90px; height: 70px; object-fit: cover; }
.rail-story h3 { font-size: 13px; line-height: 1.3; margin: 5px 0; letter-spacing: -.1px; }
.rail-story p { display: none; }
.rail-story .eyebrow { font-size: 9px; }
.newsletter-band { padding: 45px 0; margin: 10px 0 62px; background: #eaf4f5; border-block: 1px solid #dae9eb; }
.newsletter-inner { width: min(720px, calc(100% - 48px)); margin: auto; text-align: center; }
.newsletter-band .eyebrow { color: #2663a8; }
.newsletter-band h2 { font-size: 34px; line-height: 1.14; letter-spacing: -1px; margin: 10px 0 14px; }
.newsletter-band p { font-size: 15px; margin-bottom: 20px; color: #43516a; }
.newsletter-fields { display: flex; gap: 10px; text-align: left; }
.newsletter-fields label { flex: 1; font-size: 12px; font-weight: 700; }
.newsletter-fields input { display: block; width: 100%; height: 50px; margin-top: 6px; border: 1px solid #768da3; border-radius: 3px; padding: 12px; background: #fff; color: var(--ink); }
.newsletter-fields button { align-self: end; height: 50px; padding: 10px 26px; border: 0; border-radius: 3px; background: #10213d; color: #fff; font-weight: 700; }
.newsletter-band .newsletter-note { font-size: 11px; margin: 13px 0 0; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-status { padding: 12px 16px; background: #fff; border-left: 3px solid #2663ff; font-size: 14px; }
.publisher-section { padding-block: 24px 46px; border-top: 3px solid var(--ink); margin-bottom: 18px; }
.publisher-heading { display: block; margin-bottom: 24px; }
.publisher-heading h2 { font-size: 30px; line-height: 1.1; margin: 0 0 9px; letter-spacing: -.9px; }
.publisher-heading > a { font-size: 12px; color: #43516a; }
.topic-stories { display: grid; gap: 28px; }
.three-stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-stories { grid-template-columns: 1.25fr 1fr; }
.feature-stories .home-story:first-child { grid-row: span 3; }
.feature-stories .home-story:not(:first-child) { display: grid; grid-template-columns: 105px 1fr; gap: 17px; align-self: start; }
.feature-stories .home-story:not(:first-child) p { font-size: 13px; }
.feature-stories .home-story:not(:first-child) img { height: 95px; }
.topic-story .story-image { display: block; margin-bottom: 15px; }
.topic-story img { width: 100%; aspect-ratio: 1.6; height: auto; object-fit: cover; object-position: center 35%; }
.topic-story h3 { font-size: 23px; line-height: 1.16; margin: 6px 0 10px; letter-spacing: -.45px; }
.topic-story p { font: 15px/1.5 Georgia, serif; color: #43516a; margin-bottom: 0; }
.topic-story .eyebrow { font-size: 10px; }
.single-story .home-story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: center; }
.single-story .story-image { margin: 0; }
.single-story h3 { font-size: 29px; }
.single-story p { max-width: 38ch; font-size: 16px; }
.guide-art { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; width: 100%; height: 200px; padding: 22px; background: #e7edf8; color: #143878; overflow: hidden; }
.guide-art span { font-size: 11px; }
.guide-art strong { font-size: 32px; line-height: 1.02; letter-spacing: -1px; }
.home-story:nth-child(2) .guide-art { background: #f4eada; color: #694a20; }
.home-story:nth-child(3) .guide-art { background: #e2eeee; color: #29545c; }
.publisher-method { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding-block: 32px 50px; }
.publisher-method h2 { font-size: 29px; line-height: 1.15; }
.publisher-method p { font-size: 15px; max-width: 58ch; }
.publisher-method > div:last-child { align-self: center; }
.publisher-method > div:last-child a { display: block; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; }
.review-card { border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.review-card:hover { transform: none; box-shadow: none; }
.card-body { padding: 20px 0; }
.card-image { border-radius: 0; }
.library-heading h1 { font-size: 40px; }
.library-heading > .eyebrow, .library-heading > h1, .library-heading > .lede { text-align: center; }
.library-heading > .lede { max-width: 760px; margin-inline: auto; }
.library-heading > .filter-bar { justify-content: center; }
.library-heading .filter-bar a { text-decoration: none; }
.library-heading > .search-label, .library-heading > .search-input { width: min(680px, 100%); margin-inline: auto; }
.library-heading > .search-input { display: block; }
.library-heading > .search-label { text-align: left; }
.contact-form { display: grid; gap: 16px; margin-top: 30px; }
.contact-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #8b9ab1; border-radius: 3px; font: inherit; }
.contact-form button { justify-self: start; }
.site-footer .brand { font-size: 26px; }
.site-footer p { font-size: 13px; }
.site-footer { padding: 44px 0 20px; }
.footer-grid { grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.site-footer .footer-grid > .footer-brand { grid-column: auto; min-width: 0; }
.footer-brand p { max-width: 30ch; margin: 14px 0 12px; }
.site-footer .footer-grid .footer-email { display: block; margin: 0; padding: 0; color: #c4d0e4; font-size: 13px; overflow-wrap: anywhere; }
.footer-nav h2 { margin: 5px 0 16px; font-size: 12px; }
.footer-nav a { display: block; padding: 4px 0; color: #c4d0e4; font-size: 14px; line-height: 1.5; text-decoration: none; }
.footer-nav a:hover, .site-footer .footer-grid .footer-email:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 30px; padding-top: 18px; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
}
@media (max-width: 479px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-nav h2 { margin-bottom: 10px; }
  .footer-bottom { align-items: flex-start; gap: 10px; }
}
.editorial-review {
  padding-block: 40px 65px;
}
.editorial-review > .article-heading {
  max-width: 920px;
  margin-left: 0;
}
.editorial-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(230px, 280px);
  gap: 65px;
  align-items: start;
}
.editorial-main {
  min-width: 0;
}
.editorial-main .article-image {
  width: 100%;
  max-width: none;
  margin-top: 15px;
}
.editorial-main .article-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0;
  background: transparent;
}
.editorial-main .article-body {
  width: 100%;
  max-width: none;
}
.recommended-reading {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}
.recommended-reading > h2 {
  margin-bottom: 24px;
  font-size: 29px;
}
.recommended-grid .review-card {
  border-radius: 0;
  box-shadow: none;
}
.recommended-grid .card-body {
  padding: 18px;
}
.recommended-grid .card-body h3 {
  font-size: 21px;
}
@media (max-width: 767px) {
  .recommended-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .recommended-reading {
    margin-top: 36px;
  }
}
.article-sidebar {
  align-self: stretch;
  border-left: 1px solid #e0e6ef;
  padding-left: 26px;
}
.sidebar-content {
  position: sticky;
  top: var(--sidebar-top, 22px);
  max-height: none;
  overflow: visible;
}
.sidebar-toc {
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e6ef;
}
.sidebar-toc summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}
.sidebar-toc nav {
  padding-top: 12px;
}
.sidebar-related {
  margin-top: 22px;
}
.article-sidebar h2 {
  font-size: 19px;
  margin-bottom: 16px;
}
.article-sidebar a {
  display: block;
  padding-block: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #40557c;
  text-decoration: none;
}
.article-sidebar a:hover {
  color: #2056df;
}
.sidebar-cards {
  display: grid;
  gap: 14px;
}
.article-sidebar .sidebar-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: #10213d;
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
}
.sidebar-card img {
  width: 82px;
  height: 88px;
  object-fit: cover;
  border-radius: 5px;
}
.sidebar-guide-image {
  display: grid;
  place-items: center;
  width: 82px;
  height: 88px;
  background: #eef4ff;
  color: #2663ff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.sidebar-card-label {
  display: block;
  margin-bottom: 5px;
  color: #2663ff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sidebar-card h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.article-sidebar .sidebar-card:hover {
  border-color: #9bb7fa;
}
.offer-box {
  text-align: center;
}
.offer-box h3 {
  margin-top: 0;
  font-size: 24px;
}
.offer-box .button {
  margin-inline: auto;
}
.offer-box .commercial-note {
  font-size: 11px;
  margin-top: 14px;
  margin-bottom: 0;
}
.article-body .ad-slot.wrap {
  width: 100%;
  margin-block: 38px;
}
.ad-preview {
  margin-block: 38px;
  padding-block: 16px;
  border-block: 1px solid #e0e6ef;
  text-align: center;
}
.ad-preview > span {
  display: block;
  font-size: 10px;
  color: #687b99;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.ad-preview > div {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 20px;
  background: #f4f6fa;
  color: #687b99;
  font-size: 12px;
}

@media (max-width: 1050px) {
  .publisher-lead { grid-template-columns: 145px minmax(0, 1fr) 155px; gap: 20px; }
  .home-left-rail { padding-right: 15px; }
  .home-right-rail { padding-left: 15px; }
  .lead-story h1 { font-size: 28px; }
  .home-left-rail h3 { font-size: 13px; }
  .primary-menu { gap: 12px; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .header-inner { grid-template-columns: 1fr 44px; padding-top: 12px; row-gap: 0; }
  .site-header #site-nav { grid-column: 1 / -1; grid-row: 2; padding-block: 14px; }
  .header-search { grid-column: 2; grid-row: 1; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .editorial-article-grid { grid-template-columns: minmax(0, 1fr) 220px; gap: 26px; }
  .article-sidebar { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 18px; }
  .sidebar-content { position: sticky; }
  .sidebar-toc { display: block; }
  .sidebar-cards { grid-template-columns: 1fr; }
}
@media (width < 768px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: minmax(0, 1fr) 32px 32px; min-height: 76px; column-gap: 8px; row-gap: 0; }
  .header-inner .brand { font-size: 23px; }
  .header-search { display: grid; grid-column: 3; grid-row: 1; width: 32px; height: 40px; }
  .menu-toggle { display: grid; place-items: center; grid-column: 2; grid-row: 1; width: 32px; height: 40px; padding: 0; border: 0; background: transparent; }
  .site-header #site-nav { display: none; grid-column: 1 / -1; grid-row: 2; width: 100%; padding-block: 0 15px; }
  .site-header #site-nav.is-open { display: block; }
  .site-header #site-nav a { display: block; padding-block: 11px; border-bottom: 1px solid var(--line); }
  .header-search-panel.wrap { padding: 12px; }
  .primary-menu { display: block; }
  .site-header .editorial-topics { width: calc(100% - 36px); justify-content: flex-start; flex-wrap: wrap; gap: 9px 20px; padding-block: 12px; }
  .site-header .editorial-topics a { font-size: 11px; }
  .editorial-disclosure { text-align: left; font-size: 10px; }
  .publisher-lead { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .lead-story { grid-row: 1; }
  .lead-story h1 { font-size: 32px; }
  .home-left-rail { border: 0; padding: 22px 0 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .home-left-rail .rail-story { display: block; min-width: 0; }
  .home-left-rail > h2, .home-left-rail > a { grid-column: 1 / -1; }
  .home-left-rail h3 { font-size: 15px; }
  .home-right-rail { border: 0; padding: 22px 0 0; border-top: 2px solid var(--ink); }
  .rail-story { display: grid; grid-template-columns: 90px 1fr; gap: 15px; }
  .rail-story h3 { font-size: 16px; }
  .rail-story .story-image { margin: 0; }
  .newsletter-band { padding-block: 32px; margin-bottom: 40px; }
  .newsletter-band h2 { font-size: 29px; }
  .newsletter-fields { flex-direction: column; }
  .newsletter-fields label, .newsletter-fields button { width: 100%; }
  .publisher-heading h2 { font-size: 28px; }
  .topic-stories, .two-stories, .three-stories, .feature-stories { grid-template-columns: 1fr; gap: 25px; }
  .feature-stories .home-story:first-child { grid-row: auto; }
  .single-story .home-story { display: block; }
  .single-story .story-image { margin-bottom: 15px; }
  .single-story h3 { font-size: 24px; }
  .publisher-method { grid-template-columns: 1fr; gap: 10px; }
  .publisher-section { padding-bottom: 30px; }
  .editorial-article-grid { grid-template-columns: 1fr; }
  .article-sidebar { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .sidebar-content { position: static; transform: none; }
  .sidebar-toc { display: block; }
}

@media (min-width: 601px) and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .newsletter-revealed .newsletter-inner {
    animation: newsletter-arrive 650ms cubic-bezier(.2, .7, .3, 1) both;
  }
  @keyframes newsletter-arrive {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
