/* ===== Actu halal — mise en page des articles et de la liste (13/11/2026) =====
   Feuille propre a l onglet Actu halal, chargee apres fiche.css.
   Reprend l identite de l accueil : degrade vert, motif de croix, or en
   accent, cartes arrondies. Chaque article porte une vignette (photo
   libre de droits ou logo de l enseigne), creditee sous l image. */

/* ---- En-tete vert avec le motif de l accueil ---- */
.ah-head{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--green-dark) 0%,var(--green) 55%,var(--green-mid) 100%);color:#fff;padding:108px 24px 54px}
.ah-head::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.ah-head-in{position:relative;max-width:980px;margin:0 auto}
.ah-head h1{font-size:clamp(1.75rem,4vw,2.7rem);line-height:1.15;letter-spacing:-.6px;margin:10px 0 12px;color:#fff}
.ah-head h1 em{font-style:normal;color:var(--gold)}
.ah-head p.ah-chapo{font-size:1.08rem;line-height:1.6;color:rgba(255,255,255,.88);max-width:760px}
.ah-garanties{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;list-style:none;padding:0}
.ah-garanties li{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);font-size:.82rem;font-weight:600;color:#fff}
.ah-garanties li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold)}
.ah-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:.86rem;color:rgba(255,255,255,.85)}
.ah-meta a{color:#fff}

/* ---- Pastille de rubrique ---- */
.ah-tag{display:inline-block;padding:4px 11px;border-radius:999px;background:var(--gold);color:var(--gray-900);font-size:.72rem;font-weight:800;letter-spacing:.4px;text-transform:uppercase}
.ah-tag.clair{background:var(--gold-light);color:#7a5a06}

/* ---- Fil d ariane (dans l en-tete vert) ---- */
.ah-fil{position:static;height:auto;background:none;border:0;backdrop-filter:none;display:block;font-size:.8rem;color:rgba(255,255,255,.7);margin-bottom:14px}
.ah-fil a{color:rgba(255,255,255,.85)}
.ah-bc{max-width:980px;margin:0 auto;padding:16px 24px 0;font-size:.8rem;color:var(--gray-500)}
.ah-bc a{color:var(--gray-500)}

/* ---- Liste des articles ---- */
.ah-liste{max-width:980px;margin:0 auto;padding:34px 24px 30px}
.ah-une{display:grid;grid-template-columns:1.15fr 1fr;background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);text-decoration:none;color:inherit;margin-bottom:26px;transition:transform .2s,box-shadow .2s}
.ah-une:hover{transform:translateY(-3px);box-shadow:var(--shadow-xl)}
.ah-une .ah-img{aspect-ratio:16/10;height:100%}
.ah-une .ah-txt{padding:28px 30px;display:flex;flex-direction:column;gap:10px;justify-content:center}
.ah-une h2{font-size:1.45rem;line-height:1.25;letter-spacing:-.3px;color:var(--gray-900)}
.ah-une p{color:var(--gray-700);line-height:1.6}
.ah-titre-liste{font-size:.8rem;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:var(--gray-500);margin:4px 0 12px}
.ah-items{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}
.ah-item a{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:center;background:#fff;border:1px solid var(--gray-200);border-radius:16px;padding:12px;text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s,transform .2s}
.ah-item a:hover{border-color:var(--green);box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.ah-item .ah-img{aspect-ratio:16/10;border-radius:11px}
.ah-item h3{font-size:1.08rem;line-height:1.3;color:var(--gray-900);margin:7px 0 5px}
.ah-item p{font-size:.9rem;color:var(--gray-700);line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ah-date{font-size:.8rem;color:var(--gray-500);font-weight:500}
.ah-lire{font-weight:700;color:var(--green);font-size:.9rem}
.ah-plus{text-align:center;margin-top:22px}
.ah-plus button{background:#fff;color:var(--green);border:2px solid var(--green);font:inherit;font-weight:700;padding:11px 24px;border-radius:10px;cursor:pointer}
.ah-plus button:hover{background:var(--green-light)}

/* ---- Vignette (photo ou repli) ---- */
.ah-img{position:relative;display:block;width:100%;overflow:hidden;background:linear-gradient(135deg,var(--green),var(--green-mid))}
.ah-img img.ph{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
a:hover .ah-img img.ph{transform:scale(1.04)}
.ah-img .lg{position:absolute;right:10px;bottom:10px;width:44px;height:44px;border-radius:50%;background:#fff;padding:6px;box-shadow:0 2px 8px rgba(0,0,0,.25);object-fit:contain}
.ah-img .vide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.9);font-weight:800;font-size:2rem}

/* ---- Article ---- */
.ah-art-head{padding-bottom:120px}
.ah-couv{max-width:980px;margin:-96px auto 0;padding:0 24px;position:relative}
.ah-couv .ah-img{aspect-ratio:21/9;border-radius:var(--radius-lg);box-shadow:var(--shadow-xl)}
.ah-couv figcaption{font-size:.74rem;color:var(--gray-500);margin-top:8px;text-align:right}
.ah-couv figcaption a{color:var(--gray-500)}
.ah-corps{max-width:740px;margin:0 auto;padding:30px 24px 10px;font-size:1.06rem;line-height:1.8;color:var(--gray-700)}
.ah-corps>p:first-child{font-size:1.2rem;line-height:1.7;color:var(--gray-900);font-weight:500}
.ah-corps p{margin-bottom:18px}
.ah-corps h2{font-size:1.38rem;line-height:1.3;color:var(--gray-900);margin:38px 0 14px;letter-spacing:-.2px}
.ah-corps h2::before{content:"";display:block;width:36px;height:3px;border-radius:2px;background:var(--gold);margin-bottom:12px}
.ah-corps strong{color:var(--gray-900)}
.ah-corps a{color:var(--green);font-weight:600}
.ah-corps ul,.ah-corps ol{margin:0 0 20px;padding-left:4px;list-style:none}
.ah-corps li{position:relative;padding-left:26px;margin-bottom:10px}
.ah-corps ul li::before{content:"";position:absolute;left:4px;top:.72em;width:9px;height:9px;border-radius:50%;background:var(--green)}
.ah-corps ol{counter-reset:n}
.ah-corps ol li{counter-increment:n}
.ah-corps ol li::before{content:counter(n);position:absolute;left:0;top:.2em;width:20px;height:20px;border-radius:50%;background:var(--green);color:#fff;font-size:.72rem;font-weight:800;display:flex;align-items:center;justify-content:center;line-height:1}
.ah-bloc{max-width:740px;margin:18px auto;padding:0 24px}
.ah-sources{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:16px;padding:20px 22px}
.ah-sources h2{font-size:.82rem;text-transform:uppercase;letter-spacing:.6px;color:var(--gray-500);margin-bottom:10px}
.ah-sources ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.ah-sources li a{display:inline-flex;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid var(--gray-200);font-size:.84rem;font-weight:600;color:var(--gray-700);text-decoration:none}
.ah-sources li a:hover{border-color:var(--green);color:var(--green)}
.ah-sources p{font-size:.8rem;color:var(--gray-500);margin-top:12px;line-height:1.55}
.ah-partage{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:.88rem;color:var(--gray-500)}
.ah-partage a,.ah-partage button{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border-radius:10px;border:1px solid var(--gray-200);background:#fff;font:inherit;font-weight:700;font-size:.86rem;color:var(--gray-700);text-decoration:none;cursor:pointer}
.ah-partage a:hover,.ah-partage button:hover{border-color:var(--green);color:var(--green)}
.ah-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,var(--green-dark),var(--green));color:#fff;border-radius:var(--radius-lg);padding:26px 28px}
.ah-cta strong{display:block;font-size:1.15rem;margin-bottom:4px}
.ah-cta span{color:rgba(255,255,255,.85);font-size:.92rem}
.ah-cta a{background:var(--gold);color:var(--gray-900);font-weight:800;text-decoration:none;padding:12px 22px;border-radius:10px;white-space:nowrap}
.ah-cta a:hover{background:var(--gold-dark)}
.ah-corriger{font-size:.86rem;color:var(--gray-500);text-align:center}
.ah-corriger a{color:var(--green);font-weight:600}
.ah-aussi{max-width:980px;margin:34px auto 70px;padding:0 24px}
.ah-aussi h2{font-size:1.2rem;margin-bottom:14px}
.ah-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.ah-carte{display:block;background:#fff;border:1px solid var(--gray-200);border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;transition:box-shadow .2s,transform .2s}
.ah-carte:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.ah-carte .ah-img{aspect-ratio:16/9}
.ah-carte div.t{padding:14px 16px 16px}
.ah-carte h3{font-size:1rem;line-height:1.35;color:var(--gray-900);margin-top:6px}

/* ---- Tablette et telephone ---- */
@media(max-width:760px){
  .ah-une{grid-template-columns:1fr}
  .ah-une .ah-txt{padding:20px 20px 22px}
  .ah-une h2{font-size:1.22rem}
  .ah-item a{grid-template-columns:110px 1fr;gap:14px;padding:10px}
  .ah-item .ah-img{aspect-ratio:1/1}
  .ah-item h3{font-size:.98rem;margin:5px 0 3px}
  .ah-item p{display:none}
  .ah-item .ah-lire{display:none}
  .ah-img .lg{width:34px;height:34px;padding:4px;right:6px;bottom:6px}
  .ah-head{padding:96px 20px 40px}
  .ah-art-head{padding-bottom:84px}
  .ah-couv{margin-top:-64px;padding:0 16px}
  .ah-couv .ah-img{aspect-ratio:16/9}
  .ah-corps{padding:24px 20px 6px;font-size:1.02rem}
  .ah-corps>p:first-child{font-size:1.1rem}
  .ah-bloc,.ah-aussi,.ah-liste{padding-left:16px;padding-right:16px}
  .ah-cta{padding:22px 20px}
  .ah-cta a{width:100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){.ah-une,.ah-item a,.ah-carte,.ah-img img.ph{transition:none}a:hover .ah-img img.ph{transform:none}}
