/* Shared editorial layout: system fonts, readable measure, real text links. */
.legal-layout { max-width: 860px; padding-block: 40px 56px; }
.contact-privacy { font-size: .8125rem; line-height: 1.7; color: #586472; background: #f8f6f2; border-radius: 12px; padding: 14px; margin-bottom: 20px; }
.contact-privacy a { color: #805431; text-decoration: underline; text-underline-offset: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: white; color: #152238; z-index: 1100; transform: translateY(-160%); border-radius: 8px; }
.skip-link:focus { transform: none; }
.reading-page { background: #fafaf8; }
.reading-page .header-logo img, .header-logo img { width: auto; }
.reading-hero { padding: 130px 0 56px; background: #eef1f4; border-bottom: 1px solid #dfe4ea; }
.breadcrumbs { margin-bottom: 38px; font-size: .8125rem; color: #596574; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: #89929e; margin-left: 8px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: 1.4px; color: #885c38; margin-bottom: 14px; text-transform: uppercase; }
.reading-hero h1 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(2rem,4.2vw,3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.045em; max-width: 22ch; text-wrap: balance; margin-bottom: 24px; }
.reading-lead { font-size: 1.125rem; line-height: 1.8; max-width: 76ch; color: #4d5865; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .875rem; color: #596574; }
.article-meta a { text-decoration: underline; text-underline-offset: 3px; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(230px, 1fr); align-items: start; gap: 64px; padding-block: 64px 80px; }
.reading-body { font-size: 1.0625rem; line-height: 1.9; color: #374553; }
.reading-body section { margin-bottom: 36px; scroll-margin-top: 110px; }
.reading-body h2 { color: #152238; font-size: clamp(1.4rem,2.4vw,1.8rem); line-height: 1.35; letter-spacing: -.025em; margin: 0 0 18px; text-wrap: balance; }
.reading-body p { margin-bottom: 18px; }
.reading-body ul { list-style: disc; padding-left: 24px; }
.reading-body li { padding-left: 4px; margin-bottom: 10px; }
.topic-box { background: white; border: 1px solid #dfe4ea; border-left: 3px solid #ad7c53; border-radius: 10px; padding: 28px; }
.reading-sidebar { position: sticky; top: 110px; }
.table-of-contents { background: white; border: 1px solid #dfe4ea; border-radius: 12px; padding: 24px; }
.table-of-contents h2 { font-size: 1rem; margin-bottom: 16px; }
.table-of-contents ol { list-style: decimal; padding-left: 20px; }
.table-of-contents li { margin-block: 12px; font-size: .9375rem; line-height: 1.6; }
.table-of-contents a:hover { color: #805431; text-decoration: underline; }
.sidebar-contact { margin-top: 20px; padding: 24px; border-radius: 12px; background: #152238; color: white; }
.sidebar-contact .eyebrow { color: #e2bd94; }
.sidebar-contact h2 { font-size: 1.4rem; line-height: 1.4; margin-bottom: 12px; }
.sidebar-contact p:not(.eyebrow) { font-size: .9375rem; color: #d1d9e3; margin-bottom: 22px; }
.sidebar-contact .btn { width: 100%; padding-inline: 16px; }
.page-faq details { background: white; border: 1px solid #dfe4ea; border-radius: 8px; padding: 18px 20px; margin-bottom: 12px; }
.page-faq summary { cursor: pointer; color: #152238; font-weight: 700; line-height: 1.6; }
.page-faq details p { font-size: 1rem; margin: 14px 0 0; }
.source-list { padding-top: 30px; border-top: 1px solid #dfe4ea; font-size: .9375rem; }
.source-list a { color: #315675; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.source-list p { margin-top: 20px; font-size: .875rem; color: #65717d; }
.article-parent { background: #eef1f4; border-radius: 10px; padding: 24px; }
.article-parent p { font-size: .875rem; margin-bottom: 8px; }
.article-parent a { font-weight: 700; color: #152238; text-decoration: underline; text-underline-offset: 4px; }
.collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-block: 56px 80px; }
.reading-card { display: flex; flex-direction: column; align-items: flex-start; background: white; border: 1px solid #dfe4ea; border-radius: 12px; padding: 28px; min-width: 0; }
.reading-card h2, .reading-card h3 { color: #152238; font-size: 1.3rem; line-height: 1.45; letter-spacing: -.025em; margin-bottom: 16px; }
.reading-card h2 a:hover, .reading-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.reading-card > p:not(.eyebrow) { font-size: .9375rem; line-height: 1.8; color: #586472; margin-bottom: 26px; }
.text-link, .card-meta a { font-weight: 700; color: #805431; font-size: .875rem; }
.text-link { margin-top: auto; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; width: 100%; margin-top: auto; font-size: .8125rem; color: #65717d; }
.related-reading, .home-articles { padding: 64px 0; background: #eef1f4; border-top: 1px solid #dfe4ea; }
.related-reading .collection-grid, .home-articles .collection-grid { padding: 32px 0 0; }
.reading-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reading-section-heading h2 { font-size: clamp(1.6rem,3vw,2.2rem); line-height: 1.3; letter-spacing: -.035em; }
.reading-section-heading > a { font-size: .9375rem; font-weight: 700; color: #805431; flex-shrink: 0; }
.reading-footer { background: #0e1a2b; color: #d1d9e3; padding: 44px 0 24px; }
.reading-footer .container { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.reading-footer a { color: white; font-size: .9375rem; }
.reading-footer p { margin-top: 10px; font-size: .8125rem; }
.reading-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.reading-footer .reading-copyright { width: 100%; border-top: 1px solid #29374a; padding-top: 20px; }
.article-image { margin: 0 0 32px; }
.article-image img { border-radius: 12px; width: 100%; height: auto; }
.article-image figcaption { margin-top: 9px; color: #65717d; font-size: .8125rem; }
.article-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; max-width: 900px; }
.article-contact a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: .9375rem; font-weight: 700; }
.article-contact .btn { padding: 13px 20px; }
.article-phone { color: #152238; text-decoration: underline; text-underline-offset: 4px; }
.article-whatsapp { padding: 10px 16px; border: 1px solid #246949; border-radius: 6px; color: #205b40; gap: 6px; background: #f4faf6; }
.article-whatsapp:hover { background: #e4f1e9; }
.reading-card-image { width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -28px -28px 24px; border-radius: 11px 11px 0 0; }
.office-address { max-width: 610px; margin-top: 14px; font-style: normal; font-size: .875rem; line-height: 1.75; }
@media(max-width: 600px) { .reading-card-image { width: calc(100% + 48px); margin: -24px -24px 22px; } .article-contact { gap: 12px; } .article-contact .btn { width: 100%; } .article-contact .article-phone, .article-contact .article-whatsapp { flex: 1 1 180px; } }
.practice-card { display: flex; flex-direction: column; align-items: flex-start; }
.practice-card-arrow { margin-top: auto; padding-top: 20px; }
.practice-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media(max-width: 1100px) { .reading-layout { gap: 32px; } .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 900px) { .reading-layout { grid-template-columns: minmax(0,1fr); padding-block: 40px; } .reading-sidebar { position: static; order: -1; } .sidebar-contact { display: none; } .table-of-contents ol { columns: 2; column-gap: 30px; } .table-of-contents li { break-inside: avoid; } .reading-hero { padding-top: 115px; padding-bottom: 40px; } .reading-section-heading { align-items: flex-start; flex-direction: column; gap: 16px; } }
@media(max-width: 600px) { .collection-grid { grid-template-columns: minmax(0,1fr); padding-block: 32px 48px; } .reading-card { padding: 24px; } .reading-hero h1 { font-size: 2.1rem; } .reading-lead { font-size: 1.0625rem; } .article-meta { flex-direction: column; gap: 4px; } .breadcrumbs { margin-bottom: 28px; } .table-of-contents ol { columns: 1; } .topic-box { padding: 22px; } .reading-body { font-size: 1rem; } .related-reading, .home-articles { padding: 44px 0; } }

.contact-detail a, .reading-footer p a { overflow-wrap: anywhere; }

.article-summary { padding: 26px 28px; background: #eef1f4; border-left: 3px solid #ad7c53; border-radius: 10px; }
.article-summary p { margin-bottom: 0; }
.collection-count { padding-top: 32px; color: #586472; font-size: .9375rem; }
.collection-count + .collection-grid { padding-top: 24px; padding-bottom: 32px; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 64px; font-size: .9375rem; }
.pagination ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pagination a, .pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 8px; }
.pagination a { color: #152238; border: 1px solid #ccd4de; background: white; font-weight: 700; }
.pagination a:hover { background: #eef1f4; text-decoration: underline; }
.pagination [aria-current="page"] { background: #152238; color: white; font-weight: 700; }
.pagination .pagination-disabled { color: #65717d; }
@media(max-width: 420px) { .pagination { gap: 8px; } .pagination ol { order: -1; flex-basis: 100%; justify-content: center; } }
.reading-sidebar { max-height: calc(100dvh - 130px); overflow-y: auto; padding-bottom: 8px; }
@media(max-width: 900px) { .reading-sidebar { max-height: none; overflow: visible; } }
@media(max-width: 600px) { .article-summary { padding: 22px; } }

.table-of-contents > summary { cursor: pointer; font-size: 1rem; font-weight: 700; color: #152238; min-height: 28px; }
.table-of-contents[open] > summary { margin-bottom: 12px; }
@media(min-width: 901px) {
  .service-grid { grid-template-columns: repeat(12,minmax(0,1fr)); }
  .service-grid > .reading-card { grid-column: span 3; padding: 24px; }
  .service-grid > .reading-card:nth-child(n+5) { grid-column: span 4; }
}
@media(max-width: 900px) {
  .reading-hero { padding: 100px 0 28px; }
  .breadcrumbs { margin-bottom: 20px; font-size: .75rem; }
  .reading-hero h1 { font-size: clamp(1.75rem,5vw,2.3rem); margin-bottom: 16px; line-height: 1.2; }
  .reading-lead { font-size: 1rem; line-height: 1.75; }
  .article-contact { margin-top: 18px; gap: 8px 12px; }
  .article-meta { margin-top: 18px; flex-direction: row; gap: 6px 16px; font-size: .75rem; }
  .reading-layout { padding-block: 24px 36px; gap: 20px; }
  .table-of-contents { padding: 14px 18px; }
  .table-of-contents > summary { min-height: 32px; line-height: 32px; }
  .table-of-contents ol { columns: 1; }
  .table-of-contents a { display: inline-block; padding-block: 5px; }
  .table-of-contents li { margin-block: 5px; }
  .reading-body { font-size: 1rem; line-height: 1.8; }
  .reading-body section { margin-bottom: 26px; }
  .reading-body h2 { font-size: 1.35rem; margin-bottom: 14px; }
  .reading-body p { margin-bottom: 14px; }
  .article-summary, .topic-box, .article-parent { padding: 18px; }
  .page-faq details { padding: 14px 16px; }
  .collection-grid { gap: 16px; padding-block: 24px 36px; }
  .collection-count { padding-top: 22px; }
  .related-reading, .home-articles { padding-block: 32px; }
  .reading-footer { padding-block: 30px 18px; }
  .reading-card { padding: 20px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-grid > .reading-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media(max-width: 600px) {
  .article-contact .article-phone, .article-contact .article-whatsapp { flex: 1 1 auto; font-size: .8125rem; }
  .article-contact .article-whatsapp { padding-inline: 10px; }
  .collection-grid { gap: 12px; }
  .article-card { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 8px 14px; align-items: start; padding: 14px; }
  .article-card .reading-card-image { grid-column: 1; grid-row: 1 / 4; width: 88px; height: 96px; max-width: 100%; margin: 0; border-radius: 7px; object-fit: cover; }
  .article-card > .eyebrow { grid-column: 2; font-size: .625rem; letter-spacing: .8px; margin: 0; }
  .article-card h3 { grid-column: 2; font-size: 1rem; line-height: 1.45; margin: 0; letter-spacing: -.015em; }
  .article-card > p:not(.eyebrow) { display: none; }
  .article-card .card-meta { grid-column: 1 / -1; display: flex; align-items: center; padding-top: 6px; margin: 0; gap: 8px; font-size: .75rem; }
  .article-card .card-meta a { min-height: 44px; display: inline-flex; align-items: center; font-size: .8125rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid .reading-card h2 { font-size: 1.15rem; margin-bottom: 10px; }
  .service-grid .reading-card > p:not(.eyebrow) { margin-bottom: 14px; }
}

/* Match the compact desktop header and warm home-page surfaces. */
@media (min-width: 901px) {
  .reading-page { background: #f8f6f2; }
  .reading-hero { width: calc(100% - 48px); max-width: 1280px; margin: 88px auto 0; padding: 28px 0 32px; border: 1px solid #e4dfd7; border-radius: 28px; background: linear-gradient(115deg, #efe8df, #f3f5f6 75%); }
  .reading-hero .container { width: calc(100% - 88px); }
  .breadcrumbs { margin-bottom: 20px; }
  .reading-hero .eyebrow { display: inline-block; padding: 5px 11px; border-radius: 999px; background: #fff9; margin-bottom: 12px; font-size: .6875rem; }
  .reading-hero h1 { font-size: clamp(2rem, 3vw, 2.5rem); max-width: 32ch; line-height: 1.2; margin-bottom: 16px; }
  .reading-lead { font-size: 1rem; line-height: 1.75; }
  .article-contact { margin-top: 20px; gap: 12px 20px; }
  .article-whatsapp { border-radius: 999px; }
  .article-meta { margin-top: 18px; font-size: .8125rem; }
  .reading-layout { padding-block: 40px 56px; gap: 44px; }
  .reading-card { border-radius: 20px; border-color: #e6e1d9; }
  .reading-card-image { border-radius: 19px 19px 0 0; }
  .reading-card h2, .reading-card h3 { font-size: 1.125rem; margin-bottom: 12px; }
  .reading-card > p:not(.eyebrow) { margin-bottom: 20px; }
  .collection-grid { gap: 18px; padding-block: 32px 48px; }
  .home-articles, .related-reading { padding-block: 44px; background: #edf1f2; }
  .home-articles .collection-grid, .related-reading .collection-grid { padding-top: 24px; }
  .reading-section-heading h2 { font-size: 1.875rem; }
  .topic-box, .table-of-contents, .sidebar-contact, .article-summary, .article-parent { border-radius: 18px; }
  .article-image img { border-radius: 20px; }
  .page-faq details { border-radius: 14px; }
  .pagination a, .pagination span { border-radius: 999px; }
}
