/* "In the media" (2026-11-25, redesigned the same day with the publishers' own logos).
   Homepage band (.mdpress, navy), /in-the-media (.prpage) and the shared card (.prc). One accent (logo blue), navy ink, Manrope. */
.mdpress, .prpage { --pr-ink: #0a2540; --pr-text: #33465b; --pr-muted: #5b6f85; --pr-blue: #0073ad; --pr-sky: #7cc4ea; --pr-line: #dfe8f0; --pr-mist: #f5f8fb; --pr-gold: #b7791f; }

/* ============ card ============ */
.prc { position: relative; display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--pr-line); border-radius: 22px; background: #fff; color: var(--pr-text) !important; text-decoration: none !important; overflow: hidden; box-shadow: 0 1px 2px rgba(10, 37, 64, .05); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.prc:hover { transform: translateY(-5px); border-color: rgba(0, 115, 173, .3); box-shadow: 0 34px 60px -36px rgba(10, 37, 64, .55); }
.prc:focus-visible { outline: 3px solid rgba(0, 115, 173, .45); outline-offset: 3px; }
.prc[hidden] { display: none !important; }

/* the "source plate": the publication's own logo on a quiet tinted strip */
.prc-plate { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 14px 24px; background: var(--pr-mist); border-bottom: 1px solid var(--pr-line); }
.prc-logo { display: block; height: 24px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; }
.prc-logo[data-pub="wild-asia"] { height: 40px; }
.prc-logo[data-pub="uiaa"] { height: 30px; }
.prc-logo[data-pub="helsingborgs-dagblad"] { height: 32px; }
.prc-logo[data-pub="svenska-dagbladet"] { height: 19px; }
.prc-logo[data-pub="yourstory"] { height: 18px; }
.prc-mast { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; font-style: italic; letter-spacing: -.01em; line-height: 1.15; color: var(--pr-ink); }
.prc-kind { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--pr-line); color: var(--pr-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.prc--award .prc-kind { border-color: #f1dcb2; background: #fff8ea; color: var(--pr-gold); }

.prc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef3f7; }
.prc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.prc:hover .prc-img img { transform: scale(1.04); }

.prc-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 4px; }
html body .prc .prc-title { margin: 0 !important; padding: 0 !important; font-family: var(--font-display, "Manrope", sans-serif) !important; font-size: 19px !important; font-weight: 800 !important; line-height: 1.3 !important; letter-spacing: -.02em !important; color: var(--pr-ink) !important; text-transform: none !important; transition: color .2s; }
.prc:hover .prc-title { color: var(--pr-blue) !important; }
.prc-en { margin-top: -4px; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--pr-muted); }
.prc-text { font-size: 14.5px; line-height: 1.62; font-weight: 500; color: var(--pr-text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.prc-pull { position: relative; padding: 2px 0 2px 16px; border-left: 3px solid var(--pr-blue); font-size: 15px; font-weight: 600; font-style: italic; line-height: 1.55; color: var(--pr-ink); }

.prc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: auto; padding: 18px 24px 22px; }
.prc-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; font-weight: 700; color: var(--pr-muted); }
.prc-meta > * + *::before { content: "·"; margin-right: 12px; color: #b6c4d2; }
.prc-cta { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; color: var(--pr-blue); }
.prc-cta svg { width: 13px; height: 13px; transition: transform .25s; }
.prc:hover .prc-cta svg { transform: translate(2px, -2px); }

/* quote layout */
.prc--quote .prc-body { gap: 14px; padding-top: 26px; }
.prc-qmark { width: 38px; height: 29px; fill: var(--pr-blue); opacity: .9; }
.prc-quote { font-family: var(--font-display, "Manrope", sans-serif); font-size: 21px; font-weight: 700; line-height: 1.42; letter-spacing: -.02em; color: var(--pr-ink); }
.prc-quote-orig { font-size: 13px; font-style: italic; line-height: 1.5; color: var(--pr-muted); }
.prc-quote-orig em { font-style: normal; white-space: nowrap; }
.prc-by { font-size: 14px; font-weight: 800; color: var(--pr-ink); }
.prc-src { font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--pr-muted); }

/* award without a quote, shown in a quote slot (homepage) */
.prc--award-hero .prc-body { padding-top: 26px; }
.prc--award-hero .prc-body::before { content: "\f559"; font-family: "Font Awesome 6 Free"; font-weight: 900; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff4d6, #f3d08a); color: #8a5a00; font-size: 22px; box-shadow: 0 10px 24px -12px rgba(183, 121, 31, .8); }
.prc--award-hero .prc-title { font-size: 22px !important; }

/* ============ homepage band ============ */
.mdpress { position: relative; isolation: isolate; padding: 108px 0 112px; overflow: hidden; color: #fff; font-family: var(--font-body, "Manrope", sans-serif);
    background: radial-gradient(70% 90% at 100% 0%, rgba(0, 128, 192, .35), rgba(0, 128, 192, 0) 60%), radial-gradient(60% 80% at 0% 100%, rgba(21, 128, 61, .16), rgba(21, 128, 61, 0) 60%), linear-gradient(180deg, #0a2540, #0b2a49); }
.mdpress::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.mdpress-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px 80px; align-items: end; }
.mdpress .mdx-kicker { color: var(--pr-sky) !important; }
.mdpress-head h2 { margin: 0 !important; padding: 0 !important; font-family: var(--font-display, "Manrope", sans-serif) !important; font-size: clamp(34px, 4vw, 54px) !important; font-weight: 800 !important; line-height: 1.04 !important; letter-spacing: -.035em !important; color: #fff !important; text-transform: none !important; }
.mdpress-head h2 span { color: var(--pr-sky); }
.mdpress-intro p { margin: 0 0 18px !important; font-size: 17px !important; line-height: 1.65 !important; font-weight: 500; color: rgba(255, 255, 255, .8) !important; }
.mdpress-all { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none !important; transition: background .2s, border-color .2s, color .2s; }
.mdpress-all:hover { background: #fff; border-color: #fff; color: var(--pr-ink) !important; }
.mdpress-all i { transition: transform .2s; }
.mdpress-all:hover i { transform: translateX(3px); }

/* logo rail: the publishers' own logos, in white, running slowly; pauses on hover; static under reduced motion */
.mdpress-rail { display: flex; margin: 56px 0 52px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mdpress-track { display: flex; flex-shrink: 0; align-items: center; gap: 0; margin: 0 !important; padding: 0 !important; list-style: none; animation: mdpress-run 42s linear infinite; }
.mdpress-rail:hover .mdpress-track { animation-play-state: paused; }
.mdpress-track li { display: flex !important; align-items: center; justify-content: center; height: 52px; padding: 0 44px; }
.mdpress-track img { display: block; height: 30px; width: auto; max-width: 190px; filter: brightness(0) invert(1); opacity: .72; transition: opacity .25s; }
.mdpress-track img[data-pub="wild-asia"] { height: 50px; }
.mdpress-track img[data-pub="uiaa"] { height: 38px; }
.mdpress-track img[data-pub="helsingborgs-dagblad"] { height: 40px; }
.mdpress-track img[data-pub="svenska-dagbladet"] { height: 24px; }
.mdpress-track img[data-pub="yourstory"] { height: 22px; }
.mdpress-track li:hover img { opacity: 1; }
.mdpress-track .prc-mast { color: #fff; opacity: .75; font-size: 22px; white-space: nowrap; }
@keyframes mdpress-run { to { transform: translateX(-100%); } }

/* featured cards: first one large */
.mdpress-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mdpress .prc { border-color: rgba(255, 255, 255, .08); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }
.mdpress .prc:hover { border-color: rgba(255, 255, 255, .5); }

/* ============ /in-the-media ============ */
.prpage { padding: 0 0 96px; background: #fff; font-family: var(--font-body, "Manrope", sans-serif); }
.prsec-title { display: flex; align-items: center; gap: 18px; margin: 0 0 28px !important; padding: 0 !important; font-family: var(--font-display, "Manrope", sans-serif) !important; font-size: clamp(24px, 2.4vw, 32px) !important; font-weight: 800 !important; letter-spacing: -.03em !important; color: var(--pr-ink) !important; text-transform: none !important; }
.prsec-title::after { content: ""; flex: 1; height: 1px; background: var(--pr-line); }

/* logo wall; lifted over the bottom of the page head where :has() works (the head gets room for it) */
.prwall { position: relative; z-index: 2; margin-top: 40px; padding: 10px; border: 1px solid var(--pr-line); border-radius: 26px; background: #fff; box-shadow: 0 40px 70px -46px rgba(10, 37, 64, .55); }
.prwall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; }
.prwall-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 112px; padding: 16px 14px 12px; border: 1px solid transparent; border-radius: 18px; background: none; cursor: pointer; font-family: inherit; transition: background .2s, border-color .2s, transform .2s; }
.prwall-item img { display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s; }
.prwall-item img[data-pub="wild-asia"] { height: 50px; }
.prwall-item img[data-pub="uiaa"] { height: 38px; }
.prwall-item img[data-pub="helsingborgs-dagblad"] { height: 40px; }
.prwall-item img[data-pub="svenska-dagbladet"] { height: 22px; }
.prwall-item img[data-pub="yourstory"] { height: 21px; }
.prwall-item small { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pr-muted); }
.prwall-item:hover, .prwall-item[aria-pressed="true"] { background: var(--pr-mist); border-color: var(--pr-line); }
.prwall-item:hover img, .prwall-item[aria-pressed="true"] img { filter: none; opacity: 1; }
.prwall-item[aria-pressed="true"] { border-color: var(--pr-blue); box-shadow: inset 0 0 0 1px var(--pr-blue); }
.prwall-item[aria-pressed="true"] small { color: var(--pr-blue); }
.prwall-item:focus-visible { outline: 3px solid rgba(0, 115, 173, .45); outline-offset: 2px; }
.prwall-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin: 4px 0 0 !important; padding: 16px 12px 12px !important; border-top: 1px solid var(--pr-line); font-size: 14px !important; font-weight: 600; color: var(--pr-muted) !important; }
.prwall-stats b { font-family: var(--font-display, "Manrope", sans-serif); font-size: 18px; font-weight: 800; color: var(--pr-ink); letter-spacing: -.02em; margin-right: 2px; }

@supports selector(:has(*)) {
    .ph:has(+ .prpage) .ph-inner { padding-bottom: 104px; }
    .prwall { margin-top: -60px; }
}

/* quotes */
.prquotes { margin-top: 72px; padding: 72px 0 80px; background: var(--pr-mist); border-top: 1px solid var(--pr-line); border-bottom: 1px solid var(--pr-line); }
.prquotes-grid { columns: 3 320px; column-gap: 24px; }
.prquotes-grid > .prc { break-inside: avoid; margin-bottom: 24px; min-height: 0; }

/* archive: filters + year timeline */
.prarchive { padding-top: 72px; }
.prarchive-head { margin-bottom: 8px; }
.prfilter { display: flex; flex-wrap: wrap; gap: 10px; }
.prfilter button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1.5px solid var(--pr-line); border-radius: 999px; background: #fff; color: var(--pr-ink); font: 700 14px/1 var(--font-body, "Manrope", sans-serif); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.prfilter button span { font-size: 12px; color: var(--pr-muted); }
.prfilter button:hover { border-color: var(--pr-blue); }
.prfilter button.is-on { background: var(--pr-ink); border-color: var(--pr-ink); color: #fff; }
.prfilter button.is-on span { color: rgba(255, 255, 255, .7); }
.prfilter button:focus-visible { outline: 3px solid rgba(0, 115, 173, .4); outline-offset: 2px; }
.prfilter-pub { margin: 14px 0 0 !important; font-size: 14px !important; color: var(--pr-muted) !important; }
.prfilter-pub b { color: var(--pr-ink); }
.prfilter-pub button { padding: 0; border: 0; background: none; color: var(--pr-blue); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.prtimeline { position: relative; margin-top: 28px; }
.prtimeline::before { content: ""; position: absolute; left: 59px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--pr-blue), rgba(0, 115, 173, .12)); }
.pryear { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; padding: 0 0 40px; }
.pryear[hidden] { display: none; }
html body .pryear .pryear-title { position: sticky; top: calc(var(--mdnav-h, 72px) + 24px); align-self: start; z-index: 1; display: grid; place-items: center; width: 120px; height: 46px; margin: 0 !important; padding: 0 !important; border-radius: 999px; background: #fff; border: 2px solid var(--pr-blue); font-family: var(--font-display, "Manrope", sans-serif) !important; font-size: 20px !important; font-weight: 800 !important; letter-spacing: -.02em !important; line-height: 1 !important; color: var(--pr-blue) !important; font-variant-numeric: tabular-nums; }
.pryear-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.prnote { margin: 8px 0 0 152px !important; font-size: 13.5px !important; color: var(--pr-muted) !important; }

.prcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 72px; padding: 38px 42px; border-radius: 26px; color: #fff; background: radial-gradient(80% 140% at 100% 0%, rgba(0, 128, 192, .4), rgba(0, 128, 192, 0) 60%), linear-gradient(180deg, #0a2540, #0c2c4b); }
html body .prcta h2 { margin: 0 0 6px !important; padding: 0 !important; font-family: var(--font-display, "Manrope", sans-serif) !important; font-size: 28px !important; font-weight: 800 !important; letter-spacing: -.025em !important; color: #fff !important; text-transform: none !important; }
.prcta p { margin: 0 !important; max-width: 640px; font-size: 15.5px !important; line-height: 1.6 !important; color: rgba(255, 255, 255, .82) !important; }

/* ============ responsive ============ */
@media (max-width: 1199px) {
    .mdpress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mdpress-grid > .prc:first-child { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
    .mdpress { padding: 76px 0 80px; }
    .mdpress-head { grid-template-columns: 1fr; gap: 16px; }
    .mdpress-rail { margin: 40px 0 36px; padding: 18px 0; }
    .mdpress-track li { padding: 0 28px; }
    .pryear { grid-template-columns: 1fr; gap: 16px; }
    .prtimeline::before { left: 20px; }
    html body .pryear .pryear-title { position: relative; top: 0; width: auto; justify-self: start; padding: 0 20px !important; height: 40px; font-size: 18px !important; }
    .prnote { margin-left: 0 !important; }
    .pryear-grid { padding-left: 0; }
}
@media (max-width: 767px) {
    .mdpress-grid, .pryear-grid { grid-template-columns: 1fr; gap: 16px; }
    .prc-plate { padding: 12px 18px; min-height: 60px; }
    .prc-body { padding: 18px 18px 2px; }
    .prc-foot { padding: 14px 18px 18px; }
    .prc-quote { font-size: 19px; }
    .prwall { padding: 6px; border-radius: 20px; }
    @supports selector(:has(*)) { .ph:has(+ .prpage) .ph-inner { padding-bottom: 76px; } .prwall { margin-top: -44px; } }
    .prwall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
    .prwall-item { min-height: 92px; padding: 12px 8px 10px; }
    .prwall-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .prwall-stats { gap: 4px 16px; font-size: 13px !important; }
    .prquotes { margin-top: 48px; padding: 52px 0 56px; }
    .prarchive { padding-top: 52px; }
    .prtimeline::before { display: none; }
    .prcta { padding: 28px 22px; }
    .prcta .pg-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .mdpress-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
    .mdpress-track[aria-hidden="true"] { display: none; }
    .mdpress-rail { -webkit-mask-image: none; mask-image: none; justify-content: center; }
    .prc, .prc-img img, .prc-cta svg { transition: none; }
    .prc:hover { transform: none; }
}
.prarchive { scroll-margin-top: 96px; }
