/* Shared editorial and document layouts, using the landing page design tokens. */
.header nav [aria-current="page"] { color: #b44833; }
.breadcrumb { display: inline-flex; margin-bottom: 38px; color: var(--muted); font-size: 12px; }
.breadcrumb:hover { color: #b44833; }
.article-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 10px; line-height: 1.5; }
.article-meta-cat { padding: 6px 10px; border: 1px solid #cfc7d6; border-radius: 30px; color: #71617e; }
.article-meta-time { color: var(--muted); }
.read-more { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; font-weight: 500; }

/* Journal */
.journal { padding-top: 66px; }
.journal-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.journal-heading h1 { font-size: clamp(36px, 4.5vw, 62px); letter-spacing: -2.5px; line-height: 1.13; margin-top: 24px; }
.journal-heading h1 span { color: var(--coral); }
.journal-heading p { color: var(--muted); font-size: 15px; margin-top: 22px; }
.journal-flower { font-size: 170px; line-height: 1; color: #b8a4cf; transform: rotate(12deg); margin-right: 35px; }
.journal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 26px; margin: 45px 0 30px; }
.journal-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.journal-filters button { border: 1px solid var(--line); color: #68646b; background: transparent; border-radius: 30px; padding: 11px 16px; font-size: 11px; min-height: 40px; }
.journal-filters button:hover { border-color: #9b8caa; }
.journal-filters button[aria-pressed="true"] { color: white; border-color: var(--ink); background: var(--ink); }
.journal-filters button span { display: inline-block; opacity: .6; margin-left: 5px; }
#filter-count { font-size: 11px; color: var(--muted); white-space: nowrap; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 26px; }
.journal-card { min-width: 0; background: #fcfbf8; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.journal-card[hidden] { display: none; }
.journal-card-link { display: flex; flex-direction: column; height: 100%; }
.journal-card-link:hover h2 { color: #b44833; }
.journal-card-link:hover .read-more { color: #b44833; }
.journal-card-content { padding: 28px; display: flex; flex: 1; flex-direction: column; align-items: start; }
.journal-card h2 { font-size: 25px; letter-spacing: -.8px; line-height: 1.25; margin-top: 20px; }
.journal-card p { color: var(--muted); font-size: 13px; margin-top: 16px; }
.journal-card .read-more { width: 100%; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; }
.journal-card p + .read-more { margin-top: 25px; }
.lead-story { grid-column: 1 / -1; }
.lead-story .journal-card-link { display: grid; grid-template-columns: 1fr 1fr; }
.lead-story .editorial-cover { min-height: 350px; height: 100%; }
.lead-story .journal-card-content { padding: 35px; }
.lead-story h2 { font-size: 29px; }
.lead-story .read-more { margin-top: auto; }
.editorial-cover { position: relative; overflow: hidden; height: 245px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.cover-eyebrow { display: block; font-size: 9px; letter-spacing: 1.5px; }
.editorial-cover > b { display: block; font-size: 37px; line-height: 1.12; letter-spacing: -1.5px; font-weight: 500; position: relative; z-index: 1; }
.editorial-cover em { font-style: normal; }
.cover-0 { background: #e5dcf0; }
.cover-0 em { color: #7c5c9d; }
.cover-0 > b { margin-bottom: 48px; font-size: 44px; }
.editorial-orbit { border: 1px solid #bca6d2; height: 240px; width: 300px; border-radius: 50%; position: absolute; right: -115px; top: 50px; transform: rotate(-30deg); z-index: -1; }
.editorial-star { position: absolute; font-size: 135px; right: 22px; bottom: -23px; color: #b69ace; transform: rotate(8deg); z-index: -1; }
.cover-1 { background: #eee6d6; }
.cover-1 em { color: #9b744b; }
.cover-voice { display: flex; align-items: center; gap: 12px; border: 1px solid #d7c6a7; padding: 10px 14px; background: #fbf7ed; border-radius: 50px; width: 72%; margin-left: auto; transform: rotate(-5deg); }
.cover-voice > span { font-size: 10px; }
.cover-voice i { font-style: normal; color: #b09b76; flex: 1; overflow: hidden; white-space: nowrap; min-width: 0; font-size: 19px; }
.cover-voice small { font-size: 9px; }
.cover-2 { background: #edd9ce; }
.cover-2 em { color: #b56242; }
.cover-loop { position: absolute; right: 25px; top: 40px; font-size: 150px; color: #cb997f; transform: rotate(-30deg); z-index: -1; }
.cover-3 { background: #e2e8d7; }
.cover-3 em { color: #6d7c57; }
.cover-bubble { position: absolute; top: 57px; right: 45px; background: #f6f8f0; border: 1px solid #c7d1b9; border-radius: 10px 10px 0 10px; font-size: 12px; padding: 14px; transform: rotate(4deg); }
.cover-bubble.reply { top: 113px; right: 15px; transform: rotate(-4deg); }
.cover-4 { background: #e3e0ea; }
.cover-4 em { color: #817092; }
.cover-bars { display: flex; position: absolute; right: 35px; top: 45px; height: 90px; gap: 12px; align-items: end; transform: rotate(10deg); z-index: -1; }
.cover-bars i { width: 28px; height: 35px; background: #b5a5c5; border-radius: 5px; }
.cover-bars i:nth-child(2) { height: 50px; }
.cover-bars i:nth-child(3) { height: 70px; }
.cover-bars i:nth-child(4) { height: 90px; }
.journal-cta { display: flex; align-items: center; gap: 25px; background: #ece2da; border-radius: 17px; padding: 35px; margin-top: 60px; }
.journal-cta > span { color: #c88d73; font-size: 55px; }
.journal-cta h2 { font-size: 27px; letter-spacing: -1px; }
.journal-cta p { margin-top: 9px; font-size: 12px; color: #7e6c62; }
.journal-cta .button { margin-left: auto; flex-shrink: 0; font-size: 12px; }

/* Articles: generous reading column and an optional contents sidebar. */
.article-page { padding-top: 40px; }
.article-heading { max-width: 930px; }
.article-heading h1 { font-size: clamp(32px, 4vw, 53px); letter-spacing: -1.9px; line-height: 1.14; margin-top: 24px; text-wrap: balance; }
.article-standfirst { font-size: 18px; color: var(--muted); margin-top: 25px; max-width: 870px; }
.article-byline { display: flex; align-items: center; gap: 13px; font-size: 11px; margin: 28px 0 40px; }
.byline-icon { display: grid; place-items: center; height: 37px; width: 37px; border-radius: 50%; background: #ece3f3; font-size: 28px; color: #9e83b8; }
.article-byline small { display: block; font-size: 9px; color: var(--muted); margin-top: 5px; }
.reading-layout { display: grid; grid-template-columns: 255px minmax(0, 735px); gap: 55px; align-items: start; padding-top: 35px; border-top: 1px solid var(--line); }
.article-sidebar { position: sticky; top: 25px; }
.toc summary { font-size: 9px; letter-spacing: 1.4px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; padding-bottom: 15px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary > span { font-size: 17px; color: #93829f; }
.toc:not([open]) summary > span { transform: rotate(-90deg); }
.toc-links { display: flex; flex-direction: column; gap: 0; }
.toc-links a { display: flex; align-items: start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e6e2db; font-size: 11px; line-height: 1.5; color: #767077; }
.toc-links a > span { color: #a593b1; font-size: 9px; flex-shrink: 0; padding-top: 2px; }
.toc-links a:hover { color: #b44833; }
.sidebar-note { padding: 22px; background: #eae3f0; border-radius: 13px; margin-top: 26px; }
.sidebar-note > span { color: #9d7db8; font-size: 37px; }
.sidebar-note p { font-size: 19px; letter-spacing: -.4px; line-height: 1.3; margin: 14px 0; }
.sidebar-note a { font-size: 10px; }
.reading-column { min-width: 0; }
.article-body { font-size: 16px; line-height: 1.8; overflow-wrap: break-word; color: #4e4b50; }
.article-body p { line-height: 1.85; margin: 0 0 20px; }
.article-body h2 { color: var(--ink); font-size: 30px; letter-spacing: -.9px; line-height: 1.25; margin: 45px 0 20px; text-wrap: balance; }
.article-body h3 { color: var(--ink); font-size: 22px; line-height: 1.3; margin: 30px 0 15px; }
.article-body ul, .article-body ol { margin: 18px 0 26px; padding-left: 24px; }
.article-body li { padding-left: 5px; margin: 10px 0; }
.article-body li::marker { color: #aa7a67; }
.article-body strong { font-weight: 600; color: #343036; }
.article-body a { color: #9c452f; text-decoration: underline; text-decoration-color: #d6b3a6; text-underline-offset: 4px; overflow-wrap: anywhere; }
.article-body blockquote { border-left: 3px solid #c3aed6; background: #eee8f3; padding: 25px 30px; margin: 28px 0; border-radius: 0 12px 12px 0; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body .article-flow { padding: 24px; background: #eae4f0; border: 1px solid #dacfe3; border-radius: 12px; line-height: 2; color: #6b527f; margin-block: 26px; }
.article-flow strong { padding: 0 5px; color: #a88cbb; }
.back-to-top { display: inline-flex; font-size: 11px; color: var(--muted); margin-top: 20px; }
.article-cta { max-width: 960px; margin: 70px auto 0; padding: 42px; background: #ecddd3; border-radius: 18px; text-align: center; }
.article-cta h3 { font-size: 30px; letter-spacing: -1px; line-height: 1.25; max-width: 760px; margin: auto; text-wrap: balance; }
.article-cta p { font-size: 14px; color: #7d685d; margin: 18px auto 25px; max-width: 650px; }
.article-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.article-cta .button { font-size: 12px; }
.article-cta .outline { border-color: #cbb5a9; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }
.related { margin-top: 70px; }
.related-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.related-heading h2 { font-size: 32px; letter-spacing: -1px; }
.related-heading > a { font-size: 12px; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-grid > a { padding: 27px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; background: #faf9f5; }
.related-grid > a:hover { background: #eee8f3; }
.related-grid > a > span:first-child { font-size: 9px; color: #857092; }
.related-grid h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.5px; margin: 17px 0 25px; }
.related-grid .read-more { margin-top: auto; }

/* Legal documents: same site chrome, unchanged document wording. */
.terms-container { max-width: 850px; width: calc(100% - 96px); margin: 40px auto 0; overflow-wrap: anywhere; }
.terms-header { margin-bottom: 28px; }
.terms-title { font-size: 45px; letter-spacing: -1.6px; line-height: 1.15; margin: 17px 0; }
.terms-date { color: var(--muted); font-size: 12px; }
.document-nav { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.document-nav a { padding: 10px 14px; border: 1px solid #d8d0df; border-radius: 30px; font-size: 11px; }
.document-nav [aria-current="page"] { background: #e8e0f1; border-color: #c5b4d3; color: #6e557f; }
.terms-section { margin: 32px 0; }
.terms-section h2, .contact-info h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.6px; margin-bottom: 17px; }
.terms-section h3 { font-size: 20px; margin: 24px 0 12px; }
.terms-section p, .contact-info p { font-size: 15px; line-height: 1.85; color: #625c63; margin: 14px 0; }
.terms-section ul, .terms-section ol { padding-left: 23px; }
.terms-section li { padding-left: 4px; margin: 8px 0; color: #625c63; font-size: 15px; line-height: 1.7; }
.terms-section li::marker { color: #b18b78; }
.contact-info { padding: 28px; background: #eae4f0; border: 1px solid #dad0e2; border-radius: 16px; margin: 35px 0; }
.contact-info p { margin: 7px 0; font-size: 14px; }

@media (max-width: 1000px) {
  .journal-flower { font-size: 120px; margin-right: 10px; }
  .lead-story h2 { font-size: 25px; }
  .lead-story .journal-card-content { padding: 26px; }
  .lead-story .editorial-cover { min-height: 380px; }
  .journal-cta { flex-wrap: wrap; }
  .journal-cta .button { margin-left: 80px; }
  .reading-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .toc-links a { font-size: 10px; }
  .article-heading h1 { font-size: 43px; }
}
@media (max-width: 850px) {
  .journal { padding-top: 45px; }
  .journal-heading h1 { font-size: 42px; letter-spacing: -1.8px; }
  .journal-flower { font-size: 90px; }
  .journal-toolbar { gap: 14px; align-items: start; }
  .journal-filters button { font-size: 10px; padding-inline: 13px; }
  .editorial-cover { padding: 23px; }
  .editorial-cover > b { font-size: 31px; }
  .cover-0 > b { font-size: 38px; }
  .journal-card-content { padding: 23px; }
  .journal-card h2 { font-size: 23px; }
  .lead-story .journal-card-link { grid-template-columns: 1fr; }
  .lead-story .editorial-cover { min-height: 250px; }
  .cover-0 > b { margin-bottom: 12px; }
  .lead-story .read-more { margin-top: 25px; }
  .reading-layout { grid-template-columns: 1fr; gap: 28px; }
  .article-sidebar { position: static; }
  .sidebar-note { display: none; }
  .toc { padding: 20px; background: #eee9f2; border: 1px solid #dcd3e3; border-radius: 12px; }
  .toc-links a { font-size: 12px; }
  .article-heading h1 { font-size: 39px; }
  .article-standfirst { font-size: 16px; }
  .terms-container { width: calc(100% - 56px); }
}
@media (max-width: 600px) {
  .journal { padding-top: 36px; }
  .journal-heading { gap: 0; }
  .journal-heading h1 { font-size: 36px; letter-spacing: -1.6px; }
  .journal-heading .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .journal-heading p { font-size: 13px; margin-top: 20px; }
  .journal-flower { display: none; }
  .journal-toolbar { flex-direction: column; gap: 15px; margin-top: 30px; padding-top: 22px; }
  .journal-filters { gap: 7px; }
  .journal-filters button { padding: 10px 12px; min-height: 40px; }
  .journal-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lead-story .editorial-cover { min-height: 235px; }
  .editorial-cover { height: 235px; padding: 22px; }
  .cover-0 > b { font-size: 36px; }
  .journal-card h2, .lead-story h2 { font-size: 23px; }
  .journal-card-content, .lead-story .journal-card-content { padding: 23px; }
  .journal-card p { font-size: 12px; }
  .article-meta-row { font-size: 9px; gap: 10px; }
  .cover-bubble { right: 22px; font-size: 10px; }
  .cover-bubble.reply { right: 10px; }
  .journal-cta { padding: 25px; margin-top: 40px; gap: 16px; }
  .journal-cta > span { font-size: 36px; }
  .journal-cta h2 { font-size: 27px; }
  .journal-cta .button { width: 100%; margin: 4px 0 0; font-size: 11px; padding-inline: 12px; }
  .article-page { padding-top: 28px; }
  .breadcrumb { margin-bottom: 28px; font-size: 11px; }
  .article-heading h1 { font-size: 32px; letter-spacing: -1.1px; line-height: 1.2; overflow-wrap: break-word; }
  .article-standfirst { font-size: 14px; margin-top: 20px; }
  .article-byline { margin-bottom: 28px; }
  .reading-layout { padding-top: 25px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 25px; letter-spacing: -.6px; margin-top: 34px; }
  .article-body p { margin-bottom: 18px; }
  .article-body .article-flow { padding: 18px; font-size: 14px; }
  .article-body blockquote { padding: 18px 20px; }
  .article-cta { padding: 28px 22px; margin-top: 45px; }
  .article-cta h3 { font-size: 26px; }
  .article-cta p { font-size: 12px; }
  .article-cta .button { width: 100%; font-size: 11px; gap: 14px; padding-inline: 14px; }
  .article-cta-actions { gap: 10px; }
  .related { margin-top: 45px; }
  .related-grid { grid-template-columns: 1fr; gap: 14px; }
  .related-grid > a { padding: 23px; }
  .related-grid h3 { font-size: 21px; }
  .related-heading h2 { font-size: 28px; }
  .related-heading > a { font-size: 11px; }
  .terms-container { width: calc(100% - 36px); margin-top: 28px; }
  .terms-title { font-size: 34px; letter-spacing: -1px; }
  .terms-header .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .document-nav { gap: 8px; }
  .document-nav a { font-size: 10px; padding-inline: 12px; }
  .terms-section h2, .contact-info h2 { font-size: 23px; }
  .terms-section p, .terms-section li { font-size: 14px; }
  .contact-info { padding: 23px; }
  .contact-info p { font-size: 13px; }
}
