/* ============================================================
   Materialidad Contable -- Blog content styling
   Applies the Claude Design brand tokens (coral / ink / Plus
   Jakarta Sans + Inter) to native Gutenberg blocks inside posts,
   without replacing the theme's own header/footer/chrome.
   ============================================================ */

.entry-content,.wp-block-post-content{
  --ink-1000:#0A0B0D;--ink-900:#14161A;--ink-800:#22262C;--ink-700:#3A3F47;
  --ink-600:#5B6068;--ink-500:#7C828B;--ink-400:#A6ABB3;--ink-300:#D2D6DB;
  --ink-200:#E6E8EB;--ink-100:#F1F2F4;--ink-050:#F7F8F9;
  --coral-050:#FFF1EE;--coral-500:#F55A45;--coral-600:#DE4531;--coral-700:#B93524;
  --lavender-050:#F4F1FD;--lavender-500:#6C5CE0;
  --sky-050:#EEF5FE;--sky-500:#2F6FED;
  --mint-050:#EAF7F1;--mint-500:#12A971;
  --font-display:"Plus Jakarta Sans","Helvetica Neue",Arial,sans-serif;
  --font-body:"Inter","Helvetica Neue",Arial,sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  max-width:760px;margin-left:auto;margin-right:auto;
  font-family:var(--font-body);font-size:17px;line-height:1.68;color:var(--ink-600);
}
.entry-content.alignfull{max-width:760px}

:where(.entry-content) h2,:where(.wp-block-post-content) h2{font-family:var(--font-display);font-weight:800;font-size:clamp(26px,3.4vw,34px);line-height:1.18;letter-spacing:-.024em;color:var(--ink-1000);margin:56px 0 18px}
:where(.entry-content) h3,:where(.wp-block-post-content) h3{font-family:var(--font-display);font-weight:700;font-size:22px;line-height:1.28;letter-spacing:-.018em;color:var(--ink-900);margin:40px 0 14px}
:where(.entry-content) h2:first-child,:where(.wp-block-post-content) h2:first-child{margin-top:0}
:where(.entry-content) p,:where(.wp-block-post-content) p{margin:0 0 22px;color:var(--ink-600)}
:where(.entry-content) strong,:where(.wp-block-post-content) strong{color:var(--ink-900);font-weight:600}
:where(.entry-content) a,:where(.wp-block-post-content) a{color:var(--coral-600);text-decoration:underline;text-decoration-color:var(--coral-200,#FFC2B7);text-underline-offset:3px;transition:color .12s ease-out}
:where(.entry-content) a:hover,:where(.wp-block-post-content) a:hover{color:var(--coral-700)}

:where(.entry-content) ul,:where(.entry-content) ol,:where(.wp-block-post-content) ul,:where(.wp-block-post-content) ol{margin:0 0 24px;padding-left:0;list-style:none}
:where(.entry-content) li,:where(.wp-block-post-content) li{position:relative;padding-left:30px;margin:0 0 12px;color:var(--ink-600)}
:where(.entry-content) ul>li::before,:where(.wp-block-post-content) ul>li::before{content:"";position:absolute;left:0;top:9px;width:8px;height:8px;border-radius:50%;background:var(--coral-500)}
:where(.entry-content) ol,:where(.wp-block-post-content) ol{counter-reset:mc-ol}
:where(.entry-content) ol>li,:where(.wp-block-post-content) ol>li{counter-increment:mc-ol}
:where(.entry-content) ol>li::before,:where(.wp-block-post-content) ol>li::before{content:counter(mc-ol);position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:var(--coral-050);color:var(--coral-700);font-family:var(--font-mono);font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center}

:where(.entry-content) blockquote,:where(.wp-block-post-content) blockquote,.wp-block-quote,.wp-block-pullquote{border:0;border-left:3px solid var(--coral-500);margin:36px 0;padding:4px 0 4px 24px}
.wp-block-quote p,blockquote p{font-family:var(--font-display);font-weight:600;font-size:22px;line-height:1.4;letter-spacing:-.015em;color:var(--ink-900);margin:0 0 8px}
.wp-block-quote cite,blockquote cite{font-family:var(--font-body);font-style:normal;font-size:13.5px;color:var(--ink-400)}
.wp-block-pullquote blockquote{border-left:0;padding:0}
.wp-block-pullquote{border:0;text-align:left;background:var(--ink-050);border-radius:24px;padding:36px 40px;margin:40px 0}
.wp-block-pullquote p{font-size:24px}

.entry-content figure.wp-block-image,.wp-block-post-content figure.wp-block-image{margin:40px 0}
.entry-content .wp-block-image img,.wp-block-post-content .wp-block-image img{border-radius:24px;box-shadow:0 18px 48px rgba(10,11,13,.10),0 4px 12px rgba(10,11,13,.05)}
.entry-content .wp-block-image figcaption,.wp-block-post-content .wp-block-image figcaption{font-family:var(--font-body);font-size:13px;color:var(--ink-400);text-align:center;margin-top:12px}

.wp-block-post-featured-image{margin:0 0 8px}
.wp-block-post-featured-image img{border-radius:28px;box-shadow:0 28px 70px rgba(10,11,13,.14),0 8px 20px rgba(10,11,13,.06)}

.entry-content .mc-callout,.wp-block-post-content .mc-callout{background:var(--ink-050);border-radius:20px;padding:28px 30px;margin:36px 0;border-left:3px solid var(--coral-500)}
.entry-content .mc-callout p:last-child,.wp-block-post-content .mc-callout p:last-child{margin-bottom:0}
.entry-content .mc-callout .mc-eyebrow,.wp-block-post-content .mc-callout .mc-eyebrow{display:block;margin-bottom:10px}
.mc-eyebrow{font-family:var(--font-body);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--coral-600)}

.entry-content .wp-block-buttons,.wp-block-post-content .wp-block-buttons{margin:36px 0}
.entry-content .wp-block-button__link,.wp-block-post-content .wp-block-button__link{background:var(--coral-500)!important;color:#fff!important;border-radius:999px!important;font-family:var(--font-body);font-weight:600;font-size:15px;padding:14px 28px!important;box-shadow:0 4px 12px rgba(245,90,69,.18);transition:background .2s ease-out,box-shadow .2s ease-out;border:none}
.entry-content .wp-block-button__link:hover,.wp-block-post-content .wp-block-button__link:hover{background:var(--coral-600)!important;box-shadow:0 10px 26px rgba(245,90,69,.30)}
.entry-content .is-style-outline .wp-block-button__link,.wp-block-post-content .is-style-outline .wp-block-button__link{background:transparent!important;color:var(--coral-600)!important;border:1.5px solid var(--coral-500)!important;box-shadow:none}

:where(.entry-content) hr,:where(.wp-block-post-content) hr{border:0;height:1px;background:var(--ink-200);margin:48px 0}

.entry-content table,.wp-block-post-content table{border-collapse:collapse;width:100%;margin:32px 0;font-size:15px}
.entry-content table th,.wp-block-post-content table th{font-family:var(--font-display);font-weight:700;color:var(--ink-900);text-align:left;padding:12px 16px;border-bottom:2px solid var(--ink-900)}
.entry-content table td,.wp-block-post-content table td{padding:12px 16px;border-bottom:1px solid var(--ink-200);color:var(--ink-600)}

/* Post title + terms above the content, and the entry summary card on the blog index */
.wp-block-post-title{font-family:var(--font-display)!important;font-weight:800!important;letter-spacing:-.03em!important;color:var(--ink-1000)!important;max-width:820px;margin-left:auto;margin-right:auto}
single-post .wp-block-post-title,body.single .wp-block-post-title{text-align:left}
.is-style-post-terms-1{display:flex;gap:8px;flex-wrap:wrap;max-width:760px;margin:0 auto}
.is-style-post-terms-1 a{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:var(--coral-050);color:var(--coral-700)!important;font-family:var(--font-body);font-size:13px;font-weight:600;text-decoration:none!important}

body.blog .wp-block-query .wp-block-post-title,body.home .wp-block-query .wp-block-post-title{font-family:var(--font-display)!important;font-weight:800!important;letter-spacing:-.02em!important}

/* ================= Native cross-document page transitions ================= */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.32s;animation-timing-function:cubic-bezier(.22,.61,.36,1)}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}