/* Legacy page styles: guides, blog, legal, contact. Loaded with main.css. */
.page-legacy section { padding: clamp(56px, 7vw, 96px) 0; }
.page-legacy .section-head { text-align: center; margin-bottom: 36px; }
.page-legacy .section-head h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 12px; }
.page-legacy .lead { font-weight: 500; color: #1f2933; }

.cta-band {
  background: linear-gradient(135deg, #dbe9f0 0%, #cedecf 100%);
}

.cta-band--image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-band--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 10, 0.46) 0%, rgba(7, 12, 10, 0.5) 100%);
}

.cta-card {
  width: min(702px, 92vw);
  min-height: 422px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fbf7f2 100%);
  padding: 48px 56px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
  align-content: center;
}

.cta-band--image .cta-card {
  position: relative;
  width: min(980px, 92vw);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(5px);
}

.cta-card .guide-actions {
  width: min(720px, 100%);
  margin: 18px auto 0;
  justify-content: center;
  align-items: stretch;
}

.cta-card .guide-actions .btn {
  flex: 1 1 280px;
  min-height: 62px;
}

.cta-card h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-strong);
  margin: 0;
}

.guide-hero {
  position: relative;
  padding: 96px 0 84px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(249, 246, 240, 0.94) 0%, rgba(249, 246, 240, 0.88) 48%, rgba(249, 246, 240, 0.72) 100%);
}

.guide-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
}

.guide-hero-copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.guide-hero-copy p {
  max-width: 720px;
}

.guide-meta {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-meta li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(63, 98, 27, 0.12);
  border-radius: 999px;
  padding: 9px 14px;
  color: #274354;
  font-size: 14px;
  font-weight: 600;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.guide-hero-panel,
.guide-side-card,
.guide-download-card,
.guide-note-card,
.guide-compare-card,
.guide-rule-card,
.guide-step,
.guide-pain-card,
.guide-template-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.guide-hero-panel {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.guide-panel-kicker,
.guide-card-kicker {
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-panel-list,
.guide-preview-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: #1f2933;
}

.guide-panel-note,
.guide-note-card p,
.guide-template-card p,
.guide-compare-card p,
.guide-rule-card p,
.guide-pain-card p,
.guide-step p {
  margin: 0;
  color: #4b5563;
}

.guide-section {
  padding: 84px 0;
}

.guide-section--alt {
  background: #f6f4ee;
}

.guide-section--deep {
  background: linear-gradient(180deg, #ecf2e7 0%, #f7f5ef 100%);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.guide-pain-grid,
.guide-step-grid,
.guide-rule-grid,
.guide-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.guide-pain-card,
.guide-step,
.guide-rule-card,
.guide-compare-card {
  padding: 24px;
  display: grid;
  gap: 10px;
}

.guide-pain-card h3,
.guide-step h3,
.guide-rule-card h3,
.guide-compare-card h3,
.guide-download-card h2,
.guide-note-card h2,
.guide-side-card h3,
.guide-template-card h3 {
  margin: 0;
}

.guide-side-card {
  overflow: hidden;
}

.guide-side-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.guide-side-card-body {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.guide-inline-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #1f2933;
}

.guide-download-card,
.guide-note-card {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.guide-preview {
  background: #f8faf5;
  border: 1px solid rgba(63, 98, 27, 0.14);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  gap: 14px;
}

.guide-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.guide-preview-head strong {
  font-size: 18px;
}

.guide-preview-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(19, 79, 92, 0.08);
  color: var(--teal);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.guide-preview-table th,
.guide-preview-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.guide-preview-table th {
  color: #274354;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-preview-table tr:last-child td {
  border-bottom: 0;
}

.guide-compare-card--highlight {
  background: linear-gradient(180deg, rgba(130, 196, 123, 0.15) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-color: rgba(63, 98, 27, 0.18);
}

.guide-template-card {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.guide-quote {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #274354;
}

.page-hero {
  padding: 90px 0 80px;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
}

.page-hero .container {
  position: relative;
  color: #000;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 500;
  line-height: 54.6px;
  color: #000;
}

.page-hero p {
  color: #000;
}

.page-hero .legal-subhead {
  font-size: 18px;
  line-height: 23.4px;
  font-weight: 400;
  color: #000;
  max-width: 1080px;
}

.page-hero--uppercase h1 {
  text-transform: uppercase;
}

.page-hero--bold h1 {
  font-weight: 600;
}

.page-hero--center .container {
  text-align: center;
}

.page-content {
  background: #f7f3ef;
}

.legal-page-content {
  background: #fff;
}

.page-content--center {
  text-align: center;
}

.page-content ul {
  padding-left: 18px;
  color: #1f2933;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content--center h2 {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-content--center > .container > p {
  max-width: 820px;
  margin: 0 auto 12px;
}

.content-block {
  margin-bottom: 32px;
}

.legal-actions {
  margin-top: 12px;
}

.legal-pdf-btn {
  border-radius: 100px;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 400;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.team-card {
  background: linear-gradient(180deg, #fff 0%, #fcfaf7 100%);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  text-align: center;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-floating);
  border-color: rgba(63, 98, 27, 0.2);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.team-link {
  display: inline-flex;
  margin-top: 8px;
  justify-content: center;
}

.team-link img {
  width: 24px;
  height: 24px;
}

.memories {
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.memories .memories-card {
  background: rgba(15, 21, 14, 0.7);
  padding: 28px 44px;
  border-radius: 8px;
  display: inline-block;
}

.contact-section {
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  padding: 110px 0;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-card,
.contact-form-card {
  background: #fff;
  color: #000;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 1px solid #e5e7eb;
}

.contact-card--transparent {
  background: transparent;
  color: #fff;
  padding: 0;
  box-shadow: none;
  border: 0;
  max-width: 540px;
}

.contact-card--transparent h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.contact-card--transparent p {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.6;
}

.contact-card--transparent p:last-of-type {
  margin-bottom: 0;
}

.contact-form-card {
  box-shadow: var(--shadow-floating);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  font-weight: 600;
}

.contact-form label input[type="checkbox"] {
  margin-right: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: #fff;
}

.contact-form .btn-submit {
  width: 100%;
}

.contact-form p {
  font-size: 12px;
  text-align: center;
}

.ghl-form-shell {
  display: grid;
  gap: 12px;
}

.ghl-form-frame {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.ghl-form-error {
  margin: 0;
  font-size: 13px;
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
}

.ghl-form-legal {
  margin: 0;
  font-size: 13px;
  color: #334155;
  text-align: center;
}

.ghl-form-legal a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-page {
  background: linear-gradient(180deg, #fff 0%, #f7f2ec 100%);
}

.blog-hero,
.blog-toolbar,
.blog-grid-section,
.blog-article,
.blog-related {
  position: relative;
}

.blog-hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 56px);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.blog-hero-copy h1 {
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--ink);
}

.blog-post-hero-copy h1 {
  font-size: clamp(34px, 3.9vw, 50px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 100%;
}

.blog-hero-copy .lead,
.blog-post-hero-copy .lead {
  margin: 0;
  color: #1f2933;
}

.blog-actions,
.blog-card-meta,
.blog-tag-list,
.blog-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-actions {
  margin-top: 24px;
}

.blog-hero-note {
  margin: 8px 0 0;
  color: rgba(31, 41, 51, 0.72);
  font-size: 15px;
}

.blog-featured,
.blog-card,
.blog-author-card,
.blog-video-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  gap: 0;
  overflow: hidden;
}

.blog-featured-copy {
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  align-content: start;
  gap: 12px;
}

.blog-featured-copy h2,
.blog-card-title,
.blog-video-card h2,
.blog-author-copy h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.18;
}

.blog-featured-copy h2 {
  font-size: clamp(24px, 2.8vw, 34px);
}

.blog-featured-copy p,
.blog-card-excerpt,
.blog-toolbar-copy p,
.blog-author-copy p,
.blog-related .lead {
  margin: 0;
  color: #1f2933;
}

.blog-featured-media {
  margin: 0;
  min-height: 100%;
}

.blog-featured-media img,
.blog-card-media img,
.blog-post-hero-media img,
.blog-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-media img {
  min-height: 320px;
}

.blog-toolbar {
  padding: 12px 0 24px;
}

.blog-toolbar-inner {
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 0 0;
  border-top: 1px solid rgba(15, 21, 14, 0.08);
}

.blog-toolbar-copy {
  max-width: 520px;
}

.blog-meta-inline,
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: rgba(31, 41, 51, 0.72);
  font-size: 14px;
}

.blog-meta-inline span,
.blog-card-meta span {
  display: inline-flex;
  align-items: center;
}

.blog-meta-inline span + span::before,
.blog-card-meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: rgba(31, 41, 51, 0.38);
}

.blog-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-chip,
.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-chip {
  border: 1px solid rgba(15, 21, 14, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-strong);
  padding: 9px 14px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.blog-chip span {
  background: rgba(15, 21, 14, 0.05);
  color: rgba(31, 41, 51, 0.72);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.blog-chip:hover,
.blog-chip.is-active {
  background: var(--primary-strong);
  color: #fff;
  border-color: var(--primary-strong);
}

.blog-chip.is-active span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

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

.blog-card {
  overflow: hidden;
  display: grid;
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-media img {
  min-height: 100%;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-media img,
.blog-featured:hover .blog-featured-media img {
  transform: scale(1.02);
}

.blog-card-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.blog-card-title {
  font-size: clamp(22px, 2.6vw, 28px);
}

.blog-card-title a,
.blog-featured-copy h2 a {
  color: inherit;
}

.blog-card-excerpt {
  line-height: 1.65;
}

.blog-tag-list {
  gap: 8px;
}

.blog-tag {
  background: transparent;
  color: rgba(19, 79, 92, 0.92);
  border: 1px solid rgba(19, 79, 92, 0.12);
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
}

.blog-card-link {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-card.is-hidden,
.blog-featured.is-hidden,
[data-blog-post].is-hidden {
  display: none;
}

.blog-post-hero {
  padding: clamp(28px, 4vw, 56px) 0 clamp(8px, 2vw, 24px);
}

.blog-post-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.blog-post-hero-copy {
  display: grid;
  gap: 12px;
  padding-top: clamp(4px, 1vw, 16px);
}

.blog-meta-inline--post {
  font-size: 15px;
}

.blog-post-hero-media {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  aspect-ratio: 16 / 10;
  max-height: 520px;
}

.blog-article {
  padding: 0 0 clamp(36px, 5vw, 72px);
}

.blog-article-grid {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

.blog-story {
  max-width: 100%;
  margin: 0;
  width: 100%;
}

.blog-prose {
  max-width: none;
  margin: 0;
  width: 100%;
  font-size: 18px;
  line-height: 1.9;
  color: #1f2933;
}

.blog-prose > * + * {
  margin-top: 1.2em;
}

.blog-prose > h1:first-child {
  display: none;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
  color: var(--ink);
  line-height: 1.25;
  margin-top: 1.8em;
}

.blog-prose h2 {
  clear: both;
  font-size: clamp(28px, 3.2vw, 40px);
}

.blog-prose h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.blog-prose p,
.blog-prose ul,
.blog-prose ol,
.blog-prose blockquote,
.blog-prose pre,
.blog-prose figure {
  margin: 0;
}

.blog-prose ul,
.blog-prose ol {
  overflow: hidden;
  padding-left: 22px;
}

.blog-prose a {
  color: var(--primary-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-prose blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--primary-strong);
  background: rgba(63, 98, 27, 0.06);
  border-radius: 0 18px 18px 0;
}

.blog-prose hr {
  clear: both;
  height: 1px;
  margin: clamp(28px, 4vw, 48px) 0;
  border: 0;
  background: rgba(19, 79, 92, 0.14);
}

.blog-prose img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 21, 14, 0.08);
}

.blog-inline-media {
  width: 100%;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 21, 14, 0.08);
  background: #fff;
}

.blog-inline-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

@media (min-width: 1025px) {
  .blog-inline-media--float {
    width: min(43vw, 520px);
    margin-top: 0.55em;
    margin-bottom: clamp(28px, 3.5vw, 44px);
  }

  .blog-inline-media--right {
    float: right;
    margin-left: clamp(36px, 5vw, 72px);
    margin-right: 0;
  }

  .blog-inline-media--left {
    float: left;
    margin-right: clamp(36px, 5vw, 72px);
    margin-left: 0;
  }
}

.blog-prose pre,
.blog-prose code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: #f3efe8;
  border-radius: 12px;
}

.blog-prose pre {
  padding: 18px 20px;
  overflow-x: auto;
}

.blog-prose code {
  padding: 0.15em 0.35em;
}

.blog-media-section {
  display: grid;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-gallery-item {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  aspect-ratio: 4 / 3;
}

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

.blog-video-card {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.blog-video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f150e;
}

.blog-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-video-card h2 {
  font-size: 20px;
}

.blog-author-card {
  max-width: 860px;
  margin: 8px auto 0;
  padding: 22px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 242, 238, 0.92));
}

.blog-author-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author-role {
  font-weight: 600;
  color: var(--primary-strong);
}

.blog-cta-band {
  padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
}

.blog-cta-band .cta-card {
  min-height: auto;
  width: min(920px, 92vw);
  padding: clamp(30px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
  text-align: left;
}

.blog-cta-band .cta-card h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
}

.blog-cta-band .cta-card p {
  max-width: 34ch;
  font-size: 18px;
}

.blog-cta-band .btn-cta {
  min-width: 240px;
  min-height: 56px;
  padding-inline: 28px;
  justify-self: end;
}

.blog-related {
  padding: clamp(20px, 3vw, 32px) 0 clamp(56px, 6vw, 96px);
}

.blog-related .section-head {
  max-width: 760px;
  margin: 0 auto 30px;
}

.blog-related .section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.blog-card--related {
  min-height: 100%;
}

.blog-card--related .blog-card-body {
  padding: 20px;
}

@media (max-width: 1024px) {
  .guide-layout,
  .guide-hero-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-grid,
  .blog-featured,
  .blog-post-hero-grid,
  .blog-related-grid {
    grid-template-columns: 1fr;
  }

  .guide-pain-grid,
  .guide-step-grid,
  .guide-rule-grid,
  .guide-compare-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid,
  .blog-gallery,
  .blog-video-grid {
    grid-template-columns: 1fr;
  }

  .blog-story {
    max-width: 760px;
    margin: 0 auto;
  }

  .blog-inline-media--float {
    float: none;
    margin: 28px 0 36px;
  }

  .blog-cta-band .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blog-cta-band .btn-cta {
    justify-self: center;
    width: 100%;
    max-width: 360px;
  }

  .blog-author-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 860px) {
  .guide-pain-card,
  .guide-step,
  .guide-rule-card,
  .guide-compare-card,
  .guide-download-card,
  .guide-note-card,
  .guide-hero-panel,
  .blog-card,
  .blog-featured {
    border-radius: 20px;
  }

  .guide-hero {
    padding: 82px 0 68px;
  }

  .guide-actions,
  .guide-preview-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .guide-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .guide-side-card img {
    height: 220px;
  }

  .guide-preview-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .blog-toolbar-inner {
    align-items: flex-start;
  }

  .blog-chip-row,
  .blog-actions {
    width: 100%;
  }

  .blog-meta-inline,
  .blog-card-meta {
    gap: 8px;
  }

  .blog-meta-inline span + span::before,
  .blog-card-meta span + span::before {
    margin-right: 8px;
  }

  .blog-card-body {
    padding: 18px;
  }

  .blog-featured-media img,
  .blog-card-media img {
    min-height: 220px;
  }

  .blog-post-hero-media {
    aspect-ratio: 16 / 10;
  }

  .cta-card {
    min-height: auto;
    padding: 40px 24px;
  }

  .cta-card .guide-actions {
    width: 100%;
  }

  .cta-card .guide-actions .btn {
    width: 100%;
    flex-basis: auto;
  }
}

/* Legal pages in the new layout */
.legal-page-content .container { max-width: 820px; }
.legal-page-content .content-block p { margin: 0 0 14px; color: var(--muted); }
.legal-page-content a:not(.btn) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.page-top .lead { max-width: 70ch; }
