/**
 * TrueBuyerLab Theme Main Stylesheet
 * Vanilla CSS3 Responsive Layout Matching Design Screenshots
 */

:root {
  /* Global Colors */
  --tbl-primary: #0073e6;
  --tbl-primary-hover: #005bb5;
  --tbl-secondary: #0284c7;
  --tbl-accent: #e11d48;
  --tbl-black: #111111;
  --tbl-bg: #f8fafc;
  --tbl-body-bg: #f8fafc;
  --tbl-bg-secondary: #f1f5f9;
  --tbl-text: #1f2937;
  --tbl-text-muted: #4b5563;
  --tbl-border: #e5e7eb;

  /* Header & Navigation Colors */
  --tbl-header-bg: #0f131d;
  --tbl-nav-text: #d1d5db;
  --tbl-nav-hover: #ffffff;
  --tbl-nav-active: #38bdf8;
  --tbl-dropdown-bg: #161c2a;
  --tbl-dropdown-text: #e2e8f0;

  /* Footer & Social Colors */
  --tbl-footer-bg: #0b0e14;
  --tbl-footer-heading: #ffffff;
  --tbl-footer-text: #94a3b8;
  --tbl-footer-link: #94a3b8;
  --tbl-footer-link-hover: #ffffff;
  --tbl-social-icon: #e2e8f0;
  --tbl-social-bg: #1e293b;
  --tbl-social-hover-bg: #0073e6;
  --tbl-social-hover-icon: #ffffff;

  /* Buttons & Interactive Colors */
  --tbl-btn-primary-bg: #0073e6;
  --tbl-btn-primary-text: #ffffff;
  --tbl-btn-hover-bg: #005bb5;
  --tbl-btn-secondary-bg: #1e293b;
  --tbl-btn-secondary-text: #ffffff;
  --tbl-link-color: #0073e6;
  --tbl-link-hover: #005bb5;

  /* Article & Review Component Colors */
  --tbl-article-bg: #ffffff;
  --tbl-article-heading: #111827;
  --tbl-star: #eab308;
  --tbl-card-bg: #ffffff;
  --tbl-card-border: #e5e7eb;
  --tbl-badge-bg: #0073e6;
  --tbl-badge-text: #ffffff;
  --tbl-success: #059669;
  --tbl-success-bg: #f0fdf4;
  --tbl-success-border: #86efac;
  --tbl-danger: #dc2626;
  --tbl-danger-bg: #fef2f2;

  /* Responsive Logo Dimensions */
  --tbl-logo-width-desktop: 180px;
  --tbl-logo-max-height-desktop: 48px;
  --tbl-logo-width-tablet: 150px;
  --tbl-logo-max-height-tablet: 42px;
  --tbl-logo-width-mobile: 130px;
  --tbl-logo-max-height-mobile: 36px;
  --tbl-header-min-height: 68px;

  /* Social Media Dimensions */
  --tbl-social-icon-size: 18px;
  --tbl-social-box-size: 38px;
  --tbl-social-gap: 10px;
  --tbl-social-justify: flex-start;

  /* Typography & Layout */
  --tbl-font-heading: 'Oswald', 'Impact', sans-serif;
  --tbl-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --tbl-body-font-size: 16px;
  --tbl-body-line-height: 1.6;
  --tbl-container-max-width: 1320px;
  --tbl-section-spacing: 32px;
  --tbl-grid-gap: 20px;
  --tbl-card-radius: 10px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--tbl-font-body);
  font-size: var(--tbl-body-font-size);
  line-height: var(--tbl-body-line-height);
  background-color: var(--tbl-bg);
  color: var(--tbl-text);
}

/* Base Container */
.tbl-container {
  max-width: var(--tbl-container-max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Responsive Logo Customization */
.site-header,
.tbl-site-header {
  background-color: var(--tbl-header-bg);
  color: var(--tbl-nav-text);
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-sticky,
.tbl-site-header.is-sticky {
  position: sticky;
  top: 0;
}

.tbl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--tbl-header-min-height);
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 20px;
}

.tbl-logo-align-center .tbl-header-inner {
  flex-wrap: wrap;
  justify-content: center;
}

.tbl-logo-align-right .tbl-site-branding {
  order: 3;
}

.tbl-site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 100%;
}

.tbl-logo-link,
.tbl-brand-link,
.tbl-site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

/* Aspect-Ratio Safe Responsive Logo Sizing (Never Distorted or Oversized) */
.tbl-site-branding img.custom-logo,
.tbl-site-branding .tbl-uploaded-logo,
.tbl-brand-col img.custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: var(--tbl-logo-width-desktop) !important;
  max-height: var(--tbl-logo-max-height-desktop) !important;
  object-fit: contain !important;
}

.tbl-logo-icon,
.tbl-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--tbl-secondary), var(--tbl-primary));
  color: #ffffff;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(0, 115, 230, 0.35);
  flex-shrink: 0;
}

.tbl-brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.tbl-brand-name,
.tbl-brand-text {
  font-family: var(--tbl-font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.tbl-brand-tagline,
.tbl-header-tagline {
  font-family: var(--tbl-font-body);
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* Primary Navigation & Nested Multi-Level Dropdown Menus */
.main-navigation,
.tbl-main-navigation {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
}

.tbl-nav-menu,
.tbl-nav-list,
.tbl-menu-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tbl-nav-list li {
  position: relative;
  margin: 0;
  padding: 0;
}

.tbl-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 2px;
  font-family: var(--tbl-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--tbl-nav-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tbl-nav-list > li > a:hover,
.tbl-nav-list > li > a:focus-visible {
  color: var(--tbl-nav-hover);
}

.tbl-nav-list > li.current-menu-item > a,
.tbl-nav-list > li.current_page_item > a,
.tbl-nav-list > li.current-menu-ancestor > a {
  color: var(--tbl-nav-active);
}

/* Dropdown Indicator Arrow on Desktop */
.tbl-nav-list > li.menu-item-has-children > a::after,
.tbl-nav-list > li.page_item_has_children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.75;
}

/* Submenu Dropdowns (Level 2 & Level 3) */
.tbl-nav-list ul.sub-menu,
.tbl-nav-list ul.children {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background-color: var(--tbl-dropdown-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 200;
}

.tbl-nav-list ul.sub-menu ul.sub-menu,
.tbl-nav-list ul.children ul.children {
  top: 0;
  left: 100%;
}

.tbl-nav-list li:hover > ul.sub-menu,
.tbl-nav-list li:focus-within > ul.sub-menu,
.tbl-nav-list li.is-submenu-open > ul.sub-menu,
.tbl-nav-list li:hover > ul.children,
.tbl-nav-list li:focus-within > ul.children,
.tbl-nav-list li.is-submenu-open > ul.children {
  display: block;
}

.tbl-nav-list ul.sub-menu li a,
.tbl-nav-list ul.children li a {
  display: block;
  padding: 9px 16px;
  font-family: var(--tbl-font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--tbl-dropdown-text);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tbl-nav-list ul.sub-menu li a:hover,
.tbl-nav-list ul.sub-menu li a:focus-visible,
.tbl-nav-list ul.children li a:hover,
.tbl-nav-list ul.children li a:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--tbl-nav-active);
}

/* Submenu Toggle Button (Mobile & Tablet) */
.tbl-submenu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tbl-nav-text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  font-size: 11px;
}

.menu-toggle,
.tbl-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  padding: 8px 10px;
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  margin: 3px 0;
  border-radius: 2px;
}

.tbl-search-btn,
.tbl-search-toggle {
  background: transparent;
  border: none;
  color: var(--tbl-nav-text);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background-color 0.15s;
}

.tbl-search-btn:hover,
.tbl-search-toggle:hover {
  color: var(--tbl-nav-hover);
  background-color: rgba(255, 255, 255, 0.08);
}

.tbl-search-drawer {
  background: #0b0e14;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}

.tbl-search-drawer[hidden] {
  display: none !important;
}

.tbl-search-form {
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
}

.tbl-search-field {
  flex: 1;
  background: #ffffff;
  color: #111827;
  border: 1px solid var(--tbl-border);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 14px;
}

.tbl-search-submit {
  background: var(--tbl-btn-primary-bg);
  color: var(--tbl-btn-primary-text);
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.tbl-search-submit:hover {
  background: var(--tbl-btn-hover-bg);
}

/* Popular Tags Bar (Screenshot 1) */
.tbl-tags-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--tbl-border);
  padding: 8px 0;
}

.tbl-tags-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.tbl-tags-badge {
  background: var(--tbl-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.tbl-tags-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tbl-tag-item {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.15s;
}
.tbl-tag-item:hover {
  color: var(--tbl-primary);
}

/* Ticker Bar (Screenshot 1) */
.tbl-ticker-wrapper {
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  padding: 6px 0;
}

.tbl-ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbl-ticker-icon {
  background: #111111;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tbl-ticker-content {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.tbl-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.tbl-ticker-item:hover {
  color: var(--tbl-primary);
}

.tbl-ticker-thumb img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
}

/* Hero Section (Screenshot 1) */
.tbl-hero-section {
  padding: 24px 0 32px;
}

.tbl-hero-grid {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 24px;
}

/* Featured Hero Slider Card */
.tbl-hero-featured {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
}

.tbl-slider-container {
  position: relative;
  min-height: 440px;
}

.tbl-slider-nav {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  display: flex;
  gap: 6px;
}

.tbl-slide-btn {
  background: rgba(255, 255, 255, 0.85);
  color: #111111;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.tbl-slide-btn:hover {
  background: #ffffff;
}

.tbl-hero-slide {
  display: none;
  height: 100%;
}
.tbl-hero-slide.is-active {
  display: block;
}

.tbl-hero-card-link {
  display: block;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.tbl-hero-media {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.tbl-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tbl-hero-card-link:hover .tbl-hero-img {
  transform: scale(1.02);
}

.tbl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.05) 100%);
}

.tbl-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 10;
}

.tbl-hero-title {
  font-family: var(--tbl-font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Tabbed Sidebar (Screenshot 1) */
.tbl-hero-sidebar {
  background: #ffffff;
  border: 1px solid var(--tbl-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tbl-tabs-header {
  display: flex;
  background: #f3f4f6;
  border-bottom: 1px solid var(--tbl-border);
}

.tbl-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  background: transparent;
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.tbl-tab-btn.is-active {
  background: #ffffff;
  color: var(--tbl-primary);
  border-bottom-color: var(--tbl-primary);
}

.tbl-tab-panel {
  display: none;
  padding: 16px;
  flex: 1;
}
.tbl-tab-panel.is-active {
  display: block;
}

.tbl-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tbl-sidebar-item {
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 14px;
}
.tbl-sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tbl-sidebar-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
}

.tbl-sidebar-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
}

.tbl-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tbl-sidebar-title {
  font-family: var(--tbl-font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
  margin: 0;
  transition: color 0.15s;
}
.tbl-sidebar-link:hover .tbl-sidebar-title {
  color: var(--tbl-primary);
}

/* Featured Reviews Section (Screenshot 1) */
.tbl-featured-section {
  padding: 24px 0 40px;
}

.tbl-section-header {
  margin-bottom: 20px;
}

.tbl-section-title {
  font-family: var(--tbl-font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.tbl-section-line {
  width: 60px;
  height: 3px;
  background: var(--tbl-primary);
}

.tbl-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tbl-product-card {
  background: #ffffff;
  border: 1px solid var(--tbl-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tbl-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.tbl-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.tbl-card-image {
  height: 200px;
  overflow: hidden;
  background: #f3f4f6;
}

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

.tbl-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tbl-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
}

.tbl-card-rating {
  color: #d97706;
  font-weight: 700;
}

.tbl-card-price {
  font-weight: 700;
  color: #111827;
}

.tbl-card-title {
  font-family: var(--tbl-font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
  margin: 0 0 12px;
  flex: 1;
}

.tbl-card-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--tbl-primary);
}

/* ========================================================
   SINGLE PRODUCT REVIEW PAGE (Screenshot 2)
   ======================================================== */
.tbl-single-article {
  padding: 32px 0 60px;
}

.tbl-article-container {
  max-width: 900px;
}

.tbl-entry-header {
  margin-bottom: 24px;
}

.tbl-entry-title {
  font-family: var(--tbl-font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #111827;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

/* Trust Badges (Screenshot 2) */
.tbl-trust-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.tbl-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tbl-badge-icon {
  color: var(--tbl-primary);
  display: flex;
}

.tbl-badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111827;
  text-transform: uppercase;
}

.tbl-entry-meta {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbl-meta-sep {
  color: #d1d5db;
}

.tbl-byline strong {
  color: #111827;
}

/* Intro Paragraphs */
.tbl-intro-lead {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 28px;
}
.tbl-intro-lead p {
  margin-bottom: 14px;
}

/* PRODUCT REVIEW SUMMARY BOX (Screenshot 2) */
.tbl-review-summary-box {
  border: 2px solid #000000;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  margin: 32px 0 40px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.tbl-summary-header {
  background: #000000;
  color: #ffffff;
  padding: 12px 24px;
  text-align: center;
  border-radius: 14px 14px 0 0;
}

.tbl-summary-heading {
  font-family: var(--tbl-font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
  color: #ffffff;
}

.tbl-summary-body {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 28px;
  padding: 28px;
  align-items: center;
}

.tbl-summary-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tbl-summary-product-img {
  width: 100%;
  max-width: 280px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tbl-summary-product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tbl-summary-price {
  font-family: var(--tbl-font-heading);
  font-size: 34px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.tbl-summary-cta {
  width: 100%;
  max-width: 240px;
}

.tbl-btn-buy-now {
  display: block;
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}
.tbl-btn-buy-now:hover {
  background: #262626;
  transform: translateY(-1px);
}

/* Right Summary Details */
.tbl-summary-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tbl-summary-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tbl-stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}

.tbl-score-val {
  font-weight: 700;
  font-size: 16px;
  color: #111827;
}

.tbl-read-reviews-pill {
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  text-decoration: none;
  margin-left: 4px;
  transition: background 0.15s;
}
.tbl-read-reviews-pill:hover {
  background: #333333;
}

.tbl-summary-subhead {
  font-family: var(--tbl-font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #111827;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.tbl-summary-text {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
  margin: 0;
}

.tbl-summary-bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}
.tbl-summary-bullets li {
  margin-bottom: 6px;
}

/* Final Verdict Box (Screenshot 2) */
.tbl-verdict-box {
  background: var(--tbl-success-bg);
  border: 1px solid var(--tbl-success-border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.tbl-verdict-icon {
  color: var(--tbl-success);
  flex-shrink: 0;
  display: flex;
  margin-top: 1px;
}

.tbl-verdict-text {
  font-size: 13px;
  line-height: 1.5;
  color: #065f46;
}

/* Pros & Cons Section */
.tbl-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.tbl-pros-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 18px;
}

.tbl-pros-title {
  color: #15803d;
  font-size: 16px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbl-cons-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 18px;
}

.tbl-cons-title {
  color: #b91c1c;
  font-size: 16px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbl-pros-box ul,
.tbl-cons-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
}

/* Specs Table */
.tbl-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
}

.tbl-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--tbl-border);
  border-radius: 8px;
  font-size: 14px;
}

.tbl-specs-table th,
.tbl-specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--tbl-border);
  text-align: left;
}

.tbl-specs-table th {
  background: #f9fafb;
  font-weight: 700;
  color: #111827;
}

/* Author Box at the end (as explicitly requested) */
.tbl-author-card {
  background: #ffffff;
  border: 1px solid var(--tbl-border);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tbl-author-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tbl-author-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.tbl-author-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tbl-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--tbl-primary);
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.tbl-author-details {
  flex: 1;
}

.tbl-author-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--tbl-primary);
  text-transform: uppercase;
}

.tbl-author-name {
  font-family: var(--tbl-font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 2px 0 4px;
  color: #111827;
}

.tbl-author-role {
  font-size: 13px;
  color: #6b7280;
  display: block;
  margin-bottom: 10px;
}

.tbl-author-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 14px;
}

.tbl-author-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b7280;
}

.tbl-author-policy a {
  color: var(--tbl-primary);
  font-weight: 600;
  text-decoration: none;
}

/* Comments Section */
.tbl-comments-section {
  background: #ffffff;
  border: 1px solid var(--tbl-border);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
}

.comments-title {
  font-family: var(--tbl-font-heading);
  font-size: 22px;
  margin: 0 0 20px;
  color: #111827;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.comment-list li {
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

/* Related Section */
.tbl-related-section {
  margin: 48px 0;
}

.tbl-related-title {
  font-family: var(--tbl-font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111827;
}

/* Footer & Social Media Customization */
.site-footer,
.tbl-site-footer {
  background-color: var(--tbl-footer-bg);
  color: var(--tbl-footer-text);
  padding: 48px 0 24px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tbl-footer-columns,
.tbl-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tbl-footer-brand-link,
.tbl-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 10px;
}

.tbl-footer-brand-title,
.tbl-footer-brand-name {
  font-family: var(--tbl-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--tbl-footer-heading);
}

.tbl-footer-tagline,
.tbl-footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--tbl-footer-text);
  margin: 10px 0 18px;
}

/* Social Media Icons List */
.tbl-footer-social-wrap {
  margin-top: 14px;
}

.tbl-footer-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tbl-social-gap);
  justify-content: var(--tbl-social-justify);
}

.tbl-footer-social-item {
  margin: 0;
  padding: 0;
}

.tbl-social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tbl-social-box-size);
  height: var(--tbl-social-box-size);
  border-radius: 8px;
  background-color: var(--tbl-social-bg);
  color: var(--tbl-social-icon);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.tbl-social-icon-btn svg {
  width: var(--tbl-social-icon-size);
  height: var(--tbl-social-icon-size);
  flex-shrink: 0;
}

.tbl-social-icon-btn:hover,
.tbl-social-icon-btn:focus-visible {
  background-color: var(--tbl-social-hover-bg);
  color: var(--tbl-social-hover-icon);
  transform: translateY(-2px);
}

/* Optional Sanitized Social Embed / Iframe Container */
.tbl-footer-social-embed {
  margin-top: 16px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.tbl-footer-social-embed iframe {
  max-width: 100%;
  border: 0;
  border-radius: 8px;
}

.tbl-footer-heading {
  font-family: var(--tbl-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--tbl-footer-heading);
  margin: 0 0 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tbl-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.tbl-footer-links ul.sub-menu,
.tbl-footer-links ul.children {
  list-style: none;
  padding-left: 14px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tbl-footer-links a {
  color: var(--tbl-footer-link);
  text-decoration: none;
  transition: color 0.15s;
}

.tbl-footer-links a:hover,
.tbl-footer-links a:focus-visible {
  color: var(--tbl-footer-link-hover);
}

.tbl-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--tbl-footer-text);
}

.tbl-copyright {
  margin: 0;
}

.tbl-back-to-top {
  background: var(--tbl-btn-secondary-bg);
  color: var(--tbl-btn-secondary-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.tbl-back-to-top:hover {
  background: var(--tbl-btn-primary-bg);
  color: var(--tbl-btn-primary-text);
}

/* ========================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE LOGO & MENU)
   ======================================================== */
@media (max-width: 1024px) {
  /* Tablet Logo Dimensions */
  .tbl-site-branding img.custom-logo,
  .tbl-site-branding .tbl-uploaded-logo,
  .tbl-brand-col img.custom-logo {
    max-width: var(--tbl-logo-width-tablet) !important;
    max-height: var(--tbl-logo-max-height-tablet) !important;
  }

  .tbl-hero-grid {
    grid-template-columns: 1fr;
  }
  .tbl-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .tbl-footer-columns,
  .tbl-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Logo Dimensions */
  .tbl-site-branding img.custom-logo,
  .tbl-site-branding .tbl-uploaded-logo,
  .tbl-brand-col img.custom-logo {
    max-width: var(--tbl-logo-width-mobile) !important;
    max-height: var(--tbl-logo-max-height-mobile) !important;
  }

  .tbl-header-inner {
    min-height: 58px;
  }

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

  .main-navigation,
  .tbl-main-navigation {
    justify-content: flex-end;
  }

  .tbl-nav-menu,
  .tbl-nav-list,
  .tbl-menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tbl-header-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    z-index: 250;
  }

  .tbl-nav-menu.is-open,
  .tbl-nav-list.is-open,
  .tbl-main-nav.is-open .tbl-menu-list {
    display: flex;
  }

  .tbl-nav-list > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .tbl-nav-list > li > a {
    flex: 1;
    padding: 8px 4px;
  }

  .tbl-nav-list > li.menu-item-has-children > a::after,
  .tbl-nav-list > li.page_item_has_children > a::after {
    display: none;
  }

  .tbl-submenu-toggle {
    display: inline-flex;
  }

  .tbl-nav-list ul.sub-menu,
  .tbl-nav-list ul.children {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    margin: 4px 0 4px 12px;
    padding: 4px 0 4px 8px;
    background: transparent;
    display: none;
  }

  .tbl-nav-list li.is-submenu-open > ul.sub-menu,
  .tbl-nav-list li.is-submenu-open > ul.children {
    display: block;
  }

  .tbl-summary-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .tbl-pros-cons-grid {
    grid-template-columns: 1fr;
  }
  .tbl-entry-title {
    font-size: 30px;
  }
  .tbl-hero-title {
    font-size: 26px;
  }
  .tbl-hero-media {
    height: 320px;
  }
  .tbl-grid-4 {
    grid-template-columns: 1fr;
  }
  .tbl-footer-columns,
  .tbl-footer-grid {
    grid-template-columns: 1fr;
  }
  .tbl-author-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tbl-author-footer {
    justify-content: center;
  }
}

/* ========================================================
   DYNAMIC COMPONENTS, COLOR BINDINGS & ACCESSIBILITY
   ======================================================== */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Hero Featured Card Styles */
.tbl-hero-featured-card {
  position: relative;
  border-radius: var(--tbl-card-radius);
  overflow: hidden;
  background: #0f172a;
  height: 100%;
  min-height: 460px;
}

.tbl-hero-image-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.tbl-hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tbl-placeholder-label {
  font-family: var(--tbl-font-heading);
  font-size: 28px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.tbl-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.05) 100%);
}

.tbl-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 10;
}

.tbl-hero-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tbl-hero-cat,
.tbl-hero-cat-badge {
  background: var(--tbl-badge-bg);
  color: var(--tbl-badge-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
}

.tbl-hero-date {
  font-size: 12px;
  color: #e5e7eb;
  font-weight: 500;
}

/* Right Column Wrapper (3-Tab Box + Dedicated Recent Posts Box) */
.tbl-hero-right-column,
.tbl-hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tbl-sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--tbl-border);
  padding: 12px 0;
}

.tbl-sidebar-item:first-child {
  padding-top: 0;
}

.tbl-sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tbl-sidebar-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  margin-top: 4px;
  color: var(--tbl-text-muted);
}

.tbl-sidebar-cat {
  color: var(--tbl-link-color);
  font-weight: 700;
  text-transform: uppercase;
}

.tbl-thumb-fallback,
.tbl-thumb-placeholder,
.tbl-card-img-placeholder,
.tbl-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tbl-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.tbl-tab-empty {
  font-size: 13px;
  color: var(--tbl-text-muted);
  text-align: center;
  padding: 24px 12px;
  margin: 0;
}

/* Dedicated Recent Posts Section */
.tbl-recent-posts-box {
  background: var(--tbl-card-bg);
  border: 1px solid var(--tbl-card-border);
  border-radius: var(--tbl-card-radius);
  overflow: hidden;
}

.tbl-recent-posts-header {
  background: var(--tbl-bg-secondary);
  border-bottom: 1px solid var(--tbl-card-border);
  padding: 12px 16px;
}

.tbl-recent-posts-heading,
.tbl-recent-posts-title {
  font-family: var(--tbl-font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--tbl-article-heading);
  margin: 0;
  text-transform: uppercase;
}

.tbl-recent-posts-list {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tbl-recent-post-item {
  border-bottom: 1px solid var(--tbl-border);
  padding-bottom: 10px;
}

.tbl-recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tbl-recent-post-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}

.tbl-recent-post-title,
.tbl-recent-post-headline {
  font-family: var(--tbl-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--tbl-article-heading);
  line-height: 1.3;
  transition: color 0.15s ease;
}

.tbl-recent-post-link:hover .tbl-recent-post-title,
.tbl-recent-post-link:hover .tbl-recent-post-headline {
  color: var(--tbl-link-hover);
}

.tbl-recent-post-meta,
.tbl-recent-post-date {
  font-size: 11px;
  color: var(--tbl-text-muted);
}

/* Dynamic Article Cards & Badges */
.tbl-featured-section {
  padding: var(--tbl-section-spacing) 0;
}

.tbl-grid-4 {
  gap: var(--tbl-grid-gap);
}

.tbl-review-card,
.tbl-product-card {
  background: var(--tbl-card-bg);
  border: 1px solid var(--tbl-card-border);
  border-radius: var(--tbl-card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tbl-review-card:hover,
.tbl-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.tbl-card-thumb-link {
  display: block;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--tbl-bg-secondary);
}

.tbl-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tbl-review-card:hover .tbl-card-img {
  transform: scale(1.04);
}

.tbl-card-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--tbl-badge-bg);
  color: var(--tbl-badge-text);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

.tbl-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
}

.tbl-card-cat-link,
.tbl-card-category {
  color: var(--tbl-link-color);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.tbl-card-date {
  color: var(--tbl-text-muted);
}

.tbl-card-title a {
  color: var(--tbl-article-heading);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tbl-card-title a:hover {
  color: var(--tbl-link-hover);
}

.tbl-card-excerpt {
  font-size: 13px;
  color: var(--tbl-text-muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.tbl-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--tbl-border);
}

.tbl-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tbl-link-color);
  text-decoration: none;
}

.tbl-card-read-more:hover {
  color: var(--tbl-link-hover);
}

/* Single Article & Review Color Bindings */
.tbl-review-entry {
  background: var(--tbl-article-bg);
  padding: 28px;
  border-radius: var(--tbl-card-radius);
  border: 1px solid var(--tbl-border);
}

.tbl-entry-title,
.tbl-section-title,
.tbl-archive-title {
  color: var(--tbl-article-heading);
}

.tbl-title-bar {
  width: 60px;
  height: 3px;
  background: var(--tbl-primary);
  margin-top: 6px;
}

.tbl-stars,
.tbl-card-rating {
  color: var(--tbl-star);
}

.tbl-btn-buy-now {
  background: var(--tbl-btn-primary-bg);
  color: var(--tbl-btn-primary-text);
}

.tbl-btn-buy-now:hover {
  background: var(--tbl-btn-hover-bg);
}

/* WordPress Pagination Controls */
.tbl-pagination,
.navigation.pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.tbl-pagination ul.page-numbers,
.tbl-pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tbl-pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: var(--tbl-card-bg);
  border: 1px solid var(--tbl-border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tbl-text);
  text-decoration: none;
  transition: all 0.15s ease;
}

.tbl-pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:hover {
  border-color: var(--tbl-btn-primary-bg);
  color: var(--tbl-btn-primary-bg);
}

.tbl-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background: var(--tbl-btn-primary-bg);
  border-color: var(--tbl-btn-primary-bg);
  color: var(--tbl-btn-primary-text);
}

/* No Posts / No Search Results State */
.tbl-no-results,
.tbl-no-posts {
  background: var(--tbl-card-bg);
  border: 1px solid var(--tbl-border);
  border-radius: var(--tbl-card-radius);
  padding: 48px 24px;
  text-align: center;
  max-width: 640px;
  margin: 32px auto;
}

.tbl-no-results-title,
.tbl-no-posts h2 {
  font-family: var(--tbl-font-heading);
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--tbl-article-heading);
}

.tbl-no-results-text,
.tbl-no-posts p {
  font-size: 14px;
  color: var(--tbl-text-muted);
  margin: 0 0 20px;
}

.tbl-no-results-search,
.tbl-no-posts-search {
  max-width: 480px;
  margin: 0 auto;
}

/* Editable Footer Logo & Consumer Protection Lists */
.tbl-footer-custom-logo {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.tbl-protection-list .tbl-protection-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--tbl-footer-text);
}

.tbl-protection-icon,
.tbl-protection-check {
  color: #10b981;
  display: inline-flex;
  margin-top: 2px;
  flex-shrink: 0;
}

.tbl-footer-empty-note {
  font-size: 12px;
  color: var(--tbl-footer-text);
  margin: 0;
}

/* ========================================================
   EDITORIAL TYPOGRAPHY HIERARCHY & READABILITY REFINEMENT
   (Balanced font weights, clean letter-spacing, zero cramped all-caps)
   ======================================================== */
:root {
  --tbl-heading-weight: 600;
  --tbl-mag-columns: 4;
  --tbl-mag-card-spacing: 16px;
  --tbl-mag-bg: #ffffff;
  --tbl-mag-heading-color: #0f172a;
  --tbl-mag-heading-size: 24px;
}

/* 1. Page & Single Article H1 Titles */
.tbl-entry-title,
.tbl-archive-title {
  font-family: var(--tbl-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: var(--tbl-heading-weight, 600);
  line-height: 1.24;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--tbl-article-heading);
  margin: 0 0 16px;
}

/* 2. Hero Featured Headline */
.tbl-hero-title {
  font-family: var(--tbl-font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: var(--tbl-heading-weight, 600);
  line-height: 1.24;
  letter-spacing: 0;
  text-transform: none;
}

/* 3. Section Headings (Homepage, Latest Reviews & Articles, Related Articles, Magazine Section) */
.tbl-section-title,
.tbl-related-title,
.tbl-magazine-section-title {
  font-family: var(--tbl-font-heading);
  font-size: var(--tbl-mag-heading-size, 24px);
  font-weight: var(--tbl-heading-weight, 600);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--tbl-article-heading);
  margin: 0 0 8px;
}

/* 4. Sidebar, Recent Posts, & Column Headings */
.tbl-recent-posts-heading,
.tbl-recent-posts-title {
  font-family: var(--tbl-font-heading);
  font-size: 17px;
  font-weight: var(--tbl-heading-weight, 600);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--tbl-article-heading);
  margin: 0;
}

/* 5. Article Card Titles (Grid, Sidebar, Recent Posts, Magazine Cards) */
.tbl-card-title {
  font-family: var(--tbl-font-heading);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--tbl-article-heading);
}

.tbl-sidebar-title,
.tbl-recent-post-headline {
  font-family: var(--tbl-font-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--tbl-article-heading);
}

/* 6. Single Article Body Subheadings (H2, H3, H4 inside WYSIWYG) */
.tbl-post-wysiwyg h2 {
  font-family: var(--tbl-font-heading);
  font-size: 24px;
  font-weight: var(--tbl-heading-weight, 600);
  line-height: 1.3;
  letter-spacing: 0.005em;
  color: var(--tbl-article-heading);
  margin: 28px 0 12px;
}

.tbl-post-wysiwyg h3 {
  font-family: var(--tbl-font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.005em;
  color: var(--tbl-article-heading);
  margin: 22px 0 10px;
}

.tbl-summary-heading {
  font-family: var(--tbl-font-heading);
  font-size: 21px;
  font-weight: var(--tbl-heading-weight, 600);
  letter-spacing: 0.015em;
  text-transform: none;
}

.tbl-summary-subhead {
  font-family: var(--tbl-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--tbl-article-heading);
  margin: 0 0 6px;
}

/* 7. Author Biography Card Typography */
.tbl-author-name {
  font-family: var(--tbl-font-heading);
  font-size: 21px;
  font-weight: var(--tbl-heading-weight, 600);
  line-height: 1.3;
  letter-spacing: 0.005em;
  margin: 2px 0 6px;
}

.tbl-author-name a {
  color: var(--tbl-article-heading);
  text-decoration: none;
}

.tbl-author-name a:hover {
  color: var(--tbl-link-hover);
}

.tbl-author-bio p {
  margin: 0 0 10px;
}

.tbl-author-bio p:last-child {
  margin-bottom: 0;
}

/* 8. Footer Headings */
.tbl-footer-heading {
  font-family: var(--tbl-font-heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--tbl-footer-heading);
  margin: 0 0 14px;
}

/* ========================================================
   DYNAMIC MULTI-COLUMN MAGAZINE POST LAYOUT (CATEGORY COLUMNS)
   ======================================================== */
.tbl-magazine-section {
  padding: var(--tbl-section-spacing, 32px) 0 16px;
}

.tbl-magazine-section-title {
  color: var(--tbl-mag-heading-color, var(--tbl-article-heading));
  font-size: var(--tbl-mag-heading-size, 24px);
}

.tbl-magazine-grid {
  display: grid;
  grid-template-columns: repeat(var(--tbl-mag-columns, 4), minmax(0, 1fr));
  gap: var(--tbl-grid-gap, 20px);
  align-items: stretch;
}

.tbl-magazine-grid.tbl-magazine-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tbl-magazine-grid.tbl-magazine-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tbl-magazine-column {
  background: var(--tbl-mag-bg, var(--tbl-card-bg));
  border: 1px solid var(--tbl-card-border);
  border-radius: var(--tbl-card-radius, 10px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.tbl-magazine-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--tbl-primary);
}

.tbl-magazine-col-title {
  font-family: var(--tbl-font-heading);
  font-size: 18px;
  font-weight: var(--tbl-heading-weight, 600);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--tbl-mag-heading-color, var(--tbl-article-heading));
  margin: 0;
  text-transform: none;
}

.tbl-magazine-col-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tbl-magazine-col-title a:hover {
  color: var(--tbl-link-hover);
}

.tbl-magazine-col-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--tbl-link-color);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.tbl-magazine-col-more:hover {
  color: var(--tbl-link-hover);
}

.tbl-magazine-col-list {
  display: flex;
  flex-direction: column;
  gap: var(--tbl-mag-card-spacing, 16px);
  flex: 1;
}

.tbl-mag-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: var(--tbl-mag-card-spacing, 16px);
  border-bottom: 1px solid var(--tbl-border);
  min-width: 0;
}

.tbl-mag-card:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.tbl-mag-card-media {
  display: block;
  width: 100%;
  height: 155px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tbl-bg-secondary);
  position: relative;
}

.tbl-mag-card-compact {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.tbl-mag-card-compact .tbl-mag-card-media {
  width: 84px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 6px;
}

.tbl-mag-card-media img,
.tbl-mag-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.tbl-mag-card:hover .tbl-mag-card-media img {
  transform: scale(1.04);
}

.tbl-mag-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.tbl-mag-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  line-height: 1.3;
}

.tbl-mag-card-cat {
  color: var(--tbl-link-color);
  font-weight: 600;
  text-decoration: none;
}

.tbl-mag-card-cat:hover {
  color: var(--tbl-link-hover);
}

.tbl-mag-card-date {
  color: var(--tbl-text-muted);
}

.tbl-mag-card-title {
  font-family: var(--tbl-font-heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--tbl-mag-heading-color, var(--tbl-article-heading));
}

.tbl-mag-card-compact .tbl-mag-card-title {
  font-size: 14.5px;
  line-height: 1.35;
}

.tbl-mag-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tbl-mag-card-title a:hover {
  color: var(--tbl-link-hover);
}

.tbl-mag-card-author {
  font-size: 11px;
  color: var(--tbl-text-muted);
  margin-top: 2px;
}

.tbl-magazine-col-empty {
  font-size: 13px;
  color: var(--tbl-text-muted);
  padding: 20px 8px;
  text-align: center;
}

/* Tablet Magazine Layout (2 Columns) */
@media (max-width: 1024px) {
  .tbl-magazine-grid,
  .tbl-magazine-grid.tbl-magazine-cols-3,
  .tbl-magazine-grid.tbl-magazine-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile Magazine Layout (Single Column, Zero Horizontal Overflow) */
@media (max-width: 768px) {
  .tbl-magazine-grid,
  .tbl-magazine-grid.tbl-magazine-cols-3,
  .tbl-magazine-grid.tbl-magazine-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   PART A: GUTENBERG BLOCK EDITOR & PAGE CONTENT SUPPORT
   (`page.php`, `the_content()`, `.entry-content`)
   ======================================================== */
.tbl-page-featured-media {
  margin: 0 0 24px;
  border-radius: var(--tbl-card-radius, 10px);
  overflow: hidden;
  border: 1px solid var(--tbl-border);
}

.tbl-page-featured-img {
  width: 100%;
  height: auto;
  display: block;
}

.tbl-page-edit-meta {
  margin-top: 8px;
}

.tbl-edit-page-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tbl-link-color);
  background: rgba(0, 115, 230, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.tbl-post-wysiwyg .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}

.tbl-post-wysiwyg .wp-block-column {
  flex: 1 1 260px;
  min-width: 0;
}

.tbl-post-wysiwyg .wp-block-button__link,
.tbl-post-wysiwyg .tbl-content-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tbl-btn-primary-bg);
  color: var(--tbl-btn-primary-text) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tbl-post-wysiwyg .wp-block-button__link:hover,
.tbl-post-wysiwyg .tbl-content-btn:hover {
  background: var(--tbl-btn-hover-bg);
  transform: translateY(-1px);
}

.tbl-post-wysiwyg .wp-block-image,
.tbl-post-wysiwyg figure {
  margin: 24px 0;
}

.tbl-post-wysiwyg .wp-block-image img,
.tbl-post-wysiwyg figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.tbl-post-wysiwyg blockquote,
.tbl-post-wysiwyg .wp-block-quote {
  border-left: 4px solid var(--tbl-primary);
  background: var(--tbl-bg);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--tbl-text);
}

.tbl-post-wysiwyg ul,
.tbl-post-wysiwyg ol {
  margin: 16px 0;
  padding-left: 24px;
}

.tbl-post-wysiwyg li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* ========================================================
   PART B: 7-ZONE MAGAZINE HOMEPAGE SECTIONS
   ======================================================== */

/* Section 1: Hero Spotlight Excerpt, Read More & Prev/Next Controls */
.tbl-hero-featured {
  position: relative;
}

.tbl-hero-slide {
  display: none;
}

.tbl-hero-slide.is-active {
  display: block;
  animation: tblHeroSlideFade var(--tbl-anim-duration, 420ms) cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tblHeroSlideFade {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tbl-hero-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tbl-hero-title a:hover {
  color: #93c5fd;
}

.tbl-hero-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.9);
  margin: 10px 0 16px;
  max-width: 680px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tbl-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbl-hero-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tbl-btn-primary-bg);
  color: var(--tbl-btn-primary-text);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tbl-hero-read-more:hover {
  background: var(--tbl-btn-hover-bg);
  transform: translateY(-1px);
}

.tbl-hero-nav-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: blur(8px);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tbl-hero-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tbl-hero-nav-btn:hover {
  background: var(--tbl-primary);
  transform: scale(1.06);
}

.tbl-hero-slide-indicator {
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  padding: 0 6px;
}

/* Tab 3: Monthly Archives List in Hero Tab Box */
.tbl-archive-month-list,
.tbl-sidebar-archive-list,
.tbl-sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tbl-archive-month-list li,
.tbl-sidebar-archive-list li,
.tbl-sidebar-cat-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 4px;
  border-bottom: 1px solid var(--tbl-border);
  font-size: 13px;
  color: var(--tbl-text-muted);
}

.tbl-archive-month-list li:last-child,
.tbl-sidebar-archive-list li:last-child,
.tbl-sidebar-cat-list li:last-child {
  border-bottom: none;
}

.tbl-archive-month-list a,
.tbl-sidebar-archive-list a,
.tbl-sidebar-cat-link {
  color: var(--tbl-text);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: color 0.18s ease, transform 0.18s ease;
}

.tbl-archive-month-list a:hover,
.tbl-sidebar-archive-list a:hover,
.tbl-sidebar-cat-link:hover {
  color: var(--tbl-link-color);
  transform: translateX(3px);
}

.tbl-sidebar-cat-badge {
  background: var(--tbl-bg);
  border: 1px solid var(--tbl-border);
  color: var(--tbl-text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 999px;
}

/* Section 2: Featured Reviews (4-Card Strip) */
.tbl-featured-reviews-strip {
  padding: var(--tbl-section-spacing, 32px) 0 8px;
}

/* Section 4: Main Article Feed (5 Per Page) + Editorial Sidebar */
.tbl-main-feed-section {
  padding: var(--tbl-section-spacing, 32px) 0;
}

.tbl-feed-with-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: 28px;
  align-items: start;
}

.tbl-feed-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tbl-feed-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  background: var(--tbl-card-bg);
  border: 1px solid var(--tbl-card-border);
  border-radius: var(--tbl-card-radius, 10px);
  padding: 16px;
  transition: transform var(--tbl-anim-duration, 320ms) ease,
    box-shadow var(--tbl-anim-duration, 320ms) ease,
    border-color var(--tbl-anim-duration, 320ms) ease;
}

.tbl-feed-card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 185px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tbl-bg);
}

.tbl-feed-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tbl-anim-duration, 420ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.tbl-feed-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.tbl-feed-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--tbl-text-muted);
  margin-bottom: 8px;
}

.tbl-feed-card-cat {
  color: var(--tbl-link-color);
  font-weight: 600;
  text-decoration: none;
}

.tbl-feed-card-title {
  font-family: var(--tbl-font-heading);
  font-size: 20px;
  font-weight: var(--tbl-heading-weight, 600);
  line-height: 1.32;
  margin: 0 0 10px;
  color: var(--tbl-article-heading);
}

.tbl-feed-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.tbl-feed-card-title a:hover {
  color: var(--tbl-link-color);
}

.tbl-feed-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--tbl-text-muted);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tbl-feed-card-footer {
  margin-top: auto;
}

.tbl-feed-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tbl-btn-primary-text);
  background: var(--tbl-btn-primary-bg);
  padding: 7px 15px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tbl-feed-read-more:hover {
  background: var(--tbl-btn-hover-bg);
}

.tbl-btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.tbl-feed-read-more:hover .tbl-btn-arrow,
.tbl-hero-read-more:hover .tbl-btn-arrow,
.tbl-card-link:hover .tbl-btn-arrow {
  transform: translateX(4px);
}

/* Homepage Sidebar Widgets */
.tbl-home-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tbl-sidebar-widget {
  background: var(--tbl-card-bg);
  border: 1px solid var(--tbl-card-border);
  border-radius: var(--tbl-card-radius, 10px);
  padding: 18px 20px;
}

.tbl-sidebar-widget-header {
  border-bottom: 2px solid var(--tbl-primary);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.tbl-sidebar-widget-title {
  font-family: var(--tbl-font-heading);
  font-size: 17px;
  font-weight: var(--tbl-heading-weight, 600);
  color: var(--tbl-article-heading);
  margin: 0;
}

@media (max-width: 1024px) {
  .tbl-feed-with-sidebar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tbl-feed-card {
    grid-template-columns: 1fr;
  }
  .tbl-feed-card-media {
    height: 200px;
  }
}

/* ========================================================
   PART E & SECTION 7: FLOATING SCROLL-TO-TOP BUTTON
   ======================================================== */
.tbl-scroll-top-floating {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--tbl-primary, #0073e6);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0, 115, 230, 0.45), 0 4px 10px -2px rgba(15, 23, 42, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.88);
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    visibility 0.28s ease;
}

.tbl-scroll-top-floating.tbl-scroll-top-rounded {
  border-radius: 12px;
}

.tbl-scroll-top-floating.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.tbl-scroll-top-floating:hover {
  background: var(--tbl-btn-hover-bg, #005bb5);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 28px -5px rgba(0, 115, 230, 0.55);
}

.tbl-scroll-top-floating:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .tbl-scroll-top-floating {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ========================================================
   PREMIUM WEBSITE ANIMATION & INTERACTION ENGINE
   (Controlled via `Appearance -> Customize -> Animations & Effects`)
   ======================================================== */

/* 1. Scroll-Triggered Reveal (Progressive Enhancement: only hides prior to reveal when JS is active) */
body.tbl-js-reveal-ready.tbl-anim-enabled.tbl-anim-scroll .tbl-reveal,
body.tbl-js-reveal-ready.tbl-anim-enabled.tbl-anim-scroll .tbl-reveal-item {
  opacity: 0;
  transform: translateY(var(--tbl-anim-distance, 18px));
  transition: opacity var(--tbl-anim-duration, 420ms) cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--tbl-anim-duration, 420ms) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--tbl-stagger-index, 0) * 65ms);
  will-change: opacity, transform;
}

body.tbl-js-reveal-ready.tbl-anim-enabled.tbl-anim-scroll .tbl-reveal.is-revealed,
body.tbl-js-reveal-ready.tbl-anim-enabled.tbl-anim-scroll .tbl-reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Hero Spotlight Image Scale & Gradient Overlay Motion */
body.tbl-anim-enabled.tbl-anim-hero .tbl-hero-img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.tbl-anim-enabled.tbl-anim-hero .tbl-hero-featured:hover .tbl-hero-img {
  transform: scale(var(--tbl-anim-scale, 1.04));
}

body.tbl-anim-enabled.tbl-anim-hero .tbl-tab-panel.is-active {
  animation: tblTabFadeIn var(--tbl-anim-duration, 320ms) cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tblTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Card Hover Elevation & Image Zoom (Featured Reviews, Grid Cards, Feed Cards) */
body.tbl-anim-enabled.tbl-anim-hover .tbl-product-card,
body.tbl-anim-enabled.tbl-anim-hover .tbl-feed-card {
  transition: transform var(--tbl-anim-duration, 320ms) cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--tbl-anim-duration, 320ms) cubic-bezier(0.22, 1, 0.36, 1),
    border-color var(--tbl-anim-duration, 320ms) ease;
}

body.tbl-anim-enabled.tbl-anim-hover .tbl-product-card:hover,
body.tbl-anim-enabled.tbl-anim-hover .tbl-feed-card:hover {
  transform: translateY(var(--tbl-anim-lift, -4px));
  box-shadow: 0 14px 28px -8px rgba(15, 23, 42, 0.12), 0 4px 10px -3px rgba(15, 23, 42, 0.06);
  border-color: rgba(0, 115, 230, 0.35);
}

body.tbl-anim-enabled.tbl-anim-hover .tbl-product-card:hover .tbl-card-image img,
body.tbl-anim-enabled.tbl-anim-hover .tbl-feed-card:hover .tbl-feed-card-img {
  transform: scale(var(--tbl-anim-scale, 1.04));
}

/* 4. Navigation Animated Underlines & Smooth Dropdowns */
body.tbl-anim-enabled.tbl-anim-nav .tbl-nav-list > li > a {
  position: relative;
}

body.tbl-anim-enabled.tbl-anim-nav .tbl-nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--tbl-nav-active, #0073e6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--tbl-anim-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

body.tbl-anim-enabled.tbl-anim-nav .tbl-nav-list > li > a:hover::after,
body.tbl-anim-enabled.tbl-anim-nav .tbl-nav-list > li.current-menu-item > a::after,
body.tbl-anim-enabled.tbl-anim-nav .tbl-nav-list > li.current_page_item > a::after {
  transform: scaleX(1);
}

/* 5. Footer Viewport Reveal & Link/Social Hover Animations */
body.tbl-js-reveal-ready.tbl-anim-enabled.tbl-anim-footer .site-footer {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--tbl-anim-duration, 420ms) ease,
    transform var(--tbl-anim-duration, 420ms) ease;
}

body.tbl-js-reveal-ready.tbl-anim-enabled.tbl-anim-footer .site-footer.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

body.tbl-anim-enabled.tbl-anim-footer .tbl-footer-links a {
  display: inline-block;
  transition: color 0.18s ease, transform 0.18s ease;
}

body.tbl-anim-enabled.tbl-anim-footer .tbl-footer-links a:hover {
  transform: translateX(3px);
}

/* 6. Strict Reduced-Motion Accessibility Override */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .tbl-reveal,
  .tbl-reveal-item,
  .site-footer {
    opacity: 1 !important;
    transform: none !important;
  }
}



