/* Retailbound blog post blocks on the Elementor single-post template (dark page, 1000px content column).
   Styles the callouts the post pipeline writes (key takeaways, pro tip, note, inline CTA), the Yoast FAQ block,
   tables and in-article images. Same class names as the retailbound-blog plugin's template, so posts move between
   the two without edits. Loaded on single posts only (inc/blog-styles.php). */
.single-post .elementor-widget-theme-post-content{--rb-red:#C4000F;--rb-rose:#FF6B73;--rb-surface:rgba(255,255,255,.05);--rb-line:rgba(255,255,255,.12)}
/* reading rhythm */
.single-post .elementor-widget-theme-post-content h2.wp-block-heading{font-size:clamp(26px,2.4vw,32px);line-height:1.25;margin:44px 0 16px;text-transform:none}
.single-post .elementor-widget-theme-post-content h3.wp-block-heading{font-size:clamp(20px,1.7vw,23px);line-height:1.3;margin:30px 0 12px;text-transform:none}
.single-post .elementor-widget-theme-post-content p{line-height:1.7}
.single-post .elementor-widget-theme-post-content ul.wp-block-list,.single-post .elementor-widget-theme-post-content ol.wp-block-list{padding-left:24px;margin:0 0 20px}
.single-post .elementor-widget-theme-post-content .wp-block-list li{margin:0 0 8px;line-height:1.65}
/* key takeaways */
.single-post .elementor-widget-theme-post-content .rb-takeaways{margin:36px 0;padding:clamp(22px,3vw,32px);border-radius:20px;background:var(--rb-surface);border:1px solid rgba(255,255,255,.08)}
.single-post .elementor-widget-theme-post-content .rb-takeaways h2{display:flex;align-items:center;gap:12px;font-size:20px;line-height:1.3;margin:0 0 18px;letter-spacing:-.01em;color:#fff;text-transform:none}
.single-post .elementor-widget-theme-post-content .rb-takeaways h2::before{content:"";flex:none;width:36px;height:36px;border-radius:10px;background:var(--rb-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 15 8.5 22 9.3 17 14.1 18.2 21 12 17.8 5.8 21 7 14.1 2 9.3 9 8.5z'/%3E%3C/svg%3E") center/18px no-repeat}
.single-post .elementor-widget-theme-post-content .rb-takeaways ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.single-post .elementor-widget-theme-post-content .rb-takeaways li{position:relative;margin:0;padding:0 0 0 38px;line-height:1.6;color:rgba(255,255,255,.9)}
.single-post .elementor-widget-theme-post-content .rb-takeaways li::before{content:"";position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;background:rgba(196,0,15,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B73' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat}
/* pro tip and note */
.single-post .elementor-widget-theme-post-content .rb-pro-tip,.single-post .elementor-widget-theme-post-content .rb-note{position:relative;margin:36px 0;padding:28px 26px 22px;border-radius:16px}
.single-post .elementor-widget-theme-post-content .rb-pro-tip{background:rgba(196,0,15,.09);border:1px solid rgba(255,107,115,.32)}
.single-post .elementor-widget-theme-post-content .rb-note{background:var(--rb-surface);border:1px solid rgba(255,255,255,.1)}
.single-post .elementor-widget-theme-post-content .rb-callout__label{position:absolute;top:-14px;left:22px;display:inline-flex;align-items:center;height:28px;padding:0 12px 0 31px;border-radius:999px;font-weight:700;font-size:12px;letter-spacing:.1em;text-transform:uppercase;margin:0;line-height:1;white-space:nowrap}
.single-post .elementor-widget-theme-post-content .rb-callout__label::before{content:"";position:absolute;left:12px;top:50%;width:13px;height:13px;transform:translateY(-50%);background:center/contain no-repeat}
.single-post .elementor-widget-theme-post-content .rb-pro-tip .rb-callout__label{background:var(--rb-red);color:#fff;box-shadow:0 6px 16px rgba(196,0,15,.35)}
.single-post .elementor-widget-theme-post-content .rb-pro-tip .rb-callout__label::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.2 1 2V17h6v-.3c0-.8.4-1.5 1-2A7 7 0 0 0 12 2z'/%3E%3C/svg%3E")}
.single-post .elementor-widget-theme-post-content .rb-note .rb-callout__label{background:#fff;color:#12122a}
.single-post .elementor-widget-theme-post-content .rb-note .rb-callout__label::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312122a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cline x1='12' y1='11' x2='12' y2='17'/%3E%3Ccircle cx='12' cy='7.5' r='.6'/%3E%3C/svg%3E")}
.single-post .elementor-widget-theme-post-content .rb-pro-tip p,.single-post .elementor-widget-theme-post-content .rb-note p{margin:0 0 12px;line-height:1.65;color:rgba(255,255,255,.92)}
.single-post .elementor-widget-theme-post-content .rb-pro-tip p:last-child,.single-post .elementor-widget-theme-post-content .rb-note p:last-child{margin-bottom:0}
/* inline CTA */
.single-post .elementor-widget-theme-post-content .rb-cta-inline{margin:40px 0;padding:26px clamp(22px,3vw,32px);border-radius:20px;background:linear-gradient(135deg,#8F0507,#C4000F);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 28px;box-shadow:0 20px 50px rgba(143,5,7,.3)}
.single-post .elementor-widget-theme-post-content .rb-cta-inline__body{flex:1 1 300px;margin:0}
.single-post .elementor-widget-theme-post-content .rb-cta-inline__kicker{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.single-post .elementor-widget-theme-post-content .rb-cta-inline__title{font-weight:700;font-size:clamp(20px,2vw,23px);line-height:1.3;margin:0;letter-spacing:-.01em;color:#fff}
.single-post .elementor-widget-theme-post-content .rb-cta-inline__text{margin:8px 0 0;font-size:15.5px;line-height:1.5;color:rgba(255,255,255,.85)}
.single-post .elementor-widget-theme-post-content .rb-cta-inline .wp-block-buttons{margin:0;gap:0}
.single-post .elementor-widget-theme-post-content .rb-cta-inline .wp-block-button{margin:0}
.single-post .elementor-widget-theme-post-content .rb-cta-inline .wp-block-button__link{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 24px;border-radius:999px;background:#fff!important;color:#8F0507!important;font-weight:700;font-size:15px;line-height:1;white-space:nowrap;text-decoration:none;border:0;text-transform:none;transition:transform .2s,box-shadow .2s}
.single-post .elementor-widget-theme-post-content .rb-cta-inline .wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.25)}
/* tables */
.single-post .elementor-widget-theme-post-content .wp-block-table{margin:28px 0;overflow-x:auto}
.single-post .elementor-widget-theme-post-content .wp-block-table table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--rb-line);border-radius:14px;overflow:hidden;font-size:15px;line-height:1.5}
.single-post .elementor-widget-theme-post-content .wp-block-table th,.single-post .elementor-widget-theme-post-content .wp-block-table td{padding:12px 14px;border:0;border-bottom:1px solid var(--rb-line);text-align:left;vertical-align:top;color:rgba(255,255,255,.9)}
.single-post .elementor-widget-theme-post-content .wp-block-table th{background:rgba(255,255,255,.07);font-weight:700;color:#fff}
.single-post .elementor-widget-theme-post-content .wp-block-table tr:last-child td{border-bottom:0}
/* images */
.single-post .elementor-widget-theme-post-content .wp-block-image{margin:32px 0}
.single-post .elementor-widget-theme-post-content .wp-block-image img{display:block;width:100%;height:auto;border-radius:16px}
.single-post .elementor-widget-theme-post-content .wp-block-image figcaption{margin:10px 0 0;font-size:13px;color:rgba(255,255,255,.55);text-align:left}
/* FAQ (Yoast block) */
.single-post .elementor-widget-theme-post-content .schema-faq{border-top:1px solid var(--rb-line);margin:8px 0 40px}
.single-post .elementor-widget-theme-post-content .schema-faq-section{border-bottom:1px solid var(--rb-line);margin:0;padding:18px 0}
.single-post .elementor-widget-theme-post-content .schema-faq-question{display:block;font-weight:600;font-size:17.5px;line-height:1.35;color:#fff;margin:0 0 8px}
.single-post .elementor-widget-theme-post-content .schema-faq-answer{margin:0;color:rgba(255,255,255,.8);line-height:1.7}
@media (max-width:767px){
  .single-post .elementor-widget-theme-post-content .rb-pro-tip,.single-post .elementor-widget-theme-post-content .rb-note{padding:26px 18px 20px}
  .single-post .elementor-widget-theme-post-content .rb-cta-inline{padding:24px 18px}
  .single-post .elementor-widget-theme-post-content .rb-cta-inline .wp-block-button__link{height:46px;white-space:normal;text-align:center}
}
