/* =====================================================================
   Tema „Litoral” – constanta.press
   Ziar modern: titluri serif, bleumarin + albastru marin, accent coral.
   Mod întunecat automat (prefers-color-scheme).
   ===================================================================== */

:root {
	--bg: #f5f3ee;
	--surface: #ffffff;
	--surface-2: #faf9f6;
	--ink: #111a26;
	--ink-2: #364152;
	--muted: #6a7382;
	--line: #e2ded4;
	--brand: #0b5d8c;
	--brand-ink: #084a70;
	--accent: #df4a2c;
	--nav: #0d2639;
	--nav-ink: #e9f0f6;
	--nav-hover: #173a55;
	--shadow: 0 1px 2px rgba(17, 26, 38, .06), 0 4px 14px rgba(17, 26, 38, .05);
	--radius: 10px;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0e131a;
		--surface: #151c25;
		--surface-2: #121820;
		--ink: #e8ecf1;
		--ink-2: #c3cbd5;
		--muted: #8b95a3;
		--line: #253140;
		--brand: #5aaee0;
		--brand-ink: #8cc8ee;
		--accent: #ff6a4d;
		--nav: #0a1520;
		--nav-ink: #dbe6ef;
		--nav-hover: #15283a;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3);
		color-scheme: dark;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 16px/1.55 var(--sans);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.clear { clear: both; }

/* ------------------------------------------------------------ bara de sus */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.topbar .today { text-transform: capitalize; white-space: nowrap; }
.topbar ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.topbar ul::-webkit-scrollbar { display: none; }
.topbar li { white-space: nowrap; }
.topbar .spacer { flex: 1; }
.topbar .social a { margin-left: 10px; font-size: 15px; }

/* ------------------------------------------------------------ masthead */
.masthead { background: var(--surface); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.logo img { width: 250px; }
@media (prefers-color-scheme: dark) {
	.logo img { background: #fff; border-radius: 8px; padding: 4px 8px; }
}
.masthead .header-ad { flex: 1; display: flex; justify-content: flex-end; min-height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ navigare */
.nav { background: var(--nav); color: var(--nav-ink); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.nav .wrap { display: flex; align-items: stretch; gap: 4px; }
.nav-toggle, .search-toggle { background: none; border: 0; color: var(--nav-ink); padding: 0 12px; font-size: 20px; cursor: pointer; }
.nav-toggle { display: none; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; flex: 1; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 14px 13px; font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--nav-ink); }
.nav-menu > li > a:hover, .nav-menu > li.active > a, .nav-menu > li:focus-within > a { background: var(--nav-hover); color: #fff; }
.nav-menu > li.active > a { box-shadow: inset 0 -3px 0 var(--accent); }
.nav-menu .caret { font-size: 10px; opacity: .7; }
.nav-menu .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); color: var(--ink); list-style: none; margin: 0; padding: 6px 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 0; }
.nav-menu li:hover > .sub, .nav-menu li:focus-within > .sub { display: block; }
.nav-menu .sub a { display: block; padding: 8px 16px; font-size: 14px; }
.nav-menu .sub a:hover { background: var(--surface-2); }
.nav-menu .sub .all { border-top: 1px solid var(--line); margin-top: 4px; font-weight: 600; color: var(--brand); }
.nav-search { display: none; background: var(--nav); padding: 10px 0 14px; }
.nav-search.open { display: block; }
.searchbox { display: flex; background: var(--surface); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.searchbox input { flex: 1; border: 0; background: transparent; padding: 10px 18px; outline: none; color: var(--ink); }
.searchbox button { border: 0; background: var(--accent); color: #fff; padding: 0 20px; cursor: pointer; font-weight: 600; }

/* ------------------------------------------------------------ ticker */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker .wrap { display: flex; align-items: center; gap: 14px; height: 42px; }
.ticker-label { flex: none; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 4px; }
.ticker-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: ticker 70s linear infinite; font-size: 14px; }
.ticker-track a { white-space: nowrap; }
.ticker-track time { color: var(--accent); font-weight: 700; margin-right: 8px; font-variant-numeric: tabular-nums; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation: none; }
	.ticker-viewport { overflow-x: auto; }
}

/* ------------------------------------------------------------ layout */
main { padding: 24px 0 40px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 64px; }
.sidebar > * { max-width: 100%; overflow: hidden; }

/* ------------------------------------------------------------ elemente comune */
.kicker { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); }
.kicker-pill { background: var(--brand); color: #fff; padding: 3px 9px; border-radius: 4px; }
.meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.meta i { margin-right: 5px; opacity: .8; }
.thumb { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); aspect-ratio: 16 / 10; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a:hover .thumb img { transform: scale(1.04); }
.thumb .play { position: absolute; inset: auto auto 10px 10px; background: rgba(0, 0, 0, .65); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 16px; }
.section-title h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.section-title h2::before { content: ""; width: 10px; height: 22px; border-radius: 2px; background: var(--dot, var(--accent)); }
.section-title .more { font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.box > h3 { font-size: 17px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; }
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.alert { padding: 12px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); margin: 10px 0; }
.alert-warning { border-color: #e9c46a; background: rgba(233, 196, 106, .15); }
.alert-danger { border-color: var(--accent); background: rgba(223, 74, 44, .1); }
.alert-success { border-color: #2a9d8f; background: rgba(42, 157, 143, .12); }
.ad-slot { text-align: center; }
.ad-slot:empty { display: none; }

/* ------------------------------------------------------------ deschidere (hero) */
.hero { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-bottom: 32px; }
.hero-lead { grid-row: span 2; }
.hero a { display: block; }
.hero-lead .thumb { aspect-ratio: 4 / 3; }
.hero-card .thumb { aspect-ratio: 16 / 10; }
.hero .overlay { position: relative; display: block; border-radius: var(--radius); overflow: hidden; height: 100%; }
.hero .overlay .thumb { border-radius: 0; height: 100%; }
.hero .overlay .caption { position: absolute; inset: auto 0 0 0; padding: 60px 18px 16px; color: #fff; background: linear-gradient(180deg, transparent, rgba(5, 12, 20, .88)); }
.hero .overlay .caption .kicker { color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 4px; }
.hero-lead .caption h2 { font-size: 30px; margin-top: 10px; }
.hero-card .caption { padding: 40px 14px 12px; }
.hero-card .caption h3 { font-size: 16px; margin-top: 6px; line-height: 1.3; }
.hero .caption .meta { color: rgba(255, 255, 255, .8); margin-top: 8px; }

/* ------------------------------------------------------------ secțiuni pe categorii */
.cat-section { margin-bottom: 34px; }
.cat-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.cat-lead h3 { font-size: 22px; margin: 12px 0 8px; }
.cat-lead p { color: var(--ink-2); margin: 0; font-size: 15px; }
.cat-list { display: flex; flex-direction: column; gap: 14px; }
.mini { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: start; }
.mini .thumb { aspect-ratio: 4 / 3; border-radius: 8px; }
.mini h4 { font-size: 15px; line-height: 1.3; font-weight: 600; }
.mini .meta { margin-top: 4px; font-size: 12px; }

/* ------------------------------------------------------------ liste (categorie, căutare, recente) */
.list-heading { margin-bottom: 18px; }
.list-heading h1 { font-size: 32px; }
.list-heading .desc { color: var(--muted); margin-top: 6px; }
.row-card { display: grid; grid-template-columns: 240px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row-card:first-child { padding-top: 0; }
.row-card h3 { font-size: 20px; margin: 6px 0 8px; }
.row-card p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.paginations { margin: 24px 0 0; }
.paginations .pager { display: flex; justify-content: space-between; gap: 12px; list-style: none; margin: 0; padding: 0; }
.paginations .pager li a { display: inline-flex; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.paginations .pager li.active a:hover { border-color: var(--brand); color: var(--brand); }
.paginations .pager li.disabled a { opacity: .4; pointer-events: none; }
.paginations .pager li.next { order: 2; }
.paginations .pager li.previous { order: 1; }
.loading { padding: 30px; text-align: center; color: var(--muted); }
.category-image img { border-radius: var(--radius); margin-bottom: 16px; }

/* ------------------------------------------------------------ articol */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); margin: 10px 0 14px; }
.article-head .lede { font-size: 19px; color: var(--ink-2); font-family: var(--serif); margin: 0 0 14px; }
.article-head .meta { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.votes { margin-left: auto; display: flex; gap: 6px; }
.votes a { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--surface); }
.votes a.voted-up, .votes a.voted-down { border-color: var(--brand); color: var(--brand); }
.article-figure { margin: 20px 0; }
.article-figure .thumb { aspect-ratio: auto; max-height: 620px; }
.article-figure img { height: auto; max-height: 620px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-body { font-family: var(--serif); font-size: 19px; line-height: 1.7; color: var(--ink); max-width: 72ch; overflow-wrap: anywhere; }
.article-body p { margin: 0 0 1.1em; }
.article-body img { border-radius: 8px; margin: 1em 0; height: auto !important; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-body iframe, .article-body video { max-width: 100%; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 6px 8px; }
.source-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0; padding: 18px 20px; border-radius: var(--radius); background: var(--nav); color: var(--nav-ink); }
.source-cta:hover { color: #fff; background: var(--nav-hover); }
.source-cta small { display: block; opacity: .75; font-size: 13px; }
.source-cta b { font-size: 18px; font-family: var(--serif); }
.source-cta i { font-size: 22px; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tags a { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; align-items: center; }
.share .label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; text-transform: uppercase; letter-spacing: .05em; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; border: 0; cursor: pointer; font-size: 17px; }
.share .fb { background: #1877f2; } .share .x { background: #111; } .share .wa { background: #25d366; }
.share .li { background: #0a66c2; } .share .em { background: #6a7382; } .share .cp { background: var(--brand); }
.share a:hover, .share button:hover { color: #fff; filter: brightness(1.1); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.prev-next a { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prev-next .next { grid-template-columns: 1fr 90px; text-align: right; }
.prev-next .next .thumb { order: 2; }
.prev-next .thumb { aspect-ratio: 1; border-radius: 8px; }
.prev-next small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.prev-next span { font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.3; }
.related { margin-top: 34px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card h4 { font-size: 16px; line-height: 1.3; margin-top: 10px; font-weight: 600; }
.page-body { background: var(--surface); padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }

/* ------------------------------------------------------------ widget-uri */
.top-list { counter-reset: top; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.top-list li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; counter-increment: top; }
.top-list li::before { content: counter(top); font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); }
.top-list a { font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.3; }
.calendar table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; }
.calendar th { color: var(--muted); font-weight: 600; padding: 4px 0; font-size: 11px; text-transform: uppercase; }
.calendar td { padding: 6px 0; border-radius: 6px; }
.calendar td a { display: block; color: var(--brand); font-weight: 700; }
.calendar td.bg-info { background: var(--accent); color: #fff; }
.calendar td.bg-info a { color: #fff; }
.calendar .panel-heading .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.calendar .month-name { text-transform: capitalize; font-weight: 600; }
.calendar .ajax-navigation { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); }
.poll-question { font-family: var(--serif); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.poll-image img { border-radius: 8px; margin-bottom: 10px; }
.poll-answers ul { list-style: none; margin: 0 0 12px; padding: 0; }
.poll-answers li { padding: 5px 0; }
.poll-answers label { margin-left: 6px; cursor: pointer; }
.poll-result-buttons { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.poll-show-results { color: var(--brand); font-weight: 600; }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 4px 0 8px; }
.progress-bar { height: 100%; background: var(--brand); font-size: 0; }
.result-answer span { color: var(--muted); font-size: 12px; }
.social-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-list a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.contact-form label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }

/* ------------------------------------------------------------ subsol */
.footer { background: var(--nav); color: var(--nav-ink); margin-top: 20px; }
.footer .wrap { padding-top: 36px; padding-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer h4 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .about { font-size: 14px; color: rgba(255, 255, 255, .75); max-width: 40ch; }
.footer .about img { width: 200px; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .65); padding-top: 16px; }
.footer-bottom a { color: #fff; }
#back-to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; box-shadow: var(--shadow); }
#back-to-top.show { opacity: 1; pointer-events: auto; }
#back-to-top:hover { color: #fff; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
	.layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
	.hero { grid-template-columns: 1fr 1fr; }
	.hero-lead { grid-column: span 2; grid-row: auto; }
	.hero-lead .thumb { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
	.layout { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.masthead .header-ad { display: none; }
	.nav-toggle { display: block; }
	.nav .wrap { flex-wrap: wrap; justify-content: space-between; }
	.nav-menu { display: none; flex-basis: 100%; flex-direction: column; padding-bottom: 8px; }
	.nav-menu.open { display: flex; }
	.nav-menu > li > a { padding: 11px 6px; }
	.nav-menu .sub { position: static; display: block; box-shadow: none; border: 0; background: transparent; color: var(--nav-ink); padding: 0 0 6px 14px; }
	.nav-menu .sub a { padding: 6px; opacity: .85; }
	.nav-menu .sub a:hover { background: transparent; }
	.cat-grid { grid-template-columns: 1fr; }
	.card-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
	body { font-size: 15px; }
	.logo img { width: 190px; }
	.topbar ul.pages { display: none; }
	.hero { grid-template-columns: 1fr; }
	.hero-lead { grid-column: auto; }
	.hero-lead .caption h2 { font-size: 22px; }
	.row-card { grid-template-columns: 1fr; gap: 10px; }
	.row-card h3 { font-size: 18px; }
	.prev-next { grid-template-columns: 1fr; }
	.card-grid { grid-template-columns: 1fr; }
	.article-body { font-size: 18px; }
	.source-cta b { font-size: 16px; }
	.mini { grid-template-columns: 96px 1fr; }
}

/* ------------------------------------------------------------ corecții */
.layout > *, .cat-grid > *, .hero > *, .row-card > *, .mini > * { min-width: 0; }
/* când știrea nu are poză se afișează sigla sursei / noimage – o arătăm întreagă, nu decupată */
.thumb img[src*="upload/sources/"], .thumb img[src*="noimage"] { object-fit: contain; padding: 14%; background: #fff; }
a:hover .thumb img[src*="upload/sources/"] { transform: none; }
@media (max-width: 860px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.hero { grid-template-columns: 1fr 1fr; gap: 10px; }
	.hero-lead { grid-column: span 2; }
	.hero-card .thumb { aspect-ratio: 1; }
	.hero-card .caption { padding: 30px 10px 10px; }
	.hero-card .caption .kicker { display: none; }
	.hero-card .caption h3 { font-size: 13px; }
	.hero-card:nth-child(n+4) { display: none; }
}

/* ------------------------------------------------------------ PWA + credit */
.pwa-install { border: 1px solid var(--brand); background: transparent; color: var(--brand); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pwa-install:hover { background: var(--brand); color: #fff; }
.footer-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, .55); padding-top: 12px; margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-credit a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 2px; }
@media (display-mode: standalone) { .pwa-install { display: none !important; } }
