/* MAKIN CONTROL â€” 03-blog-content.css
 * Blog archive, single article and article-content normalization
 * Extracted from original style.css lines 1086-2026; load order must remain unchanged.
 */
/* =========================================================
   MAKIN CONTROL v30 â€” BLOG
   ========================================================= */
body.page .mc-blog-page,
body.blog .mc-blog-page{
  width:min(1320px,calc(100% - 36px));
  margin:28px auto 60px;
  font-family:'Yekan',Tahoma,sans-serif;
  color:#17231d;
}
.mc-blog-hero{
  position:relative;
  min-height:310px;
  padding:48px 52px;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:30px;
  align-items:center;
  overflow:hidden;
  border:1px solid #dce9e1;
  border-radius:28px;
  background:
    linear-gradient(90deg,rgba(246,251,247,.98) 0%,rgba(246,251,247,.88) 52%,rgba(246,251,247,.45) 100%),
    url("https://antipest.ir/wp-content/uploads/2026/09/section-bg-catigories-optimized.webp") center/cover no-repeat;
  box-shadow:0 15px 45px rgba(15,85,49,.07);
}
.mc-blog-hero::after{
  content:"";
  position:absolute;
  width:280px;height:280px;
  left:-70px;bottom:-120px;
  border-radius:50%;
  background:rgba(22,131,75,.07);
}
.mc-blog-hero-copy{position:relative;z-index:2;max-width:720px}
.mc-blog-kicker{
  display:inline-flex;
  margin-bottom:12px;
  padding:6px 11px;
  color:#137343;
  background:#e8f6ed;
  border:1px solid #cee7d7;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
}
.mc-blog-hero h1{
  margin:0 0 12px!important;
  color:#103d26!important;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif!important;
  font-size:38px!important;
  font-weight:700!important;
  line-height:1.55!important;
}
.mc-blog-hero p{
  max-width:650px;
  margin:0!important;
  color:#64746b!important;
  font-size:13px!important;
  line-height:2.15!important;
}
.mc-blog-search{
  max-width:560px;
  margin-top:22px;
  padding:5px;
  display:grid;
  grid-template-columns:1fr auto;
  background:#fff;
  border:1px solid #dce7df;
  border-radius:13px;
  box-shadow:0 7px 20px rgba(16,74,44,.06);
}
.mc-blog-search input{
  min-width:0;
  min-height:43px;
  padding:8px 13px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-family:'Yekan',Tahoma,sans-serif!important;
  font-size:12px!important;
}
.mc-blog-search button{
  min-width:82px;
  border:0;
  border-radius:9px;
  background:#16834b;
  color:#fff;
  font-family:'Yekan',Tahoma,sans-serif;
  font-weight:700;
  cursor:pointer;
}
.mc-blog-hero-mark{
  position:relative;z-index:2;
  width:230px;height:230px;
  margin-inline:auto;
  padding:30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid rgba(22,131,75,.16);
  border-radius:50%;
  background:rgba(255,255,255,.75);
  box-shadow:0 18px 45px rgba(14,88,50,.08);
  backdrop-filter:blur(5px);
}
.mc-blog-hero-mark span{color:#7c8c83;font-size:11px}
.mc-blog-hero-mark strong{
  margin:6px 0;
  color:#12673e;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif;
  font-size:23px;
}
.mc-blog-hero-mark small{color:#829088;font-size:10px}

/* categories */
.mc-blog-cats{
  margin:22px 0 28px;
  padding:10px;
  display:flex;
  gap:8px;
  align-items:center;
  overflow-x:auto;
  background:#fff;
  border:1px solid #e1eae4;
  border-radius:15px;
  scrollbar-width:none;
}
.mc-blog-cats::-webkit-scrollbar{display:none}
.mc-blog-cats a{
  flex:0 0 auto;
  min-height:38px;
  padding:7px 13px;
  display:flex;
  align-items:center;
  gap:6px;
  border-radius:9px;
  color:#315440;
  text-decoration:none!important;
  font-size:11px;
  font-weight:700;
}
.mc-blog-cats a:hover,.mc-blog-cats a.is-active{background:#eaf7ef;color:#126b40}
.mc-blog-cats small{
  min-width:19px;height:19px;
  display:grid;place-items:center;
  border-radius:999px;
  background:rgba(22,131,75,.09);
  font-size:9px;
}

/* cards */
.mc-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.mc-blog-card{
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #e0e9e3;
  border-radius:19px;
  box-shadow:0 7px 24px rgba(17,70,43,.045);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.mc-blog-card:hover{
  transform:translateY(-4px);
  border-color:#cde0d4;
  box-shadow:0 15px 36px rgba(17,70,43,.10);
}
.mc-blog-media{
  height:220px;
  display:block;
  overflow:hidden;
  background:#f0f7f2;
  text-decoration:none!important;
}
.mc-blog-media img{
  width:100%!important;height:100%!important;
  display:block!important;
  object-fit:cover!important;
  transition:transform .35s ease;
}
.mc-blog-card:hover .mc-blog-media img{transform:scale(1.035)}
.mc-blog-placeholder{
  width:100%;height:100%;
  padding:25px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:
    linear-gradient(135deg,rgba(235,247,239,.95),rgba(249,252,250,.92)),
    url("https://antipest.ir/wp-content/uploads/2026/09/leaf-decor-1-optimized-transparent.webp") center/70% auto no-repeat;
}
.mc-blog-placeholder b{color:#146d41;font-family:'IRANSans','Yekan',Tahoma,sans-serif;font-size:18px}
.mc-blog-placeholder small{margin-top:5px;color:#7a8b81;font-size:10px}
.mc-blog-card-body{
  padding:18px;
  display:flex;
  flex:1;
  flex-direction:column;
}
.mc-blog-meta{
  margin-bottom:9px;
  display:flex;
  flex-wrap:wrap;
  gap:7px 11px;
  align-items:center;
  color:#89968f;
  font-size:9px;
}
.mc-blog-meta span{
  padding:3px 7px;
  border-radius:999px;
  background:#eaf7ef;
  color:#147044;
  font-weight:700;
}
.mc-blog-card h2{
  margin:0 0 8px!important;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif!important;
  font-size:16px!important;
  line-height:1.85!important;
}
.mc-blog-card h2 a{color:#173f2a!important;text-decoration:none!important}
.mc-blog-card p{
  margin:0 0 15px!important;
  color:#718078!important;
  font-size:11px!important;
  line-height:2!important;
}
.mc-blog-read{
  margin-top:auto;
  color:#137647!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:700;
}
.mc-blog-read span{display:inline-block;margin-right:4px;transition:transform .2s ease}
.mc-blog-read:hover span{transform:translateX(-3px)}

/* first post featured */
.mc-blog-card.mc-blog-featured{
  grid-column:span 2;
  display:grid;
  grid-template-columns:1.05fr .95fr;
}
.mc-blog-featured .mc-blog-media{height:100%;min-height:330px}
.mc-blog-featured .mc-blog-card-body{padding:28px;justify-content:center}
.mc-blog-featured h2{font-size:23px!important}
.mc-blog-featured p{font-size:12px!important}

/* pagination */
.mc-blog-pagination{margin-top:30px;text-align:center}
.mc-blog-pagination ul{
  margin:0!important;padding:0!important;
  display:inline-flex;
  gap:6px;
  list-style:none!important;
}
.mc-blog-pagination a,.mc-blog-pagination span{
  min-width:39px;height:39px;
  padding:0 9px;
  display:grid;
  place-items:center;
  border:1px solid #dce7df;
  border-radius:10px;
  background:#fff;
  color:#28543b;
  text-decoration:none!important;
  font-size:11px;
}
.mc-blog-pagination .current{background:#16834b;border-color:#16834b;color:#fff}

/* CTA */
.mc-blog-cta{
  margin-top:38px;
  padding:28px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-radius:21px;
  color:#fff;
  background:
    linear-gradient(100deg,rgba(8,69,40,.97),rgba(15,103,60,.90)),
    url("https://antipest.ir/wp-content/uploads/2026/09/leaves-side-optimized-transparent.webp") left center/420px auto no-repeat;
}
.mc-blog-cta span{display:block;color:rgba(255,255,255,.70);font-size:10px}
.mc-blog-cta strong{
  display:block;
  margin-top:5px;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif;
  font-size:18px;
}
.mc-blog-cta-actions{display:flex;gap:8px}
.mc-blog-cta-actions a{
  min-height:40px;
  padding:8px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.26);
  border-radius:9px;
  color:#fff!important;
  text-decoration:none!important;
  font-size:10px;
  font-weight:700;
}
.mc-blog-cta-actions a:first-child{background:#fff;color:#12653d!important}

/* Remove default page chrome only on blog page when shortcode is present */
body.page .mc-blog-page ~ *{box-sizing:border-box}

@media(max-width:950px){
  .mc-blog-hero{grid-template-columns:1fr;padding:35px}
  .mc-blog-hero-mark{display:none}
  .mc-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mc-blog-card.mc-blog-featured{grid-column:span 2}
}
@media(max-width:650px){
  body.page .mc-blog-page,body.blog .mc-blog-page{width:calc(100% - 24px);margin-top:16px}
  .mc-blog-hero{min-height:0;padding:24px 20px;border-radius:19px}
  .mc-blog-hero h1{font-size:27px!important}
  .mc-blog-hero p{font-size:11px!important}
  .mc-blog-search{grid-template-columns:1fr 72px}
  .mc-blog-grid{grid-template-columns:1fr;gap:14px}
  .mc-blog-card.mc-blog-featured{grid-column:auto;display:flex}
  .mc-blog-featured .mc-blog-media,.mc-blog-media{height:200px;min-height:0}
  .mc-blog-featured .mc-blog-card-body{padding:18px}
  .mc-blog-featured h2{font-size:17px!important}
  .mc-blog-cta{padding:22px;display:block}
  .mc-blog-cta-actions{margin-top:16px;flex-direction:column}
}


/* =========================================================
   MAKIN CONTROL v31 â€” SINGLE BLOG POST
   Compact, readable, responsive article pages
   ========================================================= */

/* Main article container */
body.single-post #primary{
  width:min(100%,920px)!important;
  margin:30px auto 60px!important;
  padding:0 18px!important;
  float:none!important;
}
body.single-post #right-sidebar,
body.single-post #left-sidebar{display:none!important}
body.single-post .site-content{
  display:block!important;
  width:100%!important;
}
body.single-post article.post{
  overflow:hidden;
  margin:0!important;
  padding:0 0 36px!important;
  border:1px solid #e0e9e3;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 38px rgba(16,72,43,.065);
}

/* Header */
body.single-post article.post .entry-header{
  padding:34px 42px 18px!important;
  text-align:right;
}
body.single-post article.post .entry-title{
  max-width:780px;
  margin:0!important;
  color:#123d27!important;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif!important;
  font-size:32px!important;
  font-weight:700!important;
  line-height:1.7!important;
}
body.single-post article.post .entry-title a{color:inherit!important;text-decoration:none!important}
body.single-post article.post .entry-meta{
  margin-top:12px!important;
  color:#87938c!important;
  font-size:10px!important;
}
body.single-post article.post .entry-meta a{color:#567163!important;text-decoration:none!important}

/* Featured image */
body.single-post article.post .post-image,
body.single-post article.post .inside-article > .post-image{
  margin:0 42px 24px!important;
  overflow:hidden;
  border-radius:16px;
  background:#f1f7f3;
}
body.single-post article.post .post-image img{
  width:100%!important;
  max-height:480px!important;
  display:block!important;
  object-fit:cover!important;
}

/* Article content */
body.single-post article.post .entry-content{
  max-width:780px!important;
  margin:0 auto!important;
  padding:0 28px!important;
  color:#344a3d!important;
  font-family:'Yekan',Tahoma,sans-serif!important;
  font-size:14px!important;
  line-height:2.25!important;
}
.mc-article-info{
  margin:0 0 24px;
  padding:10px 13px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  align-items:center;
  border:1px solid #e2ebe5;
  border-radius:11px;
  background:#f8fbf9;
  color:#7a8980;
  font-size:10px;
}
.mc-article-info span:not(:last-child)::after{
  content:"";
  width:3px;height:3px;
  margin-right:15px;
  display:inline-block;
  vertical-align:middle;
  border-radius:50%;
  background:#b7c6bd;
}
.mc-article-info .mc-article-category{
  padding:3px 8px;
  border-radius:999px;
  background:#e7f5ec;
  color:#147044;
  font-weight:700;
}
body.single-post .entry-content p{margin:0 0 19px!important}
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4{
  color:#123f29!important;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif!important;
  font-weight:700!important;
  line-height:1.8!important;
}
body.single-post .entry-content h2{
  margin:38px 0 14px!important;
  padding-right:13px;
  border-right:3px solid #16834b;
  font-size:22px!important;
}
body.single-post .entry-content h3{margin:29px 0 11px!important;font-size:18px!important}
body.single-post .entry-content h4{margin:24px 0 9px!important;font-size:15px!important}
body.single-post .entry-content a{
  color:#137548;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
body.single-post .entry-content ul,
body.single-post .entry-content ol{
  margin:18px 0!important;
  padding-right:24px!important;
}
body.single-post .entry-content li{margin-bottom:8px}
body.single-post .entry-content blockquote{
  margin:27px 0!important;
  padding:20px 23px!important;
  border:0!important;
  border-right:4px solid #16834b!important;
  border-radius:12px;
  background:#f0f8f3;
  color:#315d43;
  font-size:13px;
}
body.single-post .entry-content img{
  height:auto!important;
  border-radius:14px;
}
body.single-post .entry-content figure{margin:28px auto!important}
body.single-post .entry-content figcaption{
  margin-top:8px!important;
  color:#88958e!important;
  text-align:center!important;
  font-size:9px!important;
}
body.single-post .entry-content table{
  width:100%!important;
  margin:25px 0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden;
  border:1px solid #dfe9e3!important;
  border-radius:12px;
  font-size:11px;
}
body.single-post .entry-content th{
  background:#edf7f0!important;
  color:#194b31!important;
  font-weight:700!important;
}
body.single-post .entry-content th,
body.single-post .entry-content td{
  padding:10px 12px!important;
  border-color:#e3ebe6!important;
}

/* Tags */
body.single-post footer.entry-meta{
  max-width:780px;
  margin:25px auto 0!important;
  padding:20px 28px 0!important;
  border-top:1px solid #edf1ee;
  color:#809087!important;
  font-size:10px!important;
}
body.single-post footer.entry-meta a{
  display:inline-flex;
  margin:3px;
  padding:5px 9px;
  border-radius:999px;
  background:#eef7f1;
  color:#176c43!important;
  text-decoration:none!important;
}

/* Related articles */
.mc-related-posts{
  max-width:780px;
  margin:42px auto 0;
  padding:30px 28px 0;
  border-top:1px solid #e5ece8;
}
.mc-related-head{
  margin-bottom:16px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:15px;
}
.mc-related-head span{color:#16834b;font-size:9px;font-weight:700}
.mc-related-head h2{
  margin:3px 0 0!important;
  padding:0!important;
  border:0!important;
  color:#143e29!important;
  font-size:19px!important;
}
.mc-related-head>a{color:#177447!important;text-decoration:none!important;font-size:10px}
.mc-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}
.mc-related-card{
  overflow:hidden;
  border:1px solid #e1eae4;
  border-radius:13px;
  background:#fff;
}
.mc-related-image{
  height:120px;
  display:block;
  overflow:hidden;
  background:#eef6f1;
  text-decoration:none!important;
}
.mc-related-image img{
  width:100%!important;height:100%!important;
  display:block!important;
  object-fit:cover!important;
  border-radius:0!important;
}
.mc-related-placeholder{
  width:100%;height:100%;
  display:grid;place-items:center;
  color:#177046;
  background:#edf7f0;
  font-weight:700;
}
.mc-related-card>div{padding:11px}
.mc-related-card time{color:#8a978f;font-size:8px}
.mc-related-card h3{
  min-height:48px;
  margin:5px 0 8px!important;
  font-size:12px!important;
  line-height:1.9!important;
}
.mc-related-card h3 a{color:#244936!important;text-decoration:none!important}
.mc-related-read{color:#167347!important;text-decoration:none!important;font-size:9px!important;font-weight:700}

/* Previous / next navigation */
body.single-post .post-navigation{
  width:min(884px,calc(100% - 36px));
  margin:18px auto 50px!important;
}
body.single-post .post-navigation .nav-links{
  display:grid!important;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
body.single-post .post-navigation a{
  min-height:70px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  border:1px solid #dfe9e3;
  border-radius:13px;
  background:#fff;
  color:#28523b!important;
  text-decoration:none!important;
  font-size:11px;
}

/* Comments */
body.single-post #comments{
  width:min(780px,calc(100% - 56px));
  margin:0 auto 50px!important;
}
body.single-post #comments .comments-title,
body.single-post #reply-title{
  color:#143e29!important;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif!important;
  font-size:18px!important;
}
body.single-post #comments textarea,
body.single-post #comments input[type="text"],
body.single-post #comments input[type="email"],
body.single-post #comments input[type="url"]{
  border:1px solid #dce7df!important;
  border-radius:10px!important;
  background:#fbfdfb!important;
}
body.single-post #comments input[type="submit"]{
  border-radius:9px!important;
  background:#16834b!important;
  color:#fff!important;
}

/* Responsive */
@media(max-width:700px){
  body.single-post #primary{margin-top:16px!important;padding:0 12px!important}
  body.single-post article.post{border-radius:17px}
  body.single-post article.post .entry-header{padding:24px 20px 15px!important}
  body.single-post article.post .entry-title{font-size:24px!important;line-height:1.75!important}
  body.single-post article.post .post-image,
  body.single-post article.post .inside-article > .post-image{margin:0 20px 20px!important;border-radius:12px}
  body.single-post article.post .post-image img{max-height:330px!important}
  body.single-post article.post .entry-content{padding:0 20px!important;font-size:13px!important;line-height:2.2!important}
  body.single-post .entry-content h2{font-size:19px!important}
  body.single-post .entry-content h3{font-size:16px!important}
  .mc-article-info{gap:7px 10px}
  .mc-article-info span:not(:last-child)::after{display:none}
  .mc-related-posts{padding:25px 20px 0}
  .mc-related-grid{grid-template-columns:1fr}
  .mc-related-card{display:grid;grid-template-columns:105px 1fr}
  .mc-related-image{height:100%;min-height:105px}
  .mc-related-card h3{min-height:0}
  .mc-related-head{align-items:center}
  body.single-post .post-navigation .nav-links{grid-template-columns:1fr}
  body.single-post #comments{width:calc(100% - 40px)}
}


/* =========================================================
   MAKIN CONTROL v32 â€” ARTICLE CONTENT NORMALIZER
   Fixes legacy posts: images, video, embeds, typography
   ========================================================= */

/* predictable sizing inside every article */
body.single-post .entry-content,
body.single-post .entry-content *{
  box-sizing:border-box;
}
body.single-post .entry-content{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Normalize paragraphs and accidental inline font sizes from old editor */
body.single-post .entry-content p,
body.single-post .entry-content li{
  font-family:'Yekan',Tahoma,sans-serif!important;
  font-size:14px!important;
  line-height:2.25!important;
}
body.single-post .entry-content p span,
body.single-post .entry-content li span,
body.single-post .entry-content p font,
body.single-post .entry-content li font{
  font-family:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}
body.single-post .entry-content strong,
body.single-post .entry-content b{
  color:#203f2e;
  font-weight:700;
}

/* Headings: prevent legacy inline sizing from making them huge/tiny */
body.single-post .entry-content h1{
  margin:38px 0 16px!important;
  color:#123f29!important;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif!important;
  font-size:25px!important;
  line-height:1.8!important;
}
body.single-post .entry-content h2,
body.single-post .entry-content h2 *{font-size:22px!important}
body.single-post .entry-content h3,
body.single-post .entry-content h3 *{font-size:18px!important}
body.single-post .entry-content h4,
body.single-post .entry-content h4 *{font-size:15px!important}

/* All normal article images */
body.single-post .entry-content img{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:620px!important;
  margin-inline:auto!important;
  object-fit:contain!important;
}
body.single-post .entry-content p > img:only-child{
  margin:26px auto!important;
}
body.single-post .entry-content figure,
body.single-post .entry-content .wp-block-image{
  width:100%!important;
  max-width:100%!important;
  margin:28px auto!important;
  text-align:center;
}
body.single-post .entry-content figure img,
body.single-post .entry-content .wp-block-image img{
  margin-inline:auto!important;
}
/* medium/small legacy images shouldn't be blown up */
body.single-post .entry-content .size-thumbnail{max-width:180px!important}
body.single-post .entry-content .size-medium{max-width:420px!important}

/* Galleries */
body.single-post .entry-content .wp-block-gallery,
body.single-post .entry-content .gallery{
  width:100%!important;
  margin:28px auto!important;
  gap:10px!important;
}
body.single-post .entry-content .wp-block-gallery img,
body.single-post .entry-content .gallery img{
  width:100%!important;
  height:220px!important;
  object-fit:cover!important;
  border-radius:11px!important;
}

/* Native video + WordPress video player */
body.single-post .entry-content video,
body.single-post .entry-content .wp-video,
body.single-post .entry-content .wp-video-shortcode,
body.single-post .entry-content .mejs-container{
  width:100%!important;
  max-width:760px!important;
  margin:28px auto!important;
}
body.single-post .entry-content video{
  display:block!important;
  height:auto!important;
  max-height:520px!important;
  border-radius:14px!important;
  background:#0d1510;
}

/* YouTube / Aparat / iframe / embed: responsive 16:9 */
body.single-post .entry-content .wp-block-embed,
body.single-post .entry-content .wp-block-video,
body.single-post .entry-content .wp-block-embed__wrapper{
  width:100%!important;
  max-width:760px!important;
  margin:28px auto!important;
}
body.single-post .entry-content .wp-block-embed__wrapper{
  position:relative!important;
  overflow:hidden!important;
  aspect-ratio:16/9;
  border-radius:14px;
  background:#101713;
}
body.single-post .entry-content .wp-block-embed__wrapper iframe,
body.single-post .entry-content iframe[src*="youtube"],
body.single-post .entry-content iframe[src*="youtu.be"],
body.single-post .entry-content iframe[src*="aparat"]{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  border:0!important;
}
/* Legacy raw iframes not wrapped by Gutenberg */
body.single-post .entry-content > iframe{
  display:block!important;
  width:100%!important;
  max-width:760px!important;
  aspect-ratio:16/9!important;
  height:auto!important;
  margin:28px auto!important;
  border:0!important;
  border-radius:14px!important;
  background:#101713;
}

/* Audio */
body.single-post .entry-content audio,
body.single-post .entry-content .wp-audio-shortcode{
  width:100%!important;
  max-width:620px!important;
  margin:24px auto!important;
  display:block!important;
}

/* Gutenberg columns from old/new posts */
body.single-post .entry-content .wp-block-columns{
  gap:20px!important;
  margin:28px 0!important;
  align-items:center;
}
body.single-post .entry-content .wp-block-column{
  min-width:0!important;
}

/* Buttons */
body.single-post .entry-content .wp-block-button__link,
body.single-post .entry-content a.wp-element-button{
  padding:10px 18px!important;
  border-radius:10px!important;
  background:#16834b!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  text-decoration:none!important;
}

/* Separators */
body.single-post .entry-content hr,
body.single-post .entry-content .wp-block-separator{
  width:100%!important;
  margin:34px auto!important;
  border:0!important;
  border-top:1px solid #e1e9e4!important;
}

/* Pre/code must not break layout */
body.single-post .entry-content pre{
  max-width:100%;
  overflow:auto;
  padding:16px!important;
  border-radius:11px;
  background:#f4f7f5;
  direction:ltr;
  text-align:left;
  font-size:11px!important;
  line-height:1.8!important;
}

/* Long tables become horizontally scrollable rather than breaking mobile */
body.single-post .entry-content .wp-block-table{
  width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch;
}
body.single-post .entry-content .wp-block-table table{
  min-width:560px;
}

/* Remove excessive empty vertical gaps common in legacy content */
body.single-post .entry-content p:empty{
  display:none!important;
}
body.single-post .entry-content br + br + br{
  display:none;
}

/* Captions */
body.single-post .entry-content .wp-caption{
  width:auto!important;
  max-width:100%!important;
  margin:28px auto!important;
}
body.single-post .entry-content .wp-caption img{
  margin:0 auto!important;
}
body.single-post .entry-content .wp-caption-text{
  margin:8px 0 0!important;
  color:#87948d!important;
  text-align:center!important;
  font-size:10px!important;
  line-height:1.8!important;
}

/* Mobile content rhythm */
@media(max-width:700px){
  body.single-post .entry-content p,
  body.single-post .entry-content li{
    font-size:13px!important;
    line-height:2.2!important;
  }
  body.single-post .entry-content h1{font-size:21px!important}
  body.single-post .entry-content h2,
  body.single-post .entry-content h2 *{font-size:19px!important}
  body.single-post .entry-content h3,
  body.single-post .entry-content h3 *{font-size:16px!important}
  body.single-post .entry-content img{max-height:440px!important}
  body.single-post .entry-content .size-medium{max-width:100%!important}
  body.single-post .entry-content .wp-block-gallery img,
  body.single-post .entry-content .gallery img{height:150px!important}
  body.single-post .entry-content video,
  body.single-post .entry-content .wp-video,
  body.single-post .entry-content .wp-video-shortcode,
  body.single-post .entry-content .mejs-container,
  body.single-post .entry-content .wp-block-embed,
  body.single-post .entry-content .wp-block-video,
  body.single-post .entry-content .wp-block-embed__wrapper,
  body.single-post .entry-content > iframe{
    margin:22px auto!important;
  }
}


