:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f5f7f8;
  --ink: #202426;
  --muted: #5f676b;
  --line: #edf0f2;
  --brand: #e53734;
  --brand-dark: #b82021;
  --table-red-soft: rgba(184, 32, 33, 0.75);
  --accent: #f9a824;
  --rose: #ec417a;
  --trust: #2f7f33;
  --shadow: 0 16px 38px rgba(40, 48, 52, 0.07);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.68;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

.site-header {
  background: var(--surface);
  border-bottom: 0;
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  transition: color 160ms ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--brand);
}

.brand:hover .brand-name,
.brand:hover .brand-separator,
.brand:hover .brand-network,
.brand:focus-visible .brand-name,
.brand:focus-visible .brand-separator,
.brand:focus-visible .brand-network {
  color: var(--brand);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--surface-muted);
  font-size: 24px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.site-nav a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 6px;
}

.site-nav a:hover {
  background: var(--surface-muted);
  color: var(--brand);
}

.hero {
  border-bottom: 0;
  background: var(--surface);
  color: var(--ink);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 18px;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.updated-date {
  display: block;
  width: fit-content;
  max-width: 760px;
  margin: 18px 0 0;
  padding: 0;
  color: #9aa1a6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.68;
}

.updated-date time {
  margin-left: 5px;
  color: #9aa1a6;
  font-weight: 400;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.button.secondary:hover {
  border-color: var(--brand);
  background: rgba(217, 75, 69, 0.07);
  color: var(--brand-dark);
}

.page {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 72px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: start;
}

.article {
  max-width: 760px;
}

.article-figure {
  margin: 28px 0 34px;
}

.article-figure picture {
  display: block;
}

.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.article h2 {
  margin: 34px 0 14px;
  font-size: 32px;
}

.article h3 {
  margin: 30px 0 10px;
  font-size: 23px;
  color: var(--brand-dark);
}

.article p {
  margin: 0 0 18px;
}

.article ul {
  padding-left: 24px;
  margin: 0 0 22px;
}

.article li {
  margin: 8px 0;
  padding-left: 2px;
}

.article li::marker {
  color: var(--brand);
}

.question-box,
.faq-section,
.test-box {
  margin: 26px 0 30px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f7f8;
}

.question-box h3,
.faq-section h2,
.test-box h3 {
  margin-top: 0;
}

.question-box p,
.test-box p {
  color: var(--muted);
}

.question-box > :last-child,
.faq-section > :last-child,
.test-box > :last-child {
  margin-bottom: 0;
}

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

.article .question-list {
  padding-left: 0;
}

.question-list li {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.question-list li::marker {
  content: "";
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 21px;
}

.faq-item p {
  margin-bottom: 0;
}

.answer-table {
  width: 100%;
  margin: 24px 0 30px;
  border-collapse: collapse;
  table-layout: auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.answer-table-question {
  width: auto;
}

.answer-table-good,
.answer-table-attention {
  width: auto;
}

.answer-table th,
.answer-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.answer-table th {
  background: var(--brand);
  color: #fff;
}

.answer-table td:first-child {
  font-weight: 700;
  color: var(--ink);
}

.answer-table tr:nth-child(even) td {
  background: #f6f7f8;
}

.toc,
.note-card {
  background: var(--surface);
  border: 1px solid rgba(229, 55, 52, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.toc {
  position: sticky;
  top: 18px;
  padding: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

.toc-title {
  margin: 0 0 12px;
  padding: 9px 10px;
  border-radius: 6px;
  background: var(--brand);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.toc a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  background: var(--surface-muted);
  color: var(--brand);
}

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

.note-card {
  padding: 22px;
}

.note-card h2 {
  margin: 0 0 10px;
  font-size: 23px;
  color: var(--brand-dark);
}

.note-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero-inner {
    padding: 10px 0 8px;
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .toc {
    position: static;
    order: -1;
  }

  .page {
    padding-top: 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 32px;
  }

  .lede {
    font-size: 19px;
  }

  .article h2 {
    font-size: 27px;
  }

  .page {
    padding-bottom: 16px;
  }

  .question-box,
  .test-box {
    margin: 22px 0 26px;
    padding: 16px;
  }

  .faq-section {
    margin: 22px 0 0;
    padding: 16px;
  }

  .question-list li {
    padding: 10px 12px;
  }

  .answer-table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
  }

  .answer-table thead,
  .answer-table colgroup {
    display: none;
  }

  .answer-table,
  .answer-table tbody,
  .answer-table tr,
  .answer-table td {
    display: block;
    width: 100%;
  }

  .answer-table tr {
    margin: 0 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
  }

  .answer-table th,
  .answer-table td {
    border: 0;
  }

  .answer-table td {
    padding: 12px 14px;
    border-top: 1px solid var(--line);
  }

  .answer-table td:first-child {
    border-top: 0;
    background: var(--table-red-soft);
    color: #fff;
    font-size: 17px;
  }

  .answer-table tr:nth-child(even) td {
    background: var(--surface);
  }

  .answer-table tr:nth-child(even) td:first-child {
    background: var(--table-red-soft);
  }

  .answer-table td::before {
    content: attr(data-label);
    display: block;
    margin: 0 0 4px;
    color: var(--brand-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
  }

  .answer-table td[data-label="Добър знак"]::before {
    color: var(--trust);
  }

  .answer-table td[data-label="Нормално е"]::before {
    color: var(--trust);
  }

  .answer-table td[data-label="Внимание"]::before {
    color: var(--brand-dark);
  }

  .answer-table td:first-child::before {
    content: "";
    display: none;
  }
}

/* Approved article template: premium editorial layout. */
:root {
  --premium-navy: #172636;
  --premium-muted: #59666f;
  --premium-soft: #f6f8fa;
  --premium-soft-red: rgba(229, 55, 52, 0.08);
  --premium-line: rgba(23, 38, 54, 0.12);
  --premium-shadow: 0 20px 52px rgba(23, 38, 54, 0.11);
  --premium-small-shadow: 0 10px 28px rgba(23, 38, 54, 0.08);
}

.article-template {
  background: #fafafa;
  color: var(--premium-navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.72;
}

.article-template h1,
.article-template h2,
.article-template h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.article-template .site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  border: 1px solid var(--premium-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(23, 38, 54, 0.08);
  backdrop-filter: blur(14px);
}

.article-template .header-inner {
  width: 100%;
  min-height: 68px;
  padding: 10px 14px;
}

.article-template .brand {
  gap: 13px;
  color: var(--premium-navy);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.article-template .brand:hover,
.article-template .brand:focus-visible {
  color: var(--brand);
}

.article-template .brand:hover .brand-name,
.article-template .brand:hover .brand-separator,
.article-template .brand:hover .brand-network,
.article-template .brand:focus-visible .brand-name,
.article-template .brand:focus-visible .brand-separator,
.article-template .brand:focus-visible .brand-network {
  color: var(--brand);
}

.article-template .brand-name {
  display: inline;
}

.article-template .header-link-mobile {
  display: none;
}

.article-template .brand-mark {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  font-size: 29px;
}

.article-template .header-directory-link {
  margin-left: auto;
  margin-right: 18px;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.article-template .header-directory-link:hover {
  color: var(--brand);
}

.article-template .header-directory-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.article-template .header-directory-icon::before {
  content: "";
  position: absolute;
  inset: 1px 4px 4px 1px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.article-template .header-directory-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(45deg);
  transform-origin: center;
}

.article-template .hero {
  margin-top: 18px;
  background: transparent;
}

.article-template .hero-inner {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 22px;
  align-items: center;
  padding: 0;
}

.article-template .hero-copy,
.article-template .hero-visual {
  border: 1px solid var(--premium-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--premium-shadow);
}

.article-template .hero-copy {
  min-height: 0;
  height: 100%;
  padding: clamp(18px, 2.4vw, 24px) clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-template h1 {
  max-width: 560px;
  font-size: clamp(30px, 3.1vw, 38px);
  line-height: 1.08;
}

.article-template .lede {
  max-width: 630px;
  margin-top: 16px;
  color: var(--premium-muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.52;
}

.article-template .updated-date {
  color: #8e979d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.article-template .updated-date time {
  color: #8e979d;
}

.article-template .hero-inner > .updated-date {
  grid-column: 1 / -1;
  margin: 4px 0 0 14px;
}

.article-template .hero-visual {
  min-height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.article-template .hero-visual picture,
.article-template .hero-visual img {
  width: 100%;
  height: 100%;
}

.article-template .hero-visual img {
  object-fit: cover;
  object-position: center 52%;
}

.article-template .hero-placeholder {
  background: var(--premium-soft);
}

.article-template .page {
  width: min(1180px, calc(100% - 32px));
  padding: 22px 0 36px;
}

.article-template .article-shell {
  grid-template-columns: minmax(0, 780px) minmax(260px, 320px);
  justify-content: space-between;
  gap: 24px;
}

.article-template .article {
  max-width: none;
  transform: translateX(10px);
}

.article-template .article > p {
  color: #273039;
  font-size: 19px;
  line-height: 1.78;
}

.article-template .article > p:first-child {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #273039;
  font-size: 19px;
  line-height: 1.78;
}

.article-template .article h2 {
  margin: 34px 0 12px;
  font-size: clamp(25px, 2.55vw, 30px);
  line-height: 1.14;
}

.article-template .article h3 {
  margin: 22px 0 8px;
  color: var(--brand-dark);
  font-size: 24px;
}

.article-template .test-box,
.article-template .question-box,
.article-template .faq-section {
  margin: 24px 0 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-template .article > .test-box:first-of-type {
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-template .question-list {
  gap: 12px;
}

.article-template .question-list li {
  padding: 14px 16px;
  border-color: rgba(23, 38, 54, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(23, 38, 54, 0.04);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.article-template .article > .test-box:first-of-type .question-list li {
  box-shadow: none;
}

.article-template .article-figure {
  margin: 34px 0 42px;
}

.article-template .article-figure img {
  border: 1px solid var(--premium-line);
  border-radius: 14px;
  box-shadow: var(--premium-shadow);
}

.article-template .article-figure figcaption {
  max-width: 92%;
  margin: 12px auto 0;
  color: #66717a;
  text-align: center;
}

.article-template .answer-table {
  margin: 28px 0 38px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--premium-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--premium-small-shadow);
  font-size: 15px;
}

.article-template .answer-table th {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--brand);
  color: #fff;
  font-size: 15px;
}

.article-template .answer-table td {
  border-color: var(--premium-line);
}

.article-template .answer-table tr:nth-child(even) td {
  background: var(--premium-soft);
}

.article-template .toc {
  position: static;
  top: 104px;
  padding: 16px;
  border: 1px solid rgba(229, 55, 52, 0.2);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--premium-shadow);
}

.article-template .toc-title {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 15px;
  background: var(--brand);
  font-size: 18px;
  line-height: 1.25;
}

.article-template .toc a {
  padding: 6px 12px;
  border-radius: 13px;
  color: #4f5b63;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.22;
}

.article-template .toc a:hover {
  background: var(--premium-soft-red);
  color: var(--brand-dark);
}

.article-template .faq-item {
  padding: 4px 0;
  border-top: 0;
}

.article-template .faq-item:first-of-type {
  padding-top: 0;
}

.article-template .faq-item h3 {
  margin-top: 12px;
  margin-bottom: 6px;
  color: var(--brand-dark);
}

.article-template .faq-item:first-of-type h3 {
  margin-top: 0;
}

.article-template .faq-section > h2 {
  color: var(--ink);
}

.article-template .read-more-section {
  margin: 34px 0 0;
}

.article-template .read-more-section h2 {
  margin-bottom: 14px;
}

.article-template .read-more-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-template .read-more-list li {
  margin: 0;
  padding: 0;
}

.article-template .read-more-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(23, 38, 54, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(23, 38, 54, 0.04);
  color: var(--brand-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-template .read-more-list h4 {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.article-template .read-more-list a:hover {
  border-color: rgba(229, 55, 52, 0.32);
  background: var(--premium-soft-red);
  color: var(--brand-dark);
}

.article-template .site-footer {
  border-top: 1px solid var(--premium-line);
  background: #fff;
}

.article-template .footer-inner {
  width: min(1180px, calc(100% - 32px));
  padding: 28px 0;
  color: var(--premium-muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .article-template .site-header {
    top: 0;
    width: 100%;
    margin-top: 0;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .article-template .header-inner {
    align-items: center;
    flex-direction: row;
    min-height: 62px;
    padding: 8px 16px;
  }

  .article-template .brand {
    font-size: 15px;
    line-height: 1.12;
  }

  .article-template .brand-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .article-template .brand-separator {
    display: none;
  }

  .article-template .brand-network {
    font-weight: 400;
  }

  .article-template .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 25px;
  }

  .article-template .header-directory-link {
    margin-right: 0;
    font-size: 15px;
  }

  .article-template .header-link-desktop {
    display: none;
  }

  .article-template .header-link-mobile {
    display: inline;
  }

  .article-template .hero {
    margin-top: 14px;
  }

  .article-template .hero-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-template .hero-copy,
  .article-template .hero-visual {
    border-radius: 22px;
  }

  .article-template .hero-copy {
    padding: 28px 22px;
  }

  .article-template .hero-inner > .updated-date {
    margin-top: 0;
  }

  .article-template .hero-visual {
    aspect-ratio: 16 / 9;
  }

  .article-template .article-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-template .toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 560px) {
  .article-template {
    font-size: 17px;
  }

  .article-template h1 {
    font-size: 30px;
    line-height: 1.02;
  }

  .article-template .lede {
    font-size: 18px;
  }

  .article-template .hero-copy {
    padding: 24px 20px;
  }

  .article-template .article > p,
  .article-template .article > p:first-child {
    font-size: 17px;
    line-height: 1.72;
  }

  .article-template .article h2 {
    margin-top: 42px;
    font-size: 30px;
  }

  .article-template .article h3,
  .article-template .faq-item h3 {
    font-size: 20px;
  }

  .article-template .page {
    padding-bottom: 8px;
  }

  .article-template .answer-table {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .article-template .answer-table tr {
    border-color: var(--premium-line);
    border-radius: 18px;
    box-shadow: var(--premium-small-shadow);
  }

  .article-template .answer-table td:first-child,
  .article-template .answer-table tr:nth-child(even) td:first-child {
    background: var(--table-red-soft);
  }
}

/* Home portal layout. */
.home-template {
  background: #fafafa;
  color: var(--premium-navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

.home-template h1,
.home-template h2,
.home-template h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.home-template .site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  border: 1px solid var(--premium-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(23, 38, 54, 0.08);
  backdrop-filter: blur(14px);
}

.home-template .header-inner {
  width: 100%;
  min-height: 68px;
  padding: 10px 14px;
}

.home-template .brand {
  gap: 13px;
  color: var(--premium-navy);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.home-template .brand:hover,
.home-template .brand:focus-visible {
  color: var(--brand);
}

.home-template .brand:hover .brand-name,
.home-template .brand:hover .brand-separator,
.home-template .brand:hover .brand-network,
.home-template .brand:focus-visible .brand-name,
.home-template .brand:focus-visible .brand-separator,
.home-template .brand:focus-visible .brand-network {
  color: var(--brand);
}

.home-template .brand-mark {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  font-size: 29px;
}

.home-template .header-link-mobile {
  display: none;
}

.home-template .header-directory-link {
  margin-left: auto;
  margin-right: 18px;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.home-template .header-directory-link:hover {
  color: var(--brand);
}

.home-template .header-directory-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.home-template .header-directory-icon::before {
  content: "";
  position: absolute;
  inset: 1px 4px 4px 1px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.home-template .header-directory-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(45deg);
  transform-origin: center;
}

.home-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 24px;
  align-items: stretch;
}

.home-hero-copy,
.home-hero-media,
.home-search-panel,
.home-directory-card,
.home-guide-card,
.home-topic-list,
.home-criteria-grid,
.home-season-section {
  border: 1px solid var(--premium-line);
  background: #fff;
  box-shadow: var(--premium-shadow);
}

.home-hero-copy {
  min-height: 430px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-kicker,
.home-section-label {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-template h1 {
  max-width: 660px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
}

.home-lede {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--premium-muted);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.55;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-primary,
.home-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.home-primary {
  background: var(--brand);
  color: #fff;
}

.home-actions .home-primary,
.home-actions .home-secondary {
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 16px;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.home-actions .home-primary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--brand), #c82828);
  box-shadow: 0 18px 38px rgba(229, 55, 52, 0.24);
}

.home-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.home-actions .home-primary:hover {
  background: linear-gradient(135deg, var(--brand-dark), #9f1d1d);
  box-shadow: 0 20px 44px rgba(184, 32, 33, 0.28);
}

.home-secondary {
  border: 1px solid rgba(23, 38, 54, 0.14);
  background: #fff;
  color: var(--brand-dark);
}

.home-actions .home-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home-actions .home-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.home-secondary:hover {
  border-color: rgba(229, 55, 52, 0.34);
  background: var(--premium-soft-red);
  color: var(--brand-dark);
}

.home-hero-media {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
}

.home-hero-media picture,
.home-hero-media img {
  width: 100%;
  height: 100%;
}

.home-hero-media img {
  object-fit: cover;
  object-position: center;
}

.home-search-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 24px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: center;
}

.home-search-panel h2,
.home-section h2 {
  margin: 0;
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.1;
}

.home-search-panel p,
.home-section-head p,
.home-directory-card p,
.home-guide-card p,
.home-topic-list em,
.home-criteria-grid p,
.home-season-section p {
  color: var(--premium-muted);
}

.home-search-panel p {
  margin: 10px 0 0;
}

.home-filter-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-filter-cloud a {
  padding: 9px 13px;
  border: 1px solid rgba(23, 38, 54, 0.1);
  border-radius: 999px;
  background: var(--premium-soft);
  color: #33404a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.home-filter-cloud a:hover {
  border-color: rgba(229, 55, 52, 0.32);
  background: var(--premium-soft-red);
  color: var(--brand-dark);
}

.home-section {
  width: min(1180px, calc(100% - 32px));
  margin: 56px auto 0;
}

.home-section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.home-section-head p:last-child {
  margin: 14px 0 0;
  font-size: 18px;
}

.home-directory-card {
  padding: 26px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-color: rgba(229, 55, 52, 0.22);
}

.home-directory-card h3,
.home-guide-card h3,
.home-criteria-grid h3 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.14;
}

.home-directory-card p,
.home-guide-card p,
.home-criteria-grid p,
.home-season-section p {
  margin: 0;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.91fr) minmax(0, 0.91fr);
  gap: 18px;
}

.home-guide-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border-radius: 26px;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
}

.home-guide-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(229, 55, 52, 0.08);
}

.home-guide-card:hover {
  border-color: rgba(229, 55, 52, 0.34);
  transform: translateY(-2px);
}

.home-guide-card-large {
  background: linear-gradient(135deg, #fff 0%, #fff 52%, #fff5f4 100%);
}

.home-card-index {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--brand-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.home-guide-card h3 {
  color: var(--brand-dark);
}

.home-guide-card-large h3 {
  max-width: 420px;
  color: var(--ink);
  font-size: 31px;
}

.home-topic-list {
  margin-top: 18px;
  border-radius: 26px;
  overflow: hidden;
}

.home-topic-list a {
  display: grid;
  grid-template-columns: 56px minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 22px;
  border-top: 1px solid var(--premium-line);
  color: var(--premium-navy);
  text-decoration: none;
}

.home-topic-list a:first-child {
  border-top: 0;
}

.home-topic-list a:hover {
  background: var(--premium-soft-red);
}

.home-topic-list span {
  color: var(--brand-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.home-topic-list strong {
  color: var(--brand-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.2;
}

.home-topic-list em {
  font-style: normal;
  font-size: 15px;
  line-height: 1.45;
}

.home-split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.home-split-section .home-section-head {
  margin-bottom: 0;
}

.home-criteria-grid {
  padding: 18px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-criteria-grid div {
  padding: 18px;
  border-radius: 18px;
  background: var(--premium-soft);
}

.home-criteria-grid h3 {
  color: var(--brand-dark);
  font-size: 22px;
}

.home-season-section {
  margin-bottom: 42px;
  padding: 28px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.home-season-section p {
  max-width: 780px;
  margin-top: 12px;
}

.home-template .site-footer {
  border-top: 1px solid var(--premium-line);
  background: #fff;
}

.home-template .footer-inner {
  width: min(1180px, calc(100% - 32px));
  padding: 28px 0;
  color: var(--premium-muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .home-template .site-header {
    top: 0;
    width: 100%;
    margin-top: 0;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .home-template .header-inner {
    align-items: center;
    flex-direction: row;
    min-height: 62px;
    padding: 8px 16px;
  }

  .home-template .brand {
    font-size: 15px;
    line-height: 1.12;
  }

  .home-template .brand-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .home-template .brand-separator {
    display: none;
  }

  .home-template .brand-network {
    font-weight: 400;
  }

  .home-template .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 25px;
  }

  .home-template .header-directory-link {
    margin-right: 0;
    font-size: 15px;
  }

  .home-template .header-link-desktop {
    display: none;
  }

  .home-template .header-link-mobile {
    display: inline;
  }

  .home-hero,
  .home-search-panel,
  .home-feature-grid,
  .home-split-section,
  .home-season-section {
    grid-template-columns: 1fr;
  }

  .home-hero {
    margin-top: 14px;
  }

  .home-hero-copy {
    min-height: auto;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .home-hero-media {
    min-height: 260px;
    border-radius: 24px;
  }

  .home-search-panel,
  .home-directory-card,
  .home-criteria-grid,
  .home-season-section {
    border-radius: 22px;
  }

  .home-directory-card {
    grid-template-columns: 1fr;
  }

  .home-topic-list a {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .home-topic-list em {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .home-template h1 {
    font-size: 36px;
  }

  .home-lede {
    font-size: 18px;
  }

  .home-actions,
  .home-season-section .home-secondary {
    width: 100%;
  }

  .home-primary,
  .home-secondary {
    width: 100%;
  }

  .home-search-panel,
  .home-directory-card,
  .home-guide-card,
  .home-season-section {
    padding: 20px;
  }

  .home-feature-grid {
    gap: 14px;
  }

  .home-guide-card {
    min-height: auto;
  }

  .home-card-index {
    margin-bottom: 28px;
  }

  .home-guide-card-large h3,
  .home-guide-card h3 {
    font-size: 24px;
  }

  .home-topic-list a {
    padding: 16px;
    gap: 10px;
  }

  .home-topic-list strong {
    font-size: 18px;
  }

  .home-criteria-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .home-section {
    margin-top: 42px;
  }
}

/* Dark editorial home variant. */
.home-template {
  background: #14171a;
  color: #eef1f2;
}

.home-template::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    #14171a;
}

.home-template .site-header {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(20, 23, 26, 0.76);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.home-template .brand {
  color: #fff;
}

.home-template .header-directory-link {
  color: var(--brand);
}

.home-template .header-directory-link:hover {
  color: var(--brand);
}

.home-template .header-directory-icon::before {
  border-color: var(--brand);
}

.home-template .header-directory-icon::after {
  background: var(--brand);
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  margin: -96px 0 0;
  display: flex;
  align-items: flex-start;
  padding: 144px max(24px, calc((100vw - 1180px) / 2)) 64px;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 12, 14, 0.86) 0%, rgba(9, 12, 14, 0.68) 43%, rgba(9, 12, 14, 0.26) 100%),
    linear-gradient(180deg, rgba(9, 12, 14, 0.18) 0%, rgba(9, 12, 14, 0.2) 55%, #14171a 100%);
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  box-shadow: none;
}

.home-hero-media img {
  min-height: 100%;
  filter: saturate(0.98) contrast(1.05);
  object-position: center;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-kicker,
.home-section-label {
  color: #ff6b68;
}

.home-template h1,
.home-template h2,
.home-template h3 {
  color: #fff;
}

.home-template h1 {
  max-width: 780px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 0.98;
  text-wrap: balance;
}

.home-lede {
  max-width: 690px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 2vw, 24px);
}

.home-actions {
  margin-top: 56px;
}

.home-primary {
  background: var(--brand);
  color: #fff;
}

.home-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-secondary:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-intro-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 26px;
  align-items: center;
}

.home-intro-panel h2,
.home-section h2 {
  margin: 0;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
}

.home-intro-panel p,
.home-section-head p,
.home-guide-card p,
.home-topic-list em,
.home-criteria-grid p,
.home-directory-strip p {
  color: rgba(238, 241, 242, 0.72);
}

.home-intro-panel p {
  margin: 12px 0 0;
}

.home-filter-cloud a {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.88);
}

.home-filter-cloud a:hover {
  border-color: rgba(229, 55, 52, 0.62);
  background: rgba(229, 55, 52, 0.18);
  color: #fff;
}

.home-topic-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  padding: 2px 0 8px;
}

.home-slide {
  position: relative;
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  background: #111;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.home-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.58));
}

.home-slide img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.home-slide span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  z-index: 2;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
}

.home-slide:hover {
  border-color: rgba(229, 55, 52, 0.68);
}

.home-slide:hover img {
  transform: scale(1.035);
}

.home-guides-section {
  margin-top: 48px;
}

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

.home-guide-tile {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 164px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
  color: #eef1f2;
  text-decoration: none;
}

.home-guide-tile:hover {
  border-color: rgba(229, 55, 52, 0.42);
  background: rgba(255, 255, 255, 0.085);
}

.home-guide-tile img {
  width: 100%;
  height: 100%;
  min-height: 164px;
  object-fit: cover;
}

.home-guide-placeholder {
  width: 100%;
  height: 100%;
  min-height: 164px;
  background: var(--premium-soft);
}

.home-guide-tile div {
  padding: 20px 22px;
}

.home-guide-tile span {
  display: block;
  margin-bottom: 10px;
  color: #ff6b68;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-guide-tile .home-guide-placeholder {
  margin: 0;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
}

.home-guide-tile h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.12;
}

.home-guide-tile p {
  margin: 0;
  color: rgba(238, 241, 242, 0.72);
  font-size: 15px;
  line-height: 1.48;
}

.home-section {
  margin-top: 70px;
}

.home-section-head {
  max-width: 840px;
}

.home-feature-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
}

.home-guide-card,
.home-topic-list,
.home-criteria-grid,
.home-directory-strip {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.24);
}

.home-guide-card {
  min-height: 270px;
}

.home-guide-card-large {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    linear-gradient(135deg, rgba(229, 55, 52, 0.18), rgba(229, 55, 52, 0));
}

.home-guide-card:hover {
  border-color: rgba(229, 55, 52, 0.56);
  background: rgba(255, 255, 255, 0.09);
}

.home-card-index,
.home-guide-card h3,
.home-topic-list span,
.home-topic-list strong {
  color: var(--brand);
}

.home-guide-card-large h3 {
  color: #fff;
}

.home-topic-list a {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #eef1f2;
}

.home-topic-list a:hover {
  background: rgba(229, 55, 52, 0.14);
}

.home-split-section {
  align-items: stretch;
}

.home-criteria-grid div {
  background: rgba(255, 255, 255, 0.065);
}

.home-criteria-grid h3 {
  color: #fff;
}

.home-directory-strip {
  margin-top: 38px;
  margin-bottom: 42px;
  padding: 30px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.home-directory-strip p {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

.home-directory-strip h2 {
  font-size: clamp(26px, 2.1vw, 32px);
  line-height: 1.16;
}

.home-directory-strip .home-primary {
  width: 330px;
  max-width: 100%;
  min-height: 60px;
  padding: 13px 24px;
  text-align: center;
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--brand), #c82828);
  box-shadow: 0 18px 38px rgba(229, 55, 52, 0.22);
}

.home-directory-strip .home-primary:hover {
  background: linear-gradient(135deg, var(--brand-dark), #9f1d1d);
  box-shadow: 0 20px 44px rgba(184, 32, 33, 0.26);
}

.home-template .site-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: #101214;
}

.home-template .footer-inner {
  color: rgba(238, 241, 242, 0.58);
}

@media (max-width: 900px) {
  .home-template .site-header {
    background: rgba(20, 23, 26, 0.94);
  }

  .home-hero {
    min-height: auto;
    margin-top: -63px;
    padding: 104px 20px 22px;
  }

  .home-guides-section {
    margin-top: 24px;
  }

  .home-hero::before {
    background:
      linear-gradient(180deg, rgba(9, 12, 14, 0.42) 0%, rgba(9, 12, 14, 0.72) 48%, #14171a 100%),
      linear-gradient(90deg, rgba(9, 12, 14, 0.55), rgba(9, 12, 14, 0.24));
  }

  .home-hero-copy {
    width: 100%;
  }

  .home-intro-panel,
  .home-feature-grid,
  .home-guide-grid,
  .home-split-section,
  .home-directory-strip {
    grid-template-columns: 1fr;
  }

  .home-intro-panel,
  .home-directory-strip {
    border-radius: 24px;
  }

  .home-topic-slider {
    grid-auto-columns: minmax(160px, 42vw);
  }

  .home-directory-strip .home-primary {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .home-template h1 {
    font-size: 32px;
  }

  .home-lede {
    font-size: 18px;
  }

  .home-intro-panel {
    padding: 22px;
  }

  .home-topic-slider {
    grid-auto-columns: minmax(148px, 62vw);
  }

  .home-slide,
  .home-slide img {
    min-height: 126px;
  }

  .home-guide-tile {
    grid-template-columns: 1fr;
  }

  .home-guide-tile img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .home-guide-tile div {
    padding: 18px;
  }

  .home-guide-tile h3 {
    font-size: 22px;
  }

  .home-directory-strip h2 {
    font-size: 25px;
    line-height: 1.14;
  }
}

/* Author attribution and profile only. */
.article-template .updated-date { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; color:#657077; }
.article-author { color:inherit; }
.article-author a { color:inherit; font-weight:600; text-decoration-color:#a8afb3; }
.article-date { white-space:nowrap; }
.article-date::before { content:"\00b7"; margin-right:8px; }
.article-template .updated-date time { color:inherit; margin-left:0; }
.site-footer .footer-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; }
.author-template .author-profile { width:min(780px,calc(100% - 32px)); margin:0 auto; padding:28px 0 48px; }
.author-breadcrumb,.author-role { font-family:Arial,Helvetica,sans-serif; font-size:14px; color:#5f676b; }
.author-intro { margin:32px 0; }
.author-template .author-intro h1 { font-size:40px; letter-spacing:0; }
.author-template .author-intro .lede { max-width:none; font-size:21px; }
@media(max-width:760px) { .author-template .author-intro h1 {font-size:34px;} .author-template .author-intro .lede {font-size:19px;} }
@media(max-width:480px) { .article-template .updated-date {flex-direction:column;gap:2px;} .article-date::before {content:none;} }
