
:root {
  --black:  #1a1a1a;
  --red:    #cc0000;
  --tan:    #d4b483;
  --light:  #f8f6f2;
  --white:  #ffffff;
  --muted:  #666;
  --max-w:  860px;
  --serif:  Georgia, 'Times New Roman', serif;
  --sans:   'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
}

/* ── Header ── */
header {
  background: var(--black);
  border-bottom: 4px solid var(--red);
  padding: 0 24px;
}

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

.site-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  height: 54px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.5px;
  line-height: 1;
}

.site-logo .logo-tagline {
  font-family: var(--sans);
  font-size: 11px;
  color: #aaa;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Nav ── */
nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
}

nav a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ccc;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

nav a:hover, nav a.active {
  background: var(--red);
  color: var(--white);
}

/* ── Mobile nav toggle ── */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #555;
  color: #ccc;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
}

/* ── Hero banner ── */
.hero {
  background: var(--black);
  padding: 64px 24px;
  text-align: center;
}

.hero img {
  max-width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero .tagline {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--tan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero .quote {
  font-size: 20px;
  font-style: italic;
  color: #bbb;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ── Main content ── */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Article / Post ── */
.post-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--light);
}

.post-header h1 {
  font-family: var(--sans);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 10px;
}

.post-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-meta .category {
  color: var(--red);
  font-weight: 700;
}

.post-content h2 {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--black);
}

.post-content h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--black);
}

.post-content h4 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 10px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content ul, .post-content ol {
  margin: 0 0 20px 28px;
}

.post-content li {
  margin-bottom: 6px;
}

.post-content a {
  color: var(--red);
  text-decoration: underline;
}

.post-content a:hover {
  color: #990000;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
  display: block;
}

.post-content figure {
  margin: 24px 0;
}

.post-content figcaption {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}

.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--light);
  font-style: italic;
  color: #444;
  border-radius: 0 4px 4px 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}

.post-content th {
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-family: var(--sans);
}

.post-content td {
  padding: 10px 14px;
  border-bottom: 1px solid #ddd;
}

.post-content tr:nth-child(even) td {
  background: var(--light);
}

/* ── Amazon product box ── */
.amazon-product {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--light);
  border: 1px solid #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-amazon {
  display: inline-block;
  background: #ff9900;
  color: #111;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-amazon:hover {
  background: #e68a00;
  color: #111 !important;
}

/* ── Blog index grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.blog-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  background: var(--white);
}

.blog-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body h2 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card-body h2 a {
  color: var(--black);
  text-decoration: none;
}

.blog-card-body h2 a:hover {
  color: var(--red);
}

.blog-card-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 14px;
}

.blog-card-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.read-more {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-more:hover {
  text-decoration: underline;
}

/* ── Page header ── */
.page-banner {
  background: var(--black);
  padding: 48px 24px;
  text-align: center;
}

.page-banner h1 {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
}

.page-banner p {
  color: var(--tan);
  font-style: italic;
  margin-top: 10px;
  font-size: 18px;
}

/* ── CTA section ── */
.cta-section {
  background: var(--light);
  border-top: 3px solid var(--red);
  padding: 48px 24px;
  text-align: center;
  margin-top: 60px;
}

.cta-section h2 {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: #aa0000;
}

/* ── Footer ── */
footer {
  background: var(--black);
  color: #999;
  padding: 40px 24px;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
}

footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  color: var(--red);
}

.footer-nav {
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-legal {
  color: #555;
  font-size: 12px;
  margin-top: 12px;
  line-height: 1.6;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--red);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Home feature blocks ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  padding: 48px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 8px;
  background: var(--light);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── Section headers ── */
.section-header {
  text-align: center;
  padding: 48px 24px 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header h2 {
  font-family: var(--sans);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ── Recent posts strip on home ── */
.home-posts {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* ── Media text block ── */
.wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 40px 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.wp-block-media-text.has-media-on-the-right {
  direction: rtl;
}

.wp-block-media-text.has-media-on-the-right > * {
  direction: ltr;
}

.wp-block-media-text img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.wp-block-media-text__content {
  padding: 20px 0;
}

.wp-block-media-text__content p {
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 700;
  font-family: var(--sans);
  line-height: 1.2;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 4px;
  }

  nav a {
    font-size: 13px;
    padding: 6px 10px;
  }

  .wp-block-media-text {
    grid-template-columns: 1fr;
  }

  .wp-block-media-text.has-media-on-the-right {
    direction: ltr;
  }
}

/* ── Affiliate disclosure ── */
.affiliate-note {
  background: #fffbe6;
  border-left: 4px solid #f0c040;
  padding: 12px 16px;
  font-size: 14px;
  color: #555;
  font-family: var(--sans);
  border-radius: 0 4px 4px 0;
  margin-bottom: 32px;
}
