/* Page endings 242 (owner-approved mockup, 28 Oct 2026): B1 sources card, B2 author card, B3 related cards. */

/* ---------- Agency badge (shared) ---------- */
.x242-seal{display:inline-grid;place-items:center;flex:0 0 auto;width:60px;height:60px;border-radius:14px;background:#0F2A4A;color:#fff;font:800 17px/1 'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:.01em}
.x242-seal--ema{background:#0A2D84}
.x242-seal--mhra,.x242-seal--doj,.x242-seal--fr,.x242-seal--src{background:#2F3C4E}
.x242-seal--sm{width:44px;height:44px;border-radius:11px;font-size:13px}
.xg-src240__kicker .x242-seal{width:34px;height:34px;border-radius:9px;font-size:11px;margin-right:10px;vertical-align:middle}

/* ---------- B1 Sources card ---------- */
.xg-ri-v2-body .x242-sources{margin:3rem 0 0;padding:28px 30px;background:#fff;border:1px solid #DDE2E8;border-left:4px solid #0B8D96;border-radius:16px;box-shadow:none}
.xg-ri-v2-body .x242-sources h2{margin:0;font:800 24px/1.25 'Plus Jakarta Sans',sans-serif;color:#0F2A4A;letter-spacing:-.01em}
.xg-ri-v2-body .x242-sources .x242-sintro{margin:4px 0 18px;color:#4A5568;font-size:15px;line-height:1.5}
.x242-srow{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 0;border-top:1px solid #DDE2E8}
.x242-srow--sub{grid-template-columns:44px minmax(0,1fr) auto;padding:14px 0}
.xg-ri-v2-body .x242-srow p{margin:0}
.xg-ri-v2-body .x242-slab{font:600 13px/1.4 Inter,sans-serif;color:#0B8D96}
.xg-ri-v2-body .x242-stitle{margin:2px 0 4px;font:700 18px/1.35 'Plus Jakarta Sans',sans-serif;color:#0F2A4A}
.xg-ri-v2-body .x242-srow--sub .x242-stitle{font-size:16px}
.xg-ri-v2-body .x242-sfacts{font-size:14px;line-height:1.5;color:#4A5568}
.xg-ri-v2-body a.x242-sbtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:11px 18px;border-radius:10px;background:#0F2A4A;color:#fff;font:700 15px/1.2 Inter,sans-serif;text-decoration:none;white-space:nowrap;overflow-wrap:normal}
.xg-ri-v2-body a.x242-sbtn:hover,.xg-ri-v2-body a.x242-sbtn:focus-visible{background:#0A2D84;color:#fff}
.xg-ri-v2-body a.x242-sbtn--ghost{background:#fff;color:#0F2A4A;border:1px solid #B9C6D6}
.xg-ri-v2-body a.x242-sbtn--ghost:hover,.xg-ri-v2-body a.x242-sbtn--ghost:focus-visible{background:#F4F7FA;color:#0F2A4A}
.xg-ri-v2-body a.x242-sbtn:focus-visible{outline:3px solid #115DF6;outline-offset:2px}

/* ---------- B2 Author card ---------- */
.xg-authority-author[data-x242]{display:grid;grid-template-columns:76px minmax(0,1fr);gap:22px;align-items:start;margin:28px 0 0;padding:28px 30px;background:#fff;border:1px solid #DDE2E8;border-radius:16px;box-shadow:none}
.xg-authority-author[data-x242] .xg-team-mark{width:76px;height:76px;flex:none;border-radius:18px;border:1px solid #DDE2E8;background:#fff;box-shadow:0 6px 16px rgba(15,42,74,.06);display:grid;place-items:center;padding:0}
.xg-authority-author[data-x242] .xg-team-mark img{width:50px;height:50px;object-fit:contain;margin:0;border-radius:0;box-shadow:none;background:none}
.xg-authority-author[data-x242] .xg-author-kicker{margin:0;font:600 13px/1.4 Inter,sans-serif;color:#0B8D96;letter-spacing:0;text-transform:none}
.xg-authority-author[data-x242] .xg-author-kicker::after,.xg-authority-author[data-x242] .xg-author-kicker::before{display:none!important}
.xg-authority-author[data-x242] h2{margin:2px 0 8px;padding:0;border:0;font:800 24px/1.25 'Plus Jakarta Sans',sans-serif;color:#0F2A4A;letter-spacing:-.01em}
.xg-authority-author[data-x242] h2::before,.xg-authority-author[data-x242] h2::after{display:none!important}
.xg-authority-author[data-x242] p{margin:0 0 16px;color:#4A5568;font-size:16px;line-height:1.65}
.xg-authority-author[data-x242] .xg-author-proof{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:0;list-style:none}
.xg-authority-author[data-x242] .xg-author-proof li{display:inline-flex;align-items:center;gap:7px;margin:0;padding:7px 12px;border:1px solid #DDE2E8;border-radius:999px;background:#F4F7FA;font:600 13px/1.3 Inter,sans-serif;color:#0F2A4A}
.xg-authority-author[data-x242] .xg-author-proof li::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;background:#0B8D96 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.xg-authority-author[data-x242] .xg-team-link{font:700 15px/1.4 Inter,sans-serif;color:#115DF6;text-decoration:none}
.xg-authority-author[data-x242] .xg-team-link:hover,.xg-authority-author[data-x242] .xg-team-link:focus-visible{color:#0A2D84;text-decoration:underline;text-underline-offset:3px}

/* ---------- B3 Related analysis ---------- */
.x242-related{padding:clamp(2.75rem,5vw,4.5rem) 0;background:linear-gradient(180deg,#F4F7FA,#fff)}
.xg-editorial-end .x242-related{margin:2.5rem 0 0;padding:2.25rem 0 1rem;background:none}
.x242-relh{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 22px}
.x242-relh h2{margin:0;font:800 clamp(1.75rem,3vw,2.15rem)/1.15 'Plus Jakarta Sans',sans-serif;color:#0F2A4A;letter-spacing:-.02em}
.x242-relh h2::before,.x242-relh h2::after{display:none!important}
.x242-relh p{margin:6px 0 0;color:#4A5568;font-size:16px}
.x242-relh .xg-text-link{flex:none;white-space:nowrap}
.x242-grid{display:grid;gap:20px}
.x242-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.x242-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.x242-card{display:flex;flex-direction:column;margin:0;background:#fff;border:1px solid #DDE2E8;border-radius:14px;overflow:hidden;box-shadow:0 8px 22px rgba(15,42,74,.06);transition:box-shadow .15s ease,transform .15s ease}
.x242-card:hover{box-shadow:0 12px 28px rgba(15,42,74,.1);transform:translateY(-2px)}
.x242-cov{position:relative;aspect-ratio:16/9;background:#E9EEF4}
.x242-cov>a{display:block;width:100%;height:100%}
.x242-cov img{display:block;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.x242-tile{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;height:100%;padding:14px 16px;box-sizing:border-box;background:linear-gradient(135deg,#0F2A4A,#0A2D84);color:#fff}
.x242-tile span{font:700 15px/1.25 'Plus Jakarta Sans',sans-serif}
.x242-tile b{font:800 12px/1 'Plus Jakarta Sans',sans-serif;opacity:.7}
.x242-cb{padding:16px 18px 18px}
.x242-cb p{margin:0}
.x242-ctype{margin:0 0 4px!important;font:600 13px/1.4 Inter,sans-serif;color:#0B8D96}
.x242-card h3{margin:0 0 10px;font:700 17px/1.35 'Plus Jakarta Sans',sans-serif;letter-spacing:-.005em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.x242-card h3 a{color:#0F2A4A;text-decoration:none}
.x242-card h3 a::after{content:"";position:absolute;inset:0}
.x242-card{position:relative}
.x242-card h3 a:hover,.x242-card h3 a:focus-visible{color:#115DF6}
.x242-card h3 a:focus-visible{outline:none}
.x242-card:focus-within{outline:3px solid #115DF6;outline-offset:2px}
.x242-meta{font-size:13px;line-height:1.4;color:#4A5568}
/* Save: a bookmark on the cover. The button keeps its "Save" text for screen readers. */
.x242-save{position:absolute;right:10px;top:10px;z-index:2}
.x242-save button,.x242-save a{position:relative;display:grid!important;place-items:center;width:44px;height:44px;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;color:#0F2A4A!important;box-shadow:0 2px 8px rgba(0,0,0,.18)!important;font-size:0!important;line-height:0!important;cursor:pointer}
.x242-save button>*,.x242-save a>*{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.x242-save button::before,.x242-save a::before{content:"";width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2h8v12l-4-3-4 3z' fill='none' stroke='%230F2A4A' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.x242-save [aria-pressed="true"]::before,.x242-save .is-saved::before,.x242-save .xg190-save.is-active::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2h8v12l-4-3-4 3z' fill='%230B8D96' stroke='%230B8D96' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")}
.x242-save button:focus-visible,.x242-save a:focus-visible{outline:3px solid #115DF6!important;outline-offset:2px}

@media (max-width:1100px){.x242-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
	.xg-ri-v2-body .x242-sources{padding:20px 18px}
	.xg-ri-v2-body .x242-sources h2{font-size:20px}
	.x242-srow{grid-template-columns:48px minmax(0,1fr);gap:12px}
	.x242-srow .x242-seal{width:48px;height:48px;font-size:14px;border-radius:12px}
	.x242-srow--sub{grid-template-columns:40px minmax(0,1fr) auto}
	.x242-srow--sub .x242-seal{width:40px;height:40px;font-size:12px}
	.x242-srow:not(.x242-srow--sub) .x242-sbtn{grid-column:1/-1;justify-content:center}
	.xg-ri-v2-body .x242-stitle{font-size:16px}
	.xg-authority-author[data-x242]{grid-template-columns:1fr;gap:12px;padding:20px 18px}
	.xg-authority-author[data-x242] .xg-team-mark{width:56px;height:56px;border-radius:14px}
	.xg-authority-author[data-x242] .xg-team-mark img{width:36px;height:36px}
	.xg-authority-author[data-x242] h2{font-size:20px}
	.x242-relh{flex-direction:column;align-items:flex-start;gap:6px}
	.x242-relh .xg-text-link{white-space:normal}
	.x242-grid--4,.x242-grid--3{grid-template-columns:1fr;gap:12px}
	.x242-card{display:grid;grid-template-columns:116px minmax(0,1fr);gap:12px;padding:10px;border-radius:12px;box-shadow:none}
	.x242-card:hover{transform:none}
	.x242-cov{border-radius:8px;overflow:hidden;align-self:start}
	.x242-cb{padding:0}
	.x242-ctype{font-size:12px}
	.x242-card h3{font-size:15px;margin-bottom:4px}
	.x242-save{right:-2px;top:auto;bottom:-2px}
	.x242-save button,.x242-save a{background:transparent!important;box-shadow:none!important}
	.x242-save button::before,.x242-save a::before{width:30px;height:30px;border-radius:50%;background-color:rgba(255,255,255,.96);background-size:14px;box-shadow:0 1px 5px rgba(0,0,0,.2)}
	.x242-cov{overflow:visible}
	.x242-cov>a{border-radius:8px;overflow:hidden}
	.x242-tile{padding:8px}.x242-tile span{font-size:11px}.x242-tile b{display:none}
}
@media (prefers-reduced-motion:reduce){.x242-card,.x242-card:hover{transition:none;transform:none}}

/* 242 hardening: article and record prose styles (p, h2, ul, li) must not reach into these cards. */
.xg-authority-author[data-x242] p.xg-author-kicker{margin:0!important;color:#0B8D96!important;font:600 13px/1.4 Inter,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.xg-authority-author[data-x242] h2{margin:2px 0 8px!important;padding:0!important;border:0!important;font-size:24px!important;line-height:1.25!important;scroll-margin-top:7.5rem}
.xg-authority-author[data-x242] ul.xg-author-proof{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0 0 16px!important;padding:0!important;list-style:none!important}
.xg-authority-author[data-x242] ul.xg-author-proof li{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;margin:0!important;list-style:none!important}
.xg-authority-author[data-x242] ul.xg-author-proof li::marker{content:none}
.xg190-reg-record-single .xg190-prose--record .x242-sources h2,.xg-ri-v2-body .x242-sources h2{margin:0!important;padding:0!important;border:0!important;font-size:24px!important;line-height:1.25!important}
.xg-ri-v2-body .x242-sources h2::before,.xg-ri-v2-body .x242-sources h2::after{display:none!important}
.xg190-reg-record-single .xg190-prose--record .x242-sources p{color:inherit}
.xg190-reg-record-single .xg190-prose--record .x242-sources .x242-slab{color:#0B8D96}
.xg190-reg-record-single .xg190-prose--record .x242-sources .x242-stitle{color:#0F2A4A}
.xg190-reg-record-single .xg190-prose--record .x242-sources .x242-sfacts,.xg190-reg-record-single .xg190-prose--record .x242-sources .x242-sintro{color:#4A5568}
@media (max-width:760px){.xg-authority-author[data-x242] h2,.xg-ri-v2-body .x242-sources h2{font-size:20px!important}}

/* 242 review fixes (28 Oct 2026): rounded inset covers, labelled Save, link under the heading. */
.x242-card{padding:12px 12px 0}
.x242-cov{border-radius:10px;overflow:hidden}
.x242-cb{padding:14px 6px 12px}
.x242-relh{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px}
.x242-relh .xg-text-link{white-space:normal}
.x242-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.x242-cb{display:flex;flex-direction:column;flex:1}
.x242-card h3{flex:none}
.x242-foot .x242-save{position:relative;right:auto;top:auto;bottom:auto;left:auto;z-index:2;flex:none}
.x242-foot .x242-save button,.x242-foot .x242-save a{display:inline-flex!important;align-items:center;gap:6px;width:auto;height:auto;min-height:36px!important;padding:6px 12px!important;border:1px solid #B9C6D6!important;border-radius:999px!important;background:#fff!important;box-shadow:none!important;color:#0F2A4A!important;font:700 13px/1 Inter,sans-serif!important}
.x242-foot .x242-save button>*,.x242-foot .x242-save a>*{position:static!important;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap}
.x242-foot .x242-save button>[aria-hidden="true"],.x242-foot .x242-save a>[aria-hidden="true"]{display:none}
.x242-foot .x242-save button::before,.x242-foot .x242-save a::before{content:"";width:14px;height:14px;background-size:14px;background-color:transparent;box-shadow:none;border-radius:0}
.x242-foot .x242-save button:hover,.x242-foot .x242-save button:focus-visible{border-color:#0B8D96!important;color:#0B8D96!important}
@media (max-width:760px){
	.x242-card{padding:10px}
	.x242-cb{padding:0}
	.x242-foot .x242-save button{min-height:32px!important;padding:4px 10px!important}
}

/* W2 Record at a glance (cards mockup, 28 Oct 2026). */
.x247-glance{align-self:center;width:100%;max-width:520px;justify-self:end;padding:24px 24px 20px;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.x247-gtop{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.x247-seal{display:grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#fff;color:#0F2A4A;font:800 16px/1 'Plus Jakarta Sans',sans-serif}
.x247-pill{padding:5px 10px;border-radius:999px;background:rgba(216,116,77,.18);border:1px solid rgba(216,116,77,.55);color:#FFC9B0;font:700 12px/1.2 Inter,sans-serif}
.x247-glance p{margin:0}
.x247-glance .x247-firm{font:800 22px/1.25 'Plus Jakarta Sans',sans-serif;color:#fff}
.x247-glance .x247-prod{margin-top:2px;color:#C9D6E6;font-size:15px;line-height:1.45}
.x247-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:16px 0 18px;padding:14px 0 0;border-top:1px solid rgba(255,255,255,.16)}
.x247-facts dt{font:600 12px/1.3 Inter,sans-serif;color:#9FB2C8}
.x247-facts dd{margin:0;font:700 15px/1.35 Inter,sans-serif;color:#fff}
.x247-glance a.x247-btn{display:flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 14px;border-radius:11px;background:#D8744D;color:#fff;font:700 15px/1.25 Inter,sans-serif;text-align:center;text-decoration:none}
.x247-glance a.x247-btn:hover,.x247-glance a.x247-btn:focus-visible{background:#C2633E;color:#fff}
.x247-glance a.x247-btn:focus-visible{outline:3px solid #fff;outline-offset:2px}
.x247-glance .x247-sub{margin-top:8px;text-align:center;font-size:12.5px;color:#9FB2C8}
@media (max-width:1050px){.x247-glance{justify-self:stretch;max-width:none}}
@media (max-width:760px){.x247-glance{padding:20px 18px}.x247-facts{grid-template-columns:1fr 1fr}.x247-glance .x247-firm{font-size:19px}}

/* W3 author card: light teal ground. */
.xg-authority-author[data-x242]{background:linear-gradient(135deg,#EEF5F7,#F4F7FA)!important;border-color:#D3E3E8!important}
.xg-authority-author[data-x242] .xg-team-mark{border-color:#D3E3E8}
.xg-authority-author[data-x242] ul.xg-author-proof li{background:#fff!important;border-color:#D3E3E8!important}

/* W4 articles library grid. */
.x247-lib{margin:0 0 2rem}
/* 275: designed fallback when an item has no cover image (type icon, type, service; quiet line motif). */
.x275-tile{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 18%,rgba(132,212,0,.16) 0 18%,transparent 19%),repeating-radial-gradient(circle at 88% 18%,transparent 0 22px,rgba(255,255,255,.07) 22px 23px),linear-gradient(135deg,#0F2A4A,#0A2D84)}
.x275-tile__icon{position:absolute;top:14px;left:16px;width:30px;height:30px;fill:none;stroke:#84d400;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.x275-tile b{opacity:.85;font-weight:700}
/* 275: card type label in text-safe teal (5.1:1); the brand teal fails at this size. */
.x242-card .x242-ctype{color:#08747c}

/* 25 Nov 2026: on phones the long proof line ran ~26px past the screen edge; let each pill shrink and wrap. */
.xg-authority-author[data-x242] ul.xg-author-proof li{flex:0 1 auto!important;max-width:100%!important;white-space:normal!important;min-width:0!important}
