/*
Theme Name: Sabor &amp; Hogar
Text Domain: sabor-hogar
Description: Tema editorial ligero y profesional para recetas, cocina práctica y remedios caseros.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/
:root{
  --bg:#fbfaf5;--surface:#ffffff;--ink:#24332b;--muted:#67736b;--line:#e6e1d7;
  --green:#2f6d4f;--green-dark:#214d3a;--green-soft:#eaf3ed;--orange:#e7834d;
  --cream:#f4eee1;--yellow:#f2c96d;--radius:22px;--shadow:0 18px 50px rgba(42,56,47,.09);
  --serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;
  --sans:Aptos,"Segoe UI",Tahoma,sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.7}
a{color:var(--green-dark);text-decoration-thickness:1px;text-underline-offset:3px}img{max-width:100%;height:auto}
.site-shell{width:min(1180px,calc(100% - 36px));margin:auto}.site-header{position:sticky;top:0;z-index:30;background:rgba(251,250,245,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(230,225,215,.8)}
.header-inner{min-height:78px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-family:var(--serif);font-weight:800;font-size:1.35rem;white-space:nowrap}.brand-mark{width:38px;height:38px;border-radius:13px;background:var(--green);display:grid;place-items:center;color:#fff;font-size:20px;box-shadow:0 8px 18px rgba(47,109,79,.22)}
.primary-nav{margin-left:auto}.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:22px}.primary-nav a{text-decoration:none;color:#405047;font-size:.92rem;font-weight:700}.primary-nav a:hover{color:var(--green)}
.header-search{display:flex;align-items:center}.header-search input{width:155px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font:inherit;font-size:.88rem}.header-search button{display:none}
.hero{padding:70px 0 52px}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:54px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--green);background:var(--green-soft);border-radius:999px;padding:7px 12px;font-size:.78rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.hero h1,.section-title,.entry-title,.page-title,.archive-title{font-family:var(--serif);letter-spacing:-.035em;line-height:1.06}.hero h1{font-size:clamp(3rem,6vw,5.3rem);margin:18px 0 20px;max-width:800px}.hero h1 em{font-weight:500;color:var(--orange)}.hero-copy{font-size:1.14rem;color:var(--muted);max-width:700px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border-radius:999px;text-decoration:none;font-weight:800;border:1px solid transparent}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:var(--green-dark)}.btn-secondary{background:#fff;border-color:var(--line);color:var(--ink)}
.hero-board{background:linear-gradient(145deg,#fff 0%,#f4eee2 100%);padding:22px;border-radius:34px;box-shadow:var(--shadow);transform:rotate(1deg);border:1px solid #eee6d7}.hero-board-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.hero-board strong{font-family:var(--serif);font-size:1.25rem}.mini-badge{font-size:.72rem;font-weight:800;color:#8b4b29;background:#fde7d9;padding:5px 9px;border-radius:999px}.hero-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hero-card{background:#fff;border-radius:20px;padding:18px;min-height:132px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid rgba(230,225,215,.9)}.hero-card:nth-child(2){background:#eaf3ed}.hero-card:nth-child(3){background:#fff4dc}.hero-card:nth-child(4){background:#f9e8df}.hero-icon{font-size:28px}.hero-card span{font-weight:800;font-size:.9rem}
.section{padding:62px 0}.section-soft{background:#f3efe6}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.section-title{font-size:clamp(2rem,4vw,3.25rem);margin:0}.section-kicker{margin:0 0 8px;color:var(--green);text-transform:uppercase;letter-spacing:.09em;font-size:.78rem;font-weight:850}.section-copy{max-width:610px;color:var(--muted);margin:0}.text-link{font-weight:800;white-space:nowrap}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{display:flex;min-height:180px;flex-direction:column;justify-content:space-between;padding:22px;border-radius:24px;text-decoration:none;border:1px solid var(--line);background:#fff;transition:.2s transform,.2s box-shadow}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.category-card:nth-child(2n){background:#f7f0e2}.category-card:nth-child(3n){background:#eaf3ed}.category-card .cat-icon{font-size:31px}.category-card h3{font-family:var(--serif);font-size:1.35rem;margin:20px 0 4px;color:var(--ink)}.category-card p{font-size:.9rem;color:var(--muted);margin:0}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.post-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.post-card-media{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#eaf3ed,#f6e4d7);overflow:hidden;text-decoration:none}.post-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.post-card:hover .post-card-media img{transform:scale(1.035)}.post-card-fallback{height:100%;display:grid;place-items:center;font-size:46px}.post-card-body{padding:20px}.post-meta{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:var(--green)}.post-card h3{font-family:var(--serif);font-size:1.55rem;line-height:1.15;margin:8px 0 10px}.post-card h3 a{text-decoration:none;color:var(--ink)}.post-card p{color:var(--muted);font-size:.94rem;margin:0}
.trust-box{display:grid;grid-template-columns:.9fr 1.1fr;gap:38px;align-items:center;background:var(--green-dark);color:#fff;border-radius:32px;padding:38px}.trust-box h2{font-family:var(--serif);font-size:2.6rem;line-height:1.08;margin:0}.trust-box p{color:#d9e7df;margin:0}.trust-points{display:grid;gap:12px}.trust-point{background:rgba(255,255,255,.09);padding:14px 16px;border-radius:16px;font-size:.94rem}
.entry-wrap,.page-wrap,.archive-wrap{width:min(840px,calc(100% - 36px));margin:auto}.entry-header{padding:62px 0 28px}.entry-category{font-size:.78rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:var(--green)}.entry-title{font-size:clamp(2.7rem,6vw,4.8rem);margin:12px 0 18px}.entry-deck{font-size:1.15rem;color:var(--muted);max-width:720px}.entry-info{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:.84rem;margin-top:20px}.entry-image{margin:0 auto 34px;width:min(1040px,calc(100% - 36px));border-radius:30px;overflow:hidden;box-shadow:var(--shadow)}.entry-image img{width:100%;display:block;max-height:620px;object-fit:cover}
.prose{font-size:1.04rem}.prose p{margin:0 0 1.3em}.prose h2,.prose h3{font-family:var(--serif);line-height:1.2;margin-top:1.7em}.prose h2{font-size:2rem}.prose h3{font-size:1.45rem}.prose ul,.prose ol{padding-left:1.35em}.prose blockquote{margin:2em 0;padding:18px 22px;background:var(--cream);border-left:4px solid var(--orange);border-radius:0 18px 18px 0}.prose table{width:100%;border-collapse:collapse}.prose th,.prose td{padding:12px;border:1px solid var(--line);text-align:left}.prose a{font-weight:700}
.article-note{margin:34px 0;padding:20px 22px;background:#fff8e8;border:1px solid #f1ddb1;border-radius:18px;font-size:.93rem;color:#5c5141}.related{border-top:1px solid var(--line);margin-top:54px;padding:42px 0 0}.related h2{font-family:var(--serif);font-size:2rem}
.page-header,.archive-header{padding:58px 0 28px}.page-title,.archive-title{font-size:clamp(2.5rem,5vw,4.2rem);margin:0}.page-wrap article{background:#fff;border:1px solid var(--line);border-radius:26px;padding:34px;margin-bottom:60px}.archive-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-bottom:60px}
.pagination{margin:28px 0 60px;display:flex;justify-content:center}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:10px;text-decoration:none}.page-numbers.current{background:var(--green);color:#fff}
.site-footer{margin-top:64px;background:#203128;color:#dfe8e2}.footer-grid{display:grid;grid-template-columns:1.25fr .75fr .75fr;gap:36px;padding:52px 0 30px}.footer-brand{font-family:var(--serif);font-size:1.5rem;color:#fff}.footer-copy{font-size:.9rem;color:#b9c9bf;max-width:470px}.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:7px}.footer-links a{color:#dfe8e2;text-decoration:none;font-size:.9rem}.footer-title{font-size:.78rem;text-transform:uppercase;letter-spacing:.09em;font-weight:850;color:#9fb6a8;margin-bottom:12px}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0 26px;font-size:.8rem;color:#a9bcb0}
.search-page{padding:56px 0}.search-form{display:flex;gap:8px}.search-form label{flex:1}.search-field{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:12px;font:inherit}.search-submit{border:0;border-radius:12px;background:var(--green);color:#fff;padding:0 18px;font-weight:800}
.empty-state{text-align:center;padding:90px 0}.empty-state h1{font-family:var(--serif);font-size:3rem}.empty-state p{color:var(--muted)}
@media(max-width:900px){.hero-grid,.trust-box{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.post-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.header-search{display:none}}
@media(max-width:720px){body{font-size:16px}.site-shell{width:min(100% - 26px,1180px)}.header-inner{min-height:70px}.primary-nav{overflow-x:auto}.primary-nav ul{gap:14px}.primary-nav a{font-size:.82rem}.hero{padding:44px 0 30px}.hero-grid{gap:30px}.hero h1{font-size:3rem}.hero-board{transform:none}.section{padding:44px 0}.section-head{align-items:flex-start;flex-direction:column}.category-grid,.post-grid,.archive-grid{grid-template-columns:1fr}.trust-box{padding:26px}.trust-box h2{font-size:2rem}.footer-grid{grid-template-columns:1fr}.page-wrap article{padding:24px}.entry-header{padding-top:42px}}
