/*
 * Article 2026 Themer layout (Dev Build Plan 4.1). From mockups b-article-standard
 * and b-article-photo (r2.css "publisher" styles). Scoped to the layout's row
 * classes: js-article-headrow, js-article-wide, js-article-body, js-readnext-row.
 * Markup comes from the shortcodes in inc/article.php.
 *
 * November 2026 · Proprietary and Confidential · JobSync LLC
 */

/* ---- Head ------------------------------------------------------------------ */
.js-article-headrow .fl-row-content-wrap { padding-top: 36px; padding-bottom: 8px; }
.js-article-head { max-width: 760px; display: grid; gap: 18px; }
.js-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--js-muted); }
body .fl-builder-content .js-crumbs a { color: var(--js-muted); text-decoration: none; }
body .fl-builder-content .js-crumbs a:hover { color: var(--js-vivid); text-decoration: underline; }
.js-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-bottom: 12px; border-bottom: 3px solid var(--js-dark); font-size: 14.5px; font-weight: 600; }
.js-kicker span { color: var(--js-dark); font-weight: 800; }
body .fl-builder-content .js-kicker a { color: var(--js-vivid); text-decoration: none; }
body .fl-builder-content .js-kicker a:hover { text-decoration: underline; }
body .js-article-head h1 {
	margin: 0; color: var(--js-dark);
	font-family: var(--js-display); font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 800;
	font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); line-height: .96;
}
.js-standfirst { margin: 0; font-size: 1.35rem; line-height: 1.5; color: var(--js-ink); }
.js-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; color: var(--js-muted); padding-block: 14px; border-block: 1px solid var(--js-line); }
.js-who { display: flex; align-items: center; gap: 10px; color: var(--js-ink); }
.js-who b { font-weight: 700; }
.js-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--js-light); flex: none; }
.js-share { margin-left: auto; display: flex; gap: 14px; }
body .fl-builder-content .js-share a { color: var(--js-vivid); }
/* .js-specificity never matches; it lifts the rule above Global Styles' button selector (0,5,1), as in style.css */
body .fl-builder-content :is(button.js-copy-link, .js-specificity.js-specificity.js-specificity.js-specificity.js-specificity),
body .fl-builder-content :is(button.js-copy-link, .js-specificity.js-specificity.js-specificity.js-specificity.js-specificity):hover {
	font: inherit; color: var(--js-vivid); background: none; border: 0; padding: 0; min-height: 0; border-radius: 0;
	cursor: pointer; text-decoration: underline; text-underline-offset: 3px; box-shadow: none;
}

/* ---- Wide photo (photo-led) ------------------------------------------------- */
.js-article-wide .fl-row-content-wrap { padding-top: 8px; padding-bottom: 24px; }
.js-article-wide:not(:has(.js-feat-img)) { display: none; }

/* ---- Body grid: text 720, rail 320 ------------------------------------------ */
.js-article-body .fl-row-content-wrap { padding-top: 8px; padding-bottom: 72px; }
@media (min-width: 981px) {
	.js-article-body .fl-col-group { display: flex; justify-content: space-between; gap: 56px; }
	.js-article-body .fl-col-group::before, .js-article-body .fl-col-group::after { display: none; }
	body .js-article-body .js-article-main.fl-col { width: auto; flex: 0 1 720px; min-width: 0; }
	body .js-article-body .js-rail.fl-col { width: auto; flex: 0 0 320px; }
	.js-rail > .fl-col-content { position: sticky; top: 96px; }
	.js-rail > .fl-col-content.js-rail-static { position: static; }
}
.js-article-body .fl-module-content { margin: 0; }
.js-article-main .fl-module + .fl-module { margin-top: 22px; }
.js-rail .fl-module + .fl-module { margin-top: 24px; }
@media (max-width: 980px) {
	.js-rail { margin-top: 36px; }
	/* Stacked under the article, the jump links would only point back up; hide them. */
	.js-rail .js-waypoints-mod { display: none; }
}

/* Featured image slots: one ratio each (16:9 column, 21:9 wide) */
.js-feat-img { margin: 0; display: grid; gap: 8px; }
.js-feat-img img { width: 100%; height: auto; display: block; object-fit: cover; border-radius: 12px; background: var(--js-light); }
.js-r-16x9 img { aspect-ratio: 16 / 9; }
.js-r-21x9 img { aspect-ratio: 21 / 9; }
.js-feat-img figcaption { font-size: 14px; color: var(--js-muted); }

/* ---- Prose ------------------------------------------------------------------ */
.js-prose .fl-module-content { font-size: 1.125rem; line-height: 1.72; color: var(--js-ink); }
.js-prose .fl-module-content > * { margin-top: 0; margin-bottom: 22px; }
.js-prose .fl-module-content > p:first-child { font-size: 1.22rem; }
.js-prose .fl-module-content > p:first-child::first-letter {
	float: left; font-family: var(--js-display); font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 800;
	font-size: 5.6rem; line-height: .78; padding: 8px 12px 0 0; color: var(--js-dark);
}
body .js-prose h2 {
	font-family: var(--js-display); font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 800;
	font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.3rem); line-height: 1.05; color: var(--js-dark);
	margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--js-line);
	scroll-margin-top: 96px;
}
body .js-prose h3 { font-size: 1.3rem; line-height: 1.3; margin-top: 28px; color: var(--js-dark); }
.js-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.js-prose figure { margin: 6px 0 22px; display: grid; gap: 8px; }
.js-prose figcaption, .js-prose .wp-caption-text { font-size: 14px; color: var(--js-muted); }
.js-prose ul, .js-prose ol { padding-left: 1.3em; }
.js-prose li + li { margin-top: 6px; }
.js-prose blockquote {
	margin: 8px 0 22px; padding: 6px 0 6px 22px; border-left: 4px solid var(--js-yellow);
	font-size: 1.35rem; line-height: 1.45; color: var(--js-dark); font-weight: 600;
}
.js-prose blockquote p { margin: 0; }
.js-prose blockquote.pull {
	padding: 26px 0; border: 0; border-block: 3px solid var(--js-dark);
	font-family: var(--js-display); font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 800;
	font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.12; color: var(--js-vivid);
}
.js-prose .keydates { background: var(--js-wash); border-radius: 12px; padding: 20px 22px; }
.js-prose .keydates dl { margin: 10px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 16px; }
.js-prose .keydates dt { font-weight: 700; color: var(--js-dark); }
.js-prose .keydates dd { margin: 0; }

/* ---- Filed under, author box ----------------------------------------------- */
.js-filed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.js-filed > span { font-weight: 600; color: var(--js-dark); margin-right: 4px; }
body .fl-builder-content a.js-chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--js-line); background: #FFFFFF; color: var(--js-dark); font-size: .92rem; text-decoration: none; }
body .fl-builder-content a.js-chip:hover { border-color: var(--js-vivid); color: var(--js-vivid); }
.js-author-box { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--js-line); padding-top: 24px; margin-top: 24px; }
.js-author-box .js-avatar { width: 64px; height: 64px; }
.js-author-box > div { display: grid; gap: 6px; }
.js-author-box b { color: var(--js-dark); }
.js-author-box p { margin: 0; color: var(--js-muted); }
body .fl-builder-content a.js-link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--js-vivid); }
body .fl-builder-content a.js-link-arrow::after { content: " \2192"; }

/* ---- Rail -------------------------------------------------------------------- */
.js-waypoints { border-left: 3px solid var(--js-dark); padding-left: 18px; display: grid; gap: 4px; }
.js-waypoints b { font-size: 1rem; color: var(--js-dark); margin-bottom: 4px; }
body .fl-builder-content .js-waypoints a { font-size: 15.5px; line-height: 1.4; text-decoration: none; padding: 5px 0; color: var(--js-ink); }
body .fl-builder-content .js-waypoints a:hover, body .fl-builder-content .js-waypoints a[aria-current] { color: var(--js-vivid); text-decoration: underline; }

/* Newsletter box: heading module + HubSpot form module read as one box */
.js-news-top .fl-module-content { border: 1px solid var(--js-line); border-bottom: 0; border-radius: 14px 14px 0 0; padding: 22px 22px 4px; background: #FFFFFF; }
.js-rail .fl-module.js-news-form { margin-top: 0; }
.js-news-form .fl-module-content { border: 1px solid var(--js-line); border-top: 0; border-radius: 0 0 14px 14px; padding: 0 22px 18px; background: #FFFFFF; }
body .js-news-top h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--js-dark); }
.js-news-top p { margin: 0; font-size: 15px; color: var(--js-muted); }

.js-guide-box { background: var(--js-dark); color: var(--js-on-dark); border-radius: 14px; padding: 22px; display: grid; gap: 10px; justify-items: start; }
.js-guide-box .js-label { font-size: .95rem; font-weight: 600; color: var(--js-yellow); }
body .js-guide-box h3 { margin: 0; color: #FFFFFF; font-size: 1.15rem; }
.js-guide-box p { margin: 0; font-size: 15px; }
body .js-guide-box a.js-btn {
	display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
	background: var(--js-yellow); color: var(--js-dark); border: 2px solid var(--js-yellow);
}
body .js-guide-box a.js-btn:hover { background: var(--js-yellow-hover); border-color: var(--js-yellow-hover); color: var(--js-dark); }

/* ---- Read next (dark band) --------------------------------------------------- */
.js-readnext-row .fl-row-content-wrap { background: var(--js-dark); padding-top: 56px; padding-bottom: 56px; }
.js-readnext { display: grid; gap: 24px; justify-items: start; color: var(--js-on-dark); }
body .js-readnext h2 { color: #FFFFFF; margin: 0; }
.js-rn-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
body .fl-builder-content .js-rn-row a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-content: start; border-top: 1px solid var(--js-dark-line); padding-top: 18px; text-decoration: none; color: var(--js-on-dark); }
.js-rn-n { grid-row: span 2; font-family: var(--js-display); font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 800; font-size: 3rem; line-height: .9; color: var(--js-yellow); }
.js-rn-type { color: var(--js-yellow); font-size: 15px; }
.js-rn-row a b { color: #FFFFFF; font-size: 1.12rem; line-height: 1.3; }
.js-rn-row a:hover b { text-decoration: underline; }
body .fl-builder-content .js-readnext a.js-link-arrow { color: var(--js-yellow); }
@media (max-width: 760px) { .js-rn-row { grid-template-columns: minmax(0, 1fr); } }

/* Phone */
@media (max-width: 600px) {
	.js-share { margin-left: 0; }
	.js-prose .fl-module-content > p:first-child::first-letter { font-size: 4.4rem; }
}

/* Claude: 2026-11-14 (mobile review). Share links and Copy link get a 40px tap area. */
body .fl-builder-content .js-share a { display: inline-flex; align-items: center; min-height: 40px; }
body .fl-builder-content :is(button.js-copy-link, .js-specificity.js-specificity.js-specificity.js-specificity.js-specificity) { display: inline-flex; align-items: center; min-height: 40px; }

/* ---- Legal pages in the article style (Claude: 2026-11-14, Page Alignment phase F) ----
   Built by tools/build/legal-blog-nov14.php: head (js-legal-head), text sections
   (js-prose js-legal-prose), rail with "On this page" and the legal documents list. */
.js-legal-body .js-article-main .fl-module + .fl-module { margin-top: 0; }
.js-legal-prose .fl-module-content { font-size: 1.0625rem; }
.js-legal-prose .fl-module-content > p:first-child { font-size: inherit; }
.js-legal-prose .fl-module-content > p:first-child::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
body .js-legal-prose h2 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); margin-top: 28px; }
body .js-legal-body .js-article-main > .fl-col-content > .fl-module:first-child .js-legal-prose h2,
body .js-legal-body .js-article-main > .fl-col-content > .fl-module.js-legal-prose:first-child h2 { margin-top: 0; border-top: 0; padding-top: 0; }
.js-legal-prose a { color: var(--js-vivid); }
.js-table-wrap { overflow-x: auto; margin: 6px 0 22px; border: 1px solid var(--js-line); border-radius: 12px; }
.js-table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.js-table-wrap th, .js-table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--js-line); }
.js-table-wrap thead th { background: var(--js-wash); color: var(--js-dark); font-weight: 700; }
.js-table-wrap tbody tr:last-child td { border-bottom: 0; }
/* Rail (Alex, Nov 14): documents list on top, this page's sections under it; the rail fits the
   window and the sections list scrolls inside it when the window is short. */
@media (min-width: 981px) {
	.js-legal-rail > .fl-col-content { display: flex; flex-direction: column; max-height: calc(100vh - 120px); }
	.js-legal-rail .fl-module.js-legal-docs-mod { flex: none; }
	.js-legal-rail .fl-module.js-legal-toc-mod { flex: 0 1 auto; min-height: 140px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
}
.js-legal-docs { display: grid; gap: 2px; border: 1px solid var(--js-line); border-radius: 14px; padding: 20px 22px; background: #FFFFFF; }
.js-legal-docs b { font-size: 1rem; color: var(--js-dark); margin-bottom: 6px; }
body .fl-builder-content .js-legal-docs a { font-size: 15.5px; line-height: 1.4; padding: 6px 0; color: var(--js-ink); text-decoration: none; }
body .fl-builder-content .js-legal-docs a:hover { color: var(--js-vivid); text-decoration: underline; }
body .fl-builder-content .js-legal-docs a[aria-current] { color: var(--js-vivid); font-weight: 700; }
