/* ==========================================================================
   PAYASTI (পয়স্তি) - MODERN DESIGN SYSTEM & STYLESHEET
   Handcrafted, Semantic, Zero Oxygen Builder Legacy
   ========================================================================== */

/* 1. Typography & Webfonts */
@font-face {
  font-family: 'Kalpurush';
  src: url('/fonts/kalpurush.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'payasti_uni';
  src: url('/fonts/kalpurush.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Global CSS Design Tokens & Theming */
:root {
  /* Brand Identity */
  --brand-primary: #068200;
  --brand-primary-hover: #056800;
  --brand-dark: #075603;
  --brand-light: #f0ffef;
  --brand-light-border: #d4f5d8;

  /* Typography */
  --font-base: 'Kalpurush', 'payasti_uni', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-weight-body: 500;
  --font-weight-medium: 600;
  --font-weight-bold: 700;
  --font-weight-heavy: 800;
  
  /* Light Mode (Default) */
  --bg-body: #f5f5f5;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-featured: #f0ffef;
  --bg-header: #ffffff;
  --bg-footer: #ffffff;
  --bg-input: #ffffff;
  --bg-muted: #f8fafc;
  
  --text-main: #2b2316;
  --text-heading: #111827;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-link-hover: #068200;
  
  --border-color: #e2e8f0;
  --border-card: #e2e8f0;
  --border-featured: #d5eed7;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0px 15px 35px rgba(125, 125, 125, 0.08);
  --shadow-hover: 0px 20px 45px rgba(125, 125, 125, 0.16);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --container-max-width: 1440px;
}

/* Sepia Mode */
html.theme-sepia {
  --bg-body: #f7efe1;
  --bg-surface: #fcf6ee;
  --bg-card: #fcf6ee;
  --bg-card-featured: #f5ebd9;
  --bg-header: #ede2d1;
  --bg-footer: #ede2d1;
  --bg-input: #fbf3e6;
  --bg-muted: #ede2d1;
  
  --text-main: #342414;
  --text-heading: #1e1105;
  --text-muted: #4e3c2b;
  --text-light: #6e5842;
  --text-link-hover: #075603;
  
  --border-color: #dfd0bc;
  --border-card: #dfd0bc;
  --border-featured: #d6be9f;
  
  --shadow-card: 0 4px 15px rgba(61, 47, 31, 0.05);
  --shadow-hover: 0 8px 25px rgba(61, 47, 31, 0.1);
}

/* Dark Mode (Night Mode) */
html.theme-dark {
  --bg-body: #0d1117;
  --bg-surface: #161b22;
  --bg-card: #161b22;
  --bg-card-featured: #1c2430;
  --bg-header: #161b22;
  --bg-footer: #161b22;
  --bg-input: #0d1117;
  --bg-muted: #21262d;
  
  --text-main: #dbe4ee;
  --text-heading: #ffffff;
  --text-muted: #9ba7b4;
  --text-light: #9ba7b4;
  --text-link-hover: #38bdf8;
  
  --border-color: #30363d;
  --border-card: #30363d;
  --border-featured: #38495c;
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* 3. Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font-base) !important;
  font-weight: 500;
  font-feature-settings: "ss01" 1;
  -webkit-font-feature-settings: "ss01" 1;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base) !important;
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 4. Global Container */
.site-container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* 5. Header & Navigation */
.site-header {
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-nav-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-logo-link {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 48px;
  width: auto;
}

/* Desktop Main Menu */
.main-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-heading);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-menu-item:hover,
.nav-menu-item.current-menu-item {
  color: var(--brand-primary);
  background-color: rgba(6, 130, 0, 0.08);
}

/* Nav Dropdown */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  width: 13px;
  height: 13px;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  min-width: 220px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 9px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: rgba(6, 130, 0, 0.08);
  color: var(--brand-primary);
}

.dropdown-item-all {
  border-bottom: 1px solid var(--border-color);
  border-radius: 6px 6px 0 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-primary);
  margin-bottom: 2px;
  padding-bottom: 9px;
}

/* Author Panel Button */
.btn-author-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-dark);
  color: #ffffff !important;
  padding: 7px 16px;
  font-size: 19.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: background-color 0.2s ease;
}

.btn-author-panel:hover {
  background-color: var(--brand-primary);
}

/* Header Action Group (Theme & Search) */
.header-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Highlighted Header CTA Button: বই রিভিউ পাঠান */
.header-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: var(--brand-primary, #075603);
  background-image: linear-gradient(135deg, #075603 0%, #066d03 100%);
  color: #ffffff !important;
  font-family: 'Kalpurush', 'payasti_uni', 'Hind Siliguri', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(7, 86, 3, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.header-review-btn:hover {
  background-color: #053b02;
  background-image: linear-gradient(135deg, #053b02 0%, #075603 100%);
  color: #ffffff !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(7, 86, 3, 0.38);
}

.header-review-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(7, 86, 3, 0.2);
}

.header-review-btn.active {
  background-color: #053b02;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 4px #075603;
}

.header-review-btn-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header-review-btn:hover .header-review-btn-icon {
  transform: scale(1.12);
}

/* Dark mode & Sepia overrides */
html.theme-dark .header-review-btn {
  background-color: #068200;
  background-image: linear-gradient(135deg, #075603 0%, #068200 100%);
  box-shadow: 0 2px 10px rgba(6, 130, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
}

html.theme-dark .header-review-btn:hover {
  background-color: #075603;
  box-shadow: 0 4px 16px rgba(6, 130, 0, 0.5);
}

html.theme-sepia .header-review-btn {
  background-color: #075603;
  color: #ffffff !important;
}

/* Mobile Drawer Review CTA Button (Hidden on Desktop, Visible on Mobile Menu) */
.mobile-drawer-review-cta {
  display: none !important;
}

@media (max-width: 992px) {
  .mobile-drawer-review-cta {
    display: block !important;
    padding: 8px 4px 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
  }
}

.header-theme-toggle-btn,
.header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-theme-toggle-btn:hover,
.header-search-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: scale(1.05);
}

.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-icon-default svg { color: #eab308; }
.theme-icon-sepia svg { color: #92400e; }
.theme-icon-dark svg { color: #38bdf8; }

/* Mobile Menu Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* 6. Search Overlay Modal */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px;
}

.search-modal-overlay.active {
  display: flex;
}

.search-modal-content {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 680px;
  padding: 24px;
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.search-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
}

.search-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.search-input-group {
  display: flex;
  gap: 8px;
}

.search-input-field {
  flex: 1;
  padding: 12px 18px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 18px;
  outline: none;
}

.search-input-field:focus {
  border-color: var(--brand-primary);
}

.search-submit-btn {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.search-results-dropdown {
  margin-top: 16px;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.15s ease;
}

.search-result-item:hover {
  background-color: rgba(6, 130, 0, 0.06);
}

.search-res-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
}

.search-res-author {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 7. Homepage Sections */
.site-section {
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-books {
  background-color: var(--bg-body);
}

.section-featured {
  background-color: var(--bg-body);
}

.section-latest {
  background-color: var(--bg-body);
  border-bottom: none;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 33px;
  font-weight: 700;
  color: var(--text-heading);
}

.section-header-link {
  font-size: 19px;
  color: var(--brand-dark);
  font-weight: 700;
  transition: color 0.2s ease;
}

.section-header-link:hover {
  color: var(--brand-primary);
}

/* 8. Books Showcase Carousel */
.carousel-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-btn:hover:not(:disabled) {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.books-carousel-wrapper {
  position: relative;
  width: 100%;
}

.books-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 4px 15px 4px;
}

.books-carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-book-card-item {
  flex: 0 0 calc((100% - (20px * 4)) / 5);
  min-width: 180px;
}

.carousel-float-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.carousel-float-arrow.prev { left: -18px; }
.carousel-float-arrow.next { right: -18px; }

.carousel-float-arrow:hover:not(:disabled) {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateY(-50%) scale(1.08);
}

.carousel-float-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

/* Book Card Component */
.book-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
  padding: 16px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.book-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-cover-wrap {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background-color: var(--bg-muted);
}

.book-cover-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.book-cover-placeholder {
  font-size: 48px;
  padding: 60px 0;
  color: var(--text-light);
}

.book-card-author {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.book-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.4;
}

.book-card-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.book-price-regular {
  font-size: 17.5px;
  color: #94a3b8;
  text-decoration: line-through;
}

.book-price-final {
  font-size: 23px;
  font-weight: 800;
  color: var(--brand-dark);
}

/* 9. Posts Grid (4 Columns) */
.posts-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
}

/* Post Card Component */
.post-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  padding: 20px 20px 16px 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
}

.post-card--featured {
  background-color: var(--bg-card-featured);
  border-color: var(--border-featured);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.post-card-body {
  display: flex;
  flex-direction: column;
}

.post-card-author-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.post-card-avatar-wrap {
  flex-shrink: 0;
}

.post-card-avatar-img,
.post-card-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.post-card-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(6, 130, 0, 0.12);
  color: var(--brand-primary);
  font-size: 20px;
  font-weight: 700;
}

.post-card-titles-wrap {
  display: flex;
  flex-direction: column;
}

.post-card-author-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
  margin-bottom: 4px;
}

.post-card-author-name:hover {
  color: var(--brand-primary);
}

.post-card-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.post-card-title:hover {
  color: var(--brand-primary);
}

.post-card-excerpt {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.48;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 18px;
}

.post-card-category-link {
  color: var(--brand-dark);
  font-weight: 700;
}

.post-card-category-link:hover {
  color: var(--brand-primary);
}

.post-card-date {
  color: var(--text-light);
}

/* 10. Single Post Reading Page */
.single-post-page {
  padding-top: 30px;
  padding-bottom: 50px;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.article-main {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 20px;
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.article-author-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-primary);
}

.article-author-name:hover {
  color: var(--brand-primary-hover);
}

.header-meta-sep {
  color: var(--text-light);
}

.article-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid var(--brand-light-border);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.article-meta-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17.5px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.article-meta-rating strong {
  font-weight: 700;
  color: #92400e;
}

.top-rating-count {
  font-size: 15px;
  color: #b45309;
}

.article-title {
  font-size: 43px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
}

/* In-Article Reader Toolbar */
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  margin: 18px 0 26px 0;
}

.reader-toolbar-left,
.reader-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reader-toolbar-label {
  font-size: 16.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.reader-font-controls {
  display: inline-flex;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.reader-font-btn {
  background: transparent;
  border: none;
  min-width: 32px;
  height: 28px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.reader-font-btn:hover {
  background-color: var(--bg-muted);
  color: var(--brand-primary);
}

.article-featured-image-wrap {
  margin-bottom: 26px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Article Body Content Typography */
.article-content-body,
.single-article-content-body {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--text-main);
}

.article-content-body p {
  margin-bottom: 20px;
}

.article-content-body h2,
.article-content-body .wp-block-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.35;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(6, 130, 0, 0.15);
}

.article-content-body h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-content-body h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 20px;
  margin-bottom: 10px;
}

.article-content-body ul,
.single-article-content-body ul {
  list-style: disc outside !important;
  list-style-type: disc !important;
  margin: 16px 0 24px;
  padding-left: 28px !important;
  font-size: 16.5px;
  line-height: 1.85;
}

.article-content-body ol,
.single-article-content-body ol {
  list-style: decimal outside !important;
  list-style-type: decimal !important;
  margin: 16px 0 24px;
  padding-left: 28px !important;
  font-size: 16.5px;
  line-height: 1.85;
}

.article-content-body ul ul,
.single-article-content-body ul ul {
  list-style-type: circle !important;
  margin: 8px 0 8px;
  padding-left: 24px !important;
}

.article-content-body ul ul ul,
.single-article-content-body ul ul ul {
  list-style-type: square !important;
}

.article-content-body ol ol,
.single-article-content-body ol ol {
  list-style-type: lower-alpha !important;
  margin: 8px 0 8px;
  padding-left: 24px !important;
}

.article-content-body li,
.single-article-content-body li {
  margin-bottom: 10px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-main);
  display: list-item !important;
}

.article-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px auto;
  display: block;
}

.article-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}

.article-content-body table th,
.article-content-body table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-content-body table th {
  background: var(--bg-muted);
  font-weight: 700;
}

.article-content-body blockquote {
  border-left: 4px solid var(--brand-primary);
  padding: 14px 20px;
  margin: 24px 0;
  background-color: var(--bg-muted);
  font-style: italic;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Sidebar Trending & Trust Widgets */
.sidebar-trending-widget {
  margin-bottom: 26px;
}

.sidebar-widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-trending-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-trending-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px;
  border-radius: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.sidebar-trending-item:hover {
  background: rgba(6, 130, 0, 0.06);
  border-color: var(--brand-primary);
  transform: translateX(3px);
}

.sidebar-trending-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-trending-info {
  flex: 1;
  min-width: 0;
}

.sidebar-trending-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.sidebar-trending-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Social Share Bar */
.article-share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 28px 0;
}

.article-share-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
}

.article-share-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-social-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-social-share:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-share-fb { background: #1877f2; }
.btn-share-wa { background: #25d366; }
.btn-share-x { background: #111827; }
.btn-share-copy { background: var(--brand-primary); cursor: pointer; border: none; }

/* Article Reader Rating Widget */
.article-rating-section {
  margin: 36px 0 20px;
}

.article-rating-card {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.35), rgba(255, 251, 235, 0.8));
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
  transition: all 0.25s ease;
}

.rating-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.rating-card-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.rating-card-title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
}

.rating-card-subtitle {
  margin: 0;
  font-size: 16.5px;
  color: var(--text-muted);
}

.rating-interactive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
}

.rating-stars-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rating-star-btn {
  background: transparent;
  border: none;
  font-size: 34px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.rating-star-btn:hover {
  transform: scale(1.2);
}

.rating-star-btn.hovered,
.rating-star-btn.active {
  color: #f59e0b;
  text-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.rating-stat-summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
}

.rating-avg-score {
  font-size: 26px;
  color: #b45309;
}

.rating-scale-divider {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 500;
}

.rating-total-votes {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

.rating-feedback-msg {
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  animation: ratingSlideDown 0.25s ease-out;
}

.rating-feedback-msg.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.rating-feedback-msg.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@keyframes ratingSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Comments Section */
.article-comments-area {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.comments-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.comments-stream {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.comment-item-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.comment-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-item-author {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-dark);
}

.comment-item-date {
  font-size: 13px;
  color: var(--text-light);
}

.comment-item-body {
  font-size: 17px;
  color: var(--text-main);
  line-height: 1.6;
}

.comment-form-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.comment-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.comment-text-input,
.comment-textarea-input {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
}

.comment-text-input:focus,
.comment-textarea-input:focus {
  border-color: var(--brand-primary);
}

.comment-btn-submit {
  margin-top: 14px;
  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  padding: 11px 26px;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comment-btn-submit:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.2);
}

/* Logged-in Commenter Profile Badge */
.comment-logged-in-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.comment-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.comment-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-user-info {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 15px;
}

.comment-user-label {
  color: var(--text-light);
  font-size: 14px;
}

.comment-user-name {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 16px;
}

.comment-user-email {
  color: var(--text-light);
  font-size: 13.5px;
}

/* Login Required Box */
.comment-login-required-card {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.9));
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.comment-login-lock-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.comment-login-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.comment-login-desc {
  font-size: 16px;
  color: #475569;
  max-width: 440px;
  margin: 0 0 8px;
  line-height: 1.5;
}

.comment-login-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.comment-login-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 16px;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.2);
}

.comment-login-btn-primary:hover {
  background: var(--brand-primary-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.comment-login-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #334155 !important;
  font-weight: 600;
  font-size: 16px;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.15s ease;
}

.comment-login-btn-secondary:hover {
  background: #f8fafc;
  color: #0f172a !important;
  border-color: #94a3b8;
}

/* Sidebar Styling */
.sidebar-card-widget {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.sidebar-author-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-author-avatar-img,
.sidebar-author-avatar-placeholder {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.sidebar-author-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(6, 130, 0, 0.12);
  color: var(--brand-primary);
  font-size: 28px;
  font-weight: 700;
}

.sidebar-author-name-link {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
}

.sidebar-author-name-link:hover {
  color: var(--brand-primary);
}

.sidebar-author-bio-text {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.sidebar-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 18px 0;
}

.sidebar-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  margin-bottom: 12px;
}

.sidebar-category-link {
  font-weight: 700;
  color: var(--brand-primary);
}

.sidebar-views-count {
  font-weight: 700;
  color: var(--brand-dark);
}

.sidebar-date-label,
.sidebar-share-label {
  font-weight: 600;
  color: var(--text-muted);
}

.social-share-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.social-share-button:hover {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.sidebar-quick-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-link-pill {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.sidebar-link-pill:hover {
  color: var(--brand-primary);
}

.sidebar-ad-banner {
  border-radius: var(--radius-md);
  width: 100%;
}

/* Related Posts */
.related-posts-section {
  margin-top: 40px;
}

/* 11. Floating Quote Selection Toolbar */
.quote-selection-toolbar {
  position: absolute;
  z-index: 9999;
  background: #1e293b;
  border-radius: var(--radius-md);
  padding: 4px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.35);
  display: flex;
  gap: 4px;
  transform: translate(-50%, -100%);
  margin-top: -10px;
  animation: quoteFadeIn 0.15s ease-out;
}

.quote-selection-toolbar::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #1e293b transparent transparent;
}

@keyframes quoteFadeIn {
  from { opacity: 0; transform: translate(-50%, -90%); }
  to { opacity: 1; transform: translate(-50%, -100%); }
}

.quote-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #334155;
  color: #f8fafc;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.quote-tool-btn:hover {
  background: #475569;
}

.quote-tool-btn.primary {
  background: var(--brand-primary);
  color: #ffffff;
}

.quote-tool-btn.primary:hover {
  background: var(--brand-primary-hover);
}

/* Quote Card Modal */
.quote-card-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.quote-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.quote-modal-content {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-modal);
}

.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.quote-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.quote-modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
}

.quote-card-preview-box {
  position: relative;
  background: linear-gradient(135deg, #074718 0%, #068200 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 36px 32px 28px;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.quote-card-watermark {
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 140px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  font-family: 'payasti_uni', 'Hind Siliguri', sans-serif;
}

.quote-card-quote-mark {
  font-size: 76px;
  line-height: 0.8;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-family: Georgia, 'Times New Roman', serif;
  user-select: none;
}

.quote-card-text {
  font-family: 'payasti_uni', 'Hind Siliguri', sans-serif !important;
  font-feature-settings: "ss01" 1 !important;
  -webkit-font-feature-settings: "ss01" 1 !important;
  font-size: 22px;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 600;
  margin: auto 0;
  padding: 12px 0;
  white-space: pre-line;
  max-height: 320px;
  overflow-y: auto;
  letter-spacing: 0.15px;
}

.quote-card-footer {
  border-top: 1.5px solid rgba(255, 255, 255, 0.22);
  padding-top: 16px;
}

.quote-card-author {
  font-family: 'payasti_uni', 'Hind Siliguri', sans-serif;
  font-size: 18.5px;
  font-weight: 700;
  color: #fffae6;
  letter-spacing: 0.1px;
}

.quote-card-source {
  font-family: 'payasti_uni', 'Hind Siliguri', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.quote-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.quote-btn-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.quote-btn-action.btn-download {
  background-color: var(--brand-primary);
  color: #ffffff;
}

.quote-btn-action.btn-copy {
  background-color: #f1f5f9;
  color: #334155;
}

/* 12. Category Tabs & Subcategories */
.category-main-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.subcategory-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.subcat-tab-link {
  display: inline-block;
  padding: 7px 16px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.subcat-tab-link:hover,
.subcat-tab-link.active {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* 13. Pagination Component */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-link-item,
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.page-link-item:hover,
.page-link-item.active,
.page-btn:hover,
.page-btn.active {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: default;
}

/* 14. Footer Component */
.site-footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-color);
  padding-top: 45px;
  margin-top: 40px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-img {
  max-width: 200px;
  margin-bottom: 18px;
  filter: brightness(0);
  transition: filter 0.25s ease;
}

.theme-dark .footer-logo-img {
  filter: none;
}

.footer-about-text {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-terms-btn {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--brand-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 17.5px;
  font-weight: 600;
}

.footer-heading-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.footer-editorial-text {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--text-muted);
}

.footer-social-desc {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-fb-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--brand-dark);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 18.5px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.footer-fb-link:hover {
  background-color: var(--brand-primary);
}

.footer-copyright-bar {
  border-top: 1px solid var(--border-color);
  padding: 16px 0;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text-light);
  background-color: var(--bg-muted);
}

.copyright-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright-link {
  color: var(--brand-dark);
  font-weight: 600;
}

/* 15. Author Directory & Author Profile Pages */
.authors-hero-section {
  padding: 36px 0 20px 0;
}

.authors-intro-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 32px;
  box-shadow: var(--shadow-sm);
}

.authors-page-title {
  margin: 0 0 12px 0;
  font-size: 34px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
}

.authors-intro-desc {
  font-size: 21.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.authors-list-section {
  padding: 24px 0 60px 0;
}

.author-search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.author-search-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 520px;
}

.author-search-input {
  flex: 1;
  padding: 10px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 19.5px;
  background: var(--bg-surface);
  color: var(--text-heading);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.author-search-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(6, 130, 0, 0.12);
}

.author-search-btn {
  padding: 10px 24px;
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 19.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.author-search-btn:hover {
  background: var(--brand-primary-hover);
}

.author-count-badge {
  font-size: 18.5px;
  color: var(--brand-primary);
  font-weight: 700;
  background: rgba(6, 130, 0, 0.08);
  border: 1px solid rgba(6, 130, 0, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.author-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.author-card-avatar-wrap {
  flex-shrink: 0;
  display: block;
}

.author-card-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-primary);
  display: block;
}

.author-card-avatar-placeholder {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
}

.author-meta {
  flex: 1;
  min-width: 0;
}

.author-card-name {
  margin: 0 0 6px 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.author-card-name a {
  color: var(--text-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

.author-card-name a:hover {
  color: var(--brand-primary);
}

.author-recent-posts {
  margin: 8px 0 0 0;
  padding-left: 18px;
  font-size: 18.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.author-recent-posts li {
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-recent-posts a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.author-recent-posts a:hover {
  color: var(--brand-primary);
}

.author-no-posts {
  margin: 6px 0 0 0;
  font-size: 17.5px;
  color: var(--text-light);
}

.no-authors-found {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

.no-authors-found p {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

/* Author Profile Specific */
.author-profile-hero {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}

.author-profile-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-muted);
  border: 3px solid var(--brand-primary);
}

.author-profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  color: var(--text-muted);
}

.author-profile-name {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
}

.author-profile-bio {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.author-profile-count {
  margin-top: 10px;
  font-size: 18px;
  color: var(--brand-primary);
  font-weight: 700;
}

/* 16. Responsive Media Queries */
@media (max-width: 1200px) {
  .posts-grid-4 {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
  }
  .carousel-book-card-item {
    flex: 0 0 calc((100% - (20px * 3)) / 4);
  }
}

@media (max-width: 991px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar-card-widget {
    position: static;
  }
  
  .posts-grid-4 {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
  
  .carousel-book-card-item {
    flex: 0 0 calc((100% - (20px * 2)) / 3);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  html, body {
    font-size: 21px;
  }
  
  .posts-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .carousel-book-card-item {
    flex: 0 0 75%;
  }
  
  .carousel-float-arrow {
    display: none;
  }
  
  .article-title {
    font-size: 35px;
  }
  
  .article-main {
    padding: 20px 16px;
  }
  
  .comment-fields-grid {
    grid-template-columns: 1fr;
  }

  .authors-page-title {
    font-size: 28px;
  }
  
  .authors-intro-desc {
    font-size: 19.5px;
  }

  .authors-grid {
    grid-template-columns: 1fr;
  }

  .author-search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .author-search-form {
    max-width: 100%;
  }

  .author-profile-hero {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   SERA 10 - AUTHENTIC AFFILIATE REVIEW PORTAL DESIGN SYSTEM
   Pixel-perfect, Pure Vanilla CSS Grid & Bento Layouts
   ========================================================================== */

/* Page Background */
.page-main-content {
  background-color: var(--bg-body);
  padding: 30px 0 60px 0;
}

/* Top Quality Promise Strip */
.affiliate-top-strip {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-muted);
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.top-strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: rgba(6, 130, 0, 0.12);
  color: var(--brand-primary);
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
}

.top-strip-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-light);
}

/* Hero Section */
.affiliate-hero-banner {
  background: linear-gradient(135deg, #075603 0%, #0f172a 60%, #020617 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-banner-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero-banner-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff !important;
  margin-bottom: 14px;
}

.hero-banner-title span {
  color: #34d399;
}

.hero-banner-desc {
  font-size: 20px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-search-form {
  max-width: 600px;
  margin: 0 auto 16px auto;
  position: relative;
}

.hero-search-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 6px 8px 6px 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 19px;
  color: #0f172a;
  background: transparent;
  padding: 6px 0;
}

.hero-search-btn {
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hero-search-btn:hover {
  background: var(--brand-primary-hover);
}

.hero-trending-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  color: #94a3b8;
}

.hero-trending-tag-link {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.hero-trending-tag-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Hero Trust Strip */
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-trust-item strong {
  font-size: 17px;
  color: #ffffff;
  margin-top: 4px;
}

.hero-trust-item span {
  font-size: 14px;
  color: #94a3b8;
}

/* Section Header */
.review-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-indicator {
  width: 6px;
  height: 24px;
  background: var(--brand-primary);
  border-radius: 6px;
  display: inline-block;
}

.section-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-heading);
}

.section-link-more {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link-more:hover {
  text-decoration: underline;
}

/* Magazine Bento Grid (#1 Pick + Top Ranked) */
.hero-magazine-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}

.hero-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-main-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hero-main-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--bg-muted);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-main-card:hover .hero-main-img {
  transform: scale(1.04);
}

.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.hero-main-badge-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.badge-rank-1 {
  background: #f59e0b;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-cat-tag {
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.hero-main-overlay-content {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: #ffffff;
}

.hero-stars-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #fbbf24;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-stars-score span.score-tag {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.hero-main-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff !important;
}

.hero-main-title a {
  color: #ffffff !important;
}

.hero-main-title a:hover {
  color: #6ee7b7 !important;
}

.hero-main-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.hero-highlights-box {
  background: rgba(6, 130, 0, 0.05);
  border: 1px solid rgba(6, 130, 0, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 17px;
}

.hero-highlights-title {
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-highlights-list li {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-main-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-main-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 15px;
  color: var(--text-light);
}

.btn-cta-review {
  background: var(--brand-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 17px;
  padding: 10px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(6, 130, 0, 0.25);
  transition: all 0.2s ease;
}

.btn-cta-review:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 130, 0, 0.35);
}

/* Secondary Ranked Cards (Right Column) */
.hero-side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}

.hero-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  align-items: center;
}

.hero-side-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 130, 0, 0.25);
}

.hero-side-thumb {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-muted);
  display: block;
}

.hero-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-side-card:hover .hero-side-thumb img {
  transform: scale(1.06);
}

.badge-rank-num {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.9);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-side-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.hero-side-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-side-cat {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  background: rgba(6, 130, 0, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.hero-side-cat:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.hero-side-score {
  font-size: 13px;
  font-weight: 800;
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.hero-side-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-heading);
  margin: 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-side-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.hero-side-card:hover .hero-side-title a {
  color: var(--brand-primary);
}

.hero-side-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-light);
}

.hero-side-bottom span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-side-link {
  font-weight: 700;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-side-card:hover .hero-side-link {
  transform: translateX(3px);
}

/* Category Hub Bar */
.affiliate-categories-hub {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.category-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.category-hub-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
}

.category-hub-count {
  font-size: 14.5px;
  color: var(--text-light);
  white-space: nowrap;
}

.category-hub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-muted);
  color: var(--text-main);
  font-size: 17px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.category-pill-item:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.category-pill-item .pill-count {
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Responsive Grids */
.home-section-wrap {
  margin-bottom: 40px;
}

.section-header-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-primary);
  background: rgba(6, 130, 0, 0.08);
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.affiliate-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.affiliate-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

/* Authentic Affiliate Review Product Card */
.affiliate-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.affiliate-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 130, 0, 0.25);
}

.affiliate-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--bg-muted);
}

.affiliate-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.affiliate-post-card:hover .affiliate-card-img {
  transform: scale(1.05);
}

.affiliate-card-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.affiliate-card-score-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #fbbf24;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 3px;
}

.affiliate-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.affiliate-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.affiliate-card-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.affiliate-post-card:hover .affiliate-card-title a {
  color: var(--brand-primary);
}

.affiliate-card-excerpt {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.affiliate-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 13.5px;
  color: var(--text-light);
}

.affiliate-card-footer span {
  white-space: nowrap;
}

.affiliate-card-btn {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.affiliate-post-card:hover .affiliate-card-btn {
  transform: translateX(3px);
}

/* Rapid Comparison Table */
.affiliate-comparison-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.comparison-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.comparison-table-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.comparison-table-heading {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
}

.comparison-table-badge {
  font-size: 13.5px;
  background: var(--bg-muted);
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.table-responsive-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.affiliate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.affiliate-table th {
  background-color: var(--bg-muted);
  padding: 13px 16px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
  color: var(--text-heading);
}

.affiliate-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.affiliate-table tr:last-child td {
  border-bottom: none;
}

.affiliate-table tr:hover td {
  background-color: rgba(6, 130, 0, 0.03);
}

.th-score, .td-score {
  text-align: center;
  font-weight: 800;
  color: #f59e0b;
  white-space: nowrap;
}

.th-action, .td-action {
  text-align: right;
  white-space: nowrap;
}

.th-category, .td-category {
  white-space: nowrap;
  color: var(--text-muted);
}

.td-features {
  font-size: 14.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.table-product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-heading);
  font-weight: 700;
  transition: color 0.15s ease;
}

.table-product-link:hover {
  color: var(--brand-primary);
}

.table-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.btn-table-action {
  background: var(--brand-primary);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-table-action:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

/* Why Trust Us Banner */
.affiliate-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.trust-promise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trust-promise-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 130, 0, 0.2);
}

.trust-promise-icon {
  font-size: 34px;
  margin-bottom: 12px;
  line-height: 1;
}

.trust-promise-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.trust-promise-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CATEGORY & ARCHIVE PAGE MODERN STYLES
   ========================================================================== */

.archive-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.archive-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.archive-breadcrumb a:hover {
  color: var(--brand-primary);
}

.archive-breadcrumb .breadcrumb-sep {
  opacity: 0.5;
  font-size: 13px;
}

.archive-breadcrumb .breadcrumb-current {
  color: var(--brand-primary);
  font-weight: 700;
}

/* Category Hero Header */
.archive-hero-header {
  background: linear-gradient(135deg, rgba(6, 130, 0, 0.04) 0%, rgba(6, 130, 0, 0.01) 50%, var(--bg-card) 100%);
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.archive-hero-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), #22c55e, #10b981);
}

.archive-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.archive-header-info {
  flex: 1;
  min-width: 280px;
}

.archive-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 130, 0, 0.1);
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  border: 1px solid rgba(6, 130, 0, 0.15);
}

.archive-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.archive-title-icon {
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.archive-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 800px;
  margin-bottom: 20px;
}

/* Stats Chips Row */
.archive-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.archive-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.archive-stat-chip.stat-highlight {
  background: rgba(6, 130, 0, 0.08);
  border-color: rgba(6, 130, 0, 0.25);
  color: var(--brand-primary);
  font-weight: 700;
}

/* Quick Category / Subcategory Navigation Bar */
.archive-nav-pills-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
}

.archive-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-nav-pill:hover {
  background: var(--border-color);
  color: var(--text-heading);
}

.archive-nav-pill.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(6, 130, 0, 0.25);
}

.archive-nav-pill .pill-badge-count {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.12);
  padding: 1px 7px;
  border-radius: 10px;
}

.archive-nav-pill.active .pill-badge-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Archive Spotlight Banner (#1 Top Ranked) */
.archive-spotlight-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-featured);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(6, 130, 0, 0.06);
  margin-bottom: 36px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.archive-spotlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(6, 130, 0, 0.12);
}

.archive-spotlight-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.archive-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-spotlight-card:hover .archive-spotlight-img {
  transform: scale(1.04);
}

.archive-spotlight-rank-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.archive-spotlight-score-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #facc15;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  z-index: 2;
}

.archive-spotlight-content {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-spotlight-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.archive-spotlight-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.archive-spotlight-title a {
  color: var(--text-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive-spotlight-title a:hover {
  color: var(--brand-primary);
}

.archive-spotlight-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.archive-spotlight-features {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.archive-spotlight-features-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.archive-spotlight-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.archive-spotlight-features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.archive-spotlight-features li span {
  color: var(--brand-primary);
  font-weight: 700;
}

.archive-spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.archive-spotlight-date {
  font-size: 14px;
  color: var(--text-light);
}

/* Interactive Filter & Sorting Toolbar */
.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.archive-toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.archive-filter-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 6px;
}

.archive-sort-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.archive-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.archive-sort-btn:hover {
  background: var(--border-color);
  color: var(--text-heading);
}

.archive-sort-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.archive-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.archive-search-box {
  position: relative;
  min-width: 200px;
}

.archive-search-input {
  width: 100%;
  padding: 6px 12px 6px 32px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.archive-search-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(6, 130, 0, 0.12);
}

.archive-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--text-light);
  pointer-events: none;
}

.archive-count-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

/* Category Grid Container */
.archive-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Empty State */
.archive-empty-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
}

.archive-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.archive-empty-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.archive-empty-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Other Categories Discovery Banner */
.archive-explore-categories {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 30px 32px;
  margin-top: 48px;
  margin-bottom: 20px;
}

.archive-explore-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.archive-explore-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.archive-explore-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-explore-card:hover {
  background: rgba(6, 130, 0, 0.08);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.archive-explore-card .card-cat-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   SINGLE POST & ARTICLE REVIEW PAGE STYLES
   Optimized Typography, High-Contrast Eye-Catching Buttons & Vibrant Links
   ========================================================================== */

/* Breadcrumbs */
.archive-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.archive-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.archive-breadcrumb a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-light);
  opacity: 0.6;
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--text-heading);
  font-weight: 700;
}

/* Article Layout Grid (Desktop: Main 70% + Sidebar 30%) */
.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.article-main {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Article Header */
.article-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.article-meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.header-meta-sep {
  color: var(--border-color);
}

.article-reading-time,
.article-meta-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  background: var(--bg-muted);
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  font-size: 13px;
}

.article-meta-rating {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

html.theme-dark .article-meta-rating {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.article-title {
  font-size: 28px !important;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

/* Featured Image */
.article-featured-image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 24px 0 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.article-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   ARTICLE CONTENT BODY (REDUCED FONT SIZE & BALANCED TYPOGRAPHY)
   ========================================================================== */
.article-content-body,
.single-article-content-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-main);
  word-break: break-word;
}

.article-content-body p,
.single-article-content-body p {
  margin-bottom: 20px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-main);
}

/* Content Headings */
.article-content-body h2,
.single-article-content-body h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-heading);
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--brand-primary);
  display: flex;
  align-items: center;
  scroll-margin-top: 100px;
}

.article-content-body h3,
.single-article-content-body h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-heading);
  margin: 28px 0 14px;
  scroll-margin-top: 100px;
}

.article-content-body h4,
.single-article-content-body h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 22px 0 10px;
}

/* ==========================================================================
   HIGH-VISIBILITY, EYE-CATCHING IN-CONTENT LINKS
   ========================================================================== */
.article-content-body a:not(.btn-cta-review):not(.wp-block-button__link):not(.btn-affiliate):not(.btn-social-share):not(.eb-button-anchor):not(.affiliate-card-btn),
.single-article-content-body a:not(.btn-cta-review):not(.wp-block-button__link):not(.btn-affiliate):not(.btn-social-share):not(.eb-button-anchor):not(.affiliate-card-btn) {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(6, 130, 0, 0.45);
  text-underline-offset: 3.5px;
  text-decoration-thickness: 2px;
  border-radius: 4px;
  padding: 1px 4px;
  margin: -1px -4px;
  transition: all 0.18s ease-in-out;
}

.article-content-body a:not(.btn-cta-review):not(.wp-block-button__link):not(.btn-affiliate):not(.btn-social-share):not(.eb-button-anchor):not(.affiliate-card-btn):hover,
.single-article-content-body a:not(.btn-cta-review):not(.wp-block-button__link):not(.btn-affiliate):not(.btn-social-share):not(.eb-button-anchor):not(.affiliate-card-btn):hover {
  background-color: rgba(6, 130, 0, 0.12);
  color: var(--brand-primary-hover);
  text-decoration-color: var(--brand-primary);
}

html.theme-dark .article-content-body a:not(.btn-cta-review):not(.wp-block-button__link):not(.btn-affiliate):not(.btn-social-share):not(.eb-button-anchor):not(.affiliate-card-btn),
html.theme-dark .single-article-content-body a:not(.btn-cta-review):not(.wp-block-button__link):not(.btn-affiliate):not(.btn-social-share):not(.eb-button-anchor):not(.affiliate-card-btn) {
  color: #34d399;
  text-decoration-color: rgba(52, 211, 153, 0.55);
}

html.theme-dark .article-content-body a:not(.btn-cta-review):not(.wp-block-button__link):not(.btn-affiliate):not(.btn-social-share):not(.eb-button-anchor):not(.affiliate-card-btn):hover,
html.theme-dark .single-article-content-body a:not(.btn-cta-review):not(.wp-block-button__link):not(.btn-affiliate):not(.btn-social-share):not(.eb-button-anchor):not(.affiliate-card-btn):hover {
  background-color: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

/* ==========================================================================
   ESSENTIAL BLOCKS & WORDPRESS GUTENBERG BUTTONS (MATCHED TO BRAND DESIGN)
   ========================================================================== */

/* Button Block Wrapper */
.wp-block-essential-blocks-button,
.eb-parent-wrapper,
.eb-button-wrapper,
.wp-block-buttons,
.wp-block-button {
  margin: 18px 0 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.eb-button {
  display: inline-flex !important;
}

/* The actual Buy / Rokomari / Affiliate Button Link */
.article-content-body a.eb-button-anchor,
.single-article-content-body a.eb-button-anchor,
.eb-button-anchor,
.eb-button a,
.wp-block-button__link,
.wp-element-button,
.btn-cta-review,
.btn-affiliate,
.btn-buy-now {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  
  /* Harmonious Sera 10 Brand Green Gradient */
  background: linear-gradient(180deg, #068200 0%, #046600 100%) !important;
  color: #ffffff !important;
  
  font-family: var(--font-base) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.3px !important;
  text-decoration: none !important;
  
  padding: 10px 22px !important;
  border-radius: 10px !important;
  border: 1px solid #035200 !important;
  
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 3px 10px rgba(6, 130, 0, 0.22), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

/* Elegant Dynamic Arrow Suffix */
.article-content-body a.eb-button-anchor::after,
.single-article-content-body a.eb-button-anchor::after,
.eb-button-anchor::after,
.wp-block-button__link::after,
.btn-cta-review::after {
  content: ' →';
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.article-content-body a.eb-button-anchor:hover,
.single-article-content-body a.eb-button-anchor:hover,
.eb-button-anchor:hover,
.eb-button a:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.btn-cta-review:hover,
.btn-affiliate:hover,
.btn-buy-now:hover {
  background: linear-gradient(180deg, #079600 0%, #056800 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px rgba(6, 130, 0, 0.32) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.article-content-body a.eb-button-anchor:hover::after,
.single-article-content-body a.eb-button-anchor:hover::after,
.eb-button-anchor:hover::after,
.wp-block-button__link:hover::after,
.btn-cta-review:hover::after {
  transform: translateX(3px);
}

.article-content-body a.eb-button-anchor:active,
.single-article-content-body a.eb-button-anchor:active,
.eb-button-anchor:active,
.eb-button a:active,
.wp-block-button__link:active,
.btn-cta-review:active {
  transform: translateY(0) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

/* Dedicated Comment Submit Button */
.btn-submit-comment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  color: #ffffff;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 15px;
  padding: 11px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(5, 150, 105, 0.3);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit-comment:hover {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px rgba(5, 150, 105, 0.42);
}

.btn-submit-comment:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Card Action Button (রিভিউ পড়ুন) */
.affiliate-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(6, 130, 0, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(6, 130, 0, 0.2);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.affiliate-card-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(6, 130, 0, 0.25);
}

/* Social Share Bar & Branded Buttons */
.article-share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 32px 0;
}

.article-share-left {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
}

.article-share-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-social-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  text-decoration: none;
  color: #ffffff !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-social-share svg {
  flex-shrink: 0;
}

.btn-social-share:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn-social-share:active {
  transform: translateY(0);
}

.btn-share-fb {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-color: rgba(37, 99, 235, 0.3);
}

.btn-share-wa {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  border-color: rgba(22, 163, 74, 0.3);
}

.btn-share-x {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(30, 41, 59, 0.3);
}

.btn-share-copy {
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  border-color: rgba(5, 150, 105, 0.3);
}

/* Article Lists, Quotes, Tables, and Gutenberg Styles */
.article-content-body ul,
.single-article-content-body ul {
  list-style: disc outside !important;
  list-style-type: disc !important;
  margin: 16px 0 24px;
  padding-left: 28px !important;
  font-size: 16.5px;
  line-height: 1.85;
}

.article-content-body ol,
.single-article-content-body ol {
  list-style: decimal outside !important;
  list-style-type: decimal !important;
  margin: 16px 0 24px;
  padding-left: 28px !important;
  font-size: 16.5px;
  line-height: 1.85;
}

.article-content-body li,
.single-article-content-body li {
  margin-bottom: 8px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-main);
  display: list-item !important;
}

.article-content-body blockquote,
.single-article-content-body blockquote {
  position: relative;
  background: rgba(6, 130, 0, 0.04);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-style: italic;
  font-size: 16.5px;
  color: var(--text-heading);
}

.article-content-body figure,
.single-article-content-body figure {
  margin: 24px 0;
}

.article-content-body figure img,
.single-article-content-body figure img,
.article-content-body img,
.single-article-content-body img {
  border-radius: 14px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.article-content-body figcaption,
.single-article-content-body figcaption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* Table styling inside content */
.article-content-body table,
.single-article-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  font-size: 15px;
}

.article-content-body th,
.single-article-content-body th {
  background: var(--bg-muted);
  color: var(--text-heading);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
}

.article-content-body td,
.single-article-content-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.article-content-body tr:nth-child(even),
.single-article-content-body tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}

/* Sidebar Styling */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-card-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-trending-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-trending-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.sidebar-trending-item:hover {
  background: var(--bg-muted);
  transform: translateX(3px);
}

.sidebar-trending-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.sidebar-trending-info {
  flex: 1;
  min-width: 0;
}

.sidebar-trending-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-trending-item:hover .sidebar-trending-item-title {
  color: var(--brand-primary);
}

.sidebar-trending-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Design System
   ========================================================================== */

/* 1. Base Mobile-Safe Rules */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Mobile Nav Backdrop Overlay (Clean Dark Tint, No Blur) */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 995;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-header,
.mobile-nav-footer {
  display: none;
}

/* Tablet & Smaller Screens (< 1080px) */
@media (max-width: 1080px) {
  .hero-magazine-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-sidebar {
    position: static;
  }

  .affiliate-grid-4,
  .affiliate-grid-3,
  .archive-posts-grid,
  .archive-explore-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .archive-spotlight-card {
    grid-template-columns: 1fr;
  }

  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile & Small Tablet Screens (< 992px) - Navigation Drawer */
@media (max-width: 992px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-inner {
    height: 64px;
    padding: 0;
  }

  .header-logo-img {
    max-height: 38px !important;
  }

  .header-action-group {
    display: none !important;
  }

  .header-nav-group {
    gap: 12px;
  }

  /* Show Hamburger Icon Button */
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
  }

  .mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-main, #1e293b);
    border-radius: 2px;
    transition: all 0.25s ease;
    transform-origin: center;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-nav-close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
  }

  .main-nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--bg-surface, #ffffff);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
    z-index: 1001;
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  }

  .mobile-nav-links-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    overflow-y: auto;
    margin: 8px 0;
  }

  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
  }

  .mobile-footer-search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-muted, #f8fafc);
    color: var(--text-muted, #64748b);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
  }

  .mobile-footer-search-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(6, 130, 0, 0.05);
  }

  .mobile-theme-mode-bar {
    display: flex;
    align-items: center;
    background: var(--bg-muted, #f1f5f9);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
  }

  .theme-pill-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-muted, #64748b);
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .theme-pill-btn.active {
    background: var(--bg-surface, #ffffff);
    color: var(--brand-primary, #059669);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  html.theme-dark .theme-pill-btn.active {
    background: #1e293b;
    color: #34d399;
  }

  .main-nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--bg-surface, #ffffff);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
    z-index: 1001;
    padding: 20px 16px 30px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  }

  html.theme-dark .main-nav-menu {
    background-color: var(--bg-surface, #161b22);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.45);
  }

  .main-nav-menu.active,
  .main-nav-menu.mobile-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu-item {
    width: 100%;
    padding: 12px 14px;
    font-size: 16.5px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--brand-primary, #059669);
    border-radius: 0;
    background: transparent;
    padding: 4px 0 4px 10px;
    margin: 4px 0 4px 10px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }

  .nav-item-dropdown.dropdown-open .nav-dropdown-menu {
    display: flex;
  }

  .nav-item-dropdown.dropdown-open .dropdown-chevron {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: 9px 12px;
    font-size: 15px;
  }
}

/* Smartphone Screens (< 768px) */
@media (max-width: 768px) {
  .site-container {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  /* Top Affiliate Strip */
  .affiliate-top-strip {
    padding: 6px 0;
    font-size: 12px;
  }

  .top-strip-inner {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .top-strip-right {
    display: none;
  }

  /* Hero Banner Compact Mobile */
  .affiliate-hero-banner {
    padding: 16px 14px 14px;
    border-radius: 14px;
    margin: 8px 0 18px;
  }

  .hero-pill-badge {
    font-size: 11px;
    padding: 2px 9px;
    margin-bottom: 6px;
  }

  .hero-banner-title {
    font-size: 19px !important;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .hero-banner-title br {
    display: none;
  }

  .hero-banner-desc {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .hero-search-input-wrap {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #cbd5e1);
    padding: 3px 4px 3px 12px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  }

  .hero-search-input {
    width: 100%;
    padding: 6px 0;
    font-size: 13.5px;
    border: none;
    background: transparent;
    outline: none;
  }

  .hero-search-btn {
    width: auto;
    padding: 6px 14px;
    font-size: 13.5px;
    border-radius: 7px;
    flex-shrink: 0;
    justify-content: center;
  }

  .hero-trending-tags {
    font-size: 11.5px;
    gap: 4px;
    justify-content: center;
    margin-top: 8px;
  }

  .hero-trending-tag-link {
    padding: 2px 7px;
    font-size: 11px;
    border-radius: 5px;
  }

  .hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 8px;
    margin-top: 12px;
    border-radius: 10px;
  }

  .hero-trust-item {
    padding: 6px 8px;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #f1f5f9);
    border-radius: 8px;
  }

  .hero-trust-item span:first-child {
    font-size: 15px !important;
  }

  .hero-trust-item strong {
    font-size: 11.5px;
    line-height: 1.2;
    color: var(--text-heading);
  }

  .hero-trust-item span:last-child {
    display: none;
  }

  /* Hero Bento Magazine */
  .hero-magazine-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }

  .hero-main-card {
    border-radius: 14px;
  }

  .hero-main-media {
    height: auto;
    aspect-ratio: 16/9;
  }

  .hero-main-overlay-content {
    padding: 14px;
    bottom: 10px;
    left: 12px;
    right: 12px;
  }

  .hero-main-title {
    font-size: 18px !important;
    line-height: 1.35;
  }

  .hero-main-body {
    padding: 16px 14px;
  }

  .hero-main-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

  .hero-main-footer {
    font-size: 12.5px;
    padding-top: 10px;
  }

  .hero-highlights-box {
    padding: 10px 12px;
    font-size: 14px;
    margin-bottom: 12px;
  }

  .hero-highlights-list li {
    font-size: 13px;
  }

  .hero-main-desc {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .btn-cta-review {
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 8px;
  }

  /* Secondary Ranked Cards (Mobile 2, 3, 4, 5) */
  .hero-side-list {
    gap: 12px;
  }

  .hero-side-card {
    padding: 12px;
    gap: 12px;
    border-radius: 14px;
    align-items: center;
  }

  .hero-side-thumb {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 10px;
  }

  .badge-rank-num {
    top: 4px;
    left: 4px;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .hero-side-info {
    gap: 4px;
    min-width: 0;
  }

  .hero-side-cat-row {
    margin-bottom: 2px;
    gap: 6px;
  }

  .hero-side-cat {
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 5px;
  }

  .hero-side-score {
    font-size: 13px;
    font-weight: 800;
  }

  .hero-side-title {
    font-size: 16.5px !important;
    font-weight: 700;
    line-height: 1.35;
    margin: 2px 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-side-bottom {
    margin-top: 4px;
    padding-top: 6px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .hero-side-bottom span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-side-link {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .home-section-wrap {
    margin-bottom: 28px;
  }

  /* Section Headers */
  .review-section-header {
    margin-bottom: 14px;
    gap: 8px;
  }

  .section-heading {
    font-size: 18px !important;
    line-height: 1.35;
  }

  .section-title-indicator {
    height: 18px;
    width: 4px;
  }

  .section-link-more {
    font-size: 13px;
  }

  .section-header-tag {
    font-size: 12px !important;
    padding: 2px 10px !important;
  }

  /* Category Hub Bar */
  .affiliate-categories-hub {
    padding: 16px 14px;
    border-radius: 14px;
    margin-bottom: 28px;
  }

  .category-hub-header {
    margin-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .category-hub-title {
    font-size: 16.5px !important;
  }

  .category-hub-count {
    font-size: 12px;
  }

  .category-hub-pills {
    gap: 8px;
  }

  .category-pill-item {
    font-size: 13.5px;
    padding: 6px 12px;
    border-radius: 10px;
    gap: 6px;
  }

  .category-pill-item .pill-count {
    font-size: 11px;
    padding: 1px 5px;
  }

  /* Grid Fallback to 1 Column on Mobile */
  .affiliate-grid-4,
  .affiliate-grid-3,
  .archive-posts-grid,
  .archive-explore-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .affiliate-post-card {
    border-radius: 14px;
  }

  .affiliate-card-media {
    aspect-ratio: 16/9;
  }

  .affiliate-card-content {
    padding: 14px;
  }

  .affiliate-card-title {
    font-size: 16.5px;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .affiliate-card-excerpt {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .affiliate-card-footer {
    padding-top: 10px;
    font-size: 12.5px;
  }

  .affiliate-card-btn {
    font-size: 13.5px;
  }

  /* Rapid Buyer Comparison Table */
  .affiliate-comparison-table-wrap {
    padding: 16px 12px;
    border-radius: 14px;
    margin-bottom: 28px;
  }

  .comparison-table-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .comparison-table-heading {
    font-size: 16.5px !important;
    line-height: 1.35;
  }

  .comparison-table-badge {
    font-size: 11.5px;
    padding: 4px 8px;
  }

  .affiliate-table {
    font-size: 13.5px;
    min-width: 560px;
  }

  .affiliate-table th,
  .affiliate-table td {
    padding: 10px 8px;
  }

  .btn-table-action {
    font-size: 12px;
    padding: 5px 10px;
  }

  /* Why Trust Us Promises */
  .affiliate-trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 28px;
  }

  .trust-promise-card {
    padding: 14px 14px;
    border-radius: 14px;
    display: flex;
    text-align: left;
    gap: 12px;
    align-items: flex-start;
  }

  .trust-promise-icon {
    font-size: 26px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .trust-promise-title {
    font-size: 15.5px;
    margin-bottom: 3px;
  }

  .trust-promise-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Single Article Details */
  .article-main {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .article-title {
    font-size: clamp(21px, 5.5vw, 26px) !important;
    line-height: 1.35;
  }

  .article-meta-top {
    font-size: 12.5px;
    gap: 6px;
  }

  .article-featured-image-wrap {
    border-radius: 12px !important;
    margin: 14px 0 !important;
  }

  .article-featured-img {
    max-height: 260px !important;
  }

  .article-share-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .article-share-btns {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }

  .btn-social-share {
    width: 35px;
    height: 35px;
  }

  /* Article Content Body & Responsive Typography */
  .article-content-body,
  .single-article-content-body,
  .article-content-body p,
  .single-article-content-body p,
  .article-content-body ul,
  .single-article-content-body ul,
  .article-content-body ol,
  .single-article-content-body ol,
  .article-content-body li,
  .single-article-content-body li {
    font-size: 16.5px;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .article-content-body h2,
  .single-article-content-body h2 {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 24px;
    margin-bottom: 10px;
  }

  .article-content-body h3,
  .single-article-content-body h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  /* Gutenberg & Custom Tables Full Responsiveness */
  .article-content-body table,
  .single-article-content-body table,
  .wp-block-table table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 16px 0;
  }

  .article-content-body table th,
  .article-content-body table td,
  .single-article-content-body table th,
  .single-article-content-body table td {
    padding: 8px 10px;
    font-size: 13.5px;
  }

  /* Embedded Media & Iframes */
  .article-content-body iframe,
  .single-article-content-body iframe,
  .wp-block-embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
  }

  /* Gutenberg Blocks Mobile Stacking */
  .wp-block-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .wp-block-button {
    width: 100% !important;
  }

  .wp-block-button__link {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .wp-block-columns {
    flex-direction: column !important;
    gap: 14px !important;
  }

  .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  /* Archive / Category Page */
  .archive-hero-header {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .archive-title {
    font-size: 22px;
  }

  .archive-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .archive-toolbar-left,
  .archive-toolbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .archive-search-box {
    width: 100%;
  }

  .archive-breadcrumb {
    font-size: 13px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  /* Search Overlay Modal on Mobile */
  .search-modal-overlay {
    padding: 20px 10px;
  }

  .search-modal-content {
    padding: 16px;
    border-radius: 12px;
  }

  .search-input-field {
    padding: 10px 14px;
    font-size: 15px;
  }

  .search-submit-btn {
    padding: 10px 16px;
    font-size: 15px;
  }

  /* Footer on Mobile */
  .footer-trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main-content {
    padding: 36px 0 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* Extra Small Screens (< 480px) */
@media (max-width: 480px) {
  .hero-trust-bar {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 20px !important;
  }

  .hero-main-card {
    min-height: 270px;
  }

  .hero-main-media {
    height: 290px;
  }
}


/* ==========================================================================
   20. Premium Redesigned Footer Styles
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #090e1a 100%);
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #059669, #10b981, transparent);
}

/* Footer Trust Highlights Strip */
.footer-trust-strip {
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 22px 0;
}

.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.footer-trust-item:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(5, 150, 105, 0.3);
  transform: translateY(-2px);
}

.footer-trust-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(5, 150, 105, 0.12);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-trust-text {
  min-width: 0;
}

.footer-trust-title {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
}

.footer-trust-desc {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Footer Content */
.footer-main-section {
  padding: 48px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.1fr;
  gap: 36px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logo-img:hover {
  opacity: 1;
  transform: scale(1.02);
}

.footer-about-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 16px;
}

/* Affiliate Disclosure Box */
.footer-affiliate-badge-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
}

.footer-affiliate-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(5, 150, 105, 0.15);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  align-self: flex-start;
}

.footer-affiliate-text {
  font-size: 12px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

/* Column Headings */
.footer-col-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

/* Navigation Lists */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav-link {
  color: #94a3b8;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.18s ease;
  display: inline-block;
}

.footer-nav-link:hover {
  color: #34d399;
  transform: translateX(3px);
}

/* Contact Info List */
.footer-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.7);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-val {
  color: inherit;
  word-break: break-word;
}

.footer-contact-row:hover {
  color: #34d399;
}

/* Social Section */
.footer-social-section {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social-title {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.footer-social-icons-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-social-btn.fb-btn:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.footer-social-btn.yt-btn:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
}

.footer-social-btn.tw-btn:hover {
  background: #000000;
  border-color: #475569;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.footer-social-btn.ig-btn:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
}

.footer-social-btn.li-btn:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
  background: #090e17;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
}

.footer-copyright-text {
  color: #94a3b8;
  font-weight: 500;
}

.footer-dev-credit {
  color: #64748b;
  font-size: 12.5px;
}

.footer-dev-link {
  color: #34d399;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-dev-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-tagline-text {
  color: #64748b;
  font-size: 12.5px;
}

.footer-links-duo {
  display: contents;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-links-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-trust-strip {
    padding: 14px 0;
  }

  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .footer-trust-item {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 10px;
  }

  .footer-trust-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .footer-trust-icon-wrap svg {
    width: 16px;
    height: 16px;
  }

  .footer-trust-title {
    font-size: 12.5px;
    font-weight: 700;
  }

  .footer-trust-desc {
    font-size: 10.5px;
    margin-top: 1px;
    line-height: 1.25;
  }

  .footer-main-section {
    padding: 22px 0 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-brand-link {
    margin-bottom: 8px;
  }

  .footer-logo-img {
    max-height: 34px;
  }

  .footer-about-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .footer-affiliate-badge-box {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .footer-affiliate-text {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .footer-links-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    grid-column: auto;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-col-heading {
    font-size: 14px;
    margin-bottom: 10px;
    color: #f8fafc;
  }

  .footer-nav-list {
    gap: 7px;
  }

  .footer-nav-link {
    font-size: 12.5px;
    color: #94a3b8;
  }

  .footer-col-contact {
    margin-top: 0;
  }

  .footer-contact-info-list {
    gap: 8px;
    margin-bottom: 12px;
  }

  .footer-contact-row {
    font-size: 12.5px;
    gap: 8px;
  }

  .footer-contact-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  .footer-contact-icon svg {
    width: 13px;
    height: 13px;
  }

  .footer-social-section {
    padding-top: 10px;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-social-title {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .footer-social-icons-row {
    gap: 8px;
  }

  .footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .footer-social-btn svg {
    width: 16px;
    height: 16px;
  }

  .footer-bottom-bar {
    padding: 14px 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .footer-copyright-text {
    font-size: 11.5px;
  }

  .footer-tagline-text {
    font-size: 11px;
  }
}

/* ==========================================================================
   21. Article Social Share Bar Styles
   ========================================================================== */
.article-share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.article-share-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-heading, #0f172a);
}

.article-share-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-social-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff !important;
  flex-shrink: 0;
}

.btn-social-share:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

.btn-social-share:active {
  transform: scale(0.94);
}

.btn-share-fb {
  background: #1877f2;
}
.btn-share-fb:hover {
  background: #166fe5;
}

.btn-share-wa {
  background: #25d366;
}
.btn-share-wa:hover {
  background: #20bd5a;
}

.btn-share-pin {
  background: #e60023;
}
.btn-share-pin:hover {
  background: #cc001f;
}

.btn-share-li {
  background: #0a66c2;
}
.btn-share-li:hover {
  background: #095196;
}

.btn-share-x {
  background: #0f172a;
  border: 1px solid #334155;
}
.btn-share-x:hover {
  background: #000000;
}

.btn-share-tg {
  background: #24a1de;
}
.btn-share-tg:hover {
  background: #208ec4;
}

.btn-share-copy {
  background: var(--bg-muted, #f1f5f9);
  color: var(--text-main, #334155) !important;
  border: 1px solid var(--border-color, #cbd5e1);
}
.btn-share-copy:hover {
  background: #e2e8f0;
  color: #0f172a !important;
}
.btn-share-copy.copied {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

@media (max-width: 768px) {
  .article-share-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-share-btns {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Facebook Comments Plugin Responsive Styling */
.fb-comments,
.fb-comments iframe[style],
.fb-comments > span {
  width: 100% !important;
  min-width: 100% !important;
}

.fb-comments-box-wrapper {
  background: #ffffff;
}

html.theme-dark .fb-comments-box-wrapper {
  background: var(--bg-card);
}



