/*
Theme Name: Saludario Blog
Template: astra
Version: 1.1.2
*/

/* ===== Base ===== */
:root{--sal:#1A9AAA;--sal-dark:#12707C;--sal-soft:#E8F6F8;--ink:#1F2A2E;--muted:#5E6E72;--line:#E3ECEE;--radius:14px}
body{color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-text-size-adjust:100%}
h1,h2,h3,h4,.entry-title,.section-title{font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif!important;color:var(--ink);letter-spacing:-.01em}
img{max-width:100%;height:auto}
a{color:var(--sal)}
.ast-container{max-width:1140px}

/* ===== Hero ===== */
.blog-hero{max-width:1100px;margin:0 auto;padding:36px 20px 24px;text-align:left}
.blog-hero-tag{display:inline-block;background:var(--sal-soft);color:var(--sal-dark);font-size:.75rem;font-weight:600;padding:5px 12px;border-radius:20px;margin-bottom:14px}
.blog-hero h1{font-size:clamp(1.65rem,5.5vw,2.6rem)!important;line-height:1.2!important;margin:0 0 12px!important;font-weight:700}
.blog-hero p{font-size:1rem;color:var(--muted);max-width:640px;margin:0 0 18px;line-height:1.6}
.blog-hero-btn{display:inline-block;background:var(--sal);color:#fff!important;padding:12px 22px;border-radius:10px;font-weight:600;text-decoration:none!important;font-size:.95rem}
.blog-hero-btn:hover{background:var(--sal-dark)}

/* ===== Chips de categorías ===== */
.cat-chips{max-width:1100px;margin:0 auto;padding:0 20px 8px;display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.cat-chips::-webkit-scrollbar{display:none}
.cat-chips a{flex:0 0 auto;border:1px solid var(--line);background:#fff;color:var(--ink);padding:8px 14px;border-radius:20px;font-size:.85rem;font-weight:500;text-decoration:none;white-space:nowrap}
.cat-chips a.is-active,.cat-chips a:hover{background:var(--sal);border-color:var(--sal);color:#fff}

/* ===== Listado ===== */
.blog-articles-section{max-width:1100px;margin:0 auto;padding:20px 20px 40px}
.section-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--sal);margin:0 0 4px}
.section-title{font-size:clamp(1.35rem,4vw,1.8rem)!important;margin:0 0 20px!important;line-height:1.25!important}
.posts-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:640px){.posts-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.posts-grid{grid-template-columns:repeat(3,1fr);gap:24px}}

.featured-post{grid-column:1/-1;display:grid;grid-template-columns:1fr;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
@media(min-width:800px){.featured-post{grid-template-columns:1.1fr 1fr}}
.featured-post .post-card-img,.featured-post .post-card-img-placeholder{aspect-ratio:16/9;height:100%}
.featured-post-body{padding:20px}
@media(min-width:800px){.featured-post-body{padding:32px;display:flex;flex-direction:column;justify-content:center}}
.featured-tag,.post-card-cat{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--sal-dark);background:var(--sal-soft);padding:4px 10px;border-radius:6px;margin-bottom:10px;text-decoration:none}
.featured-post h2{font-size:clamp(1.25rem,4.2vw,1.75rem)!important;line-height:1.3!important;margin:0 0 10px!important}
.featured-post h2 a,.post-card-title a{text-decoration:none}
.featured-post p{color:var(--muted);font-size:.95rem;line-height:1.6;margin:0 0 14px}
.featured-read-btn{align-self:flex-start;display:inline-block;background:var(--sal);color:#fff!important;padding:11px 20px;border-radius:10px;font-weight:600;font-size:.9rem;text-decoration:none!important}

.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.post-card:hover{box-shadow:0 8px 24px rgba(18,112,124,.10);transform:translateY(-2px)}
.post-card-img{display:block;width:100%;aspect-ratio:2/1;object-fit:cover;background:var(--sal-soft)}
.post-card-img-placeholder{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:2/1;background:linear-gradient(135deg,var(--sal-soft),#d3eef1);font-size:2.4rem}
.post-card-body{padding:16px 16px 18px;display:flex;flex-direction:column;flex:1}
.post-card-title{font-size:1.08rem!important;line-height:1.35!important;margin:0 0 8px!important;font-weight:700}
.post-card-excerpt{color:var(--muted);font-size:.9rem;line-height:1.55;margin:0 0 12px}
.post-card-meta{margin-top:auto;display:flex;align-items:center;gap:12px;font-size:.78rem;color:var(--muted)}
.post-card-readmore{margin-left:auto;font-weight:600;text-decoration:none}
.post-meta-line{display:flex;flex-wrap:wrap;gap:14px;font-size:.8rem;color:var(--muted);margin-bottom:16px}

/* Paginación */
.navigation.pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.navigation.pagination .page-numbers{padding:8px 14px;border:1px solid var(--line);border-radius:8px;text-decoration:none}
.navigation.pagination .current{background:var(--sal);color:#fff;border-color:var(--sal)}

/* ===== CTA tienda ===== */
.store-cta-box{background:linear-gradient(135deg,#12707C,#1A9AAA);color:#fff;border-radius:var(--radius);padding:24px 20px;margin:32px 0;text-align:left}
.store-cta-box h3{color:#fff!important;font-size:1.2rem!important;margin:0 0 6px!important}
.store-cta-box p{color:rgba(255,255,255,.9);margin:0 0 16px;font-size:.95rem}
.store-cta-btn{display:inline-block;background:#fff;color:var(--sal-dark)!important;padding:11px 20px;border-radius:10px;font-weight:700;text-decoration:none!important;font-size:.92rem}
.store-cta-btns{display:flex;flex-wrap:wrap;gap:10px}
.store-cta-btn.wa{background:#25D366;color:#fff!important}
.store-cta-wrap{max-width:1100px;margin:0 auto;padding:0 20px 48px}

/* ===== Artículo ===== */
.single .site-content>.ast-container{display:block;padding:0}
.sal-breadcrumbs{font-size:.8rem;color:var(--muted);margin:0 0 12px}
.sal-breadcrumbs a{color:var(--muted);text-decoration:none}
.entry-header.sal-head{max-width:760px;margin:0 auto;padding:28px 20px 8px}
.entry-category{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--sal-dark);background:var(--sal-soft);padding:4px 10px;border-radius:6px;margin-bottom:12px;text-decoration:none}
.sal-head .entry-title{font-size:clamp(1.55rem,6vw,2.4rem)!important;line-height:1.22!important;margin:0 0 12px!important;font-weight:800}
.entry-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.82rem;color:var(--muted);margin-bottom:18px}
.sal-featured{max-width:860px;margin:0 auto;padding:0 20px 20px}
.sal-featured img{width:100%;border-radius:12px;aspect-ratio:16/9;object-fit:cover}
.single .entry-content.sal-content{max-width:760px;margin:0 auto;padding:0 20px;font-size:1.06rem;line-height:1.75}
.sal-content p,.sal-content li{font-size:1.06rem;line-height:1.75}
.sal-content h2{font-size:clamp(1.3rem,4.6vw,1.6rem)!important;line-height:1.3!important;margin:34px 0 12px!important;font-weight:700}
.sal-content h3{font-size:clamp(1.12rem,4vw,1.3rem)!important;line-height:1.35!important;margin:26px 0 10px!important}
.sal-content ul,.sal-content ol{margin:0 0 18px 1.2em}
.sal-content li{margin-bottom:6px}
.sal-content img{border-radius:10px}
.sal-content a{text-decoration:underline;text-underline-offset:2px}
.sal-content table{display:block;overflow-x:auto;width:100%}
.sal-share{max-width:760px;margin:8px auto 0;padding:20px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sal-share span{font-size:.85rem;color:var(--muted);font-weight:600}
.sal-share a{display:inline-block;padding:8px 16px;border-radius:20px;font-size:.85rem;font-weight:600;border:1px solid var(--line);text-decoration:none}
.sal-related{max-width:1100px;margin:32px auto 0;padding:0 20px 56px}

/* ===== Header / móvil ===== */
.site-header{background:#fff}
.ast-mobile-header-wrap .ast-builder-menu-mobile .main-navigation .menu-item>.menu-link{padding:14px 20px}
@media(max-width:544px){.ast-separate-container .ast-article-post,.ast-separate-container .ast-article-single{padding:0}.site-content .ast-container{padding-left:0;padding-right:0}}
@media(max-width:921px){button,a.blog-hero-btn,a.featured-read-btn,a.store-cta-btn{min-height:44px;display:inline-flex;align-items:center}}

/* header-fix */
.ast-primary-header-bar,.main-header-bar,.ast-mobile-header-wrap .ast-primary-header-bar{background:transparent!important;border:0!important}
.site-branding .custom-logo,.ast-mobile-header-wrap .custom-logo{height:44px!important;width:auto!important}
#ast-mobile-header .menu-toggle{display:none!important}
.blog-hero h1,.sal-head .entry-title{font-weight:600}

/* layout-fix */
#content>.ast-container{display:block!important;max-width:100%!important;padding-left:0!important;padding-right:0!important}
#content{padding-top:0}
@media(min-width:922px){#fab-menu-wrap{display:none!important}}
@media(min-width:922px){.main-header-menu .menu-item>a{padding:6px 10px!important;font-size:.86rem!important}}
@media(min-width:1000px){.blog-hero{padding-top:48px}}
