/* Article pages: Merriweather for the reading, Schibsted for everything around it. */

@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-latin-ext-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

.xc-article__cover .xc-cover { height: 240px; border-bottom: 1px solid var(--line); }
.xc-article__cover .xc-cover__mark { width: 110px; top: 22px; right: 20px; }
.xc-article__cover .xc-cover__name { font-size: 30px; }
.xc-article__cover .xc-pill { background: transparent; color: var(--red-text); padding: 0; height: auto; letter-spacing: 1.2px; font-size: 12px; }
.xc-article__image { margin: 0; }
.xc-article__image img { width: 100%; max-height: 520px; object-fit: cover; }

.xc-article__head { padding: 24px 20px 8px; margin: 0 auto; }
.xc-back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--text-2); margin-bottom: 18px; }
.xc-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.xc-article__title { font-family: var(--serif); font-weight: 700; font-size: 31px; line-height: 1.15; letter-spacing: -.4px; margin: 0 0 16px; text-wrap: balance; }
.xc-article__lede { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.6; color: var(--text-2); margin: 0 0 8px; }

.xc-article__layout { padding: 12px 20px 0; display: grid; gap: 20px; max-width: 760px; margin: 0 auto; }
.xc-article .xc-toc { margin-bottom: 8px; }

.xc-prose { font-family: var(--serif); font-size: 17px; line-height: 1.75; color: #E2E1DC; overflow-wrap: break-word; }
.xc-prose > * { margin: 0 0 1.15em; }
.xc-prose h2 { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -.2px; color: var(--text); margin: 1.9em 0 .7em; }
.xc-prose h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--text); margin: 1.6em 0 .6em; }
.xc-prose h4 { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .3px; text-transform: uppercase; color: var(--text); margin: 1.4em 0 .5em; }
.xc-prose a { color: var(--red-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.xc-prose a:hover { color: #FF8095; }
.xc-prose strong { color: var(--text); }
.xc-prose ul, .xc-prose ol { padding-left: 1.3em; }
.xc-prose li { margin-bottom: .5em; }
.xc-prose li::marker { color: var(--red-text); }
.xc-prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2em 0; }
.xc-prose img { border-radius: 14px; margin: 1.4em 0; }
.xc-prose figure { margin: 1.6em 0; }
.xc-prose figcaption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; }
.xc-prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; line-height: 1.5; display: block; overflow-x: auto; }
.xc-prose th, .xc-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.xc-prose th { color: var(--text); font-weight: 700; background: var(--surface); }
.xc-prose code { font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.xc-prose blockquote, .xc-prose .wp-block-quote { margin: 1.8em 0; padding: 20px 0; border-top: 2px solid var(--red); border-bottom: 1px solid var(--line-2); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--text); }
.xc-prose blockquote p:last-child { margin: 0; }
.xc-prose blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); }

/* Boxes carried over from the old site and the editor patterns */
.xc-prose .xc-highlight, .xc-prose .is-style-xc-highlight { border-radius: 16px; background: var(--wine); border: 1px solid #4A1424; padding: 18px 20px; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--text); }
.xc-prose .xc-info, .xc-prose .xc-callout, .xc-prose .is-style-xc-info { border-radius: 16px; background: var(--surface); border: 1px solid #26272F; padding: 18px 20px; font-family: var(--sans); font-size: 15px; line-height: 1.6; }
.xc-prose .xc-highlight > :last-child, .xc-prose .xc-info > :last-child, .xc-prose .xc-callout > :last-child { margin-bottom: 0; }
.xc-prose .xc-highlight h3, .xc-prose .xc-info h3, .xc-prose .xc-callout h3, .xc-prose .xc-highlight h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--red-text); margin: 0 0 8px; }
.xc-prose .is-style-xc-brief { border-radius: 20px; background: var(--surface); border: 1px solid #26272F; padding: 20px; font-family: var(--sans); font-size: 15px; line-height: 1.6; }
.xc-prose .is-style-xc-brief h2 { font-family: var(--sans); font-weight: 800; font-size: 22px; margin: 0 0 12px; }
.xc-prose .xc-sources, .xc-prose .is-style-xc-sources { border-radius: 16px; border: 1px solid var(--line-2); padding: 16px 18px; font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--muted); }
.xc-prose .xc-sources h2, .xc-prose .xc-sources h3, .xc-prose .is-style-xc-sources h2 { font-family: var(--sans); font-size: 15px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.xc-prose .xc-sources a { color: var(--text-2); }
.xc-prose .xc-timeline { border-left: 2px solid var(--line-3); padding-left: 20px; }
.xc-prose .xc-timeline-item { position: relative; margin-bottom: 1.2em; }
.xc-prose .xc-timeline-item::before { content: ""; position: absolute; left: -27px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.xc-prose .xc-timeline-year { font-family: var(--sans); font-weight: 800; font-size: 14px; color: var(--red-text); }
.xc-prose .xc-story { border-bottom: 1px solid var(--line); padding-bottom: 1em; }
.xc-prose .xc-button { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 14px; background: var(--red); color: #fff !important; font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none !important; }
.xc-prose .is-style-xc-pull { font-size: 22px; }
.xc-prose .xc-lang-note { font-family: var(--sans); font-size: 14px; color: var(--muted); border-radius: 12px; border: 1px solid var(--line-2); padding: 10px 14px; }

.xc-aboutbox { margin-top: 2.4em; border-radius: 16px; border: 1px solid var(--line-2); padding: 18px; font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--text-3); }
.xc-aboutbox p { margin: 0; }

@media (min-width: 900px) {
	.xc-article__cover .xc-cover { height: 380px; }
	.xc-article__cover .xc-cover__mark { width: 240px; top: 50%; transform: translateY(-50%); right: max(40px, calc((100vw - 1200px) / 2 + 40px)); }
	.xc-article__cover .xc-cover__title { left: max(40px, calc((100vw - 1200px) / 2 + 40px)); bottom: 40px; }
	.xc-article__cover .xc-pill { left: max(40px, calc((100vw - 1200px) / 2 + 40px)); top: 40px; }
	.xc-article__cover .xc-cover__name { font-size: 56px; }
	.xc-article__head { padding: 48px 40px 8px; max-width: 800px; }
	.xc-article__title { font-size: 44px; }
	.xc-article__lede { font-size: 20px; }
	.xc-article__layout { max-width: 1200px; grid-template-columns: 240px minmax(0, 720px); gap: 56px; padding: 24px 40px 0; justify-content: start; }
	.xc-article__layout:not(:has(.xc-toc)) { grid-template-columns: minmax(0, 720px); justify-content: center; }
	.xc-article:has(.xc-toc) .xc-article__head { max-width: 1200px; padding-left: 336px; }
	.xc-article__head > * { max-width: 720px; }
	.xc-article .xc-toc { position: sticky; top: calc(var(--header-h) + 24px); }
	.xc-prose { font-size: 18px; }
	.xc-prose h2 { font-size: 26px; }
}
