/*
Theme Name: El Sumiller Austero
Theme URI: https://elsumilleraustero.com/
Description: Tema editorial, natural y moderno para El Sumiller Austero.
Version: 1.0.0
Author: El Sumiller Austero
Author URI: https://elsumilleraustero.com/
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: el-sumillero-austero
*/

:root{
  --esa-cream:#f7f5ef;
  --esa-paper:#fffdf9;
  --esa-ink:#272923;
  --esa-olive:#59613f;
  --esa-earth:#8b6c48;
  --esa-line:#ddd9ce;
  --esa-muted:#706f68;
  --esa-max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--esa-paper);color:var(--esa-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
.esa-wrap{width:min(calc(100% - 40px),var(--esa-max));margin:auto}
.esa-site-header{background:rgba(255,253,249,.96);border-bottom:1px solid var(--esa-line);position:sticky;top:0;z-index:50}
.esa-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.esa-brand{font-family:Georgia,"Times New Roman",serif;font-size:24px;letter-spacing:.035em;text-decoration:none;white-space:nowrap}
.esa-nav ul{list-style:none;display:flex;gap:24px;margin:0;padding:0}
.esa-nav a{text-decoration:none;text-transform:uppercase;font-size:11px;letter-spacing:.1em;font-weight:700}
.esa-nav a:hover{color:var(--esa-olive)}
.esa-menu-toggle{display:none;border:0;background:none;font-size:24px}
.esa-hero{min-height:570px;background:linear-gradient(90deg,rgba(25,28,20,.62),rgba(25,28,20,.05)),url('assets/hero-placeholder.svg') center/cover;display:flex;align-items:flex-end}
.esa-hero-content{padding:70px 0;color:white;max-width:760px}
.esa-kicker{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;margin-bottom:15px}
.esa-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,6vw,72px);line-height:1.02;font-weight:400;margin:0 0 20px}
.esa-hero p{font-size:18px;max-width:620px;margin:0 0 28px}
.esa-btn{display:inline-block;padding:12px 20px;background:var(--esa-olive);color:white;text-decoration:none;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:700}
.esa-btn:hover{background:#444b30}
.esa-section{padding:76px 0}
.esa-section--soft{background:var(--esa-cream)}
.esa-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}
.esa-section h2{font-family:Georgia,"Times New Roman",serif;font-size:38px;line-height:1.15;font-weight:400;margin:0}
.esa-link{text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:700;text-decoration:none}
.esa-categories{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--esa-line);border-bottom:1px solid var(--esa-line)}
.esa-category{padding:34px 24px;border-right:1px solid var(--esa-line);text-decoration:none}
.esa-category:last-child{border-right:0}
.esa-category .esa-number{font-family:Georgia,serif;color:var(--esa-earth);font-size:14px}
.esa-category h3{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:14px 0 10px}
.esa-category p{font-size:14px;color:var(--esa-muted);margin:0}
.esa-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.esa-card{border:1px solid var(--esa-line);background:white}
.esa-card-image{aspect-ratio:16/10;background:#e7e3d8;overflow:hidden}
.esa-card-image img{width:100%;height:100%;object-fit:cover}
.esa-card-body{padding:20px}
.esa-card-cat{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--esa-olive);font-weight:700}
.esa-card h3{font-family:Georgia,serif;font-size:24px;line-height:1.2;font-weight:400;margin:10px 0}
.esa-card h3 a{text-decoration:none}
.esa-card p{font-size:14px;color:var(--esa-muted);margin:0}
.esa-date{font-size:11px;color:#8b897f;margin-top:15px}
.esa-about{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.esa-about h2{font-family:Georgia,serif;font-size:44px;line-height:1.08;font-weight:400;margin:0 0 20px}
.esa-about p{color:var(--esa-muted)}
.esa-cta{background:var(--esa-olive);color:white;text-align:center;padding:70px 20px}
.esa-cta h2{font-family:Georgia,serif;font-size:42px;line-height:1.1;font-weight:400;margin:0 0 14px}
.esa-cta p{max-width:650px;margin:0 auto 25px;color:#f0f0e9}
.esa-cta .esa-btn{background:white;color:var(--esa-ink)}
.esa-footer{background:#303326;color:#eee;padding:34px 0}
.esa-footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:center}
.esa-footer a{text-decoration:none}
.esa-footer-small{font-size:12px;color:#c8c8bf}
.esa-single{padding:70px 0}
.esa-single-header{max-width:820px;margin:0 auto 40px}
.esa-single-header h1{font-family:Georgia,serif;font-size:clamp(40px,6vw,64px);line-height:1.05;font-weight:400;margin:10px 0 18px}
.esa-content{max-width:820px;margin:auto;font-size:18px}
.esa-content h2,.esa-content h3{font-family:Georgia,serif;font-weight:400}
.esa-content blockquote{border-left:3px solid var(--esa-olive);margin:30px 0;padding:10px 25px;font-family:Georgia,serif;font-size:24px}
.esa-archive{padding:70px 0}
.esa-archive h1{font-family:Georgia,serif;font-size:52px;font-weight:400;margin:0 0 40px}
.esa-pagination{margin-top:40px}
.esa-pagination a{display:inline-block;padding:10px 16px;border:1px solid var(--esa-line);text-decoration:none;margin-right:8px}
@media(max-width:900px){
  .esa-nav ul{gap:13px}
  .esa-nav a{font-size:9px}
  .esa-categories{grid-template-columns:1fr 1fr}
  .esa-category:nth-child(2){border-right:0}
  .esa-category:nth-child(-n+2){border-bottom:1px solid var(--esa-line)}
  .esa-grid{grid-template-columns:1fr 1fr}
  .esa-about{grid-template-columns:1fr;gap:30px}
}
@media(max-width:680px){
  .esa-wrap{width:min(calc(100% - 28px),var(--esa-max))}
  .esa-header-inner{min-height:66px}
  .esa-brand{font-size:19px}
  .esa-menu-toggle{display:block}
  .esa-nav{display:none;position:absolute;top:66px;left:0;right:0;background:var(--esa-paper);border-bottom:1px solid var(--esa-line);padding:20px}
  .esa-nav.is-open{display:block}
  .esa-nav ul{display:block}
  .esa-nav li{margin:12px 0}
  .esa-hero{min-height:500px}
  .esa-hero-content{padding:50px 0}
  .esa-hero h1{font-size:46px}
  .esa-section{padding:55px 0}
  .esa-section h2{font-size:32px}
  .esa-section-head{display:block}
  .esa-section-head .esa-link{display:block;margin-top:10px}
  .esa-categories,.esa-grid{grid-template-columns:1fr}
  .esa-category{border-right:0;border-bottom:1px solid var(--esa-line)!important}
  .esa-category:last-child{border-bottom:0!important}
  .esa-about h2{font-size:38px}
  .esa-cta h2{font-size:36px}
  .esa-footer-inner{display:block}
  .esa-footer-inner > *{margin-bottom:10px}
}
