/*
Theme Name: VapeVerdictv1
Theme URI: https://vapeverdict.com
Author: Sterling Grey
Description: Clean, review-focused theme for Vape Verdict – Know the Score Before You Buy. Version 1.
Version: 1.0.0
Text Domain: vapeverdict
*/

:root {
  --navy: #0B1C2C;
  --navy-light: #14263A;
  --accent: #00C2A8;
  --accent-hover: #00A890;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --text: #1A2332;
  --text-muted: #5A6A7E;
  --border: #E2E8F0;
  --pros: #059669;
  --cons: #DC2626;
  --grade-a: #059669;
  --grade-b: #0D9488;
  --grade-c: #D97706;
  --grade-d: #EA580C;
  --grade-f: #DC2626;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(11, 28, 44, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo span {
  color: var(--accent);
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  margin-left: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--accent);
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.review-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .review-layout {
    grid-template-columns: 1fr;
  }
}

/* ========== REVIEW HEADER ========== */
.review-header {
  margin-bottom: 2rem;
}

.review-title {
  font-size: 2.1rem;
  font-weight: 750;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.6px;
}

.review-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ========== FEATURED IMAGE ========== */
.review-featured {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

/* ========== CONTENT ========== */
.review-content {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 2rem 0 0.9rem;
}

.review-content h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.7rem;
}

.review-content p {
  margin-bottom: 1.15rem;
}

.review-content ul, .review-content ol {
  margin: 0 0 1.25rem 1.4rem;
}

/* ========== VERDICT SIDEBAR ========== */
.verdict-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.verdict-grade {
  text-align: center;
  padding: 1.75rem 1.5rem 1.25rem;
  background: var(--navy);
  color: var(--white);
}

.grade-letter {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

.grade-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.85;
  margin-top: 0.35rem;
}

.grade-summary {
  font-size: 0.95rem;
  margin-top: 0.75rem;
  opacity: 0.9;
  line-height: 1.4;
}

.pros-cons {
  padding: 1.5rem;
}

.pros, .cons {
  margin-bottom: 1.5rem;
}

.pros:last-child, .cons:last-child {
  margin-bottom: 0;
}

.pros h4, .cons h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pros h4 { color: var(--pros); }
.cons h4 { color: var(--cons); }

.pros ul, .cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pros li, .cons li {
  font-size: 0.92rem;
  padding: 0.35rem 0;
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}

.pros li::before {
  content: "＋";
  position: absolute;
  left: 0;
  color: var(--pros);
  font-weight: 700;
}

.cons li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--cons);
  font-weight: 700;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.footer-inner a {
  color: var(--accent);
}

/* ========== HOME / ARCHIVE CARDS ========== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 28, 44, 0.12);
}

.review-card-image {
  aspect-ratio: 16/10;
  background: var(--navy-light);
  overflow: hidden;
}

.review-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.review-card-title {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.review-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.review-card-grade {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

/* ===== Homepage Review Cards ===== */

/* Make the card image a consistent, shorter height */
.review-card-image {
  aspect-ratio: 16 / 9;
  height: 180px;
  overflow: hidden;
}

.review-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Tighten the excerpt */
.review-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Better grade badge positioning */
.review-card-grade {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  padding: 0.2rem 0.65rem;
}

/* Slightly tighter card body padding */
.review-card-body {
  padding: 1.15rem 1.25rem 1.3rem;
}

/* ===== Single Review Featured Image ===== */

/* Limit the height of the big featured image so the verdict card stays visible */
.review-featured {
  max-height: 380px;
  overflow: hidden;
}

.review-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* On smaller screens, let the image be a bit taller */
@media (max-width: 900px) {
  .review-featured {
    max-height: 280px;
  }
}
