/* Nyeleni d'Afrique : système visuel */
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(../fonts/worksans-latin.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
	--ny-ink: #1e1a17;
	--ny-muted: #5e5249;
	--ny-terre: #a8431f;
	--ny-terre-dark: #85331a;
	--ny-ocre: #d9962b;
	--ny-indigo: #1d2b4f;
	--ny-sand: #f4e8d8;
	--ny-cream: #fcf8f2;
	--ny-line: #e6d8c5;
	--ny-radius: 14px;
	--ny-serif: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ny-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ny-wrap: 1200px;
	--ny-pattern: repeating-linear-gradient(90deg, var(--ny-ocre) 0 14px, transparent 14px 22px, var(--ny-terre) 22px 30px, transparent 30px 44px);
}

body { margin: 0; background: var(--ny-cream); color: var(--ny-ink); font: 400 1.0625rem/1.65 var(--ny-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--ny-serif); font-weight: 700; line-height: 1.2; color: var(--ny-indigo); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
a { color: var(--ny-terre); }
a:hover { color: var(--ny-terre-dark); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--ny-ocre); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 8px 14px; }

.ny-wrap { max-width: var(--ny-wrap); margin: 0 auto; padding: 0 20px; }
.ny-section { padding: clamp(48px, 8vw, 96px) 0; }
.ny-section--sand { background: var(--ny-sand); }
.ny-eyebrow { display: inline-block; font: 600 .8rem/1 var(--ny-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ny-terre); margin-bottom: 14px; }

.ny-btn, .elementor-button.ny-btn { display: inline-block; background: var(--ny-terre); color: #fff !important; padding: 14px 26px; border-radius: 999px; font: 600 1rem/1 var(--ny-sans); text-decoration: none; border: 0; cursor: pointer; transition: background .2s; }
.ny-btn:hover { background: var(--ny-terre-dark); }
.ny-btn--small { padding: 10px 18px; font-size: .92rem; }
.ny-btn--light { background: #fff; color: var(--ny-indigo) !important; }
.ny-btn--light:hover { background: var(--ny-sand); }

.ny-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 248, 242, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ny-line); }
.admin-bar .ny-header { top: 32px; }
.ny-header::before { content: ""; display: block; height: 5px; background: var(--ny-pattern); }
.ny-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; position: relative; }
.ny-brand img { max-height: 84px; width: auto; }
.ny-brand__name { font: 700 1.5rem/1 var(--ny-serif); color: var(--ny-indigo); text-decoration: none; }
.ny-brand__name em, .ny-footer__brand em { color: var(--ny-terre); font-style: normal; }
.ny-nav { display: flex; align-items: center; gap: 28px; }
.ny-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.ny-nav li { position: relative; }
.ny-nav a:not(.ny-btn) { color: var(--ny-ink); text-decoration: none; font-weight: 500; padding: 8px 0; display: block; }
.ny-nav a:not(.ny-btn):hover, .ny-nav .current-menu-item > a { color: var(--ny-terre); }
.ny-nav .sub-menu { display: none; position: absolute; top: 100%; left: -14px; background: #fff; border: 1px solid var(--ny-line); border-radius: 10px; padding: 8px 14px; min-width: 200px; flex-direction: column; gap: 0; box-shadow: 0 12px 30px rgba(30, 26, 23, .08); }
.ny-nav li:hover > .sub-menu, .ny-nav li:focus-within > .sub-menu { display: flex; }
.ny-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.ny-burger span:first-child, .ny-burger span:first-child::before, .ny-burger span:first-child::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ny-indigo); content: ""; transition: .2s; }
.ny-burger span:first-child { top: 21px; }
.ny-burger span:first-child::before { left: 0; top: -7px; }
.ny-burger span:first-child::after { left: 0; top: 7px; }
.ny-nav-open .ny-burger span:first-child { background: transparent; }
.ny-nav-open .ny-burger span:first-child::before { top: 0; transform: rotate(45deg); }
.ny-nav-open .ny-burger span:first-child::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
	.ny-burger { display: block; }
	.ny-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ny-cream); flex-direction: column; align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--ny-line); }
	.ny-nav-open .ny-nav { display: flex; }
	.ny-nav ul { flex-direction: column; gap: 0; }
	.ny-nav a:not(.ny-btn) { padding: 12px 0; border-bottom: 1px solid var(--ny-line); }
	.ny-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: none; }
	.ny-nav .ny-btn { text-align: center; margin-top: 12px; }
}

.ny-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ny-card a { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: var(--ny-radius); overflow: hidden; height: 100%; border: 1px solid var(--ny-line); transition: transform .25s, box-shadow .25s; }
.ny-card a:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(30, 26, 23, .10); }
.ny-card__media { aspect-ratio: 4 / 5; background: var(--ny-sand); overflow: hidden; }
.ny-card--post .ny-card__media, .ny-card--initiative .ny-card__media, .ny-card--publication .ny-card__media { aspect-ratio: 16 / 10; }
.ny-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ny-card__ph { display: block; width: 100%; height: 100%; background: var(--ny-pattern), var(--ny-sand); opacity: .35; }
.ny-card__body { padding: 18px 20px 22px; }
.ny-card__title { margin: 6px 0 4px; font-size: 1.2rem; }
.ny-card__meta { margin: 0; color: var(--ny-muted); font-size: .95rem; }
.ny-tag { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ny-terre); }
.ny-tags { display: flex; gap: 12px; flex-wrap: wrap; }
.ny-empty { color: var(--ny-muted); font-style: italic; }

.ny-vedette { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.ny-vedette__media img { border-radius: var(--ny-radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: 18px 18px 0 var(--ny-ocre); }
.ny-vedette h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.ny-vedette blockquote, .ny-profile__quote { margin: 20px 0 28px; padding-left: 20px; border-left: 4px solid var(--ny-ocre); font: 500 1.15rem/1.6 var(--ny-sans); color: var(--ny-indigo); }
@media (max-width: 760px) { .ny-vedette { grid-template-columns: 1fr; } .ny-vedette__media img { box-shadow: 10px 10px 0 var(--ny-ocre); } }

.ny-elan { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ny-quote { margin: 0; background: var(--ny-indigo); color: #fff; border-radius: var(--ny-radius); padding: 32px 28px; position: relative; }
.ny-quote::before { content: "\201C"; position: absolute; top: -6px; left: 20px; font: 700 5rem/1 var(--ny-serif); color: var(--ny-ocre); }
.ny-quote blockquote { margin: 24px 0 18px; font: 500 1.08rem/1.6 var(--ny-sans); }
.ny-quote figcaption a { color: var(--ny-ocre); font-weight: 600; text-decoration: none; }

.ny-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.ny-stat strong { display: block; font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--ny-serif); color: var(--ny-terre); }
.ny-stat span { color: var(--ny-muted); }
@media (max-width: 700px) { .ny-stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

.ny-pagehead { background: var(--ny-sand); padding: clamp(48px, 7vw, 88px) 0 40px; position: relative; }
.ny-pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ny-pattern); opacity: .7; }
.ny-pagehead p { max-width: 680px; color: var(--ny-muted); font-size: 1.12rem; }
.ny-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ny-filters input, .ny-filters select { font: inherit; padding: 12px 16px; border: 1px solid var(--ny-line); border-radius: 999px; background: #fff; min-width: 200px; box-sizing: border-box; }
.ny-filters label:first-child { flex: 1 1 260px; }
.ny-filters label:first-child input { width: 100%; }

.ny-profile__head { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(24px, 5vw, 64px); padding-top: 48px; padding-bottom: 32px; align-items: start; }
.ny-profile__media img { border-radius: var(--ny-radius); width: 100%; }
.ny-profile__role { font-size: 1.2rem; color: var(--ny-muted); margin-top: -6px; }
.ny-back { display: inline-block; margin-bottom: 18px; text-decoration: none; font-weight: 500; }
.ny-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ny-chip { border: 1px solid var(--ny-line); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-size: .92rem; background: #fff; }
@media (max-width: 760px) { .ny-profile__head { grid-template-columns: 1fr; } }

.ny-prose { max-width: 760px; padding-bottom: 64px; }
.ny-prose img { border-radius: var(--ny-radius); margin: 24px 0; }
.ny-article__head { max-width: 860px; padding-top: 56px; }
.ny-article__media { max-width: 960px; margin-bottom: 32px; }
.ny-article__media img { border-radius: var(--ny-radius); width: 100%; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--ny-line); text-decoration: none; }
.nav-links .current { background: var(--ny-indigo); color: #fff; }

.ny-footer { background: var(--ny-indigo); color: #e9e4f0; }
.ny-footer::before { content: ""; display: block; height: 6px; background: var(--ny-pattern); }
.ny-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.ny-footer__brand { font: 700 1.6rem/1 var(--ny-serif); color: #fff; }
.ny-footer__brand em { color: var(--ny-ocre); }
.ny-footer ul { list-style: none; padding: 0; margin: 0; }
.ny-footer li { margin-bottom: 8px; }
.ny-footer a:not(.ny-btn) { color: #fff; text-decoration: none; }
.ny-footer a:not(.ny-btn):hover { color: var(--ny-ocre); }
.ny-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; padding-bottom: 24px; font-size: .9rem; color: #bfb9cc; }
@media (max-width: 800px) { .ny-footer__grid { grid-template-columns: 1fr; } }

.ny-hero { background: var(--ny-indigo); color: #fff; position: relative; overflow: hidden; }
.ny-hero h1, .ny-hero .elementor-heading-title { color: #fff !important; }
.ny-hero .ny-eyebrow { color: var(--ny-ocre); }
.ny-hero::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 220px; background: var(--ny-pattern); transform: skewX(-12deg); opacity: .5; pointer-events: none; }
.ny-hero p { color: #e4e0ee; font-size: 1.15rem; max-width: 620px; }
.ny-cta { background: var(--ny-terre); color: #fff; }
.ny-cta h2, .ny-cta .elementor-heading-title { color: #fff !important; }
.ny-cta p { color: #fbeee6; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--ny-serif); }
.elementor-widget-text-editor { font-family: var(--ny-sans); }

.wpcf7 input:not([type=submit]):not([type=checkbox]), .wpcf7 textarea, .wpcf7 select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--ny-line); border-radius: 10px; background: #fff; box-sizing: border-box; }
.wpcf7 label { display: block; font-weight: 500; margin-bottom: 14px; }
.wpcf7 input[type=submit] { background: var(--ny-terre); color: #fff; border: 0; border-radius: 999px; padding: 14px 28px; font: 600 1rem var(--ny-sans); cursor: pointer; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.ny-quote--img { padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--ny-line); }
.ny-quote--img::before { display: none; }
.ny-quote--img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ny-quote--img figcaption { padding: 14px 20px; }
.ny-quote--img figcaption a { color: var(--ny-terre); }

/* Les visuels de L'Élan sont carrés : on les montre en entier */
.ny-card--portrait .ny-card__media { aspect-ratio: 1 / 1; }
.ny-vedette__media img { aspect-ratio: auto; object-fit: contain; }

/* --- v1.1 : menu, slider, boutons « Voir plus » --- */
.ny-nav .menu-item > a:not(.ny-btn) { padding: 8px 14px !important; border-radius: 999px; transition: background .2s, color .2s; }
.ny-nav .menu-item > a:not(.ny-btn):hover { background: var(--ny-sand); color: var(--ny-terre) !important; }
.ny-nav .current-menu-item > a:not(.ny-btn), .ny-nav .current-menu-item > a:not(.ny-btn):hover { background: var(--ny-indigo); color: #fff !important; }
.ny-nav ul { gap: 6px; }
@media (max-width: 960px) { .ny-nav .current-menu-item > a { display: inline-block !important; margin: 8px 0; border-bottom: 0 !important; } }

.ny-more { text-align: center; margin-top: 32px; }
.ny-more .ny-btn { background: transparent; color: var(--ny-terre) !important; border: 2px solid var(--ny-terre); }
.ny-more .ny-btn:hover { background: var(--ny-terre); color: #fff !important; }

.ny-slider { position: relative; background: var(--ny-indigo); color: #fff; overflow: hidden; }
.ny-slider::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ny-pattern); }
.ny-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ny-slides::-webkit-scrollbar { display: none; }
.ny-slide { flex: 0 0 100%; scroll-snap-align: start; }
.ny-slide__inner { max-width: var(--ny-wrap); margin: 0 auto; padding: clamp(48px, 7vw, 96px) 20px clamp(72px, 8vw, 104px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; min-height: 420px; box-sizing: border-box; }
.ny-slide--text .ny-slide__inner { grid-template-columns: 1fr; }
.ny-slide h1, .ny-slide h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.3rem); margin-bottom: 18px; }
.ny-slide .ny-eyebrow { color: var(--ny-ocre); }
.ny-slide p { color: #e4e0ee; font-size: 1.12rem; max-width: 620px; }
.ny-slide__media img { width: 100%; max-height: 440px; object-fit: contain; border-radius: var(--ny-radius); box-shadow: 14px 14px 0 var(--ny-ocre); background: #fff; }
.ny-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ny-slider__nav { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.ny-slider__dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.ny-slider__dot[aria-current="true"] { background: var(--ny-ocre); border-color: var(--ny-ocre); }
.ny-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; cursor: pointer; }
.ny-slider__arrow:hover { background: var(--ny-terre); }
.ny-slider__arrow--prev { left: 14px; }
.ny-slider__arrow--next { right: 14px; }
@media (max-width: 760px) {
	.ny-slide__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
	.ny-slide__media { order: -1; }
	.ny-slide__media img { max-height: 280px; box-shadow: 8px 8px 0 var(--ny-ocre); }
	.ny-slider__arrow { display: none; }
}
figcaption, .wp-caption-text, em, i { font-style: normal; }
.ny-prose em { font-weight: 600; }

.ny-social { display: flex; gap: 10px; align-items: center; }
.ny-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; }
.ny-social--header a { background: var(--ny-indigo); color: #fff; }
.ny-social--header a:hover { background: var(--ny-terre); color: #fff; }
.ny-social--footer a { background: rgba(255,255,255,.12); color: #fff !important; }
.ny-social--footer a:hover { background: var(--ny-ocre); }
.ny-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.ny-credit a { color: var(--ny-ocre) !important; font-weight: 600; }
@media (max-width: 960px) { .ny-brand img { max-height: 64px; } .ny-header__inner { min-height: 80px; } .ny-social--header { margin-top: 12px; } }

.ny-nav .ny-social--header a { color: #fff !important; padding: 0 !important; border: 0 !important; background: #1877f2; }
.ny-nav .ny-social--header a:hover { background: var(--ny-terre); }
.ny-social svg { display: block; }

/* Réseaux sociaux : couleurs de marque dans l'en-tête */
.ny-social--header { gap: 6px; }
.ny-social--header a { width: 34px; height: 34px; }
.ny-nav .ny-social--header a.ny-social__instagram { background: #d62976; }
.ny-nav .ny-social--header a.ny-social__linkedin { background: #0a66c2; }
.ny-nav .ny-social--header a.ny-social__youtube { background: #ff0000; }
.ny-nav .ny-social--header a.ny-social__tiktok { background: #111; }
.ny-nav .ny-social--header a:hover { background: var(--ny-terre); }
/* En-tête : 5 réseaux sans retour à la ligne */
.ny-header .ny-wrap { max-width: 1360px; }
.ny-brand { flex-shrink: 0; }
.ny-nav .menu-item > a, .ny-nav .ny-btn { white-space: nowrap; }
.ny-nav .ny-social--header { margin-top: 0; flex-shrink: 0; gap: 5px; }
.ny-nav .ny-social--header a { display: inline-flex !important; width: 32px; height: 32px; }
@media (min-width: 961px) { .ny-nav { gap: 16px; } .ny-nav ul { gap: 2px; } .ny-nav .menu-item > a:not(.ny-btn) { padding: 8px 11px !important; } }
@media (min-width: 961px) and (max-width: 1240px) { .ny-nav .ny-social--header { display: none; } }
@media (max-width: 960px) { .ny-nav .ny-social--header { margin-top: 14px; } }
/* --- v1.3 --- */
/* Diaporama : dégradé bleu nuit avec une lueur rouge du logo */
.ny-slider { background: radial-gradient(ellipse at 88% 12%, rgba(196, 30, 36, .38), transparent 55%), radial-gradient(ellipse at 8% 100%, rgba(217, 150, 43, .22), transparent 50%), linear-gradient(135deg, #131d38 0%, #1d2b4f 45%, #2c4380 100%); }

/* Bandeau « À la une » */
.ny-flash { background: #fff; border-bottom: 1px solid var(--ny-line); }
.ny-flash__inner { display: flex; align-items: center; gap: 16px; min-height: 48px; }
.ny-flash__label { flex-shrink: 0; background: #c41e24; color: #fff; font: 700 .8rem/1 var(--ny-serif); text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; border-radius: 6px; }
.ny-flash__track { display: flex; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ny-flash ul { display: flex; flex-shrink: 0; list-style: none; margin: 0; padding: 0; animation: ny-ticker 60s linear infinite; }
.ny-flash__track:hover ul, .ny-flash__track:focus-within ul { animation-play-state: paused; }
.ny-flash li { white-space: nowrap; padding-right: 40px; }
.ny-flash li::before { content: "●"; color: var(--ny-ocre); margin-right: 12px; font-size: .7em; vertical-align: middle; }
.ny-flash a { color: var(--ny-indigo); text-decoration: none; font-weight: 500; }
.ny-flash a:hover { color: var(--ny-terre); text-decoration: underline; }
@keyframes ny-ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ny-flash ul { animation: none; } .ny-flash ul[aria-hidden] { display: none; } .ny-flash__track { overflow-x: auto; } }

/* Résumé d'une phrase sous les actualités */
.ny-card__excerpt { margin: 8px 0 0; color: var(--ny-ink); font-size: .95rem; line-height: 1.5; }
.ny-more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
/* --- v1.4 : diaporama, l'image de la diapositive en fond (voilée) + visuel agrandi --- */
.ny-slide--bg { background-image: linear-gradient(90deg, rgba(19, 29, 56, .95) 0%, rgba(19, 29, 56, .82) 42%, rgba(29, 43, 79, .45) 100%), var(--ny-bg); background-size: cover; background-position: center 25%; }
.ny-slide--bg .ny-slide__inner { grid-template-columns: 1fr 1fr; min-height: 560px; }
.ny-slide--bg .ny-slide__media img { max-height: 520px; }
.ny-slide--bg h2, .ny-slide--bg p { text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
@media (max-width: 760px) {
	.ny-slide--bg { background-image: linear-gradient(180deg, rgba(19, 29, 56, .55) 0%, rgba(19, 29, 56, .92) 55%), var(--ny-bg); }
	.ny-slide--bg .ny-slide__inner { grid-template-columns: 1fr; min-height: 0; }
	.ny-slide--bg .ny-slide__media img { max-height: 340px; }
}
/* Portraits : phrase d'accroche + invitation à lire la suite */
.ny-card--portrait .ny-card__excerpt { font-style: normal; }
.ny-card--portrait .ny-card__excerpt::after, .ny-card--post .ny-card__excerpt::after { content: " Lire la suite →"; color: var(--ny-terre); font-weight: 600; white-space: nowrap; }

/* Espaces publicitaires */
.ny-pub { max-width: 1200px; margin: 0 auto; text-align: center; }
.ny-pub__label { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ny-muted); margin-bottom: 6px; }
.ny-pub img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; border-radius: 12px; margin: 0 auto; }
.ny-pub--vide a { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 160px; padding: 24px; border: 2px dashed var(--ny-ocre); border-radius: 14px; background: repeating-linear-gradient(135deg, #fff 0 14px, var(--ny-cream) 14px 28px); color: var(--ny-ink); text-decoration: none; transition: border-color .2s, background .2s; }
.ny-pub--vide a:hover { border-color: var(--ny-terre); }
.ny-pub__titre { font: 700 clamp(1.3rem, 2.4vw, 1.8rem)/1.2 var(--ny-serif); color: var(--ny-terre); }
/* --- Bannière cookies --- */
.ny-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; display: flex; justify-content: center; }
.ny-cookie[hidden] { display: none; }
.ny-cookie__inner { width: 100%; max-width: 980px; display: flex; align-items: center; gap: 20px 28px; padding: 18px 22px; background: #fff; color: var(--ny-ink); border: 1px solid var(--ny-line); border-top: 5px solid var(--ny-ocre); border-radius: 14px; box-shadow: 0 18px 50px rgba(19, 29, 56, .22); }
.ny-cookie__text { margin: 0; flex: 1; font-size: .98rem; line-height: 1.55; }
.ny-cookie__text a { color: var(--ny-terre); font-weight: 600; }
.ny-cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.ny-cookie__btn { min-width: 120px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; color: #fff; font: 700 1rem/1 var(--ny-sans); cursor: pointer; transition: filter .2s, transform .2s; }
.ny-cookie__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ny-cookie__btn:focus-visible { outline: 3px solid var(--ny-indigo); outline-offset: 3px; }
.ny-cookie__btn--accept { background: #1e7e34; }
.ny-cookie__btn--refuse { background: #c0262d; }
.ny-cookie-open { color: inherit; text-decoration: underline; }
.ny-cookie-on .ny-footer { padding-bottom: 150px; }
@media (max-width: 760px) {
	.ny-cookie { left: 10px; right: 10px; bottom: 10px; }
	.ny-cookie__inner { flex-direction: column; align-items: stretch; padding: 16px; }
	.ny-cookie__actions { width: 100%; }
	.ny-cookie__btn { flex: 1; min-width: 0; }
	.ny-cookie-on .ny-footer { padding-bottom: 230px; }
}

/* --- Pages de texte (politique de confidentialité…) --- */
.ny-prose { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; color: var(--ny-ink); }
.ny-prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); color: var(--ny-indigo); margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--ny-line); }
.ny-prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.2em; }
.ny-prose p, .ny-prose ul { margin: 0 0 1.1em; }
.ny-prose ul { padding-left: 1.3em; }
.ny-prose li { margin-bottom: .6em; }
.ny-prose li::marker { color: var(--ny-ocre); }
.ny-prose a { color: var(--ny-terre); font-weight: 600; }
.ny-prose em { color: var(--ny-muted); }
.ny-prose .ny-cookie-status { background: var(--ny-sand); border-radius: 12px; padding: 16px 20px; margin: 0 0 14px; }
.ny-prose .ny-btn { margin-top: 4px; }
@media (max-width: 760px) { .ny-prose { font-size: 1rem; } }
/* Bannière cookies : bande sombre pleine largeur (modèle fourni) */
.ny-cookie { left: 0; right: 0; bottom: 0; }
.ny-cookie__inner { max-width: none; flex-direction: column; align-items: center; gap: 14px; padding: 18px 20px 20px; background: #2d2d2d; color: #fff; border: 0; border-radius: 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .25); text-align: center; }
.ny-cookie__text { flex: none; max-width: 600px; color: #fff; font-size: 1rem; font-weight: 500; }
.ny-cookie__text a { color: #f4c46e; }
.ny-cookie__btn { min-width: 92px; min-height: 44px; padding: 0 20px; border-radius: 4px; font-size: .95rem; }
.ny-cookie__btn--refuse { background: #e8502f; }
.ny-cookie__btn--accept { background: #0f9d6b; }
.ny-cookie__btn:focus-visible { outline-color: #fff; }
@media (max-width: 760px) {
	.ny-cookie { left: 0; right: 0; bottom: 0; }
	.ny-cookie__inner { padding: 16px; }
	.ny-cookie__actions { max-width: 360px; }
}
/* Le thème parent colore les boutons au survol/focus : on garde vert et rouge */
.ny-cookie .ny-cookie__btn--accept, .ny-cookie .ny-cookie__btn--accept:hover, .ny-cookie .ny-cookie__btn--accept:focus { background-color: #0f9d6b; color: #fff; border: 0; }
.ny-cookie .ny-cookie__btn--refuse, .ny-cookie .ny-cookie__btn--refuse:hover, .ny-cookie .ny-cookie__btn--refuse:focus { background-color: #e8502f; color: #fff; border: 0; }
.ny-cookie .ny-cookie__btn:hover { filter: brightness(1.1); }

/* Burger : pas de fond rose du thème parent au survol / toucher */
.ny-burger:hover, .ny-burger:focus, .ny-burger:active { background: rgba(29,43,79,.06); border: 0; border-radius: 8px; }
.ny-burger:focus-visible { outline: 2px solid var(--ny-indigo); outline-offset: 2px; }
