/* Editorial reference guide. All rules are scoped to the Regulations page. */
body.notion-regulations-page { padding-inline: 0; }
body.notion-regulations-page.page:not(.home):not(.notion-auth-page) .wp-site-blocks > main.twa-regulations:first-of-type { max-width: none; margin: 0; padding: var(--notion-fixed-header-height, 73px) 0 0 !important; }
body.notion-regulations-page .twa-regulations { --reg-line: #ded6cc; --reg-accent: #9a4312; --reg-sidebar: 220px; --reg-gap: 40px; background: #f7f3ee; color: #242424; font-weight: 400; }
.twa-regulations *, .twa-regulations *::before, .twa-regulations *::after { box-sizing: border-box; }
.twa-reg-wrap { width: 100%; max-width: 1360px; padding-inline: 32px; margin-inline: auto; }
.twa-reg-hero { padding: 44px 0 34px; background: #62381d; border-bottom: 1px solid #62381d; }
.twa-reg-hero__copy { margin-left: calc(var(--reg-sidebar) + var(--reg-gap)); }
.twa-reg-hero h1 { margin: 0; color: #fffaf5; font-size: clamp(32px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
body.notion-regulations-page .twa-regulations .twa-reg-hero__intro { margin: 16px 0 14px; color: #fff4e9; font-size: 17px; line-height: 1.65; }
body.notion-regulations-page .twa-regulations .twa-reg-hero__link { display: inline-flex; align-items: center; gap: 12px; color: #fffaf5; font-size: 16px; font-weight: 600; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
body.notion-regulations-page .twa-regulations .twa-reg-hero__link:hover { color: #fffaf5; }
.twa-reg-hero a:focus-visible { outline-color: #fffaf5; }
.twa-reg-layout { display: grid; grid-template-columns: var(--reg-sidebar) minmax(0, 1fr); gap: var(--reg-gap); align-items: start; padding-top: 40px; padding-bottom: 24px; }
.twa-reg-sidebar { position: sticky; top: calc(var(--notion-fixed-header-height, 73px) + 32px); }
.admin-bar .twa-reg-sidebar { top: calc(var(--notion-fixed-header-height, 73px) + 64px); }
.twa-reg-sidebar nav { padding: 0; }
body.notion-regulations-page .twa-regulations .twa-reg-eyebrow { margin: 0 0 16px; color: #40372f; font-size: 16px; font-weight: 600; line-height: 1.5; }
.twa-reg-sidebar ol, .twa-reg-mobile-nav ol { list-style: none; margin: 0; padding: 0; }
.twa-reg-sidebar li, .twa-reg-mobile-nav li { margin: 0; }
body.notion-regulations-page .twa-regulations :is(.twa-reg-sidebar, .twa-reg-mobile-nav) a { display: block; padding: 12px 0 12px 16px; border-left: 2px solid transparent; color: #40372f; font-size: 16px; font-weight: 400; line-height: 1.6; text-decoration: none; }
body.notion-regulations-page .twa-regulations :is(.twa-reg-sidebar, .twa-reg-mobile-nav) a:hover { color: #242424; text-decoration: underline; text-underline-offset: 4px; }
body.notion-regulations-page .twa-regulations :is(.twa-reg-sidebar, .twa-reg-mobile-nav) a[aria-current="location"] { border-left-color: var(--reg-accent); color: #242424; font-weight: 700; }
.twa-reg-main { min-width: 0; max-width: none; position: relative; }
.twa-reg-main::before { content: ''; position: absolute; top: 0; bottom: 48px; left: calc(var(--reg-gap) / -2); width: 1px; background: var(--reg-line); }
.twa-regulations .twa-reg-section { margin: 0 0 48px; scroll-margin-top: calc(var(--notion-fixed-header-height, 73px) + 28px); }
.admin-bar .twa-regulations .twa-reg-section { scroll-margin-top: calc(var(--notion-fixed-header-height, 73px) + 60px); }
body.notion-regulations-page .twa-regulations :is(h2, h3) { color: #242424; font-weight: 600; }
.twa-regulations .twa-reg-section > h2 { margin: 0 0 20px; font-size: 25px; line-height: 1.35; letter-spacing: -.025em; }
body.notion-regulations-page .twa-regulations :is(p, li, td) { color: #242424; font-weight: 400; }
.twa-regulations .twa-reg-section > p { margin: 0 0 20px; font-size: 17px; line-height: 1.8; }
.twa-regulations .twa-reg-overview { padding: 0 0 36px; border: 0; border-bottom: 1px solid var(--reg-line); background: transparent; border-radius: 0; }
.twa-regulations .twa-reg-overview > p:last-child { margin-bottom: 0; }
.twa-reg-frameworks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: framework; }
.twa-reg-card { padding: 24px; border: 1px solid var(--reg-line); border-radius: 4px; background: #fff; }
.twa-reg-card::before { counter-increment: framework; content: counter(framework, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--reg-accent); font-size: 13px; font-weight: 600; }
.twa-regulations .twa-reg-card h3 { margin: 0 0 14px; font-size: 19px; line-height: 1.4; letter-spacing: -.015em; }
.twa-regulations .twa-reg-card p { margin: 0; font-size: 15px; line-height: 1.8; }
.twa-reg-frameworks--accordion { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--reg-line); }
.twa-reg-framework { min-width: 0; border-bottom: 1px solid var(--reg-line); }
.twa-reg-framework summary { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.twa-reg-framework summary::-webkit-details-marker { display: none; }
.twa-reg-framework summary::before { counter-increment: framework; content: counter(framework, decimal-leading-zero); flex: 0 0 24px; color: var(--reg-accent); font-size: 13px; }
.twa-reg-framework summary::after { content: '+'; margin-left: auto; flex-shrink: 0; color: #62381d; font-size: 22px; line-height: 1; }
.twa-reg-framework[open] summary::after { content: '−'; }
.twa-regulations .twa-reg-framework h3 { margin: 0; font-size: 19px; line-height: 1.4; letter-spacing: -.015em; }
body.notion-regulations-page .twa-regulations .twa-reg-framework[open] h3 { color: #62381d; }
.twa-reg-framework__body { padding: 0 40px 24px; }
.twa-reg-framework__body p { margin: 0 0 16px; font-size: 15px; line-height: 1.8; }
.twa-reg-framework__body p:last-child { margin-bottom: 0; }
.twa-reg-framework-toggle { display: block; margin: 0 0 16px auto; padding: 6px 0; border: 0; background: transparent; color: var(--reg-accent); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.twa-reg-table-wrap { border: 1px solid var(--reg-line); border-radius: 4px; overflow: hidden; background: #f7f3ee; }
.twa-reg-table { width: 100%; border-collapse: collapse; text-align: left; }
.twa-reg-table th { background: #e9dfd2; color: #62381d; font-size: 13px; font-weight: 700; padding: 16px; }
.twa-reg-table tbody tr:nth-child(even) { background: #f0e9e0; }
.twa-reg-table td { padding: 18px 16px; border-top: 1px solid var(--reg-line); font-size: 14px; line-height: 1.7; vertical-align: top; }
.twa-reg-table td:first-child { width: 27%; }
.twa-reg-audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 0; padding: 0; list-style: none; }
.twa-reg-audience li { position: relative; padding: 0 0 0 18px; margin: 0; font-size: 16px; line-height: 1.7; }
.twa-reg-audience li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #62381d; }
.twa-regulations .twa-reg-draft-list { padding-left: 22px; margin: 18px 0; }
.twa-regulations .twa-reg-draft-list li { margin: 0 0 18px; font-size: 16px; line-height: 1.8; }
body.notion-regulations-page .twa-regulations :is(p, li) a { color: var(--reg-accent); text-decoration: underline; text-underline-offset: 3px; }
body.notion-regulations-page .twa-regulations :is(p, li) a:hover { color: #642b0b; }
.twa-regulations .twa-reg-support { padding: 0; border: 0; background: transparent; }
.twa-regulations .twa-reg-support .twa-reg-draft-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 28px 0; padding: 0; list-style: none; }
.twa-regulations .twa-reg-support .twa-reg-draft-list li { margin: 0; padding-top: 20px; border-top: 1px solid var(--reg-line); }
.twa-reg-support .twa-reg-draft-list strong { display: block; margin-bottom: 10px; color: #62381d; font-size: 18px; font-weight: 700; line-height: 1.5; }
.twa-reg-support > p:has(a) { padding-top: 24px; border-top: 1px solid var(--reg-line); }
body.notion-regulations-page .twa-regulations .twa-reg-support > p a { display: inline-block; padding: 10px 18px; margin: 0 6px; border-radius: 4px; background: #62381d; color: #fffaf5; font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: none; }
body.notion-regulations-page .twa-regulations .twa-reg-support > p a:hover { background: #80451f; color: #fffaf5; }
body.notion-regulations-page .twa-regulations .twa-reg-notice { margin: 28px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--reg-line); background: transparent; color: #525252; font-size: 14px; line-height: 1.8; }
.twa-reg-notice em { font-style: normal; }
.twa-regulations > .notion-home-newsletter { display: grid; grid-template-columns: minmax(210px, .62fr) minmax(0, 1fr); gap: 48px; width: calc(100% - 64px); max-width: 1016px; margin: 8px auto 0; padding: 22px 0 28px; }
.twa-regulations :is(a, summary, button):focus-visible { outline: 2px solid var(--reg-accent); outline-offset: 4px; }
.twa-reg-mobile-nav { display: none; }
@media (min-width: 1025px) and (max-width: 1450px) {
 body.notion-regulations-page .notion-topbar { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
 body.notion-regulations-page .notion-logo-link { grid-column: 1; grid-row: 1; }
 body.notion-regulations-page .notion-header-actions { grid-column: 2; grid-row: 1; }
 body.notion-regulations-page .notion-primary-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
@media (min-width: 761px) { .twa-reg-frameworks .twa-reg-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 1050px) {
 body.notion-regulations-page .twa-regulations { --reg-sidebar: 180px; --reg-gap: 24px; }
 .twa-reg-wrap { padding-inline: 24px; }
 .twa-reg-frameworks { grid-template-columns: 1fr; }
 .twa-reg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .twa-reg-table tr, .twa-reg-table td { display: block; }
 .twa-reg-table td { padding: 8px 20px; border: 0; }
 .twa-reg-table td:first-child { width: auto; padding-top: 20px; border-top: 1px solid var(--reg-line); }
 .twa-reg-table td:last-child { padding-bottom: 20px; }
 .twa-reg-table td::before { content: attr(data-label) ': '; font-weight: 600; }
 .twa-reg-table td:first-child::before { content: none; }
}
@media (max-width: 760px) {
 .twa-reg-wrap { padding-inline: 20px; }
 .twa-reg-hero { padding: 32px 0 28px; }
 .twa-reg-hero__copy { margin-left: 0; }
 .twa-reg-layout { grid-template-columns: 1fr; padding-top: 24px; }
 .twa-reg-sidebar { display: none; }
 .twa-reg-main::before { display: none; }
 .twa-reg-mobile-nav { display: block; margin-bottom: 32px; border-block: 1px solid var(--reg-line); background: transparent; }
 .twa-reg-mobile-nav summary { display: flex; justify-content: space-between; padding: 16px 0; color: #242424; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
 .twa-reg-mobile-nav summary::-webkit-details-marker { display: none; }
 .twa-reg-mobile-nav nav { padding-bottom: 12px; }
 .twa-regulations .twa-reg-section > h2 { font-size: 23px; }
 .twa-reg-audience, .twa-regulations .twa-reg-support .twa-reg-draft-list { grid-template-columns: minmax(0, 1fr); }
 .twa-reg-framework__body { padding-inline: 0; }
 .twa-regulations { overflow-wrap: anywhere; }
 .twa-regulations > .notion-home-newsletter { grid-template-columns: 1fr; gap: 28px; width: calc(100% - 40px); }
}
@media (prefers-reduced-motion: no-preference) { html:has(.twa-regulations) { scroll-behavior: smooth; } }
