/* Blog post — layout A "Reader". Scoped to main.clb. */
.clb {
	--clb-bg: #FFFFFF; --clb-soft: #F1F4F9; --clb-card: #FFFFFF; --clb-ink: #0B1A2E; --clb-body: #2B3546; --clb-muted: #566175;
	--clb-line: #E1E7F0; --clb-line2: #C9D3E2; --clb-blue: #1D63FF; --clb-blue-text: #1D55E0; --clb-blue-soft: #EEF4FF;
	--clb-navy: #0A1628; --clb-gold: #F6C85F;
	--clb-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--clb-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--clb-pad: clamp(20px, 5.6vw, 80px);
	display: block; background: var(--clb-bg); color: var(--clb-ink); font-family: var(--clb-text); font-size: 16px; line-height: 1.55;
}
html[data-ccl-theme="dark"] .clb {
	--clb-bg: #0B1220; --clb-soft: #0F192B; --clb-card: #111D35; --clb-ink: #E8EDF5; --clb-body: #C9D2DF; --clb-muted: #9AA6B8;
	--clb-line: #22304A; --clb-line2: #2A3A58; --clb-blue-text: #7DA4FF; --clb-blue-soft: #16223A;
}
.clb *, .clb *::before, .clb *::after { box-sizing: border-box; }
.clb h1, .clb h2, .clb h3, .clb p, .clb figure { margin: 0; }
.clb a { color: inherit; text-decoration: none; }
.clb a:focus-visible, .clb button:focus-visible { outline: 3px solid var(--clb-blue); outline-offset: 3px; border-radius: 6px; }
.clb-ic { flex: none; display: block; }
.clb-wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--clb-pad); box-sizing: content-box; }
.clb-col { max-width: 820px; margin: 0 auto; }

/* Header */
.clb-hero { padding: 28px 0 0; }
.clb-hero .clb-wrap { display: flex; flex-direction: column; gap: 40px; }
.clb-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--clb-muted); }
.clb-crumb a { color: var(--clb-muted); text-decoration: underline; text-underline-offset: 3px; }
.clb-crumb a:hover { color: var(--clb-ink); }
.clb-crumb .clb-ic { color: #8E9AAE; }
.clb-crumb span[aria-current] { color: var(--clb-ink); font-weight: 600; }
.clb-head { width: 100%; display: flex; flex-direction: column; gap: 22px; }
.clb-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.clb-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clb-blue-text); }
.clb-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--clb-muted); }
.clb-kicker a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--clb-muted); text-decoration: underline; text-underline-offset: 3px; }
.clb-kicker a:hover { color: var(--clb-ink); }
.clb h1 { font-family: var(--clb-display); font-size: clamp(34px, 4.2vw, 54px); font-weight: 900; line-height: 1.06; letter-spacing: -0.02em; color: var(--clb-ink); }
.clb-stand { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--clb-muted); }

.clb-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--clb-line); border-bottom: 1px solid var(--clb-line); }
.clb-by { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.clb-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; }
.clb-avatar--ini { display: flex; align-items: center; justify-content: center; background: var(--clb-gold); color: #0A1628; font-size: 16px; font-weight: 800; letter-spacing: 0.02em; }
.clb-by__who { display: flex; flex-direction: column; }
.clb-by__name { font-size: 16px; font-weight: 700; color: var(--clb-ink); }
a.clb-by__name { display: inline-block; padding: 10px 0; margin: -10px 0; }
a.clb-by__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.clb-by__role { font-size: 15px; color: var(--clb-muted); }
.clb-by__rule { width: 1px; height: 36px; background: var(--clb-line); margin: 0 8px; }
.clb-by__when { font-size: 15px; color: var(--clb-muted); }
.clb-share { position: relative; display: flex; align-items: center; gap: 10px; }
.clb-share a, .clb-share button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--clb-line2); background: transparent; color: var(--clb-ink); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.clb-share a:hover, .clb-share button:hover { border-color: var(--clb-blue); color: var(--clb-blue-text); }
.clb-copy .clb-ic + .clb-ic { display: none; }
.clb-copy.is-done .clb-ic { display: none; }
.clb-copy.is-done .clb-ic + .clb-ic { display: block; color: #1F7A4A; }
.clb-copied { position: absolute; right: 0; top: 100%; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--clb-muted); white-space: nowrap; }

/* Article */
.clb-main { padding: 48px 0 0; }
.clb-body { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.75; color: var(--clb-body); }
.clb-body > * { margin: 0 !important; }
.clb-body p, .clb-body li { font-size: 19px; line-height: 1.75; color: var(--clb-body); }
.clb-body p:empty { display: none; }
.clb-body a { color: var(--clb-blue-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.clb-body a:hover { text-decoration-thickness: 2px; }
.clb-body strong, .clb-body b { color: var(--clb-ink); }
.clb-body h2, .clb-body h3, .clb-body h4 { font-family: var(--clb-display); color: var(--clb-ink); line-height: 1.2; letter-spacing: -0.01em; }
.clb-body h2 { font-size: clamp(26px, 2.4vw, 30px); font-weight: 800; padding-top: 16px; }
.clb-body h3 { font-size: 23px; font-weight: 800; padding-top: 8px; }
.clb-body h4 { font-size: 20px; font-weight: 800; padding-top: 6px; }
.clb-body ul, .clb-body ol { padding-left: 26px; display: flex; flex-direction: column; gap: 8px; }
.clb-body li { padding-left: 6px; line-height: 1.6; }
.clb-body blockquote { margin: 6px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--clb-gold); }
.clb-body blockquote p { font-size: 21px; line-height: 1.6; font-weight: 600; color: var(--clb-ink); }
.clb-body sup { line-height: 0; }
/* Images inside the article run the full column width */
.clb-body img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.clb-body img.alignleft, .clb-body img.alignright, .clb-body img.aligncenter, .clb-body img.alignnone, .clb-body p > img, .clb-lead-img img { float: none !important; width: 100% !important; height: auto !important; margin: 4px 0 !important; aspect-ratio: auto; }
.clb-body .wp-caption { width: 100% !important; max-width: 100%; }
.clb-body .wp-caption-text, .clb-body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--clb-muted); }
.clb-lead-img { margin-bottom: 4px !important; }
.clb-body table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.clb-body th, .clb-body td { padding: 10px 12px; border-bottom: 1px solid var(--clb-line); text-align: left; vertical-align: top; }
.clb-body iframe, .clb-body video { max-width: 100%; border-radius: 12px; }

/* The lawyer card editors place inside the article (rebuilt in PHP as .clb-lawyer) */
.clb-lawyer { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; margin: 8px 0 !important; padding: 24px; border-radius: 18px; background: var(--clb-navy); color: #FFFFFF; }
.clb-lawyer .clb-avatar { border-radius: 50% !important; width: 72px; height: 72px; font-size: 22px; border: 3px solid rgba(255, 255, 255, 0.15); }
.clb-lawyer__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.clb-body .clb-lawyer__name { font-family: var(--clb-display); font-size: 21px; font-weight: 800; line-height: 1.2; color: #FFFFFF; }
.clb-body .clb-lawyer__title { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--clb-gold); }
.clb-body .clb-lawyer__areas { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.clb-body .clb-lawyer__areas li { margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; font-weight: 600; line-height: 1.4; color: #DCE3EE; }
.clb-lawyer__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; }
.clb-body .clb-lawyer .clb-btn { min-height: 46px; padding: 0 18px; font-size: 15.5px; text-decoration: none; }
.clb-btn--gold { background: var(--clb-gold); border-color: var(--clb-gold); color: #0A1628 !important; }
.clb-btn--gold:hover { background: #F0B93A; }
.clb-body .clb-lawyer .clb-link { color: #FFFFFF !important; text-decoration: none; }
.clb-body .clb-lawyer .clb-link:hover { text-decoration: underline; }

.clb-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px !important; border-top: 1px solid var(--clb-line); }
.clb-tags span { margin-right: 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clb-muted); }
.clb-body .clb-tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--clb-line2); font-size: 14px; font-weight: 600; color: var(--clb-ink); text-decoration: none; }
.clb-body .clb-tags a:hover { border-color: var(--clb-blue); }
.clb-body .clb-note { font-size: 14px; line-height: 1.55; color: var(--clb-muted); }

/* Author + talk */
.clb-end { padding: 48px 0 72px; }
.clb-end__stack { display: flex; flex-direction: column; gap: 20px; }
.clb-author { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 16px; border: 1px solid var(--clb-line); background: var(--clb-card); }
.clb-author .clb-avatar { width: 60px; height: 60px; font-size: 20px; }
.clb-author__text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.clb-author__label { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clb-muted); }
.clb-author__name { font-size: 19px; font-weight: 800; color: var(--clb-ink); }
.clb-author__role { font-size: 15.5px; color: var(--clb-muted); }
.clb-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; font-size: 15.5px; font-weight: 700; color: var(--clb-blue-text) !important; }
.clb-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.clb-talk { display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; padding: 32px 36px; border-radius: 18px; background: var(--clb-soft); border: 1px solid var(--clb-line); }
.clb-talk__text { display: flex; flex-direction: column; gap: 6px; }
.clb-talk__title { font-family: var(--clb-display); font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--clb-ink); }
.clb-talk__text p + p { font-size: 16.5px; color: var(--clb-muted); }
.clb-talk__btns { flex: none; display: flex; flex-wrap: wrap; gap: 10px; }
.clb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font-size: 16px; font-weight: 700; white-space: nowrap; }
.clb-btn--primary { background: var(--clb-blue); border-color: var(--clb-blue); color: #FFFFFF !important; }
.clb-btn--primary:hover { background: #1550D6; }
.clb-btn--ghost { border-color: var(--clb-line2); color: var(--clb-ink) !important; background: var(--clb-card); }
.clb-btn--ghost:hover { border-color: var(--clb-blue); }

/* Related */
.clb-rel { background: var(--clb-soft); padding: 72px 0 96px; }
.clb-rel .clb-wrap { display: flex; flex-direction: column; gap: 28px; }
.clb-rel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.clb-rel h2 { font-family: var(--clb-display); font-size: clamp(28px, 2.8vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; color: var(--clb-ink); }
.clb-rel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.clb-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 16px; background: var(--clb-card); border: 1px solid var(--clb-line); color: var(--clb-ink); transition: border-color .15s, transform .15s; }
.clb-card:hover { border-color: var(--clb-blue); transform: translateY(-2px); }
.clb-card__cat { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clb-blue-text); }
.clb-card__title { font-family: var(--clb-display); font-size: 21px; font-weight: 800; line-height: 1.25; }
.clb-card__ex { font-size: 15.5px; line-height: 1.55; color: var(--clb-muted); }
.clb-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 15px; font-weight: 700; color: var(--clb-blue-text); }

@media (max-width: 1000px) {
	.clb-rel__grid { grid-template-columns: 1fr; }
	.clb-talk { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
	.clb-hero { padding-top: 16px; }
	.clb-hero .clb-wrap { gap: 24px; }
	.clb-head { gap: 16px; }
	.clb-by__rule { display: none; }
	.clb-by__when { flex-basis: 100%; }
	.clb-meta { padding: 16px 0; }
	.clb-main { padding-top: 32px; }
	.clb-body, .clb-body p, .clb-body li { font-size: 18px; line-height: 1.7; }
	.clb-body img.alignleft, .clb-body img.alignright, .clb-body p > img { border-radius: 12px; }
	.clb-end { padding: 36px 0 48px; }
	.clb-author { flex-wrap: wrap; padding: 20px; }
	.clb-talk { padding: 24px 20px; }
	.clb-talk__btns, .clb-talk__btns .clb-btn { width: 100%; }
	.clb-rel { padding: 48px 0 56px; }
}
@media (prefers-reduced-motion: reduce) { .clb-card { transition: none; } .clb-card:hover { transform: none; } }
/* Image sitting at the start of a paragraph: keep a gap before the text */
.clb-body p > img, .clb-body p > img[class] { margin: 4px 0 22px !important; }
.clb-talk { flex-wrap: wrap; }
.clb-talk__text { flex: 1 1 360px; }
@media (max-width: 760px) {
	.clb-talk__text { flex: none; }
	.clb-author .clb-link { flex-basis: 100%; padding-left: 78px; }
}

/* Prose: reading rhythm */
.clb-body { gap: 0; }
.clb-body > * + * { margin-top: 24px !important; }
.clb-body > h2, .clb-body > h3, .clb-body > h4 { margin-top: 40px !important; }
.clb-body > h2 + *, .clb-body > h3 + *, .clb-body > h4 + * { margin-top: 12px !important; }
.clb-body p, .clb-body li { font-size: 19px; line-height: 1.8; color: var(--clb-body); letter-spacing: -0.003em; }
.clb-body > p:first-of-type { font-size: 21px; line-height: 1.65; color: var(--clb-ink); }
.clb-body a { text-decoration-color: rgba(29, 85, 224, 0.45); }
.clb-body a:hover { text-decoration-color: currentColor; }
.clb-body .wpil_keyword_link { font-weight: 600; }
.clb-body ul li::marker { color: var(--clb-blue-text); }
.clb-body ol li::marker { color: var(--clb-blue-text); font-weight: 700; }
.clb-body blockquote { margin-block: 8px !important; padding: 20px 24px; border-left: 4px solid var(--clb-gold); border-radius: 0 14px 14px 0; background: var(--clb-soft); }
.clb-fig { margin-block: 8px !important; }
.clb-fig img, .clb-body .clb-fig__img { display: block; width: 100% !important; height: auto !important; margin: 0 !important; border-radius: 16px; float: none !important; }
.clb-body .clb-cite { display: flex; flex-direction: column; gap: 4px; margin-top: 36px !important; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--clb-line); background: var(--clb-soft); font-size: 16px; line-height: 1.5; color: var(--clb-ink); }
.clb-body .clb-cite span { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clb-muted); font-style: normal; }
.clb-body .clb-tags { margin-top: 32px !important; }
.clb-body .clb-note { margin-top: 16px !important; }
@media (max-width: 760px) {
	.clb-body p, .clb-body li { font-size: 18px; line-height: 1.75; }
	.clb-body > p:first-of-type { font-size: 19px; }
	.clb-lawyer { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 20px; }
	.clb-lawyer .clb-avatar { width: 56px; height: 56px; font-size: 18px; }
	.clb-lawyer__btns { flex-direction: column; align-items: stretch; }
	.clb-body .clb-lawyer .clb-btn { width: 100%; }
}
.clb-body .clb-lawyer__areas { flex-direction: row; padding-left: 0; }
.clb-body .clb-lawyer__areas li { padding-left: 10px; }
.clb-body > .clb-fig { margin-top: 32px !important; margin-bottom: 8px !important; }
html[data-ccl-theme="dark"] .clb-lawyer { background: #13213D; border: 1px solid var(--clb-line2); }

/* The blog's existing Pictures choice also applies to article story pictures. */
.clb .blx-switch { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--clb-line2); background: transparent; color: var(--clb-ink); font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.clb .blx-switch:hover { border-color: var(--clb-blue); }
.clb .blx-switch:focus-visible { outline: 3px solid var(--clb-blue); outline-offset: 4px; }
.clb .blx-switch__track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--clb-line2); transition: background-color .15s; }
.clb .blx-switch__dot { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; transition: left .15s; }
.clb .blx-switch__st { font-weight: 500; color: var(--clb-muted); }
.clb .blx-st-on { display: none; }
html.blx-on .clb .blx-switch__track { background: var(--clb-blue); }
html.blx-on .clb .blx-switch__dot { left: 18px; }
html.blx-on .clb .blx-st-on { display: inline; }
html.blx-on .clb .blx-st-off { display: none; }
html:not(.blx-on) .clb .clb-story-img,
html:not(.blx-on) .clb-body figure:has(.clb-story-img) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .clb .blx-switch__track, .clb .blx-switch__dot { transition: none; }
}
