/* ==========================================================================
   Inner-page styles for service, location, guide, and about templates.
   Complements style.css — does not override homepage section rules except
   footer columns, linked service cards, and linked area chips.
   ========================================================================== */

/* Homepage: service cards as links */
a.payouts__card {
  color: inherit;
  cursor: pointer;
}

a.payouts__card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Homepage: area chips that are links */
.about__areas-list a {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  transition: background 0.2s ease;
}

.about__areas-list a:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Footer columns (homepage + inner pages) */
.footer__nav--cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: 100%;
  text-align: left;
  margin: 16px 0 14px;
}

.footer__col h3 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
}

.footer__col a:hover {
  color: var(--white);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}

.breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb__list li:not(:last-child)::after {
  content: '\203A';
  color: #b0b0b0;
  font-weight: 700;
}

.breadcrumb__list a {
  color: var(--red);
}

.breadcrumb__list a:hover {
  text-decoration: underline;
}

.breadcrumb__list [aria-current="page"] {
  color: var(--black);
}

/* ---------- Page hero / answer-first GEO block ---------- */
.page-hero {
  background: var(--dark);
  padding: 36px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.page-hero .btn {
  margin-top: 8px;
}

/* ---------- Article prose ---------- */
.page-body {
  background: var(--light);
  padding: 40px 0 48px;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-content h2 {
  font-size: 22px;
  margin: 28px 0 12px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 14px;
}

.page-content a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: var(--red-dark);
}

.page-content .btn {
  text-decoration: none;
  margin: 8px 0 20px;
}

/* Restore intended CTA colors — .page-content a { color: red } would
   otherwise paint white-on-red button labels invisible. */
.page-content a.btn,
.page-content a.btn:visited,
.page-content a.btn:hover {
  color: #fff;
  text-decoration: none;
}

.page-content ol,
.page-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 20px;
}

.page-steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: 16px 16px 16px 60px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.page-steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Pricing callout ---------- */
.price-callout {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin: 20px 0 24px;
}

.price-callout h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 12px;
}

.price-callout table {
  width: 100%;
  border-collapse: collapse;
}

.price-callout th,
.price-callout td {
  text-align: left;
  padding: 10px 8px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-callout th {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
}

.price-callout td {
  color: rgba(255, 255, 255, 0.85);
}

.price-callout td:last-child {
  font-weight: 700;
  color: var(--white);
}

.price-callout p {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px !important;
  margin: 12px 0 0 !important;
}

/* ---------- Quote ---------- */
.page-quote {
  margin: 22px 0;
  padding: 18px 18px 16px 20px;
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.page-quote p {
  font-style: italic;
  color: var(--black) !important;
  margin-bottom: 10px !important;
}

.page-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--gray);
}

.page-updated {
  font-size: 13px;
  color: var(--gray);
  margin-top: 8px;
}

/* ---------- Related links ---------- */
.related {
  background: var(--dark);
  padding: 40px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related .section-title {
  color: var(--white);
}

.related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.related__grid a {
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.related__grid a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--red);
}

/* About review cards */
.review-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 12px;
}

.review-card__stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-card blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 10px;
}

.review-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--black);
}

.review-card span {
  font-size: 12px;
  color: var(--gray);
}

.page-content ul.plain-list {
  list-style: disc;
  padding-left: 22px;
  margin: 8px 0 18px;
}

.page-content ul.plain-list li {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
}

@media (min-width: 768px) {
  .footer__nav--cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .breadcrumb .container,
  .page-hero__inner,
  .page-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero { padding: 56px 0 64px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero p { font-size: 16px; }

  .page-hero .btn--cta,
  .page-content .btn--cta {
    margin-left: 0;
    margin-right: auto;
  }

  .page-body { padding: 56px 0 64px; }
  .page-content h2 { font-size: 26px; }

  .related__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 800px;
  }

  .related__grid a {
    text-align: center;
    padding: 16px 18px;
  }

  .about__areas-list a {
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .page-hero { padding: 80px 0 88px; }
  .page-hero h1 { font-size: 48px; }
  .page-hero p { font-size: 17px; line-height: 1.7; }

  .page-body { padding: 64px 0 80px; }

  .page-content {
    line-height: 1.7;
  }

  .page-content p,
  .page-content ul.plain-list li {
    font-size: 18px;
    line-height: 1.7;
  }

  .page-content h2 {
    font-size: 30px;
    margin: 48px 0 16px;
  }

  .page-content h2:first-child { margin-top: 0; }

  .related__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1100px;
  }

  .related__grid a {
    padding: 16px 14px;
  }

  .about__areas-list a {
    font-size: 14px;
    padding: 6px 14px;
  }

  .footer__nav--cols {
    max-width: 960px;
    gap: 40px;
  }
}
