/**
 * Efforlab Digital - Main Stylesheet
 * Vanilla CSS, modern, responsive, high-performance
 */

/* -------------------------------------------------------------
   1. CSS Reset & Base Styles
------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ef-font-sans);
  background-color: var(--ef-bg);
  color: var(--ef-text);
  font-size: var(--ef-text-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--ef-primary);
  text-decoration: none;
  transition: color var(--ef-transition-fast);
}

a:hover {
  color: var(--ef-primary-hover);
}

ul, ol {
  list-style: none;
}

/* Accessibility Skip Link */
.ef-skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ef-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--ef-radius-sm);
  z-index: 9999;
  transition: top var(--ef-transition-fast);
  font-weight: 600;
}
.ef-skip-link:focus {
  top: 1rem;
}

/* Accessible Focus Outlines */
:focus-visible {
  outline: 2px solid var(--ef-primary);
  outline-offset: 2px;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  color: var(--ef-secondary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, var(--ef-text-5xl)); }
h2 { font-size: clamp(1.6rem, 3vw + 0.5rem, var(--ef-text-3xl)); }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, var(--ef-text-2xl)); }
h4 { font-size: var(--ef-text-xl); }
h5 { font-size: var(--ef-text-lg); }
h6 { font-size: var(--ef-text-base); }

p {
  color: var(--ef-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.65;
}
p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------
   2. Layout & Containers
------------------------------------------------------------- */
.ef-container {
  width: 100%;
  max-width: var(--ef-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ef-space-4);
  padding-right: var(--ef-space-4);
}

@media (min-width: 640px) {
  .ef-container {
    padding-left: var(--ef-space-6);
    padding-right: var(--ef-space-6);
  }
}

.ef-site-main {
  flex: 1 0 auto;
  width: 100%;
}

.ef-breadcrumbs {
  display: none !important;
}

.ef-section {
  padding-top: var(--ef-space-6);
  padding-bottom: var(--ef-space-6);
}

@media (min-width: 768px) {
  .ef-section {
    padding-top: var(--ef-space-10);
    padding-bottom: var(--ef-space-10);
  }
}

@media (min-width: 1024px) {
  .ef-section {
    padding-top: var(--ef-space-16);
    padding-bottom: var(--ef-space-16);
  }
}

.ef-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--ef-space-6);
}

@media (min-width: 768px) {
  .ef-section-header {
    margin: 0 auto var(--ef-space-10);
  }
}

.ef-section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.ef-section-subtitle {
  display: inline-block;
  font-size: var(--ef-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ef-primary);
  background: var(--ef-primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--ef-radius-full);
  margin-bottom: var(--ef-space-3);
}

.ef-section-title {
  margin-bottom: var(--ef-space-3);
}

.ef-section-desc {
  font-size: var(--ef-text-lg);
  color: var(--ef-text-muted);
}

/* -------------------------------------------------------------
   3. Buttons & Interactive Elements
------------------------------------------------------------- */
.ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ef-space-2);
  padding: 0.75rem 1.35rem;
  font-size: var(--ef-text-sm);
  font-weight: 600;
  border-radius: var(--ef-radius-md);
  border: 1px solid transparent;
  transition: all var(--ef-transition-fast);
  text-decoration: none;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
}

.ef-btn-primary {
  background-color: var(--ef-primary);
  color: #ffffff;
  box-shadow: var(--ef-shadow-sm);
}
.ef-btn-primary:hover {
  background-color: var(--ef-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--ef-shadow-md);
}

.ef-btn-secondary {
  background-color: var(--ef-secondary);
  color: #ffffff;
}
.ef-btn-secondary:hover {
  background-color: var(--ef-secondary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.ef-btn-accent {
  background-color: var(--ef-accent);
  color: #ffffff;
}
.ef-btn-accent:hover {
  background-color: var(--ef-accent-hover);
  color: #ffffff;
}

.ef-btn-outline {
  background-color: transparent;
  border-color: var(--ef-border);
  color: var(--ef-secondary);
}
.ef-btn-outline:hover {
  border-color: var(--ef-primary);
  color: var(--ef-primary);
  background-color: var(--ef-surface);
}

.ef-btn-ghost {
  background: transparent;
  color: var(--ef-text-secondary);
}
.ef-btn-ghost:hover {
  color: var(--ef-primary);
  background-color: var(--ef-primary-light);
}

.ef-btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: var(--ef-text-xs);
  border-radius: var(--ef-radius-sm);
}

.ef-btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: var(--ef-text-base);
  border-radius: var(--ef-radius-lg);
}

.ef-btn-full {
  width: 100%;
}

.ef-btn-buynow {
  background: linear-gradient(135deg, var(--ef-btn-grad-start, var(--ef-primary, #4f46e5)) 0%, var(--ef-btn-grad-end, #4338ca) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--ef-primary-glow, rgba(79, 70, 229, 0.3));
}
.ef-btn-buynow:hover {
  background: linear-gradient(135deg, var(--ef-btn-grad-hover-start, var(--ef-primary-hover, #4338ca)) 0%, var(--ef-btn-grad-hover-end, #3730a3) 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px var(--ef-primary-glow-hover, rgba(79, 70, 229, 0.42));
  transform: translateY(-1px);
}

/* -------------------------------------------------------------
   4. Header & Navigation
------------------------------------------------------------- */
.ef-site-header {
  width: 100%;
  position: relative;
  z-index: 100;
  background-color: var(--ef-surface);
  border-bottom: 1px solid var(--ef-border);
  transition: box-shadow var(--ef-transition-base);
}

/* Sticky on Desktop only (when enabled) */
@media (min-width: 1024px) {
  .ef-site-header.ef-header--sticky {
    position: sticky;
    top: 0;
  }

  .admin-bar .ef-site-header.ef-header--sticky {
    top: 32px;
  }

  .ef-site-header.ef-header--sticky.is-sticky {
    box-shadow: var(--ef-shadow-sm);
  }
}

/* Top Announcement Bar */
.ef-announcement-bar {
  background: var(--ef-secondary);
  color: #cbd5e1;
  font-size: var(--ef-text-xs);
  padding: 0.45rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ef-announcement-bar a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.5rem;
}
.ef-announcement-bar strong {
  color: var(--ef-accent);
}

/* Header Main Bar */
.ef-header-main {
  height: var(--ef-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ef-space-4);
}

/* Site Branding / Logo */
.ef-site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ef-site-logo {
  max-height: 40px;
  width: auto;
}
.ef-site-title {
  font-size: var(--ef-text-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ef-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ef-site-title span {
  color: var(--ef-primary);
}

/* Desktop Navigation Menu */
.ef-desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .ef-desktop-nav {
    display: flex;
    align-items: center;
  }
}

.ef-menu-main {
  display: flex;
  align-items: center;
  gap: var(--ef-space-1);
}

.ef-menu-main > li {
  position: relative;
}

.ef-menu-main > li > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.95rem;
  color: var(--ef-text-secondary);
  font-size: var(--ef-text-sm);
  font-weight: 500;
  border-radius: var(--ef-radius-sm);
  transition: all var(--ef-transition-fast);
}

.ef-menu-main > li > a:hover,
.ef-menu-main > li.current-menu-item > a {
  color: var(--ef-primary);
  background-color: var(--ef-primary-light);
}

/* Dropdown Parent Indicator */
.ef-menu-main > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.25rem;
  margin-bottom: 2px;
  transition: transform var(--ef-transition-fast);
}

.ef-menu-main > li.menu-item-has-children:hover > a::after,
.ef-menu-main > li.menu-item-has-children:focus-within > a::after {
  transform: rotate(-135deg);
}

/* Dropdown Sub-menu */
.ef-menu-main .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--ef-surface);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-md);
  box-shadow: var(--ef-shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--ef-transition-base);
  z-index: 100;
}

.ef-menu-main > li:hover > .sub-menu,
.ef-menu-main > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ef-menu-main .sub-menu li {
  position: relative;
}

.ef-menu-main .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}

.ef-menu-main .sub-menu li a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: var(--ef-text-sm);
  color: var(--ef-text-secondary);
  border-radius: var(--ef-radius-sm);
  transition: all var(--ef-transition-fast);
}

.ef-menu-main .sub-menu li a:hover {
  background-color: var(--ef-surface-subtle);
  color: var(--ef-primary);
}

.ef-menu-main .sub-menu li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  float: right;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 6px;
}

/* Header CTA Button */
.ef-header-cta-btn {
  white-space: nowrap;
  padding: 0.45rem 1.1rem;
  font-size: var(--ef-text-xs);
  font-weight: 600;
  border-radius: var(--ef-radius-sm);
  margin-left: var(--ef-space-1);
}

/* Header Actions (Search, Account, Cart) */
.ef-header-actions {
  display: flex;
  align-items: center;
  gap: var(--ef-space-2);
}

.ef-header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--ef-radius-md);
  color: var(--ef-text-secondary);
  background-color: transparent;
  border: 1px solid transparent;
  position: relative;
  transition: all var(--ef-transition-fast);
}

.ef-header-icon-btn:hover {
  color: var(--ef-primary);
  background-color: var(--ef-surface-subtle);
}

.ef-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--ef-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--ef-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Mobile Menu Toggle Button */
.ef-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--ef-radius-md);
  color: var(--ef-text-secondary);
}

@media (min-width: 1024px) {
  .ef-mobile-toggle {
    display: none;
  }
}

/* Off-canvas Mobile Drawer */
.ef-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--ef-transition-base), visibility var(--ef-transition-base);
}

.ef-mobile-drawer.is-active {
  visibility: visible;
  opacity: 1;
}

.ef-drawer-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.ef-drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background-color: var(--ef-surface);
  box-shadow: var(--ef-shadow-xl);
  transform: translateX(-100%);
  transition: transform var(--ef-transition-smooth);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: var(--ef-space-5);
}

.ef-mobile-drawer.is-active .ef-drawer-content {
  transform: translateX(0);
}

.ef-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--ef-space-4);
  border-bottom: 1px solid var(--ef-border);
  margin-bottom: var(--ef-space-4);
}

.ef-drawer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--ef-space-1);
}

.ef-drawer-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: var(--ef-text-base);
  font-weight: 500;
  color: var(--ef-text-secondary);
  border-radius: var(--ef-radius-sm);
}

.ef-drawer-nav a:hover {
  background-color: var(--ef-surface-subtle);
  color: var(--ef-primary);
}

.ef-drawer-nav .sub-menu {
  padding-left: var(--ef-space-3);
  margin-top: var(--ef-space-1);
  margin-bottom: var(--ef-space-1);
  border-left: 2px solid var(--ef-border);
  display: flex;
  flex-direction: column;
  gap: var(--ef-space-1);
}

.ef-drawer-nav .sub-menu a {
  font-size: var(--ef-text-sm);
  padding: 0.45rem 0.65rem;
  color: var(--ef-text-muted);
}

.ef-drawer-nav .sub-menu a:hover {
  color: var(--ef-primary);
}

.ef-drawer-footer {
  margin-top: auto;
  padding-top: var(--ef-space-6);
  border-top: 1px solid var(--ef-border);
  display: flex;
  flex-direction: column;
  gap: var(--ef-space-3);
}

/* Header Live Search Modal / Dropdown */
.ef-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  padding-top: 10vh;
  padding-left: var(--ef-space-4);
  padding-right: var(--ef-space-4);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--ef-transition-fast), visibility var(--ef-transition-fast);
}

.ef-search-modal.is-active {
  visibility: visible;
  opacity: 1;
}

.ef-search-modal-box {
  width: 100%;
  max-width: 600px;
  background-color: var(--ef-surface);
  border-radius: var(--ef-radius-lg);
  box-shadow: var(--ef-shadow-xl);
  overflow: hidden;
  height: fit-content;
}

.ef-search-form-inner {
  display: flex;
  align-items: center;
  padding: var(--ef-space-4);
  border-bottom: 1px solid var(--ef-border);
}

.ef-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--ef-text-lg);
  padding-left: var(--ef-space-3);
  color: var(--ef-text);
  background: transparent;
}

.ef-search-quick-tags {
  padding: var(--ef-space-4);
  font-size: var(--ef-text-xs);
  color: var(--ef-text-muted);
}
.ef-search-quick-tags span {
  font-weight: 600;
  margin-right: 0.5rem;
}
.ef-search-quick-tags a {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background-color: var(--ef-surface-subtle);
  border-radius: var(--ef-radius-full);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  color: var(--ef-text-secondary);
}
.ef-search-quick-tags a:hover {
  background-color: var(--ef-primary-light);
  color: var(--ef-primary);
}

/* -------------------------------------------------------------
   5. Hero Section
------------------------------------------------------------- */
.ef-hero-section {
  position: relative;
  background: radial-gradient(100% 100% at 50% 0%, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--ef-border);
  padding: var(--ef-space-12) 0 var(--ef-space-16);
  text-align: center;
  overflow: hidden;
}

.ef-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background-color: #ffffff;
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-full);
  font-size: var(--ef-text-xs);
  font-weight: 600;
  color: var(--ef-secondary);
  box-shadow: var(--ef-shadow-xs);
  margin-bottom: var(--ef-space-4);
}

.ef-hero-badge-pill {
  background-color: var(--ef-primary);
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--ef-radius-full);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.ef-hero-title {
  max-width: 840px;
  margin: 0 auto var(--ef-space-4);
}

.ef-hero-title span {
  background: linear-gradient(135deg, var(--ef-primary) 0%, var(--ef-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ef-hero-description {
  max-width: 640px;
  margin: 0 auto var(--ef-space-8);
  font-size: var(--ef-text-lg);
  color: var(--ef-text-secondary);
}

/* Hero Search Bar */
.ef-hero-search {
  max-width: 620px;
  margin: 0 auto var(--ef-space-8);
  position: relative;
}

.ef-hero-search-form {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 2px solid var(--ef-border);
  border-radius: var(--ef-radius-xl);
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  box-shadow: var(--ef-shadow-lg);
  transition: border-color var(--ef-transition-fast);
}

.ef-hero-search-form:focus-within {
  border-color: var(--ef-primary);
}

.ef-hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--ef-text-base);
  background: transparent;
  color: var(--ef-text);
}

/* Trust / Feature Badges in Hero */
.ef-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--ef-space-6);
  font-size: var(--ef-text-sm);
  color: var(--ef-text-muted);
}

.ef-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.ef-hero-trust-item svg {
  color: var(--ef-success);
}

/* -------------------------------------------------------------
   6. Features / Benefits Section
------------------------------------------------------------- */
.ef-features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--ef-space-6);
}

@media (min-width: 640px) {
  .ef-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ef-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ef-feature-card {
  background-color: var(--ef-surface);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-lg);
  padding: var(--ef-space-6);
  text-align: left;
  transition: transform var(--ef-transition-base), box-shadow var(--ef-transition-base);
}

.ef-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ef-shadow-md);
  border-color: var(--ef-primary-light);
}

.ef-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ef-radius-md);
  background-color: var(--ef-primary-light);
  color: var(--ef-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ef-space-4);
}

.ef-feature-title {
  font-size: var(--ef-text-base);
  font-weight: 700;
  margin-bottom: var(--ef-space-2);
}

.ef-feature-desc {
  font-size: var(--ef-text-sm);
  color: var(--ef-text-muted);
  margin-bottom: 0;
}

/* -------------------------------------------------------------
   7. Categories Grid
------------------------------------------------------------- */
.ef-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ef-space-4);
}

@media (min-width: 768px) {
  .ef-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .ef-categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.ef-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--ef-surface);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-lg);
  padding: var(--ef-space-5) var(--ef-space-3);
  text-decoration: none;
  transition: all var(--ef-transition-base);
}

.ef-category-card:hover {
  border-color: var(--ef-primary);
  transform: translateY(-2px);
  box-shadow: var(--ef-shadow-md);
}

.ef-category-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--ef-radius-full);
  background-color: var(--ef-surface-subtle);
  color: var(--ef-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ef-space-3);
  transition: background-color var(--ef-transition-fast);
}

.ef-category-card:hover .ef-category-icon {
  background-color: var(--ef-primary-light);
}

.ef-category-name {
  font-size: var(--ef-text-sm);
  font-weight: 700;
  color: var(--ef-secondary);
  margin-bottom: 0.2rem;
}

.ef-category-count {
  font-size: var(--ef-text-xs);
  color: var(--ef-text-muted);
}

/* -------------------------------------------------------------
   8. Promo & Testimonials
------------------------------------------------------------- */
.ef-promo-banner {
  background: linear-gradient(135deg, var(--ef-secondary) 0%, #1e1b4b 100%);
  border-radius: var(--ef-radius-xl);
  padding: var(--ef-space-8) var(--ef-space-6);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--ef-space-8) 0;
}

@media (min-width: 768px) {
  .ef-promo-banner {
    padding: var(--ef-space-12) var(--ef-space-10);
  }
}

.ef-promo-banner h2 {
  color: #ffffff;
  margin-bottom: var(--ef-space-3);
}

.ef-promo-banner p {
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: var(--ef-space-6);
  font-size: var(--ef-text-lg);
}

.ef-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--ef-space-6);
}

@media (min-width: 768px) {
  .ef-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ef-testimonial-card {
  background-color: var(--ef-surface);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-lg);
  padding: var(--ef-space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ef-rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  margin-bottom: var(--ef-space-3);
}

.ef-rating-stars svg {
  fill: #f59e0b !important;
  stroke: #f59e0b !important;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ef-rating-stars svg.ef-star-empty {
  fill: none !important;
  stroke: #cbd5e1 !important;
  color: #cbd5e1 !important;
}

.ef-testimonial-text {
  font-size: var(--ef-text-sm);
  color: var(--ef-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--ef-space-4);
  font-style: italic;
}

.ef-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--ef-space-3);
}

.ef-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--ef-radius-full);
  background-color: var(--ef-surface-subtle);
  overflow: hidden;
}

.ef-author-name {
  font-size: var(--ef-text-sm);
  font-weight: 700;
  color: var(--ef-secondary);
}

.ef-author-role {
  font-size: var(--ef-text-xs);
  color: var(--ef-text-muted);
}

/* -------------------------------------------------------------
   9. FAQ Accordion
------------------------------------------------------------- */
.ef-faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--ef-space-3);
}

.ef-faq-item {
  background-color: var(--ef-surface);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-md);
  overflow: hidden;
  transition: border-color var(--ef-transition-fast);
}

.ef-faq-item.is-open {
  border-color: var(--ef-primary);
}

.ef-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ef-space-4) var(--ef-space-5);
  font-size: var(--ef-text-base);
  font-weight: 600;
  color: var(--ef-secondary);
  text-align: left;
}

.ef-faq-icon {
  flex-shrink: 0;
  transition: transform var(--ef-transition-fast);
  color: var(--ef-text-muted);
}

.ef-faq-item.is-open .ef-faq-icon {
  transform: rotate(180deg);
  color: var(--ef-primary);
}

.ef-faq-answer {
  display: none;
  padding: 0 var(--ef-space-5) var(--ef-space-5);
  color: var(--ef-text-secondary);
  font-size: var(--ef-text-sm);
  line-height: 1.6;
}

.ef-faq-item.is-open .ef-faq-answer {
  display: block;
}

/* -------------------------------------------------------------
   10. Footer
------------------------------------------------------------- */
.ef-site-footer {
  background-color: var(--ef-surface);
  border-top: 1px solid var(--ef-border);
  padding-top: var(--ef-space-12);
  margin-top: auto;
}

.ef-footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--ef-space-8);
  padding-bottom: var(--ef-space-12);
}

@media (min-width: 640px) {
  .ef-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ef-footer-grid,
  .ef-footer-grid--4-cols {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  .ef-footer-grid--1-cols {
    grid-template-columns: 1fr;
  }
  .ef-footer-grid--2-cols {
    grid-template-columns: 1.5fr 1fr;
  }
  .ef-footer-grid--3-cols {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.ef-footer-widget h4,
.ef-footer-col h4,
.ef-footer-col .ef-footer-title,
.ef-footer-col .widget-title {
  font-size: var(--ef-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ef-secondary);
  margin-bottom: var(--ef-space-4);
}

.ef-footer-col .widget {
  margin-bottom: var(--ef-space-6);
}

.ef-footer-col .widget:last-child {
  margin-bottom: 0;
}

.ef-footer-col p {
  font-size: var(--ef-text-sm);
  color: var(--ef-text-secondary);
  line-height: 1.6;
}

.ef-footer-links,
.ef-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ef-footer-links a,
.ef-footer-col ul li a {
  font-size: var(--ef-text-sm);
  color: var(--ef-text-secondary);
  text-decoration: none;
  transition: color var(--ef-transition-fast);
}

.ef-footer-links a:hover,
.ef-footer-col ul li a:hover {
  color: var(--ef-primary);
}

/* -------------------------------------------------------------
   Social Media Links & Widget
------------------------------------------------------------- */
.ef-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}

.ef-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--ef-radius-md);
  background-color: var(--ef-surface-subtle);
  border: 1px solid var(--ef-border);
  color: var(--ef-text-secondary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
}

.ef-social-link:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ef-social-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.ef-social-link:hover svg {
  transform: scale(1.1);
}

.ef-social-link--whatsapp:hover { background-color: #25D366; }
.ef-social-link--instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.ef-social-link--tiktok:hover {
  background-color: #000000;
  box-shadow: -2px -2px 0px #25F4EE, 2px 2px 0px #FE2C55;
}
.ef-social-link--facebook:hover { background-color: #1877F2; }
.ef-social-link--x:hover,
.ef-social-link--twitter:hover { background-color: #0f1419; }
.ef-social-link--youtube:hover { background-color: #FF0000; }
.ef-social-link--telegram:hover { background-color: #26A5E4; }
.ef-social-link--linkedin:hover { background-color: #0A66C2; }
.ef-social-link--github:hover { background-color: #24292e; }
.ef-social-link--globe:hover { background-color: var(--ef-primary); }

.ef-social-widget-desc {
  font-size: var(--ef-text-sm);
  color: var(--ef-text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.ef-footer-social-wrap {
  margin-top: 1.25rem;
}

.ef-footer-bottom {
  border-top: 1px solid var(--ef-border);
  padding: var(--ef-space-6) 0;
  font-size: var(--ef-text-xs);
  color: var(--ef-text-muted);
}

.ef-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ef-space-4);
  text-align: center;
}

@media (min-width: 768px) {
  .ef-footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.ef-payment-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ef-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 0.5rem;
  background-color: var(--ef-surface-subtle);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-sm);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ef-text-secondary);
}

/* -------------------------------------------------------------
   11. Toast Notifications
------------------------------------------------------------- */
.ef-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ef-toast {
  background-color: var(--ef-secondary);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--ef-radius-md);
  box-shadow: var(--ef-shadow-lg);
  font-size: var(--ef-text-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: efSlideIn 0.25s ease-out;
}

@keyframes efSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* -------------------------------------------------------------
   12. Single Article & Editorial Typography (Clean Modern Minimalist)
------------------------------------------------------------- */
body.single,
body.single-post,
body.single .ef-site-main,
body.single-post .ef-site-main,
.ef-single-article-wrap {
  background-color: #ffffff !important;
}

.ef-single-article-wrap {
  padding: clamp(2rem, 5vw, 4rem) 0 var(--ef-space-16);
}

.ef-container-post {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.ef-single-article {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Article Header */
.ef-article-header {
  margin-bottom: 2.5rem;
}

.ef-article-badge-row {
  margin-bottom: 0.85rem;
}

.ef-article-cat-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ef-primary);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.ef-article-cat-badge:hover {
  opacity: 0.75;
}

.ef-article-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.24;
  color: var(--ef-text);
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
}

.ef-article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ef-text-muted);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--ef-border);
}

.ef-article-author {
  display: flex;
  align-items: center;
}

.ef-article-author-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ef-text);
  font-weight: 600;
  transition: color 0.15s ease;
}

.ef-article-author-link:hover .ef-article-author-name {
  color: var(--ef-primary);
}

.ef-article-author-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
}

.ef-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ef-meta-comments-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ef-meta-comments-link:hover {
  color: var(--ef-primary);
}

.ef-meta-sep {
  color: var(--ef-border);
  font-size: 0.85em;
  user-select: none;
}

/* Featured Hero Image */
.ef-article-featured-hero {
  margin: 0 0 3rem;
}

.ef-article-featured-inner {
  border-radius: 14px;
  overflow: hidden;
  background: var(--ef-surface-subtle);
}

.ef-article-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

.ef-article-featured-caption {
  font-size: 0.8125rem;
  color: var(--ef-text-muted);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

/* Editorial Body Typography (Clean & Easy to Read) */
.ef-article-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--ef-text);
}

.ef-article-content p {
  margin-bottom: 1.75rem;
}

.ef-article-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ef-text);
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.ef-article-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ef-text);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.ef-article-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ef-text);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.ef-article-content a {
  color: var(--ef-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.ef-article-content a:hover {
  color: var(--ef-primary-hover);
}

.ef-article-content blockquote {
  margin: 2.25rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-left: 3px solid var(--ef-primary);
  background: transparent;
  font-style: italic;
  font-size: 1.18rem;
  color: var(--ef-text-secondary);
  line-height: 1.75;
}

.ef-article-content blockquote p:last-child {
  margin-bottom: 0;
}

.ef-article-content ul,
.ef-article-content ol {
  margin: 0 0 1.75rem 1.5rem;
  padding: 0;
}

.ef-article-content li {
  margin-bottom: 0.5rem;
}

.ef-article-content code {
  background: var(--ef-surface-subtle);
  color: var(--ef-primary);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--ef-font-mono);
  font-size: 0.88em;
}

.ef-article-content pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  font-family: var(--ef-font-mono);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 2rem 0;
}

.ef-article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
  font-size: inherit;
}

.ef-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: var(--ef-text-sm);
  border: 1px solid var(--ef-border);
  border-radius: 8px;
  overflow: hidden;
}

.ef-article-content th {
  background: var(--ef-surface-subtle);
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--ef-border);
  color: var(--ef-text);
}

.ef-article-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ef-border);
}

.ef-article-content img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  margin: 1.75rem 0;
}

.ef-article-content figure {
  margin: 2rem 0;
}

.ef-article-content figcaption {
  font-size: var(--ef-text-xs);
  color: var(--ef-text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* Multi-page links */
.ef-page-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  font-size: var(--ef-text-sm);
  font-weight: 600;
}

.ef-page-links-title {
  color: var(--ef-text-muted);
}

.ef-page-links a,
.ef-page-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--ef-radius-md);
  border: 1px solid var(--ef-border);
  text-decoration: none;
  color: var(--ef-text);
}

.ef-page-links > span {
  background: var(--ef-primary);
  color: #ffffff;
  border-color: var(--ef-primary);
}

/* Article Tags (Minimalist Pills) */
.ef-article-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ef-border);
}

.ef-tags-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ef-text-muted);
}

.ef-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ef-tag-pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--ef-surface-subtle);
  border-radius: 9999px;
  font-size: 0.785rem;
  color: var(--ef-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
}

.ef-tag-pill:hover {
  background: var(--ef-primary-light);
  color: var(--ef-primary);
}

/* Share Buttons Bar (Clean & Sleek) */
.ef-article-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ef-border);
  border-bottom: 1px solid var(--ef-border);
  margin-top: 1.5rem;
  background: transparent;
  border-radius: 0;
}

.ef-share-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ef-text-secondary);
}

.ef-share-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ef-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.785rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--ef-surface-subtle);
  color: var(--ef-text);
  border: 1px solid var(--ef-border);
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.ef-share-btn:hover {
  background: var(--ef-surface);
  border-color: var(--ef-text-muted);
  color: var(--ef-text);
  transform: translateY(-1px);
}

.ef-share-whatsapp:hover {
  color: #16a34a;
  border-color: #16a34a;
}

.ef-share-twitter:hover {
  color: #0f172a;
  border-color: #0f172a;
}

.ef-share-facebook:hover {
  color: #1877f2;
  border-color: #1877f2;
}

.ef-share-linkedin:hover {
  color: #0a66c2;
  border-color: #0a66c2;
}

.ef-share-copy.is-copied {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* Author Bio (Clean Editorial Byline) */
.ef-author-bio-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--ef-border);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-top: 0;
}

.ef-author-bio-avatar img {
  border-radius: 50%;
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.ef-author-bio-content {
  flex-grow: 1;
}

.ef-author-bio-label {
  font-size: 0.75rem;
  color: var(--ef-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: block;
}

.ef-author-bio-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ef-text);
  margin: 0.15rem 0 0.35rem;
}

.ef-author-bio-desc {
  font-size: 0.925rem;
  color: var(--ef-text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.ef-author-all-posts {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ef-primary);
  text-decoration: none;
}

.ef-author-all-posts:hover {
  text-decoration: underline;
}

/* Post Navigation (Clean Split) */
.ef-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--ef-border);
}

.ef-post-nav-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.ef-post-nav-card:hover {
  opacity: 0.85;
}

.ef-post-nav-card.is-empty {
  visibility: hidden;
}

.ef-nav-direction {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--ef-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.ef-nav-next .ef-nav-direction {
  justify-content: flex-end;
}

.ef-nav-next .ef-nav-title {
  text-align: right;
}

.ef-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ef-text);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.ef-post-nav-card:hover .ef-nav-title {
  color: var(--ef-primary);
}

/* Related Articles (Clean Cards) */
.ef-related-articles {
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid var(--ef-border);
}

.ef-related-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ef-text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.ef-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.ef-related-card {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.ef-related-thumb-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.ef-related-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.ef-related-card:hover .ef-related-thumb {
  transform: scale(1.03);
}

.ef-related-body {
  padding: 0;
}

.ef-related-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ef-text-muted);
  margin-bottom: 0.35rem;
}

.ef-related-cat {
  color: var(--ef-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.ef-related-post-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.ef-related-post-title a {
  color: var(--ef-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.ef-related-post-title a:hover {
  color: var(--ef-primary);
}

/* -------------------------------------------------------------
   13. Comments Section Styling (Clean & Modern)
------------------------------------------------------------- */
.ef-comments-area {
  padding-top: 3rem;
}

.ef-comments-header {
  margin-bottom: 1.75rem;
}

.ef-comments-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ef-text);
}

.ef-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.ef-comment-list .comment {
  margin-bottom: 1.75rem;
}

.ef-comment-list .comment-body {
  background: var(--ef-surface-subtle);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--ef-border-light);
}

.ef-comment-list .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1rem;
}

.comment-meta {
  margin-bottom: 0.75rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-author .avatar {
  border-radius: 50%;
  display: block;
}

.comment-author .fn {
  font-weight: 700;
  color: var(--ef-text);
  font-style: normal;
  font-size: var(--ef-text-sm);
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  font-size: var(--ef-text-xs);
  color: var(--ef-text-muted);
  margin-top: 0.2rem;
}

.comment-metadata a {
  color: inherit;
  text-decoration: none;
}

.comment-metadata a:hover {
  color: var(--ef-primary);
}

.comment-content {
  font-size: var(--ef-text-sm);
  color: var(--ef-text);
  line-height: 1.65;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-body .reply {
  margin-top: 0.75rem;
  text-align: right;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--ef-radius-sm);
  font-size: var(--ef-text-xs);
  font-weight: 600;
  color: var(--ef-primary);
  background: var(--ef-primary-light);
  text-decoration: none;
  transition: all 0.15s ease;
}

.comment-reply-link:hover {
  background: var(--ef-primary);
  color: #ffffff;
}

.ef-no-comments {
  font-size: var(--ef-text-sm);
  color: var(--ef-text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Comment Form */
.comment-respond {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ef-border);
}

.comment-reply-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ef-text);
  margin-bottom: 0.75rem;
}

.comment-reply-title small {
  margin-left: 0.75rem;
}

#cancel-comment-reply-link {
  font-size: var(--ef-text-xs);
  font-weight: 500;
  color: var(--ef-error);
  text-decoration: underline;
}

.ef-comment-notes {
  font-size: var(--ef-text-xs);
  color: var(--ef-text-muted);
  margin-bottom: 1.25rem;
}

.ef-comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ef-comment-form-field {
  margin-bottom: 1rem;
}

.ef-comment-form-field label {
  display: block;
  font-size: var(--ef-text-xs);
  font-weight: 600;
  color: var(--ef-text);
  margin-bottom: 0.35rem;
}

.ef-comment-form-field input,
.ef-comment-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-md);
  font-size: var(--ef-text-sm);
  font-family: inherit;
  color: var(--ef-text);
  background: var(--ef-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ef-comment-form-field input:focus,
.ef-comment-form-field textarea:focus {
  border-color: var(--ef-primary);
  box-shadow: 0 0 0 3px var(--ef-primary-light);
  outline: none;
}

.form-submit {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .ef-comment-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ef-post-navigation {
    grid-template-columns: 1fr;
  }

  .ef-nav-next .ef-nav-direction,
  .ef-nav-next .ef-nav-title {
    text-align: left;
    justify-content: flex-start;
  }

  .ef-article-share-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ef-author-bio-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

