/* Comunicatele de presă: titlu -> PDF, pe ani (frontend/partial/press-years).
   Componentă de sine stătătoare: merge în ambele teme, de aceea are culorile ei și își resetează listele, titlurile și linkurile. */

.cpr {
	--cpr-navy: #0B2547;
	--cpr-navy-2: #16345f;
	--cpr-blue: #1B4E9B;
	--cpr-light: #008CD1;
	--cpr-red: #A82238;
	--cpr-bg: #F3F6FA;
	--cpr-card: #fff;
	--cpr-muted: #5B6472;
	--cpr-line: rgba(11, 37, 71, .10);
	--cpr-ease: cubic-bezier(.2, .7, .2, 1);
	--cpr-r: 14px;
	container-type: inline-size;
	margin: 0 0 2rem;
	color: var(--cpr-navy);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}
.cpr *, .cpr *::before, .cpr *::after { box-sizing: border-box; }
.cpr h1, .cpr h2, .cpr p, .cpr ol, .cpr ul, .cpr li { margin: 0; padding: 0; }
.cpr ol, .cpr ul, .cpr li { list-style: none !important; }
.cpr li::before, .cpr li::marker { content: none; }
.cpr a { text-decoration: none !important; }
/* tema veche pune un triunghi pe orice span dintr-un link cu target=_blank */
.cpr a span { padding-right: 0 !important; }
.cpr a span::after { content: none !important; }
.cpr [hidden] { display: none !important; }

/* ---------- capul ---------- */

.cpr-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(22px, 4cqi, 40px) clamp(20px, 4cqi, 44px);
	border-radius: var(--cpr-r);
	color: #fff;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(0, 140, 209, .38), transparent 55%),
		radial-gradient(70% 80% at 0% 100%, rgba(168, 34, 56, .25), transparent 60%),
		linear-gradient(135deg, var(--cpr-navy) 0%, var(--cpr-navy-2) 60%, var(--cpr-blue) 140%);
	isolation: isolate;
}
/* coloanele de ziar, ca filigran */
.cpr-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .05) 46px 47px),
		repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, .035) 9px 10px);
	mask-image: linear-gradient(to left, #000 0%, transparent 70%);
}
.cpr-hero::after {
	content: "\f1ea";
	position: absolute;
	right: clamp(-30px, -2cqi, -10px);
	bottom: -38px;
	z-index: -1;
	font: var(--fa-font-regular, normal 400 1em/1 "Font Awesome 6 Free");
	font-size: 190px;
	color: rgba(255, 255, 255, .06);
	transform: rotate(-12deg);
}
.cpr-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px !important;
	color: #9fd3f2 !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.cpr-kicker::before {
	content: "";
	width: 22px;
	height: 2px;
	background: currentColor;
}
.cpr-h1 {
	margin-bottom: 18px !important;
	color: #fff !important;
	font-size: clamp(26px, 4.4cqi, 38px) !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	letter-spacing: -.01em;
}
.cpr-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px clamp(22px, 5cqi, 48px);
	margin-bottom: 22px;
}
.cpr-stat b {
	display: block;
	color: #fff;
	font-size: clamp(26px, 4.6cqi, 40px);
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.cpr-stat b i { font-style: normal; opacity: .55; padding: 0 2px; }
.cpr-stat span {
	display: block;
	margin-top: 6px;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
}

.cpr-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.cpr-search {
	position: relative;
	flex: 1 1 260px;
	max-width: 420px;
}
.cpr-search i {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--cpr-muted);
	pointer-events: none;
}
.cpr-search input {
	width: 100%;
	height: 46px;
	padding: 0 16px 0 44px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--cpr-navy);
	font: inherit;
	font-size: 15px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
	outline: 0;
	transition: box-shadow .2s var(--cpr-ease);
}
.cpr-search input:focus { box-shadow: 0 0 0 3px rgba(124, 196, 236, .65), 0 6px 20px rgba(0, 0, 0, .18); }
.cpr-search input::placeholder { color: #8a93a3; }

.cpr-rail {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.cpr-rail a {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	color: #fff !important;
	font-weight: 700;
	line-height: 1;
	backdrop-filter: blur(4px);
	transition: background .2s var(--cpr-ease), border-color .2s, transform .2s var(--cpr-ease);
}
.cpr-rail a small { color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 500; }
.cpr-rail a:hover, .cpr-rail a:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, .18);
	transform: translateY(-2px);
}
.cpr-rail a.is-on {
	border-color: #fff;
	background: #fff;
	color: var(--cpr-navy) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.cpr-rail a.is-on small { color: var(--cpr-red); }

/* ---------- starea: rezultate, încărcare ---------- */

.cpr-status {
	min-height: 1px;
	margin: 18px 0 0 !important;
	color: var(--cpr-muted);
	font-size: 14px;
	font-weight: 600;
}
.cpr-status:empty { margin: 0 !important; }
.cpr-list { transition: opacity .2s var(--cpr-ease); }
.cpr.is-resetting .cpr-list { opacity: .5; }

/* capătul listei, urmărit de script */
.cpr-sentinel { height: 1px; }

/* „Derulează pentru mai multe”: lipit jos cât timp lista e pe ecran */
.cpr-hint-wrap {
	position: sticky;
	bottom: 18px;
	z-index: 20;
	display: flex;
	justify-content: center;
	margin-top: 22px;
	pointer-events: none;
}
.cpr-hint {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	background: rgba(11, 37, 71, .92);
	color: #fff;
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	box-shadow: 0 12px 30px rgba(11, 37, 71, .28);
	backdrop-filter: blur(8px);
	cursor: pointer;
	pointer-events: auto;
	transition: background .2s, transform .2s var(--cpr-ease);
}
.cpr-hint:hover, .cpr-hint:focus-visible { background: var(--cpr-blue); transform: translateY(-2px); outline: 0; }
.cpr-hint strong { font-weight: 700; }
.cpr-hint small { color: #9fd3f2; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cpr-hint-ico {
	display: grid !important;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	font-size: 12px;
	animation: cpr-bob 1.4s ease-in-out infinite;
}
@keyframes cpr-bob { 50% { transform: translateY(3px); } }
.cpr-hint.is-loading .cpr-hint-ico { animation: cpr-spin .8s linear infinite; }
.cpr-hint.is-loading .cpr-hint-ico::before { content: "\f110"; }
@keyframes cpr-spin { to { transform: rotate(360deg); } }
/* la capăt: săgeata urcă (înapoi sus), fără animație */
.cpr-hint[data-end] { background: rgba(255, 255, 255, .95); border-color: var(--cpr-line); color: var(--cpr-navy); box-shadow: 0 8px 22px rgba(11, 37, 71, .12); }
.cpr-hint[data-end] small { color: var(--cpr-muted); }
.cpr-hint[data-end] .cpr-hint-ico { background: rgba(27, 78, 155, .1); color: var(--cpr-blue); animation: none; transform: rotate(180deg); }
.cpr-hint[data-end]:hover { background: #fff; }

/* ---------- anii: rânduri-separator în listă ---------- */

.cpr-yh {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: clamp(22px, 4cqi, 36px) 0 6px !important;
}
.cpr-yh:first-child { margin-top: 22px !important; }
.cpr-yh h2 {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: clamp(34px, 6cqi, 52px) !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	letter-spacing: -.03em;
	color: transparent !important;
	background: linear-gradient(120deg, var(--cpr-navy) 10%, var(--cpr-light) 120%);
	-webkit-background-clip: text;
	background-clip: text;
}
.cpr-yh em {
	font-style: normal;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(27, 78, 155, .1);
	color: var(--cpr-blue);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}
.cpr-yh::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(to right, var(--cpr-line), transparent);
}

/* ---------- comunicatele: o linie a timpului ---------- */

.cpr-list {
	display: grid;
	gap: 10px;
}
.cpr-item { position: relative; }
/* bucata de linie a fiecărui rând; între ani linia se întrerupe */
.cpr .cpr-item::before {
	content: "";
	position: absolute;
	left: 31px;
	top: -5px;
	bottom: -5px;
	width: 2px;
	background: rgba(27, 78, 155, .16);
}
.cpr .cpr-yh + .cpr-item::before { top: 50%; }
.cpr .cpr-item:last-child::before, .cpr .cpr-item:has(+ .cpr-yh)::before { bottom: 50%; }
.cpr-item a {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 10px 14px 10px 0;
	border-radius: 12px;
	color: var(--cpr-navy) !important;
	transition: background .25s var(--cpr-ease), box-shadow .25s var(--cpr-ease), transform .25s var(--cpr-ease);
}
.cpr-date {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 1px solid var(--cpr-line);
	border-radius: 14px;
	background: var(--cpr-card);
	box-shadow: 0 2px 6px rgba(11, 37, 71, .06);
	text-align: center;
	transition: background .25s var(--cpr-ease), border-color .25s, color .25s;
}
.cpr-date b {
	display: block;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.cpr-date small {
	display: block;
	margin-top: 3px;
	color: var(--cpr-red);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.cpr-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-wrap: pretty;
}
.cpr-new {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-right: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--cpr-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	vertical-align: 2px;
}
.cpr-new::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: cpr-pulse 1.6s ease-in-out infinite;
}
@keyframes cpr-pulse { 50% { opacity: .25; } }

.cpr-pdf {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(168, 34, 56, .08);
	color: var(--cpr-red);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	transition: background .25s var(--cpr-ease), color .25s, gap .25s var(--cpr-ease);
}
.cpr-pdf .fa-arrow-right { font-size: 11px; transition: transform .25s var(--cpr-ease); }

.cpr-item a:hover, .cpr-item a:focus-visible {
	background: var(--cpr-card);
	box-shadow: 0 10px 30px rgba(11, 37, 71, .10), 0 0 0 1px var(--cpr-line);
	transform: translateX(4px);
	outline: 0;
}
.cpr-item a:focus-visible { box-shadow: 0 0 0 3px rgba(0, 140, 209, .45); }
.cpr-item a:hover .cpr-date, .cpr-item a:focus-visible .cpr-date {
	border-color: var(--cpr-blue);
	background: var(--cpr-blue);
	color: #fff;
}
.cpr-item a:hover .cpr-date small, .cpr-item a:focus-visible .cpr-date small { color: #9fd3f2; }
.cpr-item a:hover .cpr-title { color: var(--cpr-blue); }
.cpr-item a:hover .cpr-pdf, .cpr-item a:focus-visible .cpr-pdf { background: var(--cpr-red); color: #fff; }
.cpr-item a:hover .cpr-pdf .fa-arrow-right { transform: translateX(3px); }

.cpr-empty {
	margin-top: 28px !important;
	padding: 28px;
	border: 1px dashed var(--cpr-line);
	border-radius: var(--cpr-r);
	color: var(--cpr-muted);
	text-align: center;
}

/* intrare discretă */
@media (prefers-reduced-motion: no-preference) {
	.cpr-item, .cpr-yh { animation: cpr-in .45s var(--cpr-ease) both; }
	@keyframes cpr-in { from { opacity: 0; transform: translateY(8px); } }
}
@media (prefers-reduced-motion: reduce) {
	.cpr *, .cpr *::before { transition: none !important; animation: none !important; }
}

/* ---------- ecrane înguste ---------- */

@container (max-width: 560px) {
	.cpr .cpr-item::before { left: 23px; }
	.cpr-item a { gap: 12px; padding-right: 8px; }
	.cpr-date { width: 48px; height: 52px; border-radius: 12px; }
	.cpr-date b { font-size: 19px; }
	.cpr-item a { grid-template-columns: 48px minmax(0, 1fr) 34px; }
	.cpr-pdf { justify-content: center; width: 34px; height: 34px; padding: 0; font-size: 15px; }
	.cpr-pdf b, .cpr-pdf .fa-arrow-right { display: none; }
	.cpr-title { font-size: 15px; }
	.cpr-item a:hover { transform: none; }
}

@media print {
	.cpr-hero { background: none; color: var(--cpr-navy); padding: 0; }
	.cpr-h1, .cpr-stat b { color: var(--cpr-navy) !important; }
	.cpr-tools, .cpr-hero::after, .cpr-hero::before, .cpr-hint-wrap { display: none; }
}
