/* PDA_STIRI_CSS_v1 — stiluri pentru lista de știri (page-stiri.php) și articolul
   individual (single-stire.php). Cardurile + articolul stau pe .pda-section--dark
   (fundal navyD, text cream), deci tipografia e pe cream. Estetica temei:
   linie 1px (--pda-line), hover pe --pda-gold, titluri Fraunces, meta mono. */

/* ───────────────────────── Card grilă (page-stiri) ───────────────────────── */
.pda-stire-card {
	display: flex;
	flex-direction: column;
	height: 100%; /* umple celula întinsă de grid → carduri de înălțime egală */
	transition: border-color 200ms ease;
	/* border + padding (border border-line p-8) vin din utilitarele Tailwind în markup */
}
.pda-stire-card:hover {
	border-color: var(--pda-gold, #C8A24B);
}
.pda-stire-card__media {
	display: block;
	margin-bottom: 1.5rem;
}
.pda-stire-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.pda-stire-card__date {
	display: block;
	margin-bottom: 0.5rem;
	/* font-mono text-xs text-cream3 vin din markup */
}
.pda-stire-card__title {
	margin: 0 0 0.75rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.25rem;
	line-height: 1.25;
	font-weight: 600;
	/* trunchiere fix 2 rânduri + spațiu rezervat pentru aliniere robustă */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.5em; /* 2 rânduri × line-height 1.25 */
}
.pda-stire-card__title a {
	color: var(--pda-cream, #F5F1E8);
	text-decoration: none;
	transition: color 200ms ease;
}
.pda-stire-card__title a:hover {
	color: var(--pda-gold, #C8A24B);
}
.pda-stire-card p { /* excerpt — trunchiat la 3 rânduri */
	margin: 0;
	color: var(--pda-cream2, #D8D2C4);
	font-size: 0.95rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pda-stire-card__more {
	margin-top: auto; /* lipit de baza cardului → aliniat pe toate cardurile */
	padding-top: 1rem;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #C0C5CE;
	text-decoration: none;
	transition: color 200ms ease;
}
.pda-stire-card__more::after {
	content: " \2192"; /* săgeată → */
}
.pda-stire-card__more:hover {
	color: var(--pda-cream, #F5F1E8);
}

/* ─────────────────────── Articol individual (single-stire) ─────────────────── */
/* Lățime de citit pentru articol (containerul .pda-stire stă în .max-w-container 1280px). */
.pda-stire {
	max-width: 1000px;
	margin-inline: auto;
}
/* Featured float dreapta — textul curge în stânga, apoi full sub imagine. */
.pda-stire__media {
	float: right;
	width: 48%;
	max-width: 560px;
	margin: 0 0 1.5rem 2rem;
}
.pda-stire__media img {
	display: block;
	width: 100%;
	height: auto;        /* NETĂIATĂ — fără max-height, fără crop */
	object-fit: initial;
	border-radius: 4px;  /* colțuri fine, estetica temei */
}
.pda-stire__content {
	color: var(--pda-cream, #F5F1E8);
	font-size: 1.0625rem;
	line-height: 1.75;
}
/* Clearfix: textul scurt nu lasă imaginea featured „atârnând". */
.pda-stire__content::after {
	content: "";
	display: block;
	clear: both;
}
.pda-stire__content > * + * {
	margin-top: 1.25rem;
}
.pda-stire__content h2 {
	margin-top: 2.5rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.6rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--pda-cream, #F5F1E8);
}
.pda-stire__content h3 {
	margin-top: 2rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.3rem;
	line-height: 1.35;
	font-weight: 600;
	color: var(--pda-cream, #F5F1E8);
}
.pda-stire__content a {
	color: var(--pda-gold, #C8A24B);
	text-decoration: underline;
}
.pda-stire__content a:hover {
	color: var(--pda-cream, #F5F1E8);
}
.pda-stire__content ul,
.pda-stire__content ol {
	padding-left: 1.5rem;
}
.pda-stire__content ul { list-style: disc; }
.pda-stire__content ol { list-style: decimal; }
.pda-stire__content li {
	margin-top: 0.4rem;
}
/* Imaginile din corpul textului (Gutenberg) — lățime plină, stilizate. */
.pda-stire__content img,
.pda-stire__content figure {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 1.5rem 0;
}
.pda-stire__content figure img {
	margin: 0;
}
.pda-stire__content figcaption {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: var(--pda-cream3, #9C9789);
	text-align: center;
}
.pda-stire__content blockquote {
	margin: 1.5rem 0;
	padding-left: 1rem;
	border-left: 3px solid var(--pda-gold, #C8A24B);
	color: var(--pda-cream2, #D8D2C4);
	font-style: italic;
}

/* Mobil: featured nu mai e float, ci pe lățime plină sus. */
@media (max-width: 768px) {
	.pda-stire__media {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.5rem;
	}
}
