/* ==========================================================================
   PAGINA „DESPRE PROIECT"
   Componentele paginii: fișa proiectului, cifrele, activitățile, partenerii.
   Culori doar din paleta campaniei (sau aceeași nuanță, mai închisă).
   ========================================================================== */

.cs-dp-intro {
	font-size: 1.15em;
	line-height: 1.6;
}

/* ---- Fișa proiectului ---- */

.cs-dp-fisa {
	margin: 2em 0;
	padding: 28px 32px;
	background: #f1e6d2;
	border-radius: 0;
}

.cs-dp-fisa h2 { margin-top: 0; }

.cs-dp-fisa dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
	margin: 0;
}

.cs-dp-fisa dl > div {
	padding: 11px 0;
	border-bottom: 1px solid #ddcfb5;
}

.cs-dp-fisa dt {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #006666;              /* teal închis — 5,49:1 pe crem */
}

.cs-dp-fisa dd {
	margin: 2px 0 0;
	color: #0d2e2e;
}

.cs-dp-fisa dd small { color: #264a4a; }

/* Datele care lipsesc rămân vizibil marcate, nu ascunse. */
.cs-dp-lipsa dd {
	font-weight: 700;
	color: #7a2a55;              /* prună — 6,9:1 pe crem */
}

/* ---- Cifrele ---- */

.cs-dp-cifre {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 1.2em 0 2em;
	padding: 0;
	list-style: none;
}

.cs-dp-cifre li {
	margin: 0;
	padding: 22px 18px;
	border-radius: 0;
	background: #ffffff;
	border: 1px solid #e4ecec;
	border-top: 5px solid #008080;
	text-align: center;
}

.cs-dp-cifre li:nth-child(2) { border-top-color: #1f7a0a; }
.cs-dp-cifre li:nth-child(3) { border-top-color: #c6008c; }
.cs-dp-cifre li:nth-child(4) { border-top-color: #7a2a55; }
.cs-dp-cifre li:nth-child(5) { border-top-color: #efb014; }

.cs-dp-cifre strong {
	display: block;
	font-size: 42px;
	line-height: 1.1;
	font-weight: 800;
	color: #006666;
}

.cs-dp-cifre span {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.35;
	color: #264a4a;
}

/* ---- Obiectivele specifice ---- */

.cs-dp-os { padding-left: 0; list-style: none; }
.cs-dp-os li { margin-bottom: .7em; padding-left: 0; }
.cs-dp-os strong { color: #006666; }

/* ---- Activitățile ---- */

.cs-dp-activitati {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 1.4em 0;
}

.cs-dp-activitate {
	padding: 24px 26px;
	border: 1px solid #e4ecec;
	border-radius: 0;
	background: #ffffff;
}

.cs-dp-activitate h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 .6em;
	font-size: 20px;
}

.cs-dp-activitate h3 span {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 40px;
	padding-left: 6px;
	box-sizing: border-box;
	background: #008080;
	/* Săgeată, ca bannerele campaniei: coadă crestată, vârf în dreapta. */
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
	color: #ffffff;              /* 4,77:1 */
	font-size: 15px;
	font-weight: 800;
}

.cs-dp-activitate p { margin-bottom: .6em; }

.cs-dp-activitate .cs-dp-rez {
	margin: 1em 0 .3em;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #1f7a0a;              /* 5,6:1 pe alb */
}

.cs-dp-activitate ul { margin: 0; padding-left: 1.2em; }
.cs-dp-activitate li { margin-bottom: .25em; }

.cs-dp-tinta {
	padding: 18px 22px;
	border-left: 5px solid #efb014;
	background: #fdf6e3;
	border-radius: 0;
}

/* ---- Partenerii ---- */

.cs-dp-parteneri {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 1.2em 0 2em;
	padding: 0;
	list-style: none;
}

.cs-dp-parteneri li {
	margin: 0;
	padding: 26px;
	border: 1px solid #e4ecec;
	border-radius: 0;
	text-align: center;
}

.cs-dp-parteneri img {
	display: block;
	height: 64px;
	width: auto;
	max-width: 100%;
	margin: 0 auto 14px;
	object-fit: contain;
}

.cs-dp-parteneri__rol {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #006666;
}

.cs-dp-parteneri__nume {
	margin: 2px 0 10px;
	font-weight: 700;
	color: #0d2e2e;
}

.cs-dp-parteneri a {
	color: #006666;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cs-dp-mentiune {
	padding-top: 1.2em;
	border-top: 1px solid #e4ecec;
	font-size: 14px;
	color: #264a4a;
}

.cs-dp-mentiune a { color: #006666; font-weight: 700; }

/* ---- Ecrane mici ---- */

@media (max-width: 1100px) {
	.cs-dp-cifre { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.cs-dp-fisa { padding: 22px 20px; }
	.cs-dp-fisa dl,
	.cs-dp-activitati,
	.cs-dp-parteneri { grid-template-columns: 1fr; }
	.cs-dp-cifre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-dp-cifre strong { font-size: 34px; }
}

/* ---- Stilul campaniei (03.11.2026): fără colțuri rotunde ---- */

/* Fișa proiectului: săgeata dublă a campaniei, în colțul din dreapta-sus. */
.cs-dp-fisa { position: relative; overflow: hidden; }
.cs-dp-fisa::after {
	content: "";
	position: absolute;
	top: 24px;
	right: 28px;
	width: 64px;
	height: 64px;
	background: #efb014;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M0 0h14l14 24-14 24H0l14-24zM20 0h14l14 24-14 24H20l14-24z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M0 0h14l14 24-14 24H0l14-24zM20 0h14l14 24-14 24H20l14-24z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Culorile activităților, prin rotație în paletă. */
.cs-dp-activitate:nth-child(4n+2) h3 span { background: #1f7a0a; }
.cs-dp-activitate:nth-child(4n+3) h3 span { background: #c6008c; }
.cs-dp-activitate:nth-child(4n+4) h3 span { background: #efb014; color: #0d2e2e; }

.cs-dp-activitate { border-top: 4px solid #008080; }
.cs-dp-activitate:nth-child(4n+2) { border-top-color: #1f7a0a; }
.cs-dp-activitate:nth-child(4n+3) { border-top-color: #c6008c; }
.cs-dp-activitate:nth-child(4n+4) { border-top-color: #efb014; }

.cs-dp-tinta { background: #f1e6d2; }

@media (max-width: 767px) {
	.cs-dp-fisa::after { width: 40px; height: 40px; top: 20px; right: 18px; }
}

/* ---- Banda de final: „Cine implementează proiectul” (03.11.2026) ----

   Cardurile albe pe fond alb nu se distingeau. Secțiunea devine o bandă crem
   pe toată lățimea ecranului — aceeași culoare ca banda titlului paginii — și
   coboară până la subsol. Fondul se întinde lateral prin box-shadow +
   clip-path, deci nu schimbă așezarea textului și nu creează derulare
   orizontală. */
.post_content section[aria-labelledby="cs-dp-t-parteneri"] {
	position: relative;
	margin-top: 64px;
	padding: 56px 0 72px;
	background: #f1e6d2;
	box-shadow: 0 0 0 100vmax #f1e6d2;
	clip-path: inset(0 -100vmax);
}

.post_content section[aria-labelledby="cs-dp-t-parteneri"] h2 { margin-top: 0; }

.post_content section[aria-labelledby="cs-dp-t-parteneri"] .cs-dp-parteneri { margin-bottom: 0; }

.cs-dp-parteneri li {
	background: #ffffff;
	border-color: transparent;
	box-shadow: 0 6px 18px rgba(4, 53, 58, .08);
}

/* Fără spațiul alb al temei între bandă și subsol. */
.page_content_wrap:has(.post_content section[aria-labelledby="cs-dp-t-parteneri"]:last-child) {
	padding-bottom: 0 !important;
}

@media (max-width: 767px) {
	.post_content section[aria-labelledby="cs-dp-t-parteneri"] { margin-top: 48px; padding: 40px 0 48px; }
}

/* ==========================================================================
   MODELUL A — carduri pe benzi colorate (ales de client 03.11.2026)

   Pagina era mult text pe alb. Obiectivele stau acum pe o bandă crem, ca
   carduri cu eticheta OS în săgeată; grupul țintă pe trei plăci; principiile
   orizontale pe o bandă teal închis, ca 9 carduri cu săgeata dublă colorată,
   lipită de banda crem a partenerilor. Cardurile apar ușor, pe rând, la
   derulare (assets/despre-proiect.js); fără JavaScript, sau cu „mișcare
   redusă” în sistem, totul e vizibil de la început.
   ========================================================================== */

/* Benzi pe toată lățimea (fond întins lateral, fără derulare orizontală) */
.cs-dp-banda {
	--banda: #f1e6d2;
	position: relative;
	margin: 64px 0;
	padding: 56px 0 60px;
	background: var(--banda);
	box-shadow: 0 0 0 100vmax var(--banda);
	clip-path: inset(0 -100vmax);
}
.cs-dp-banda > h2:first-child { margin-top: 0; }
.cs-dp-banda--inchis { --banda: #003a3a; color: #e6f2f2; }
.cs-dp-banda--inchis > h2 { color: #ffffff; }

.cs-dp-apare { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.cs-dp-apare.e-vizibil { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cs-dp-apare { opacity: 1; transform: none; transition: none; } }

.cs-dp-sageti {
	display: inline-block;
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M0 0h14l14 24-14 24H0l14-24zM20 0h14l14 24-14 24H20l14-24z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M0 0h14l14 24-14 24H0l14-24zM20 0h14l14 24-14 24H20l14-24z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Obiective (bandă crem): carduri cu eticheta OS în săgeată */
.cs-dp-os { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin: 1.4em 0 0; padding: 0; list-style: none; }
.cs-dp-os li { grid-column: span 2; margin: 0; padding: 22px; background: #fff; box-shadow: 0 6px 18px rgba(4,53,58,.08); border-top: 4px solid #008080; }
.cs-dp-os li:nth-child(4n+2) { border-top-color: #1f7a0a; }
.cs-dp-os li:nth-child(4n+3) { border-top-color: #c6008c; }
.cs-dp-os li:nth-child(4n+4) { border-top-color: #efb014; }
.cs-dp-os strong { display: inline-flex; align-items: center; height: 30px; padding: 0 18px 0 14px; margin-right: 6px; background: #008080; color: #fff; font-size: 14px;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); }
.cs-dp-os li:nth-child(4n+2) strong { background: #1f7a0a; }
.cs-dp-os li:nth-child(4n+3) strong { background: #c6008c; }
.cs-dp-os li:nth-child(4n+4) strong { background: #efb014; color: #0d2e2e; }

/* Grup țintă: trei plăci */
.cs-dp-grup { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; padding: 0; list-style: none; }
.cs-dp-grup > li { margin: 0; padding: 22px 24px; background: #fff; box-shadow: 0 6px 18px rgba(4,53,58,.08); border-left: 6px solid #008080; }
.cs-dp-grup > li:nth-child(2) { border-left-color: #c6008c; }
.cs-dp-grup > li:nth-child(3) { border-left-color: #1f7a0a; }
.cs-dp-grup > li > strong:first-child { display: block; font-size: 1.35em; color: #006666; margin-bottom: 6px; }
.cs-dp-grup ul { padding-left: 1.1em; font-size: .95em; }

/* Principii: carduri albe pe bandă teal închis */
.cs-dp-principii { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 1.4em; }
.cs-dp-principiu { padding: 24px 24px 20px; background: #fff; color: #264a4a; }
.cs-dp-principiu h3 { display: flex; gap: 12px; align-items: center; margin: 0 0 .5em; font-size: 19px; line-height: 1.25; color: #0d2e2e; }
.cs-dp-principiu h3 .cs-dp-sageti { flex: none; font-size: 30px; color: #008080; }
.cs-dp-principiu:nth-child(4n+2) h3 .cs-dp-sageti { color: #1f7a0a; }
.cs-dp-principiu:nth-child(4n+3) h3 .cs-dp-sageti { color: #c6008c; }
.cs-dp-principiu:nth-child(4n+4) h3 .cs-dp-sageti { color: #efb014; }
.cs-dp-principiu p { margin: 0; font-size: .95em; line-height: 1.6; }

@media (max-width: 1024px) { .cs-dp-principii { grid-template-columns: repeat(2, minmax(0,1fr)); } .cs-dp-grup { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .cs-dp-principii { grid-template-columns: 1fr; } }

/* 5 obiective: 3 pe primul rând, 2 mai late pe al doilea */
.cs-dp-os li:nth-child(4), .cs-dp-os li:nth-child(5) { grid-column: span 3; }
.cs-dp-os strong { display: flex; width: max-content; margin: 0 0 10px; }
@media (max-width: 900px) { .cs-dp-os { grid-template-columns: 1fr; } .cs-dp-os li, .cs-dp-os li:nth-child(4), .cs-dp-os li:nth-child(5) { grid-column: auto; } }

/* Banda închisă se lipește de banda crem a partenerilor */
.cs-dp-banda--inchis { margin-bottom: 0; }
.post_content .cs-dp-banda--inchis + section[aria-labelledby="cs-dp-t-parteneri"] { margin-top: 0; }
