/* Adaptation légère de l'index original : motifs Ndop + nouvelle section actualités */
:root{--iyf-blue:#0a2f6b;--iyf-blue-2:#134f9f;--iyf-green:#57b947;--iyf-gold:#f1b94c;--iyf-ink:#13243d;}

/* Motif Ndop discret sur l'index sans modifier le styling d'origine */
.hero-section-8,.project-section-8,.cta-section-4,.sponsor-section{position:relative;overflow:hidden}
.hero-section-8:after{content:"";position:absolute;left:0;right:0;bottom:0;height:12px;z-index:3;opacity:.8;background-color:var(--iyf-blue);background-image:linear-gradient(45deg,transparent 35%,rgba(255,255,255,.95) 35% 43%,transparent 43% 57%,rgba(87,185,71,.95) 57% 65%,transparent 65%),linear-gradient(-45deg,transparent 35%,rgba(241,185,76,.95) 35% 43%,transparent 43% 57%,rgba(255,255,255,.95) 57% 65%,transparent 65%);background-size:48px 24px}

.iyf-news-section{background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);isolation:isolate}
.iyf-news-section:before{content:"";position:absolute;inset:0;z-index:-2;opacity:.045;background-image:linear-gradient(45deg,var(--iyf-blue) 25%,transparent 25%),linear-gradient(-45deg,var(--iyf-blue) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--iyf-blue) 75%),linear-gradient(-45deg,transparent 75%,var(--iyf-blue) 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}
.iyf-ndop-band{position:absolute;top:0;left:0;width:100%;height:18px;background-color:var(--iyf-blue);background-image:linear-gradient(45deg,transparent 36%,#fff 36% 43%,transparent 43% 57%,var(--iyf-green) 57% 64%,transparent 64%),linear-gradient(-45deg,transparent 36%,var(--iyf-gold) 36% 43%,transparent 43% 57%,#fff 57% 64%,transparent 64%);background-size:54px 27px;box-shadow:0 5px 18px rgba(10,47,107,.12)}
.iyf-ndop-corner{position:absolute;right:-45px;bottom:-45px;width:190px;height:190px;border-radius:50%;opacity:.09;background:repeating-conic-gradient(var(--iyf-blue) 0 10deg,transparent 10deg 20deg),radial-gradient(circle at center,var(--iyf-green) 0 25%,transparent 26% 42%,var(--iyf-gold) 43% 55%,transparent 56%)}
.iyf-news-heading{align-items:flex-end}.iyf-news-intro{max-width:720px;margin-top:18px;color:#5d6878;font-size:17px;line-height:1.75}.iyf-news-grid{margin-top:6px}
.iyf-featured-news,.iyf-news-small{background:#fff;border:1px solid rgba(10,47,107,.1);box-shadow:0 18px 50px rgba(18,48,89,.09);transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}
.iyf-featured-news:hover,.iyf-news-small:hover{transform:translateY(-6px);box-shadow:0 24px 60px rgba(18,48,89,.15);border-color:rgba(87,185,71,.35)}
.iyf-featured-news{border-radius:24px;overflow:hidden;height:100%}.iyf-news-image{display:block;position:relative;height:350px;overflow:hidden}.iyf-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}.iyf-featured-news:hover .iyf-news-image img{transform:scale(1.05)}
.iyf-news-category{position:absolute;left:24px;top:24px;background:var(--iyf-green);color:#fff;border-radius:999px;padding:9px 16px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.iyf-news-content{padding:30px}.iyf-news-meta{font-size:13px;color:var(--iyf-blue-2);font-weight:700;margin-bottom:12px}.iyf-news-meta i{margin-right:7px}.iyf-news-content h3{font-size:30px;line-height:1.25;margin-bottom:14px}.iyf-news-content h3 a{color:var(--iyf-ink)}.iyf-news-content p{color:#637083;line-height:1.75;margin-bottom:22px}.iyf-read-more{color:var(--iyf-blue);font-weight:800}.iyf-read-more i{margin-left:8px;transition:transform .25s}.iyf-read-more:hover i{transform:translateX(5px)}
.iyf-news-list{display:flex;flex-direction:column;gap:20px;height:100%}.iyf-news-small{border-radius:20px;padding:16px;display:grid;grid-template-columns:190px 1fr;gap:20px;align-items:center;flex:1}.iyf-small-image{height:150px;border-radius:14px;overflow:hidden}.iyf-small-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.iyf-news-small:hover img{transform:scale(1.06)}.iyf-news-small span{display:inline-block;color:var(--iyf-green);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}.iyf-news-small h3{font-size:20px;line-height:1.3;margin-bottom:8px}.iyf-news-small h3 a{color:var(--iyf-ink)}.iyf-news-small p{font-size:14px;color:#697487;line-height:1.55;margin:0}

@media(max-width:991px){.iyf-news-heading{align-items:flex-start}.iyf-news-heading .project-top-btn{margin-top:25px}.iyf-news-image{height:300px}.iyf-news-list{margin-top:8px}}
@media(max-width:575px){.iyf-news-section{padding-top:95px;padding-bottom:90px}.iyf-news-content{padding:22px}.iyf-news-content h3{font-size:23px}.iyf-news-image{height:240px}.iyf-news-small{grid-template-columns:1fr;padding:14px}.iyf-small-image{height:210px}.iyf-news-small h3{font-size:19px}.iyf-ndop-band{height:14px;background-size:42px 21px}}

/* Finition 2026 : fond actualités chic, culturel et lisible */
.iyf-news-section{position:relative!important;background:
radial-gradient(circle at 12% 22%,rgba(241,184,75,.14),transparent 22%),
radial-gradient(circle at 87% 78%,rgba(88,185,71,.13),transparent 24%),
linear-gradient(135deg,#f9fbff 0%,#f4f7fb 48%,#fffaf1 100%)!important;overflow:hidden}
.iyf-news-section:before{content:"";position:absolute;inset:0;z-index:0!important;opacity:.1!important;background-image:
linear-gradient(45deg,transparent 38%,#0b3f8f 38% 42%,transparent 42% 58%,#55b948 58% 62%,transparent 62%),
linear-gradient(-45deg,transparent 38%,#f1b84b 38% 42%,transparent 42% 58%,#0b3f8f 58% 62%,transparent 62%)!important;background-size:92px 46px!important;background-position:center top!important;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 78%)}
.iyf-news-section .container{z-index:2}.iyf-news-section .section-title{color:#071b3d!important}.iyf-news-section .sub-heading{color:#0b3f8f!important}.iyf-news-intro{color:#5d6878!important}
.iyf-featured-news,.iyf-news-small{background:rgba(255,255,255,.92)!important;backdrop-filter:blur(12px);border:1px solid rgba(11,63,143,.1)!important}
.iyf-featured-news{box-shadow:0 30px 90px rgba(7,27,61,.12)!important}.iyf-news-small{box-shadow:0 18px 50px rgba(7,27,61,.09)!important}
.iyf-news-image:after,.iyf-small-image:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(to top,rgba(5,20,45,.48),transparent);pointer-events:none}.iyf-small-image{position:relative}
.iyf-news-category{z-index:2;box-shadow:0 10px 24px rgba(25,105,37,.24)}
.iyf-news-content h3 a,.iyf-news-small h3 a{color:#10213c!important}.iyf-news-content p,.iyf-news-small p{color:#667285!important}
[data-theme=dark] .iyf-news-section{background:radial-gradient(circle at 12% 22%,rgba(241,184,75,.08),transparent 22%),radial-gradient(circle at 87% 78%,rgba(88,185,71,.08),transparent 24%),linear-gradient(135deg,#07152d 0%,#0a1d3c 52%,#07152d 100%)!important}
[data-theme=dark] .iyf-news-section .section-title,[data-theme=dark] .iyf-news-content h3 a,[data-theme=dark] .iyf-news-small h3 a{color:#fff!important}
[data-theme=dark] .iyf-news-intro,[data-theme=dark] .iyf-news-content p,[data-theme=dark] .iyf-news-small p{color:rgba(255,255,255,.68)!important}
[data-theme=dark] .iyf-featured-news,[data-theme=dark] .iyf-news-small{background:rgba(10,29,60,.9)!important;border-color:rgba(255,255,255,.1)!important}
[data-theme=dark] .iyf-news-meta{color:#8ebeff!important}
