/* Full-width breakouts (breadcrumb band) must not cause horizontal scroll. */
body.single-post {overflow-x: clip}

/* ZimuShop single-post layout: one uniform article design for all blog posts.
   Scoped to body.single-post so pages and hubs are never affected. The posts'
   own per-post styles stay in place; this layer normalises the frame:
   hero banner, disclosure, TOC, headings, tables, cards, buttons, FAQ. */

/* --- Disclosure line (injected) --- */
body.single-post .entry-content .zs-disclosure {font-size: 0.85rem; font-style: italic; color: #5d6d66; border-bottom: 1px dashed #e3eae5; padding-bottom: 0.7rem; margin-bottom: 1.4rem; line-height: 1.55}
body.single-post .entry-content .zs-disclosure a {color: #219653; font-weight: 600}

/* --- In-content hero becomes the standard photo banner --- */
body.single-post .entry-content .hero {position: relative; min-height: 42vh; display: flex; align-items: center; border-radius: 16px; overflow: hidden; padding: 3rem 2.5rem; margin-bottom: 2.2rem; background-size: cover; background-position: center; background-attachment: scroll; box-shadow: inset 0 0 0 2000px rgba(26, 37, 47, 0.30)}
body.single-post .entry-content .hero .hero-content {background: transparent; background-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: none; max-width: 640px; margin: 0; padding: 0; text-align: left; border-radius: 0}
body.single-post .entry-content .hero .hero-content h1, body.single-post .entry-content .hero .hero-content h2 {display: none}
body.single-post .entry-content .hero .hero-content p {color: #ffffff; font-size: 1.12rem; line-height: 1.6; text-align: left; margin: 0 0 1.4rem; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35)}
body.single-post .entry-content .hero .hero-content .btn {background: #27ae60; border: 2px solid #27ae60; color: #ffffff; border-radius: 999px; padding: 12px 30px; font-weight: 600}
body.single-post .entry-content .hero .hero-content .btn:hover {background: #219653; border-color: #219653}
body.single-post .entry-content .hero .hero-credit {position: absolute; right: 14px; bottom: 10px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.75); background: transparent}

/* --- Table of contents: one soft box --- */
body.single-post .entry-content .toc-container {background: #f4f8f5; border: 1px solid #e3eae5; border-radius: 12px; padding: 1.3rem 1.6rem; margin: 0 0 2.2rem}
body.single-post .entry-content .toc-title, body.single-post .entry-content .toc-header {font-family: Poppins, sans-serif; font-weight: 600; color: #1a252f; font-size: 1.05rem; background: transparent; padding: 0; margin-bottom: 0.6rem; border: none}
body.single-post .entry-content .toc-list {margin: 0; padding-left: 1.2rem}
body.single-post .entry-content .toc-list li {margin-bottom: 0.35rem; line-height: 1.5}
body.single-post .entry-content .toc-list a {color: #2c3e50; text-decoration: none}
body.single-post .entry-content .toc-list a:hover {color: #27ae60}

/* --- Headings and body rhythm --- */
body.single-post .entry-content h2 {font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.55rem; line-height: 1.25; color: #1a252f; margin: 2.3rem 0 0.8rem; text-align: left}
body.single-post .entry-content h3 {font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.22rem; line-height: 1.3; color: #2c3e50; margin: 1.8rem 0 0.6rem; text-align: left}
body.single-post .entry-content h4 {font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.05rem; color: #2c3e50; margin: 1.4rem 0 0.5rem}
body.single-post .entry-content h2[id], body.single-post .entry-content h3[id], body.single-post .entry-content section[id] {scroll-margin-top: 110px}
body.single-post .entry-content p {line-height: 1.72; margin-bottom: 1.1rem}
body.single-post .entry-content li {line-height: 1.65; margin-bottom: 0.3rem}
body.single-post .entry-content ul li::marker {color: #27ae60}
body.single-post .entry-content img {border-radius: 12px}
body.single-post .entry-content a {color: #219653}
body.single-post .entry-content blockquote {border-left: 4px solid #27ae60; background: #f4f8f5; border-radius: 0 10px 10px 0; padding: 1rem 1.3rem; margin: 1.6rem 0; font-style: italic}

/* --- Tables: navy header, soft striping --- */
body.single-post .entry-content table {width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.95rem; background: #ffffff}
body.single-post .entry-content table th {background: #1a252f; color: #ffffff; font-family: Poppins, sans-serif; font-weight: 600; text-align: left; padding: 10px 12px; border: 1px solid #1a252f}
body.single-post .entry-content table td {padding: 10px 12px; border: 1px solid #e3eae5; vertical-align: top}
body.single-post .entry-content table tr:nth-child(even) td {background: #f4f8f5}

/* --- Product cards and buttons: one pattern --- */
body.single-post .entry-content .product-card {background: #ffffff; border: 1px solid #e3eae5; border-radius: 14px; box-shadow: 0 2px 10px rgba(26, 37, 47, 0.06); overflow: hidden}
body.single-post .entry-content .btn, body.single-post .entry-content a.btn {display: inline-block; background: #27ae60; color: #ffffff; font-weight: 600; border: none; border-radius: 999px; padding: 12px 28px; text-decoration: none; transition: background 0.2s ease}
body.single-post .entry-content .btn:hover, body.single-post .entry-content a.btn:hover {background: #219653; color: #ffffff}

/* --- FAQ (v1.3.26 redesign, v1.3.28 unified): ONE design for every FAQ
   section on the site - compact divider list with a circular green + / -
   toggle. Every visual property is set here because each migrated
   template ships its own FAQ CSS (cards, shadows, big margins, different
   answer states); anything left unset renders differently per page. --- */
body.single-post .entry-content .faq-section {background: transparent !important; padding: 0 !important; margin-top: 2.4rem; box-shadow: none !important; border: none !important; border-radius: 0 !important}
body.single-post .entry-content .faq-section > h2, body.single-post .entry-content .faq-title {font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.55rem !important; color: #1a252f !important; text-align: left !important; margin: 0 0 0.6rem !important}
body.single-post .entry-content .faq-container {background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; max-width: none !important}
body.single-post .entry-content .faq-item {background: transparent !important; border: none !important; border-bottom: 1px solid #e3eae5 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important}
body.single-post .entry-content .faq-question {display: flex !important; align-items: center; justify-content: space-between; gap: 1rem; font-family: Poppins, sans-serif; font-weight: 600; color: #1a252f; font-size: 1.05rem; background: transparent !important; padding: 14px 2px !important; margin: 0 !important; cursor: pointer}
body.single-post .entry-content .faq-question:hover {color: #219653}
body.single-post .entry-content .faq-question h3 {margin: 0 !important; font-size: 1.05rem !important; font-weight: 600 !important; color: inherit !important; text-align: left !important; line-height: 1.35 !important}
body.single-post .entry-content .faq-question > p {margin: 0 !important; line-height: 0}
body.single-post .entry-content .faq-answer {max-height: 0 !important; overflow: hidden !important; padding: 0 !important; color: #44564e; line-height: 1.7; background: transparent !important; margin: 0 !important; transition: max-height 0.35s ease}
body.single-post .entry-content .faq-answer > *:first-child {margin-top: 0 !important}

/* --- Closing trust box (injected) --- */
body.single-post .entry-content .zs-trust-box {background: #1a252f; color: #eaf2ee; border-radius: 14px; padding: 1.8rem 2rem; margin: 2.6rem 0 0.5rem}
body.single-post .entry-content .zs-trust-box h3 {color: #ffffff; font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.25rem; margin: 0 0 0.7rem; text-align: left}
body.single-post .entry-content .zs-trust-box p {color: #eaf2ee; line-height: 1.65; margin-bottom: 0.7rem}
body.single-post .entry-content .zs-trust-box a {color: #8be0ae; font-weight: 600}

/* --- Mobile --- */
@media (max-width: 768px) {
  body.single-post .entry-content .hero {min-height: 34vh; padding: 2.2rem 1.3rem; border-radius: 12px}
  body.single-post .entry-content .hero .hero-content p {font-size: 1.02rem}
  body.single-post .entry-content h2 {font-size: 1.35rem}
  body.single-post .entry-content h3 {font-size: 1.12rem}
  body.single-post .entry-content table {font-size: 0.87rem}
  body.single-post .entry-content .toc-container {padding: 1.1rem 1.2rem}
  body.single-post .entry-content .zs-trust-box {padding: 1.4rem 1.3rem}
}

/* The migrated posts carry their own in-content title header (category chip +
   H1 + author line), duplicating the theme's title band above it. The band is
   the uniform header on every post, so the in-content copy is hidden. */
body.single-post .entry-content .blog-post-header {display: none !important}

/* --- Uniform section headings (v1.3.6): one style, icon + text on one line --- */
body.single-post .entry-content h2 {font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.55rem !important; line-height: 1.25 !important; color: #1a252f !important; text-align: left !important; letter-spacing: normal !important; text-transform: none !important}
body.single-post .entry-content h3 {font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; font-size: 1.22rem !important; line-height: 1.3 !important; color: #2c3e50 !important; text-align: left !important; letter-spacing: normal !important; text-transform: none !important}
body.single-post .entry-content h4 {font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; font-size: 1.05rem !important; line-height: 1.35 !important; color: #2c3e50 !important; text-align: left !important; letter-spacing: normal !important; text-transform: none !important}
body.single-post .entry-content h2:has(> i), body.single-post .entry-content h3:has(> i), body.single-post .entry-content h4:has(> i) {display: flex; align-items: center; gap: 0.55em}
body.single-post .entry-content h2 > i, body.single-post .entry-content h3 > i, body.single-post .entry-content h4 > i {flex: none}
body.single-post .entry-content .zs-trust-box h3 {color: #ffffff !important; text-align: left !important}
@media (max-width: 640px) {body.single-post .entry-content h2 {font-size: 1.35rem !important} body.single-post .entry-content h3 {font-size: 1.12rem !important}}

/* --- FAQ states (v1.3.26): open answer + circular toggle button --- */
body.single-post .entry-content .faq-item.active .faq-answer {max-height: 1200px !important; padding: 0 2px 16px !important}
body.single-post .entry-content .faq-question .faq-toggle {display: none !important}
body.single-post .entry-content .faq-question i {display: none !important} /* any template chevron, direct or wrapped in <p> */
body.single-post .entry-content .faq-question::after {content: "+"; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1.5px solid #27ae60; border-radius: 50%; color: #27ae60; font-size: 1.15rem; font-weight: 600; line-height: 1; flex: none; transition: all 0.2s ease}
body.single-post .entry-content .faq-item.active .faq-question::after {content: "\2212"; background: #27ae60; color: #ffffff}
body.single-post .entry-content .faq-item.active {box-shadow: none !important}

/* Author avatars (v1.3.25): some templates' image rules squeeze the bio-box
   avatar into a tall pill shape. Force a proper round avatar on every post. */
body.single-post .entry-content .author-bio .author-avatar {width: 84px !important; height: 84px !important; aspect-ratio: 1/1; border-radius: 50% !important; object-fit: cover !important; border: 3px solid #27ae60 !important; flex: none !important}
body.single-post .entry-content .author-bio > div:first-child {flex: none !important; line-height: 0}
body.single-post .entry-content .quote-author img {width: 70px !important; height: 70px !important; aspect-ratio: 1/1; border-radius: 50% !important; object-fit: cover !important; flex: none !important}

/* v1.3.31: Amazon price buttons keep white label text on the green button.
   The generic post link color (green) outranked the templates' white, so
   force white here for the two buy-button classes and their icons. */
.entry-content a.in-article-product-link,
.entry-content a.product-link {color: #ffffff !important}
.entry-content a.in-article-product-link i,
.entry-content a.product-link i {color: #ffffff !important}

/* v1.3.41: per-post affiliate disclosure line, prepended at the top of
   every single post by the plugin. Small, muted, clearly readable. */
.entry-content p.zs-affiliate-disclosure {font-size: 0.85rem !important; color: #5d6d66 !important; background: #f4f8f5 !important; border-left: 3px solid #27ae60 !important; padding: 8px 12px !important; margin: 0 0 20px !important; line-height: 1.5 !important}
.entry-content p.zs-affiliate-disclosure a {color: #27ae60 !important; text-decoration: underline !important}
