/* =========================================================
   ACHAT BACKLINKS - TEMPLATE ARTICLE NATIF WP
   Hero + lecture mono-colonne + footer auto
   ========================================================= */

:root{
  --ab-accent:#ff0054;
  --ab-accent-soft:rgba(255,0,84,.08);
  --ab-text:#1f2937;
  --ab-muted:#667085;
  --ab-line:#e5e7eb;
  --ab-line-strong:#d9dee7;
  --ab-bg:#f7f8fa;
  --ab-card:#ffffff;
  --ab-radius-xl:28px;
  --ab-radius-lg:20px;
  --ab-radius-md:14px;
  --ab-shadow:0 18px 60px rgba(18,32,59,.08);
}

body.single-post{
  background:linear-gradient(180deg,#fff 0%,#f7f8fa 100%);
}

body.single-post .post-header,
body.single-post .single-photo-wrapper,
body.single-post .post-nav,
body.single-post .author-box,
body.single-post .section-post-related,
body.single-post .section-related-adjustment,
body.single-post #comments,
body.single-post .comment-respond,
body.single-post .share-simple,
body.single-post .post-meta{
  display:none !important;
}

body.single-post .section_wrapper,
body.single-post .container,
body.single-post .content_wrapper{
  max-width:100%;
}

body.single-post .sections_group{
  width:100% !important;
  float:none !important;
}

.ab-native-shell,
.ab-native-content-shell,
.ab-native-footer-shell{
  position:relative;
}

.ab-native-wrap,
.ab-native-content-wrap,
.ab-native-footer-wrap{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

.ab-native-content-wrap{
  width:min(860px,calc(100% - 40px));
}

.ab-native-shell{padding:46px 0 16px;}
.ab-native-content-shell{padding:8px 0 34px;}
.ab-native-footer-shell{padding:0 0 42px;}

.ab-native-hero{
  background:linear-gradient(180deg,#ffffff 0%,#fbfbfc 100%);
  border:1px solid var(--ab-line);
  border-radius:var(--ab-radius-xl);
  box-shadow:var(--ab-shadow);
  padding:34px 40px;
}

.ab-native-hero__inner{
  max-width:1000px;
}

.ab-native-hero__top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
  margin-bottom:18px;
}

.ab-native-hero__category,
.ab-native-hero__updated,
.ab-native-hero__tag{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  letter-spacing:-.01em;
  text-decoration:none;
}

.ab-native-hero__category{
  background:var(--ab-accent-soft);
  color:var(--ab-accent);
  border:1px solid rgba(255,0,84,.12);
}

.ab-native-hero__updated,
.ab-native-hero__tag{
  background:#fff;
  color:#344054;
  border:1px solid var(--ab-line-strong);
}

.ab-native-hero__title{
  margin:0;
  color:#101828;
  font-size:clamp(34px,4.6vw,58px);
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:800;
}

.ab-native-hero__excerpt{
  max-width:860px;
}

.ab-native-hero__excerpt p{
  margin:18px 0 0;
  font-size:20px;
  line-height:1.75;
  color:#475467;
}

.ab-native-hero__tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.ab-native-hero__tag:hover{
  border-color:#c8d0db;
  transform:translateY(-1px);
}

.ab-native-hero__media{
  margin-top:26px;
}

.ab-native-hero__image{
  display:block;
  width:100%;
  height:auto;
  border-radius:22px;
  border:1px solid var(--ab-line);
  box-shadow:0 14px 40px rgba(18,32,59,.08);
}

.ab-native-prose .mcb-column-inner{
  background:#fff;
  border:1px solid var(--ab-line);
  border-radius:var(--ab-radius-lg);
  box-shadow:0 10px 28px rgba(18,32,59,.04);
  padding:38px 42px;
}

.ab-native-prose,
.ab-native-prose .post-wrapper-content,
.ab-native-prose .the_content_wrapper{
  color:var(--ab-text);
  font-size:18px;
  line-height:1.85;
}

.ab-native-prose > p:first-child,
.ab-native-prose .the_content_wrapper > p:first-child,
.ab-native-prose .post-wrapper-content > p:first-child{
  font-size:20px;
  color:#475467;
}

.ab-native-prose h2,
.ab-native-prose h3,
.ab-native-prose h4,
.ab-native-prose .the_content_wrapper h2,
.ab-native-prose .the_content_wrapper h3,
.ab-native-prose .the_content_wrapper h4{
  color:#111827;
  line-height:1.2;
  letter-spacing:-.03em;
  margin-top:1.9em;
  margin-bottom:.65em;
}

.ab-native-prose h2,
.ab-native-prose .the_content_wrapper h2{font-size:34px;}
.ab-native-prose h3,
.ab-native-prose .the_content_wrapper h3{font-size:26px;}
.ab-native-prose h4,
.ab-native-prose .the_content_wrapper h4{font-size:21px;}

.ab-native-prose p,
.ab-native-prose ul,
.ab-native-prose ol,
.ab-native-prose blockquote,
.ab-native-prose table,
.ab-native-prose .the_content_wrapper p,
.ab-native-prose .the_content_wrapper ul,
.ab-native-prose .the_content_wrapper ol,
.ab-native-prose .the_content_wrapper blockquote,
.ab-native-prose .the_content_wrapper table{
  margin-bottom:1.15em;
}

.ab-native-prose ul,
.ab-native-prose ol,
.ab-native-prose .the_content_wrapper ul,
.ab-native-prose .the_content_wrapper ol{
  padding-left:1.25em;
}

.ab-native-prose li,
.ab-native-prose .the_content_wrapper li{
  margin-bottom:.55em;
}

.ab-native-prose a,
.ab-native-prose .the_content_wrapper a{
  color:var(--ab-accent);
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}

.ab-native-prose blockquote,
.ab-native-prose .the_content_wrapper blockquote{
  margin:1.6em 0;
  padding:20px 22px;
  border-left:4px solid var(--ab-accent);
  background:#fff6f9;
  border-radius:0 16px 16px 0;
  color:#344054;
}

.ab-native-prose img,
.ab-native-prose .the_content_wrapper img{
  border-radius:16px;
  height:auto;
}

.ab-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none !important;
  transition:all .2s ease;
}

.ab-btn:hover{transform:translateY(-1px);}
.ab-btn-primary{background:var(--ab-accent);color:#fff !important;}
.ab-btn-secondary{background:#fff;color:#111827 !important;border:1px solid var(--ab-line-strong);}

.ab-article-footer-auto{
  background:linear-gradient(180deg,#fff 0%,#fbfbfc 100%);
  border:1px solid var(--ab-line);
  border-radius:var(--ab-radius-xl);
  box-shadow:var(--ab-shadow);
}

.ab-article-footer-auto__inner{padding:34px 40px;}
.ab-article-footer-auto__kicker{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ab-accent);margin-bottom:10px;}
.ab-article-footer-auto__title{margin:0 0 12px;color:#111827;font-size:clamp(28px,3vw,40px);line-height:1.08;letter-spacing:-.03em;}
.ab-article-footer-auto__text{margin:0;max-width:840px;color:#475467;font-size:18px;line-height:1.75;}
.ab-article-footer-auto__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;}

.ab-related-resources{margin-top:30px;padding-top:26px;border-top:1px solid var(--ab-line);}
.ab-related-resources__title{margin:0 0 18px;color:#111827;font-size:22px;line-height:1.2;}
.ab-related-resources__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}

.ab-related-card{
  min-width:0;
}

.ab-related-card__link{
  display:block;
  height:100%;
  background:#fff;
  border:1px solid var(--ab-line);
  border-radius:18px;
  padding:20px;
  text-decoration:none;
  transition:all .2s ease;
  box-shadow:0 8px 24px rgba(18,32,59,.03);
}

.ab-related-card__link:hover{
  transform:translateY(-2px);
  border-color:#d5dce5;
  box-shadow:0 14px 34px rgba(18,32,59,.06);
}

.ab-related-card__meta{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--ab-accent-soft);
  color:var(--ab-accent);
  font-size:12px;
  font-weight:700;
}

.ab-related-card__title{
  margin:14px 0 10px;
  color:#111827;
  font-size:20px;
  line-height:1.28;
  letter-spacing:-.02em;
}

.ab-related-card__excerpt{
  margin:0;
  color:#667085;
  line-height:1.7;
  font-size:15px;
}

.ab-related-card__cta{
  display:inline-flex;
  align-items:center;
  margin-top:16px;
  color:var(--ab-accent);
  font-weight:700;
  font-size:14px;
}

@media (max-width: 991px){
  .ab-native-hero,
  .ab-native-prose .mcb-column-inner,
  .ab-article-footer-auto__inner{padding:28px 24px;}
  .ab-related-resources__grid{grid-template-columns:1fr;}
}

@media (max-width: 767px){
  .ab-native-wrap,
  .ab-native-content-wrap,
  .ab-native-footer-wrap{width:min(100% - 24px,100% - 24px);}
  .ab-native-shell{padding:30px 0 12px;}
  .ab-native-content-shell{padding:4px 0 26px;}
  .ab-native-hero__title{font-size:clamp(28px,9vw,42px);}
  .ab-native-hero__excerpt p,
  .ab-article-footer-auto__text,
  .ab-native-prose,
  .ab-native-prose .the_content_wrapper{font-size:17px;line-height:1.78;}
  .ab-native-prose h2,
  .ab-native-prose .the_content_wrapper h2{font-size:28px;}
  .ab-native-prose h3,
  .ab-native-prose .the_content_wrapper h3{font-size:23px;}
}
