/* ==========================================================================
   Ceva de Spus — pagina „Despre noi” (secțiuni: cine suntem, autoreprezentare,
   obiective, cronologie, conducere, resurse, contact)
   ========================================================================== */

.cds-content .cds-about-sec { margin-top: var(--wp--preset--spacing--70) !important; }
.cds-content .cds-about-sec > h2,
.cds-content .cds-about-who h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 0; }
.cds-content .cds-about-sec > h2::before,
.cds-content .cds-about-who h2::before { display: none; }
.cds-content .cds-about-sec ul, .cds-content .cds-about-sec ol { list-style: none; padding: 0; margin: 0; }
.cds-content .cds-about-sec li + li { margin-top: 0; }

/* ---------- Cine suntem ---------- */
.cds-about-who { margin-top: var(--wp--preset--spacing--60) !important; gap: clamp(1.5rem, 4vw, 3.5rem) !important; }
.cds-about-who p { font-size: 1.25rem; }
.cds-about-photo { margin: 0; position: relative; }
.cds-about-photo img { border-radius: var(--cds-r-l); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid #fff; box-shadow: 0 24px 48px -22px rgba(10, 42, 64, .45); transform: rotate(1.5deg); box-sizing: border-box; }
.cds-about-photo::before {
	content: ""; position: absolute; z-index: -1; width: 42%; aspect-ratio: 158 / 170; left: -12%; bottom: -14%;
	background: url("../img/logo-mark.svg") center / contain no-repeat; transform: scaleX(-1) rotate(-14deg); opacity: .75;
}

/* ---------- Ce înseamnă autoreprezentare ---------- */
.cds-about-quote {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important; font-weight: 800; line-height: 1.3; color: var(--cds-ink-deep);
	max-width: 30em; margin: 0 0 2rem !important; padding-left: 1.25rem; border-left: 6px solid var(--cds-orange);
}
.cds-about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.cds-about-card { background: var(--cds-white); border-radius: var(--cds-r-l); padding: 1.5rem; box-shadow: var(--cds-shadow); }
.cds-about-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--cds-r-m); background: var(--cds-easy); font-size: 1.9rem; }
.cds-about-card:nth-child(2) .cds-about-card__icon { background: #FDE1DD; }
.cds-about-card:nth-child(3) .cds-about-card__icon { background: var(--cds-lav-soft); }
.cds-content .cds-about-card h3 { margin: 1rem 0 .4rem; font-size: 1.3rem; }
.cds-about-card p { margin: 0; }
.cds-about-motto {
	margin: 1.75rem 0 0 !important; padding: 1.1rem 1.4rem; border-radius: var(--cds-r-l);
	background: var(--cds-coral); color: #fff; font-weight: 700; font-size: 1.2rem;
}

/* ---------- Pentru ce luptăm ---------- */
.cds-about-sec--goals {
	background: var(--cds-ink-deep); color: #e8eef4; border-radius: var(--cds-r-l);
	padding: clamp(1.75rem, 4vw, 3rem) !important; position: relative; overflow: hidden;
}
.cds-content .cds-about-sec--goals > h2 { color: #fff; }
.cds-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem !important; }
.cds-goal { position: relative; padding-top: .25rem; }
.cds-goal__num { display: block; font-size: 4rem; font-weight: 800; line-height: 1; color: var(--cds-orange); }
.cds-goal--2 .cds-goal__num { color: var(--cds-coral-bright); }
.cds-goal--3 .cds-goal__num { color: var(--cds-lavender, #7D8FC1); }
.cds-content .cds-goal h3 { color: #fff; margin: .5rem 0 .4rem; font-size: 1.35rem; }
.cds-goal p { margin: 0; color: #d7e2ec; }

/* ---------- Cronologie ---------- */
.cds-tl { position: relative; margin-top: 2rem !important; }
.cds-tl::before { content: ""; position: absolute; left: 3.6rem; top: .5rem; bottom: .5rem; width: 3px; border-radius: 2px; background: linear-gradient(var(--cds-orange), var(--cds-coral-bright), var(--cds-lavender, #7D8FC1)); }
.cds-tl__item { position: relative; display: grid; grid-template-columns: 7.2rem 1fr; gap: 1.25rem; padding-bottom: 1.75rem; }
.cds-tl__year {
	position: relative; z-index: 1; align-self: start; justify-self: start; padding: .35rem .7rem; border-radius: var(--cds-r-s);
	background: var(--cds-ink); color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em;
}
.cds-tl__body { background: var(--cds-white); border-radius: var(--cds-r-m); padding: 1.1rem 1.35rem; box-shadow: var(--cds-shadow); }
.cds-content .cds-tl__body h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.cds-tl__body p { margin: 0 0 .4rem; }
.cds-content .cds-tl__body .cds-more { color: var(--cds-coral) !important; font-size: 1rem; min-height: 32px; }
.cds-tl__item:last-child .cds-tl__year { background: var(--cds-coral); }

/* ---------- Conducere ---------- */
.cds-about-note { color: #3d5a70; margin-top: -.5rem !important; }
.cds-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin-top: 1.25rem !important; }
.cds-board__item { display: flex; gap: .9rem; align-items: center; background: var(--cds-white); border-radius: var(--cds-r-m); padding: 1rem 1.1rem; box-shadow: var(--cds-shadow); }
.cds-board__item strong { display: block; color: var(--cds-ink-deep); }
.cds-board__item span span { display: block; color: #3d5a70; font-size: 1rem; }
.cds-board__item:nth-child(3n+2) .cds-person__avatar { background: linear-gradient(140deg, var(--cds-lavender, #7D8FC1), var(--cds-ink)); }
.cds-board__item:nth-child(3n) .cds-person__avatar { background: linear-gradient(140deg, var(--cds-sun), var(--cds-orange)); color: var(--cds-ink-deep); }

/* ---------- Resurse ---------- */
.cds-files { display: grid; gap: .6rem; margin-top: 1rem !important; }
.cds-files .cds-file { width: 100%; box-sizing: border-box; }

/* ---------- Contact ---------- */
.cds-about-sec--cta {
	text-align: center; border-radius: var(--cds-r-l); padding: clamp(1.75rem, 4vw, 3rem) !important;
	background:
		radial-gradient(rgba(18, 63, 94, .07) 1.2px, transparent 1.7px) 0 0 / 22px 22px,
		linear-gradient(165deg, #FFF7EE, #FDEADB 60%, #FBE6EA);
	margin-bottom: var(--wp--preset--spacing--60) !important;
}
.cds-about-sec--cta p { max-width: 34em; margin-left: auto; margin-right: auto; font-size: 1.2rem; }
.cds-about-sec--cta .wp-block-buttons { justify-content: center; }

@media (max-width: 781px) {
	.cds-tl::before { left: 1.05rem; }
	.cds-tl__item { grid-template-columns: 1fr; gap: .5rem; padding-left: 2.6rem; }
	.cds-tl__item::before { content: ""; position: absolute; left: .55rem; top: .6rem; width: 18px; height: 18px; border-radius: 4px; background: var(--cds-orange); border: 3px solid var(--cds-cream); }
	.cds-about-photo img { transform: none; }
}

[data-contrast="high"] .cds-about-photo::before { display: none; }
[data-contrast="high"] .cds-about-sec--goals { background: #000 !important; }
[data-contrast="high"] .cds-about-sec--goals :where(h2, h3, p, span) { color: #fff !important; }
[data-contrast="high"] .cds-about-motto { background: #000 !important; color: #fff !important; }

.cds-content .cds-about-sec > h2 { margin-bottom: 1.1rem !important; }
.cds-content .cds-about-sec--board > h2 { margin-bottom: .4rem !important; }
.cds-about-note { margin-top: 0 !important; }
