/* The editorial pages: the guides hub and articles, the laws hub and state law pages, and the FAQ.
   Shared pieces (cards, badges, pills, prose, accordion, callout banner) come from components.css;
   this file holds only what belongs to these pages. Values come from tokens.css. */

.editorial-page {
    background-color: var(--slate-50);
    min-height: 100vh;
}

.editorial-hero {
    background-color: var(--color-bg);
    background-image: var(--hero-light-gradient);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-8) 0;
    text-align: center;
}

.editorial-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.5vw, 2.4rem);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-4);
}

.editorial-sub {
    font-size: 1.05rem;
    color: var(--color-text-2);
    max-width: 740px;
    margin: 0 auto var(--space-7) auto;
    line-height: 1.6;
}

.editorial-badges {
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-4);
}

.editorial-badges.start {
    justify-content: flex-start;
}

.editorial-hero.dark {
    background-color: var(--color-bg);
    background-image: var(--hero-light-gradient);
    color: var(--color-text);
}

.editorial-hero.dark h1 {
    color: var(--color-navy);
}

.editorial-hero.dark .editorial-sub {
    color: var(--color-text-2);
}

.editorial-hero.plain {
    text-align: left;
    padding: 3rem 0 3.5rem;
}

.badge.on-sage {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.badge.upper {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breadcrumbs .divider {
    color: var(--slate-300);
}

.breadcrumbs .current.sage {
    color: var(--color-primary);
}

.breadcrumbs.centered {
    justify-content: center;
}

.editorial-body {
    padding-block: 2.5rem 4rem;
}

/* Search box used by all three hubs */
.editorial-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid var(--slate-300);
    padding: 4px 4px 4px 14px;
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    color: var(--slate-500);
}

.editorial-search:focus-within {
    border-color: var(--color-primary);
    box-shadow: var(--ring);
}

.editorial-search.wide {
    max-width: none;
    margin: 0;
}

.editorial-search input {
    flex: 1;
    border: none;
    box-shadow: none;
    padding: 10px 14px;
    font-size: 0.95rem;
    background: transparent;
}

.editorial-search .clear {
    background: none;
    border: none;
    color: var(--slate-400);
    padding: 0 12px;
    display: flex;
}

button.link {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-primary);
    font-weight: 600;
    font-size: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.empty-note {
    padding: 2rem;
    margin-top: 1.5rem;
}

/* Guides hub */
.featured-guide {
    display: grid;
    grid-template-columns: minmax(min(100%, 300px), 1.2fr) minmax(min(100%, 300px), 1.3fr);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3.5rem;
    padding: 0;
    color: inherit;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.featured-guide:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.featured-guide-photo {
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-color: var(--slate-200);
    position: relative;
}

.featured-overlay-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(22, 101, 52, 0.9);
    color: #fff;
    border: none;
    font-size: 0.78rem;
    backdrop-filter: blur(4px);
}

.featured-guide-body {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-guide-body h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: var(--slate-800);
}

.featured-guide-body p.muted {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.featured-guide-foot {
    border-top: 1px solid var(--slate-100);
    padding-top: 1.25rem;
}

.guide-meta {
    gap: 12px;
    margin-bottom: 1rem;
}

.read-time,
.publish-date {
    font-size: 0.78rem;
    color: var(--slate-500);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.publish-date {
    color: var(--slate-600);
    display: block;
}

.author-row {
    gap: 10px;
    flex-wrap: nowrap;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border: 2px solid var(--color-border);
    box-shadow: none;
}

.author-avatar.sm {
    width: 34px;
    height: 34px;
}

.author-avatar.lg {
    width: 54px;
    height: 54px;
}

.author-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--slate-800);
    display: block;
}

.author-name.sm {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-600);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.75rem;
}

.guide-card {
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    color: inherit;
}

.guide-card:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.guide-card-photo {
    height: 210px;
    background-size: cover;
    background-position: center;
    background-color: var(--slate-200);
    position: relative;
}

.badge.on-photo {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.guide-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.guide-card-body .guide-meta {
    margin-bottom: 10px;
}

.guide-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--slate-800);
}

.guide-card-body p.muted {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guide-card-foot {
    border-top: 1px solid var(--slate-100);
    padding-top: 1rem;
    gap: 8px;
}

.read-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* The green "find providers" banner at the foot of each hub */
.callout-banner.bridge {
    border-radius: 18px;
    padding: 2.25rem;
    margin-top: 3.5rem;
}

.bridge-icon {
    width: 52px;
    height: 52px;
}

.bridge-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.callout-banner.bridge .left {
    gap: 1.25rem;
    flex: 1 1 280px;
}

/* Guide article */
.article-head {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 0 3rem 0;
}

.article-head .breadcrumbs {
    margin-bottom: 1.25rem;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 600;
    color: var(--slate-800);
    margin: 0 0 1rem 0;
    line-height: 1.22;
    letter-spacing: -0.5px;
}

.article-sub {
    font-size: 1.1rem;
    color: var(--slate-600);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.article-author {
    margin-bottom: 2rem;
    gap: 12px;
}

.stack-tight {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.92rem;
    color: var(--slate-800);
}

.article-banner {
    display: block;
    width: 100%;
    height: clamp(220px, 40vw, 440px);
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
    background-color: var(--slate-200);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

.article-layout-wrap {
    max-width: 1140px;
}

.article-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    padding-block: 2.5rem 4rem;
}

.article-body {
    border-radius: 18px;
    padding: 2.5rem;
}

.article-section {
    margin-bottom: 2.5rem;
}

.article-body.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-800);
    margin: 0 0 1rem 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--slate-100);
}

.article-body.prose p {
    color: var(--slate-700);
    margin-bottom: 1.25rem;
}

.article-body.prose p + p {
    margin-top: 0;
}

.highlight-box {
    background-color: var(--green-50);
    border-left: 4px solid var(--green-800);
    border-radius: 0 10px 10px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-800);
    margin: 0 0 6px 0;
}

.highlight-box p,
.article-body.prose .highlight-box p {
    font-size: 0.92rem;
    color: var(--green-800);
    line-height: 1.6;
    margin: 0;
}

.article-bullets {
    margin: 1.25rem 0;
}

.article-bullets li .icon {
    color: var(--green-800);
}

.article-body .table-wrap {
    margin: 1.5rem 0;
}

.article-body .table-wrap tbody tr:nth-child(even) {
    background-color: var(--slate-50);
}

.article-faqs {
    margin-top: 3.5rem;
}

.article-faqs .faq-card h3 {
    margin-bottom: 8px;
}

.article-faqs .faq-card p,
.article-body.prose .faq-card p {
    font-size: 0.92rem;
    margin: 0;
}

.author-box {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 3rem;
}

.author-box strong {
    font-size: 1.05rem;
    color: var(--slate-800);
    display: block;
    margin-bottom: 4px;
}

.article-body.prose .author-box p {
    margin: 0;
}

.side-col.sticky {
    gap: 1.5rem;
}

.toc ol {
    counter-reset: none;
}

.side-cta {
    background-color: var(--green-50);
    border-color: var(--green-200);
    padding: 1.5rem;
}

.side-cta .icon-circle {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.side-cta h4 {
    font-size: 1.1rem;
    color: var(--green-800);
    margin-bottom: 6px;
}

.side-cta p {
    font-size: 0.85rem;
    color: var(--green-800);
    line-height: 1.5;
    margin-bottom: 14px;
}

.related-guides {
    gap: 10px;
    margin-top: 12px;
}

.related-guide {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    background-color: var(--slate-50);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    color: var(--slate-800);
}

.related-guide:hover {
    border-color: var(--color-primary);
    color: var(--slate-800);
}

.related-guide span {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

.related-guide small {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 2px;
}

/* Laws hub */
.laws-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    max-width: 780px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: var(--space-5);
}

.laws-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.laws-stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
}

.laws-stat .lbl {
    font-size: var(--text-xs);
    color: var(--color-text-2);
    margin-top: var(--space-1);
}

.laws-stat-divider {
    width: 1px;
    height: 36px;
    background-color: var(--color-border);
}

.laws-controls {
    margin-bottom: var(--space-7);
}

.law-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-5);
}

.law-card {
    padding: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.law-card:hover .law-card-photo img {
    transform: scale(1.05);
}

.law-card-photo {
    display: block;
    height: 150px;
    text-decoration: none;
}

.law-photo-top {
    width: 100%;
    align-items: center;
}

.law-card-photo h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-surface);
    margin-bottom: 2px;
    line-height: 1.25;
}

.law-citation {
    display: block;
    font-size: var(--text-xs);
    color: var(--slate-200);
    font-weight: 500;
}

.law-card-inner {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.law-card-body {
    gap: 10px;
    margin-bottom: 1.5rem;
}

.law-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--slate-800);
}

.law-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--slate-500);
}

.law-label .icon {
    color: var(--color-primary);
}

.law-summary {
    font-size: 0.82rem;
    color: var(--slate-600);
    line-height: 1.55;
    margin-top: 8px;
    background-color: var(--slate-50);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.law-card-foot {
    border-top: 1px solid var(--slate-100);
    padding-top: 1rem;
    gap: 8px;
}

.deep-link {
    font-size: 0.82rem;
    font-weight: 600;
}

.laws-guidance {
    margin-top: 3.5rem;
    padding: 2.25rem;
}

.laws-guidance h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
}

.guidance-grid {
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.guidance-grid h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.guidance-grid p {
    font-size: 0.88rem;
    line-height: 1.6;
}

/* State law page */
.fact-grid {
    gap: var(--space-4);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.fact-card {
    padding: 1.5rem;
    border-radius: 16px;
}

.icon-circle.square.sage {
    background-color: var(--color-primary-soft);
    border-radius: 12px;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
}

.fact-label {
    display: block;
    font-size: 0.78rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.fact-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-800);
    margin: 0 0 6px 0;
}

.law-detail-grid {
    margin-top: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.law-detail-grid .card > p.muted {
    margin: 0.5rem 0 1rem;
    line-height: 1.6;
}

.nok-rule {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.nok-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nok-list li {
    display: flex;
    gap: 14px;
    background-color: var(--slate-50);
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.nok-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nok-list strong {
    font-size: 0.92rem;
    color: var(--slate-800);
    display: block;
}

.nok-list span:not(.nok-number) {
    font-size: 0.8rem;
    color: var(--slate-500);
    display: block;
    margin-top: 2px;
    line-height: 1.45;
}

.timeline {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.timeline li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.timeline strong {
    font-size: 0.95rem;
    color: var(--slate-800);
    display: block;
    margin-bottom: 2px;
}

.law-points {
    margin-top: 2rem;
}

.law-points > p.muted {
    margin: 0.5rem 0 1.25rem;
    line-height: 1.6;
}

.law-providers {
    margin-top: 3rem;
}

.law-providers .list-head {
    margin-bottom: 1.25rem;
}

.law-cities {
    margin-top: var(--space-7);
}

.law-cities .list-head {
    margin-bottom: var(--space-5);
    align-items: flex-start;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* FAQ */
.faq-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.faq-sub {
    font-size: 1.12rem;
    color: var(--slate-600);
    line-height: 1.65;
    max-width: 820px;
    margin-bottom: 2rem;
}

.highlight-pills {
    gap: 0.75rem;
}

.chip.lg {
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.85rem;
    color: var(--slate-700);
    gap: 6px;
}

.faq-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-controls {
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-pill {
    gap: 8px;
    background-color: var(--slate-50);
    color: var(--slate-700);
}

.faq-pill .count {
    font-size: 0.74rem;
    background-color: var(--slate-200);
    color: var(--slate-600);
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.faq-pill.is-active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(74, 107, 94, 0.25);
}

.faq-pill.is-active .count {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.faq-pill .icon {
    color: var(--color-primary);
}

.faq-pill.is-active .icon {
    color: #fff;
}

.faq-bar {
    padding: 0 0.5rem;
}

.faq-bar p {
    margin: 0;
}

.faq-actions {
    gap: 0.75rem;
    font-size: 0.85rem;
}

.faq-list {
    gap: 1rem;
}

.faq-item {
    margin-bottom: 0;
    border-radius: 14px;
}

.faq-item[open] {
    border-color: var(--slate-300);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.faq-item summary {
    align-items: flex-start;
    padding: 1.5rem;
}

.faq-head {
    flex: 1;
    min-width: 0;
}

.faq-tags {
    gap: 8px;
    margin-bottom: 0.5rem;
}

.faq-question {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.faq-head-right {
    gap: 0.6rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
}

.copy-link {
    background: var(--slate-100);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-700);
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.faq-copy-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.copy-link .ok {
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.faq-item .chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--slate-50);
    border: 1px solid var(--color-border);
    color: var(--slate-600);
    transition: transform 0.25s ease;
}

.faq-item .accordion-body {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.98rem;
    color: var(--slate-700);
}

.faq-item .accordion-body .divider {
    margin: 0 0 1.25rem;
}

.faq-item .accordion-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.faq-ul,
.faq-ol {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.96rem;
    line-height: 1.6;
}

.faq-ul {
    list-style: none;
}

.faq-ul li {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.faq-ul .bullet {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-ol {
    padding-left: 1.25rem;
}

.related-links {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.related-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--slate-500);
}

.related-links .row {
    gap: 0.5rem;
}

.related-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.85rem;
    background-color: var(--slate-50);
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--slate-800);
    transition: all 0.15s ease;
}

.related-chip:hover {
    border-color: var(--color-primary);
    color: var(--slate-800);
}

.faq-empty {
    padding: 3.5rem 1.5rem;
    border-radius: 16px;
}

.faq-empty h2,
.faq-empty h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.faq-empty p {
    max-width: 480px;
    margin: 0 auto 1.5rem auto;
}

.callout-banner.faq-help {
    padding: 2.5rem;
    gap: 2.5rem;
}

.faq-help-text {
    flex: 1 1 500px;
}

.faq-help-text .badge {
    margin-bottom: 0.75rem;
}

.faq-help-text h2,
.faq-help-text h3 {
    font-size: 1.4rem;
    color: var(--green-800);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.faq-help-text p {
    font-size: 0.96rem;
    color: var(--green-800);
    line-height: 1.6;
}

.faq-help-actions {
    gap: 0.75rem;
    flex-shrink: 0;
}

.faq-help-actions .btn-primary {
    background-color: var(--green-800);
}

.faq-help-actions .btn-outline {
    border-color: var(--green-800);
    color: var(--green-800);
}

.faq-help-actions .btn-outline:hover {
    background-color: var(--green-800);
    color: #fff;
}

.topic-section {
    margin-top: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-border);
}

.topic-section h2 {
    margin-bottom: 1.25rem;
}

.topic-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
}

.topic-card:hover {
    border-color: var(--color-primary);
    color: inherit;
}

.topic-card strong {
    font-size: 1.05rem;
    color: var(--color-navy);
}

@media (max-width: 960px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-guide {
        grid-template-columns: minmax(0, 1fr);
    }

    .copy-link {
        min-height: 44px;
    }

    .editorial-hero,
    .editorial-hero.plain {
        padding: 2rem 0 2.25rem;
    }

    .article-body,
    .featured-guide-body,
    .laws-guidance,
    .callout-banner.bridge,
    .callout-banner.faq-help,
    .faq-controls {
        padding: 1.25rem;
    }

    .fact-grid {
        margin-top: 0;
    }

    .faq-item summary {
        padding: 1.1rem 1.25rem;
    }

    .faq-item .accordion-body {
        padding: 0 1.25rem 1.25rem;
    }
}

/* Religious perspectives directory & detail spacing */
.religion-detail-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
}

.religion-detail-body .fact-grid {
    margin-bottom: 0;
}

.religion-detail-body .law-detail-grid {
    margin-top: 0;
}

.religion-detail-body .card {
    padding: var(--space-7);
}

.religion-detail-body .card p.muted {
    line-height: 1.75;
    font-size: var(--text-base);
}

.religion-detail-body h2.h-md {
    margin-bottom: var(--space-4);
}

.religion-detail-body h3.h-sm {
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
}

.pill-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Religious detail page extracted semantic classes */
.religion-detail-body .religion-feature-card {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.religion-feature-photo {
    height: 240px;
}

.religion-feature-title {
    color: var(--color-surface);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.religion-feature-sub {
    color: var(--slate-200);
    font-size: 0.85rem;
    font-weight: 500;
}

.fact-value-sm {
    font-size: 1.12rem;
    line-height: 1.3;
}

.fact-value-xs {
    font-size: 1.05rem;
    line-height: 1.3;
}

.religion-subhead {
    margin-top: var(--space-5);
}

.religion-ref-list,
.religion-faq-list {
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.religion-detail-body .religion-ref-card {
    padding: 1.1rem;
    border-left: 4px solid var(--color-primary);
}

.religion-ref-head {
    margin-bottom: 6px;
}

.religion-ref-author {
    margin-top: 2px;
}

.religion-ref-quote {
    margin: var(--space-2) 0;
    font-style: italic;
    color: var(--color-text-2);
    border-left: none;
    padding-left: 0;
}

.religion-faq-item {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-4);
}

.religion-faq-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.religion-faq-q {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.religion-faq-a {
    margin: 0;
    line-height: 1.6;
}

.religion-pills {
    margin-top: var(--space-3);
}

/* Spanish FTC rights & editorial guide polish */
.es-ftc-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.es-ftc-section {
    padding: var(--space-6);
}

.es-faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy);
}

.es-ftc-guides-head {
    max-width: none;
    align-items: flex-end;
    margin-bottom: var(--space-5);
}

.es-bridge-actions {
    min-width: min(100%, 420px);
}

.es-guide-actions {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-border);
}
