/* ApothiBlog V3 - Style harmonisé index.tpl Apothiclick */
/* Palette reprise du fichier index.tpl : navy / bleu / mint / orange / fond clair */

body#module-apothiblog-list #wrapper > .container,
body#module-apothiblog-post #wrapper > .container {
  max-width: 100% !important;
  padding: 0 !important;
}
body#module-apothiblog-list #wrapper > .container > .row,
body#module-apothiblog-post #wrapper > .container > .row { margin: 0 !important; }
body#module-apothiblog-list #content-wrapper,
body#module-apothiblog-post #content-wrapper { padding: 0 !important; width: 100% !important; }
body#module-apothiblog-list #main,
body#module-apothiblog-post #main { padding: 0 !important; margin: 0 !important; }

.apothiblog-page,
.apothiblog-home {
  --ab-navy:#10213f;
  --ab-blue:#173a63;
  --ab-mint:#18c3a6;
  --ab-mint-dark:#0b9f87;
  --ab-orange:#ff7a3d;
  --ab-orange-dark:#e95f23;
  --ab-red:#ef4444;
  --ab-yellow:#ffd76a;
  --ab-cream:#fff5e8;
  --ab-bg:#f7fafc;
  --ab-card:#ffffff;
  --ab-text:#394761;
  --ab-muted:#6f7b91;
  --ab-border:rgba(16,33,63,.12);
  --ab-shadow:0 18px 46px rgba(16,33,63,.12);
  --ab-shadow-strong:0 28px 70px rgba(16,33,63,.18);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ab-text);
  background: var(--ab-bg);
  overflow-x: hidden;
}

.apothiblog-page *,
.apothiblog-page *::before,
.apothiblog-page *::after,
.apothiblog-home *,
.apothiblog-home *::before,
.apothiblog-home *::after { box-sizing: border-box; }

.apothiblog-page a,
.apothiblog-home a { text-decoration: none; color: inherit; }
.apothiblog-page img,
.apothiblog-home img { max-width: 100%; display: block; }
.apothiblog-page h1,
.apothiblog-page h2,
.apothiblog-page h3,
.apothiblog-page p,
.apothiblog-home h1,
.apothiblog-home h2,
.apothiblog-home h3,
.apothiblog-home p { margin-top: 0; }
.apothiblog-page h1,
.apothiblog-page h2,
.apothiblog-page h3,
.apothiblog-home h1,
.apothiblog-home h2,
.apothiblog-home h3 { border: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; }

.apothiblog-page { padding: 0 0 78px; background: var(--ab-bg); }
.ab-container { max-width: 1240px; margin: 0 auto; padding: 0 42px; }

/* HERO, même esprit que l'accueil */
.ab-hero,
.ab-post-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 54px;
  align-items: center;
  margin: 0 calc(50% - 50vw) 38px;
  padding: 78px max(42px, calc((100vw - 1240px) / 2 + 42px));
  background: linear-gradient(135deg,#10213f 0%,#173a63 48%,#105949 100%);
  color: #fff;
  border-radius: 0;
  isolation: isolate;
}
.ab-hero::before,
.ab-post-hero::before {
  content: '';
  position: absolute;
  right: -220px;
  top: -260px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(24,195,166,.42),rgba(24,195,166,0) 70%);
  z-index: -1;
}
.ab-hero::after,
.ab-post-hero::after {
  content: '';
  position: absolute;
  left: -200px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(255,122,61,.34),rgba(255,122,61,0) 70%);
  z-index: -1;
}
.ab-hero-with-image::before { background: linear-gradient(135deg,rgba(16,33,63,.86),rgba(16,89,73,.76)), var(--ab-hero-image) center/cover; inset: 0; width: auto; height: auto; border-radius: 0; right: 0; top: 0; }
.ab-hero-with-image::after { opacity: .72; }

.ab-hero-content,
.ab-post-hero-content { position: relative; z-index: 2; }
.ab-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--ab-mint);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.ab-kicker::before { content: ''; width: 34px; height: 3px; border-radius: 999px; background: var(--ab-mint); }
.ab-hero .ab-kicker,
.ab-post-hero .ab-kicker { color: var(--ab-yellow); }
.ab-hero .ab-kicker::before,
.ab-post-hero .ab-kicker::before { background: var(--ab-yellow); }

.ab-hero h1,
.ab-post-hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.2vw, 62px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0 0 22px;
  max-width: 760px;
}
.ab-intro,
.ab-post-excerpt {
  color: rgba(255,255,255,.78);
  font-size: 20px;
  line-height: 1.75;
  max-width: 650px;
  margin: 0 0 32px;
}
.ab-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--ab-orange);
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(255,122,61,.28);
  font-size: 14px;
  font-weight: 900;
  transition: .25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.ab-btn:hover { background: var(--ab-orange-dark); color: #fff !important; transform: translateY(-3px); }
.ab-btn-light { background:#fff; color: var(--ab-navy) !important; border-color: rgba(16,33,63,.14); box-shadow:0 10px 24px rgba(16,33,63,.08); }
.ab-btn-light:hover { color:#fff !important; background:var(--ab-navy); }
.ab-count {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
  font-weight: 900;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

/* Hero panel */
.ab-hero-panel {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 34px;
  padding: 22px;
  box-shadow: 0 28px 70px rgba(0,0,0,.25);
  color: var(--ab-navy);
}
.ab-search-card {
  display: block;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg,#fff5e8,#fff 50%,#e9fbf7);
  border: 1px solid rgba(16,33,63,.08);
  margin: 0 0 14px;
}
.ab-search-card span,
.ab-panel-card span {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ab-orange);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(16,33,63,.08);
}
.ab-search-card label { display: block; color: var(--ab-navy); font-size: 23px; line-height: 1.2; font-weight: 900; margin: 14px 0 12px; }
.ab-search-row { display: flex; gap: 10px; }
.ab-search-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16,33,63,.12);
  border-radius: 15px;
  padding: 14px 15px;
  color: var(--ab-text);
  font-size: 14px;
  outline: none;
  background: #f7fafc;
}
.ab-search-row input:focus { border-color: var(--ab-mint); box-shadow: 0 0 0 4px rgba(24,195,166,.13); }
.ab-search-row button {
  min-width: 58px;
  border: 0;
  border-radius: 15px;
  background: var(--ab-navy);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.ab-panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-panel-card {
  position: relative;
  min-height: 145px;
  border-radius: 22px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(135deg,#fff5e8,#e9fbf7);
  border: 1px solid rgba(16,33,63,.08);
}
.ab-panel-card::after { content:''; position:absolute; right:-24px; bottom:-28px; width:130px; height:130px; border-radius:34px; background:rgba(24,195,166,.28); transform:rotate(18deg); }
.ab-panel-card:nth-child(2)::after { background: rgba(255,122,61,.24); }
.ab-panel-card strong { position: relative; z-index:2; display:block; color:var(--ab-navy); font-size:22px; line-height:1.15; font-weight:900; max-width:220px; margin:16px 0 0; }

/* Navigation catégories / tags */
.ab-categories,
.ab-tags-cloud {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 18px;
}
.ab-tags-cloud { margin-bottom: 32px; }
.ab-cat,
.ab-tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(16,33,63,.12);
  background: #fff;
  color: var(--ab-navy) !important;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(16,33,63,.06);
  transition: .22s ease;
}
.ab-cat:hover,
.ab-tag:hover,
.ab-cat.active,
.ab-tag.active { background: var(--ab-mint); border-color: var(--ab-mint); color: #fff !important; transform: translateY(-2px); }
.ab-tag { min-height: 36px; padding: 8px 13px; color: var(--ab-mint-dark) !important; }

/* Newsletter */
.ab-newsletter-box {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 34px;
  align-items: center;
  margin: 40px 0 42px;
  padding: 34px;
  border-radius: 30px;
  background: var(--ab-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ab-shadow);
}
.ab-newsletter-box::before { content:''; position:absolute; left:-160px; top:-160px; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle,rgba(24,195,166,.36),rgba(24,195,166,0) 70%); }
.ab-newsletter-box > * { position: relative; z-index: 2; }
.ab-newsletter-box h2 { color:#fff; font-size:34px; line-height:1.12; font-weight:900; letter-spacing:-.8px; margin: 0 0 12px; }
.ab-newsletter-box p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.7; margin: 0; }
.ab-newsletter-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }
.ab-newsletter-form input {
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color: #fff;
  border-radius: 15px;
  padding: 13px 15px;
  outline: none;
}
.ab-newsletter-form input::placeholder { color: rgba(255,255,255,.66); }
.ab-newsletter-form .ab-comment-success,
.ab-newsletter-form .ab-comment-errors { grid-column: 1 / -1; }

.ab-search-result-label { margin: 0 0 20px; color: var(--ab-muted); font-weight: 800; }

/* Cards */
.ab-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 20px; }
.ab-card {
  grid-column: span 4;
  background: #fff;
  border: 1px solid rgba(16,33,63,.10);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(16,33,63,.08);
  transition: .25s ease;
}
.ab-card:hover { transform: translateY(-7px); box-shadow: 0 22px 55px rgba(16,33,63,.13); }
.ab-card-featured { grid-column: span 6; }
.ab-card-img { position: relative; display: block; height: 210px; overflow: hidden; background: linear-gradient(135deg,#eaf2ff,#e9fbf7); }
.ab-card-featured .ab-card-img { height: 280px; }
.ab-card:nth-child(2n) .ab-card-img { background: linear-gradient(135deg,#fff5e8,#ffe4d5); }
.ab-card:nth-child(3n) .ab-card-img { background: linear-gradient(135deg,#e9fbf7,#d8fff6); }
.ab-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.ab-card:hover .ab-card-img img { transform: scale(1.045); }
.ab-img-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; width:100%; height:100%; color:rgba(16,33,63,.76); text-align:center; font-weight:900; }
.ab-img-placeholder span { font-size: 24px; }
.ab-img-placeholder small { color: var(--ab-muted); font-size: 13px; margin-top: 4px; }
.ab-feature-label {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: var(--ab-red);
  box-shadow: 0 10px 22px rgba(239,68,68,.25);
}
.ab-card-body { padding: 20px; }
.ab-meta { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom: 12px; color: var(--ab-muted); font-size: 12px; font-weight: 800; }
.ab-meta-center { justify-content:center; margin-bottom: 18px; }
.ab-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(24,195,166,.10);
  color: var(--ab-mint-dark) !important;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
}
.ab-badge-light { background: rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.18); color: #fff !important; }
.ab-card h2,
.ab-card h3 { color: var(--ab-navy); font-size: 20px; line-height: 1.25; font-weight: 900; margin-bottom: 10px; }
.ab-card h2 a,
.ab-card h3 a { color: inherit !important; }
.ab-card p { color: var(--ab-muted); font-size: 14px; line-height: 1.62; margin-bottom: 14px; }
.ab-card-tags,
.ab-post-tags { display:flex; flex-wrap:wrap; gap:8px; margin: 10px 0 14px; }
.ab-card-tags a,
.ab-post-tags a { color: var(--ab-mint-dark) !important; background: rgba(24,195,166,.10); border-radius:999px; padding:6px 10px; font-size:12px; font-weight:900; }
.ab-card-footer { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 14px; }
.ab-mini-meta { display:inline-flex; align-items:center; min-height:30px; padding:6px 10px; border-radius:999px; background:#f7fafc; color:var(--ab-muted); border:1px solid rgba(16,33,63,.08); font-size:12px; font-weight:800; }
.ab-read { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; border-radius:999px; background:var(--ab-navy); color:#fff !important; font-size:13px; font-weight:900; transition:.22s ease; }
.ab-read:hover { background: var(--ab-orange); color:#fff !important; }

.ab-pagination { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:34px; }
.ab-pagination a,
.ab-pagination span { min-height:44px; display:inline-flex; align-items:center; padding:10px 16px; border-radius:999px; background:#fff; border:1px solid var(--ab-border); color:var(--ab-navy) !important; font-weight:900; }
.ab-pagination a:hover { background: var(--ab-mint); border-color:var(--ab-mint); color:#fff !important; }

.ab-empty-front { margin: 42px auto 0; max-width:760px; text-align:center; background:#fff; border:1px solid var(--ab-border); border-radius:28px; padding:44px; box-shadow:var(--ab-shadow); }
.ab-empty-icon { display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:50%; background:var(--ab-cream); color:var(--ab-orange); font-size:25px; margin-bottom:16px; }
.ab-empty-front h2 { color:var(--ab-navy); font-size:34px; line-height:1.1; font-weight:900; letter-spacing:-.8px; margin-bottom:12px; }
.ab-empty-front p { color:var(--ab-muted); font-size:16px; line-height:1.65; margin-bottom:22px; }

/* Article */
.ab-back { display:inline-flex; align-items:center; gap:8px; margin: 24px 0; color:var(--ab-navy) !important; font-weight:900; }
.ab-post-container { padding-top: 0; }
.ab-post-hero { grid-template-columns: 1fr; text-align: center; margin-bottom: 32px; }
.ab-post-hero h1 { margin-left:auto; margin-right:auto; }
.ab-post-excerpt { margin-left:auto; margin-right:auto; }
.ab-cover { margin: -10px 0 42px; border-radius: 32px; overflow:hidden; box-shadow: var(--ab-shadow-strong); background:#fff; }
.ab-cover img { width:100%; max-height: 560px; object-fit: cover; }
.ab-article-layout { display:grid; grid-template-columns: 300px minmax(0,1fr); gap:34px; align-items:start; }
.ab-article-aside { position: sticky; top: 20px; display:grid; gap:16px; }
.ab-aside-card { background:#fff; border:1px solid var(--ab-border); border-radius:24px; padding:22px; box-shadow:0 14px 36px rgba(16,33,63,.08); }
.ab-aside-label { display:inline-flex; margin-bottom:12px; padding:7px 10px; border-radius:999px; background:rgba(255,122,61,.10); color:var(--ab-orange); font-size:11px; text-transform:uppercase; letter-spacing:1px; font-weight:900; }
.ab-aside-card strong { display:block; color:var(--ab-navy); font-size:20px; line-height:1.22; font-weight:900; margin-bottom:10px; }
.ab-aside-card p { color:var(--ab-muted); font-size:14px; line-height:1.65; margin:0; }
.ab-content { background:#fff; border:1px solid var(--ab-border); border-radius:28px; padding:clamp(24px,4vw,48px); box-shadow:0 14px 36px rgba(16,33,63,.08); color:var(--ab-text); font-size:17px; line-height:1.82; }
.ab-content h2 { color:var(--ab-navy); font-size:34px; line-height:1.12; letter-spacing:-.8px; font-weight:900; margin:34px 0 14px; }
.ab-content h3 { color:var(--ab-navy); font-size:25px; line-height:1.2; font-weight:900; margin:26px 0 12px; }
.ab-content p { margin-bottom:18px; }
.ab-content a { color: var(--ab-mint-dark) !important; font-weight:900; }
.ab-content ul,
.ab-content ol { padding-left: 22px; margin: 0 0 20px; }
.ab-content li { margin-bottom:8px; }

.ab-share-list { display:flex; flex-direction:column; gap:10px; margin-top:12px; }
.ab-share-btn { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:10px 14px; border:1px solid rgba(16,33,63,.12); border-radius:14px; background:#fff; color:var(--ab-navy) !important; font-weight:900; cursor:pointer; }
.ab-share-btn:hover { background:var(--ab-navy); color:#fff !important; }

.ab-gallery-section,
.ab-comments-section,
.ab-related { margin-top:42px; padding:34px; border:1px solid var(--ab-border); border-radius:28px; background:#fff; box-shadow:var(--ab-shadow); }
.ab-related-head { margin-bottom:24px; }
.ab-related-head h2 { color:var(--ab-navy); font-size:36px; line-height:1.1; font-weight:900; letter-spacing:-.9px; margin:0; }
.ab-gallery-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; }
.ab-gallery-link { grid-column: span 4; display:block; overflow:hidden; border-radius:20px; box-shadow:0 14px 35px rgba(16,33,63,.10); background:#fff; transition:.22s ease; }
.ab-gallery-link:hover { transform:translateY(-3px); box-shadow:0 20px 42px rgba(16,33,63,.16); }
.ab-gallery-link img { width:100%; height:260px; object-fit:cover; }
.ab-grid-related .ab-card { grid-column: span 4; }

.ab-comment-form { margin-top:18px; }
.ab-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ab-form-group { margin-bottom:16px; }
.ab-form-group label { display:block; margin-bottom:8px; font-weight:900; color:var(--ab-navy); }
.ab-form-group input,
.ab-form-group textarea { width:100%; border:1px solid rgba(16,33,63,.14); border-radius:16px; padding:13px 14px; font:inherit; color:var(--ab-text); background:#f7fafc; outline:none; }
.ab-form-group input:focus,
.ab-form-group textarea:focus { border-color:var(--ab-mint); box-shadow:0 0 0 4px rgba(24,195,166,.13); }
.ab-comment-success,
.ab-comment-errors { margin-top:12px; padding:14px 16px; border-radius:16px; font-weight:800; }
.ab-comment-success { background:#e9fbf7; color:var(--ab-mint-dark); }
.ab-comment-errors { background:#fff1f0; color:#8b2d2d; }
.ab-comment-errors p { margin:0 0 6px; }
.ab-comments-list { display:grid; gap:14px; margin-top:24px; }
.ab-comment-card { padding:18px; border:1px solid var(--ab-border); border-radius:18px; background:#f7fafc; }
.ab-comment-head { display:flex; justify-content:space-between; gap:14px; margin-bottom:10px; }
.ab-empty-copy { color:var(--ab-muted); margin-top:18px; }

.ab-lightbox { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; padding:26px; background:rgba(10,18,16,.82); }
.ab-lightbox[hidden] { display:none !important; }
.ab-lightbox-image { max-width:min(1100px,92vw); max-height:88vh; border-radius:18px; box-shadow:0 30px 70px rgba(0,0,0,.35); background:#fff; }
.ab-lightbox-close { position:absolute; top:16px; right:20px; width:44px; height:44px; border:0; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; font-size:30px; line-height:1; cursor:pointer; }

/* Bloc home */
.apothiblog-home { padding:78px 0; }
.ab-home-shell { background:#fff; border:1px solid var(--ab-border); border-radius:34px; padding:34px; box-shadow:var(--ab-shadow); }
.ab-home-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.ab-home-head h2 { color:var(--ab-navy); font-size:44px; line-height:1.1; font-weight:900; letter-spacing:-1.3px; margin-bottom:14px; }
.ab-home-intro { color:var(--ab-muted); font-size:18px; line-height:1.7; max-width:720px; margin-bottom:0; }
.ab-home-grid .ab-card { grid-column: span 4; }
.ab-home-grid .ab-card-featured { grid-column: span 6; }
.ab-home-carousel { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(300px,380px); gap:22px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x proximity; }
.ab-home-carousel .ab-card { grid-column:auto; scroll-snap-align:start; }

@media(max-width:1100px){
  .ab-hero,
  .ab-post-hero { grid-template-columns: 1fr; }
  .ab-grid .ab-card,
  .ab-grid-related .ab-card { grid-column: span 6; }
  .ab-card-featured { grid-column: span 12 !important; }
  .ab-article-layout { grid-template-columns: 1fr; }
  .ab-article-aside { position: static; grid-template-columns: repeat(2,1fr); }
  .ab-newsletter-box { grid-template-columns: 1fr; }
  .ab-newsletter-form { grid-template-columns: 1fr 1fr; }
  .ab-newsletter-form .ab-btn { grid-column: 1 / -1; }
}

@media(max-width:720px){
  .ab-container { padding-left:20px; padding-right:20px; }
  .ab-hero,
  .ab-post-hero { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding:52px 20px 58px; gap:32px; }
  .ab-hero h1,
  .ab-post-hero h1 { font-size:40px; letter-spacing:-1px; }
  .ab-intro,
  .ab-post-excerpt { font-size:16px; }
  .ab-hero-actions,
  .ab-home-head { flex-direction:column; align-items:flex-start; }
  .ab-btn { width:100%; }
  .ab-count { width:100%; justify-content:center; }
  .ab-panel-row,
  .ab-form-grid,
  .ab-article-aside,
  .ab-newsletter-form { grid-template-columns:1fr; }
  .ab-grid .ab-card,
  .ab-grid-related .ab-card,
  .ab-gallery-link,
  .ab-home-grid .ab-card,
  .ab-home-grid .ab-card-featured { grid-column: span 12 !important; }
  .ab-card-img,
  .ab-card-featured .ab-card-img { height:230px; }
  .ab-newsletter-box,
  .ab-gallery-section,
  .ab-comments-section,
  .ab-related,
  .ab-home-shell { padding:22px; border-radius:24px; }
  .ab-newsletter-box h2,
  .ab-related-head h2,
  .ab-home-head h2 { font-size:32px; letter-spacing:-.8px; }
  .ab-content { font-size:16px; }
  .ab-content h2 { font-size:28px; }
  .ab-gallery-link img { height:220px; }
}


/* Theme integration: blog rendered inside PrestaShop page.tpl */
body#module-apothiblog-list #content,
body#module-apothiblog-post #content,
body[class*="module-apothiblog"] #content {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[class*="module-apothiblog"] .page-header,
body[class*="module-apothiblog"] .page-title {
  display: none;
}

body[class*="module-apothiblog"] #wrapper {
  background: #f7fafc;
}

.apothiblog-page {
  margin-top: 0;
}

.apothiblog-page .ab-container,
.apothiblog-home .ab-container {
  max-width: 1320px;
}


/* Hero liste blog sans panneau de recherche */
.ab-list-page .ab-hero {
  grid-template-columns: minmax(0, 940px);
  justify-content: center;
  text-align: center;
}
.ab-list-page .ab-hero .ab-hero-content {
  max-width: 940px;
  margin: 0 auto;
}
.ab-list-page .ab-hero .ab-kicker {
  justify-content: center;
}
.ab-list-page .ab-hero h1,
.ab-list-page .ab-hero .ab-intro {
  margin-left: auto;
  margin-right: auto;
}
.ab-list-page .ab-hero-actions {
  justify-content: center;
}
