/* Single article (related articles at its foot: insights-entries.css) */

/* ---------- Head: way back, category and date, title, summary, lead picture ---------- */
.od-article__head { padding-top: clamp(132px, 118px + 3.6vw, 176px); background: var(--od-bg); }
.od-article__intro { display: flex; flex-direction: column; align-items: flex-start; max-width: 1100px; min-width: 0; margin-left: max(0px, calc((100% - 1100px - clamp(48px, 5vw, 80px)) / 2)); }
.od-article__intro > * { margin: 0; }
.od-article__back { margin-bottom: clamp(28px, 3.4vw, 44px); }
.od-article__back-link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--od-fs-b4); line-height: 1.6; font-weight: 500; color: var(--od-fg); text-decoration: none; }
.od-article__back-link::before { content: ""; flex: none; width: 1.3em; height: 1.3em; background: var(--od-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M17 11H5M9.5 6.5 5 11l4.5 4.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M17 11H5M9.5 6.5 5 11l4.5 4.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.od-article__back-link:hover, .od-article__back-link:focus-visible { color: var(--od-brand-text); }
.od-article__back-link:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 4px; }
.od-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; font-size: var(--od-fs-b5); line-height: 1.6; font-weight: 500; color: var(--od-fg-mute); }
.od-article__meta .od-tag { margin-right: 4px; border-width: 1.5px; line-height: 1.6; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.od-article__meta .od-tag:hover, .od-article__meta .od-tag:focus-visible { background: var(--od-brand-deep); border-color: var(--od-brand-deep); color: var(--od-white); }
.od-article__meta span { padding-left: 12px; border-left: 1px solid currentColor; line-height: 1.1; }
.od-article__title { font-size: var(--od-fs-h1); line-height: 1; font-weight: 600; letter-spacing: -0.05em; color: var(--od-black); text-wrap: balance; overflow-wrap: break-word; }
.od-article__title--long { font-size: clamp(34px, 20px + 3.6vw, 68px); line-height: 1.02; }
.od-article__excerpt { max-width: 26em; margin-top: clamp(18px, 2vw, 26px); font-size: var(--od-fs-b1); line-height: 1.34; font-weight: 500; letter-spacing: var(--od-track); color: var(--od-fg-soft); text-wrap: pretty; }
.od-article__author { margin-top: clamp(14px, 1.4vw, 20px); font-size: var(--od-fs-b4); line-height: 1.45; font-weight: 500; color: var(--od-fg-mute); }
.od-article__author a { color: var(--od-black); text-decoration: underline; text-decoration-color: var(--od-brand); text-underline-offset: 0.2em; }
.od-article__author a:hover, .od-article__author a:focus-visible { color: var(--od-brand-text); }
.od-article__writer { max-width: 34em; margin-bottom: clamp(32px, 3.4vw, 48px); padding-top: 16px; border-top: 1px solid var(--od-line); font-size: var(--od-fs-b5); line-height: 1.55; color: var(--od-fg-mute); text-wrap: pretty; }
.od-article__writer p + p { margin-top: 4px; }
.od-article__writer a { font-weight: 600; color: var(--od-black); text-decoration: underline; text-decoration-color: var(--od-brand); text-underline-offset: 0.2em; }
.od-article__writer a:hover, .od-article__writer a:focus-visible { color: var(--od-brand-text); }
.od-article__writer span { margin-left: 6px; }
.od-article__cover { position: relative; margin: clamp(40px, 4.6vw, 64px) 0 0; aspect-ratio: 2.3; overflow: hidden; background: var(--od-grey-40); }
.od-article__credit { margin-top: 10px; font-size: var(--od-fs-b5); line-height: 1.45; color: var(--od-fg-mute); }
.od-article__credit a { color: inherit; }
.od-article__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Body: share links, text, contents ---------- */
.od-article__body { --od-rail: 220px; --od-rail-gap: clamp(48px, 5vw, 80px); --od-text: 880px; display: grid; grid-template-columns: var(--od-rail) minmax(0, var(--od-text)); grid-template-rows: auto 1fr; column-gap: var(--od-rail-gap); justify-content: center; align-items: start; padding-top: clamp(56px, 6.4vw, 88px); padding-bottom: clamp(100px, 11vw, 160px); }
/* One rail on the left: share links, then the contents, which stay in view while the text is read */
.od-article__aside { grid-column: 1; grid-row: 1; min-width: 0; padding-bottom: 40px; }
.od-article__content { grid-column: 2; grid-row: 1 / span 2; }
.od-article__toc { grid-column: 1; grid-row: 2; position: sticky; top: calc(var(--od-header-h) + 32px); min-width: 0; max-height: calc(100vh - var(--od-header-h) - 64px); overflow-y: auto; scrollbar-width: none; }
.od-article__foot { grid-column: 2; grid-row: 3; }
.od-article__by { margin: 0; font-size: var(--od-fs-b5); line-height: 1.6; font-weight: 600; color: var(--od-black); }
.od-article__share ul { display: flex; flex-direction: row; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.od-article__share a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--od-grey-40); transition: background-color 0.2s; }
.od-article__share a:hover, .od-article__share a:focus-visible { background: var(--od-grey-50); }
.od-article__share a:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 2px; }
.od-article__share img { width: 20px; height: 20px; }

/* "On this page": the section being read carries the orange mark */
.od-article__toc ol { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.od-article__toc a { display: flex; font-size: var(--od-fs-b5); line-height: 1.35; font-weight: 500; color: var(--od-fg-mute); text-decoration: none; }
.od-article__toc a::before { content: ">"; flex: none; width: 0; overflow: hidden; font-family: var(--od-mono); font-weight: 500; letter-spacing: 0; color: var(--od-brand-text); }
.od-article__toc a:hover, .od-article__toc a[aria-current="true"] { color: var(--od-black); }
.od-article__toc a[aria-current="true"]::before { width: 0.62em; margin-right: 0.45em; }
.od-article__toc a:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 3px; }
.od-article__content h2 { scroll-margin-top: calc(var(--od-header-h) + 32px); }

/* ---------- Content written in the editor ---------- */
.od-article__content { min-width: 0; font-size: var(--od-fs-b2); line-height: 1.64; color: var(--od-grey-800); overflow-wrap: break-word; }
.od-article__content > * { margin-block: 0; }
.od-article__content > * + * { margin-top: 1.05em; }
.od-article__content > p.od-lead, .od-article__content > p:first-child { font-size: clamp(20px, 17.4px + 0.72vw, 26px); line-height: 1.4; font-weight: 500; letter-spacing: -0.025em; color: var(--od-black); }
.od-article__content h2 { margin-top: 2.2em; font-size: clamp(26px, 21px + 0.9vw, 34px); line-height: 1.12; font-weight: 600; letter-spacing: -0.04em; color: var(--od-black); text-wrap: balance; }
.od-article__content h3 { margin-top: 1.8em; font-size: var(--od-fs-b1); line-height: 1.3; font-weight: 600; color: var(--od-black); }
.od-article__content h4 { margin-top: 1.6em; font-size: var(--od-fs-b2); font-weight: 600; color: var(--od-black); }
.od-article__content h2 + * { margin-top: 1em; }
.od-article__content h3 + *, .od-article__content h4 + * { margin-top: 0.6em; }
.od-article__content strong { font-weight: 600; color: var(--od-black); }
.od-article__content a { color: var(--od-black); text-decoration: underline; text-decoration-color: var(--od-brand); text-underline-offset: 0.2em; transition: color 0.2s; }
.od-article__content a:hover { color: var(--od-brand-text); }
/* No single word alone on a last line */
.od-article__content p, .od-article__content li, .od-article__content h3, .od-article__content .rank-math-answer { text-wrap: pretty; }
/* Lists: an orange dash for each point, a figure for each step */
.od-article__content ul, .od-article__content ol { display: flex; flex-direction: column; gap: 0.5em; padding: 0; list-style: none; }
.od-article__content ul > li { position: relative; padding-left: 1.5em; }
.od-article__content ul > li::before { content: ">"; position: absolute; left: 0; top: 0; font-family: var(--od-mono); font-weight: 500; letter-spacing: 0; color: var(--od-brand-text); }
.od-article__content ol { counter-reset: od-step; }
.od-article__content ol > li { position: relative; padding-left: 1.9em; counter-increment: od-step; }
.od-article__content ol > li::before { content: counter(od-step) "."; position: absolute; left: 0; top: 0; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--od-brand-text); }
.od-article__content li > ul, .od-article__content li > ol { margin-top: 0.5em; }
/* A quotation, and a sentence of the article set large (the editor's Pullquote block) */
.od-article__content blockquote { margin-inline: 0; padding: 0 0 0 28px; border-left: 2px solid var(--od-brand); color: var(--od-black); }
.od-article__content blockquote > * { margin: 0; }
.od-article__content blockquote > * + * { margin-top: 0.6em; }
.od-article__content blockquote cite { display: block; margin-top: 10px; font-size: var(--od-fs-b4); font-style: normal; color: var(--od-fg-mute); }
.od-article__content .wp-block-pullquote { margin: 1.6em 0 1.5em; padding: 0; text-align: left; }
.od-article__content .wp-block-pullquote blockquote { position: relative; padding: 28px 0 0; border: 0; font-size: clamp(26px, 21px + 0.9vw, 33px); line-height: 1.22; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.od-article__content .wp-block-pullquote blockquote::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; color: var(--od-brand); background: var(--od-corner); }
.od-article__content .wp-block-pullquote cite { letter-spacing: 0; }
/* Pictures and their captions */
.od-article__content figure, .od-article__content > img { margin: 1.8em 0 0; }
.od-article__content figure + *, .od-article__content > img + * { margin-top: 1.7em; }
.od-article__content img { display: block; width: 100%; height: auto; background: var(--od-grey-40); }
.od-article__content figcaption { margin-top: 12px; font-size: var(--od-fs-b5); line-height: 1.45; color: var(--od-fg-mute); }
.od-article__content hr { margin-block: 2em; border: 0; border-top: 1px solid var(--od-line); }
.od-article__content table { width: 100%; border-collapse: collapse; font-size: var(--od-fs-b3); }
.od-article__content .wp-block-table { overflow-x: auto; }
.od-article__content th, .od-article__content td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--od-line); }
.od-article__content th { font-weight: 600; color: var(--od-black); }
.od-article__content code { padding: 2px 6px; font-size: 0.9em; background: var(--od-grey-40); }
.od-article__content pre { padding: 20px; overflow-x: auto; font-size: var(--od-fs-b4); background: var(--od-grey-40); }
.od-article__content pre code { padding: 0; background: none; }

/* Frequently asked questions */
.od-article__content .rank-math-block, .od-article__content .wp-block-rank-math-faq-block { border-bottom: 1px solid var(--od-line); }
.od-article__content .rank-math-list-item, .od-article__content .rank-math-faq-item { border-top: 1px solid var(--od-line); }
.od-article__content div.rank-math-list-item, .od-article__content .rank-math-faq-item { padding-block: 22px; }
.od-article__content .rank-math-question { margin: 0; font-size: var(--od-fs-b1); line-height: 1.3; font-weight: 600; letter-spacing: -0.03em; color: var(--od-black); transition: color 0.2s; }
.od-article__content .rank-math-answer { margin-top: 10px; }
.od-article__content .rank-math-answer > * { margin-block: 0; }
.od-article__content .rank-math-answer > * + * { margin-top: 12px; }
.od-article-faq__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.od-article-faq__q::-webkit-details-marker { display: none; }
.od-article-faq__q:hover .rank-math-question { color: var(--od-brand-text); }
.od-article-faq__q:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 4px; }
.od-article-faq__icon { position: relative; flex: none; width: 24px; height: 24px; margin-top: 3px; transition: transform 0.3s var(--od-ease); }
.od-article-faq__icon::before, .od-article-faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -0.75px; background: var(--od-brand); }
.od-article-faq__icon::after { transform: rotate(90deg); }
.od-article-faq__item[open]:not(.is-closing) .od-article-faq__icon { transform: rotate(45deg); }
.od-article__content .od-article-faq__item .rank-math-answer { margin-top: 0; padding: 0 48px 22px 0; }

/* ---------- Foot: the related service, previous and next ---------- */
.od-article__foot { display: flex; flex-direction: column; gap: clamp(40px, 4.6vw, 60px); margin-top: clamp(64px, 7vw, 96px); }
.od-article__service { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding: 26px 0; border-top: 1px solid var(--od-line); border-bottom: 1px solid var(--od-line); }
.od-article__service .od-article__by { font-weight: 500; color: var(--od-fg-mute); }
.od-article__service .od-btn { font-weight: 600; letter-spacing: -0.035em; white-space: normal; }
.od-article-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 56px); }
.od-article-nav__link { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; color: var(--od-black); text-decoration: none; }
.od-article-nav__link--next { align-items: flex-end; text-align: right; }
.od-article-nav__word { display: inline-flex; align-items: center; gap: 8px; font-size: var(--od-fs-b5); line-height: 1.6; font-weight: 500; color: var(--od-fg-mute); }
.od-article-nav__word::before, .od-article-nav__link--next .od-article-nav__word::after { content: ""; flex: none; width: 1.4em; height: 1.4em; background: var(--od-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M17 11H5M9.5 6.5 5 11l4.5 4.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M17 11H5M9.5 6.5 5 11l4.5 4.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.od-article-nav__link--next .od-article-nav__word::before { content: none; }
.od-article-nav__link--next .od-article-nav__word::after { transform: scaleX(-1); }
.od-article-nav__title { max-width: 18em; font-size: var(--od-fs-b2); line-height: 1.25; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.od-article-nav__link:hover .od-article-nav__title, .od-article-nav__link:focus-visible .od-article-nav__title { color: var(--od-brand-text); }
.od-article-nav__link:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 8px; }

/* ---------- More articles ---------- */
.od-article-more { padding-top: 0; padding-bottom: clamp(120px, 14vw, 200px); }
.od-article-more__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(40px, 4.6vw, 64px); padding-top: 28px; border-top: 1px solid var(--od-line); }
.od-article-more__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.od-article-more__row p { margin: 0; font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
	.od-article__back-link::before, .od-article-nav__word::before, .od-article-nav__word::after { transition: translate 0.4s var(--od-ease); }
	.od-article__back-link:hover::before, .od-article-nav__link--prev:hover .od-article-nav__word::before { translate: -5px 0; }
	.od-article-nav__link--next:hover .od-article-nav__word::after { translate: 5px 0; }
	.od-article__toc a { transition: color 0.2s; }
	.od-article__toc a::before { transition: width 0.4s var(--od-ease), margin-right 0.4s var(--od-ease); }
}

/* The way in from a list (script: insights.js; the rule that allows it is printed in the head by inc/insights.php).
   Only the picture of the followed entry is shared. The page that is left fades out first; the picture grows from
   its place in the list into this lead picture, and the cut it had there gives way to the cut it has here while
   the frame moves fastest, so it rests sharp at both ends; this page then fades in and the title rises once the
   picture has passed. Reserved name: od-in-lead. These rules time every page change that ends on an article and
   is not skipped; today that is this one alone. */
@media (prefers-reduced-motion: no-preference) {
	.od-article__cover { view-transition-name: od-in-lead; }
	::view-transition-group(od-in-lead) { overflow: clip; animation-duration: 0.62s; animation-timing-function: cubic-bezier(0.4, 0, 0.1, 1); }
	::view-transition-old(od-in-lead), ::view-transition-new(od-in-lead) { height: 100%; object-fit: cover; mix-blend-mode: normal; }
	::view-transition-old(od-in-lead) { animation: none; opacity: 1; }
	::view-transition-new(od-in-lead) { animation: od-in-lead-in 0.62s linear both; }
	::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
	::view-transition-old(root) { animation: od-in-page-out 0.2s ease-out both; }
	::view-transition-new(root) { animation: od-in-page-in 0.36s ease-out 0.22s both; }
	html:active-view-transition .od-article__title { --od-delay: 400ms !important; }
}
@keyframes od-in-lead-in { 0%, 8% { opacity: 0; } 46%, 100% { opacity: 1; } }
@keyframes od-in-page-out { to { opacity: 0; } }
@keyframes od-in-page-in { from { opacity: 0; } }

/* ---------- Tablet: one column, the contents above the text, the share links below it ---------- */
@media (max-width: 1024px) {
	.od-article__intro { margin-left: 0; }
	.od-article__cover { aspect-ratio: 16 / 9; }
	.od-article__body { grid-template-columns: minmax(0, 1fr); max-width: calc(680px + 2 * var(--od-inset)); }
	.od-article__aside, .od-article__content, .od-article__toc, .od-article__foot { grid-column: 1; grid-row: auto; }
	.od-article__toc { position: static; max-height: none; margin-bottom: 44px; padding: 0 0 36px; overflow: visible; border-bottom: 1px solid var(--od-line); }
	.od-article__toc a { font-size: var(--od-fs-b4); }
	.od-article__aside { position: static; margin-top: 56px; padding: 0; }
	.od-article__share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
	.od-article__share ul { flex-direction: row; margin: 0; }
	.od-article__foot { margin-top: 48px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
	.od-article__head { padding-top: 116px; }
	.od-article__title, .od-article__title--long { font-size: clamp(34px, 9.4vw, 42px); line-height: 1.03; }
	.od-article__cover { aspect-ratio: 4 / 3; margin-inline: calc(var(--od-inset) * -1); }
	.od-article__content .od-article-faq__item .rank-math-answer { padding-right: 0; }
	.od-article__service { flex-direction: column; align-items: flex-start; }
	.od-article-nav__title { font-size: var(--od-fs-b3); }
}

/* ---------- Print: the article itself ---------- */
@media print {
	.od-article__head { padding-top: 0; }
	.od-article__back, .od-article__aside, .od-article__toc, .od-article__foot, .od-article-more { display: none; }
	.od-article__intro { margin-left: 0; }
	.od-article__cover { aspect-ratio: auto; max-height: 90mm; margin-top: 18pt; }
	.od-article__body { display: block; padding-block: 18pt 0; }
	.od-article__content { font-size: 11pt; color: #000; }
	.od-article__content h2, .od-article__content h3, .od-article-faq__item { break-after: avoid; break-inside: avoid; }
	.od-article__content a { text-decoration: none; }
	.od-article-faq__icon { display: none; }
}

/* Lead picture shown whole for one article whose picture carries text */
.postid-2788 .od-article__cover { aspect-ratio: 1.6; margin-inline: 0; }
.postid-2835 .od-article__cover { aspect-ratio: 3036 / 1350; margin-inline: 0; }

/* A slower read (8 November 2026). */
.od-article__cover { margin-top: clamp(56px, 7vw, 112px); }
.od-article__content > * + * { margin-top: 1.5em; }
.od-article__content h2 { margin-top: 3.2em; }
.od-article__content h3 { margin-top: 2.4em; }
