/* ============================================================
   ANNIE WRIGHT BLOG TEMPLATE v2 - Production CSS
   All injected elements are INSIDE .entry-content
   ============================================================ */

/* --- Shared Box Label --- */
body.single-post .entry-content .aw-box-label {
  font-family: 'Moderat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #626F6C;
  display: block;
  margin-bottom: 16px;
}

/* --- Summary Box --- */
body.single-post .entry-content .aw-summary-box,
body.single-post .entry-content .aw-tldr {
  background: #ECE8E5;
  padding: 32px 36px;
  margin: 40px 0;
  border-radius: 2px;
}

/* --- Table of Contents --- */
body.single-post .entry-content .aw-toc-box,
body.single-post .entry-content .aw-toc {
  background: #fff;
  border: 1px solid #ECE8E5;
  padding: 28px 32px;
  margin: 32px 0 48px;
  border-radius: 2px;
}
body.single-post .entry-content .aw-toc-box ol,
body.single-post .entry-content .aw-toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
  margin: 0;
}
body.single-post .entry-content .aw-toc-box ol li,
body.single-post .entry-content .aw-toc ol li {
  counter-increment: toc-counter;
  padding: 8px 0;
  border-bottom: 1px solid #ECE8E5;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
body.single-post .entry-content .aw-toc-box ol li:last-child,
body.single-post .entry-content .aw-toc ol li:last-child {
  border-bottom: none;
}
body.single-post .entry-content .aw-toc-box ol li::before,
body.single-post .entry-content .aw-toc ol li::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #BEC7CC;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 22px;
}
body.single-post .entry-content .aw-toc-box ol li a,
body.single-post .entry-content .aw-toc ol li a {
  font-family: 'Adobe Caslon Pro', Georgia, serif;
  font-size: 16px;
  color: #626F6C;
  text-decoration: none;
}
body.single-post .entry-content .aw-toc-box ol li a:hover,
body.single-post .entry-content .aw-toc ol li a:hover {
  color: #334B51;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Definition Box --- */
body.single-post .entry-content .aw-definition-box,
body.single-post .entry-content .aw-def {
  background: #F5F4F2;
  border-left: 3px solid #334B51;
  padding: 32px 36px;
  margin: 40px 0;
  border-radius: 0 2px 2px 0;
}
body.single-post .entry-content .aw-definition-box .aw-term {
  font-family: 'Adobe Caslon Pro', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: #334B51;
  display: block;
  margin-bottom: 12px;
  font-style: normal !important;
  text-decoration: none !important;
}
body.single-post .entry-content .aw-definition-box .aw-term a {
  text-decoration: none !important;
  color: #334B51 !important;
}
body.single-post .entry-content .aw-definition-box p {
  font-size: 17px;
  line-height: 1.7;
  font-style: normal !important;
}
body.single-post .entry-content .aw-definition-box .aw-kitchen-table {
  font-size: 16px;
  border-top: 1px solid #B4BCB3;
  padding-top: 16px;
  margin-top: 20px;
  color: #626F6C;
  font-style: normal !important;
}

/* --- Pull Quote --- */
body.single-post .entry-content .aw-pull-quote {
  border-top: 1px solid #B4BCB3;
  border-bottom: 1px solid #B4BCB3;
  border-left: none;
  padding: 44px 48px;
  margin: 56px auto;
  max-width: 600px;
  text-align: center;
  position: relative;
  background: transparent;
}
body.single-post .entry-content .aw-pull-quote::before {
  content: '\201C';
  font-family: 'Adobe Caslon Pro', Georgia, serif;
  font-size: 72px;
  color: #B4BCB3;
  position: absolute;
  top: 12px;
  left: 16px;
  line-height: 1;
  opacity: 0.5;
}
body.single-post .entry-content .aw-pull-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
body.single-post .entry-content .aw-pull-quote blockquote p {
  font-family: 'Adobe Caslon Pro', Georgia, serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.65;
  color: #334B51;
  margin: 0;
}
body.single-post .entry-content .aw-pull-quote cite,
body.single-post .entry-content .aw-pull-quote > p:last-child {
  display: block;
  margin-top: 20px;
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #626F6C;
  font-style: normal;
}

/* --- Inline Opt-In (Existing EA Guide) --- */
body.single-post .entry-content .aw-ea-guide-optin {
  background: #334B51 !important;
  border: none !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 40px !important;
  padding: 48px 52px !important;
  margin: 52px 0 !important;
  border-radius: 2px !important;
  overflow: hidden !important;
}
body.single-post .entry-content .aw-ea-guide-optin .aw-ea-guide-left {
  flex: 0 0 auto !important;
  max-width: 220px !important;
}
body.single-post .entry-content .aw-ea-guide-optin .aw-ea-guide-right {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
body.single-post .entry-content .aw-ea-guide-optin p.aw-ea-guide-label {
  color: #B4BCB3 !important;
  font-family: 'Moderat', -apple-system, sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}
body.single-post .entry-content .aw-ea-guide-optin .aw-ea-guide-tagline,
body.single-post .entry-content .aw-ea-guide-optin .aw-ea-guide-tagline em {
  color: #fff !important;
  font-family: 'Adobe Caslon Pro', Georgia, serif !important;
  font-size: 24px !important;
}
body.single-post .entry-content .aw-ea-guide-optin .aw-ea-guide-right p {
  color: rgba(255,255,255,0.85) !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}
body.single-post .entry-content .aw-ea-guide-optin p.aw-ea-guide-meta {
  color: #B4BCB3 !important;
  font-family: 'Moderat', -apple-system, sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 24px !important;
}
body.single-post .entry-content .aw-ea-guide-optin .aw-ea-guide-form-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
body.single-post .entry-content .aw-ea-guide-optin input[type="email"],
body.single-post .entry-content .aw-ea-guide-optin input[type="text"] {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  font-family: 'Moderat', -apple-system, sans-serif !important;
  font-size: 12px !important;
  padding: 14px 16px !important;
  border-radius: 2px !important;
  text-align: center !important;
  width: 100% !important;
}
body.single-post .entry-content .aw-ea-guide-optin input::placeholder {
  color: rgba(255,255,255,0.5) !important;
}
body.single-post .entry-content .aw-ea-guide-optin input[type="submit"],
body.single-post .entry-content .aw-ea-guide-optin button[type="submit"],
body.single-post .entry-content .aw-ea-guide-optin .aw-ea-guide-btn {
  background: #fff !important;
  color: #334B51 !important;
  font-family: 'Moderat', -apple-system, sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  width: 100% !important;
}

/* --- FAQ Section --- */
body.single-post .entry-content .aw-faq-box {
  background: #F5F4F2;
  padding: 36px 40px;
  margin: 48px 0;
  border-radius: 2px;
}
body.single-post .entry-content .aw-faq-item {
  padding: 20px 0;
  border-bottom: 1px solid #B4BCB3;
}
body.single-post .entry-content .aw-faq-item:last-child {
  border-bottom: none;
}
body.single-post .entry-content .aw-faq-question {
  font-weight: 600;
  font-size: 18px;
  color: #334B51;
}
body.single-post .entry-content .aw-faq-answer {
  font-size: 17px;
  line-height: 1.7;
}

/* --- Related Reading --- */
body.single-post .entry-content .aw-related-reading {
  background: #F5F4F2;
  padding: 32px 36px;
  margin: 48px 0;
  border-radius: 2px;
  border-left: 3px solid #B4BCB3;
}
body.single-post .entry-content .aw-related-reading ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.single-post .entry-content .aw-related-reading ul li {
  padding: 10px 0;
  font-size: 17px;
  border-bottom: 1px solid #ECE8E5;
}
body.single-post .entry-content .aw-related-reading ul li:last-child {
  border-bottom: none;
}
body.single-post .entry-content .aw-related-reading ul li a {
  color: #334B51;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #B4BCB3;
}

/* --- Resources & References --- */
body.single-post .entry-content .aw-resources-box {
  background: #F5F4F2;
  padding: 28px 32px;
  margin: 40px 0;
  border-radius: 2px;
}
body.single-post .entry-content .aw-resources-box ol {
  padding-left: 0;
  margin: 0;
  list-style: none;
  counter-reset: ref-counter;
}
body.single-post .entry-content .aw-resources-box ol li {
  counter-increment: ref-counter;
  font-size: 15px;
  color: #626F6C;
  padding: 6px 0 6px 28px;
  position: relative;
}
body.single-post .entry-content .aw-resources-box ol li::before {
  content: counter(ref-counter) '.';
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #BEC7CC;
  position: absolute;
  left: 0;
}

/* ==========================================================
   INJECTED ELEMENTS (via the_content filter)
   These are now INSIDE .entry-content
   ========================================================== */

/* --- Consultation CTA --- */
body.single-post .entry-content .aw-cta-block {
  background: #ECE8E5;
  border: 1px solid #B4BCB3;
  padding: 48px 36px;
  margin: 52px 0;
  text-align: center;
  border-radius: 2px;
}
body.single-post .entry-content .aw-cta-block .aw-cta-intro {
  font-family: 'Adobe Caslon Pro', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: #334B51;
  margin: 0 0 8px 0;
}
body.single-post .entry-content .aw-cta-block .aw-cta-sub {
  font-size: 16px;
  color: #626F6C;
  margin: 0 0 28px 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
body.single-post .entry-content .aw-btn {
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #334B51;
  color: #fff !important;
  padding: 14px 28px;
  text-decoration: none;
  display: inline-block;
  border-radius: 2px;
  transition: background 0.2s;
}
body.single-post .entry-content .aw-btn:hover {
  background: #283d42;
}

/* --- Share Bar --- */
body.single-post .entry-content .aw-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 40px 0;
  padding-top: 20px;
  border-top: 1px solid #ECE8E5;
}
body.single-post .entry-content .aw-share-label {
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #BEC7CC;
  margin-right: 8px;
}
body.single-post .entry-content .aw-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ECE8E5;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #626F6C;
  padding: 0;
  text-decoration: none;
  transition: all 0.2s;
}
body.single-post .entry-content .aw-share-btn:hover {
  border-color: #334B51;
  color: #334B51;
}
body.single-post .entry-content .aw-share-btn svg {
  width: 16px;
  height: 16px;
}

/* --- Author Bio --- */
body.single-post .entry-content .aw-author-bio {
  background: #F5F4F2;
  padding: 40px;
  margin: 60px 0 40px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  border-radius: 2px;
  border: none;
}
body.single-post .entry-content .aw-author-bio img.aw-author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
body.single-post .entry-content .aw-author-bio h4 {
  font-family: 'Adobe Caslon Pro', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: #334B51;
  margin: 0 0 4px 0;
}
body.single-post .entry-content .aw-author-bio .aw-author-credentials {
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #626F6C;
  display: block;
  margin-bottom: 14px;
}
body.single-post .entry-content .aw-author-bio p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
body.single-post .entry-content .aw-author-bio .aw-author-link {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #626F6C;
  text-decoration: none;
}

/* --- Related Posts --- */
body.single-post .entry-content .aw-related-posts {
  margin: 60px 0 20px;
  padding-top: 40px;
  border-top: 1px solid #ECE8E5;
}
body.single-post .entry-content .aw-related-posts-title {
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #626F6C;
  margin-bottom: 24px;
}
body.single-post .entry-content .aw-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
body.single-post .entry-content .aw-related-card {
  text-decoration: none;
  display: block;
}
body.single-post .entry-content .aw-related-card:hover {
  transform: translateY(-2px);
}
body.single-post .entry-content .aw-related-card-meta {
  font-family: 'Moderat', -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #BEC7CC;
  margin-bottom: 6px;
}
body.single-post .entry-content .aw-related-card-title {
  font-family: 'Adobe Caslon Pro', Georgia, serif;
  font-size: 17px;
  line-height: 1.4;
  color: #334B51;
}

/* --- Reading Time --- */
body.single-post .aw-reading-time {
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #BEC7CC;
}

/* --- Breadcrumbs --- */
body.single-post .aw-breadcrumbs {
  font-family: 'Moderat', -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #BEC7CC;
  margin-bottom: 24px;
}
body.single-post .aw-breadcrumbs a {
  color: #BEC7CC;
  text-decoration: none;
}
body.single-post .aw-breadcrumbs a:hover {
  color: #626F6C;
}
body.single-post .aw-breadcrumbs .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* --- Hide Old Elements --- */
body.single-post .entry-content > .aw-cta-block[style] {
  display: none !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  body.single-post .entry-content .aw-pull-quote {
    padding: 28px 20px;
    max-width: 100%;
  }
  body.single-post .entry-content .aw-ea-guide-optin {
    flex-direction: column !important;
    padding: 28px !important;
  }
  body.single-post .entry-content .aw-ea-guide-optin .aw-ea-guide-left {
    max-width: 100% !important;
  }
  body.single-post .entry-content .aw-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  body.single-post .entry-content .aw-related-grid {
    grid-template-columns: 1fr;
  }
  body.single-post .entry-content .aw-definition-box,
  body.single-post .entry-content .aw-summary-box,
  body.single-post .entry-content .aw-faq-box {
    padding: 24px;
  }
}


/* ============================================================
   SITE-WIDE FIXES (injected elements from WPCode)
   ============================================================ */

/* Strong & Stable band - full width, 50/50 split */
.aw-ss-band {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}
.aw-ss-band-inner {
  display: flex !important;
  max-width: 100% !important;
  width: 100% !important;
}
.aw-ss-band-left {
  flex: 0 0 50% !important;
}
.aw-ss-band-right {
  flex: 0 0 50% !important;
  background: rgba(0,0,0,0.15) !important;
}

/* Sticky newsletter banner - match the darker S&S right panel color */
.newsletter-banner {
  background: #3D5A5E !important;
}
.newsletter-banner a {
  color: #ECE8E5 !important;
}
.newsletter-banner a:hover {
  color: #fff !important;
}

/* Breadcrumbs - hide since theme header already shows category/date */
body.single-post .aw-breadcrumbs {
  display: none !important;
}

/* Reading time - also injected outside content area, hide the entry-meta version
   and show it differently */
body.single-post .entry-meta .aw-reading-time {
  display: none !important;
}

/* Opt-in boxes (narcissism guide etc) - ensure white text on dark bg */
body.single-post .entry-content div[style*="334B51"] p,
body.single-post .entry-content div[style*="334b51"] p {
  color: rgba(255,255,255,0.85) !important;
}



/* ============================================================
   ROUND 3 FIXES
   ============================================================ */

/* Hide ALL old inline-styled CTA blocks inside entry-content 
   These have inline style="background: #faf7f4" */
body.single-post .entry-content > div.aw-cta-block[style],
body.single-post .entry-content div.aw-cta-block[style*="faf7f4"],
body.single-post .entry-content div.aw-cta-block[style*="faf7f0"],
body.single-post .entry-content div[class="aw-cta-block"][style] {
  display: none !important;
}

/* Our injected CTA block does NOT have inline styles, only class */
body.single-post .entry-content > div.aw-cta-block:not([style]) {
  display: block !important;
}

/* Hide old Ways to Work grid */
body.single-post .entry-content .aw-ways-to-work {
  display: none !important;
}

/* Hide old bio sections */
body.single-post .entry-content [class*="bio-a-"],
body.single-post .entry-content [class*="bio-option"] {
  display: none !important;
}

/* Also hide the wrapper div that contains the old bio (dark teal bg) */
body.single-post .entry-content > div[style*="#334B51"]:not(.aw-ea-guide-optin) {
  display: none !important;
}

/* Show reading time in the theme header next to the date */
body.single-post .entry-meta .aw-reading-time {
  display: inline !important;
  font-family: 'Moderat', -apple-system, sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #BEC7CC !important;
}

/* Add a dot separator before reading time */
body.single-post .entry-meta .aw-reading-time::before {
  content: ' \00B7  ';
  color: #BEC7CC;
}

/* Also show it in the theme's top header area near post-date */
body.single-post .post-date {
  display: inline !important;
}


/* Hide any old author bio boxes (white bg) in entry-content */
body.single-post .entry-content > .aw-author-bio:not([style*="F5F4F2"]) {
  display: none !important;
}

/* Collapse empty divs that might be left after hiding old elements */
body.single-post .entry-content > div:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide the entry-meta reading time (it renders in wrong position) */
body.single-post .entry-meta {
  display: none !important;
}

/* Style the inline reading time we inject into the_content */  
body.single-post .entry-content .aw-reading-time-inline {
  font-family: 'Moderat', -apple-system, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #BEC7CC;
  display: block;
  margin-bottom: 32px;
}


/* ============================================================
   ALL OPT-IN PATTERNS — Moss background treatment
   ============================================================ */

/* Generic guide opt-in (used on many posts) */
body.single-post .entry-content .aw-guide-optin {
  background: #334B51 !important;
  border: none !important;
  padding: 48px 52px !important;
  margin: 52px 0 !important;
  border-radius: 2px !important;
  color: rgba(255,255,255,0.85) !important;
}
body.single-post .entry-content .aw-guide-optin p,
body.single-post .entry-content .aw-guide-optin span,
body.single-post .entry-content .aw-guide-optin em,
body.single-post .entry-content .aw-guide-optin div {
  color: rgba(255,255,255,0.85) !important;
}
body.single-post .entry-content .aw-guide-optin h2,
body.single-post .entry-content .aw-guide-optin h3,
body.single-post .entry-content .aw-guide-optin h4,
body.single-post .entry-content .aw-guide-optin strong {
  color: #fff !important;
}
body.single-post .entry-content .aw-guide-optin input[type="email"],
body.single-post .entry-content .aw-guide-optin input[type="text"] {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  padding: 14px 16px !important;
  border-radius: 2px !important;
}
body.single-post .entry-content .aw-guide-optin input::placeholder {
  color: rgba(255,255,255,0.5) !important;
}
body.single-post .entry-content .aw-guide-optin input[type="submit"],
body.single-post .entry-content .aw-guide-optin button[type="submit"],
body.single-post .entry-content .aw-guide-optin a[class*="btn"] {
  background: #fff !important;
  color: #334B51 !important;
  font-family: 'Moderat', -apple-system, sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* Quiz block opt-in */
body.single-post .entry-content .aw-quiz-block,
body.single-post .entry-content .aw-quiz-cta,
body.single-post .entry-content .aw-quiz-optin {
  background: #334B51 !important;
  border: none !important;
  padding: 48px 52px !important;
  margin: 52px 0 !important;
  border-radius: 2px !important;
  text-align: center !important;
}
body.single-post .entry-content .aw-quiz-block p,
body.single-post .entry-content .aw-quiz-block span,
body.single-post .entry-content .aw-quiz-block div,
body.single-post .entry-content .aw-quiz-cta p,
body.single-post .entry-content .aw-quiz-cta span,
body.single-post .entry-content .aw-quiz-optin p,
body.single-post .entry-content .aw-quiz-optin span {
  color: rgba(255,255,255,0.85) !important;
}
body.single-post .entry-content .aw-quiz-block h2,
body.single-post .entry-content .aw-quiz-block h3,
body.single-post .entry-content .aw-quiz-block h4,
body.single-post .entry-content .aw-quiz-cta h2,
body.single-post .entry-content .aw-quiz-cta h3,
body.single-post .entry-content .aw-quiz-optin h2,
body.single-post .entry-content .aw-quiz-optin h3 {
  color: #fff !important;
}
body.single-post .entry-content .aw-quiz-btn,
body.single-post .entry-content a.aw-quiz-btn {
  background: #fff !important;
  color: #334B51 !important;
  font-family: 'Moderat', -apple-system, sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  display: inline-block !important;
}
body.single-post .entry-content .aw-quiz-label,
body.single-post .entry-content .aw-quiz-meta {
  color: #B4BCB3 !important;
}
body.single-post .entry-content .aw-quiz-tagline,
body.single-post .entry-content .aw-quiz-tagline em {
  color: #fff !important;
}

/* RKTG opt-in (A Reason to Keep Going) */
body.single-post .entry-content .aw-rktg-optin {
  background: #334B51 !important;
  border: none !important;
  padding: 48px 52px !important;
  margin: 52px 0 !important;
  border-radius: 2px !important;
}
body.single-post .entry-content .aw-rktg-optin p,
body.single-post .entry-content .aw-rktg-optin span,
body.single-post .entry-content .aw-rktg-optin div,
body.single-post .entry-content .aw-rktg-optin em {
  color: rgba(255,255,255,0.85) !important;
}
body.single-post .entry-content .aw-rktg-optin h2,
body.single-post .entry-content .aw-rktg-optin h3,
body.single-post .entry-content .aw-rktg-optin h4,
body.single-post .entry-content .aw-rktg-optin strong {
  color: #fff !important;
}
body.single-post .entry-content .aw-rktg-optin input[type="email"],
body.single-post .entry-content .aw-rktg-optin input[type="text"] {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  padding: 14px 16px !important;
  border-radius: 2px !important;
}
body.single-post .entry-content .aw-rktg-optin input::placeholder {
  color: rgba(255,255,255,0.5) !important;
}
body.single-post .entry-content .aw-rktg-optin input[type="submit"],
body.single-post .entry-content .aw-rktg-optin button[type="submit"],
body.single-post .entry-content .aw-rktg-optin a[class*="btn"] {
  background: #fff !important;
  color: #334B51 !important;
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 2px !important;
}

/* Old theme quiz blocks (quiz-block, quiz-block-2) */
body.single-post .entry-content .quiz-block,
body.single-post .entry-content .quiz-block-2 {
  background: #334B51 !important;
  border: none !important;
  padding: 48px 52px !important;
  margin: 52px 0 !important;
  border-radius: 2px !important;
}
body.single-post .entry-content .quiz-block p,
body.single-post .entry-content .quiz-block span,
body.single-post .entry-content .quiz-block h2,
body.single-post .entry-content .quiz-block h3,
body.single-post .entry-content .quiz-block-2 p,
body.single-post .entry-content .quiz-block-2 span,
body.single-post .entry-content .quiz-block-2 h2,
body.single-post .entry-content .quiz-block-2 h3 {
  color: rgba(255,255,255,0.85) !important;
}
body.single-post .entry-content .quiz-block a,
body.single-post .entry-content .quiz-block-2 a {
  color: #fff !important;
}

/* Catch-all: any remaining opt-in containers with inline dark backgrounds */
body.single-post .entry-content div[style*="334B51"] p,
body.single-post .entry-content div[style*="334b51"] p,
body.single-post .entry-content div[style*="2C4A52"] p,
body.single-post .entry-content div[style*="2c4a52"] p,
body.single-post .entry-content div[style*="2d4147"] p,
body.single-post .entry-content div[style*="2D4147"] p {
  color: rgba(255,255,255,0.85) !important;
}

/* Hide old Ways to Work on ALL posts */
body.single-post .entry-content .aw-ways-to-work {
  display: none !important;
}

/* Hide old bio on ALL posts */
body.single-post .entry-content .bio-option-a,
body.single-post .entry-content .bio-a-content,
body.single-post .entry-content [class*="bio-a-"] {
  display: none !important;
}

/* Hide old inline-styled CTA blocks on ALL posts */
body.single-post .entry-content > div.aw-cta-block[style] {
  display: none !important;
}

/* Mobile responsive for all opt-in types */
@media (max-width: 768px) {
  body.single-post .entry-content .aw-guide-optin,
  body.single-post .entry-content .aw-quiz-block,
  body.single-post .entry-content .aw-quiz-cta,
  body.single-post .entry-content .aw-quiz-optin,
  body.single-post .entry-content .aw-rktg-optin,
  body.single-post .entry-content .quiz-block,
  body.single-post .entry-content .quiz-block-2 {
    padding: 32px 24px !important;
  }
}
