:root{--cch-color-primary:#0f2742;--cch-color-secondary:#0969da;--cch-color-accent:#0f8f8a;--cch-color-background:#f6f8fb;--cch-color-surface:#fff;--cch-color-text:#172033;--cch-color-muted:#667085;--cch-color-border:#dfe5ec;--cch-border-radius:12px;--cch-content-width:1200px;--cch-shadow:0 8px 26px rgba(15,39,66,.08)}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cch-color-background);color:var(--cch-color-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:var(--cch-color-secondary);text-underline-offset:.18em}a:hover{color:var(--cch-color-primary)}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--cch-color-accent);outline-offset:3px}.cch-shell{width:min(calc(100% - 2rem),var(--cch-content-width));margin-inline:auto}.cch-narrow{max-width:840px}.cch-skip-link{position:fixed;left:1rem;top:-5rem;z-index:9999;background:#fff;padding:.75rem 1rem}.cch-skip-link:focus{top:1rem}.cch-header{position:sticky;top:0;z-index:100;background:var(--cch-color-primary);color:#fff;border-bottom:3px solid var(--cch-color-accent)}.cch-header__inner{min-height:72px;display:flex;align-items:center;gap:1.5rem}.cch-brand{display:flex;align-items:center;gap:.55rem;color:#fff;text-decoration:none;white-space:nowrap;font-size:1.15rem}.cch-brand span{color:#39d0ca;font-family:monospace;font-weight:800}.cch-nav{margin-left:auto}.cch-nav ul{display:flex;align-items:center;gap:.25rem;list-style:none;margin:0;padding:0}.cch-nav a{display:block;color:#fff;text-decoration:none;padding:.65rem .75rem;border-radius:8px}.cch-nav a:hover,.cch-nav .current-menu-item>a{background:rgba(255,255,255,.12);color:#fff}.cch-menu-toggle{display:none;border:1px solid rgba(255,255,255,.5);background:transparent;color:#fff;border-radius:8px;padding:.55rem .8rem}.cch-search-link{color:#fff;font-size:1.6rem;text-decoration:none}.cch-main{padding:clamp(2rem,5vw,4rem) 0}.cch-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);align-items:center;gap:clamp(2rem,6vw,5rem);padding:clamp(2rem,6vw,4.5rem);background:linear-gradient(135deg,#fff 65%,#e8f5f5);border:1px solid var(--cch-color-border);border-radius:18px;box-shadow:var(--cch-shadow);margin-bottom:3rem}.cch-eyebrow{color:var(--cch-color-accent);font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.cch-hero h1,.cch-page-header h1,.cch-single-header h1{color:var(--cch-color-primary);font-size:clamp(2rem,5vw,3.75rem);line-height:1.08;margin:.35rem 0 1rem}.cch-hero>div>p:not(.cch-eyebrow){font-size:1.15rem;max-width:670px}.cch-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-top:1.5rem}.cch-button,.wp-block-button__link{display:inline-flex;padding:.78rem 1.15rem;border:2px solid var(--cch-color-secondary);border-radius:9px;background:var(--cch-color-secondary);color:#fff;text-decoration:none;font-weight:700}.cch-button:hover{background:#0759bb;color:#fff}.cch-button--secondary{background:transparent;color:var(--cch-color-secondary)}.cch-terminal{background:var(--cch-color-primary);color:#d8fafa;padding:1.5rem;border-radius:12px;box-shadow:16px 16px 0 #d9eded;font:1rem/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}.cch-terminal span{display:block;color:#5de0db}.cch-terminal i{animation:cch-blink 1.1s step-end infinite}.cch-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:2rem;align-items:start}.cch-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}.cch-section-heading h2{font-size:1.75rem;color:var(--cch-color-primary)}.cch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem}.cch-card{overflow:hidden;background:#fff;border:1px solid var(--cch-color-border);border-radius:var(--cch-border-radius);box-shadow:0 4px 16px rgba(15,39,66,.055);transition:transform .2s ease,box-shadow .2s ease}.cch-card:hover{transform:translateY(-3px);box-shadow:var(--cch-shadow)}.cch-card__media{display:block;background:#e9eef4;aspect-ratio:16/9}.cch-card__media:empty:before{content:"</>";display:grid;place-items:center;height:100%;color:#90a1b4;font:700 2rem monospace}.cch-card__media img{width:100%;height:100%;object-fit:cover}.cch-card__body{padding:1.25rem}.cch-card__meta,.cch-card__meta a{color:var(--cch-color-accent);font-size:.82rem;font-weight:700;text-transform:uppercase;text-decoration:none}.cch-card__title{font-size:1.25rem;line-height:1.3;margin:.45rem 0}.cch-card__title a{color:var(--cch-color-primary);text-decoration:none}.cch-card__body p{color:var(--cch-color-muted)}.cch-card__footer,.cch-single-meta{display:flex;flex-wrap:wrap;gap:.9rem;color:var(--cch-color-muted);font-size:.86rem}.cch-sidebar{display:grid;gap:1.25rem}.cch-widget{background:#fff;border:1px solid var(--cch-color-border);border-radius:var(--cch-border-radius);padding:1.25rem}.cch-widget h2{font-size:1.1rem;color:var(--cch-color-primary);margin:0 0 .8rem}.cch-widget ul{list-style:none;margin:0;padding:0}.cch-widget li+li{border-top:1px solid var(--cch-color-border)}.cch-widget li a{display:inline-block;padding:.45rem 0}.cch-widget--accent{border-top:4px solid var(--cch-color-accent)}.cch-widget--accent>a{display:block;margin:.4rem 0}.search-form{display:flex}.search-form label{flex:1}.search-field{width:100%;min-height:44px;border:1px solid var(--cch-color-border);padding:.6rem;border-radius:8px 0 0 8px}.search-submit{border:0;background:var(--cch-color-secondary);color:#fff;padding:.6rem .9rem;border-radius:0 8px 8px 0}.cch-tags{display:flex;gap:.5rem;flex-wrap:wrap}.cch-tags a{background:#eaf2fc;padding:.2rem .55rem;border-radius:999px;text-decoration:none;font-size:.85rem}.cch-home-sections{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin:3rem 0}.cch-home-sections>div,.cch-about-strip,.cch-pattern-card,.cch-notice,.cch-author-box{background:#fff;border:1px solid var(--cch-color-border);border-radius:var(--cch-border-radius);padding:1.5rem}.cch-home-sections h2{font-size:1.25rem;color:var(--cch-color-primary)}.cch-about-strip{display:flex;align-items:center;justify-content:space-between;gap:2rem;border-left:5px solid var(--cch-color-accent)}.cch-page-header{margin-bottom:2rem}.cch-page-header h1{font-size:clamp(2rem,4vw,3rem)}.cch-breadcrumbs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem;color:var(--cch-color-muted);font-size:.9rem}.cch-entry{background:#fff;border:1px solid var(--cch-color-border);border-radius:var(--cch-border-radius);padding:clamp(1.25rem,5vw,3.5rem)}.cch-featured-image{width:100%;height:auto;margin:2rem 0;border-radius:var(--cch-border-radius)}.cch-prose{font-size:1.08rem}.cch-prose h2,.cch-prose h3{color:var(--cch-color-primary);scroll-margin-top:95px}.cch-prose pre,.wp-block-code{overflow:auto;background:#0c1d31;color:#e8f5f5;border-radius:10px;padding:1.2rem}.cch-notice--info{border-left:5px solid var(--cch-color-secondary)}.cch-notice--warning{border-left:5px solid #c77800;background:#fffaf0}.cch-author-box{margin-top:2rem;background:#f6f8fb}.cch-footer{margin-top:3rem;background:#091c30;color:#dfe9f5;padding:3rem 0 1.5rem}.cch-footer a{color:#8ce3df}.cch-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}.cch-footer ul{list-style:none;margin:0;padding:0}.cch-footer__bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:2rem;padding-top:1rem;font-size:.85rem}.cch-404{text-align:center;min-height:50vh}.nav-links{display:flex;gap:.5rem;flex-wrap:wrap;margin:2rem 0}.page-numbers{padding:.45rem .75rem;border:1px solid var(--cch-color-border);border-radius:7px;background:#fff}.page-numbers.current{background:var(--cch-color-primary);color:#fff}@keyframes cch-blink{50%{opacity:0}}
@media(max-width:900px){.cch-layout{grid-template-columns:1fr}.cch-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.cch-home-sections{grid-template-columns:1fr 1fr}.cch-menu-toggle{display:block;margin-left:auto}.cch-nav{display:none;position:absolute;left:0;right:0;top:72px;background:var(--cch-color-primary);padding:1rem}.cch-nav.is-open{display:block}.cch-nav ul{align-items:stretch;flex-direction:column}.cch-search-link{display:none}.cch-hero{grid-template-columns:1fr}.cch-terminal{max-width:520px}}
@media(max-width:620px){.cch-shell{width:min(calc(100% - 1.25rem),var(--cch-content-width))}.cch-main{padding:1.5rem 0}.cch-header__inner{min-height:62px}.cch-nav{top:62px}.cch-hero{padding:1.4rem}.cch-grid,.cch-sidebar,.cch-home-sections,.cch-footer__grid{grid-template-columns:1fr}.cch-terminal{box-shadow:8px 8px 0 #d9eded}.cch-about-strip{align-items:flex-start;flex-direction:column}.cch-entry{padding:1.15rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cch-card{transition:none}.cch-terminal i{animation:none}}
@media print{.cch-header,.cch-sidebar,.cch-footer,.cch-actions{display:none}.cch-main{padding:0}.cch-entry{border:0;box-shadow:none}.cch-layout{display:block}}
.cch-alphabet{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1.5rem}.cch-alphabet a{display:grid;place-items:center;width:2rem;height:2rem;border:1px solid var(--cch-color-border);border-radius:6px;background:#fff;text-decoration:none;font-weight:700}.cch-term-definition{font-size:1.25rem;color:var(--cch-color-muted);border-left:4px solid var(--cch-color-accent);padding-left:1rem}

/* Buscador único y desplegable de cabecera. */
.cch-search-form{display:flex;width:100%;margin:0}.cch-search-form__field{min-width:0;width:100%;height:44px;border:1px solid var(--cch-color-border);border-radius:8px 0 0 8px;background:#fff;padding:.55rem .75rem;color:var(--cch-color-text)}.cch-search-form__submit{display:grid;flex:0 0 46px;place-items:center;height:44px;border:0;border-radius:0 8px 8px 0;background:var(--cch-color-secondary);color:#fff;cursor:pointer}.cch-search-form__submit:hover{background:#0759bb}.cch-header-search{position:relative;display:flex;align-items:center}.cch-header-search__toggle{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#fff;cursor:pointer}.cch-header-search__toggle:hover,.cch-header-search:focus-within .cch-header-search__toggle{background:rgba(255,255,255,.12)}.cch-header-search__panel{position:absolute;right:0;top:calc(100% + 12px);width:min(340px,calc(100vw - 2rem));padding:.65rem;border:1px solid var(--cch-color-border);border-radius:10px;background:#fff;box-shadow:var(--cch-shadow);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s ease,transform .16s ease,visibility .16s}.cch-header-search:hover .cch-header-search__panel,.cch-header-search:focus-within .cch-header-search__panel,.cch-header-search.is-open .cch-header-search__panel{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:900px){.cch-header-search__panel{position:fixed;top:70px;right:1rem;left:1rem;width:auto}.cch-header-search{margin-left:0}}
@media(max-width:620px){.cch-header-search__panel{top:60px}}

/* WPForms conserva validación, mensajes y antispam; el tema solo aporta presentación. */
.wpforms-container .wpforms-form .wpforms-field{padding-block:.65rem}.wpforms-container .wpforms-form label.wpforms-field-label{margin-bottom:.35rem;color:var(--cch-color-primary);font-weight:700}.wpforms-container .wpforms-form input[type=text],.wpforms-container .wpforms-form input[type=email],.wpforms-container .wpforms-form input[type=url],.wpforms-container .wpforms-form input[type=tel],.wpforms-container .wpforms-form input[type=number],.wpforms-container .wpforms-form select,.wpforms-container .wpforms-form textarea{width:100%;max-width:100%;border:1px solid var(--cch-color-border);border-radius:8px;background:#fff;color:var(--cch-color-text);padding:.7rem .8rem}.wpforms-container .wpforms-form input:focus,.wpforms-container .wpforms-form select:focus,.wpforms-container .wpforms-form textarea:focus{border-color:var(--cch-color-secondary);outline:3px solid color-mix(in srgb,var(--cch-color-secondary) 25%,transparent);outline-offset:1px}.wpforms-container .wpforms-form button[type=submit]{min-height:44px;border:2px solid var(--cch-color-secondary);border-radius:8px;background:var(--cch-color-secondary);color:#fff;padding:.7rem 1.1rem;font-weight:700}.wpforms-container .wpforms-error,.wpforms-container label.wpforms-error{color:#a12622}.wpforms-container .wpforms-confirmation-container-full{border-color:var(--cch-color-accent);border-radius:8px;background:#ecfafa}

/* El plugin de código decide colores, líneas y wrap; no cargamos otro resaltador. */
.cch-has-syntax-code-block .cch-prose pre.wp-block-code{padding:0;background:initial;color:inherit}
