/*
Theme Name: Buzzify
Theme URI: https://buzzify.org/
Author: Buzzify
Description: Lightweight editorial theme for Buzzify — curious, weird and viral stories.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: buzzify
*/
:root{
  --bg:#07090a;--panel:#101315;--panel2:#15191b;--text:#f7f7f5;--muted:#9da3a5;
  --yellow:#ffd21a;--purple:#9b4dff;--border:#252a2d;--max:1280px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
a{color:inherit;text-decoration:none} img{max-width:100%;height:auto;display:block}
.container{width:min(calc(100% - 40px),var(--max));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(7,9,10,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.header-inner{height:74px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.logo{font-size:30px;font-weight:900;letter-spacing:-1.8px}.logo span{color:var(--yellow)}
.tagline{font-size:11px;color:var(--muted);margin-top:-4px}
.brand{display:flex;flex-direction:column}
.main-nav{display:flex;gap:26px;align-items:center;font-size:13px;font-weight:750;text-transform:uppercase}
.main-nav a:hover{color:var(--yellow)}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:24px}
.hero{padding:28px 0 22px}
.hero-card{min-height:470px;border:1px solid var(--border);border-radius:18px;overflow:hidden;position:relative;background:linear-gradient(110deg,#111617 0%,#111 48%,#080909 100%);display:flex;align-items:center}
.hero-media{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.55}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,9,10,.98) 0%,rgba(7,9,10,.82) 48%,rgba(7,9,10,.15) 100%)}
.hero-content{position:relative;z-index:2;padding:58px;max-width:700px}
.badge{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:7px;background:var(--yellow);color:#111;font-size:11px;font-weight:900;text-transform:uppercase}
.badge.purple{background:var(--purple);color:#fff}
.hero h1{font-size:clamp(38px,5vw,68px);line-height:.98;letter-spacing:-3px;margin:18px 0}
.hero p{color:#d0d3d4;font-size:17px;max-width:600px}
.btn{display:inline-flex;align-items:center;gap:9px;background:var(--yellow);color:#111;padding:13px 18px;border-radius:7px;font-weight:900;font-size:12px;text-transform:uppercase;margin-top:10px}
.btn:hover{filter:brightness(1.08)}
.section{padding:28px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px}
.section-title{font-size:24px;font-weight:900;letter-spacing:-.7px;margin:0}.section-link{font-size:12px;color:var(--yellow);font-weight:800}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.card{background:var(--panel);border:1px solid var(--border);border-radius:13px;overflow:hidden;transition:.2s transform,.2s border-color}
.card:hover{transform:translateY(-3px);border-color:#41484c}
.card-img{aspect-ratio:16/10;background:#1b2022;object-fit:cover;width:100%}
.card-body{padding:15px}.card-cat{font-size:10px;font-weight:900;text-transform:uppercase;color:var(--yellow)}
.card h3{font-size:18px;line-height:1.1;margin:8px 0 14px;letter-spacing:-.4px}.meta{font-size:10px;color:var(--muted);display:flex;justify-content:space-between}
.categories{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}
.category{padding:18px 10px;background:var(--panel);border:1px solid var(--border);border-radius:12px;text-align:center;font-weight:800;font-size:12px}
.category .icon{font-size:24px;display:block;margin-bottom:7px}
.category:hover{border-color:var(--yellow)}
.split{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.box{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:24px}
.newsletter{border-color:#6d5b00;background:linear-gradient(120deg,#171608,#111315)}
.newsletter h2{margin:0 0 6px;color:var(--yellow)}.newsletter p{color:var(--muted);margin-top:0}
.newsletter-form{display:flex;gap:8px;margin-top:15px}.newsletter-form input{flex:1;min-width:0;padding:13px;border:0;border-radius:7px;background:#fff;color:#111}
.rank{display:flex;gap:15px;padding:13px 0;border-bottom:1px solid var(--border)}.rank:last-child{border-bottom:0}.rank-num{font-size:24px;font-weight:900;color:var(--yellow);width:25px}.rank-title{font-weight:750;font-size:14px}
.site-footer{margin-top:50px;border-top:1px solid var(--border);padding:35px 0;color:var(--muted);font-size:12px}.footer-grid{display:flex;justify-content:space-between;gap:30px}
.article{padding:45px 0}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px}.article-main{min-width:0}.article h1{font-size:clamp(36px,5vw,64px);line-height:1;letter-spacing:-2.5px;margin:12px 0 18px}.article-lead{font-size:19px;color:#cfd2d3}.article-meta{font-size:11px;color:var(--muted);margin:15px 0}.article-image{width:100%;border-radius:15px;margin:24px 0}.article-content{font-size:17px;color:#d7d9da}.source-box{border:1px solid var(--purple);border-radius:13px;padding:22px;background:#12101a;margin:28px 0}.source-box h3{margin:0 0 7px}.source-box p{color:var(--muted);font-size:13px}.source-btn{background:var(--purple);color:#fff}
.pagination{display:flex;gap:8px;margin-top:25px}.pagination a,.pagination span{padding:9px 13px;background:var(--panel);border:1px solid var(--border);border-radius:7px}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.categories{grid-template-columns:repeat(4,1fr)}.split,.article-layout{grid-template-columns:1fr}.hero-card{min-height:510px}.hero-content{padding:38px}}
@media(max-width:680px){
 .container{width:min(calc(100% - 24px),var(--max))}.header-inner{height:64px}.logo{font-size:26px}.tagline{display:none}
 .main-nav{display:none}.menu-toggle{display:block}.grid{grid-template-columns:repeat(2,1fr);gap:10px}.card h3{font-size:15px}.card-body{padding:11px}
 .hero{padding-top:12px}.hero-card{min-height:500px;border-radius:13px}.hero-content{padding:25px}.hero h1{font-size:39px;letter-spacing:-2px}.hero p{font-size:14px}
 .categories{grid-template-columns:repeat(4,1fr);gap:7px}.category{padding:12px 5px;font-size:10px}.category .icon{font-size:20px}
 .section{padding:20px 0}.section-title{font-size:20px}.newsletter-form{flex-direction:column}.footer-grid{flex-direction:column}
}
/* Buzzify editorial v1.2 */
.article-kicker{display:flex;align-items:center;gap:12px;margin-bottom:8px}.buzz-score{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid var(--yellow);border-radius:999px;color:var(--yellow);font-size:11px;font-weight:900}.source-label{font-size:10px;letter-spacing:1.2px;font-weight:900;color:var(--yellow);text-transform:uppercase}.side-score{font-size:42px;font-weight:950;line-height:1;margin:18px 0;color:var(--yellow)}.side-score small{font-size:14px;color:var(--muted);margin-left:3px}.sticky-source{position:sticky;top:100px}.article-content>p:first-child{margin-top:0}.article-content{max-width:820px}.article-image{max-height:620px;object-fit:cover}
@media(max-width:680px){.article{padding-top:28px}.article h1{font-size:34px;letter-spacing:-1.8px}.article-image{margin:18px 0;border-radius:11px}.article-kicker{gap:8px}.buzz-score{font-size:10px;padding:5px 8px}}

/* Buzzify v1.3 — complete visual patch */
.buzzify-hero-media{width:100%;margin:26px 0 30px;border-radius:16px;overflow:hidden;background:#111416;border:1px solid var(--border)}
.buzzify-hero-media .article-image{width:100%;aspect-ratio:16/9;max-height:none;margin:0;object-fit:cover}
.buzzify-placeholder{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;font-size:clamp(44px,8vw,110px);font-weight:950;letter-spacing:-5px;color:#242a2e;background:radial-gradient(circle at 50% 45%,#1b2024 0,#0d1012 62%,#090b0c 100%)}
.buzzify-placeholder strong{color:#e7e7e7}.buzzify-placeholder span{color:var(--yellow)}.buzzify-placeholder i{font-style:normal;color:var(--yellow);font-size:.55em;margin-left:10px}
.buzzify-related{margin:42px 0 0;max-width:820px}.buzzify-related h2{font-size:25px;letter-spacing:-.7px;margin:0 0 16px}.buzzify-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.buzzify-related-card{background:var(--panel);border:1px solid var(--border);border-radius:12px;overflow:hidden;padding-bottom:13px}.buzzify-related-img{width:100%;aspect-ratio:16/10;object-fit:cover}.buzzify-related-score{color:var(--yellow);font-size:10px;font-weight:900;margin:12px 13px 5px}.buzzify-related-card h3{font-size:15px;line-height:1.15;margin:0 13px}.buzzify-related-card h3 a:hover{color:var(--yellow)}
@media(max-width:680px){.buzzify-hero-media{margin:18px 0 23px;border-radius:11px}.buzzify-placeholder{letter-spacing:-3px}.buzzify-related{margin-top:32px}.buzzify-related-grid{grid-template-columns:1fr}.buzzify-related-card h3{font-size:17px}.buzzify-related-card{padding-bottom:15px}}

/* Buzzify v1.4 */
.article-lead{font-size:20px;line-height:1.55;color:#d9dcde;max-width:900px;margin:0 0 28px}
.buzzify-related{margin:42px 0 10px;max-width:900px}.buzzify-related h2{font-size:25px;letter-spacing:-.7px;margin:0 0 16px}.buzzify-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.buzzify-related-card{background:var(--panel);border:1px solid var(--border);border-radius:12px;overflow:hidden;padding-bottom:14px}.buzzify-related-img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#14181a}.buzzify-related-score{color:var(--yellow);font-size:10px;font-weight:900;margin:12px 13px 5px}.buzzify-related-card h3{font-size:15px;line-height:1.15;margin:0 13px}.buzzify-related-card h3 a:hover{color:var(--yellow)}
@media(max-width:680px){.article-lead{font-size:17px}.buzzify-related-grid{grid-template-columns:1fr}.buzzify-related-card h3{font-size:17px}}

/* Buzzify v1.5 branding */
.logo span{display:inline-block;transform:skew(-8deg);margin-left:3px}

/* Buzzify v1.6 visual refinement */
.buzzify-placeholder{
  min-height:220px!important;
  aspect-ratio:16/7!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(135deg,#101316 0%,#0b0d0f 100%)!important;
  color:#252a30!important;
  font-size:clamp(28px,4vw,58px)!important;
  letter-spacing:-2px!important;
  border-radius:16px!important;
}
.buzzify-placeholder span{color:#ffd400!important}
.single-post .hero-image{
  max-height:520px!important;
  margin-top:24px!important;
}
.single-post h1{
  max-width:980px!important;
}
@media(max-width:700px){
 .buzzify-placeholder{min-height:150px!important;aspect-ratio:16/8!important;font-size:34px!important}
 .single-post .hero-image{max-height:none!important}
}

/* Buzzify v1.7 - clean no-image state */
.buzzify-hero-media{margin:22px 0 28px!important}
.buzzify-placeholder{aspect-ratio:16/6!important;min-height:190px!important;font-size:0!important;letter-spacing:0!important;background:linear-gradient(135deg,#101316,#0b0d0f)!important}
.buzzify-placeholder span{font-size:56px!important;color:#ffd400!important}
.buzzify-related .buzzify-placeholder{aspect-ratio:16/9!important;min-height:0!important}
@media(max-width:680px){.buzzify-placeholder{aspect-ratio:16/7!important;min-height:135px!important}.buzzify-placeholder span{font-size:42px!important}}

/* Buzzify v1.8 article content */
.buzzify-article-content,.single-post .entry-content{
  max-width:980px;
  font-size:20px;
  line-height:1.75;
  color:#e9edf1;
}
.buzzify-article-content p,.single-post .entry-content p{margin:0 0 1.25em}
.buzzify-content-note{
  display:inline-block;
  margin:0 0 18px;
  padding:7px 11px;
  border:1px solid #30363d;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#ffd400;
}
.buzzify-placeholder{
  min-height:170px!important;
  aspect-ratio:16/6!important;
}
@media(max-width:700px){
 .buzzify-article-content,.single-post .entry-content{font-size:18px;line-height:1.65}
 .buzzify-placeholder{min-height:120px!important}
}
