/*
Theme Name: Electric Grill USA Broadsheet
Theme URI: https://electricgrillusa.com/
Description: Bespoke rugged-Americana broadsheet theme for Electric Grill USA — slab serif masthead, newspaper rules, image-top story cards. Hand-tuned, no framework.
Author: Electric Grill USA
Version: 1.0
License: GNU GPL v2 or later
Text Domain: egu
*/

/* ===== Palette: warm dark + charcoal, bold red #c2255c ===== */
:root{
  --ink:#1c1714;          /* near-black warm */
  --char:#2b2420;         /* charcoal surface */
  --paper:#f4efe6;        /* warm newsprint */
  --paper-2:#ece4d6;      /* slightly deeper newsprint */
  --rule:#1c1714;         /* heavy rules */
  --hair:#cdbfa9;         /* hairline on paper */
  --red:#c2255c;          /* signature accent */
  --red-dk:#9d1f4b;
  --muted:#6b5d4d;        /* warm grey-brown text */
  --gold:#b07a2b;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:400 1.02rem/1.65 "Source Sans 3",-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background-image:linear-gradient(180deg,#f7f2ea,var(--paper) 120px);
}
img{max-width:100%;height:auto;display:block}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-dk);text-decoration:underline}

h1,h2,h3,h4,.egu-flag,.egu-related-title{
  font-family:"Bitter",Georgia,"Times New Roman",serif;
  color:var(--ink);
  letter-spacing:-.01em;
}

/* ===== Masthead ===== */
.egu-masthead{
  background:var(--paper);
  border-bottom:6px double var(--rule);
  padding:0;
}
.egu-dateline{
  max-width:1140px;margin:0 auto;padding:7px 20px;
  display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
  font-family:"Source Sans 3",sans-serif;
  font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.13em;
  color:var(--muted);
  border-bottom:1px solid var(--hair);
}
.egu-dateline .egu-edition{color:var(--red)}
.egu-banner{
  max-width:1140px;margin:0 auto;padding:18px 20px 10px;text-align:center;
}
.egu-flag{
  display:inline-block;
  font-weight:800;
  font-size:clamp(2.2rem,7vw,4.6rem);
  line-height:1;
  text-transform:uppercase;
  letter-spacing:-.02em;
  color:var(--ink);
}
.egu-flag:hover{color:var(--ink);text-decoration:none}
.egu-motto{
  margin:.5em 0 0;
  font-family:"Bitter",serif;font-style:italic;
  font-size:.98rem;color:var(--muted);
  letter-spacing:.01em;
}
.egu-nav{
  border-top:2px solid var(--rule);
  max-width:1140px;margin:8px auto 0;padding:0 20px;
}
.egu-menu{
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:wrap;justify-content:center;gap:0;
}
.egu-menu li{position:relative}
.egu-menu li+li::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);height:14px;width:1px;background:var(--hair)}
.egu-menu a{
  display:block;padding:11px 20px;
  font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;
  color:var(--ink);
}
.egu-menu a:hover{color:var(--red);text-decoration:none}
.egu-menu .current-menu-item a{color:var(--red)}

/* ===== Layout ===== */
.egu-main{max-width:1140px;margin:0 auto;padding:0 20px}
.egu-wrap{padding:28px 0 12px}

/* ===== Lede / section heads ===== */
.egu-lede,.egu-archhead{
  border-bottom:3px solid var(--rule);
  padding-bottom:18px;margin-bottom:26px;
}
.egu-kicker{
  display:inline-block;
  background:var(--red);color:#fff;
  font-family:"Source Sans 3",sans-serif;
  font-weight:700;font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;
  padding:4px 11px;margin-bottom:12px;
}
.egu-lede h1,.egu-archhead h1{
  margin:0;font-size:clamp(2rem,5vw,3.4rem);font-weight:800;line-height:1.02;
}
.egu-standfirst{
  margin:.7em 0 0;max-width:60ch;
  font-family:"Bitter",serif;font-size:1.12rem;color:var(--muted);line-height:1.5;
}

/* ===== Story board (broadsheet multi-column) ===== */
.egu-board{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-top:1px solid var(--hair);
}
.egu-story{
  border-bottom:1px solid var(--hair);
  border-right:1px solid var(--hair);
  padding:20px 22px 24px;
  background:transparent;
}
.egu-story:nth-child(3n){border-right:none}
.egu-story a{color:inherit;display:block}
.egu-story a:hover{text-decoration:none}
.egu-cut{
  height:170px;background:var(--char);background-size:cover;background-position:center;
  border:1px solid var(--rule);
  filter:grayscale(.15) contrast(1.03);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
}
.egu-cut span{
  color:#e9dcc8;font-family:"Bitter",serif;font-weight:700;
  text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;text-align:center;padding:0 12px;
}
.egu-section{
  display:block;color:var(--red);font-weight:700;
  font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;margin-bottom:6px;
}
.egu-story h3{
  margin:0 0 .35em;font-size:1.28rem;line-height:1.15;font-weight:700;
}
.egu-story a:hover h3{color:var(--red)}
.egu-dek{
  margin:0;color:var(--muted);font-size:.96rem;line-height:1.55;
}

/* Lead story spans 2 columns, larger */
.egu-story.egu-lead{grid-column:span 2}
.egu-story.egu-lead .egu-cut{height:320px}
.egu-story.egu-lead h3{font-size:1.9rem}
.egu-story.egu-lead .egu-dek{font-size:1.06rem}

.egu-pager{margin:26px 0;font-weight:700}
.egu-pager .page-numbers{padding:6px 12px;border:1px solid var(--rule);margin-right:4px;display:inline-block}
.egu-pager .current{background:var(--red);color:#fff;border-color:var(--red)}
.egu-empty{font-family:"Bitter",serif;font-style:italic;font-size:1.2rem;color:var(--muted);padding:30px 0}

/* ===== Article (.entry) ===== */
.egu-article{
  max-width:760px;margin:0 auto;
  background:#fbf7f0;
  border:1px solid var(--hair);
  border-top:5px solid var(--red);
  padding:30px 38px 40px;
}
.egu-crumb{
  font-size:.74rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;
  color:var(--muted);margin-bottom:14px;
}
.egu-crumb a{color:var(--muted)}
.egu-crumb a:hover{color:var(--red)}
.post-title{
  font-size:clamp(1.9rem,4.5vw,3rem);line-height:1.05;font-weight:800;margin:.1em 0 .3em;
}
.egu-byline{
  border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);
  padding:9px 0;margin:0 0 22px;
  font-size:.86rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;
}
.egu-hero-cut{margin:0 0 1.4em}
.egu-hero-cut img{width:100%;border:1px solid var(--rule)}

/* entry typography */
.entry p{margin:0 0 1.15em}
.entry h2{
  font-size:1.7rem;font-weight:800;margin:1.6em 0 .5em;padding-bottom:.2em;
  border-bottom:2px solid var(--rule);
}
.entry h3{font-size:1.32rem;font-weight:700;margin:1.4em 0 .4em;color:var(--red-dk)}
.entry a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.entry ul,.entry ol{margin:0 0 1.2em;padding-left:1.5em}
.entry ul{list-style:none;padding-left:1.3em}
.entry ul li{position:relative;margin:0 0 .5em;padding-left:.2em}
.entry ul li::before{
  content:"";position:absolute;left:-1.1em;top:.55em;
  width:9px;height:9px;background:var(--red);
  transform:rotate(45deg);
}
.entry ol li{margin:0 0 .5em}
.entry blockquote{
  margin:1.4em 0;padding:.4em 0 .4em 1.2em;
  border-left:5px solid var(--red);
  font-family:"Bitter",serif;font-style:italic;font-size:1.18rem;color:var(--ink);
}

/* ===== Affiliate disclosure (.cmpc-disc) ===== */
.cmpc-disc{
  background:var(--char);color:#e9dcc8;
  border-left:5px solid var(--red);
  font-size:.86rem;line-height:1.5;
  padding:13px 16px;margin:0 0 1.6em;
  font-family:"Source Sans 3",sans-serif;
}
.cmpc-disc a{color:#f0a8c2}

/* ===== CTA button (.cta-amz) — sturdy slab block ===== */
.cta-amz{
  display:inline-block;
  background:var(--red);color:#fff !important;
  font-family:"Bitter",serif;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;font-size:1.02rem;
  padding:14px 30px;margin:.6em 0;
  border:2px solid var(--ink);
  box-shadow:5px 5px 0 var(--ink);
  text-decoration:none !important;
  transition:transform .08s ease,box-shadow .08s ease,background .15s;
}
.cta-amz:hover{
  background:var(--red-dk);
  transform:translate(2px,2px);
  box-shadow:3px 3px 0 var(--ink);
  text-decoration:none !important;
}

/* ===== Tables (.egu-tablewrap) ===== */
.egu-tablewrap{overflow-x:auto;margin:1.4em 0;border:1px solid var(--rule)}
.egu-tablewrap table{border-collapse:collapse;width:100%;min-width:480px;font-size:.94rem}
.egu-tablewrap th,.egu-tablewrap td{
  padding:10px 13px;text-align:left;border-bottom:1px solid var(--hair);
}
.egu-tablewrap thead th,.egu-tablewrap th{
  background:var(--ink);color:var(--paper);
  font-family:"Bitter",serif;text-transform:uppercase;letter-spacing:.04em;font-size:.82rem;
  border-bottom:2px solid var(--red);
}
.egu-tablewrap tbody tr:nth-child(even){background:var(--paper-2)}

/* ===== Related ===== */
.egu-related{max-width:1140px;margin:40px auto 0}
.egu-related-title{
  font-size:1.5rem;font-weight:800;border-bottom:3px solid var(--rule);
  padding-bottom:8px;margin:0 0 4px;
}
.egu-related .egu-cut{height:140px}

/* ===== Colophon / footer ===== */
.egu-colophon{
  background:var(--ink);color:#cdbfa9;
  border-top:6px double var(--red);
  margin-top:50px;padding:34px 0 40px;
}
.egu-colophon .egu-wrap{padding:0;text-align:center}
.egu-foot-flag{
  font-family:"Bitter",serif;font-weight:800;text-transform:uppercase;
  font-size:1.7rem;color:var(--paper);letter-spacing:-.01em;margin-bottom:14px;
}
.egu-foot-links{
  display:flex;flex-wrap:wrap;justify-content:center;gap:0 4px;margin-bottom:16px;
}
.egu-foot-links a{
  color:#e9dcc8;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  padding:4px 12px;border-right:1px solid #4a3f36;
}
.egu-foot-links a:last-child{border-right:none}
.egu-foot-links a:hover{color:var(--red);text-decoration:none}
.egu-disclosure{
  max-width:620px;margin:0 auto;font-size:.82rem;line-height:1.6;color:#9a8a76;
}

/* ===== Responsive ===== */
@media(max-width:880px){
  .egu-board{grid-template-columns:repeat(2,1fr)}
  .egu-story:nth-child(3n){border-right:1px solid var(--hair)}
  .egu-story:nth-child(2n){border-right:none}
  .egu-story.egu-lead{grid-column:span 2}
}
@media(max-width:560px){
  .egu-board{grid-template-columns:1fr}
  .egu-story,.egu-story:nth-child(2n){border-right:none}
  .egu-story.egu-lead{grid-column:span 1}
  .egu-story.egu-lead .egu-cut{height:200px}
  .egu-story.egu-lead h3{font-size:1.5rem}
  .egu-article{padding:22px 18px 30px}
  .egu-dateline{justify-content:center}
  .egu-dateline .egu-tag{display:none}
}
