.resources-page .resources-hero { padding: 28px 0 32px; }
.resources-page .resources-hero h1 { max-width: 1000px; margin: 10px 0 18px; font-size: clamp(2.3rem,6vw,4.5rem); line-height: 1.05; }
.resources-page .resources-hero > p:last-child { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 24px; }
.resource-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px,3vw,28px); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; background: #fff; transition: transform 180ms ease, box-shadow 180ms ease; }
.resources-page .resource-card h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(1.3rem,2.1vw,1.75rem); line-height: 1.25; }
.resource-card > p:not(.section-kicker) { margin: 0 0 22px; color: var(--muted); line-height: 1.6; }
.resource-card-cue { margin-top: auto; font-size: .9rem; font-weight: 600; }
.resource-card-cue > span { color: #a34200; }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(8,32,62,.08); }
.resource-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 26px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.resource-breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.resource-article-header { padding: 26px 0 32px; }
.resources-page .resource-article-header h1 { max-width: 1020px; margin: 10px 0 20px; font-size: clamp(2rem,4.5vw,3.5rem); line-height: 1.1; }
.resource-byline { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.resource-byline a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.resource-article-grid { display: grid; grid-template-columns: minmax(0,700px) minmax(200px,280px); justify-content: space-between; align-items: start; gap: clamp(28px,5vw,64px); }
.resources-page .resource-content { grid-column: 1; grid-row: 1; min-width: 0; font-size: 18px; line-height: 1.7; }
.resources-page .resource-content p, .resources-page .resource-content li { color: #37485c; font-size: inherit; line-height: 1.7; }
.resource-content p { margin: 16px 0; }
.resource-content h2 { margin: 40px 0 16px; color: var(--ink); font-size: clamp(1.5rem,2.5vw,2rem); line-height: 1.2; scroll-margin-top: 24px; }
.resource-content h3 { margin: 28px 0 12px; color: var(--ink); font-size: 1.2rem; line-height: 1.35; }
.resource-content li + li { margin-top: 8px; }
.resource-content ul, .resource-content ol { padding-left: 24px; }
.resource-content strong { color: var(--ink); font-weight: 600; }
.resource-content a, .resource-all-link { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.resource-content a:hover, .resource-toc a:hover { color: #a34200; }
.resource-content code { font-family: inherit; overflow-wrap: anywhere; }
.resource-table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.resource-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.6; text-align: left; }
.resource-table-wrap th, .resource-table-wrap td { padding: 18px 20px; vertical-align: top; }
.resource-table-wrap th { color: var(--ink); background: #edf2f7; font-weight: 600; }
.resource-table-wrap td { color: #37485c; border-top: 1px solid var(--line); }
.resource-table-wrap tbody tr:nth-child(even) { background: #f5f7fa; }
.resource-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; grid-column: 2; grid-row: 1; padding: 6px 0 6px 22px; border-left: 1px solid var(--line); }
.resource-toc h2 { margin: 0 0 14px; font-size: 1rem; }
.resource-toc ol { list-style: none; padding: 0; margin: 0 0 22px; }
.resource-toc li + li { margin-top: 4px; }
.resource-toc a { display: block; padding: 5px 0; color: #596677; font-size: .875rem; line-height: 1.55; }
.resource-toc a.is-active, .resource-mobile-toc a.is-active { color: #a34200; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.resource-all-link { font-weight: 600; }
.resources-page a:focus-visible, .resource-table-wrap:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 3px; }
@media(max-width:900px) { .resource-article-grid { grid-template-columns: minmax(0,1fr); } .resource-toc { grid-column: 1; grid-row: 1; } .resource-content { grid-row: 2; } }
@media(max-width:600px) { .resource-grid { grid-template-columns: minmax(0,1fr); gap: 16px; } .resources-page .resources-hero { padding-top: 24px; } }
@media(prefers-reduced-motion:reduce) { .resource-card { transition: none; } .resource-card:hover { transform: none; } }
/* Keep the direct answer close to the title on phones. */
.resource-mobile-toc { display: none; }
@media(max-width:900px) {
 .resource-toc { display: none; }
 .resource-content { grid-row: 1; }
 .resource-mobile-toc { display: block; padding: 16px 20px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 10px; background: #edf2f7; }
 .resource-mobile-toc summary { cursor: pointer; font-weight: 600; }
 .resource-mobile-toc ol { padding-left: 20px; line-height: 1.6; }
 .resource-mobile-toc li + li { margin-top: 10px; }
 .resource-mobile-toc a { text-decoration: underline; text-underline-offset: 4px; }
}
@media(max-width:600px) {
 .resource-table-wrap table { min-width: 680px; }
 .resource-table-wrap::before { display: block; padding: 8px 14px; color: var(--muted); font-size: .75rem; content: 'Scroll horizontally to see all columns'; }
}
.resources-page .digital-section-nav { margin-top: 18px; font-weight: 500; column-gap: 30px; }
@media(max-width:760px) { .resources-page .digital-section-nav { column-gap: 20px; } }
/* Native article FAQs keep every answer in HTML while collapsed. */
.resource-faq { border-top: 1px solid var(--line); }
.resource-faq:last-of-type { border-bottom: 1px solid var(--line); }
.resource-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; color: var(--ink); font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; scroll-margin-top: 24px; }
.resource-faq summary::-webkit-details-marker { display: none; }
.resource-faq summary::marker { content: ''; }
.resource-faq-toggle { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.resource-faq-toggle::before, .resource-faq-toggle::after { position: absolute; top: 8px; left: 2px; width: 14px; height: 2px; background: currentColor; content: ''; }
.resource-faq-toggle::after { transform: rotate(90deg); }
.resource-faq[open] .resource-faq-toggle::after { display: none; }
.resource-faq-answer { padding-bottom: 18px; }
.resource-faq-answer > p { margin: 0; }
.resource-faq-answer > p + p { margin-top: 14px; }
.resource-faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 3px; }
/* Share Digital's closing choices without adding competing forms. */
.resources-page .resource-next-steps { margin-top: 48px; padding: clamp(20px,3vw,36px); border: 1px solid #d9e3ee; border-radius: 16px; background: #edf2f7; }
.resources-page .resource-next-steps > .section-heading { max-width: none; }
.resources-page .resource-next-steps h2 { margin: 0; font-size: clamp(1.8rem,3.4vw,2.75rem); line-height: 1.1; }
.resources-page .resource-next-steps .inquiry-choice { background: #fff; }
.resources-page .resource-next-steps .inquiry-choice .contact-button { font-weight: 700; }
.resources-page .resource-next-steps .inquiry-review-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
.resources-page .resource-next-steps .inquiry-review-outline:hover { background: #edf2f7; }
.resource-project-link { margin: 24px 0; }
.resource-project-link a { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.resources-page .resource-next-steps .presence-form-note a { text-underline-offset: 4px; }
@media(max-width:760px) { .resources-page .resource-next-steps .inquiry-choices { grid-template-columns: minmax(0,1fr); } }

/* Editorial reading rhythm, distinct from the service-page comparison cards. */
.resource-article-header { padding-bottom: 40px; }
.resources-page .resource-intro { margin-bottom: 32px; }
.resources-page .resource-intro p { margin: 0; font-size: 20px; line-height: 1.7; color: #263c55; }
.resource-glance { padding: 22px 26px; margin: 0 0 38px; border: 1px solid #d9e3ee; border-radius: 12px; background: #edf2f7; }
.resource-content .resource-glance h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.15rem; }
.resource-glance h2::before { content: ''; width: 8px; height: 8px; flex: 0 0 8px; background: var(--accent); border-radius: 2px; }
.resource-glance ul { margin: 0; padding-left: 22px; }
.resource-glance li::marker { color: #a34200; }
.resource-case { margin: 18px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.resources-page .resource-content .resource-scope { display: block; margin: 0 0 8px; color: #a34200; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.resource-content .resource-case h3 { margin: 0 0 12px; font-size: 1.35rem; }
.resource-case p { margin: 0 0 12px; }
.resource-case-detail summary { color: var(--ink); font-size: 15px; cursor: pointer; text-underline-offset: 4px; }
.resource-case-detail[open] summary { margin-bottom: 12px; }
.resource-case-detail summary:focus-visible, .resource-mobile-toc summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.resource-advice, .resource-checklist { padding: 22px 26px; margin: 30px 0; border-radius: 10px; background: #f1f4f7; }
.resource-advice { background: #f8f2e9; }
.resource-content .resource-advice h3 { margin: 0 0 10px; font-size: 1.15rem; }
.resource-advice p, .resource-checklist p:first-child { margin-top: 0; }
.resource-advice p:last-child, .resource-checklist ol:last-child { margin-bottom: 0; }
.resource-checklist li + li { margin-top: 14px; }
.resource-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.resource-content .resource-related-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.resource-content .resource-related-card h3 { margin: 0 0 12px; font-size: 19px; line-height: 1.3; }
.resources-page .resource-content .resource-related-card p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.resource-related-card:hover { border-color: #a8b7c8; box-shadow: 0 6px 18px rgba(8,32,62,.06); }
@media(max-width:900px) { .resource-article-grid { max-width: 700px; margin-inline: auto; grid-template-columns: minmax(0,1fr); } .resources-page .resource-content { grid-row: 1; } }
@media(max-width:600px) { .resource-related-grid { grid-template-columns: minmax(0,1fr); } .resource-glance, .resource-advice, .resource-checklist { padding: 20px; } .resource-case { padding: 20px; } .resource-article-header { padding-bottom: 28px; } }
@media(prefers-reduced-motion:reduce) { .resource-related-card { transition: none; } }
