/*
Theme Name: PathToLux
Theme URI: https://github.com/Herrge/Luxpath-wordpress
Author: PathToLux
Description: Thème de blocs éditorial pour le média-guide PathToLux.
Version: 0.1.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: objectif-luxembourg
*/

@font-face {
	font-family: "Newsreader";
	src: url("assets/fonts/Newsreader-Variable.ttf") format("truetype");
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("assets/fonts/PlusJakartaSans-Variable.ttf") format("truetype");
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
}

:root {
	--ol-cream: #fbf9f5;
	--ol-paper: #fbf9f5;
	--ol-forest: #164e43;
	--ol-forest-dark: #0f1b29;
	--ol-ochre: #a64d20;
	--ol-brick: #a64d20;
	--ol-ink: #0f1b29;
	--ol-muted: #53615e;
	--ol-line: #dddcd4;
	--ol-wash: #f0f0e7;
	--ol-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--ol-sans: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--ol-cream);
	color: var(--ol-ink);
	font-family: var(--ol-sans);
}

a {
	text-underline-offset: 0.2em;
}

.wp-site-blocks {
	min-height: 100vh;
}

.ol-site-header {
	border-bottom: 1px solid rgba(22, 61, 50, 0.12);
	border-bottom: 1px solid color-mix(in srgb, var(--ol-forest) 12%, transparent);
}

.ol-wordmark {
	letter-spacing: -0.04em;
	line-height: 0.95;
}

.ol-hero {
	padding: clamp(56px, 8vw, 112px) clamp(20px, 6vw, 88px) clamp(64px, 8vw, 116px);
	background: var(--ol-wash);
}

.ol-eyebrow {
	margin: 0 0 14px;
	color: var(--ol-forest);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 800;
}

.ol-card {
	border-top: 1px solid rgba(22, 61, 50, 0.24);
	border-top: 1px solid color-mix(in srgb, var(--ol-forest) 24%, transparent);
}

/* PathToLux editorial design system */
.wp-site-blocks {
	color: var(--ol-ink);
	font-family: var(--ol-sans);
}

.wp-site-blocks h1,
.wp-site-blocks h2,
.wp-site-blocks h3,
.wp-site-blocks h4,
.wp-site-blocks .wp-block-post-title {
	color: var(--ol-ink);
	font-family: var(--ol-serif);
	font-weight: 500;
	letter-spacing: -0.035em;
}

.wp-site-blocks a {
	text-underline-offset: 0.22em;
	text-decoration-thickness: 1px;
}

.wp-site-blocks a:focus-visible,
.wp-site-blocks button:focus-visible,
.wp-site-blocks summary:focus-visible,
.ol-article-content :is(h2, h3)[tabindex="-1"]:focus {
	outline: 3px solid var(--ol-ochre);
	outline-offset: 4px;
}

.ol-skip-link {
	position: absolute;
	z-index: 1000;
	left: 16px;
	top: 8px;
	margin: 0;
	transform: translateY(-160%);
}

.ol-skip-link:focus-within {
	transform: translateY(0);
}

.ol-skip-link a {
	display: inline-block;
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--ol-forest-dark);
	color: #fff;
}

.ol-site-header {
	position: relative;
	z-index: 10;
	padding: 19px clamp(20px, 6vw, 88px) !important;
	border-bottom: 1px solid var(--ol-line);
	background: var(--ol-cream);
}

.ol-site-header .wp-block-site-title a {
	color: var(--ol-forest);
	font-family: var(--ol-serif);
	font-size: clamp(1.65rem, 2vw, 2rem) !important;
	font-weight: 600;
	letter-spacing: -0.055em;
	text-decoration: none;
}

.ol-site-header .wp-block-navigation__container {
	gap: clamp(16px, 2.4vw, 34px);
}

.ol-site-header .wp-block-navigation-item__content {
	color: var(--ol-ink);
	font-size: 0.86rem;
	font-weight: 650;
	text-decoration: none;
}

.ol-site-header .wp-block-navigation-item__content:hover {
	color: var(--ol-forest);
	text-decoration: underline;
}

.ol-hero {
	padding-top: clamp(52px, 7vw, 104px);
	padding-bottom: clamp(56px, 7vw, 104px);
}

.ol-hero-grid {
	gap: clamp(36px, 6vw, 88px);
}

.ol-hero-copy {
	max-width: 650px;
}

.ol-hero-title {
	max-width: 12ch;
	margin: 0 0 22px;
	font-size: clamp(3rem, 5.4vw, 5.85rem);
	line-height: 0.99;
}

.ol-hero-deck {
	max-width: 49ch;
	margin: 0;
	color: var(--ol-muted);
	font-size: clamp(1.03rem, 1.45vw, 1.22rem);
	line-height: 1.72;
}

.ol-hero-actions {
	gap: 12px;
	margin-top: 30px;
}

.wp-block-button__link,
.ol-cta-button {
	min-height: 46px;
	padding: 13px 20px;
	border: 1px solid var(--ol-forest);
	border-radius: 8px;
	background: var(--ol-forest);
	color: #fff;
	font-family: var(--ol-sans);
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.wp-block-button__link:hover,
.ol-cta-button:hover {
	border-color: #103c34;
	background: #103c34;
	color: #fff;
}

.is-style-outline > .wp-block-button__link {
	border-color: var(--ol-line);
	background: transparent;
	color: var(--ol-ink);
}

.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--ol-forest);
	background: transparent;
	color: var(--ol-forest);
}

.ol-hero-guide-link {
	margin: 22px 0 0;
	font-size: 0.87rem;
	font-weight: 650;
}

.ol-hero-guide-link a {
	color: var(--ol-forest);
}

.ol-hero-photo {
	margin: 0;
}

.ol-hero-photo img {
	width: 100%;
	max-height: 660px;
	border-radius: 24px 24px 72px 24px;
	object-fit: cover;
	object-position: center;
}

.wp-element-caption,
.wp-block-post-featured-image figcaption {
	margin-top: 10px;
	color: var(--ol-muted);
	font-size: 0.73rem;
	line-height: 1.55;
}

.wp-element-caption a {
	color: inherit;
}

.ol-home-main {
	padding: 0 clamp(20px, 6vw, 88px) 88px;
}

.ol-intentions {
	padding: 42px 0 48px;
	border-bottom: 1px solid var(--ol-line);
}

.ol-intentions h2,
.ol-section-heading h2,
.ol-employer-invitation h2,
.ol-next-step h2,
.ol-article-next-step h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3.2vw, 2.8rem);
	line-height: 1.12;
}

.ol-intention-list {
	gap: 20px;
	margin: 24px 0 0;
}

.ol-intention-list .wp-block-column {
	border-top: 1px solid var(--ol-line);
}

.ol-intention-list p {
	margin: 0;
}

.ol-intention-list a {
	display: flex;
	min-height: 54px;
	align-items: center;
	justify-content: space-between;
	color: var(--ol-ink);
	font-size: 0.92rem;
	font-weight: 650;
	text-decoration: none;
}

.ol-intention-list a span {
	color: var(--ol-ochre);
	font-size: 1.1rem;
}

.ol-reading-section {
	padding: clamp(64px, 8vw, 104px) 0 72px;
}

.ol-section-heading {
	align-items: end;
	gap: 24px;
	margin-bottom: 34px;
}

.ol-section-heading h2 {
	max-width: 18ch;
}

.ol-section-note {
	max-width: 31ch;
	margin: 0;
	color: var(--ol-muted);
	font-size: 0.9rem;
}

.ol-reading-layout {
	gap: clamp(28px, 5vw, 68px);
}

.ol-featured-story {
	max-width: 100%;
}

.ol-reading-image {
	margin: 0 0 22px;
}

.ol-reading-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 22px;
	object-fit: cover;
}

.ol-story-category,
.ol-article-category {
	margin: 0 0 10px;
	color: var(--ol-ochre);
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.ol-article-category a {
	color: inherit;
}

.ol-featured-story .wp-block-post-title {
	max-width: 19ch;
	margin: 0 0 12px;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	line-height: 1.06;
}

.ol-featured-story .wp-block-post-title a,
.ol-reading-item .wp-block-post-title a,
.ol-related-item .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.ol-featured-story .wp-block-post-excerpt,
.ol-reading-item .wp-block-post-excerpt,
.ol-related-item .wp-block-post-excerpt {
	color: var(--ol-muted);
	font-size: 0.91rem;
	line-height: 1.7;
}

.ol-featured-story .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 4px;
	color: var(--ol-forest);
	font-weight: 700;
}

.ol-reading-list {
	padding: 4px 0 0 clamp(0px, 1.5vw, 20px);
}

.ol-reading-list > h3 {
	margin: 0 0 20px;
	font-family: var(--ol-sans);
	font-size: 0.83rem;
	font-weight: 750;
	letter-spacing: 0.04em;
}

.ol-reading-item {
	padding: 20px 0 17px;
	border-top: 1px solid var(--ol-line);
}

.ol-reading-item .wp-block-post-title {
	margin: 0 0 7px;
	font-size: clamp(1.23rem, 1.8vw, 1.55rem);
	line-height: 1.16;
}

.ol-reading-item .wp-block-post-excerpt {
	margin: 0;
}

.ol-reading-item .wp-block-post-excerpt__more-link {
	font-weight: 700;
}

.ol-empty-reading {
	padding: 30px;
	border: 1px solid var(--ol-line);
	border-radius: 16px;
	background: var(--ol-wash);
}

.ol-empty-reading h3 {
	margin: 0 0 12px;
	font-size: 1.8rem;
}

.ol-employer-invitation {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
	align-items: center;
	gap: 32px;
	margin: 12px auto 68px;
	padding: clamp(28px, 5vw, 56px);
	border-radius: 22px;
	background: var(--ol-wash);
}

.ol-employer-invitation > .wp-block-group {
	grid-column: 1;
}

.ol-employer-invitation .wp-block-buttons {
	grid-column: 2;
	grid-row: 1;
	justify-content: flex-end;
}

.ol-employer-invitation h2 {
	max-width: 17ch;
}

.ol-employer-invitation p:not(.ol-eyebrow) {
	max-width: 57ch;
	color: var(--ol-muted);
}

.ol-next-step {
	padding: 56px clamp(24px, 5vw, 64px);
	border: 1px solid var(--ol-line);
	border-radius: 20px;
	background: #fffdfa;
}

.ol-next-step h2 {
	max-width: 20ch;
}

.ol-next-step p:not(.ol-eyebrow) {
	max-width: 56ch;
	color: var(--ol-muted);
}

.ol-next-step .wp-block-buttons {
	margin-top: 22px;
}

.ol-site-footer {
	padding: 54px clamp(20px, 6vw, 88px) 26px !important;
	background: var(--ol-forest-dark);
	color: #f7f5ef;
}

.ol-site-footer .wp-block-site-title a,
.ol-site-footer .wp-block-navigation-item__content {
	color: #f7f5ef;
	text-decoration: none;
}

.ol-site-footer .wp-block-site-title a {
	font-family: var(--ol-serif);
	font-size: 1.85rem !important;
}

.ol-site-footer .wp-block-navigation__container {
	gap: 9px;
	align-items: flex-start;
}

.ol-site-footer .wp-block-navigation-item__content {
	font-size: 0.83rem;
}

.ol-site-footer .wp-block-heading {
	margin-bottom: 14px;
	color: #e5b18d;
	font-family: var(--ol-sans);
	font-size: 0.76rem !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ol-site-footer .wp-block-paragraph {
	color: #e2e4df;
}

.ol-site-footer .ol-footer-legal-links {
	margin: 30px 0 0;
	color: #e2e4df;
	font-size: 0.75rem;
	line-height: 1.7;
	text-align: center;
}

.ol-site-footer .ol-footer-legal-links a {
	color: #f7f5ef;
	text-underline-offset: 0.18em;
}

.ol-site-footer .wp-block-navigation-item__content:hover {
	text-decoration: underline;
}

.ol-article-main {
	padding: 32px clamp(20px, 6vw, 88px) 88px;
}

.ol-article-header {
	max-width: 900px;
	margin: 0 auto;
}

.ol-breadcrumb {
	margin: 0 0 32px;
	color: var(--ol-muted);
	font-size: 0.79rem;
}

.ol-breadcrumb a {
	color: var(--ol-muted);
}

.ol-article-title {
	max-width: 19ch;
	margin: 0;
	font-size: clamp(2.8rem, 6.2vw, 5.5rem);
	line-height: 1;
}

.ol-article-deck {
	max-width: 67ch;
	margin: 22px 0 0;
	color: var(--ol-muted);
	font-size: clamp(1.08rem, 1.8vw, 1.35rem);
	line-height: 1.7;
}

.ol-article-meta {
	display: flex;
	gap: 7px 18px;
	margin: 20px 0 30px;
	color: var(--ol-muted);
	font-size: 0.79rem;
}

.ol-article-meta > * {
	margin: 0;
}

.ol-article-meta .wp-block-post-author-name::after {
	content: "·";
	margin-left: 18px;
}

.ol-article-featured-image {
	margin: 0;
}

.ol-article-featured-image img {
	width: 100%;
	max-height: 650px;
	border-radius: 22px;
	object-fit: cover;
}

.ol-article-layout {
	display: grid;
	grid-template-columns: minmax(190px, 240px) minmax(0, 760px);
	justify-content: center;
	align-items: start;
	gap: clamp(34px, 6vw, 88px);
	margin: 54px auto 0;
}

.ol-article-body {
	min-width: 0;
}

.ol-article-content {
	color: var(--ol-ink);
	font-size: 1.03rem;
	line-height: 1.82;
}

.ol-article-content > * {
	max-width: 100%;
}

.ol-article-content p {
	margin-block: 0 1.35em;
}

.ol-article-content h2 {
	margin: 2em 0 0.55em;
	font-size: clamp(1.85rem, 3vw, 2.55rem);
	line-height: 1.12;
}

.ol-article-content h3 {
	margin: 1.7em 0 0.5em;
	font-size: clamp(1.35rem, 2.4vw, 1.8rem);
	line-height: 1.2;
}

.ol-article-content :is(ul, ol) {
	padding-inline-start: 1.35em;
	margin-block: 0 1.5em;
}

.ol-article-content li {
	padding-inline-start: 0.25em;
	margin-block: 0.45em;
}

.ol-article-content blockquote,
.ol-article-content .wp-block-pullquote,
.ol-article-content .wp-block-group.is-style-callout {
	margin: 2rem 0;
	padding: 24px clamp(20px, 4vw, 36px);
	border-left: 3px solid var(--ol-ochre);
	border-radius: 0 16px 16px 0;
	background: var(--ol-wash);
}

.ol-article-content blockquote p:last-child {
	margin-bottom: 0;
}

.ol-article-content figure {
	margin: 2rem 0;
}

.ol-article-content figure img {
	max-width: 100%;
	border-radius: 18px;
}

.ol-article-content .wp-block-table {
	max-width: 100%;
	margin: 2rem 0;
	overflow-x: auto;
	border: 1px solid var(--ol-line);
	border-radius: 12px;
}

.ol-article-content .wp-block-table table {
	min-width: 840px;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.ol-article-content .wp-block-table :is(th, td) {
	padding: 12px 14px;
	border-color: var(--ol-line);
	vertical-align: top;
}

.ol-article-content .wp-block-table thead {
	background: var(--ol-wash);
}

.ol-article-toc {
	position: sticky;
	top: 28px;
	min-width: 0;
}

.ol-article-toc[aria-hidden="true"] {
	display: none;
}

.ol-article-toc[aria-hidden="true"] + .ol-article-body {
	grid-column: 1 / -1;
	max-width: 760px;
	width: 100%;
	justify-self: center;
}

.ol-toc-details {
	padding: 17px 18px 18px;
	border: 1px solid var(--ol-line);
	border-radius: 14px;
	background: #fffdfa;
}

.ol-toc-details summary {
	color: var(--ol-ink);
	cursor: pointer;
	font-size: 0.84rem;
	font-weight: 750;
}

.ol-toc-list {
	display: grid;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ol-toc-list a {
	color: var(--ol-muted);
	font-size: 0.78rem;
	line-height: 1.5;
	text-decoration: none;
}

.ol-toc-list a:hover {
	color: var(--ol-forest);
	text-decoration: underline;
}

.ol-toc-subitem {
	padding-left: 12px;
}

.ol-article-next-step {
	margin: 64px auto 0;
	padding: clamp(28px, 5vw, 48px);
	border-radius: 20px;
	background: var(--ol-wash);
}

.ol-article-next-step h2 {
	margin: 0;
}

.ol-related-query {
	margin-top: 28px;
}

.ol-related-item {
	padding-top: 20px;
	border-top: 1px solid var(--ol-line);
}

.ol-related-item .wp-block-post-title {
	font-size: 1.45rem;
	line-height: 1.17;
}

.ol-article-tags a {
	display: inline-block;
	margin: 0 8px 8px 0;
	padding: 5px 10px;
	border: 1px solid var(--ol-line);
	border-radius: 999px;
	color: var(--ol-muted);
	font-size: 0.75rem;
	text-decoration: none;
}

@media (max-width: 900px) {
	.ol-hero-grid {
		gap: 32px;
	}

	.ol-hero-copy,
	.ol-hero-visual {
		flex-basis: 50% !important;
	}

	.ol-article-layout {
		grid-template-columns: minmax(0, 760px);
		gap: 24px;
		margin-top: 38px;
	}

	.ol-article-body,
	.ol-article-content {
		width: 100%;
		max-width: 100%;
	}

	.ol-article-toc {
		position: static;
		grid-row: 1;
	}

	.ol-employer-invitation {
		grid-template-columns: minmax(0, 1fr);
	}

	.ol-employer-invitation .wp-block-buttons {
		grid-column: 1;
		grid-row: auto;
		justify-content: flex-start;
	}
}

@media (max-width: 782px) {
	.ol-site-header {
		padding-block: 16px !important;
	}

	.ol-site-header .wp-block-navigation__responsive-container-open {
		min-height: 44px;
		gap: 8px;
		padding: 8px 10px;
		border: 1px solid var(--ol-line);
		border-radius: 8px;
		color: var(--ol-ink);
	}

	.ol-site-header .wp-block-navigation__responsive-container-open::after {
		content: "Menu";
		font-family: var(--ol-sans);
		font-size: 0.84rem;
		font-weight: 700;
	}

	.ol-site-header .wp-block-navigation__responsive-container-close {
		min-height: 44px;
		min-width: 44px;
		padding: 8px;
	}

	.ol-hero-grid {
		flex-direction: column;
		align-items: stretch;
	}

	.ol-hero-copy,
	.ol-hero-visual {
		flex-basis: auto !important;
	}

	.ol-hero-title {
		max-width: 11ch;
		font-size: clamp(2.8rem, 12vw, 4.6rem);
	}

	.ol-hero-photo img {
		max-height: 460px;
		aspect-ratio: 1.08 / 1;
		border-radius: 20px 20px 56px 20px;
	}

	.ol-hero-actions .wp-block-button {
		flex: 1 1 210px;
	}

	.ol-hero-actions .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.ol-intention-list {
		gap: 0;
	}

	.ol-intention-list .wp-block-column + .wp-block-column {
		margin-top: 0;
	}

	.ol-section-heading {
		align-items: flex-start;
	}

	.ol-reading-layout {
		gap: 30px;
	}

	.ol-reading-list {
		padding-left: 0;
	}

	.ol-article-main {
		padding-top: 24px;
	}

	.ol-article-title {
		font-size: clamp(2.5rem, 10vw, 4.3rem);
	}

	.ol-article-featured-image img {
		max-height: 460px;
		aspect-ratio: 4 / 3;
	}

	.ol-article-content {
		font-size: 1rem;
		line-height: 1.78;
	}

	.ol-article-next-step {
		margin-top: 42px;
	}

	.ol-footer-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (max-width: 520px) {
	.ol-home-main {
		padding-bottom: 60px;
	}

	.ol-hero {
		padding-inline: 20px;
	}

	.ol-hero-title {
		font-size: clamp(2.65rem, 13vw, 3.45rem);
	}

	.ol-hero-actions {
		align-items: stretch;
	}

	.ol-hero-actions .wp-block-button {
		flex-basis: 100%;
	}

	.ol-article-title {
		font-size: clamp(2.1rem, 9.5vw, 3.1rem);
	}

	.ol-employer-invitation {
		margin-bottom: 44px;
	}

	.ol-article-content .wp-block-table {
		width: calc(100vw - 40px);
		max-width: calc(100vw - 40px);
	}

	.ol-site-footer .ol-footer-columns {
		gap: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.ol-cta-button {
	border-radius: 8px;
}

.ol-site-footer a:focus-visible {
	outline-color: #f0caa6;
}

.ol-article-content :is(a, code, pre) {
	overflow-wrap: anywhere;
}

/* ==========================================================================
   Employer Frontend (WP-02D1)
   ========================================================================== */

.ol-employer-main {
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
}

.ol-employer-main a,
.ol-employer-main p {
	overflow-wrap: break-word;
}

/* Fluid responsive H1 with hyphenation (LEDGER-03) */
.ol-employer-main h1,
.ol-employer-main .wp-block-post-title {
	font-size: clamp(1.75rem, 4vw + 1rem, 2.75rem) !important;
	line-height: 1.15;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Featured Image / Employer Logo Constraint (LEDGER-04) */
.ol-employer-main .wp-block-post-featured-image {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
	overflow: hidden;
}

.ol-employer-main .wp-block-post-featured-image img {
	width: auto;
	max-width: 100%;
	max-height: 320px;
	object-fit: cover;
	object-position: center;
	border-radius: 4px;
}

/* Taxonomies & Badges (Semantic list + touch targets) */
.ol-employer-taxonomies {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	align-items: center;
}

.ol-taxonomy-item {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

.ol-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 32px;
	padding: 6px 12px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border-radius: 3px;
	box-sizing: border-box;
	max-width: 100%;
	overflow-wrap: break-word;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Accessible expanded touch target (min 44px) - interactive links only */
a.ol-badge::after {
	content: "";
	position: absolute;
	top: -6px;
	bottom: -6px;
	left: 0;
	right: 0;
}

.ol-badge:focus-visible {
	outline: 2px solid var(--ol-forest);
	outline-offset: 2px;
}

.ol-badge-sector {
	background: rgba(165, 79, 63, 0.12);
	background: color-mix(in srgb, var(--ol-brick) 12%, transparent);
	color: var(--ol-brick);
	border: 1px solid rgba(165, 79, 63, 0.30);
	border: 1px solid color-mix(in srgb, var(--ol-brick) 30%, transparent);
}

.ol-badge-sector:hover {
	background: rgba(165, 79, 63, 0.20);
	background: color-mix(in srgb, var(--ol-brick) 20%, transparent);
	color: var(--ol-brick);
}

.ol-badge-location {
	background: rgba(22, 61, 50, 0.10);
	background: color-mix(in srgb, var(--ol-forest) 10%, transparent);
	color: var(--ol-forest);
	border: 1px solid rgba(22, 61, 50, 0.25);
	border: 1px solid color-mix(in srgb, var(--ol-forest) 25%, transparent);
}

.ol-badge-location:hover {
	background: rgba(22, 61, 50, 0.18);
	background: color-mix(in srgb, var(--ol-forest) 18%, transparent);
}

.ol-badge-work-area {
	background: rgba(198, 144, 62, 0.14);
	background: color-mix(in srgb, var(--ol-ochre) 14%, transparent);
	color: #63430c;
	color: color-mix(in srgb, var(--ol-ochre) 75%, black);
	border: 1px solid rgba(198, 144, 62, 0.35);
	border: 1px solid color-mix(in srgb, var(--ol-ochre) 35%, transparent);
}

.ol-badge-work-area:hover {
	background: rgba(198, 144, 62, 0.24);
	background: color-mix(in srgb, var(--ol-ochre) 24%, transparent);
}

.ol-icon-pin {
	flex-shrink: 0;
}

/* Action Hierarchy (Primary Careers vs Secondary Corporate Website) */
.ol-employer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 28px 0;
	align-items: center;
}

.ol-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 12px 22px;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	border-radius: 0;
	box-sizing: border-box;
	max-width: 100%;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ol-cta-button:focus-visible {
	outline: 2px solid var(--ol-forest);
	outline-offset: 3px;
}

.ol-cta-primary {
	background-color: var(--ol-forest);
	color: var(--ol-paper) !important;
	border: 2px solid var(--ol-forest);
}

.ol-cta-primary:hover {
	background-color: var(--ol-forest-dark);
	border-color: var(--ol-forest-dark);
	color: #ffffff !important;
}

.ol-cta-secondary {
	background-color: transparent;
	color: var(--ol-forest) !important;
	border: 2px solid rgba(22, 61, 50, 0.45);
	border: 2px solid color-mix(in srgb, var(--ol-forest) 45%, transparent);
}

.ol-cta-secondary:hover {
	border-color: var(--ol-forest);
	background-color: rgba(22, 61, 50, 0.08);
	background-color: color-mix(in srgb, var(--ol-forest) 8%, transparent);
	color: var(--ol-forest) !important;
}

.ol-icon-external {
	flex-shrink: 0;
	opacity: 0.85;
}

.ol-cta-button:hover .ol-icon-external {
	opacity: 1;
}

/* Provenance & Verification (Restrained Secondary Block) */
.ol-employer-provenance,
.ol-job-provenance {
	margin: 40px 0 24px;
	padding: 18px 24px;
	background: var(--ol-paper);
	border: 1px solid rgba(22, 61, 50, 0.18);
	border: 1px solid color-mix(in srgb, var(--ol-forest) 18%, transparent);
	border-left: 4px solid var(--ol-forest);
	border-inline-start: 4px solid var(--ol-forest);
	border-radius: 2px;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #1a3830;
	color: color-mix(in srgb, var(--ol-forest) 85%, black);
}

/* ==========================================================================
   Job Frontend (WP-02D2)
   ========================================================================== */

.ol-job-main {
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
}

.ol-job-main a,
.ol-job-main p {
	overflow-wrap: break-word;
}

/* Fluid responsive H1 with hyphenation (LEDGER-03) */
.ol-job-main h1,
.ol-job-main .wp-block-post-title {
	font-size: clamp(1.75rem, 4vw + 1rem, 2.75rem) !important;
	line-height: 1.15;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Linked Employer Identity */
.ol-job-employer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.0625rem;
	margin: 0 0 16px;
	color: var(--ol-forest);
	max-width: 100%;
	overflow-wrap: break-word;
}

.ol-job-employer .ol-icon-building {
	flex-shrink: 0;
	opacity: 0.85;
}

.ol-job-employer-label {
	font-weight: 600;
	color: var(--ol-forest-dark);
	margin-inline-end: 2px;
}

.ol-job-employer-link {
	color: var(--ol-forest);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.ol-job-employer-link:hover {
	color: var(--ol-forest-dark);
}

.ol-job-employer-link:focus-visible {
	outline: 2px solid var(--ol-forest);
	outline-offset: 2px;
}

.ol-job-employer-name {
	font-weight: 600;
	color: var(--ol-forest-dark);
}

/* Job Details Card */
.ol-job-details {
	margin: 16px 0 28px;
	padding: 18px 22px;
	background: var(--ol-paper);
	border: 1px solid rgba(22, 61, 50, 0.16);
	border: 1px solid color-mix(in srgb, var(--ol-forest) 16%, transparent);
	border-radius: 2px;
}

.ol-job-details-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ol-job-detail-item {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	font-size: 0.9375rem;
	line-height: 1.4;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ol-job-detail-label {
	font-weight: 600;
	color: var(--ol-forest-dark);
	margin-inline-end: 2px;
}

.ol-job-detail-value {
	color: var(--ol-forest);
	font-weight: 500;
}

.ol-job-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 2px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ol-status-active {
	background: rgba(22, 61, 50, 0.12);
	background: color-mix(in srgb, var(--ol-forest) 12%, transparent);
	color: var(--ol-forest);
	border: 1px solid rgba(22, 61, 50, 0.25);
	border: 1px solid color-mix(in srgb, var(--ol-forest) 25%, transparent);
}

.ol-status-expired,
.ol-status-withdrawn {
	background: rgba(165, 79, 63, 0.12);
	background: color-mix(in srgb, var(--ol-brick) 12%, transparent);
	color: var(--ol-brick);
	border: 1px solid rgba(165, 79, 63, 0.30);
	border: 1px solid color-mix(in srgb, var(--ol-brick) 30%, transparent);
}

/* Job Taxonomies & Actions */
.ol-job-taxonomies {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 8px;
	margin: 28px 0 20px;
	padding: 0;
	list-style: none;
	align-items: center;
}

.ol-job-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 28px 0;
	align-items: center;
}

.ol-provenance-badge {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 700;
	color: var(--ol-forest);
	margin-bottom: 8px;
}

.ol-icon-verified {
	color: var(--ol-forest);
	flex-shrink: 0;
	margin-top: 2px;
}

.ol-provenance-meta {
	margin: 0;
}

.ol-provenance-meta p {
	margin: 4px 0;
}

.ol-meta-label {
	font-weight: 600;
	color: var(--ol-forest-dark);
	margin-right: 4px;
	margin-inline-end: 4px;
}

.ol-meta-link {
	color: var(--ol-forest);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	word-break: break-all;
}

.ol-meta-link:hover {
	color: var(--ol-forest-dark);
}

.ol-meta-link:focus-visible {
	outline: 2px solid var(--ol-forest);
	outline-offset: 2px;
}

/* Screen reader accessible utility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Site Editor Placeholders (LEDGER-02) */
.ol-editor-placeholder {
	opacity: 0.88;
	outline: 1px dashed rgba(22, 61, 50, 0.35);
	outline-offset: 4px;
}

/* Responsive Narrow Viewport Adjustments (down to 320px) */
@media (max-width: 640px) {
	.ol-employer-actions,
	.ol-job-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.ol-cta-button {
		width: 100%;
		max-width: 100%;
		justify-content: center;
		text-align: center;
		padding: 12px 16px;
	}

	.ol-employer-provenance,
	.ol-job-provenance {
		padding: 14px 16px;
		margin: 28px 0 20px;
	}

	.ol-employer-main .wp-block-post-featured-image img {
		max-height: 220px;
		width: auto;
		max-width: 100%;
	}

	.ol-job-details {
		padding: 14px 16px;
		margin: 14px 0 22px;
	}

	.ol-job-details-list {
		flex-direction: column;
		gap: 10px;
	}

	.ol-filter-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ol-filter-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ol-card-meta-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
}

/* ==========================================================================
   Public Archives & Simple Filters (WP-02D3)
   ========================================================================== */

.ol-archive-main {
	max-width: 100%;
}

.ol-archive-header {
	margin-bottom: 36px;
}

.ol-archive-title {
	font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem) !important;
	line-height: 1.1;
	margin: 0 0 16px;
	overflow-wrap: break-word;
	hyphens: auto;
}

.ol-archive-intro {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--ol-forest-dark);
	max-width: 720px;
	margin: 0;
}

/* Filter Form */
.ol-filter-section {
	background-color: var(--ol-paper);
	border: 1px solid rgba(22, 61, 50, 0.15);
	border: 1px solid color-mix(in srgb, var(--ol-forest) 15%, transparent);
	padding: 24px;
	margin-bottom: 40px;
}

.ol-filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px 16px;
	margin-bottom: 20px;
}

.ol-filter-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ol-filter-label {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--ol-forest-dark);
}

.ol-filter-input,
.ol-filter-select {
	min-height: 44px;
	padding: 8px 12px;
	font-size: 0.9375rem;
	font-family: inherit;
	color: var(--ol-forest);
	background-color: #ffffff;
	border: 1px solid rgba(22, 61, 50, 0.35);
	border: 1px solid color-mix(in srgb, var(--ol-forest) 35%, transparent);
	border-radius: 0;
	box-sizing: border-box;
	max-width: 100%;
}

.ol-filter-input:focus-visible,
.ol-filter-select:focus-visible {
	outline: 2px solid var(--ol-forest);
	outline-offset: 2px;
}

.ol-filter-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ol-filter-reset {
	text-decoration: none;
}

/* Card Grid & Archive Cards */
.ol-card-grid {
	display: flex;
	flex-direction: column;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
}

.ol-archive-card {
	background-color: var(--ol-paper);
	border-top: 2px solid var(--ol-forest);
	padding: 24px;
	box-sizing: border-box;
	transition: background-color 0.15s ease;
}

.ol-archive-card:hover {
	background-color: #ffffff;
}

.ol-card-title {
	font-size: clamp(1.25rem, 2.5vw, 1.625rem) !important;
	line-height: 1.25;
	margin: 0 0 10px;
	font-family: var(--wp--preset--font-family--serif, serif);
}

.ol-card-title-link {
	color: var(--ol-forest);
	text-decoration: none;
}

.ol-card-title-link:hover {
	text-decoration: underline;
}

.ol-card-title-link:focus-visible {
	outline: 2px solid var(--ol-forest);
	outline-offset: 2px;
}

.ol-card-excerpt {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--ol-forest-dark);
	margin: 0 0 14px;
}

.ol-card-employer {
	font-size: 1rem;
	font-weight: 600;
	color: var(--ol-forest-dark);
	margin: 0 0 12px;
}

.ol-employer-link {
	color: var(--ol-forest);
	text-decoration: underline;
}

.ol-card-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 14px;
}

.ol-badge-contract {
	background-color: rgba(22, 61, 50, 0.08);
	background-color: color-mix(in srgb, var(--ol-forest) 8%, transparent);
	color: var(--ol-forest-dark);
}

.ol-badge-work-mode {
	background-color: rgba(198, 144, 62, 0.15);
	background-color: color-mix(in srgb, var(--ol-ochre) 15%, transparent);
	color: var(--ol-forest-dark);
}

.ol-card-taxonomies {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}

.ol-card-footer {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(22, 61, 50, 0.10);
	border-top: 1px solid color-mix(in srgb, var(--ol-forest) 10%, transparent);
}

.ol-card-link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--ol-forest);
	text-decoration: none;
}

.ol-card-link-more:hover {
	text-decoration: underline;
}

.ol-card-link-more:focus-visible {
	outline: 2px solid var(--ol-forest);
	outline-offset: 2px;
}

/* Empty States */
.ol-archive-empty {
	background-color: var(--ol-paper);
	border: 1px dashed rgba(22, 61, 50, 0.30);
	border: 1px dashed color-mix(in srgb, var(--ol-forest) 30%, transparent);
	padding: 36px 24px;
	text-align: center;
	margin: 24px 0 40px;
}

.ol-empty-title {
	font-size: 1.375rem !important;
	font-weight: 600;
	color: var(--ol-forest-dark);
	margin: 0 0 12px;
}

.ol-empty-desc {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--ol-forest);
	max-width: 580px;
	margin: 0 auto 20px;
}

.ol-empty-action {
	margin: 0;
}

/* ==========================================================================
   Editorial Page Rendering (Minimum Publishable Launch)
   ========================================================================== */

.ol-article-main,
.ol-page-main {
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
	box-sizing: border-box;
}

.ol-page-title,
.ol-page-main h1 {
	font-size: clamp(1.75rem, 4vw + 0.5rem, 2.75rem) !important;
	line-height: 1.2;
	font-family: var(--wp--preset--font-family--serif, serif);
	color: var(--ol-forest);
	overflow-wrap: break-word;
	hyphens: auto;
	margin-top: 8px;
	margin-bottom: 16px;
}

.ol-page-content {
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--ol-forest);
	max-width: 100%;
}

.ol-page-content p {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.ol-page-content h2 {
	font-size: clamp(1.375rem, 2.5vw, 1.875rem) !important;
	line-height: 1.3;
	font-family: var(--wp--preset--font-family--serif, serif);
	color: var(--ol-forest);
	margin-top: 2.25em;
	margin-bottom: 0.75em;
}

.ol-page-content h3 {
	font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
	line-height: 1.35;
	font-family: var(--wp--preset--font-family--serif, serif);
	color: var(--ol-forest-dark);
	margin-top: 1.75em;
	margin-bottom: 0.5em;
}

.ol-page-content ul,
.ol-page-content ol {
	margin-top: 0;
	margin-bottom: 1.5em;
	padding-left: 1.75em;
}

.ol-page-content li {
	margin-bottom: 0.5em;
}

.ol-page-content blockquote {
	border-left: 4px solid var(--ol-ochre);
	padding: 12px 20px;
	margin: 2em 0;
	font-style: italic;
	color: var(--ol-forest-dark);
	background-color: var(--ol-paper);
}

.ol-page-content a {
	color: var(--ol-forest);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 600;
}

.ol-page-content a:hover {
	color: var(--ol-brick);
}

.ol-page-content a:focus-visible {
	outline: 2px solid var(--ol-forest);
	outline-offset: 2px;
}

.ol-page-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

/* Header & Footer navigation polish */
.ol-site-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 10px 14px;
	color: var(--ol-forest);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.ol-site-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--ol-brick);
	text-decoration: underline;
}

.ol-site-footer .wp-block-navigation .wp-block-navigation-item__content {
	padding: 8px 0;
	color: var(--ol-paper);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	min-height: 36px;
}

.ol-site-footer .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--ol-ochre);
	text-decoration: underline;
}

@media (max-width: 768px) {
	.ol-footer-columns {
		flex-direction: column;
		gap: 32px;
	}
	.ol-footer-col-brand,
	.ol-footer-col-nav,
	.ol-footer-col-legal {
		flex-basis: 100% !important;
		width: 100% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
