/*
Theme Name: مجلة المرأة
Theme URI: https://vivvo.ma
Author: VIVVO Studio
Description: قالب مجلة نسائية عربية فاخرة — RTL كامل، تصميم باريس ماتش، خط تجول
Version: 2.0
Text Domain: femme-magazine
Tags: rtl, arabic, news, magazine, feminine, editorial, responsive
*/

/* =========================================================
   GOOGLE FONTS
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* =========================================================
   VARIABLES
========================================================= */
:root {
  --red:        #D61E1E;
  --bordeaux:   #8B1A2F;
  --rose:       #C2185B;
  --rose-clair: #FCE4EC;
  --gold:       #C9A84C;
  --gold-light: #F5E6C8;
  --green:      #22c55e;
  --black:      #111111;
  --dark:       #1a1a1a;
  --dark2:      #333333;
  --gray:       #666666;
  --gray-light: #f5f5f5;
  --border:     #e8e8e8;
  --white:      #ffffff;
  --max-w:      1200px;
  --font:       'Tajawal', sans-serif;
  --r:          3px;
}

/* =========================================================
   RESET + RTL
========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--dark2);
  background: var(--white);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
}
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Catégorie tag */
.fm-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px 2px; background: var(--red); color: var(--white);
}
.fm-tag.gold  { background: var(--gold); }
.fm-tag.rose  { background: var(--rose); }
.fm-tag.green { background: var(--green); }
.fm-tag.dark  { background: var(--dark); }

/* Section heading */
.fm-sec-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 12px; border-bottom: 3px solid var(--black); margin-bottom: 24px;
}
.fm-sec-head-light { border-bottom-color: var(--border); }
.fm-sec-title { font-size: 22px; font-weight: 800; color: var(--black); line-height: 1; }
.fm-sec-more  { font-size: 13px; font-weight: 700; color: var(--red); display: flex; align-items: center; gap: 4px; }
.fm-sec-more i { font-size: 10px; }
.fm-sec-more:hover { color: var(--bordeaux); }

/* =========================================================
   HEADER
========================================================= */
.fm-header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 6px rgba(0,0,0,.07); }

.fm-topbar { border-bottom: 1px solid var(--border); padding: 10px 0; }
.fm-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fm-topbar-links { display: flex; gap: 20px; align-items: center; }
.fm-topbar-link { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--dark2); }
.fm-topbar-link i { font-size: 14px; color: var(--gray); }
.fm-topbar-link:hover { color: var(--red); }
.fm-topbar-link:hover i { color: var(--red); }

.fm-logo-wrap { display: flex; justify-content: center; align-items: center; }
.fm-logo-box {
  background: var(--red); color: var(--white); font-family: var(--font);
  display: flex; flex-direction: column; align-items: center;
  padding: 5px 20px 7px; line-height: 1; min-width: 90px;
}
.fm-logo-above { font-size: 10px; font-weight: 300; letter-spacing: 4px; opacity: .85; }
.fm-logo-name  { font-size: 36px; font-weight: 900; letter-spacing: -1px; margin-top: -2px; }
.fm-logo-link:hover .fm-logo-box { background: var(--bordeaux); }

/* Logo image uploadée */
.fm-logo-link img.fm-custom-logo {
  max-height: 65px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}

.fm-header-actions { display: flex; align-items: center; gap: 16px; }
.fm-header-action { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--dark2); }
.fm-header-action i { font-size: 15px; color: var(--gray); }
.fm-header-action:hover { color: var(--red); }
.fm-header-action:hover i { color: var(--red); }

.fm-btn-sub { background: #F5C518; color: var(--black); font-size: 13px; font-weight: 800; padding: 9px 22px; border-radius: var(--r); white-space: nowrap; border: none; display: inline-block; }
.fm-btn-sub:hover { background: #e0b400; color: var(--black); }

.fm-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.fm-hamburger span { display: block; width: 22px; height: 2px; background: var(--black); transition: all .25s; }
.fm-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.fm-hamburger.open span:nth-child(2) { opacity: 0; }
.fm-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =========================================================
   NAVIGATION + MEGA MENU
========================================================= */
.fm-nav { position: relative; border-bottom: 1px solid var(--border); }
.fm-nav-inner { display: flex; justify-content: center; }
.fm-nav-list  { display: flex; align-items: stretch; margin: 0; padding: 0; }
.fm-nav-item  { position: static; }
.fm-nav-link  {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 700; color: var(--black);
  padding: 13px 18px; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.fm-nav-link .arrow { font-size: 9px; opacity: .5; transition: transform .2s; }
.fm-nav-item:hover > .fm-nav-link,
.fm-nav-item.mega-open > .fm-nav-link { color: var(--red); border-bottom-color: var(--red); }
.fm-nav-item:hover .arrow { transform: rotate(180deg); opacity: 1; }
.fm-nav-highlight > .fm-nav-link { color: var(--gray); }

.fm-mega {
  position: absolute; top: 100%; right: 0; left: 0;
  background: #f8f7f5; border-top: 2px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.1); z-index: 999;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility .22s; pointer-events: none;
}
.fm-nav-item:hover > .fm-mega,
.fm-nav-item.mega-open > .fm-mega { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.fm-mega-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 24px 20px 28px;
  display: grid; grid-template-columns: 170px 1fr; gap: 32px; align-items: start;
}
.fm-mega-subs {
  display: flex; flex-direction: column; gap: 2px;
  border-left: 1px solid var(--border); padding-left: 24px;
}
.fm-mega-sub { display: block; font-size: 15px; font-weight: 500; color: var(--gray); padding: 6px 0; transition: color .15s, font-weight .15s; }
.fm-mega-sub:hover { color: var(--red); font-weight: 700; }
.fm-mega-posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.fm-mega-card {}
.fm-mega-card-img { display: block; overflow: hidden; margin-bottom: 8px; }
.fm-mega-card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .3s; }
.fm-mega-card:hover .fm-mega-card-img img { transform: scale(1.04); }
.fm-mega-card-cat { font-size: 10px; font-weight: 700; color: var(--red); margin-bottom: 4px; display: block; }
.fm-mega-card-title { font-size: 13px; font-weight: 700; color: var(--black); line-height: 1.4; transition: color .15s; }
.fm-mega-card:hover .fm-mega-card-title { color: var(--red); }

/* =========================================================
   TICKER
========================================================= */
.fm-ticker { background: var(--dark); color: var(--white); overflow: hidden; height: 36px; }
.fm-ticker-inner { display: flex; align-items: center; height: 100%; }
.fm-ticker-badge {
  background: var(--red); font-size: 11px; font-weight: 800;
  padding: 0 14px; height: 100%;
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
}
.fm-ticker-badge i { font-size: 10px; }
.fm-ticker-track-wrap { flex: 1; overflow: hidden; }
.fm-ticker-track { display: flex; align-items: center; white-space: nowrap; animation: fm-scroll 35s linear infinite; padding-right: 20px; }
.fm-ticker-track:hover { animation-play-state: paused; }
.fm-ticker-item a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }
.fm-ticker-item a:hover { color: #F5C518; }
.fm-ticker-sep { color: var(--red); margin: 0 16px; font-size: 8px; }
@keyframes fm-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

/* =========================================================
   HERO SLIDER — Full Bleed Centré
   Image plein cadre | Titre centré | Thumbnails haut-droite
========================================================= */
.fm-slider-wrap { background: #0d0d0d; direction: rtl; }

.fm-slider {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #111;
}

/* Slides superposées */
.fm-slide {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}
.fm-slide.active {
  display: block;
  pointer-events: auto;
  animation: fb-fade .5s ease;
}
@keyframes fb-fade { from { opacity: 0; } to { opacity: 1; } }

/* Image plein cadre */
.fm-slide-img-col {
  position: absolute;
  inset: 0;
}
.fm-slide-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .6s ease;
}
.fm-slide.active .fm-slide-img { transform: scale(1.03); }
.fm-slide-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a2e, #0a1a2e);
}

/* Double overlay : vignetage + gradient bas */
.fm-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.55) 100%),
    linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
  pointer-events: none;
}

/* Contenu centré en bas */
.fm-slide-text-col {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 80px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  direction: rtl;
}
.fm-slide-text-top { width: 100%; max-width: 680px; }
.fm-slide-text-bot { width: 100%; }

/* Badge catégorie */
.fm-slide-kicker {
  display: inline-block;
  background: #D61E1E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  margin-bottom: 14px;
  letter-spacing: .3px;
}

/* Titre centré */
.fm-slide-title {
  display: block;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  font-family: var(--font);
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  transition: color .15s;
}
.fm-slide-title:hover { color: rgba(255,255,255,.82); }

/* Excerpt */
.fm-slide-excerpt {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* Meta + bouton */
.fm-slide-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.38);
  flex-wrap: wrap;
}
.fm-slide-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #D61E1E;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  text-decoration: none;
  transition: background .15s;
}
.fm-slide-read-more:hover { background: #b81818; color: #fff; }

/* Dots */
.fm-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  align-items: center;
}
.fm-slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none; padding: 0;
  cursor: pointer;
  transition: all .18s;
  display: block; flex-shrink: 0;
}
.fm-slider-dot.active {
  background: #D61E1E;
  width: 22px;
  border-radius: 3px;
}

/* Flèches */
.fm-slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 20; cursor: pointer; font-size: 14px;
  transition: background .15s;
}
.fm-slider-arrow:hover { background: #D61E1E; border-color: #D61E1E; }
.fm-sl-prev { right: 16px; left: auto; }
.fm-sl-next { left: 16px; right: auto; }

/* Thumbnails haut-gauche (haut-droite en visuel RTL) */
.fm-thumbstrip {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  z-index: 20;
  direction: ltr;
}
.fm-thumb {
  width: 64px; height: 44px;
  position: relative; overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 2px;
  transition: border-color .15s;
  flex-shrink: 0;
}
.fm-thumb.active { border-color: #D61E1E; }
.fm-thumb:hover:not(.active) { border-color: rgba(255,255,255,.45); }

.fm-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.fm-thumb-placeholder {
  position: absolute; inset: 0;
  background: #1a1a2e;
}
/* Overlay sombre sur thumbnails inactifs */
.fm-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  transition: opacity .15s;
}
.fm-thumb.active::after { opacity: 0; }
.fm-thumb:hover::after  { opacity: .15; }

/* Numéro miniature */
.fm-thumb-num {
  position: absolute; bottom: 3px; left: 4px;
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,.7); z-index: 2;
}
.fm-thumb-tag  { display: none; }
.fm-thumb-body { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .fm-slider { height: 380px; }
  .fm-slide-title { font-size: 22px; }
  .fm-slide-text-col { padding: 0 40px 28px; }
}
@media (max-width: 640px) {
  .fm-slider { height: 300px; }
  .fm-slide-title { font-size: 17px; }
  .fm-slide-excerpt { display: none; }
  .fm-slide-text-col { padding: 0 20px 20px; }
  .fm-thumbstrip { display: none; }
}
/* =========================================================
   GRILLE 5 ARTICLES
========================================================= */
.fm-sec-grid5 { padding: 32px 0; }
.fm-grid5 { display: grid; grid-template-columns: 1fr 1.8fr 1fr; gap: 20px; align-items: start; }
.fm-grid5-col { display: flex; flex-direction: column; gap: 24px; }
.fm-card-sm { display: flex; flex-direction: column; gap: 10px; }
.fm-card-sm-img { display: block; overflow: hidden; }
.fm-card-sm-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.fm-card-sm:hover .fm-card-sm-img img { transform: scale(1.04); }
.fm-card-sm-title { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--black); transition: color .15s; }
.fm-card-sm:hover .fm-card-sm-title { color: var(--red); }
.fm-card-main-img { display: block; overflow: hidden; }
.fm-card-main-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .3s; }
.fm-card-main:hover .fm-card-main-img img { transform: scale(1.02); }
.fm-card-main-body { padding: 14px 0 0; text-align: center; }
.fm-card-main-title { font-size: 26px; font-weight: 900; line-height: 1.25; color: var(--black); margin-bottom: 10px; display: block; transition: color .15s; }
.fm-card-main:hover .fm-card-main-title { color: var(--red); }
.fm-card-main-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; text-align: center; }

/* =========================================================
   CHOC DES PHOTOS — fond noir
========================================================= */
.fm-sec-photos { background: var(--black); }
.fm-photos-head { padding: 18px 0 14px; border-bottom: 1px solid #2a2a2a; }
.fm-photos-head-inner { display: flex; align-items: center; justify-content: space-between; }
.fm-photos-title { font-size: 22px; font-weight: 800; color: var(--white); }
.fm-photos-arrows { display: flex; gap: 8px; }
.fm-photos-btn { width: 34px; height: 34px; border-radius: 50%; background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--white); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.fm-photos-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.fm-photos-track-wrap { overflow: hidden; padding: 16px 0 20px; }
.fm-photos-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 24px; }
.fm-photos-track::-webkit-scrollbar { display: none; }
.fm-photo-card { flex: 0 0 calc(50% - 8px); scroll-snap-align: start; position: relative; overflow: hidden; }
.fm-photo-card a { display: block; position: relative; }
.fm-photo-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .35s; }
.fm-photo-card:hover img { transform: scale(1.03); }
.fm-photo-cam { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--black); font-size: 13px; }
.fm-photo-caption { position: absolute; inset: auto 0 0; padding: 32px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.fm-photo-cat { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.7); display: block; margin-bottom: 4px; }
.fm-photo-title { font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.35; }

/* =========================================================
   GRILLE 3x2 HORIZONTALE
========================================================= */
.fm-sec-list { padding: 32px 0; }
.fm-list-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.fm-list-item { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.fm-list-item:nth-child(3n+2), .fm-list-item:nth-child(3n) { border-right: 1px solid var(--border); }
.fm-list-img { display: block; overflow: hidden; position: relative; }
.fm-list-img img { width: 100px; height: 68px; object-fit: cover; transition: transform .25s; }
.fm-list-item:hover .fm-list-img img { transform: scale(1.05); }
.fm-list-badge { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.6); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 9px; }
.fm-list-title { font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--black); transition: color .15s; display: block; }
.fm-list-item:hover .fm-list-title { color: var(--red); }

/* =========================================================
   SLIDER VIDÉO
========================================================= */
.fm-sec-video { margin: 0 0 32px; background: var(--gray-light); }
.fm-video-main { position: relative; background: var(--black); }
.fm-video-main a { display: block; position: relative; }
.fm-video-main-img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.fm-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; background: rgba(255,255,255,.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 22px; transition: transform .2s; }
.fm-video-main:hover .fm-video-play { transform: translate(-50%,-50%) scale(1.1); }
.fm-video-caption { position: absolute; inset: auto 0 0; padding: 40px 48px 24px; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: var(--white); }
.fm-video-cat   { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.7); display: block; margin-bottom: 4px; }
.fm-video-title { font-size: 26px; font-weight: 900; line-height: 1.25; }
.fm-video-thumbs-row { display: flex; align-items: center; background: var(--white); border-top: 2px solid var(--border); padding: 12px; }
.fm-video-scroll-btn { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: none; border: 1px solid var(--border); color: var(--gray); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.fm-video-scroll-btn:hover { background: var(--gray-light); }
.fm-video-thumbs { flex: 1; display: flex; gap: 12px; overflow-x: auto; padding: 0 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fm-video-thumbs::-webkit-scrollbar { display: none; }
.fm-vthumb { flex: 0 0 190px; scroll-snap-align: start; display: flex; gap: 10px; align-items: start; cursor: pointer; padding: 4px 6px; border-radius: 2px; transition: background .15s; }
.fm-vthumb:hover { background: var(--gray-light); }
.fm-vthumb.active { background: #f0f0f0; }
.fm-vthumb-img { position: relative; flex-shrink: 0; width: 80px; }
.fm-vthumb-img img { width: 80px; height: 52px; object-fit: cover; }
.fm-vthumb-play { position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.55); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 8px; }
.fm-vthumb-title { font-size: 12px; font-weight: 700; color: var(--dark2); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.fm-vthumb.active .fm-vthumb-title { color: var(--red); }

/* =========================================================
   BANDEAU ABO BARRE
========================================================= */
.fm-abo-bar { background: var(--dark); color: var(--white); padding: 13px 0; }
.fm-abo-bar-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fm-abo-close { background: none; border: none; color: rgba(255,255,255,.4); font-size: 20px; line-height: 1; padding: 0 4px; transition: color .15s; }
.fm-abo-close:hover { color: var(--white); }
.fm-abo-text  { flex: 1; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.fm-abo-title { font-size: 16px; font-weight: 800; color: var(--white); white-space: nowrap; }
.fm-abo-desc  { font-size: 13px; color: rgba(255,255,255,.6); }
.fm-abo-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.fm-abo-btn-green { background: var(--green); color: var(--white); font-size: 14px; font-weight: 800; padding: 9px 22px; border-radius: var(--r); transition: background .15s; }
.fm-abo-btn-green:hover { background: #16a34a; color: var(--white); }
.fm-abo-btn-out { background: transparent; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; padding: 8px 18px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r); transition: all .15s; }
.fm-abo-btn-out:hover { border-color: rgba(255,255,255,.6); color: var(--white); }
.fm-abo-cover { height: 52px; width: auto; object-fit: cover; flex-shrink: 0; }

/* =========================================================
   LAYOUT 3 COLONNES
========================================================= */
.fm-sec-3col { padding: 32px 0; }
.fm-3col { display: grid; grid-template-columns: 270px 1fr 270px; gap: 28px; align-items: start; }
.fm-opinion { border: 1px solid var(--border); overflow: hidden; margin-bottom: 20px; }
.fm-opinion-bar { background: var(--dark); padding: 8px 14px; display: flex; align-items: center; gap: 8px; }
.fm-opinion-label { font-size: 12px; font-weight: 700; color: var(--green); }
.fm-opinion-body { padding: 12px 14px 14px; }
.fm-opinion-row { display: flex; gap: 12px; align-items: start; margin-bottom: 10px; }
.fm-opinion-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fm-opinion-q { font-size: 14px; font-weight: 700; color: var(--black); line-height: 1.45; }
.fm-opinion-btn { display: inline-block; border: 2px solid var(--green); color: var(--green); font-size: 12px; font-weight: 700; padding: 5px 14px; transition: all .15s; }
.fm-opinion-btn:hover { background: var(--green); color: var(--white); }
.fm-flash-head {
  padding: 10px 12px;
  background: var(--black);
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.fm-flash-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fm-flash-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-top: none;
}
.fm-flash-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.fm-flash-item:last-child { border-bottom: none; }
.fm-flash-item:hover { background: #fafafa; }
.fm-flash-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  padding: 10px 0 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
  background: #f9f9f9;
  flex-shrink: 0;
  direction: ltr;
  line-height: 1.2;
  text-align: center;
  min-width: 44px;
}
.fm-flash-link {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  flex: 1;
}
.fm-flash-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark2);
  line-height: 1.45;
  display: block;
  transition: color .15s;
}
.fm-flash-item:hover .fm-flash-text { color: var(--red); }

/* ── Espace pub 300×300 ── */
.fm-pub-300 {
  width: 100%;
  margin-top: 14px;
}
.fm-pub-placeholder {
  width: 100%;
  height: 300px;
  max-width: 300px;
  border: 1.5px dashed var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fafafa;
  margin: 0 auto;
}
.fm-pub-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.fm-pub-dims {
  font-size: 13px;
  color: var(--border);
  font-weight: 500;
}
.fm-center-img { display: block; overflow: hidden; margin-bottom: 14px; }
.fm-center-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.fm-center-article:hover .fm-center-img img { transform: scale(1.02); }
.fm-center-title { font-size: 24px; font-weight: 900; line-height: 1.25; color: var(--black); margin-bottom: 10px; display: block; transition: color .15s; }
.fm-center-article:hover .fm-center-title { color: var(--red); }
.fm-center-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; }
.fm-rslider { position: relative; }
.fm-rslide { display: none; }
.fm-rslide.active { display: block; }
.fm-rslide-img { display: block; overflow: hidden; margin-bottom: 12px; }
.fm-rslide-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.fm-rslide:hover .fm-rslide-img img { transform: scale(1.03); }
.fm-rslide-title { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--black); margin-bottom: 8px; display: block; transition: color .15s; }
.fm-rslide:hover .fm-rslide-title { color: var(--red); }
.fm-rslide-excerpt { font-size: 13px; color: var(--gray); line-height: 1.6; }
.fm-rdots { display: flex; gap: 6px; margin-top: 14px; }
.fm-rdot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; padding: 0; transition: background .15s; }
.fm-rdot.active { background: var(--green); }

/* =========================================================
   SECTIONS BEAUTÉ + PEOPLE
========================================================= */
.fm-sec-beaute { background: var(--rose-clair); padding: 32px 0; }
.fm-beaute-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.fm-beaute-card { background: var(--white); overflow: hidden; transition: box-shadow .2s; }
.fm-beaute-card:hover { box-shadow: 0 4px 16px rgba(139,26,47,.12); }
.fm-beaute-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .3s; }
.fm-beaute-card:hover img { transform: scale(1.03); }
.fm-beaute-body { padding: 12px 14px; }
.fm-beaute-brand { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 4px; display: block; }
.fm-beaute-title { font-size: 14px; font-weight: 700; color: var(--black); line-height: 1.4; transition: color .15s; }
.fm-beaute-card:hover .fm-beaute-title { color: var(--red); }

.fm-sec-people { background: var(--black); padding: 32px 0; }
.fm-sec-people .fm-sec-title { color: var(--gold); }
.fm-sec-people .fm-sec-head { border-bottom-color: rgba(255,255,255,.1); }
.fm-sec-people .fm-sec-more { color: rgba(255,255,255,.4); }
.fm-people-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.fm-people-card { position: relative; overflow: hidden; cursor: pointer; }
.fm-people-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; filter: grayscale(20%); transition: filter .3s, transform .3s; }
.fm-people-card:hover img { filter: grayscale(0%); transform: scale(1.04); }
.fm-people-overlay { position: absolute; inset: auto 0 0; padding: 24px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.fm-people-name { font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.2; }
.fm-people-sub  { font-size: 10px; color: var(--gold); margin-top: 2px; }

/* =========================================================
   ARTICLE SINGLE
========================================================= */
.fm-single-wrap { max-width: 900px; margin: 0 auto; padding: 32px 20px 60px; }
.fm-single-hero { margin-bottom: 28px; }
.fm-single-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.fm-single-hero-caption { background: var(--gray-light); padding: 7px 12px; font-size: 12px; color: var(--gray); }
.fm-single-title { font-size: 38px; font-weight: 900; line-height: 1.2; color: var(--black); margin-bottom: 14px; }
.fm-single-subtitle { font-size: 19px; font-weight: 400; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.fm-single-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.fm-author-photo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rose-clair); }
.fm-author-name { font-size: 14px; font-weight: 700; color: var(--red); }
.fm-pub-date { font-size: 12px; color: var(--gray); }
.fm-share-btns { margin-right: auto; display: flex; gap: 8px; }
.fm-share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: 12px; font-weight: 700; color: var(--white); border: none; border-radius: var(--r); transition: opacity .15s; }
.fm-share-btn:hover { opacity: .88; color: var(--white); }
.fm-share-btn.fb  { background: #1877F2; }
.fm-share-btn.wa  { background: #25D366; }
.fm-share-btn.tw  { background: #000; }
.fm-share-btn.pin { background: #E60023; }
.fm-single-content { font-size: 17px; line-height: 1.85; color: var(--dark2); }
.fm-single-content p { margin-bottom: 22px; }
.fm-single-content h2 { font-size: 26px; font-weight: 800; color: var(--red); margin: 32px 0 14px; }
.fm-single-content h3 { font-size: 20px; font-weight: 700; color: var(--black); margin: 24px 0 12px; }
.fm-single-content blockquote { border-right: 4px solid var(--red); border-left: none; padding: 12px 20px 12px 12px; margin: 28px 0; background: var(--rose-clair); font-size: 20px; font-weight: 700; color: var(--bordeaux); line-height: 1.5; }
.fm-single-content a { color: var(--red); text-decoration: underline; }
.fm-tags-wrap { padding: 20px 0; border-top: 1px solid var(--border); margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fm-tags-label { font-size: 12px; font-weight: 700; color: var(--gray); }
.fm-tag-pill { padding: 4px 12px; background: var(--gray-light); font-size: 12px; color: var(--dark2); border-radius: 20px; transition: all .15s; }
.fm-tag-pill:hover { background: var(--red); color: var(--white); }
.fm-author-bio { display: grid; grid-template-columns: 64px 1fr; gap: 16px; background: var(--gray-light); padding: 20px; margin: 24px 0; align-items: start; }
.fm-author-bio-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.fm-author-bio-label { font-size: 11px; color: var(--gray); margin-bottom: 4px; }
.fm-author-bio-name  { font-size: 18px; font-weight: 800; color: var(--red); margin-bottom: 8px; }
.fm-author-bio-text  { font-size: 14px; color: var(--gray); line-height: 1.65; }
.fm-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

/* =========================================================
   BANNIÈRE ABONNEMENT GRANDE
========================================================= */
.fm-sub-banner { background: var(--gold-light); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); padding: 36px 0; text-align: center; }
.fm-sub-banner-inner { max-width: 580px; margin: 0 auto; }
.fm-sub-banner-pre   { font-size: 11px; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.fm-sub-banner-title { font-size: 34px; font-weight: 900; color: var(--bordeaux); line-height: 1.2; margin-bottom: 12px; }
.fm-sub-banner-desc  { font-size: 15px; color: var(--dark2); margin-bottom: 20px; }
.fm-sub-banner-price { font-size: 44px; font-weight: 900; color: var(--bordeaux); line-height: 1; }
.fm-sub-banner-price sup { font-size: 20px; }
.fm-sub-banner-period { font-size: 15px; font-weight: 400; color: var(--gray); }
.fm-sub-banner-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.fm-btn-primary { background: var(--bordeaux); color: var(--white); font-size: 14px; font-weight: 800; padding: 12px 28px; border: none; border-radius: var(--r); transition: background .15s; }
.fm-btn-primary:hover { background: var(--red); color: var(--white); }
.fm-btn-outline { background: transparent; color: var(--bordeaux); font-size: 14px; font-weight: 700; padding: 11px 24px; border: 2px solid var(--bordeaux); border-radius: var(--r); transition: all .15s; }
.fm-btn-outline:hover { background: var(--bordeaux); color: var(--white); }

/* =========================================================
   FOOTER
========================================================= */
.fm-footer { background: var(--black); color: rgba(255,255,255,.65); font-size: 14px; }
.fm-footer-top { padding: 48px 0 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.fm-footer-logo { font-size: 30px; font-weight: 900; color: var(--white); margin-bottom: 12px; display: inline-block; }
.fm-footer-tagline { font-size: 13px; line-height: 1.7; margin-bottom: 18px; color: rgba(255,255,255,.5); }
.fm-footer-social { display: flex; gap: 10px; }
.fm-social-link { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); font-size: 14px; border-radius: 50%; transition: all .2s; }
.fm-social-link:hover { border-color: var(--gold); color: var(--gold); }
.fm-footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--white); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--red); }
.fm-footer-links { display: flex; flex-direction: column; gap: 10px; }
.fm-footer-link { font-size: 13px; color: rgba(255,255,255,.55); transition: color .15s; }
.fm-footer-link:hover { color: var(--gold); }
.fm-footer-nl-input { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--white); font-family: var(--font); font-size: 13px; padding: 9px 12px; margin-bottom: 8px; outline: none; transition: border-color .15s; }
.fm-footer-nl-input:focus { border-color: rgba(255,255,255,.35); }
.fm-footer-nl-input::placeholder { color: rgba(255,255,255,.35); }
.fm-footer-nl-btn { width: 100%; background: var(--red); color: var(--white); font-family: var(--font); font-size: 13px; font-weight: 700; padding: 9px; border: none; transition: background .15s; }
.fm-footer-nl-btn:hover { background: var(--bordeaux); }
.fm-footer-bottom { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.3); }
.fm-footer-bottom a { color: rgba(255,255,255,.4); transition: color .15s; }
.fm-footer-bottom a:hover { color: var(--gold); }
.fm-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* =========================================================
   PAGINATION + 404
========================================================= */
.fm-pagination { display: flex; justify-content: center; gap: 4px; padding: 40px 0; }
.fm-pagination a, .fm-pagination span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--dark2); transition: all .15s; }
.fm-pagination a:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.fm-pagination .current { background: var(--red); color: var(--white); border-color: var(--red); }
.fm-404 { text-align: center; padding: 80px 20px; }
.fm-404-num { font-size: 130px; font-weight: 900; color: var(--rose-clair); line-height: 1; }
.fm-404-title { font-size: 30px; font-weight: 900; color: var(--bordeaux); margin-bottom: 16px; }
.fm-404-sub { font-size: 16px; color: var(--gray); max-width: 480px; margin: 0 auto 28px; }

/* =========================================================
   RTL SPECIFIC OVERRIDES
========================================================= */
.fm-mega-subs { border-left: 1px solid var(--border); border-right: none; padding-left: 24px; padding-right: 0; }
.fm-slider-arrow.prev { right: 16px; left: auto; }
.fm-slider-arrow.next { left: 16px; right: auto; }
.fm-slider-dots { left: 20px; right: auto; }
.fm-photo-cam { right: 12px; left: auto; }
.fm-single-content blockquote { border-right: 4px solid var(--red); border-left: none; padding-right: 20px; padding-left: 12px; }
.fm-share-btns { margin-right: auto; margin-left: 0; }
.fm-list-badge { right: 4px; left: auto; }
.fm-vthumb-play { left: 4px; right: auto; }
.fm-ticker-track { padding-right: 20px; padding-left: 0; }
[dir="rtl"] .fm-ticker-track { animation-name: fm-scroll-rtl; }
@keyframes fm-scroll-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }
.fm-footer-col-title { letter-spacing: 0; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .fm-3col { grid-template-columns: 1fr 1.4fr; }
  .fm-3col > :last-child { display: none; }
  .fm-beaute-grid { grid-template-columns: repeat(3,1fr); }
  .fm-people-grid { grid-template-columns: repeat(4,1fr); }
  .fm-footer-grid { grid-template-columns: 1fr 1fr; }
  .fm-mega-inner { grid-template-columns: 140px 1fr; }
}
@media (max-width: 768px) {
  .fm-topbar-links { display: none; }
  .fm-header-action:not(.fm-btn-sub) { display: none; }
  .fm-hamburger { display: flex; }
  .fm-nav { display: none; }
  .fm-nav.open { display: block; }
  .fm-nav-list { flex-direction: column; }
  .fm-nav-link { padding: 12px 20px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
  .fm-mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: #fafafa; display: none; }
  .fm-nav-item.mega-open > .fm-mega { display: block; }
  .fm-mega-inner { grid-template-columns: 1fr; padding: 12px 16px; }
  .fm-mega-subs { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; border-left: none; padding-left: 0; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
  .fm-mega-posts { grid-template-columns: 1fr 1fr; }
  .fm-mega-card-img { display: none; }
  .fm-slider { height: 300px; }
  .fm-slide-content { width: 92%; padding: 0 16px 20px; }
  .fm-slide-title { font-size: 19px; }
  .fm-thumbstrip { display: none; }
  .fm-grid5 { grid-template-columns: 1fr; }
  .fm-list-grid { grid-template-columns: 1fr 1fr; }
  .fm-beaute-grid { grid-template-columns: 1fr 1fr; }
  .fm-people-grid { grid-template-columns: repeat(3,1fr); }
  .fm-3col { grid-template-columns: 1fr; }
  .fm-footer-grid { grid-template-columns: 1fr; }
  .fm-related-grid { grid-template-columns: 1fr 1fr; }
  .fm-single-title { font-size: 26px; }
  .fm-sub-banner-actions { flex-direction: column; align-items: center; }
  .fm-slider-dots { left: auto; right: 50%; transform: translateX(50%); }
}
@media (max-width: 480px) {
  .fm-list-grid { grid-template-columns: 1fr; }
  .fm-beaute-grid { grid-template-columns: 1fr; }
  .fm-people-grid { grid-template-columns: 1fr 1fr; }
  .fm-related-grid { grid-template-columns: 1fr; }
  .fm-photo-card { flex: 0 0 88%; }
}

/* =========================================================
   SINGLE LAYOUT
========================================================= */
.fm-single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 0 0 60px;
}
.fm-single-wrap { min-width: 0; }
.fm-single-sidebar { min-width: 0; }

/* Share footer */
.fm-share-footer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  background: var(--rose-clair); padding: 18px 20px; margin: 24px 0;
}
.fm-share-footer-label { font-size: 15px; font-weight: 700; color: var(--bordeaux); }

/* Widget populaire */
.fm-widget-popular { margin-bottom: 28px; }
.fm-popular-list { display: flex; flex-direction: column; gap: 0; counter-reset: none; }
.fm-popular-item {
  display: flex; align-items: start; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.fm-popular-num {
  font-size: 26px; font-weight: 900; color: var(--rose-clair);
  line-height: 1; flex-shrink: 0; min-width: 28px;
}
.fm-popular-title { font-size: 14px; font-weight: 700; color: var(--black); line-height: 1.4; transition: color .15s; }
.fm-popular-item:hover .fm-popular-title { color: var(--red); }

/* Widget newsletter sidebar */
.fm-widget-nl {
  background: var(--bordeaux); color: var(--white);
  padding: 22px 18px; text-align: center; margin-top: 24px;
}
.fm-widget-nl-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.fm-widget-nl-desc  { font-size: 13px; opacity: .8; margin-bottom: 16px; line-height: 1.5; }
.fm-widget-nl .fm-footer-nl-input { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25); }
.fm-widget-nl .fm-footer-nl-btn { background: var(--gold); }
.fm-widget-nl .fm-footer-nl-btn:hover { background: #b8972e; }

/* Archive layout */
.fm-archive-header {
  background: var(--bordeaux); color: var(--white); padding: 32px 0; margin-bottom: 0;
}
.fm-archive-pre   { font-size: 11px; letter-spacing: 2px; opacity: .7; margin-bottom: 6px; }
.fm-archive-title { font-size: 38px; font-weight: 900; line-height: 1.15; }
.fm-archive-desc  { margin-top: 10px; opacity: .75; font-style: italic; max-width: 600px; }
.fm-archive-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; }
.fm-archive-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }

/* Search form */
.fm-search-bar {
  background: var(--white); border-top: 1px solid var(--border);
  padding: 12px 0; display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.07);
}
.fm-search-bar.open { display: block; }
.fm-search-form { display: flex; gap: 0; border: 1px solid var(--border); }
.fm-search-input {
  flex: 1; border: none; background: var(--gray-light);
  padding: 10px 14px; font-family: var(--font); font-size: 14px; outline: none;
  direction: rtl; text-align: right;
}
.fm-search-submit {
  background: var(--red); color: var(--white); border: none;
  padding: 10px 18px; font-size: 16px; transition: background .15s;
}
.fm-search-submit:hover { background: var(--bordeaux); }
.fm-search-close {
  background: none; border: none; border-right: 1px solid var(--border);
  padding: 10px 14px; color: var(--gray); font-size: 16px; transition: color .15s;
}
.fm-search-close:hover { color: var(--red); }

/* Page statique */
.fm-page-wrap { max-width: 900px; margin: 40px auto; padding: 0 20px 60px; }
.fm-page-title { font-size: 36px; font-weight: 900; color: var(--black); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 3px solid var(--red); }

/* Responsive single + archive */
@media (max-width:1024px) {
  .fm-single-layout { grid-template-columns: 1fr 260px; gap: 28px; }
  .fm-archive-layout { grid-template-columns: 1fr 240px; }
}
@media (max-width:768px) {
  .fm-single-layout { grid-template-columns: 1fr; }
  .fm-single-sidebar { display: none; }
  .fm-archive-layout { grid-template-columns: 1fr; }
  .fm-archive-grid { grid-template-columns: 1fr; }
  .fm-single-title { font-size: 24px; }
  .fm-archive-title { font-size: 26px; }
  .fm-share-footer { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   BLOCS TEMPLATE-PARTS — CSS COMPLÉMENTAIRE
========================================================= */

/* ── Bloc 1 : Grille 5 ── */
.fm-card-sm-body { display: flex; flex-direction: column; gap: 6px; }
.fm-card-sm-meta { font-size: 11px; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.fm-card-sm-meta i { font-size: 10px; }
.fm-card-main-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .3s; display: block; }
.fm-card-main:hover .fm-card-main-img img { transform: scale(1.02); }
.fm-card-main-body { padding: 16px 0 0; text-align: center; }

/* ── Bloc 2 : Photos ── */
.fm-photo-placeholder { width: 100%; aspect-ratio: 16/10; background: #2a2a2a; display: block; }
.fm-photo-card-link { display: block; position: relative; overflow: hidden; }
.fm-photo-card-link img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform .35s; }
.fm-photo-card:hover .fm-photo-card-link img { transform: scale(1.03); }

/* ── Bloc 3 : Liste ── */
.fm-list-meta { font-size: 11px; color: var(--gray); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.fm-list-meta i { font-size: 10px; }
.fm-list-body { display: flex; flex-direction: column; gap: 4px; }

/* ── Bloc 4 : Vidéo ── */
.fm-video-main-link { display: block; position: relative; }
.fm-video-main-img  { width: 100%; max-height: 520px; object-fit: cover; display: block; }

/* ── Bloc 6 : 3 colonnes extras ── */
.fm-center-body  { display: flex; flex-direction: column; gap: 8px; }
.fm-center-meta  { font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.fm-center-meta i { font-size: 11px; }
.fm-rslide-body  { display: flex; flex-direction: column; gap: 8px; }

/* 3 colonnes RTL layout nommage */
.fm-3col-right  { /* عمود الرأي + فلاش */ }
.fm-3col-center { /* المقال المركزي */ }
.fm-3col-left   { /* سلايدر الأيسر */ }

/* ── Section ABO bar animation ── */
.fm-abo-bar { transition: max-height .3s ease, opacity .3s ease; overflow: hidden; }

/* ── Tags dans les cartes ── */
.fm-tag { display: inline-block; margin-bottom: 6px; }

/* ── Sections spacing ── */
.fm-sec-grid5   { padding: 32px 0; border-bottom: 1px solid var(--border); }
.fm-sec-list    { padding: 24px 0; border-bottom: 1px solid var(--border); }
.fm-sec-photos  { margin: 0; }
.fm-sec-video   { margin-bottom: 0; }
.fm-sec-3col    { padding: 32px 0; border-bottom: 1px solid var(--border); }
.fm-sec-beaute  { }
.fm-sec-people  { }


/* ═══════════════════════════════════════════════════════════
   الأكثر قراءة — خيار ج: مقال رئيسي + قائمة جانبية
═══════════════════════════════════════════════════════════ */
.fm-sec-pluslus { padding: 36px 0; border-top: 1px solid var(--border); }

.fm-pluslus-head { margin-bottom: 20px; }
.fm-pluslus-sec-title {
  font-size: 20px; font-weight: 900; color: var(--black);
  display: flex; align-items: center; gap: 10px;
}
.fm-pluslus-sec-title i { color: var(--red); font-size: 18px; }

/* Grille : 60% principal + 40% liste */
.fm-pluslus-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}

/* ── Article principal ── */
.fm-pluslus-main { position: relative; }
.fm-pluslus-main-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}
.fm-pluslus-main-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.fm-pluslus-main:hover .fm-pluslus-main-img { transform: scale(1.04); }
.fm-pluslus-main-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a2e, #2d1b4e);
}
.fm-pluslus-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 35%, rgba(0,0,0,.82));
  pointer-events: none;
}
.fm-pluslus-main-num {
  position: absolute; bottom: 10px; right: 14px;
  font-size: 90px; font-weight: 900;
  color: rgba(255,255,255,.06); line-height: 1;
  pointer-events: none; user-select: none;
}
.fm-pluslus-main-tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; display: inline-block;
}
.fm-pluslus-main-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 18px 18px;
}
.fm-pluslus-main-title {
  font-size: 20px; font-weight: 900; line-height: 1.3;
  color: var(--white); display: block; text-decoration: none;
  margin-bottom: 8px; transition: color .15s;
}
.fm-pluslus-main:hover .fm-pluslus-main-title { color: rgba(255,255,255,.8); }
.fm-pluslus-main-meta {
  font-size: 12px; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 10px;
}
.fm-pluslus-main-views {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: rgba(255,255,255,.45);
}

/* ── Liste 5 articles ── */
.fm-pluslus-list {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.fm-pluslus-row {
  display: grid;
  grid-template-columns: 36px 1fr 80px;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background .12s;
}
.fm-pluslus-row:last-child { border-bottom: none; }
.fm-pluslus-row:hover { background: var(--gray-light); }
.fm-pluslus-row-num {
  font-size: 24px; font-weight: 900; line-height: 1;
  color: var(--border); padding-top: 2px;
  font-family: var(--font); text-align: center;
}
.fm-pluslus-row:first-child .fm-pluslus-row-num { color: var(--red); }
.fm-pluslus-row-body { min-width: 0; }
.fm-pluslus-row-cat {
  font-size: 10px; font-weight: 700; color: var(--red);
  display: block; margin-bottom: 4px; text-decoration: none;
}
.fm-pluslus-row-title {
  font-size: 13px; font-weight: 700; line-height: 1.4;
  color: var(--black); display: block; text-decoration: none;
  transition: color .15s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fm-pluslus-row:hover .fm-pluslus-row-title { color: var(--red); }
.fm-pluslus-row-meta {
  font-size: 11px; color: var(--gray);
  margin-top: 5px; display: flex; align-items: center; gap: 4px;
}
.fm-pluslus-row-thumb {
  display: block; overflow: hidden; border-radius: 4px; flex-shrink: 0;
}
.fm-pluslus-row-thumb img {
  width: 80px; height: 56px;
  object-fit: cover; display: block;
  transition: transform .25s;
}
.fm-pluslus-row:hover .fm-pluslus-row-thumb img { transform: scale(1.05); }

/* Responsive */
@media (max-width: 900px) {
  .fm-pluslus-layout { grid-template-columns: 1fr; }
  .fm-pluslus-main-img-wrap { min-height: 260px; }
  .fm-pluslus-list { border-right: none; border-top: 1px solid var(--border); }
}
@media (max-width: 500px) {
  .fm-pluslus-row { grid-template-columns: 28px 1fr; }
  .fm-pluslus-row-thumb { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   مقاطع قصيرة — NOS FORMATS COURTS
═══════════════════════════════════════════════════════════ */
.fm-sec-formats { padding: 32px 0; border-top: 1px solid var(--border); }
.fm-formats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--black);
  margin-bottom: 20px;
}
.fm-formats-arrows { display: flex; gap: 6px; }
.fm-formats-arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--gray-dark);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  transition: all .15s;
  font-size: 14px;
}
.fm-formats-arrow:hover { border-color: var(--black); background: var(--black); color: var(--white); }

.fm-formats-track-wrap { overflow: hidden; }
.fm-formats-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.fm-formats-track::-webkit-scrollbar { display: none; }

.fm-format-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fm-format-img-wrap { position: relative; overflow: hidden; border-radius: 2px; }
.fm-format-img-link { display: block; position: relative; }
.fm-format-img-link img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.fm-format-card:hover .fm-format-img-link img { transform: scale(1.03); }

/* شارة حمراء أعلى يمين */
.fm-format-badge {
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  background: var(--red);
  color: var(--white);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900;
}

/* أيقونة المشاركة */
.fm-format-share {
  position: absolute;
  top: 8px; left: 8px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  color: var(--gray-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s;
}
.fm-format-share:hover { background: var(--white); }

/* زر التشغيل البرتقالي */
.fm-format-play {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: #FF4500;  /* برتقالي */
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 18px;
  padding-right: 3px; /* optical correction */
  transition: transform .2s;
  pointer-events: none;
}
.fm-format-card:hover .fm-format-play { transform: translate(-50%,-50%) scale(1.08); }

/* "شاهد على" */
.fm-format-platform {
  position: absolute;
  bottom: 36px; left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.8);
  font-style: italic;
}

/* overlay تصنيف + عنوان داخل الصورة */
.fm-format-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.fm-format-cat {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 4px;
  background: var(--red);
  display: inline-block;
  padding: 1px 6px;
}
.fm-format-inner-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

/* عنوان أسفل الصورة */
.fm-format-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  display: block;
  transition: color .15s;
  text-decoration: none;
}
.fm-format-card:hover .fm-format-title { color: var(--red); }

@media (max-width:768px) { .fm-format-card { flex: 0 0 180px; } }



/* ═══════════════════════════════════════════════════════════
   الدوسييه الموضوعي — DOSSIER
═══════════════════════════════════════════════════════════ */
.fm-sec-dossier { padding: 32px 0; border-top: 1px solid var(--border); }

.fm-dossier-head { padding-bottom: 12px; border-bottom: 3px solid var(--black); margin-bottom: 0; }
.fm-dossier-title { font-size: 24px; font-weight: 900; color: var(--black); }

/* Onglets */
.fm-dossier-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.fm-dossier-tab {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  padding: 10px 18px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.fm-dossier-tab + .fm-dossier-tab { border-right: 1px solid var(--border); }
.fm-dossier-tab:hover { color: var(--black); }
.fm-dossier-tab.active { color: var(--black); border-bottom-color: var(--black); font-weight: 700; }

/* Grille dossier */
.fm-dossier-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Maqala principale */
.fm-dossier-main {}
.fm-dossier-main-img { display: block; overflow: hidden; margin-bottom: 12px; }
.fm-dossier-main-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .3s; }
.fm-dossier-main:hover .fm-dossier-main-img img { transform: scale(1.02); }
.fm-dossier-label { font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: .5px; margin-bottom: 8px; }
.fm-dossier-icon { color: #F5C518; font-size: 12px; margin-left: 4px; }
.fm-dossier-main-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.35;
  transition: color .15s;
}
.fm-dossier-main:hover .fm-dossier-main-title { color: var(--red); }

/* Articles côté */
.fm-dossier-sides { display: flex; flex-direction: column; gap: 0; }
.fm-dossier-side {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.fm-dossier-side:first-child { border-top: 1px solid var(--border); }
.fm-dossier-side-img { display: block; overflow: hidden; flex-shrink: 0; }
.fm-dossier-side-img img { width: 120px; height: 80px; object-fit: cover; display: block; transition: transform .25s; }
.fm-dossier-side:hover .fm-dossier-side-img img { transform: scale(1.04); }
.fm-dossier-side-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  transition: color .15s;
}
.fm-dossier-side:hover .fm-dossier-side-title { color: var(--red); }

@media (max-width:900px) { .fm-dossier-grid { grid-template-columns: 1fr; } }
@media (max-width:600px) { .fm-dossier-side { grid-template-columns: 90px 1fr; } .fm-dossier-side-img img { width: 90px; height: 60px; } }

/* ═══════════════════════════════════════════════════════════
   سلايدر الفيديو — قسم منفصل بعنوانه الخاص
═══════════════════════════════════════════════════════════ */
.fm-sec-video { padding-top: 0; border-top: 3px solid var(--black); margin-top: 0; }
.fm-sec-video .fm-sec-head { padding: 16px 20px 14px; margin-bottom: 0; border-bottom: 0; }

/* Plus-lus image */
.fm-pluslus-img-wrap {
  overflow: hidden;
  margin-bottom: 0;
  flex-shrink: 0;
}
.fm-pluslus-img-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.fm-pluslus-card:hover .fm-pluslus-img-wrap img { transform: scale(1.04); }

/* Quand image présente: layout flex column avec image en haut */
.fm-pluslus-link {
  padding: 0;
  overflow: hidden;
}
.fm-pluslus-body {
  padding: 14px 16px 44px; /* padding-bottom pour le numéro */
  flex: 1;
}
.fm-pluslus-num {
  bottom: 10px;
  right: 12px;
  left: auto; /* RTL */
}

/* ═══════════════════════════════════════════════════════════
   SECTION STYLISTES — homepage block + single page
═══════════════════════════════════════════════════════════ */

/* ── Header section ── */
.fm-sec-stylistes { padding: 36px 0; border-top: 1px solid var(--border); }
.fm-sty-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.fm-sty-header-left {}
.fm-sty-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gray-light); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px; font-size: 12px;
  color: var(--gray); margin-bottom: 8px;
}
.fm-sty-pill i { font-size: 11px; color: var(--gold); }
.fm-sty-title { font-size: 24px; font-weight: 900; color: var(--black); }
.fm-sty-sub { font-size: 14px; color: var(--gray); margin-top: 4px; }

/* ── Filtres chips ── */
.fm-sty-filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.fm-sty-chip {
  font-size: 12px; padding: 6px 16px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--white);
  color: var(--gray); cursor: pointer; font-family: var(--font);
  text-decoration: none; transition: all .15s;
}
.fm-sty-chip.active, .fm-sty-chip:hover {
  background: var(--black); color: var(--white); border-color: var(--black);
}

/* ── Grille cartes ── */
.fm-sty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.fm-sty-archive-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width:1100px) { .fm-sty-archive-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:768px)  { .fm-sty-grid, .fm-sty-archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:480px)  { .fm-sty-grid, .fm-sty-archive-grid { grid-template-columns: 1fr; } }

/* ── Carte ── */
.fm-sty-card {
  border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; background: var(--white); transition: border-color .15s;
}
.fm-sty-card:hover { border-color: var(--black); }
.fm-sty-card-featured { border: 2px solid var(--red); }

/* Photo wrap */
.fm-sty-photo-wrap { position: relative; }
.fm-sty-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform .35s; }
.fm-sty-card:hover .fm-sty-photo { transform: scale(1.03); }

/* Wishlist */
.fm-sty-fav {
  position: absolute; top: 10px; left: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.88); border: 1px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray); font-size: 13px; transition: color .15s;
}
.fm-sty-fav[aria-pressed="true"] { color: #D4537E; }

/* Badge */
.fm-sty-badge {
  position: absolute; top: 10px; right: 10px;
  border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}
.fm-sty-badge-prem { background: #EEEDFE; color: #534AB7; }
.fm-sty-badge-new  { background: #E1F5EE; color: #0F6E56; }
.fm-sty-badge-ok   { background: #E6F1FB; color: #185FA5; }
.fm-sty-badge-default { background: var(--gray-light); color: var(--gray); }

/* Dispo */
.fm-sty-dispo {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; background: rgba(255,255,255,.95);
  border-top: 1px solid var(--border);
}
.fm-sty-day {
  flex: 1; text-align: center; font-size: 10px; font-weight: 700;
  color: var(--border); padding: 5px 0;
  border-right: 1px solid var(--border);
}
.fm-sty-day:last-child { border-right: none; }
.fm-sty-day.avail { color: #0F6E56; }

/* Body carte */
.fm-sty-body { padding: 12px 14px; }
.fm-sty-name-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.fm-sty-name { font-size: 15px; font-weight: 800; color: var(--black); text-decoration: none; transition: color .15s; }
.fm-sty-name:hover { color: var(--red); }
.fm-sty-rate { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; color: var(--black); }
.fm-sty-rate i { color: #BA7517; font-size: 11px; }
.fm-sty-avis { font-size: 11px; font-weight: 400; color: var(--gray); }
.fm-sty-city { font-size: 12px; color: var(--gray); margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.fm-sty-city i { font-size: 11px; color: var(--red); }
.fm-sty-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.fm-sty-tag { font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--gray-light); color: var(--gray-dark); border: 1px solid var(--border); }
.fm-sty-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 4px; }
.fm-sty-price { font-size: 14px; font-weight: 800; color: var(--black); }
.fm-sty-offre { font-size: 11px; color: #993C1D; background: #FAECE7; border-radius: 20px; padding: 2px 8px; display: flex; align-items: center; gap: 4px; }

/* Boutons action */
.fm-sty-actions { display: flex; gap: 6px; }
.fm-sty-btn-main {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 9px 14px; background: var(--black); color: var(--white);
  border: none; border-radius: 8px; font-size: 13px; font-family: var(--font);
  font-weight: 700; cursor: pointer; text-decoration: none; transition: opacity .15s;
}
.fm-sty-btn-main:hover { opacity: .85; color: var(--white); }
.fm-sty-btn-wa-big { background: #25D366; }
.fm-sty-btn-wa {
  width: 38px; height: 38px; border-radius: 8px; background: #25D366;
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0; text-decoration: none; transition: opacity .15s;
}
.fm-sty-btn-wa:hover { opacity: .85; color: var(--white); }

/* Mini-portfolio dans la carte */
.fm-sty-miniport {
  display: flex; gap: 4px; padding: 10px 12px 12px;
  border-top: 1px solid var(--border);
}
.fm-sty-prod {
  flex: 1; aspect-ratio: 1; border-radius: 6px; overflow: hidden;
  position: relative; display: block; background: var(--gray-light);
  border: 1px solid var(--border);
}
.fm-sty-prod img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.fm-sty-prod:hover img { transform: scale(1.06); }
.fm-sty-prod-price {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--black); color: var(--white); font-size: 9px;
  font-weight: 700; text-align: center; padding: 2px 0;
  opacity: 0; transition: opacity .15s;
}
.fm-sty-prod:hover .fm-sty-prod-price { opacity: 1; }
.fm-sty-prod-more {
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-light); border-style: dashed; color: var(--gray);
  font-size: 16px; text-decoration: none;
}

/* ── Boutique globale ── */
.fm-sty-boutique { border-top: 1px solid var(--border); padding-top: 24px; margin-bottom: 24px; }
.fm-sty-boutique-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fm-sty-boutique-title { font-size: 18px; font-weight: 800; color: var(--black); display: flex; align-items: center; gap: 8px; }
.fm-sty-boutique-more { font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.fm-sty-boutique-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.fm-sty-bout-card {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  background: var(--white); cursor: pointer; text-decoration: none; transition: border-color .15s;
}
.fm-sty-bout-card:hover { border-color: var(--black); }
.fm-sty-bout-img-wrap { overflow: hidden; }
.fm-sty-bout-img-wrap img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .25s; }
.fm-sty-bout-card:hover .fm-sty-bout-img-wrap img { transform: scale(1.04); }
.fm-sty-bout-body { padding: 8px 10px; }
.fm-sty-bout-brand { display: block; font-size: 10px; color: var(--gray); margin-bottom: 2px; }
.fm-sty-bout-name { display: block; font-size: 12px; font-weight: 700; color: var(--black); line-height: 1.35; margin-bottom: 4px; }
.fm-sty-bout-price { display: block; font-size: 13px; font-weight: 800; color: var(--black); }
.fm-sty-bout-more {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; border-style: dashed; color: var(--gray); padding: 16px;
}
.fm-sty-bout-more span { font-size: 12px; }
.fm-sty-bout-more i { font-size: 20px; }

/* ── CTA bas de section ── */
.fm-sty-cta { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }
.fm-sty-cta-main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--black); color: var(--white);
  border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; transition: opacity .15s;
}
.fm-sty-cta-main:hover { opacity: .85; color: var(--white); }
.fm-sty-cta-out {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; background: var(--white); color: var(--black);
  border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: border-color .15s;
}
.fm-sty-cta-out:hover { border-color: var(--black); }

/* ═══ PAGE PERSONNELLE STYLISTE ═══ */
.fm-sty-single { padding: 32px 20px 60px; }

.fm-sty-single-hero {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 40px; align-items: start; margin-bottom: 40px;
}
.fm-sty-single-photo-wrap { position: relative; }
.fm-sty-single-photo { width: 100%; border-radius: 16px; object-fit: cover; display: block; }
.fm-sty-single-badge {
  position: absolute; top: 14px; right: 14px;
  border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 5px;
}
.fm-sty-single-name { font-size: 32px; font-weight: 900; color: var(--black); margin-bottom: 10px; }
.fm-sty-single-rate { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 15px; color: var(--black); }
.fm-sty-single-rate i { font-size: 14px; }
.fm-sty-single-meta-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); margin-bottom: 10px; }
.fm-sty-sep { color: var(--border); }
.fm-sty-single-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.fm-sty-single-dispo-wrap { margin-bottom: 16px; }
.fm-sty-single-dispo-label { font-size: 12px; color: var(--gray); display: block; margin-bottom: 6px; }
.fm-sty-single-dispo { display: flex; gap: 6px; flex-wrap: wrap; }
.fm-sty-single-day {
  padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700;
  background: var(--gray-light); color: var(--border); border: 1px solid var(--border);
}
.fm-sty-single-day.avail { background: #E1F5EE; color: #0F6E56; border-color: #9FE1CB; }
.fm-sty-single-price-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.fm-sty-single-price { display: flex; align-items: baseline; gap: 4px; }
.fm-sty-price-num { font-size: 32px; font-weight: 900; color: var(--black); }
.fm-sty-price-unit { font-size: 14px; color: var(--gray); }
.fm-sty-single-offre { font-size: 13px; color: #993C1D; background: #FAECE7; border-radius: 20px; padding: 5px 14px; display: flex; align-items: center; gap: 6px; }
.fm-sty-single-actions { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.fm-sty-single-social { display: flex; gap: 10px; }
.fm-sty-social-link {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 16px; text-decoration: none; transition: opacity .15s;
}
.fm-sty-social-link:hover { opacity: .85; }
.fm-sty-ig { background: linear-gradient(135deg, #E1306C, #833AB4); }
.fm-sty-fb { background: #1877F2; }
.fm-sty-wa { background: #25D366; }

/* Sections de la page */
.fm-sty-single-section { margin-bottom: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.fm-sty-single-sec-title { font-size: 20px; font-weight: 900; color: var(--black); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.fm-sty-single-bio { font-size: 16px; line-height: 1.85; color: var(--gray-dark); }

/* Grille produits page perso */
.fm-sty-prod-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.fm-sty-prod-full-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--white); }
.fm-sty-prod-full-img-wrap { display: block; overflow: hidden; position: relative; }
.fm-sty-prod-full-img-wrap img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .3s; }
.fm-sty-prod-full-card:hover .fm-sty-prod-full-img-wrap img { transform: scale(1.04); }
.fm-sty-prod-stock { position: absolute; top: 8px; right: 8px; background: var(--red); color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.fm-sty-prod-full-body { padding: 10px 12px; }
.fm-sty-prod-name { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.fm-sty-prod-price { font-size: 15px; font-weight: 900; color: var(--black); margin-bottom: 8px; }
.fm-sty-prod-buy {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  padding: 8px; background: var(--black); color: var(--white); border-radius: 6px;
  font-size: 12px; font-weight: 700; text-decoration: none; transition: opacity .15s;
}
.fm-sty-prod-buy:hover { opacity: .85; color: var(--white); }

/* Articles liés */
.fm-sty-articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.fm-sty-article-card { display: flex; flex-direction: column; gap: 10px; }
.fm-sty-article-img { display: block; overflow: hidden; border-radius: 8px; }
.fm-sty-article-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .3s; }
.fm-sty-article-card:hover .fm-sty-article-img img { transform: scale(1.03); }
.fm-sty-article-img-ph { width: 100%; aspect-ratio: 16/10; background: var(--gray-light); border-radius: 8px; }
.fm-sty-article-body { display: flex; flex-direction: column; gap: 5px; }
.fm-tag-sm { font-size: 10px; padding: 2px 8px; }
.fm-sty-article-title { font-size: 14px; font-weight: 700; color: var(--black); line-height: 1.4; transition: color .15s; }
.fm-sty-article-card:hover .fm-sty-article-title { color: var(--red); }
.fm-sty-article-meta { font-size: 11px; color: var(--gray); display: flex; align-items: center; gap: 4px; }

/* Formulaire contact */
.fm-sty-contact-wrap { max-width: 680px; }
.fm-sty-contact-wa { margin-bottom: 24px; padding: 18px; background: #E1F5EE; border-radius: 10px; }
.fm-sty-contact-wa p { font-size: 14px; color: var(--gray-dark); margin-bottom: 12px; }
.fm-sty-form { display: grid; gap: 14px; }
.fm-sty-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fm-sty-form-group { display: flex; flex-direction: column; gap: 5px; }
.fm-sty-form-group label { font-size: 13px; font-weight: 700; color: var(--black); }
.fm-sty-form-group input,
.fm-sty-form-group textarea {
  border: 1px solid var(--border); background: var(--white); padding: 10px 12px;
  font-family: var(--font); font-size: 14px; color: var(--black); border-radius: 8px;
  outline: none; transition: border-color .15s; direction: rtl;
}
.fm-sty-form-group input:focus,
.fm-sty-form-group textarea:focus { border-color: var(--black); }
.fm-sty-form-group textarea { resize: vertical; min-height: 80px; }

@media (max-width:768px) {
  .fm-sty-single-hero { grid-template-columns: 1fr; }
  .fm-sty-single-photo { max-height: 320px; }
  .fm-sty-prod-grid { grid-template-columns: 1fr 1fr; }
  .fm-sty-articles-grid { grid-template-columns: 1fr 1fr; }
  .fm-sty-form-row { grid-template-columns: 1fr; }
  .fm-sty-boutique-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width:480px) {
  .fm-sty-prod-grid { grid-template-columns: 1fr; }
  .fm-sty-articles-grid { grid-template-columns: 1fr; }
  .fm-sty-boutique-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   TIMELINE — خط زمني بنقاط حمراء
═══════════════════════════════════════════════════════════ */
/* ═══ TIMELINE — fidèle à la capture ═══
   Layout RTL: [contenu ← titre+cat] [point+ligne] [منذ 15س]
   Grid: 1fr · 16px · 72px
*/
.fm-timeline-section {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
}
.fm-timeline-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.fm-timeline-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 900; color: var(--black);
}
.fm-tl-dot-anim {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); display: inline-block;
  animation: tl-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes tl-pulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.4); opacity:.6; }
}
.fm-timeline-more {
  font-size: 13px; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 6px; text-decoration: none;
  transition: color .15s;
}
.fm-timeline-more:hover { color: var(--bordeaux); }

.fm-timeline-list { display: flex; flex-direction: column; }

/* RTL: contenu à droite, temps à gauche, point au milieu */
.fm-timeline-item {
  display: grid;
  grid-template-columns: 1fr 16px 72px;
  gap: 0;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
}
.fm-timeline-item:last-child { border-bottom: none; }
.fm-timeline-item:hover .fm-tl-title { color: var(--red); }

/* ── Colonne 1 : contenu (titre + catégorie) ── */
.fm-tl-content {
  grid-column: 1;
  padding-left: 16px;
  text-align: right;
}
.fm-tl-cat {
  display: inline-block; font-size: 11px; font-weight: 800;
  color: var(--red); margin-bottom: 5px; text-decoration: none;
  letter-spacing: .3px; transition: color .12s;
}
.fm-tl-cat:hover { color: var(--bordeaux); }
.fm-tl-title {
  font-size: 15px; font-weight: 700; line-height: 1.5;
  color: var(--black); text-decoration: none; display: block;
  transition: color .15s;
}
/* Titre rouge si article lu récemment (fresh) */
.fm-tl-fresh .fm-tl-title { color: var(--red); }

/* ── Colonne 2 : connecteur (point + ligne) ── */
.fm-tl-connector {
  grid-column: 2;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 4px; height: 100%;
}
.fm-tl-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  flex-shrink: 0; z-index: 1;
  transition: background .15s, border-color .15s;
}
/* Point rouge sur article actif / récent */
.fm-tl-fresh .fm-tl-dot {
  background: var(--red);
  border-color: var(--red);
}
.fm-timeline-item:hover .fm-tl-dot {
  background: var(--red);
  border-color: var(--red);
}
.fm-tl-line {
  width: 1px; flex: 1;
  background: var(--border);
  min-height: 20px; margin-top: 4px;
}

/* ── Colonne 3 : temps (منذ 15س) ── */
.fm-tl-time {
  grid-column: 3;
  font-size: 12px; font-weight: 700;
  color: var(--gray);
  padding-top: 3px;
  text-align: left;
  direction: ltr;
  white-space: nowrap;
}
.fm-tl-fresh .fm-tl-time { color: var(--red); }

@media (max-width: 600px) {
  .fm-timeline-item { grid-template-columns: 1fr 14px 56px; }
  .fm-tl-time { font-size: 11px; }
  .fm-tl-title { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   DOSSIER HERO — صورة كاملة + بار أزرق + مقالات مرتبطة
═══════════════════════════════════════════════════════════ */
.fm-dh-section {
  padding: 0 0 36px;
  border-top: 1px solid var(--border);
}
.fm-dh-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
}

/* ── Hero image ── */
.fm-dh-hero { position: relative; overflow: hidden; }
.fm-dh-hero-link { display: block; }
.fm-dh-hero-img {
  width: 100%; max-height: 420px; object-fit: cover; display: block;
  transition: transform .4s;
}
.fm-dh-hero:hover .fm-dh-hero-img { transform: scale(1.02); }

/* Caption avec titre + barre colorée gauche */
.fm-dh-hero-caption {
  position: absolute; inset: auto 0 0;
  padding: 60px 28px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}
.fm-dh-hero-title {
  font-size: 28px; font-weight: 900; color: var(--white);
  line-height: 1.25;
  border-right: 4px solid var(--dh-color, #3B82F6);
  padding-right: 14px;
}

/* ── Corps 2 colonnes ── */
.fm-dh-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
}

/* ── Colonne gauche : liste articles ── */
.fm-dh-sides { padding: 0; }
.fm-dh-side-item {
  display: flex; align-items: start;
  gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .12s; cursor: pointer;
}
.fm-dh-side-item:last-child { border-bottom: none; }
.fm-dh-side-item:hover { background: var(--gray-light); }
.fm-dh-side-text { flex: 1; min-width: 0; }
.fm-dh-label {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: var(--gray); letter-spacing: .5px; margin-bottom: 5px;
  text-transform: uppercase;
}
.fm-dh-side-title {
  font-size: 14px; font-weight: 700; line-height: 1.45;
  color: var(--black); text-decoration: none; display: block;
  transition: color .15s;
}
.fm-dh-side-item:hover .fm-dh-side-title { color: var(--red); }
.fm-dh-side-img-wrap {
  flex-shrink: 0; display: block; overflow: hidden;
  border-radius: 4px; width: 96px;
}
.fm-dh-side-img-wrap img {
  width: 96px; height: 64px; object-fit: cover; display: block;
  transition: transform .25s;
}
.fm-dh-side-item:hover .fm-dh-side-img-wrap img { transform: scale(1.05); }

/* ── Colonne droite : article central ── */
.fm-dh-main {
  border-right: 1px solid var(--border);
  padding: 20px 20px;
}
.fm-dh-main-article {}
.fm-dh-main-img-wrap { display: block; overflow: hidden; margin-bottom: 14px; }
.fm-dh-main-img-wrap img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform .3s;
}
.fm-dh-main-article:hover .fm-dh-main-img-wrap img { transform: scale(1.03); }
.fm-dh-main-body {}
.fm-dh-main-title {
  font-size: 20px; font-weight: 900; line-height: 1.3;
  color: var(--black); margin-bottom: 10px; display: block;
  transition: color .15s; text-decoration: none;
}
.fm-dh-main-article:hover .fm-dh-main-title { color: var(--red); }
.fm-dh-main-excerpt {
  font-size: 14px; color: var(--gray); line-height: 1.75;
}

/* ── Footer ── */
.fm-dh-footer {
  border: 1px solid var(--border); border-top: none;
  padding: 14px 20px; background: var(--gray-light);
}
.fm-dh-see-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--gray-dark);
  text-decoration: none; transition: color .15s;
}
.fm-dh-see-all:hover { color: var(--red); }
.fm-dh-see-all i { font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .fm-dh-body { grid-template-columns: 1fr; }
  .fm-dh-main { border-right: none; border-top: 1px solid var(--border); }
  .fm-dh-hero-title { font-size: 22px; }
}
@media (max-width: 600px) {
  .fm-dh-hero-img { max-height: 260px; }
  .fm-dh-hero-title { font-size: 17px; padding-right: 10px; }
  .fm-dh-side-img-wrap { width: 72px; }
  .fm-dh-side-img-wrap img { width: 72px; height: 50px; }
  .fm-dh-side-title { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════
   MAGAZINE — صفحة أرشيف الأعداد
═══════════════════════════════════════════════════════════ */
.fm-mag-page { padding-bottom: 60px; }

/* ── العدد الأحدث ── */
.fm-mag-latest {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 36px;
}
.fm-mag-latest-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.fm-mag-issue-label {
  font-size: 12px; font-weight: 700; color: var(--gray);
  letter-spacing: 1px; margin-bottom: 10px;
  text-transform: uppercase;
}
.fm-mag-latest-title {
  font-size: 30px; font-weight: 900; color: var(--black);
  line-height: 1.25; margin-bottom: 8px;
}
.fm-mag-latest-date {
  font-size: 13px; color: var(--gray); margin-bottom: 20px;
}

/* Boutons CTA */
.fm-mag-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.fm-mag-btn-sub {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--white);
  font-size: 14px; font-weight: 800;
  padding: 11px 22px; border-radius: 4px; text-decoration: none;
  transition: opacity .15s;
}
.fm-mag-btn-sub:hover { opacity: .88; color: var(--white); }
.fm-mag-btn-pdf {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: var(--white);
  font-size: 14px; font-weight: 700;
  padding: 11px 20px; border-radius: 4px; text-decoration: none;
  transition: opacity .15s;
}
.fm-mag-btn-pdf:hover { opacity: .88; color: var(--white); }
.fm-mag-btn-price { font-size: 12px; opacity: .75; font-weight: 400; }

/* Contenu */
.fm-mag-latest-content-wrap { border-top: 1px solid var(--border); padding-top: 18px; }
.fm-mag-content-title { font-size: 15px; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.fm-mag-latest-content { font-size: 14px; color: var(--gray-dark); line-height: 1.8; transition: max-height .3s ease; overflow: hidden; }
.fm-mag-readmore {
  background: none; border: none; color: var(--red);
  font-size: 13px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  padding: 8px 0; font-family: var(--font); transition: opacity .15s;
}
.fm-mag-readmore:hover { opacity: .75; }

/* Cover */
.fm-mag-latest-cover-wrap { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fm-mag-latest-cover {
  width: 100%; max-width: 260px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  display: block; border-radius: 2px;
  transition: transform .2s;
}
.fm-mag-latest-cover:hover { transform: scale(1.02); }
.fm-mag-cover-price {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 20px; font-weight: 900; color: var(--black);
}
.fm-mag-cover-price-label { font-size: 11px; color: var(--gray); font-weight: 400; }
.fm-mag-buy-print {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); color: var(--black);
  font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: 4px; text-decoration: none;
  transition: all .15s; width: 100%; justify-content: center;
}
.fm-mag-buy-print:hover { border-color: var(--black); background: var(--gray-light); }
.fm-mag-back-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray); text-decoration: none;
  justify-content: center; transition: color .15s;
}
.fm-mag-back-link:hover { color: var(--red); }

/* ── Grille archives ── */
.fm-mag-archive { padding: 36px 0; }
.fm-mag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.fm-mag-card {}
.fm-mag-card-cover-wrap {
  display: block; position: relative; overflow: hidden;
  border-radius: 2px; margin-bottom: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
}
.fm-mag-card-cover {
  width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block;
  transition: transform .35s;
}
.fm-mag-card:hover .fm-mag-card-cover { transform: scale(1.04); }

/* Overlay hover */
.fm-mag-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  transition: background .25s;
}
.fm-mag-card-cover-wrap:hover .fm-mag-card-overlay { background: rgba(0,0,0,.45); }
.fm-mag-ov-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--white); color: var(--black);
  font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 20px; text-decoration: none;
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.fm-mag-card-cover-wrap:hover .fm-mag-ov-btn {
  opacity: 1; transform: translateY(0);
}
.fm-mag-ov-btn:hover { background: var(--red); color: var(--white); }

/* Infos bas */
.fm-mag-card-body {
  display: flex; align-items: center; justify-content: space-between;
}
.fm-mag-card-date { font-size: 13px; color: var(--gray); font-weight: 500; }
.fm-mag-card-price { font-size: 13px; font-weight: 700; color: var(--black); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .fm-mag-latest-inner { grid-template-columns: 1fr 220px; gap: 28px; }
  .fm-mag-latest-title { font-size: 24px; }
  .fm-mag-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fm-mag-latest-inner { grid-template-columns: 1fr; }
  .fm-mag-latest-cover-wrap { flex-direction: row; align-items: start; }
  .fm-mag-latest-cover { max-width: 140px; }
  .fm-mag-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .fm-mag-cta-row { flex-direction: column; }
  .fm-mag-btn-sub, .fm-mag-btn-pdf { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEBDO — boutons + badge mises à jour
═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   ARCHIVE NUMÉROS — صفحة الأرشيف
═══════════════════════════════════════════════════════════ */
.fm-numeros-archive {}

/* ── Hero dernier numéro ── */
.fm-na-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.fm-na-hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.fm-na-hero-img {
  width: 100%;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  display: block;
  border-radius: 4px;
  transition: transform .2s;
}
.fm-na-hero-cover { position: relative; }
.fm-na-hero-cover a:hover .fm-na-hero-img { transform: scale(1.02); }
.fm-na-free-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; display: flex; align-items: center; gap: 5px;
}
.fm-na-hero-date {
  font-size: 13px; font-weight: 700; color: var(--gray);
  letter-spacing: .5px; margin-bottom: 10px;
  text-transform: uppercase;
}
.fm-na-hero-title {
  font-size: 26px; font-weight: 900; color: var(--black);
  line-height: 1.25; margin-bottom: 20px;
}
.fm-na-hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;
}
.fm-na-btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; background: var(--black); color: var(--white);
  font-size: 14px; font-weight: 800; border-radius: 8px;
  text-decoration: none; transition: opacity .15s; font-family: var(--font);
}
.fm-na-btn-dl:hover { opacity: .85; color: var(--white); }
.fm-na-btn-sub {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: #F5C518; color: var(--black);
  font-size: 14px; font-weight: 800; border-radius: 8px;
  text-decoration: none; transition: opacity .15s;
}
.fm-na-btn-sub:hover { opacity: .85; color: var(--black); }
.fm-na-hero-sommaire {
  background: var(--gray-light); border-radius: 8px; padding: 16px;
  margin-bottom: 16px;
}
.fm-na-hero-sommaire h3 {
  font-size: 14px; font-weight: 800; margin-bottom: 10px; color: var(--black);
}
.fm-na-hero-sommaire ul { padding-right: 18px; }
.fm-na-hero-sommaire li { font-size: 14px; line-height: 1.7; color: var(--gray-dark); margin-bottom: 4px; }
.fm-na-hero-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.fm-na-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--red);
  text-decoration: none; transition: color .15s;
}
.fm-na-read-more:hover { color: var(--bordeaux); }

/* ── Grille archives ── */
.fm-na-grid-section { padding: 36px 0 60px; }
.fm-na-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fm-na-card {
  display: flex; flex-direction: column; cursor: pointer;
}
.fm-na-card-img-wrap {
  display: block; position: relative; overflow: hidden;
  border-radius: 6px; margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.fm-na-card-img-wrap img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
  transition: transform .35s;
}
.fm-na-card:hover .fm-na-card-img-wrap img { transform: scale(1.03); }
.fm-na-card-free {
  position: absolute; top: 8px; right: 8px;
  background: var(--green); color: var(--white);
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}

/* Overlay au hover */
.fm-na-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.fm-na-card:hover .fm-na-card-overlay { opacity: 1; }
.fm-na-card-overlay-actions { display: flex; flex-direction: column; gap: 8px; }
.fm-na-ov-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 20px; background: var(--white); color: var(--black);
  font-size: 13px; font-weight: 700; border-radius: 6px;
  text-decoration: none; font-family: var(--font); transition: opacity .15s;
}
.fm-na-ov-btn:hover { opacity: .88; color: var(--black); }
.fm-na-ov-btn-out { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.5); }
.fm-na-ov-btn-out:hover { color: var(--white); background: rgba(255,255,255,.12); }

.fm-na-card-body { text-align: center; }
.fm-na-card-date { font-size: 13px; font-weight: 700; color: var(--gray-dark); margin-bottom: 2px; }
.fm-na-card-prix { font-size: 12px; color: var(--gray); }

/* ── Single numéro ── */
.fm-numero-single { padding: 36px 20px 60px; }
.fm-ns-hero {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 40px; align-items: start; margin-bottom: 40px;
}
.fm-ns-cover-wrap { position: relative; }
.fm-ns-cover {
  width: 100%; box-shadow: 0 8px 28px rgba(0,0,0,.2);
  border-radius: 4px; display: block;
}
.fm-ns-info {}

/* Navigation précédent/suivant */
.fm-ns-nav {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center;
  border-top: 1px solid var(--border); padding-top: 24px; margin-top: 24px;
}
.fm-ns-nav-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; text-decoration: none; color: var(--black);
  transition: border-color .15s; font-family: var(--font);
}
.fm-ns-nav-btn:hover { border-color: var(--black); }
.fm-ns-nav-btn small { display: block; font-size: 11px; color: var(--gray); margin-bottom: 2px; }
.fm-ns-nav-btn strong { display: block; font-size: 13px; font-weight: 800; }
.fm-ns-nav-btn-r { justify-content: flex-end; }
.fm-ns-nav-archive {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--gray);
  text-decoration: none; transition: color .15s;
}
.fm-ns-nav-archive i { font-size: 20px; }
.fm-ns-nav-archive:hover { color: var(--red); }

/* Responsive */
@media (max-width: 900px) {
  .fm-na-hero-grid { grid-template-columns: 200px 1fr; gap: 24px; }
  .fm-na-grid { grid-template-columns: repeat(2,1fr); }
  .fm-ns-hero { grid-template-columns: 220px 1fr; }
}
@media (max-width: 600px) {
  .fm-na-hero-grid { grid-template-columns: 1fr; }
  .fm-na-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .fm-ns-hero { grid-template-columns: 1fr; }
  .fm-ns-nav { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   L'HEBDO — style exact capture
═══════════════════════════════════════════════════════════ */
.fm-hebdo { padding: 32px 0; border-top: 1px solid var(--border); }

.fm-hebdo-sec-head { margin-bottom: 24px; }
.fm-hebdo-sec-title {
  font-size: 22px; font-weight: 900; color: var(--black);
  letter-spacing: .5px;
}

.fm-hebdo-layout {
  display: grid;
  grid-template-columns: 180px 1fr 300px;
  gap: 32px;
  align-items: start;
  direction: rtl;
}

/* Ordre RTL : couverture (col1=droite), contenu (col2=centre), pub (col3=gauche) */
.fm-hebdo-cover-col  { grid-column: 1; }
.fm-hebdo-content-col{ grid-column: 2; }
.fm-hebdo-pub-col    { grid-column: 3; }

/* Pub 300×300 */
.fm-hebdo-pub-col { min-width: 0; }
.fm-pub-300sq {
  width: 100%;
  max-width: 300px;
  height: 300px;
  border: 1.5px dashed var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fafafa;
}
.fm-pub-label {
  font-size: 11px; font-weight: 700;
  color: var(--gray); letter-spacing: 1px;
  text-transform: uppercase;
}
.fm-pub-dims { font-size: 13px; color: var(--border); font-weight: 500; }

/* Couverture */
.fm-hebdo-cover-col { position: relative; flex-shrink: 0; }
.fm-hebdo-cover-link { display: block; }
.fm-hebdo-cover-img {
  width: 100%; display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  border-radius: 2px;
  transition: transform .2s;
}
.fm-hebdo-cover-link:hover .fm-hebdo-cover-img { transform: scale(1.02); }
.fm-hebdo-free-tag {
  position: absolute; top: 8px; right: 8px;
  background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px;
}

/* Contenu */
.fm-hebdo-content-col {}
.fm-hebdo-date-label {
  font-size: 12px; font-weight: 700; color: var(--gray);
  letter-spacing: 1px; margin-bottom: 10px;
}
.fm-hebdo-main-title {
  font-size: 26px; font-weight: 900; color: var(--black);
  line-height: 1.2; margin-bottom: 18px; display: block;
  transition: color .15s;
}
.fm-hebdo-main-title:hover { color: var(--red); }
.fm-hebdo-divider {
  border: none; border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

/* Liste articles — shashé rouge + icône dorée */
.fm-hebdo-articles-list {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 22px;
}
.fm-hebdo-list-item {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.fm-hebdo-list-item:last-child { border-bottom: none; }
.fm-hebdo-dash {
  color: var(--red); font-weight: 900;
  font-size: 18px; flex-shrink: 0; line-height: 1;
}
.fm-hebdo-prem-icon {
  color: #F5C518; font-size: 12px; flex-shrink: 0;
}
.fm-hebdo-article-link {
  font-size: 15px; color: var(--black);
  text-decoration: none; line-height: 1.4;
  transition: color .15s; flex: 1;
}
.fm-hebdo-article-link:hover { color: var(--red); }
.fm-hebdo-article-bold { font-weight: 700; }

/* Bouton "Feuilleter" */
.fm-hebdo-browse-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--gray-dark); color: var(--gray-dark);
  font-size: 14px; font-weight: 600;
  padding: 9px 22px; border-radius: 24px;
  text-decoration: none; transition: all .15s;
  font-family: var(--font);
}
.fm-hebdo-browse-btn:hover {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}

@media (max-width: 1050px) {
  .fm-hebdo-layout { grid-template-columns: 160px 1fr; gap: 24px; }
  .fm-hebdo-pub-col { display: none; }
}
@media (max-width: 768px) {
  .fm-hebdo-layout { grid-template-columns: 140px 1fr; gap: 20px; }
  .fm-hebdo-main-title { font-size: 20px; }
  .fm-hebdo-article-link { font-size: 14px; }
}
@media (max-width: 520px) {
  .fm-hebdo-layout { grid-template-columns: 1fr; }
  .fm-hebdo-cover-col { max-width: 200px; }
}

/* ═══════════════════════════════════════════════════════════
   SLIDER NUMÉROS
═══════════════════════════════════════════════════════════ */
.fm-numeros-slider-section {
  padding: 28px 0 32px;
  border-top: 1px solid var(--border);
}
.fm-ns-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.fm-ns-title {
  font-size: 20px; font-weight: 800; color: var(--black);
  display: flex; align-items: center; gap: 8px; flex: 1;
}
.fm-ns-title i { font-size: 18px; color: var(--gray); }
.fm-ns-controls { display: flex; align-items: center; gap: 8px; }
.fm-ns-arr {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--white);
  color: var(--gray); display: flex; align-items: center;
  justify-content: center; font-size: 12px; cursor: pointer;
  transition: all .15s;
}
.fm-ns-arr:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.fm-ns-archive-link {
  font-size: 12px; color: var(--gray); display: flex;
  align-items: center; gap: 4px; text-decoration: none;
  transition: color .15s;
}
.fm-ns-archive-link:hover { color: var(--red); }
.fm-ns-archive-link i { font-size: 11px; }

/* Track */
.fm-ns-track-wrap { overflow: hidden; }
.fm-ns-track {
  display: flex; gap: 14px;
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}

/* Carte */
.fm-ns-card { flex: 0 0 148px; display: flex; flex-direction: column; gap: 8px; }
.fm-ns-cover-wrap {
  position: relative; overflow: hidden;
  border-radius: 4px;
  border: 0.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.fm-ns-cover {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  display: block; transition: transform .32s;
}
.fm-ns-card:hover .fm-ns-cover { transform: scale(1.04); }

/* Badges */
.fm-ns-badge {
  position: absolute; top: 7px; right: 7px;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  display: flex; align-items: center; gap: 3px;
}
.fm-ns-badge-latest { background: var(--red); color: var(--white); }
.fm-ns-badge-free   { background: var(--green); color: var(--white); }

/* Hover overlay */
.fm-ns-hover {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.52);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 7px;
  opacity: 0; transition: opacity .22s;
}
.fm-ns-card:hover .fm-ns-hover { opacity: 1; }
.fm-ns-hover-btn {
  width: 120px; text-align: center;
  font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 20px;
  text-decoration: none; font-family: var(--font);
  transition: opacity .15s;
}
.fm-ns-hover-btn:hover { opacity: .88; }
.fm-ns-hover-view { background: var(--white); color: var(--black); }
.fm-ns-hover-dl   { background: var(--green); color: var(--white); }
.fm-ns-hover-buy  { background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.4); }

/* Infos sous la couverture */
.fm-ns-info { padding: 0 2px; }
.fm-ns-date { font-size: 11px; color: var(--gray); margin-bottom: 3px; }
.fm-ns-card-title {
  font-size: 12px; font-weight: 700; color: var(--black);
  line-height: 1.35; display: block; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.fm-ns-card-title:hover { color: var(--red); }
.fm-ns-prix { font-size: 11px; color: var(--gray); margin-top: 3px; }
.fm-ns-prix-free { color: var(--green); font-weight: 700; }

/* Dots */
.fm-ns-dots {
  display: flex; justify-content: center; gap: 6px; margin-top: 16px;
}
.fm-ns-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); border: none; padding: 0; cursor: pointer;
  transition: all .15s;
}
.fm-ns-dot.active { background: var(--black); width: 20px; border-radius: 4px; }

@media (max-width: 768px) {
  .fm-ns-card { flex: 0 0 130px; }
}
@media (max-width: 480px) {
  .fm-ns-card { flex: 0 0 115px; }
}

/* ═══════════════════════════════════════════════════════════
   SLIDER CENTRAL — fm-cslider (colonne centre 3col)
═══════════════════════════════════════════════════════════ */
.fm-cslider { position: relative; }

/* Toutes les slides cachées sauf active */
.fm-cslide {
  display: none;
  animation: fm-cs-fadein .35s ease;
}
.fm-cslide.active { display: block; }

@keyframes fm-cs-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Image — réutilise fm-center-img existant */
.fm-cslide .fm-center-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.fm-cslide:hover .fm-center-img img { transform: scale(1.02); }

/* Dots */
.fm-cslider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.fm-cslider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none; padding: 0;
  cursor: pointer;
  transition: all .18s;
}
.fm-cslider-dot.active {
  background: var(--red);
  width: 22px;
  border-radius: 4px;
}
.fm-cslider-dot:hover { background: var(--gray); }

/* Placeholder image slider */
.fm-slide-img-placeholder {
  width: 100%; height: 100%;
  background: #1a1a2e;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   COMMENTAIRES
═══════════════════════════════════════════════════════════ */
.fm-comments { padding: 36px 0; direction: rtl; border-top: 1px solid var(--border); margin-top: 32px; }
.fm-comments-title {
  font-size: 20px; font-weight: 900; color: var(--black);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
}
.fm-comment-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 36px; }
.fm-comment-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.fm-comment-item:last-child { border-bottom: none; }
.fm-comment-body {}
.fm-comment-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.fm-avatar-img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.fm-comment-info { flex: 1; min-width: 0; }
.fm-comment-author {
  font-size: 14px; font-weight: 700; color: var(--black); display: block;
}
.fm-comment-author a { color: var(--black); text-decoration: none; }
.fm-comment-author a:hover { color: var(--red); }
.fm-comment-date { font-size: 12px; color: var(--gray); display: block; margin-top: 2px; }
.fm-comment-reply a {
  font-size: 12px; font-weight: 700; color: var(--red);
  text-decoration: none; padding: 4px 10px;
  border: 1px solid var(--red); border-radius: 20px;
  transition: all .15s; white-space: nowrap;
}
.fm-comment-reply a:hover { background: var(--red); color: var(--white); }
.fm-comment-text { font-size: 14px; line-height: 1.75; color: var(--dark2); }
.fm-comment-text p { margin-bottom: 8px; }
.fm-comment-text p:last-child { margin-bottom: 0; }
.fm-comment-pending {
  font-size: 12px; color: var(--gray); font-style: italic;
  background: #fff8e1; border: 1px solid #ffe082;
  padding: 6px 12px; border-radius: 4px; margin-bottom: 8px;
}
.fm-comments-closed, .fm-comments-protected {
  font-size: 14px; color: var(--gray); padding: 16px;
  background: var(--gray-light); border-radius: 6px; margin-bottom: 24px;
}
/* Formulaire */
#respond {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px; margin-top: 8px;
}
.fm-comment-form-title {
  font-size: 18px; font-weight: 900; color: var(--black); margin-bottom: 20px;
}
#cancel-comment-reply-link {
  font-size: 13px; color: var(--gray); margin-right: 10px; text-decoration: none;
}
#cancel-comment-reply-link:hover { color: var(--red); }
.comment-form p { margin-bottom: 14px; }
.comment-form label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--dark2); margin-bottom: 5px;
}
.comment-form .required { color: var(--red); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 4px;
  padding: 9px 12px; font-family: var(--font); font-size: 14px;
  color: var(--black); outline: none; transition: border-color .15s;
  box-sizing: border-box;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--red); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.fm-comment-submit, .form-submit .submit {
  background: var(--red); color: var(--white); border: none;
  padding: 10px 28px; font-family: var(--font); font-size: 14px;
  font-weight: 700; border-radius: 4px; cursor: pointer;
  transition: background .15s;
}
.fm-comment-submit:hover, .form-submit .submit:hover { background: var(--bordeaux); }
/* Children comments */
.children { list-style: none; padding-right: 48px; margin-top: 12px; }
