/* ============================================================
   Elite Flyers Blog — Main Stylesheet
   Brand: Red #C8102E | Black #111111 | White #FFFFFF | Gray #F5F5F5
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --ef-red:       #C8102E;
  --ef-red-dark:  #A00D24;
  --ef-red-light: #E31837;
  --ef-black:     #111111;
  --ef-dark:      #1E1E1E;
  --ef-gray:      #6C757D;
  --ef-light:     #F5F5F5;
  --ef-border:    #E0E0E0;
  --ef-white:     #FFFFFF;
  --ef-text:      #2A2A2A;
  --ef-muted:     #777777;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1200px;
  --content-width: 720px;
  --sidebar-width: 300px;
  --gap: 2rem;

  --radius-sm: 3px;
  --radius:    6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 2px 8px rgba(0,0,0,.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);

  --transition: 0.2s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ef-text);
  background: var(--ef-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ef-red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ef-red-dark); }
ul, ol { padding-left: 1.5rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ef-black);
  margin-bottom: 0.75rem;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout Helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--gap);
  align-items: start;
  padding: 2.5rem 0 3rem;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--ef-red);
  color: var(--ef-white);
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
/* ============================================================
   TOP BAR
   ============================================================ */
.site-topbar {
  background: var(--ef-red);
  padding: 0.38rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-tagline {
  color: rgba(255,255,255,.88);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-contact a {
  color: rgba(255,255,255,.75);
  font-size: 0.68rem;
  text-decoration: none;
}
.topbar-contact a:hover { color: var(--ef-white); }
.topbar-sep { color: rgba(255,255,255,.35); font-size: 0.68rem; }

@media (max-width: 600px) {
  .topbar-tagline { display: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--ef-black);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 70px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img {
  width: 200px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.site-logo-text {
  color: var(--ef-white);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.site-logo-text span { color: var(--ef-red); }

.site-tagline {
  font-size: 0.52rem;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  display: block;
}

/* Footer logo */
.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 240px;
  margin-bottom: 1rem;
}
.footer-logo-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-tagline {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,.25);
  white-space: nowrap;
}

/* Primary Navigation */
.primary-nav { flex: 1; }

.primary-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  justify-content: flex-end;
}

.primary-nav ul li a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.7rem;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.primary-nav ul li a:hover {
  color: var(--ef-white);
  border-bottom-color: rgba(200,16,46,.5);
}

.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current-menu-ancestor > a {
  color: var(--ef-white);
  font-weight: 700;
  border-bottom-color: var(--ef-red);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--ef-white);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* Shop CTA in header */
.header-cta {
  flex-shrink: 0;
}
.header-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--ef-red);
  color: var(--ef-white);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  white-space: nowrap;
}
.header-cta a:hover { background: var(--ef-red-dark); color: var(--ef-white); }

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.category-strip {
  background: var(--ef-white);
  border-bottom: 1px solid var(--ef-border);
}

.category-strip-nav {
  display: flex;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-strip-nav::-webkit-scrollbar { display: none; }

.cat-strip-link {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ef-gray, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.9rem 1rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.cat-strip-link:hover { color: var(--ef-red); }
.cat-strip-link.active { color: var(--ef-red); font-weight: 700; border-bottom-color: var(--ef-red); }

/* ============================================================
   HERO / PAGE BANNER
   ============================================================ */
.page-hero {
  background: var(--ef-black);
  padding: 2rem 0;
  border-bottom: 1px solid #2a2a2a;
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-hero .page-title {
  color: var(--ef-white);
  font-size: 1.75rem;
  margin: 0;
}
.page-hero .page-subtitle {
  color: rgba(255,255,255,.55);
  font-size: 0.875rem;
}
.page-hero .breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,.4); margin-bottom: 0.5rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.5); }
.page-hero .breadcrumb a:hover { color: var(--ef-red); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.4); }

/* ============================================================
   FEATURED BANNER (homepage hero)
   ============================================================ */
.featured-banner {
  position: relative;
  overflow: hidden;
  background: var(--ef-black);
  max-height: 420px;
}

.featured-banner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.featured-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}

.featured-banner-content {
  max-width: 520px;
}

.featured-banner-content .post-category {
  display: inline-block;
  background: var(--ef-red);
  color: var(--ef-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.featured-banner-content h2 {
  color: var(--ef-white);
  font-size: 1.9rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.featured-banner-content h2 a { color: var(--ef-white); }
.featured-banner-content h2 a:hover { color: rgba(255,255,255,.85); }

.featured-banner-content .post-meta {
  color: rgba(255,255,255,.6);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.featured-banner-content .btn { font-size: 0.85rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ef-red);
  color: var(--ef-white);
  border-color: var(--ef-red);
}
.btn-primary:hover {
  background: var(--ef-red-dark);
  border-color: var(--ef-red-dark);
  color: var(--ef-white);
}

.btn-outline {
  background: transparent;
  color: var(--ef-red);
  border-color: var(--ef-red);
}
.btn-outline:hover {
  background: var(--ef-red);
  color: var(--ef-white);
}

.btn-dark {
  background: var(--ef-black);
  color: var(--ef-white);
  border-color: var(--ef-black);
}
.btn-dark:hover { background: var(--ef-dark); color: var(--ef-white); }

.btn-white {
  background: var(--ef-white);
  color: var(--ef-red);
  border-color: var(--ef-white);
}
.btn-white:hover { background: #f0f0f0; color: var(--ef-red); }

/* ============================================================
   BLOG POST CARDS
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.post-card {
  background: var(--ef-white);
  border: 1px solid var(--ef-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: box-shadow var(--transition), transform var(--transition);
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card-image {
  overflow: hidden;
  background: var(--ef-light);
  flex-shrink: 0;
}

.post-card-image a {
  display: block;
  height: 100%;
  min-height: 180px;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-category-badge {
  display: inline-block;
  background: var(--ef-red);
  color: var(--ef-white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.post-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.post-card h2 a { color: var(--ef-black); }
.post-card h2 a:hover { color: var(--ef-red); }

.post-meta {
  font-size: 0.75rem;
  color: var(--ef-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.post-meta .sep { color: var(--ef-border); }

.post-excerpt {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ef-red);
  margin-top: auto;
}
.read-more::after {
  content: '→';
  transition: transform var(--transition);
}
.read-more:hover { color: var(--ef-red-dark); }
.read-more:hover::after { transform: translateX(3px); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 0 1rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border: 1.5px solid var(--ef-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ef-text);
  transition: all var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--ef-red);
  border-color: var(--ef-red);
  color: var(--ef-white);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-header {
  margin-bottom: 2rem;
}

.single-post-header .post-category-badge {
  margin-bottom: 1rem;
}

.single-post-header h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.single-post-header .post-meta { margin-bottom: 1.5rem; }

.single-post-featured {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.single-post-featured img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

/* Post Content */
.post-content {
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--ef-text);
}

.post-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
}

.post-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}

.post-content p { margin-bottom: 1.4rem; }

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

.post-content ul, .post-content ol {
  margin-bottom: 1.4rem;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content blockquote {
  border-left: 4px solid var(--ef-red);
  padding: 1.1rem 1.5rem;
  margin: 2rem 0;
  background: #fff8f8;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #374151;
}

.post-content blockquote cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--ef-muted);
  font-style: normal;
  font-weight: 600;
}

.post-content img {
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.post-content th {
  background: var(--ef-black);
  color: var(--ef-white);
  padding: 0.6rem 1rem;
  text-align: left;
}

.post-content td {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--ef-border);
}

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

/* Post Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ef-border);
}

.post-tags span { font-size: 0.8rem; font-weight: 600; color: var(--ef-muted); margin-right: 0.25rem; }

.tag-link {
  display: inline-block;
  background: var(--ef-light);
  color: var(--ef-text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  border: 1px solid var(--ef-border);
  transition: all var(--transition);
}
.tag-link:hover {
  background: var(--ef-red);
  color: var(--ef-white);
  border-color: var(--ef-red);
}

/* Author Box */
.author-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--ef-light);
  border-radius: var(--radius);
  border: 1px solid var(--ef-border);
  margin: 2rem 0;
}

.author-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ef-white);
  box-shadow: var(--shadow-sm);
}

.author-info h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.author-info p { font-size: 0.83rem; color: var(--ef-muted); margin: 0; }

/* Related Posts */
.related-posts {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 2px solid var(--ef-border);
}

.related-posts h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.related-posts h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1rem;
  background: var(--ef-red);
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  border: 1px solid var(--ef-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.related-card:hover { box-shadow: var(--shadow); }

.related-card-image {
  height: 140px;
  overflow: hidden;
  background: var(--ef-light);
}
.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.related-card:hover .related-card-image img { transform: scale(1.05); }

.related-card-body { padding: 0.75rem; }
.related-card-body h4 {
  font-size: 0.85rem;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}
.related-card-body h4 a { color: var(--ef-black); }
.related-card-body h4 a:hover { color: var(--ef-red); }
.related-card-body .post-meta { font-size: 0.7rem; }

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--ef-border);
  margin-top: 1rem;
}

.nav-previous, .nav-next {
  padding: 1rem;
  background: var(--ef-light);
  border: 1px solid var(--ef-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-previous:hover, .nav-next:hover {
  background: var(--ef-white);
  box-shadow: var(--shadow);
}
.nav-next { text-align: right; }

.nav-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ef-muted);
  margin-bottom: 0.3rem;
}

.nav-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ef-black);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   CTA BLOCKS
   ============================================================ */
.cta-strip {
  background: var(--ef-black);
  padding: 2.5rem 0;
  margin: 3rem 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-strip-text h3 {
  color: var(--ef-white);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.cta-strip-text p { color: rgba(255,255,255,.6); margin: 0; font-size: 0.9rem; }

.cta-products {
  background: var(--ef-light);
  border: 1px solid var(--ef-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.cta-products h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ef-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ef-border);
}

.cta-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.cta-product-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: var(--ef-white);
  border: 1px solid var(--ef-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ef-text);
  transition: all var(--transition);
}
.cta-product-link::before {
  content: '';
  width: 3px;
  height: 1rem;
  background: var(--ef-red);
  border-radius: 2px;
  flex-shrink: 0;
}
.cta-product-link:hover {
  background: var(--ef-red);
  color: var(--ef-white);
  border-color: var(--ef-red);
}
.cta-product-link:hover::before { background: var(--ef-white); }

/* In-content CTA banner */
.inline-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--ef-black) 0%, #2a0a10 100%);
  border-left: 4px solid var(--ef-red);
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}
.inline-cta-text h4 { color: var(--ef-white); font-size: 1rem; margin-bottom: 0.2rem; }
.inline-cta-text p { color: rgba(255,255,255,.6); font-size: 0.82rem; margin: 0; }
.inline-cta .btn { flex-shrink: 0; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: 90px; }

.widget {
  background: var(--ef-white);
  border: 1px solid var(--ef-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.widget-title {
  background: var(--ef-black);
  color: var(--ef-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.65rem 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-title::before {
  content: '';
  width: 3px;
  height: 0.75rem;
  background: var(--ef-red);
  border-radius: 2px;
}

.widget-body { padding: 1rem; }

/* Search widget */
.sidebar-search-form {
  display: flex;
  gap: 0;
}

.sidebar-search-form input[type="search"] {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--ef-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  color: var(--ef-text);
  background: var(--ef-white);
  outline: none;
  transition: border-color var(--transition);
}
.sidebar-search-form input[type="search"]:focus { border-color: var(--ef-red); }

.sidebar-search-form button {
  background: var(--ef-red);
  color: var(--ef-white);
  border: none;
  padding: 0.55rem 0.9rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background var(--transition);
}
.sidebar-search-form button:hover { background: var(--ef-red-dark); }

/* Recent posts widget */
.recent-posts-list { list-style: none; padding: 0; margin: 0; }
.recent-posts-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--ef-border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.recent-posts-list li:last-child { border-bottom: none; padding-bottom: 0; }

.recent-post-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ef-light);
}
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.recent-post-info a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ef-black);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-post-info a:hover { color: var(--ef-red); }
.recent-post-info .date { font-size: 0.7rem; color: var(--ef-muted); margin-top: 0.2rem; display: block; }

/* Categories widget */
.categories-list { list-style: none; padding: 0; margin: 0; }
.categories-list li {
  border-bottom: 1px solid var(--ef-border);
}
.categories-list li:last-child { border-bottom: none; }
.categories-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: var(--ef-text);
  font-weight: 500;
  transition: color var(--transition);
}
.categories-list a:hover { color: var(--ef-red); }
.categories-list .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--ef-light);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ef-muted);
}

/* Sidebar CTA widget */
.sidebar-cta {
  background: linear-gradient(145deg, var(--ef-black) 0%, #2a0a10 100%);
  border: none;
}
.sidebar-cta .widget-title { background: var(--ef-red); }
.sidebar-cta .widget-body {
  padding: 1.25rem;
  text-align: left;
}
.sidebar-cta h4 { color: var(--ef-white); font-size: 1rem; margin-bottom: 0.4rem; }
.sidebar-cta p { color: rgba(255,255,255,.6); font-size: 0.8rem; margin-bottom: 1rem; }
.sidebar-cta-links { display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-cta-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}
.sidebar-cta-links a::before { content: '›'; color: var(--ef-red); font-size: 1rem; font-weight: 700; }
.sidebar-cta-links a:hover {
  background: var(--ef-red);
  color: var(--ef-white);
  border-color: var(--ef-red);
}

/* ============================================================
   PRODUCTS GRID CTA SECTION
   ============================================================ */
.products-cta-section {
  background: var(--ef-black);
  padding: 3rem 0;
}

.products-cta-header {
  text-align: center;
  margin-bottom: 2rem;
}

.products-cta-header .products-cta-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ef-red);
  margin-bottom: 0.5rem;
}

.products-cta-header h2 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--ef-white);
  margin: 0;
  letter-spacing: -0.02em;
}

.products-cta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.products-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.products-cta-item:hover {
  background: rgba(200,16,46,.12);
  border-color: rgba(200,16,46,.3);
}

.products-cta-icon { font-size: 1.6rem; }

.products-cta-label-item {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  line-height: 1.3;
}

.products-cta-shop {
  font-size: 0.65rem;
  color: var(--ef-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .products-cta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .products-cta-grid { grid-template-columns: repeat(2, 1fr); }
  .products-cta-header h2 { font-size: 1.4rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ef-black);
  border-top: 3px solid var(--ef-red);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .site-logo-text { font-size: 1.3rem; }
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 1rem 0 1.25rem;
  color: rgba(255,255,255,.5);
}

.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact-list li {
  font-size: 0.82rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-list a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--ef-red); }

.footer-heading {
  color: var(--ef-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--ef-red); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--ef-red); }

/* ============================================================
   PAGE TITLE / ARCHIVE HEADER
   ============================================================ */
.archive-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ef-border);
}
.archive-header h1 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.archive-header h1::before {
  content: '';
  width: 5px;
  height: 1.5rem;
  background: var(--ef-red);
  border-radius: 2px;
}
.archive-header p { color: var(--ef-muted); font-size: 0.9rem; margin: 0; }

/* ============================================================
   SEARCH
   ============================================================ */
.search-form-hero {
  background: var(--ef-black);
  padding: 3rem 0;
  text-align: center;
}
.search-form-hero h1 { color: var(--ef-white); margin-bottom: 1.25rem; font-size: 2rem; }
.search-form-big {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
}
.search-form-big input[type="search"] {
  flex: 1;
  padding: 0.8rem 1.1rem;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  outline: none;
}
.search-form-big button {
  background: var(--ef-red);
  color: var(--ef-white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.search-form-big button:hover { background: var(--ef-red-dark); }

.search-count { font-size: 0.85rem; color: var(--ef-muted); margin-bottom: 1.5rem; }
.search-count strong { color: var(--ef-black); }

/* No results */
.no-results { text-align: center; padding: 3rem 0; }
.no-results h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.no-results p { color: var(--ef-muted); margin-bottom: 1.5rem; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 { text-align: center; padding: 5rem 0; }
.error-404 .error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--ef-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
}
.error-404 .error-code::after {
  content: '404';
  position: absolute;
  inset: 0;
  color: var(--ef-red);
  -webkit-text-stroke: 2px var(--ef-red);
  -webkit-text-fill-color: transparent;
}
.error-404 h1 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.error-404 p { color: var(--ef-muted); max-width: 400px; margin: 0 auto 2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .sidebar { position: static; }

  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-strip-inner { flex-direction: column; text-align: center; }

  .header-cta { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .primary-nav { display: none; }
  .primary-nav.is-open {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ef-dark);
    border-top: 2px solid var(--ef-red);
    padding: 1rem 1.5rem;
    z-index: 99;
  }
  .primary-nav.is-open ul {
    flex-direction: column;
    gap: 0.25rem;
  }
  .primary-nav.is-open ul li a { padding: 0.6rem 0.75rem; }

  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .post-card { grid-template-columns: 1fr; }
  .post-card-image a { min-height: 200px; }

  .featured-banner img { height: 260px; }
  .featured-banner-content h2 { font-size: 1.3rem; }

  .post-navigation { grid-template-columns: 1fr; }
  .nav-next { text-align: left; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .cta-products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .site-layout { padding: 1.5rem 0 2rem; }
  .related-grid { grid-template-columns: 1fr; }
  .single-post-header h1 { font-size: 1.6rem; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Google Fonts fallback notice — loaded in functions.php */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
