/* CTBLOG — estilos complementarios para el sitio público.
   Cargar DESPUÉS de site.css y navigation.css.
   Conserva el diseño Dark Liquid Glass original. */
:root{--blog-ink:#edf4fc;--blog-muted:#bac9d9;--blog-line:rgba(180,205,232,.18)}
.ct-header .logo-image{height:54px;max-width:225px}
.ct-mobile-brand img{height:50px;max-width:200px}
.footer-logo{height:48px;max-width:205px}
.blog-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.blog-category-grid .service-card{min-height:205px}
.blog-category-grid .section-label{margin-bottom:18px}
.preview-notice{margin-top:32px;max-width:780px;padding:20px 24px;border:1px solid rgba(190,215,240,.2);border-radius:12px;background:rgba(13,25,39,.52);color:#c0cede;backdrop-filter:blur(16px);line-height:1.7}

/* Los contenedores de artículos deben poder reducirse sin romper la cuadrícula. */
.articles-grid,.blog-category-grid{min-width:0}
.articles-grid>* ,.blog-category-grid>* ,.article-card,.article-body{min-width:0;max-width:100%}
.article-card{width:100%;overflow:hidden}
.article-body h3,.article-body p{overflow-wrap:anywhere;word-break:normal}
.article-cover{max-width:100%}

/* Contenido enriquecido importado desde Blogger. No se altera el HTML almacenado. */
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content){
  display:flow-root;
  width:100%;min-width:0;max-width:100%;
  color:var(--blog-ink);font-size:clamp(15px,1.2vw,18px);line-height:1.85;
  overflow-wrap:anywhere;word-break:normal;
}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) :is(p,div,blockquote,ul,ol,pre,table,figure){max-width:100%}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) p{margin:0 0 1.3em;line-height:inherit}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) :is(h1,h2,h3,h4,h5,h6){line-height:1.25;margin:1.25em 0 .6em;overflow-wrap:break-word}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) h1{font-size:clamp(27px,3vw,42px)}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) h2{font-size:clamp(23px,2.5vw,34px)}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) :is(img,video,iframe,embed,object){max-width:100%;height:auto}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) img{display:block;width:auto;object-fit:contain;margin:1.5rem auto;border-radius:9px}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) :is(iframe,video){display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto;margin:1.5rem auto}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) :is(ul,ol){padding-left:1.5em;margin:0 0 1.4em}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) a{color:#83c3ff;text-decoration:underline;text-underline-offset:3px}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) blockquote{padding:1em 1.25em;border-left:3px solid #4da3ff;background:rgba(20,50,80,.22);margin:1.5em 0}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) pre{overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) table{display:block;overflow-x:auto;border-collapse:collapse;width:max-content;max-width:100%}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) :is(td,th){border:1px solid var(--blog-line);padding:.6em .8em}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) :is(.separator,.tr-caption-container){max-width:100%!important;float:none!important;clear:both}
:is(.post-content,.article-content,.entry-content,.blog-post-content,.post-body,.article-body-content) .separator img{max-width:100%!important;height:auto!important}

@media(max-width:850px){.ct-header .logo-image{height:44px;max-width:175px}.ct-mobile-brand img{height:44px;max-width:175px}}
@media(max-width:700px){.blog-category-grid{grid-template-columns:1fr}.footer-logo{height:43px}}


/* CTBlog: cabecera compacta y alineada con el contenido (portada y sitemap). */
.ct-header .ct-header-container{
  width:min(1180px,90%);max-width:1180px;min-height:64px;
  padding:8px 0;gap:18px;justify-content:space-between;
}
.ct-header.is-scrolled .ct-header-container{min-height:60px}
.ct-header .logo-link{margin:0;flex:0 0 auto}
.ct-header .logo-image{height:42px;max-width:155px}
.ct-header .ct-desktop-nav{margin-left:auto;gap:2px;flex-wrap:nowrap;min-width:0}
.ct-header .ct-desktop-nav .nav-item{font-size:10.5px;padding:0 9px;min-height:36px;letter-spacing:0;white-space:nowrap}
.ct-header .ct-dropdown-trigger{font-family:inherit;cursor:pointer}
@media(max-width:1120px){
  .ct-header .ct-header-container{width:94%;gap:9px}
  .ct-header .ct-desktop-nav .nav-item{font-size:10px;padding:0 6px}
  .ct-header .logo-image{height:38px;max-width:135px}
}
@media(max-width:850px){
  .ct-header .ct-header-container{width:90%;min-height:68px}
  .ct-header .logo-image{height:44px;max-width:175px}
}
