/* @id cronuts-single-post-css-fix */
/* === DEFENSIVE LAYOUT FIX FOR preview-single-post.phtml === */

/* Container + grid: lock layout regardless of main.css cascade */
.post-layout {
	background: #E0E5EC !important;
	padding: 48px 0 64px !important;
	display: block !important;
}
.post-layout > .container,
.post-layout .post-layout__grid {
	max-width: 1200px !important;
	margin-inline: auto !important;
	padding-inline: clamp(1rem, 4vw, 2rem) !important;
	width: 100% !important;
	box-sizing: border-box !important;
}
.post-layout__grid {
	display: grid !important;
	grid-template-columns: 220px minmax(0, 1fr) 280px !important;
	gap: 48px !important;
	align-items: start !important;
}
@media (max-width: 1100px) {
	.post-layout__grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 0 !important;
	}
	.post-toc,
	.post-aside {
		display: none !important;
	}
}

/* Post body: force visible block in grid col 2 */
.post-body {
	min-width: 0 !important;
	width: auto !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	color: #1A1A1A !important;
	box-sizing: border-box !important;
}
.post-body > *,
.post-body .tldr,
.post-body .prose,
.post-body .key-points,
.post-body .faq-block,
.post-body .conclusion,
.post-body .author-bio,
.post-body .cite-block,
.post-body .wp-block-heading,
.post-body .wp-block-paragraph,
.post-body p,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body ul,
.post-body ol,
.post-body blockquote {
	display: revert;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Ensure prose has correct text color (defensive against main.css var(--color-fg)=white) */
.post-body .prose,
.post-body .prose p,
.post-body .prose li,
.post-body .prose td,
.post-body .prose th {
	color: #1A1A1A !important;
}
.post-body .prose h2,
.post-body .prose h3,
.post-body .prose h4,
.post-body .prose strong {
	color: #1A1A1A !important;
}
.post-body .prose a {
	color: #E6243F !important;
}

/* Body bg + color: defensive (main.css sets --color-bg=black via :root, would override otherwise) */
body.single,
body.single-post,
body.postid-7308,
body[class*="single-post"] {
	background: #E0E5EC !important;
	color: #1A1A1A !important;
	overflow-x: hidden !important;
}

/* TOC + aside: ensure visible columns at >= 1100 */
@media (min-width: 1101px) {
	.post-toc {
		grid-column: 1 !important;
		display: block !important;
		position: sticky !important;
		top: 160px !important;
	}
	.post-aside {
		grid-column: 3 !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 24px !important;
		position: sticky !important;
		top: 160px !important;
	}
	.post-body {
		grid-column: 2 !important;
	}
}

/* Sections AFTER post-layout grid must be full width — prevent inheriting grid layout */
section.cta-final,
section.related-section,
footer.site-footer {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	grid-column: unset !important;
}

/* Gutenberg block heading reset within prose (theme sometimes resets margin) */
.post-body .prose .wp-block-heading {
	font-family: 'Poppins', system-ui, sans-serif !important;
	letter-spacing: -0.02em !important;
	line-height: 1.1 !important;
}
.post-body .prose h2.wp-block-heading {
	font-size: 32px !important;
	margin: 56px 0 20px !important;
	color: #1A1A1A !important;
}
.post-body .prose h3.wp-block-heading {
	font-size: 22px !important;
	margin: 36px 0 14px !important;
	color: #1A1A1A !important;
}

/* Drop-cap ::first-letter only on first paragraph of prose */
.post-body .prose > p:first-child::first-letter {
	font-family: 'Poppins', system-ui, sans-serif !important;
	font-weight: 700 !important;
	font-size: 64px !important;
	line-height: 0.88 !important;
	float: left !important;
	margin: 4px 12px 0 0 !important;
	color: #E6243F !important;
}

/* Embedded CTAs: cancel generic CTA chrome on BEM child elements */
.post-body .prose [class*="cta-"] [class*="__title"],
.post-body .prose [class*="cta-"] [class*="__lead"] {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	text-align: left !important;
	max-width: none !important;
	width: auto !important;
}
.post-body .prose [class*="cta-"] [class*="__title"]::before,
.post-body .prose [class*="cta-"] [class*="__title"]::after,
.post-body .prose [class*="cta-"] [class*="__lead"]::before,
.post-body .prose [class*="cta-"] [class*="__lead"]::after,
.post-body .prose [class*="cta-"] [class*="__btn"]::after {
	content: none !important;
	display: none !important;
}
.post-body .prose [class*="cta-"] [class*="__btn"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	max-width: 100% !important;
	text-decoration: none !important;
}
/* @id cronuts-ui-final-overrides */
/* ============================================================
   Cronuts UI Final Overrides — last in cascade. !important.
   v1.5.0: skip-link + screen-reader-text hidden inline.
   ============================================================ */

/* GLOBAL: skip/screen-reader links — hidden until focused */
:where(html) .skip-link,
:where(html) .screen-reader-text{
  clip:rect(1px,1px,1px,1px)!important;
  clip-path:inset(50%)!important;
  height:1px!important;
  width:1px!important;
  margin:-1px!important;
  overflow:hidden!important;
  padding:0!important;
  position:absolute!important;
  word-wrap:normal!important
}
:where(html) .skip-link:focus,
:where(html) .screen-reader-text:focus{
  clip:auto!important;
  clip-path:none!important;
  display:block!important;
  height:auto!important;
  width:auto!important;
  margin:0!important;
  overflow:visible!important;
  position:fixed!important;
  top:1rem!important;
  left:1rem!important;
  z-index:100000!important;
  background:#fff!important;
  color:#000!important;
  padding:.5rem 1rem!important;
  border-radius:4px!important
}

/* 0. Canvas: body light, sections plain transparent (non-sector pages only) */
html, body{ background:#E0E5EC!important; color:#242424 }
:where(html) main, :where(html) #main, :where(html) body > main{
  background:transparent!important
}
:where(html) section.section:not(.section--dark):not([data-ti-section]):not(#opiniones):not(.cta-dark):not(.hero){
  background:transparent!important
}

/* 1. Botones — pill style global (border-radius 999px) */
:where(html) .btn,
:where(html) a.btn,
:where(html) button.btn,
:where(html) .btn--primary,
:where(html) .btn--secondary,
:where(html) .btn--ghost,
:where(html) .btn--light,
:where(html) .btn--large,
:where(html) .btn--dark-primary,
:where(html) .btn--dark-secondary,
:where(html) .btn--outline,
:where(html) .btn--tertiary,
:where(html) .ctc-submit,
:where(html) .ctc-calendly,
:where(html) input[type="submit"],
:where(html) button[type="submit"]{
  border-radius:999px!important
}

/* 2. Hero — primary CTA (rojo solido pill) */
:where(html) .btn.btn--dark-primary{
  background:#e6243f!important;
  color:#fff!important;
  border:1.5px solid transparent!important;
  box-shadow:0 4px 16px rgba(230,36,63,.35),inset 0 1px 0 rgba(255,255,255,.15)!important
}
:where(html) .btn.btn--dark-primary:hover{
  background:#c01e35!important;
  color:#fff!important;
  box-shadow:0 6px 22px rgba(230,36,63,.5),inset 0 1px 0 rgba(255,255,255,.2)!important;
  transform:translateY(-1px)
}

/* 3. Hero — secondary ghost (borde 70% alpha) */
:where(html) .btn.btn--dark-secondary{
  background:transparent!important;
  border:1.5px solid rgba(255,255,255,.7)!important;
  color:#fff!important;
  box-shadow:none!important
}
:where(html) .btn.btn--dark-secondary:hover{
  background:rgba(255,255,255,.12)!important;
  border-color:#fff!important;
  color:#fff!important;
  transform:translateY(-1px)
}

/* 4. Header pill CTA — primary rojo siempre */
:where(html) .site-header__pill .btn,
:where(html) .site-header__pill .btn--primary{
  background:#e6243f!important;
  color:#fff!important;
  border:1px solid rgba(230,36,63,.5)!important;
  box-shadow:0 2px 10px rgba(230,36,63,.3),inset 0 1px 0 rgba(255,255,255,.12)!important
}
:where(html) .site-header__pill .btn:hover,
:where(html) .site-header__pill .btn--primary:hover{
  background:#c01e35!important;
  color:#fff!important;
  border-color:rgba(230,36,63,.7)!important;
  box-shadow:0 3px 14px rgba(230,36,63,.45),inset 0 1px 0 rgba(255,255,255,.18)!important
}

/* 5. Service cards */
:where(html) .service-card{
  background:#fff!important;
  border:1px solid rgba(36,36,36,.06)!important;
  color:#242424!important;
  box-shadow:0 12px 32px rgba(17,24,39,.06),0 2px 8px rgba(17,24,39,.04)!important;
  border-radius:14px!important
}
:where(html) .service-card:hover{
  border-color:rgba(230,36,63,.3)!important;
  transform:translateY(-2px);
  box-shadow:0 24px 56px rgba(17,24,39,.09),0 6px 18px rgba(17,24,39,.05)!important
}
:where(html) .service-card .service-card__title{ color:#242424!important }
:where(html) .service-card .service-card__eyebrow{ color:#e6243f!important }
:where(html) .service-card .service-card__desc,
:where(html) .service-card .service-card__description{ color:#545760!important }
:where(html) .service-card .service-card__link{ color:#e6243f!important; font-weight:600!important }
:where(html) .service-card .service-card__foot{ border-top-color:rgba(36,36,36,.08)!important }
:where(html) .service-card .service-card__icon{
  background:#fff!important;
  border:1px solid rgba(36,36,36,.08)!important;
  color:#e6243f!important
}
:where(html) .service-card .service-card__arrow{
  background:#fff!important;
  border:1px solid rgba(36,36,36,.12)!important;
  color:#242424!important;
  border-radius:999px!important
}
:where(html) .service-card:hover .service-card__arrow{
  background:#e6243f!important;
  border-color:#e6243f!important;
  color:#fff!important
}

/* 6. Section titles — light context */
:where(html) .section .section__title{ color:#242424 }
:where(html) .section .section__title em{ color:#e6243f; font-style:normal }
:where(html) .section .eyebrow{ color:#e6243f }
:where(html) .section .section__lead{ color:#545760 }

/* 7. Dark sections */
:where(html) .section--dark,
:where(html) [data-ti-section],
:where(html) #opiniones{ color:#fff!important }
:where(html) .section--dark .section__title,
:where(html) [data-ti-section] .section__title,
:where(html) #opiniones .section__title{ color:#fff!important }
:where(html) .section--dark .section__title em,
:where(html) [data-ti-section] .section__title em,
:where(html) #opiniones .section__title em{ color:#e6243f!important; font-style:normal }
:where(html) .section--dark .section__lead,
:where(html) [data-ti-section] .section__lead,
:where(html) #opiniones .section__lead{ color:rgba(255,255,255,.72)!important }
:where(html) .section--dark .eyebrow,
:where(html) [data-ti-section] .eyebrow,
:where(html) #opiniones .eyebrow{ color:#e6243f!important }

/* 8. Stats band */
:where(html) .stats-band .stat{
  background:#fff!important;
  color:#242424!important;
  border-radius:14px!important;
  box-shadow:0 12px 32px rgba(17,24,39,.06),0 2px 8px rgba(17,24,39,.04)!important
}
:where(html) .stats-band .stat__n{ color:#242424!important }
:where(html) .stats-band .stat__n em{ color:#e6243f!important; font-style:normal }
:where(html) .stats-band .stat__lbl{ color:#545760!important }
/* @id cronuts-site-footer-css */
.site-footer{background:#121212;color:rgba(255,255,255,.85);padding:96px 0 48px;font-family:var(--font-body,"Inter",system-ui,sans-serif)}
.site-footer .container{max-width:1400px;margin:0 auto;padding:0 clamp(1rem,4vw,2rem)}
.site-footer__shell{background:#121212;border-radius:16px;padding:48px;box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 24px 64px rgba(0,0,0,.5);display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px}
.site-footer .footer-eyebrow{font-family:var(--font-display,"Poppins",sans-serif);font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:14px}
.site-footer .footer-col a{display:block;font-size:13px;padding:4px 0;color:rgba(255,255,255,.85);text-decoration:none;transition:color 160ms}
.site-footer .footer-col a:hover{color:#e6243f}
.site-footer .footer-brand{display:flex;flex-direction:column;gap:16px;max-width:320px}
.site-footer .footer-brand__lockup{display:flex;align-items:center;gap:12px;text-decoration:none}
.site-footer .footer-brand__eye{width:40px;height:40px;display:block;object-fit:contain;flex-shrink:0;background:transparent}
.site-footer .footer-brand__word{font-family:var(--font-display,"Poppins",sans-serif);font-weight:700;font-size:22px;line-height:1;letter-spacing:-.02em;color:#fff;display:inline-flex;align-items:baseline}
.site-footer .footer-brand__word .dot{color:#e6243f;padding:0 1px}
.site-footer .footer-brand p{color:rgba(255,255,255,.72);font-size:14px;line-height:1.55;margin:0}
.site-footer .footer-socials{display:flex;gap:10px;margin-top:4px;flex-wrap:wrap}
.site-footer .footer-socials a{width:40px;height:40px;border-radius:999px;background:#1a1a1a;box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 4px 12px rgba(0,0,0,.4);display:grid;place-items:center;color:#fff;padding:0;transition:color 180ms,transform 180ms}
.site-footer .footer-socials a:hover{color:#e6243f;transform:translateY(-1px)}
.site-footer .footer-socials a svg{width:16px;height:16px;stroke-width:1.8;display:block}
.site-footer__meta{margin-top:32px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;align-items:center;font-family:ui-monospace,Menlo,monospace;font-size:10px;color:rgba(255,255,255,.45);letter-spacing:.04em;text-transform:uppercase;gap:16px;flex-wrap:wrap}
.site-footer__meta .dot{color:#e6243f}
.site-footer__meta-extra a{color:rgba(255,255,255,.7);text-decoration:none;transition:color 160ms}
.site-footer__meta-extra a:hover{color:#e6243f}
@media(max-width:1024px){.site-footer__shell{grid-template-columns:1fr 1fr;gap:32px}}
@media(max-width:720px){.site-footer{padding:64px 0 32px}.site-footer__shell{grid-template-columns:1fr;padding:32px;gap:28px}.site-footer__meta{flex-direction:column;align-items:flex-start}}