/* Editorial layouts share the live Tagalong palette, logo and typography. */
.homepage.content-site {overflow-x:visible;}
.homepage.content-site nav:not(.nav-row) {position:static;inset:auto;z-index:auto;background:none;backdrop-filter:none;border:0;}
.homepage .content-main {padding-top:30px;min-height:65vh;}
.homepage .content-heading {max-width:850px;padding:32px 0 36px;}
.homepage .content-index-heading {padding:42px 0 52px;max-width:780px;}
.homepage .content-heading h1 {font-size:clamp(34px,4.2vw,56px);line-height:1.12;letter-spacing:-.045em;color:#315239;margin:16px 0 22px;text-wrap:balance;}
.homepage .content-deck {font-size:20px;line-height:1.65;color:var(--text-secondary);max-width:740px;}
.homepage .content-breadcrumbs ol {display:flex;flex-wrap:wrap;gap:8px 12px;list-style:none;font-size:14px;color:#606754;}
.homepage .content-breadcrumbs li+li:before {content:'/';margin-right:12px;color:#8c937e;}
.homepage .content-breadcrumbs a,.homepage .content-prose a,.homepage .content-index-links a,.homepage .content-collection-links a {text-decoration:underline;text-underline-offset:4px;}
.homepage .content-byline {display:flex;flex-wrap:wrap;gap:8px 20px;font-size:14px;color:#5c6452;margin-top:24px;}
.homepage .content-collection-links {margin-top:12px;font-size:14px;}
.homepage .content-index-links {display:flex;flex-wrap:wrap;gap:16px 28px;margin-top:24px;font-size:16px;}
.homepage .content-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.homepage .content-card {display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--border);border-top:3px solid #79965e;border-radius:12px;padding:28px;}
.homepage .content-card :is(h2,h3) {font-size:25px;letter-spacing:-.025em;line-height:1.3;margin:18px 0 14px;}
.homepage .content-card :is(h2,h3) a {color:#315239;}
.homepage .content-card p {font-size:16px;line-height:1.65;color:#5c6258;}
.homepage .content-meta {font-size:13px;display:flex;flex-wrap:wrap;gap:8px 16px;color:#5c6e4e;}
.homepage .content-read {margin-top:auto;padding-top:25px;font-weight:600;font-size:15px;}
.homepage .content-layout {display:grid;grid-template-columns:minmax(0,760px) minmax(180px,1fr);gap:70px;align-items:start;}
.homepage .content-prose {font-size:18px;line-height:1.85;min-width:0;overflow-wrap:anywhere;}
.homepage .content-prose p {margin:0 0 22px;}
.homepage .content-prose h2 {font-size:30px;line-height:1.2;letter-spacing:-.025em;margin:44px 0 20px;scroll-margin-top:30px;}
.homepage .content-prose h3 {font-size:23px;margin:30px 0 14px;}
.homepage .content-prose ul,.homepage .content-prose ol {padding-left:26px;margin-bottom:24px;}
.homepage .content-prose li {padding:3px 0;}
.homepage .content-prose blockquote {border-left:3px solid #a5863d;padding:10px 0 1px 24px;margin:30px 0;color:#58644e;}
.homepage .content-prose pre {background:#eff2e9;border-radius:8px;padding:20px;overflow-x:auto;line-height:1.5;font-size:15px;margin:24px 0;}
.homepage .content-prose :not(pre)>code {background:#eff2e9;padding:2px 5px;border-radius:3px;font-size:.9em;}
.homepage .content-prose table {display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:16px;margin:26px 0;}
.homepage .content-prose th,.homepage .content-prose td {min-width:140px;border-bottom:1px solid #dce1d3;text-align:left;vertical-align:top;padding:14px;}
.homepage .content-prose th {background:#eff2e7;color:#315239;}
.homepage .content-prose img,.homepage .content-cover img {max-width:100%;height:auto;border-radius:10px;}
.homepage .content-cover {margin:0 0 36px;max-width:900px;}
.homepage .content-answer {background:#eef2e7;border:1px solid #dbe4ce;border-radius:12px;padding:26px 28px;margin:0 0 40px;}
.homepage .content-answer .eyebrow {font-size:13px;letter-spacing:.09em;margin-bottom:12px;}
.homepage .content-answer p:last-child {margin:0;color:#315239;}
.homepage .content-toc {position:sticky;top:32px;border-left:1px solid #dce1d3;padding-left:24px;margin-top:8px;}
.homepage .content-toc p {font-size:14px;font-weight:700;margin-bottom:14px;}
.homepage .content-toc ol {list-style:none;display:grid;gap:12px;font-size:15px;line-height:1.5;}
.homepage .content-toc a {color:#5b6752;display:inline-block;padding-block:3px;}
.homepage .content-related {margin-top:70px;padding-top:36px;border-top:1px solid #dce1d3;}
.homepage .content-related>h2 {font-size:30px;margin-bottom:28px;}
.homepage .content-bottom {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;margin:55px 0 30px;}
.homepage .content-faq details {border-top:1px solid #dce1d3;padding:18px 0;}
.homepage .content-faq summary {font-weight:600;cursor:pointer;line-height:1.5;}
.homepage .content-faq details p {margin:16px 0 0;}
.homepage .content-resources ul {list-style:none;padding:0;}
.homepage .content-resources li {padding:18px 0;border-top:1px solid #dce1d3;}
.homepage .content-resources li>a {font-weight:600;}
.homepage .content-resources li>p {font-size:16px;margin:6px 0 0;}
.homepage .content-pagination {display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:40px;}
.homepage .content-pagination a {min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid #dce1d3;border-radius:8px;}
.homepage .content-pagination [aria-current] {background:#2d7d46;color:#fff;}
.homepage .content-draft {background:#f8edcf;border:1px solid #dfc077;color:#69531b;padding:12px 18px;border-radius:8px;margin-bottom:20px;}
.homepage.content-site :focus-visible {outline:3px solid #2d7d46;outline-offset:4px;}
@media(max-width:1100px){.homepage .content-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.homepage .content-layout {gap:35px;grid-template-columns:minmax(0,1fr) 200px;}}
@media(max-width:800px){.homepage .content-layout {display:flex;flex-direction:column;gap:28px;}.homepage .content-toc {position:static;order:-1;border:1px solid #dce1d3;border-radius:8px;padding:20px;width:100%;}.homepage .content-heading {padding-top:24px;}.homepage .content-toc ol {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;}}
@media(max-width:560px){.homepage .content-grid {grid-template-columns:1fr;}.homepage .content-heading h1 {font-size:36px;}.homepage .content-deck {font-size:18px;}.homepage .content-prose {font-size:17px;}.homepage .content-answer {padding:22px;}.homepage .content-toc ol {grid-template-columns:1fr;}.homepage .content-card {padding:24px;}.homepage .content-byline {flex-direction:column;gap:5px;}.homepage .content-main {padding-top:22px;}.homepage .content-breadcrumbs li:last-child {max-width:100%;}.homepage .content-prose h2 {font-size:27px;}}
@media(prefers-reduced-motion:reduce){html {scroll-behavior:auto;}.content-site * {transition:none!important;}}

.homepage .content-table {overflow-x:auto;max-width:100%;}
.homepage .content-table table {display:table;overflow:visible;}
.homepage .content-card .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;}

.homepage .content-prose img {display:block;width:100%;border:1px solid #dce1d3;background:#eef2e7;}
.homepage .content-prose img+em {display:block;font-size:15px;}
.homepage .content-answer {scroll-margin-top:28px;}
.homepage .content-card :is(h2,h3) {font-size:25px;line-height:1.3;margin:18px 0 14px;}
.homepage .content-table {border:1px solid #dce1d3;border-radius:10px;margin:26px 0;}
.homepage .content-table table {margin:0;}
.homepage .content-prose th:first-child,.homepage .content-prose td:first-child {min-width:155px;}
@media(max-width:560px){.homepage .content-prose th,.homepage .content-prose td {padding:12px;font-size:15px;}.homepage .content-table::before {content:'Scroll table horizontally to compare →';display:block;padding:10px 12px;font-size:13px;color:#52654a;background:#eef2e7;}}

.homepage .content-intro {max-width:760px;}

.homepage .content-topic-link {margin-top:16px;font-size:15px;line-height:1.6;color:#52654a;}
.homepage .content-topic-link a {text-decoration:underline;text-underline-offset:4px;}
.homepage .content-topic-group {padding:0 0 48px;}
.homepage .content-pillar {max-width:900px;border:1px solid #dce1d3;border-radius:14px;padding:clamp(24px,4vw,44px);background:#eef2e7;margin-bottom:36px;}
.homepage .content-pillar h2 {font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-.03em;color:#315239;margin:16px 0;}
.homepage .content-pillar>p:not(.eyebrow) {font-size:18px;line-height:1.65;max-width:680px;margin-bottom:24px;}
.homepage .content-topic-heading {font-size:28px;margin-bottom:24px;}

/* Distinct editorial page treatments share the existing Tagalong identity. */
.homepage.content-site {background:#fafaf7;}
.homepage .content-heading {max-width:none;padding:42px 0 40px;margin-bottom:24px;border-bottom:1px solid #dce1d3;}
.homepage .content-heading h1 {max-width:900px;font-size:clamp(36px,4.5vw,60px);}
.homepage .content-heading>.eyebrow {display:inline-block;color:#315239;background:#e9efdf;border-radius:30px;padding:7px 13px;font-size:12px;letter-spacing:.08em;}
.homepage.content-site[data-layout="pillar"] .content-heading {padding:clamp(26px,4vw,48px);border:1px solid #dce1d3;border-radius:16px;background:linear-gradient(120deg,#edf2e5,#fafaf7);margin-top:28px;}
.homepage.content-site[data-layout="comparison"] .content-heading>.eyebrow {background:#f4e8c8;color:#654d1b;}
.homepage.content-site[data-layout="gallery"] .content-heading {border-bottom:3px solid #b79a54;}
.homepage .content-takeaways {padding:0;margin:0 0 44px;}
.homepage .content-takeaways ul {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;}
.homepage .content-takeaways li {padding:20px 0;border-top:2px solid #b4c79c;}
.homepage .content-takeaways li>span {font-size:13px;letter-spacing:.08em;color:#597245;font-weight:700;}
.homepage .content-takeaways p {font-size:16px;line-height:1.7;color:#454f41;margin-top:12px;}
.homepage .content-prose h2 {padding-top:12px;}
.homepage .content-table tbody tr:nth-child(even) {background:#f3f5ef;}
.homepage .content-table th {font-weight:700;}
@media(max-width:700px){.homepage .content-takeaways ul {grid-template-columns:1fr;gap:0;}.homepage .content-takeaways li {display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:16px 0;border-top:1px solid #dce1d3;}.homepage .content-takeaways p {margin:0;}.homepage .content-heading {padding:28px 0;}.homepage.content-site[data-layout="pillar"] .content-heading {margin-top:20px;}.homepage .content-takeaways {margin-bottom:28px;}}

/* Keep wide comparison tables inside the article on narrow screens. */
.homepage .content-layout > .content-prose {width:100%;max-width:100%;min-width:0;}
