/* GLOBAL FRIGO — page « Journal » : article à la une, filtres par catégorie, grille de cartes .news (site.css). */

/* ---------- héro de page intérieure (bloc commun aux pages intérieures, à l'identique) ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 18, 18,.95) 0%, rgba(18, 18, 18,.82) 40%, rgba(18, 18, 18,.35) 100%); }
.page-hero .container { position: relative; z-index: 2; padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(44px, 6vw, 84px); display: grid; gap: 14px; }
.page-hero h1 { color: #fff; } .page-hero .lead { color: #e8e8e0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #c8c8bf; } .crumbs a:hover { color: #fff; text-decoration: underline; } .crumbs span::before { content: '/'; margin-right: 8px; opacity: .6; }
.page-hero .kicker { color: #b3d1ff; }
.page-hero .container { min-height: clamp(300px, 27vw, 380px); align-content: center; }
.page-hero h1 { max-width: 20ch; }

/* ---------- visuel d'article : aplat marine + nom de la catégorie si l'image manque ---------- */
.j-ph { position: relative; background: var(--navy); }
.j-ph::after { content: attr(data-cat); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--fh); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.j-ph img { position: relative; z-index: 1; }

/* ---------- article à la une ---------- */
.j-top { padding-bottom: clamp(40px, 5vw, 72px); }
.j-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .3s, border-color .3s, transform .3s; }
.j-feature:hover { box-shadow: var(--shadow-lg); border-color: #d9d9d0; transform: translateY(-3px); }
.j-feature-media { min-height: clamp(260px, 30vw, 420px); overflow: hidden; }
.j-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.j-feature:hover .j-feature-media img { transform: scale(1.03); }
.j-flag { position: absolute; z-index: 2; left: 16px; top: 16px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 6px; box-shadow: var(--shadow); }
.j-feature-body { padding: clamp(22px, 3.4vw, 48px); display: grid; gap: 14px; align-content: center; }
.j-feature-body .h2 { font-size: clamp(22px, 2.3vw, 32px); }
.j-feature-body p { color: var(--muted); font-size: 16px; }
.j-feature-body .link-arrow { margin-top: 6px; }

/* ---------- filtres + grille ---------- */
.j-count { font-size: 14.5px; color: var(--muted); }
.news-meta { flex-wrap: wrap; row-gap: 6px; }
.news .h3 { transition: color .2s; }
.news:hover .h3 { color: var(--blue); }

/* tuile « proposer un sujet » qui complète la grille */
.news-ask { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius); background: var(--navy); color: #fff; }
.news-ask .kicker { color: #b3d1ff; }
.news-ask h3 { color: #fff; }
.news-ask p { color: #d9d9d0; font-size: 14.5px; }
.news-ask .btn { align-self: flex-start; margin-top: 6px; }
.j-empty { grid-column: 1 / -1; color: var(--muted); }

/* ---------- adaptatif ---------- */
@media (pointer: coarse) { .tab { height: 44px; } }
@media (max-width: 860px) {
  .page-hero::after { background: linear-gradient(180deg, rgba(18, 18, 18,.9) 0%, rgba(18, 18, 18,.8) 100%); }
  .j-feature { grid-template-columns: 1fr; }
  .j-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) { .news-ask .btn { align-self: stretch; } }
@media (prefers-reduced-motion: reduce) { .j-feature, .j-feature-media img { transition: none; } .j-feature:hover, .j-feature:hover .j-feature-media img { transform: none; } }
