/*
Theme Name: Hot Bumper Stickers
Theme URI: https://hotbumperstickers.com/
Author: Hot Bumper Stickers
Author URI: https://hotbumperstickers.com/
Description: A bold, pop-art WordPress theme custom built for Hot Bumper Stickers — featuring an AI-generated hero, category showcase, and a punchy sticker-pack aesthetic. Fully responsive, block-friendly, translation-ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotbumperstickers
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar
*/

/* ---------- Design tokens ---------- */
:root{
  --hbs-bg:#fffaf2;
  --hbs-ink:#1a1414;
  --hbs-muted:#5a4a48;
  --hbs-card:#ffffff;
  --hbs-border:#1a1414;
  --hbs-primary:#ff2e2e;     /* hot red */
  --hbs-accent:#ffcc00;      /* sticker yellow */
  --hbs-secondary:#1d4ed8;   /* deep blue */
  --hbs-pink:#ff3da6;
  --hbs-radius:14px;
  --hbs-shadow:6px 6px 0 0 var(--hbs-border);
  --hbs-shadow-sm:3px 3px 0 0 var(--hbs-border);
  --hbs-font-display:"Anton","Bebas Neue","Impact",sans-serif;
  --hbs-font-body:"Inter","Helvetica Neue",Arial,sans-serif;
  --hbs-container:1200px;
}

/* ---------- Reset-ish ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--hbs-font-body);
  font-size:17px;
  line-height:1.65;
  color:var(--hbs-ink);
  background:var(--hbs-bg);
  background-image:
    radial-gradient(rgba(26,20,20,.06) 1px,transparent 1px);
  background-size:18px 18px;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--hbs-primary);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:var(--hbs-font-display);letter-spacing:.02em;line-height:1.05;margin:0 0 .5em;text-transform:uppercase}
h1{font-size:clamp(2.4rem,5vw,4rem)}
h2{font-size:clamp(1.8rem,3.5vw,2.6rem)}
h3{font-size:1.35rem}
p{margin:0 0 1em}

.container{max-width:var(--hbs-container);margin:0 auto;padding:0 20px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  padding:14px 26px;
  background:var(--hbs-primary);
  color:#fff !important;
  font-family:var(--hbs-font-display);
  letter-spacing:.05em;
  text-transform:uppercase;
  border:3px solid var(--hbs-border);
  border-radius:var(--hbs-radius);
  box-shadow:var(--hbs-shadow);
  transition:transform .15s ease, box-shadow .15s ease;
  text-decoration:none !important;
}
.btn:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 0 var(--hbs-border)}
.btn-yellow{background:var(--hbs-accent);color:var(--hbs-ink) !important}

/* ---------- Header ---------- */
.site-header{
  background:#fff;
  border-bottom:3px solid var(--hbs-border);
  position:sticky;top:0;z-index:50;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 20px;max-width:var(--hbs-container);margin:0 auto;gap:20px;
}
.site-branding{display:flex;align-items:center;gap:12px}
.site-branding img{height:46px;width:auto}
.site-title{
  font-family:var(--hbs-font-display);
  font-size:1.7rem;letter-spacing:.04em;
  margin:0;color:var(--hbs-ink);text-transform:uppercase;
}
.site-title a{color:inherit;text-decoration:none}
.site-title .accent{color:var(--hbs-primary)}
.site-description{margin:0;font-size:.85rem;color:var(--hbs-muted)}

.main-navigation ul{list-style:none;margin:0;padding:0;display:flex;gap:6px;flex-wrap:wrap}
.main-navigation a{
  display:inline-block;padding:8px 14px;color:var(--hbs-ink);
  font-weight:700;border-radius:8px;text-decoration:none;
}
.main-navigation a:hover{background:var(--hbs-accent)}
.menu-toggle{
  display:none;background:var(--hbs-ink);color:#fff;border:0;
  padding:10px 14px;border-radius:8px;font-weight:700;cursor:pointer;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  border-bottom:3px solid var(--hbs-border);
  background:#000;
}
.hero-media{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover;opacity:.85}
.hero-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,.6) 100%);
}
.hero-inner{
  position:relative;z-index:2;
  max-width:var(--hbs-container);margin:0 auto;padding:120px 20px;
  color:#fff;text-align:center;
}
.hero h1{color:#fff;text-shadow:4px 4px 0 var(--hbs-primary)}
.hero p.lede{
  max-width:640px;margin:0 auto 28px;font-size:1.15rem;
  background:rgba(0,0,0,.35);padding:10px 18px;border-radius:10px;
}
.hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* ---------- Sections ---------- */
.section{padding:70px 0}
.section-title{text-align:center;margin-bottom:14px}
.section-title::after{
  content:"";display:block;width:84px;height:6px;background:var(--hbs-primary);
  margin:14px auto 0;border-radius:4px;
}
.section-sub{text-align:center;color:var(--hbs-muted);max-width:620px;margin:0 auto 40px}

/* ---------- Category grid ---------- */
.cat-grid{
  display:grid;gap:24px;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
}
.cat-card{
  background:var(--hbs-card);
  border:3px solid var(--hbs-border);
  border-radius:var(--hbs-radius);
  box-shadow:var(--hbs-shadow);
  overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease;
  display:flex;flex-direction:column;
}
.cat-card:hover{transform:translate(-3px,-3px);box-shadow:9px 9px 0 0 var(--hbs-border)}
.cat-card .thumb{aspect-ratio:1/1;overflow:hidden;background:#fff}
.cat-card .thumb img{width:100%;height:100%;object-fit:cover}
.cat-card .body{padding:16px 18px}
.cat-card h3{margin:0 0 6px;font-size:1.4rem}
.cat-card p{margin:0;color:var(--hbs-muted);font-size:.95rem}
.cat-card a{color:inherit;text-decoration:none;display:block;height:100%}

/* ---------- Post grid (blog) ---------- */
.layout{
  display:grid;gap:36px;grid-template-columns:minmax(0,1fr) 300px;
  padding:50px 0;
}
@media (max-width:900px){.layout{grid-template-columns:1fr}}

.posts{display:grid;gap:28px}
.post-card{
  background:#fff;border:3px solid var(--hbs-border);
  border-radius:var(--hbs-radius);box-shadow:var(--hbs-shadow);overflow:hidden;
}
.post-card .thumb{aspect-ratio:16/9;background:#eee;overflow:hidden}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}
.post-card .content{padding:22px 24px}
.post-card h2{font-size:1.7rem;margin:0 0 8px}
.post-card h2 a{color:var(--hbs-ink);text-decoration:none}
.post-card h2 a:hover{color:var(--hbs-primary)}
.post-meta{font-size:.85rem;color:var(--hbs-muted);margin-bottom:10px;text-transform:uppercase;letter-spacing:.05em}
.post-meta a{color:var(--hbs-secondary)}

/* ---------- Sidebar ---------- */
.sidebar{display:flex;flex-direction:column;gap:24px}
.widget{
  background:#fff;border:3px solid var(--hbs-border);
  border-radius:var(--hbs-radius);box-shadow:var(--hbs-shadow-sm);
  padding:20px;
}
.widget-title{font-family:var(--hbs-font-display);font-size:1.2rem;margin:0 0 12px;text-transform:uppercase;border-bottom:3px solid var(--hbs-accent);padding-bottom:6px}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{padding:6px 0;border-bottom:1px dashed #ddd}
.widget li:last-child{border-bottom:0}
.widget a{color:var(--hbs-ink)}

/* ---------- Single / Page content ---------- */
.entry-content{
  background:#fff;border:3px solid var(--hbs-border);
  border-radius:var(--hbs-radius);box-shadow:var(--hbs-shadow);
  padding:30px 36px;
}
.entry-content img{border-radius:8px;margin:1em 0}
.entry-header{margin-bottom:24px}
.entry-title{font-size:clamp(2rem,4vw,3rem)}

/* ---------- Pagination ---------- */
.pagination{margin-top:40px;text-align:center}
.pagination a,.pagination span{
  display:inline-block;padding:10px 16px;margin:0 4px;
  border:3px solid var(--hbs-border);border-radius:10px;background:#fff;
  font-weight:700;color:var(--hbs-ink);
}
.pagination .current{background:var(--hbs-accent)}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--hbs-ink);color:#fff;padding:40px 20px;margin-top:60px;
  border-top:6px solid var(--hbs-primary);
}
.site-footer .container{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px}
.site-footer a{color:var(--hbs-accent)}

/* ---------- Mobile nav ---------- */
@media (max-width:780px){
  .menu-toggle{display:inline-block}
  .main-navigation ul{
    display:none;flex-direction:column;width:100%;
    background:#fff;border-top:3px solid var(--hbs-border);
    padding:10px 20px;
  }
  .main-navigation.open ul{display:flex}
  .header-inner{flex-wrap:wrap}
  .main-navigation{order:3;width:100%}
}

/* WP core alignment helpers */
.alignleft{float:left;margin:0 1.5em 1em 0}
.alignright{float:right;margin:0 0 1em 1.5em}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.screen-reader-text{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
