/* ==========================================================================
   APD Modern – pagina principală
   Toate clasele încep cu „apd-” ca să nu intre în conflict cu tema părinte.
   ========================================================================== */

:root{
	--apd-ink:#101828;
	--apd-blue:#1D3FE0;
	--apd-coral:#FF5B45;          /* decorativ (forme, linii) */
	--apd-coral-strong:#D63B26;   /* fundal cu text alb (contrast 4.65:1) */
	--apd-coral-text:#C8341F;     /* text coral pe fundal deschis (contrast 5:1) */
	--apd-yellow:#FFC93C;
	--apd-paper:#FBFAF6;
	--apd-white:#FFFFFF;
	--apd-meta:#5B6472;
	--apd-line:#E7E3D9;
	--apd-serif:"Fraunces", Georgia, "Times New Roman", serif;
	--apd-sans:"IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Bază + protecție împotriva stilurilor din tema părinte ---------- */
body.apd-modern-home{ margin:0; padding:0; background:var(--apd-paper); }
html{ scroll-behavior:smooth; }

.apd-modern{
	font-family:var(--apd-sans);
	font-size:16px;
	line-height:1.5;
	color:var(--apd-ink);
	background:var(--apd-paper);
	-webkit-font-smoothing:antialiased;
	overflow-x:hidden;
}
/* Resetul are specificitate zero (:where), ca orice clasă „apd-…” să-l poată suprascrie. */
:where(.apd-modern) *, :where(.apd-modern) *::before, :where(.apd-modern) *::after{ box-sizing:border-box; }
:where(.apd-modern) h1, :where(.apd-modern) h2, :where(.apd-modern) h3, :where(.apd-modern) h4, :where(.apd-modern) h5, :where(.apd-modern) h6{
	font-family:var(--apd-serif); font-weight:600; line-height:1.2; margin:0; padding:0;
	color:inherit; text-transform:none; letter-spacing:normal; text-shadow:none;
}
:where(.apd-modern) p, :where(.apd-modern) ul, :where(.apd-modern) ol, :where(.apd-modern) li, :where(.apd-modern) figure{ margin:0; padding:0; }
:where(.apd-modern) ul, :where(.apd-modern) ol{ list-style:none; }
:where(.apd-modern) a, :where(.apd-modern) a:hover, :where(.apd-modern) a:focus{ color:inherit; text-decoration:none; }
:where(.apd-modern) img{ max-width:100%; height:auto; border:0; display:block; }
:where(.apd-modern) button{ font-family:inherit; }
.apd-modern a:focus-visible, .apd-modern button:focus-visible, .apd-modern input:focus-visible, .apd-modern .apd-scroll:focus-visible{
	outline:2px solid var(--apd-blue); outline-offset:3px;
}

.apd-wrap{ max-width:1200px; margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .apd-wrap{ padding:0 20px; } }

.apd-sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.apd-skip{
	position:absolute; left:-9999px; top:0; z-index:100; background:var(--apd-ink); color:#fff !important;
	padding:10px 16px; border-radius:0 0 8px 0; font-weight:600;
}
.apd-skip:focus{ left:0; }

/* ---------- Animații de intrare (o singură dată, la încărcare) ---------- */
@keyframes apd-rise{
	from{ opacity:0; transform:translateY(18px) rotate(var(--r,0deg)); }
	to{ opacity:1; transform:translateY(0) rotate(var(--r,0deg)); }
}
.apd-rise{ animation:apd-rise .8s cubic-bezier(.2,.7,.3,1) both; }
.apd-rise--1{ animation-delay:.05s; }
.apd-rise--2{ animation-delay:.18s; }
@keyframes apd-blink{ 0%,100%{opacity:1;} 50%{opacity:.25;} }
@keyframes apd-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- Butoane ---------- */
.apd-btn{
	display:inline-flex; align-items:center; justify-content:center; white-space:nowrap;
	padding:11px 20px; border-radius:100px; font-size:14px; font-weight:600; line-height:1.2;
	border:0; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;
}
.apd-btn--primary, .apd-btn--primary:hover, .apd-btn--primary:focus{ background:var(--apd-coral-strong); color:#fff; }
.apd-btn--primary:hover{ transform:translateY(-2px) rotate(-1deg); box-shadow:0 8px 18px rgba(214,59,38,.35); }

.apd-iconbtn{
	width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; padding:0;
	border:1.5px solid var(--apd-ink); border-radius:50%; background:transparent; color:var(--apd-ink); cursor:pointer;
	transition:background .15s ease, color .15s ease;
}
.apd-iconbtn:hover{ background:var(--apd-ink); color:#fff; }

/* ---------- Antet ---------- */
.apd-header{
	position:sticky; top:0; z-index:60;
	background:rgba(251,250,246,.94);
	-webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
	border-bottom:1px solid var(--apd-line);
	margin:0; padding:0;
}
.admin-bar .apd-header{ top:32px; }
@media (max-width:782px){ .admin-bar .apd-header{ top:46px; } }

.apd-header__row{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:14px; padding-bottom:14px; }
.apd-logo{ display:inline-flex; align-items:center; flex-shrink:0; }
.apd-logo img{ height:44px; width:auto; }
@media (max-width:640px){ .apd-logo img{ height:38px; } }

.apd-header__actions{ display:flex; align-items:center; gap:12px; }
.apd-header__cta{ display:none; }
.apd-nav__cta{ display:none; }

/* rețele sociale */
.apd-social{ display:flex; align-items:center; gap:8px; }
.apd-social__link{
	width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
	border:1.5px solid var(--apd-ink); border-radius:50%; background:transparent; color:var(--apd-ink) !important;
	transition:background .15s ease, color .15s ease, transform .15s ease;
}
.apd-social__link:hover{ background:var(--apd-ink); color:#fff !important; transform:translateY(-2px); }
.apd-social--header{ display:none; }
.apd-social--panel{ margin-top:18px; }
@media (min-width:1100px){
	.apd-social--header{ display:flex; }
	.apd-social--panel{ display:none; }
}

/* antet mai compact între 1100 și 1279 px (încape și cu mai multe pictograme sociale) */
@media (min-width:1100px) and (max-width:1279px){
	.apd-header__row{ gap:12px; }
	.apd-header__actions{ gap:8px; }
	.apd-menu{ gap:0; }
	.apd-menu__link, .apd-menu__toggle{ padding:10px 8px; font-size:14.5px; }
	.apd-menu__link::after{ left:8px; right:8px; }
	.apd-social{ gap:6px; }
	.apd-social__link, .apd-iconbtn{ width:34px; height:34px; }
	.apd-btn{ padding:10px 16px; }
}

/* limbă: linkuri RO / EN */
.apd-lang{ display:flex; align-items:center; gap:2px; margin:0; padding:0; list-style:none; }
.apd-lang li{ margin:0; padding:0; list-style:none; }
.apd-lang a{ display:block; padding:7px 10px; border-radius:100px; font-size:13px; font-weight:700; line-height:1; color:var(--apd-meta) !important; transition:background .15s ease, color .15s ease; }
.apd-lang a:hover{ color:var(--apd-ink) !important; background:rgba(16,24,40,.06); }
.apd-lang a.is-active{ background:var(--apd-ink); color:#fff !important; }

/* meniu – mobil (implicit) */
.apd-nav{
	display:none; position:absolute; left:0; right:0; top:100%;
	background:var(--apd-paper); border-bottom:1px solid var(--apd-line);
	padding:8px 20px 22px; max-height:calc(100vh - 70px); overflow:auto;
}
.apd-header.is-open .apd-nav{ display:block; }
.apd-menu__link, .apd-menu__toggle{
	display:flex; align-items:center; gap:6px; width:100%; text-align:left;
	padding:14px 4px; font:500 17px/1.2 var(--apd-sans); color:var(--apd-ink);
	background:none; border:0; border-bottom:1px solid var(--apd-line); cursor:pointer;
}
.apd-menu__toggle svg{ display:none; }
.apd-sub a{ display:block; padding:11px 4px 11px 18px; font-size:15px; color:var(--apd-meta); border-bottom:1px solid var(--apd-line); }
.apd-nav__cta{ display:inline-flex; margin-top:18px; }

/* burger */
.apd-burger__bars, .apd-burger__bars::before, .apd-burger__bars::after{
	display:block; width:16px; height:2px; background:currentColor; border-radius:2px; transition:transform .2s ease, opacity .2s ease;
}
.apd-burger__bars{ position:relative; }
.apd-burger__bars::before, .apd-burger__bars::after{ content:""; position:absolute; left:0; }
.apd-burger__bars::before{ top:-5px; }
.apd-burger__bars::after{ top:5px; }
.apd-header.is-open .apd-burger__bars{ background:transparent; }
.apd-header.is-open .apd-burger__bars::before{ transform:translateY(5px) rotate(45deg); }
.apd-header.is-open .apd-burger__bars::after{ transform:translateY(-5px) rotate(-45deg); }

/* căutare */
.apd-search{ display:none; background:var(--apd-paper); border-top:1px solid var(--apd-line); padding:14px 0; }
.apd-header.is-search .apd-search{ display:block; }
.apd-search__row{ display:flex; gap:12px; }
.apd-search__input{
	flex:1; min-width:0; height:44px; padding:0 18px; font:400 16px var(--apd-sans); color:var(--apd-ink);
	background:#fff; border:1.5px solid var(--apd-ink); border-radius:100px; box-shadow:none; margin:0;
}

/* meniu – desktop */
@media (min-width:1100px){
	.apd-burger{ display:none; }
	.apd-header__cta{ display:inline-flex; }
	.apd-nav{
		display:block; position:static; padding:0; background:none; border:0; max-height:none; overflow:visible; flex:1;
	}
	.apd-nav__cta{ display:none; }
	.apd-menu{ display:flex; justify-content:center; align-items:center; gap:4px; }
	.apd-menu__item{ position:relative; }
	.apd-menu__link, .apd-menu__toggle{
		width:auto; padding:10px 12px; font-size:15px; border:0; position:relative; white-space:nowrap;
	}
	.apd-menu__toggle svg{ display:block; transition:transform .15s ease; }
	.apd-menu__link::after{
		content:""; position:absolute; left:12px; right:12px; bottom:4px; height:2px; background:var(--apd-coral);
		transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
	}
	.apd-menu__link:hover::after, .apd-menu__item:focus-within > .apd-menu__link::after{ transform:scaleX(1); }

	.apd-sub{
		position:absolute; top:100%; left:0; min-width:230px; padding:8px; z-index:5;
		background:#fff; border:1px solid var(--apd-line); border-radius:14px; box-shadow:0 18px 34px rgba(16,24,40,.14);
		opacity:0; visibility:hidden; transform:translateY(6px); transition:opacity .15s ease, transform .15s ease, visibility .15s;
	}
	.apd-sub a{ padding:10px 12px; border:0; border-radius:8px; color:var(--apd-ink); font-size:14.5px; }
	.apd-sub a:hover{ background:var(--apd-paper); }
	.apd-menu__item:hover > .apd-sub,
	.apd-menu__item:focus-within > .apd-sub,
	.apd-menu__item.is-open > .apd-sub{ opacity:1; visibility:visible; transform:none; }
	.apd-menu__item.is-open > .apd-menu__toggle svg{ transform:rotate(180deg); }
}

/* ---------- Hero ---------- */
.apd-hero{ position:relative; padding:70px 0 0; overflow:hidden; background:var(--apd-paper); }
.apd-hero__bgword{
	position:absolute; top:-6px; left:50%; transform:translateX(-50%); z-index:0; pointer-events:none; white-space:nowrap;
	font-family:var(--apd-serif); font-weight:900; font-size:clamp(90px,17vw,220px); letter-spacing:-.02em;
	color:transparent; -webkit-text-stroke:1.5px rgba(16,24,40,.08);
}
.apd-hero__diag{
	position:absolute; right:0; bottom:0; width:100%; height:44%; z-index:0; background:var(--apd-blue);
	clip-path:polygon(0 22%, 100% 0, 100% 100%, 0 100%);
}
.apd-hero__diag::after{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 20%, rgba(255,255,255,.16), transparent 45%); }
@media (min-width:920px){
	.apd-hero__diag{ top:0; bottom:auto; width:56%; height:130%; clip-path:polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
}
.apd-hero__grid{ position:relative; z-index:2; display:grid; grid-template-columns:1fr; gap:40px; align-items:start; padding-bottom:90px; }
@media (min-width:920px){ .apd-hero__grid{ grid-template-columns:1.1fr .9fr; } }

.apd-eyebrow{
	display:inline-flex; align-items:center; gap:8px; margin:0 0 22px; padding:7px 14px; border-radius:100px;
	background:var(--apd-yellow); color:var(--apd-ink); font-size:13.5px; font-weight:600; transform:rotate(-2deg);
}
.apd-pulse{ width:7px; height:7px; border-radius:50%; background:var(--apd-coral-strong); animation:apd-blink 1.6s ease-in-out infinite; }
.apd-modern h1.apd-hero__title{
	font-weight:700; font-size:clamp(42px,6.6vw,76px); line-height:.98; letter-spacing:-.015em; margin:0 0 24px; max-width:12ch;
}
.apd-hero__title em{ font-style:italic; color:var(--apd-coral-text); }
.apd-hero__sub{ font-size:18.5px; color:#3A3F4B; max-width:42ch; margin:0 0 8px; }

.apd-hero__visual{ position:relative; padding-top:10px; --r:2.5deg; }
.apd-signal{
	position:relative; padding:30px; border-radius:20px; background:#fff; color:var(--apd-ink);
	transform:rotate(2.5deg); box-shadow:0 24px 50px rgba(16,24,40,.18); transition:transform .3s ease;
}
.apd-signal:hover{ transform:rotate(0deg) translateY(-4px); }
.apd-signal__tag{ display:inline-block; margin-bottom:16px; padding:5px 12px; border-radius:100px; background:var(--apd-yellow); font-size:12.5px; font-weight:700; }
.apd-signal__title{ font-size:22px; line-height:1.26; margin:0 0 14px; }
.apd-signal__text{ font-size:14.5px; line-height:1.55; color:var(--apd-meta); margin:0 0 20px; }
.apd-signal__more{ display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:700; color:var(--apd-coral-text) !important; }
.apd-signal__more svg{ transition:transform .15s ease; }
.apd-signal__more:hover svg{ transform:translateX(3px); }
.apd-chip{
	position:absolute; z-index:3; top:-20px; left:10px; padding:10px 16px; border-radius:100px; transform:rotate(-6deg);
	background:var(--apd-ink); color:#fff; font-size:13px; font-weight:700; box-shadow:0 8px 18px rgba(16,24,40,.3);
}

/* ---------- Ticker ---------- */
.apd-ticker{ position:relative; z-index:3; overflow:hidden; background:var(--apd-ink); border-top:3px solid var(--apd-coral); border-bottom:3px solid var(--apd-coral); }
.apd-ticker__track{ display:flex; width:max-content; animation:apd-scroll 36s linear infinite; }
.apd-ticker:hover .apd-ticker__track, .apd-ticker:focus-within .apd-ticker__track{ animation-play-state:paused; }
.apd-ticker__item{
	display:flex; align-items:center; gap:14px; padding:14px 36px; white-space:nowrap; font-size:14.5px; font-weight:500;
	color:#fff; border-right:1px solid rgba(255,255,255,.15);
}
.apd-ticker__item a{ color:#fff !important; }
.apd-ticker__item a:hover{ text-decoration:underline !important; }
.apd-badge{ padding:3px 9px; border-radius:100px; background:var(--apd-yellow); color:var(--apd-ink); font-size:11px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }

/* ---------- Cifre ---------- */
.apd-stats{ padding:70px 0 20px; }
.apd-stats__row{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
@media (min-width:800px){ .apd-stats__row{ grid-template-columns:repeat(4,1fr); } }
.apd-stat{ padding:24px; border:1px solid var(--apd-line); border-radius:18px; background:#fff; transition:transform .2s ease, box-shadow .2s ease; }
.apd-stat:nth-child(odd){ transform:rotate(-1.4deg); }
.apd-stat:nth-child(even){ transform:rotate(1.4deg); }
.apd-stat:hover{ transform:rotate(0) translateY(-3px); box-shadow:0 14px 26px rgba(16,24,40,.1); }
.apd-stat__num{ display:block; margin-bottom:6px; font-family:var(--apd-serif); font-weight:700; font-size:clamp(28px,3.6vw,38px); line-height:1.1; color:var(--apd-blue); }
.apd-stat__label{ display:block; font-size:16px; font-weight:700; line-height:1.35; color:var(--apd-meta); }

/* ---------- Titluri de secțiune ---------- */
.apd-sechead{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:32px; }
.apd-modern .apd-sechead h2{ font-size:32px; font-weight:600; }
.apd-link{ display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--apd-blue) !important; }
.apd-link svg{ transition:transform .15s ease; }
.apd-link:hover svg{ transform:translateX(3px); }
.apd-hint{ display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--apd-meta); }
@media (min-width:1180px){ .apd-hint{ display:none; } } /* pe ecrane late cele 4 carduri încap, nu se mai derulează */

/* ---------- Noutăți ---------- */
.apd-news{ padding:76px 0; }
.apd-news__grid{ display:grid; grid-template-columns:1fr; gap:28px; }
@media (min-width:900px){ .apd-news__grid{ grid-template-columns:1.3fr 1fr; } }
.apd-feature{ position:relative; overflow:hidden; padding:38px; border-radius:22px; background:var(--apd-ink); color:#fff; }
.apd-feature::before{ content:""; position:absolute; top:-90px; right:-90px; width:220px; height:220px; border-radius:50%; background:var(--apd-coral); opacity:.25; }
.apd-feature > *{ position:relative; }
.apd-feature__cat{ display:inline-block; margin-bottom:16px; padding:4px 12px; border-radius:100px; background:var(--apd-yellow); color:var(--apd-ink); font-size:12.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }
.apd-feature__title{ font-size:30px; line-height:1.18; margin:0 0 16px; }
.apd-feature__title a:hover{ text-decoration:underline !important; }
.apd-feature__text{ max-width:50ch; margin:0 0 18px; font-size:15.5px; color:#C7CBDA; }
.apd-feature__meta{ font-size:13px; color:#9AA1B4; }

.apd-newslist{ display:flex; flex-direction:column; gap:14px; }
.apd-newsitem{
	display:grid; grid-template-columns:50px 1fr; gap:16px; align-items:center; padding:18px 20px;
	border:1px solid var(--apd-line); border-radius:16px; background:#fff; transition:border-color .15s ease, transform .15s ease;
}
.apd-newsitem:hover{ border-color:var(--apd-blue); transform:translateX(4px) rotate(-.4deg); }
.apd-newsitem__date{ text-align:center; line-height:1.15; }
.apd-newsitem__date strong{ display:block; font-family:var(--apd-serif); font-size:21px; font-weight:700; color:var(--apd-blue); }
.apd-newsitem__date span{ font-size:11.5px; color:var(--apd-meta); text-transform:uppercase; }
.apd-newsitem__body{ display:block; min-width:0; }
.apd-newsitem__tag{ display:block; margin-bottom:2px; font-size:11.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:var(--apd-coral-text); }
.apd-newsitem__title{ display:block; font-size:15.5px; font-weight:600; line-height:1.35; color:var(--apd-ink); }

/* ---------- Proiecte ---------- */
.apd-projects{ padding:20px 0 76px; }
.apd-scroll{ display:flex; gap:20px; overflow-x:auto; padding:14px 4px 26px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.apd-scroll::-webkit-scrollbar{ height:8px; }
.apd-scroll::-webkit-scrollbar-thumb{ background:var(--apd-line); border-radius:10px; }
.apd-pcard{
	flex:1 0 250px; scroll-snap-align:start; display:flex; flex-direction:column; justify-content:space-between; gap:18px;
	min-height:200px; padding:26px; border-radius:20px; color:#fff !important; transition:transform .25s ease;
}
.apd-pcard:nth-child(odd){ transform:rotate(-1.6deg); }
.apd-pcard:nth-child(even){ transform:rotate(1.6deg); }
.apd-pcard:hover{ transform:rotate(0) translateY(-6px) scale(1.02); }
.apd-pcard__icon{ display:block; }
.apd-pcard__title{ display:block; font-family:var(--apd-serif); font-size:22px; font-weight:600; line-height:1.25; }
.apd-pcard--blue{ background:var(--apd-blue); }
.apd-pcard--coral{ background:var(--apd-coral-strong); }
.apd-pcard--ink{ background:var(--apd-ink); }
.apd-pcard--yellow{ background:var(--apd-yellow); color:var(--apd-ink) !important; }
.apd-pcard--yellow 
/* ---------- Puncte de vedere ---------- */
.apd-voices{ padding:20px 0 76px; }
.apd-voices__grid{ display:grid; grid-template-columns:1fr; gap:24px; }
@media (min-width:800px){ .apd-voices__grid{ grid-template-columns:repeat(3,1fr); } }
.apd-voice{ display:flex; flex-direction:column; justify-content:space-between; gap:24px; padding:28px; border:1px solid var(--apd-line); border-radius:20px; background:#fff; transition:transform .2s ease; }
.apd-voice:nth-child(1){ transform:rotate(-1deg); }
.apd-voice:nth-child(3){ transform:rotate(1deg); }
.apd-voice:hover{ transform:rotate(0) translateY(-4px); }
.apd-voice__title{ font-size:20px; line-height:1.3; }
.apd-voice__title a:hover{ color:var(--apd-blue) !important; }
.apd-voice__who{ display:flex; align-items:center; gap:10px; }
.apd-avatar{ width:38px; height:38px; flex-shrink:0; display:flex; align-items:center; justify-content:center; border-radius:50%; font-family:var(--apd-serif); font-size:14px; font-weight:600; color:#fff; }
.apd-avatar--blue{ background:var(--apd-blue); }
.apd-avatar--coral{ background:var(--apd-coral-strong); }
.apd-avatar--ink{ background:var(--apd-ink); }
.apd-voice__text strong{ display:block; font-size:14px; }
.apd-voice__text span{ font-size:12.5px; color:var(--apd-meta); }

/* ---------- Afilieri ---------- */
.apd-affil{ padding:0 0 76px; }
.apd-affil__box{ position:relative; overflow:hidden; padding:44px; border-radius:24px; background:var(--apd-ink); color:#fff; }
.apd-affil__box::after{ content:""; position:absolute; right:-100px; bottom:-140px; width:300px; height:300px; border-radius:50%; background:var(--apd-blue); opacity:.35; pointer-events:none; }
.apd-affil__box > *{ position:relative; z-index:1; }
.apd-modern .apd-affil__title{ font-size:28px; margin-bottom:22px; }
.apd-affil__label{ margin:0 0 12px; font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:#9AA1B4; }
.apd-chips{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:26px; }
.apd-chips:last-child{ margin-bottom:0; }
.apd-chips a{ display:block; padding:10px 18px; border-radius:100px; background:rgba(255,255,255,.08); font-family:var(--apd-serif); font-size:15px; color:#fff !important; transition:background .15s ease, color .15s ease; }
.apd-chips a:hover{ background:var(--apd-yellow); color:var(--apd-ink) !important; }
@media (max-width:640px){ .apd-affil__box{ padding:30px 22px; } }

/* ---------- Subsol ---------- */
.apd-footer{ padding:60px 0 32px; background:var(--apd-paper); border-top:1px solid var(--apd-line); }
.apd-footer__grid{ display:grid; grid-template-columns:1fr; gap:36px; margin-bottom:44px; }
@media (min-width:700px){ .apd-footer__grid{ grid-template-columns:1.5fr 1fr 1fr 1fr; } }
.apd-footer__about p{ max-width:34ch; margin-top:16px; font-size:14px; color:var(--apd-meta); }
.apd-modern .apd-footer__heading{ margin:0 0 14px; font-family:var(--apd-sans); font-size:13px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:var(--apd-meta); }
.apd-footer__col ul{ display:flex; flex-direction:column; gap:11px; }
.apd-footer__col a{ font-size:14.5px; }
.apd-footer__col a:hover{ color:var(--apd-coral-text) !important; }

.apd-funders{ padding:0 0 76px; }
.apd-funders__list{ display:flex; flex-wrap:wrap; gap:14px; }
.apd-funders__list a{
	display:flex; align-items:center; justify-content:center; width:132px; height:72px; padding:10px;
	border:1px solid var(--apd-line); border-radius:12px; background:#fff;
}
.apd-funders__list img{ max-height:52px; width:auto; max-width:100%; object-fit:contain; filter:grayscale(1); opacity:.8; transition:filter .2s ease, opacity .2s ease; }
.apd-funders__list a:hover img{ filter:none; opacity:1; }

.apd-footer__bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding-top:22px; border-top:1px solid var(--apd-line); font-size:13px; color:var(--apd-meta); }
.apd-footer__bottom a{ text-decoration:underline !important; }


/* ---------- Buton-link (ex. „Setări cookie” din subsol) ---------- */
.apd-textbtn{ padding:0; border:0; background:none; font:inherit; color:inherit; text-decoration:underline; cursor:pointer; }
.apd-textbtn:hover{ color:var(--apd-coral-text); }

/* ---------- Mobil: ajustări ---------- */
@media (max-width:640px){
	.apd-stat{ padding:20px 18px; }
	.apd-stat__label{ font-size:15px; }
	.apd-hero{ padding-top:44px; }
	.apd-hero__grid{ padding-bottom:70px; gap:34px; }
	.apd-hero__sub{ font-size:17px; }
	.apd-signal{ padding:24px; }
	.apd-feature{ padding:28px 24px; }
	.apd-feature__title{ font-size:25px; }
	.apd-news, .apd-projects, .apd-voices, .apd-affil, .apd-funders{ padding-bottom:56px; }
	.apd-news{ padding-top:56px; }
	.apd-modern .apd-sechead h2{ font-size:27px; }
	.apd-pcard{ flex-basis:250px; }
}

/* ---------- Respectă „reduce motion” ---------- */
@media (prefers-reduced-motion: reduce){
	.apd-modern *, .apd-modern *::before, .apd-modern *::after{ animation:none !important; transition:none !important; }
	html{ scroll-behavior:auto; }
	.apd-ticker{ overflow-x:auto; }
	.apd-rise{ opacity:1; }
}
