/* Textual/Legal Pages and 404 only; shared chrome remains in internal-pages.css. */
.lp-textual,
.lp-not-found { --lp-static-gutter: 16px; color: var(--lp-internal-blue); }

.lp-textual__hero { background: var(--lp-internal-blue); color: #fff; }
.lp-textual__hero-inner { display: flex; min-height: 192px; align-items: center; padding: 36px var(--lp-static-gutter); }
.lp-textual__hero h1 { width: min(100%, 1920px); margin: 0 auto; overflow-wrap: break-word; font-size: clamp(30px, 8.2vw, 40px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.lp-textual__content { min-height: 300px; padding: 48px var(--lp-static-gutter) 64px; background: var(--lp-internal-gray); }
.lp-textual__reading { width: min(100%, 820px); margin: 0 auto; overflow-wrap: break-word; font-size: 17px; line-height: 1.52; }
.lp-textual__reading > :first-child { margin-top: 0; }
.lp-textual__reading > :last-child { margin-bottom: 0; }
.lp-textual__reading p { margin: 0 0 28px; }
.lp-textual__reading > p:first-child { font-size: 18px; font-weight: 700; line-height: 1.45; }
.lp-textual__reading > p:first-child::after { display: block; width: 80px; height: 4px; margin: 46px 0 50px; background: var(--lp-internal-red); content: ''; }
.lp-textual__reading h2 { margin: 52px 0 22px; font-size: 30px; font-weight: 700; line-height: 1.2; }
.lp-textual__reading h3 { margin: 46px 0 20px; font-size: 22px; font-weight: 700; line-height: 1.25; }
.lp-textual__reading ul,
.lp-textual__reading ol { margin: 24px 0 38px; padding-left: 26px; }
.lp-textual__reading li + li { margin-top: 7px; }
.lp-textual__reading a { color: #b91e2c; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lp-textual__reading a:hover,
.lp-textual__reading a:focus-visible { text-decoration-thickness: 2px; }
.lp-textual__reading blockquote { margin: 38px 0; padding: 20px 24px; border-left: 4px solid var(--lp-internal-red); background: #f5f5f5; }
.lp-textual__reading img,
.lp-textual__reading video,
.lp-textual__reading iframe { max-width: 100%; height: auto; }
.lp-textual__reading .wp-block-file a { font-weight: 700; }
.lp-privacy-policy-source { overflow-wrap: anywhere; }
.lp-privacy-policy-source p { white-space: normal; }
.lp-privacy-policy-source table { width: 100%; border-collapse: collapse; font-size: .88em; line-height: 1.4; }
.lp-privacy-policy-source caption { padding: 0 0 16px; font-size: 1.1em; font-weight: 700; text-align: left; }
.lp-privacy-policy-source th,
.lp-privacy-policy-source td { padding: 10px; border: 1px solid #738494; vertical-align: top; overflow-wrap: break-word; }
.lp-privacy-policy-source th { background: #eef1f3; text-align: left; }
.lp-privacy-policy-table-wrap { max-width: 100%; margin: 24px 0 40px; overflow-x: auto; }
.lp-privacy-policy-table-wrap:focus-visible { outline: 3px solid #b91e2c; outline-offset: 3px; }
@media (max-width: 47.999rem) {
	.lp-privacy-policy-source [aria-labelledby="privacy-appendix"] table { min-width: 640px; }
}

.lp-sitemap__groups { display: grid; width: min(100%, 1180px); gap: 44px; margin: 0 auto; }
.lp-sitemap__group { min-width: 0; }
.lp-sitemap__group h2 { margin: 0 0 20px; font-size: 28px; line-height: 1.2; }
.lp-sitemap__group ul { margin: 0; padding: 0; border-top: 1px solid rgba(0,40,70,.25); list-style: none; }
.lp-sitemap__group li { border-bottom: 1px solid rgba(0,40,70,.18); }
.lp-sitemap__group a { display: flex; min-height: 54px; align-items: center; padding: 10px 0; color: var(--lp-internal-blue); font-size: 18px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.lp-sitemap__group a:hover,
.lp-sitemap__group a:focus-visible { color: var(--lp-internal-red); }

.lp-not-found { background: var(--lp-internal-blue); color: #fff; }
.lp-not-found__inner { display: flex; min-height: 596px; flex-direction: column; align-items: center; padding: 58px var(--lp-static-gutter) 58px; text-align: center; }
.lp-not-found__code { margin: 0; font-size: 112px; font-weight: 700; letter-spacing: -.03em; line-height: .9; }
.lp-not-found h1 { margin: 44px 0 0; font-size: 34px; font-weight: 700; line-height: 1.1; }
.lp-not-found__copy { max-width: 560px; margin: 36px 0 0; font-size: 18px; line-height: 1.45; }
.lp-not-found__actions { display: grid; width: min(100%, 358px); gap: 16px; margin-top: 60px; }
.lp-not-found__action { display: flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.45); color: #fff; font-size: 17px; font-weight: 500; text-decoration: none; transition: background-color 170ms ease, border-color 170ms ease; }
.lp-not-found__action--primary { min-height: 52px; border-color: var(--lp-internal-red); background: var(--lp-internal-red); font-weight: 700; }
.lp-not-found__action:hover,
.lp-not-found__action:focus-visible { border-color: #fff; background: rgba(255,255,255,.1); }
.lp-not-found__action--primary:hover,
.lp-not-found__action--primary:focus-visible { background: #a81927; }
.lp-not-found__action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (min-width: 64rem) {
	.lp-textual { --lp-static-gutter: clamp(48px, 3.333vw, 64px); }
	.lp-textual__hero-inner { min-height: 230px; }
	.lp-textual__hero h1 { font-size: 56px; }
	.lp-textual__content { padding-top: 96px; padding-bottom: 80px; }
	.lp-textual__reading { font-size: 18px; line-height: 1.5; }
	.lp-textual__reading > p:first-child { font-size: 20px; }
	.lp-textual__reading > p:first-child::after { margin-top: 56px; margin-bottom: 64px; }
	.lp-textual__reading h2 { font-size: 34px; }
	.lp-textual__reading h3 { font-size: 24px; }
	.lp-sitemap__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
	.lp-sitemap__group h2 { font-size: 34px; }
	.lp-not-found__inner { min-height: 592px; padding-top: 62px; }
	.lp-not-found__code { font-size: 180px; }
	.lp-not-found h1 { margin-top: 26px; font-size: 44px; }
	.lp-not-found__copy { margin-top: 24px; font-size: 20px; }
	.lp-not-found__actions { width: 240px; margin-top: 54px; }
	.lp-not-found__action { min-height: 56px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.lp-not-found__action { transition: none; }
}


/* Permanent accreditation-rules page: source wording is repository-managed. */
.lp-accreditation-rules-source { overflow-wrap: anywhere; }
.lp-accreditation-rules__document-title { margin: 0 0 12px !important; font-size: 24px !important; font-weight: 800 !important; line-height: 1.2 !important; text-align: center; }
.lp-accreditation-rules__document-title::after { display: none !important; }
.lp-accreditation-rules__subtitle { max-width: 720px; margin: 0 auto 56px !important; font-size: 18px; font-weight: 600; line-height: 1.45; text-align: center; }
.lp-accreditation-rules-source section + section { margin-top: 54px; }
.lp-accreditation-rules-source section h2 { margin-top: 0; }
.lp-accreditation-rules-source section p { margin-bottom: 20px; }
.lp-accreditation-rules-source section ul { margin-top: -2px; margin-bottom: 28px; }
.lp-accreditation-rules-source section li { padding-left: 2px; }

@media (max-width: 47.999rem) {
	.lp-accreditation-rules__document-title { font-size: 22px !important; }
	.lp-accreditation-rules__subtitle { margin-bottom: 44px !important; font-size: 17px; text-align: left; }
	.lp-accreditation-rules-source section + section { margin-top: 44px; }
}
