:root{
  --bg:#0b0f19;
  --panel:#111827;
  --panel2:#0f172a;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --brand:#60a5fa;
  --brand2:#a78bfa;
  --border: rgba(255,255,255,.08);
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius: 16px;
  --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(96,165,250,.25), transparent 55%),
              radial-gradient(900px 500px at 90% 10%, rgba(167,139,250,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  font-family:var(--font);
  line-height:1.5;
}
a{color:inherit; text-decoration:none}
a:hover{color:var(--brand)}
.container{max-width:var(--max); margin:0 auto; padding:24px}
.nav{
  position:sticky; top:0; z-index:50;
  background: rgba(11,15,25,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px
}
.logo{
  width:34px; height:34px; border-radius:10px;
  object-fit: contain;
  background: transparent;
  box-shadow: var(--shadow);
  display:block;
}
.nav-links{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.nav-links a{
  padding:8px 10px;
  border-radius:10px;
  color:var(--muted);
}
.nav-links a.active{color:var(--text); background:rgba(255,255,255,.06)}
.nav .search{
  flex:1;
  display:flex;
  justify-content:flex-end;
}
.nav .search input{
  width:min(380px, 100%);
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  outline:none;
}
.hero{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr}
  .search{display:none}
}
.hero-main{padding:26px}
.kicker{color:var(--brand); font-weight:700; font-size:13px; letter-spacing:.12em; text-transform:uppercase}
h1{margin:10px 0 10px; font-size:34px; line-height:1.15}
.sub{color:var(--muted); max-width:70ch}
.hero-side{
  padding:22px;
  border-left:1px solid var(--border);
  background: rgba(15,23,42,.6);
}
@media (max-width: 900px){
  .hero-side{border-left:none; border-top:1px solid var(--border)}
}
.pills{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px}
.pill{
  font-size:12px; color:var(--muted);
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  padding:6px 10px;
  border-radius:999px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
  margin-top:18px;
}
.card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.card-pad{padding:16px}
.card h3{margin:8px 0 8px}
.meta{color:var(--muted); font-size:13px; display:flex; gap:10px; flex-wrap:wrap}
.badge{
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--muted);
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 12px;
  background: linear-gradient(135deg, rgba(96,165,250,.9), rgba(167,139,250,.8));
  color:#07101f;
  border:none;
  border-radius: 12px;
  font-weight:800;
}
.btn:hover{filter:brightness(1.05); color:#07101f}
.btn.secondary{
  background: rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid var(--border);
}
.section-title{
  margin:28px 0 10px;
  display:flex; align-items:baseline; justify-content:space-between;
  gap:12px;
}
.section-title h2{margin:0; font-size:20px}
.section-title a{color:var(--muted); font-size:14px}
.col-8{grid-column: span 8}
.col-4{grid-column: span 4}
.col-6{grid-column: span 6}
.col-12{grid-column: span 12}
@media (max-width: 900px){
  .col-8,.col-4,.col-6{grid-column: span 12}
}
.list{
  display:flex; flex-direction:column; gap:12px
}
.item{
  display:flex; gap:12px;
  padding:14px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.thumb{
  width: 78px;
  height: 78px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.item h4{margin:0 0 6px}
.item p{margin:0; color:var(--muted); font-size:14px}
.footer{
  margin-top:34px;
  padding:22px 0 40px;
  color:var(--muted);
  border-top:1px solid var(--border);
}
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
@media (max-width: 900px){
  .two-col{grid-template-columns:1fr}
}
.article{
  max-width: 78ch;
}
.article h1{font-size:32px}
.article h2{font-size:20px; margin-top:22px}
.article p{color:var(--text)}
.article .lede{color:var(--muted); font-size:16px}
.hr{
  height:1px;
  background: var(--border);
  margin:18px 0;
}
.scorebox{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(15,23,42,.55);
}
.score{
  font-size:28px; font-weight:900;
  padding:10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
}
.procon{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:14px;
}
@media (max-width: 900px){
  .procon{grid-template-columns:1fr}
}
.procon ul{margin:8px 0 0 18px; color:var(--muted)}
.small{font-size:13px; color:var(--muted)}


/* Light theme */
[data-theme="light"]{
  --bg:#f6f7fb;
  --panel:#ffffff;
  --panel2:#f3f4f6;
  --text:#0b1220;
  --muted:#4b5563;
  --brand:#2563eb;
  --brand2:#7c3aed;
  --border: rgba(0,0,0,.10);
  --shadow: 0 12px 40px rgba(0,0,0,.12);
}


.brand .logo{
  display: none;
}


.brand .logo{
  display: none;
}



.brand .logo{
  display: none;
}

/* Slight emphasis on nav links for premium feel */
.nav-links a{
  font-weight: 600;
}


/* Premium polish enhancements */

/* Accent line under nav */
.nav{
  border-bottom: 1px solid transparent;
}
.nav::after{
  content:"";
  display:block;
  height:2px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}

/* Headline spacing */
h1, h2, h3{
  letter-spacing: 0.2px;
}
.article h1{
  margin-bottom: 14px;
}
.article h2{
  margin-top: 30px;
}

/* Featured ribbon */
.featured{
  position: relative;
  overflow: hidden;
}
.featured::before{
  right: -12px;
  top: 20px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f6d365 0%, #fda085 25%, #f4c542 50%, #c99700 75%, #ffe08a 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
color:#0b0f19;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  padding:6px 48px;
}


/* Review score tiers */
.score{
  font-size:28px;
  font-weight:900;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
}

.score.gold{
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color:#111827;
}

.score.green{
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color:#052e16;
}

.score.yellow{
  background: linear-gradient(135deg, #fde047, #facc15);
  color:#3f2d00;
}

.score.red{
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color:#450a0a;
}


/* Editor's Choice badge */
.editors-choice{
  display:inline-block;
  margin-left:8px;
  padding:4px 10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  border-radius:999px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color:#111827;
}


.author-avatar{
  border:2px solid var(--border);
}


/* Review hero image */
.review-hero{
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.review-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(11,15,25,.15),
    rgba(11,15,25,.65)
  );
}

@media (max-width: 900px){
  .review-hero{
    height:220px;
  }
}



.brand-fry{
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}


/* Subtle shimmer hover effect for brand fry (corrected) */
.brand-fry{
  background-size: 200% 200%;
}

.brand:hover .brand-fry,
.brand:focus-visible .brand-fry{
  animation: fryShimmer 1.6s ease-in-out infinite;
}

@keyframes fryShimmer{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}


  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}




/* Brand wordmark (connected) */
.brand-text{
  color:#f9fafb;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.brand-fry{
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
}

.brand:hover .brand-fry{
  animation: fryShimmer 1.6s ease-in-out infinite;
}

@keyframes fryShimmer{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}


/* Nudge featured banner content slightly right */
.card.featured .card-pad{
  padding-left: calc(var(--pad) + 48px);
  padding-right: calc(var(--pad) + 24px);
  text-align: left;
}


/* Featured card content spacing (more breathing room) */
.card.featured .card-pad{
  padding-left: calc(var(--pad) + 40px);
  padding-right: calc(var(--pad) + 20px);
}


/* Adjust FEATURED ribbon positioning */
.featured::before{
  right: -28px;
  top: 18px;
}


/* Featured card inner content spacing */
.card.featured .card-pad{
  padding-left: calc(var(--pad) + 56px);
  padding-right: calc(var(--pad) + 24px);
}



/* ===== Enterfryment overrides (definitive) ===== */

/* Make header brand truly big */
.nav .brand .brand-text{
  font-size: 64px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

/* Ensure featured cards have comfortable inner spacing */
.card.featured .card-pad{
  padding: 20px 24px 20px 64px !important; /* top right bottom left */
}

/* Ensure FEATURED ribbon is visible and positioned */
.card.featured{
  position: relative !important;
  overflow: hidden !important;
}

.card.featured::before{
  content:"FEATURED";
  position:absolute;
  top:8px;
  right:-78px;
  width:240px;
  height:28px;

  display:flex;
  align-items:center;
  justify-content:center;

  /* Optical centering for rotated ribbon */
  transform: rotate(45deg) translateX(10px);

  /* Metallic gold */
  background: linear-gradient(
    135deg,
    #f6d365 0%,
    #f4c542 35%,
    #c99700 55%,
    #ffe08a 100%
  );
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);

  color:#0b0f19;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;

  z-index:5;
}
/* ============================================= */


/* ===== Enterfryment: template polish (safe) ===== */
.nav .brand .brand-text{
  font-size: 40px;
  line-height: 1;
}
@media (max-width: 600px){
  .nav .brand .brand-text{ font-size: 30px; }
}

/* Featured cards: comfortable left inset */
.card.featured .card-pad{
  padding-left: 56px;
}

/* Featured ribbon: centered text, tucked cleanly into top-right corner */
.card.featured{
  position: relative;
  overflow: hidden;
}
.card.featured::before{
  content:"FEATURED";
  position:absolute;
  top:8px;
  right:-72px;       /* push into corner so ends are hidden */
  transform: rotate(45deg);
  width: 210px;
  text-align: center;
  background: linear-gradient(135deg, #f6d365 0%, #fda085 25%, #f4c542 50%, #c99700 75%, #ffe08a 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
color:#0b0f19;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  padding: 6px 0; text-indent: 2px;
  z-index:5;
}
/* ===== end template polish ===== */




/* ===== Equal height featured cards ===== */
.grid > .col-6{
  display: flex;
}
.grid > .col-6 > .card{
  flex: 1;
  display: flex;
  flex-direction: column;
}
.grid > .col-6 > .card .card-pad{
  flex: 1;
}
/* ===== End equal height ===== */



/* ===== List item layout polish (fill boxes neatly) ===== */
.list .item{
  display:flex;
  align-items:stretch;
  gap:14px;
}
.list .item .thumb{
  flex:0 0 92px;
  height:72px;
  border-radius: 14px;
}
.list .item > div:last-child{
  flex:1 1 auto;
  min-width:0;
}
.list .item h4{
  margin:0 0 6px 0;
  line-height:1.2;
}
.list .item p{
  margin:8px 0 0 0;
}
.list .item .meta{
  flex-wrap:wrap;
}
/* ===== End list polish ===== */



/* ===== Full-width post content ===== */
.card-pad.article{
  max-width: none;
  width: 100%;
}

.card-pad.article img,
.card-pad.article video,
.card-pad.article iframe{
  max-width: 100%;
  height: auto;
}

.card-pad.article .review-hero{
  width: 100%;
}
/* ===== End full-width post content ===== */


/* ===== Search filters + highlights ===== */
.search-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.pill{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}
.pill:hover{ background: rgba(255,255,255,.06); }
.pill.active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
}
mark.hl{
  background: rgba(255, 224, 138, .28);
  color: inherit;
  padding: 0 .12em;
  border-radius: .25em;
}
/* ===== End search filters + highlights ===== */


/* --- WordPress review enhancements --- */
.review-wrap{
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.ef-score.ef-good{ color: #2ecc71; }  /* green */
.ef-score.ef-ok{ color: #f1c40f; }    /* yellow */
.ef-score.ef-bad{ color: #e74c3c; }   /* red */

/* Review layout v8 */
.ef-review-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.ef-review-top .ef-verdict{
  flex:1;
}
.ef-review-top .ef-score-wrap{
  min-width:120px;
  text-align:right;
}
@media (max-width: 900px){
  .ef-review-top{ flex-direction:column; }
  .ef-review-top .ef-score-wrap{ text-align:left; }
}

/* Featured hero (home) */
.ef-hero{
  display:block;
  position:relative;
  border-radius:22px;
  overflow:hidden;
  min-height: 480px;
  text-decoration:none;
  color: inherit;
}
.ef-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  
  transform: scale(1.02);
}
.ef-hero::after{content:none;}
.ef-hero-inner{
  position:relative;
  z-index:2;
  padding: 22px;
  display:flex;
  align-items:flex-end;
  min-height: 480px;
}
.ef-hero-title{
  margin:0;
  font-size: clamp(28px, 3vw, 44px);
  line-height:1.05;
  color: #fff;
  text-shadow: 0 8px 18px rgba(0,0,0,.35);
}

/* Mobile nav polish */
@media (max-width: 900px){
  .brand-text{ font-size: 42px; }
  .nav-inner{ padding: 12px 16px; }
  .nav-links{
    overflow-x:auto;
    white-space:nowrap;
    flex-wrap:nowrap;
    gap:12px;
    padding-bottom:6px;
    -webkit-overflow-scrolling: touch;
  }
  .search{ display:none; }
}

.ef-post-hero{margin-top:0; margin-bottom:14px;}


.ef-scorebox{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  overflow:hidden;
  margin-top:6px;
}

.ef-scorebox .ef-fries{
  position:absolute;
  left:-10px;
  top:-14px;
  font-size:52px;
  opacity:.28;
  transform:rotate(-12deg);
  pointer-events:none;
  filter: blur(.2px);
}

.ef-scorebox .ef-score-num{
  position:relative;
  font-size:48px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.02em;
}

/* Keep existing score colors by applying them to the box text */
.ef-scorebox.ef-good .ef-score-num{ color:#2ecc71; }
.ef-scorebox.ef-ok   .ef-score-num{ color:#f1c40f; }
.ef-scorebox.ef-bad  .ef-score-num{ color:#e74c3c; }



/* Color inheritance */
.ef-scorebox.ef-good{ color:#2ecc71; }
.ef-scorebox.ef-ok{ color:#f1c40f; }
.ef-scorebox.ef-bad{ color:#e74c3c; }








/* Ensure post content stays inside the padded card area */
.card-pad > .content{
  padding-left:0;
  margin-left:0;
}







/* --- list item excerpt block --- */
.list .item .small{
  display:block;
}



/* If main.container already adds padding, neutralize it for search pages to avoid double-indent */
.search main.container{
  padding-left:0;
  padding-right:0;
}

/* Ensure items fill the row and never float/right-shift */
.search-results,
.search-results .list,
.search-results .item{
  width:100%;
  box-sizing:border-box;
}


/* --- search layout brute-force alignment ---
   Some environments are forcing the search content to the right (likely via a flex/grid rule).
   These overrides hard-reset layout on search pages to match the normal container alignment. */
body.search main.container{
  display:block !important;
  max-width:var(--max) !important;
  margin:0 auto !important;
  padding:24px !important;
  box-sizing:border-box !important;
}

body.search .search-shell{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  position:relative !important;
  left:0 !important;
  right:auto !important;
  box-sizing:border-box !important;
}

body.search .search-head,
body.search .search-results,
body.search .search-pagination{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* If any parent turns main into a flex container, force left alignment */
body.search main.container *{
  justify-content:flex-start;
}


/* --- v26 review score placement (centered in right half of verdict card) --- */
.ef-score-col{
  display:flex;
  align-items:center;
  justify-content:center; /* move score away from far-right edge */
  min-height:100%;
}

/* Tight, even padding around number */
.ef-scorebox{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px; /* even feel */
  border-radius:10px;
  border:2px solid currentColor;
  background:transparent;
}

.ef-scorebox .ef-score-num{
  display:block;
  font-size:40px;
  font-weight:900;
  line-height:1;
  position:relative;
  top:-1px; /* optical centering so top padding matches bottom */
}

.ef-scorebox.ef-good{ color:#2ecc71; }
.ef-scorebox.ef-ok{ color:#f1c40f; }
.ef-scorebox.ef-bad{ color:#e74c3c; }
