/**
 * Techniq World - Benqu-Inspired Modern Editorial Tech Publication Design System
 * Engine: Blocksy & Modern WordPress Web Architecture
 * Version: 2.4.0
 */

:root {
  /* Benqu Typography System (Encode Sans Condensed for headings, DM Sans for body) */
  --tw-font-heading: 'Encode Sans Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tw-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tw-font-editorial: 'Encode Sans Condensed', sans-serif;
  --tw-font-serif: 'Lora', Georgia, Cambria, 'Times New Roman', Times, serif;
  --tw-font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Benqu Signature Electric Palette */
  --tw-primary: #5541f8;            /* Benqu Signature Electric Indigo */
  --tw-primary-hover: #4332d9;      /* Benqu Deep Indigo */
  --tw-primary-light: #eff0fe;      /* Benqu Soft Indigo Tint */
  --tw-primary-glow: rgba(85, 65, 248, 0.22);
  
  --tw-coral: #ff5441;              /* Benqu Coral Red / Hot Breaking Badge */
  --tw-coral-light: #ffefed;
  --tw-amber: #ffaa00;              /* Benqu Amber Gold */
  --tw-amber-light: #fff8e6;
  --tw-emerald: #00d285;            /* Benqu Emerald Mint */
  --tw-emerald-light: #e6faf3;
  
  --tw-accent-gradient: linear-gradient(135deg, #ff5441 0%, #5541f8 55%, #00d285 100%);
  --tw-benqu-gradient: linear-gradient(135deg, #5541f8 0%, #7b68ee 100%);
  --tw-hero-gradient: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.98) 100%);
  
  --tw-dark-bg: #0b0f19;
  --tw-dark-surface: #161f30;
  --tw-dark-border: rgba(255, 255, 255, 0.08);
  
  --tw-surface: #ffffff;
  --tw-canvas: #f7f8fa;             /* Benqu Crisp Canvas */
  --tw-border: #eaedf2;             /* Benqu Subtle Border */
  --tw-border-hover: #d5dae5;
  
  --tw-text-title: #0f172a;
  --tw-text-body: #334155;
  --tw-text-muted: #64748b;
  --tw-text-light: #94a3b8;
  
  --tw-radius-sm: 8px;
  --tw-radius-md: 12px;
  --tw-radius-lg: 16px;
  --tw-radius-xl: 20px;
  --tw-radius-full: 9999px;
  
  --tw-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --tw-shadow-md: 0 4px 14px -2px rgba(85, 65, 248, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --tw-shadow-lg: 0 14px 28px -4px rgba(85, 65, 248, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --tw-shadow-glow: 0 0 20px rgba(85, 65, 248, 0.18);
  
  --tw-transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Font & Body Reset */
body, input, select, textarea, button {
  font-family: var(--tw-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--tw-canvas) !important;
  color: var(--tw-text-body) !important;
  letter-spacing: -0.01em;
  line-height: 1.65;
}

/* Modern Benqu Editorial Headings System */
h1, h2, h3, h4, h5, h6,
.entry-title,
.entry-title a,
.tw-hero-main-title,
.tw-hero-main-title a,
.bnq-sub-title,
.bnq-sub-title a,
.bnq-stack-title,
.bnq-stack-title a,
.bnq-trending-title,
.bnq-trending-title a,
.bnq-feed-title,
.bnq-feed-title a,
.bnq-popular-title,
.benqu-section-title-wrap h2,
.tw-related-header {
  font-family: var(--tw-font-heading) !important;
  color: var(--tw-text-title);
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* Ambient Top Accent Line */
.tw-top-accent-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--tw-accent-gradient);
  z-index: 99999;
}

/* Viewport Reading Progress Bar */
#tw-reading-progress {
  position: fixed;
  top: 3px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #ff5441 0%, #5541f8 100%);
  z-index: 99998;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(85, 65, 248, 0.6);
}

/* Modern Header Bar */
header.ct-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--tw-border) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

/* Offcanvas Navigation Drawer - Premium Dark Glassmorphism Styling */
#offcanvas.ct-header {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: none !important;
  box-shadow: none !important;
  --panel-width: 380px;
}

@media (max-width: 480px) {
  #offcanvas.ct-header {
    --panel-width: 86vw;
  }
}

#offcanvas [data-device="desktop"] {
  display: none !important;
}

#offcanvas [data-device="mobile"] {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: auto !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: static !important;
  overflow: visible !important;
}

#offcanvas .ct-panel-inner {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  width: var(--panel-width, 380px) !important;
  max-width: 88vw !important;
  left: auto !important;
  right: 0 !important;
  padding: 24px 28px !important;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.45) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

#offcanvas .ct-panel-inner::-webkit-scrollbar {
  width: 5px;
  height: 0px;
}

#offcanvas .ct-panel-inner::-webkit-scrollbar-track {
  background: transparent;
}

#offcanvas .ct-panel-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

#offcanvas .ct-panel-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

#offcanvas .ct-panel-actions {
  display: flex !important;
  justify-content: flex-end !important;
  padding: 0 0 16px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 20px !important;
}

#offcanvas .ct-toggle-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

#offcanvas .ct-toggle-close:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  transform: rotate(90deg) !important;
}

.tw-drawer-header {
  margin-bottom: 22px;
}

.tw-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tw-drawer-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ef4444 0%, #ee2a7b 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(238, 42, 123, 0.35);
}

.tw-drawer-brand-text {
  display: flex;
  flex-direction: column;
}

.tw-drawer-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
  font-family: var(--tw-font-heading);
}

.tw-drawer-brand-tagline {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
}

.tw-drawer-search-form {
  display: flex;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.tw-drawer-search-form:focus-within {
  border-color: #5f51e8;
  background: rgba(255, 255, 255, 0.09);
}

.tw-drawer-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 10px 14px !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-family: var(--tw-font-body);
}

.tw-drawer-search-input::placeholder {
  color: #64748b;
}

.tw-drawer-search-submit {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0 14px;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s;
}

.tw-drawer-search-submit:hover {
  color: #ffffff;
}

#offcanvas .mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#offcanvas .mobile-menu > ul > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#offcanvas .mobile-menu .ct-menu-link {
  color: #e2e8f0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 6px !important;
  transition: color 0.2s, padding-left 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

#offcanvas .mobile-menu .ct-menu-link:hover {
  color: #60a5fa !important;
  padding-left: 8px !important;
}

#offcanvas .mobile-menu .ct-toggle-dropdown-mobile {
  color: #94a3b8 !important;
  width: 32px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

#offcanvas .mobile-menu .sub-menu {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 6px 12px !important;
  margin: 4px 0 10px 0 !important;
}

#offcanvas .mobile-menu .sub-menu .ct-menu-link {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  padding: 8px 6px !important;
}

#offcanvas .mobile-menu .sub-menu .ct-menu-link:hover {
  color: #ffffff !important;
}

.tw-drawer-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tw-drawer-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 12px;
}

.tw-drawer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tw-drawer-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s;
}

.tw-drawer-tag:hover {
  background: #3b82f6;
  color: #ffffff !important;
}

.tw-drawer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tw-drawer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
  text-decoration: none !important;
}

.tw-drawer-socials a:hover {
  background: #5f51e8;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.tw-drawer-copyright {
  font-size: 11.5px;
  color: #475569;
}

/* Tier 3: Sticky Navbar Height & Container Alignment */
.ct-header [data-row="middle"] {
  border-bottom: 1px solid #eaedf2 !important;
  min-height: 56px !important;
  height: 56px !important;
  max-height: 56px !important;
}

.ct-header [data-row="middle"] .ct-container {
  min-height: 56px !important;
  height: 56px !important;
  max-height: 56px !important;
  max-width: 1280px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Site Branding & Title */
.site-title a {
  font-family: var(--tw-font-heading) !important;
  font-weight: 800 !important;
  font-size: 23px !important;
  letter-spacing: -0.03em !important;
  color: #0f172a !important;
  background: linear-gradient(135deg, #0f172a 45%, #5541f8 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-flex;
  align-items: center;
  transition: var(--tw-transition);
}
.site-title a:hover {
  opacity: 0.9;
}

/* Blocksy Navigation Links */
.header-menu-1 .ct-menu-link {
  font-family: var(--tw-font-sans) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  letter-spacing: -0.01em !important;
  height: 56px !important;
  line-height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  transition: var(--tw-transition) !important;
}

.header-menu-1 .ct-menu-link:hover,
.header-menu-1 li.current-menu-item > .ct-menu-link {
  color: #5541f8 !important;
}

/* Search Toggle Button */
.ct-header-search {
  color: #334155 !important;
  transition: var(--tw-transition);
}
.ct-header-search:hover {
  color: #5541f8 !important;
}

/* Clean Frontpage: Hide redundant title & old floating bar */
.home .entry-header,
.home .hero-section,
.home .page-title,
.home .cb-social-sharing {
  display: none !important;
}

/* Prevent double footer */
.ct-footer {
  display: none !important;
}

/* ===================================================
   Benqu-Style 3-Tier Header Architecture
   =================================================== */

/* Tier 1: Dark Navy Top Utility Bar */
.tw-benqu-topbar {
  background: #0b1220;
  color: #cbd5e1;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.tw-benqu-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tw-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  overflow: hidden;
}
.tw-date-pill {
  background: #5f51e8;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--tw-radius-full);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(95, 81, 232, 0.35);
}
.tw-date-pill i {
  font-size: 12px;
}
.tw-ticker-group {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
}
.tw-ticker-badge {
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-family: var(--tw-font-heading);
}
.tw-ticker-badge i {
  color: #ff5441;
  font-size: 14px;
}
.tw-ticker-marquee {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.tw-ticker-marquee::-webkit-scrollbar {
  display: none;
}
.tw-ticker-link {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--tw-font-sans);
}
.tw-ticker-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
.tw-ticker-sep {
  color: rgba(255, 255, 255, 0.3);
}
.tw-ticker-ai {
  color: #38bdf8 !important;
  font-weight: 700;
}
.tw-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.tw-topbar-user {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 11.5px;
}
.tw-follow-title {
  color: #94a3b8;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--tw-font-sans);
}
.tw-topbar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tw-topbar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 11.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.tw-topbar-socials a:hover {
  background: #5f51e8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(95, 81, 232, 0.4);
}

@media (max-width: 992px) {
  .tw-topbar-right, .tw-date-pill {
    display: none;
  }
}

/* Tier 2: Main Brand Header & Leaderboard Row */
.tw-benqu-header-row {
  background: #ffffff;
  border-bottom: 1px solid #eaedf2;
  padding: 16px 0;
}
.tw-benqu-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.tw-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.tw-drawer-toggle {
  width: 42px;
  height: 42px;
  border: 1.5px solid #eaedf2;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tw-drawer-toggle:hover {
  border-color: #5f51e8;
  color: #5f51e8;
  background: #f8f9fe;
}
.tw-benqu-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}
.tw-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ee2a7b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tw-font-heading);
  font-weight: 900;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(238, 42, 123, 0.35);
  flex-shrink: 0;
}
.tw-logo-text-group {
  display: flex;
  flex-direction: column;
}
.tw-logo-name {
  font-family: var(--tw-font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.tw-logo-tagline {
  font-family: var(--tw-font-sans);
  font-size: 9.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}
.tw-header-banner {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.tw-promo-leaderboard {
  width: 100%;
  max-width: 680px;
  height: 72px;
  background: linear-gradient(135deg, #0b1220 0%, #161f30 65%, #1e1b4b 100%);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(11, 18, 32, 0.08);
  transition: all 0.25s ease;
}
.tw-promo-leaderboard:hover {
  border-color: rgba(95, 81, 232, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(95, 81, 232, 0.2);
}
.tw-promo-badge {
  background: #ee2a7b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  flex-shrink: 0;
}
.tw-promo-content {
  flex: 1;
}
.tw-promo-headline {
  color: #ffffff;
  font-family: var(--tw-font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.tw-promo-sub {
  color: #94a3b8;
  font-size: 11.5px;
  margin-top: 2px;
}
.tw-promo-btn {
  background: #5f51e8;
  color: #ffffff;
  font-family: var(--tw-font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

@media (max-width: 992px) {
  .tw-header-banner {
    display: none;
  }
  header.ct-header [data-device="mobile"] {
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
  }
  .tw-header-right-mobile {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 993px) {
  .tw-header-right-mobile {
    display: none;
  }
}

.tw-mobile-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #eaedf2;
  background: #ffffff;
  color: #0b1220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tw-mobile-search-btn:hover {
  border-color: #5f51e8;
  color: #5f51e8;
  background: #f8f9fe;
}

/* ===================================================
   Benqu Tier 3 Header / Navbar Additions
   =================================================== */
@media (min-width: 1024px) {
  .ct-header .site-branding {
    display: none !important;
  }
}

/* Benqu Header Right (Search Box + Login Button) */
.bnq-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.bnq-search-box form {
  position: relative;
  display: flex;
  align-items: center;
}

.bnq-search-box input {
  height: 38px;
  background: #f4f6fa;
  border: 1px solid #e5e8ef;
  border-radius: 4px;
  padding: 0 38px 0 14px;
  font-family: var(--tw-font-sans);
  font-size: 13px;
  color: #1a1e28;
  outline: none;
  transition: all 0.2s ease;
  width: 180px;
}

.bnq-search-box input:focus {
  background: #ffffff;
  border-color: #5541f8;
  box-shadow: 0 0 0 3px rgba(85, 65, 248, 0.12);
  width: 220px;
}

.bnq-search-box button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38px;
  background: transparent;
  border: none;
  color: #8c98a4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: color 0.2s ease;
}

.bnq-search-box button:hover {
  color: #5541f8;
}

.bnq-login-btn {
  display: none !important;
}

@media (max-width: 991px) {
  .bnq-header-right {
    display: none !important;
  }
}

/* ===================================================
   Benqu Universal Category Badges (.tw-benqu-badge)
   =================================================== */
.tw-benqu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 3px;
  font-family: var(--tw-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tw-benqu-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.tw-badge-magenta { background: #fc16a8; color: #ffffff !important; }
.tw-badge-blue    { background: #007bff; color: #ffffff !important; }
.tw-badge-cyan    { background: #00baff; color: #ffffff !important; }
.tw-badge-orange  { background: #ffaa00; color: #ffffff !important; }
.tw-badge-emerald { background: #52a815; color: #ffffff !important; }
.tw-badge-purple  { background: #5541f8; color: #ffffff !important; }

/* ===================================================
   Benqu Signature Section Title Wrap
   =================================================== */
.benqu-section-title-wrap {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 24px;
  gap: 16px;
  width: 100%;
}

.benqu-section-title-wrap::before {
  content: "";
  width: 40px;
  height: 2px;
  background: #eaedf2;
  flex-shrink: 0;
  margin-top: 5px;
}

.bnq-sidebar .benqu-section-title-wrap::before {
  width: 24px;
}

.benqu-section-title-wrap h2 {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #0b0f19 !important;
  margin: 0 !important;
  white-space: nowrap;
  letter-spacing: -0.01em !important;
  position: relative;
  padding-bottom: 8px;
}

.benqu-section-title-wrap h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #5541f8;
}

.benqu-section-title-wrap span {
  flex: 1;
  height: 2px;
  background: #eaedf2;
  margin-top: 5px;
}

.benqu-section-title-wrap .bnq-category-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  white-space: nowrap;
}

.bnq-category-tabs a {
  font-family: var(--tw-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.bnq-category-tabs a:hover,
.bnq-category-tabs a.active {
  color: #5541f8;
}

/* ===================================================
   Benqu Magazine Multi-Grid Hero Section
   =================================================== */
.tw-benqu-hero {
  margin: 0 0 36px 0 !important;
}

.tw-benqu-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1.05fr;
  gap: 24px;
}

/* Left Hero Column: Main Feature Card + 2 Sub Cards */
.tw-benqu-hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tw-hero-main-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 410px;
  background: #0b1220;
  box-shadow: 0 6px 20px rgba(11, 18, 32, 0.08);
}

.tw-hero-main-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.tw-hero-main-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tw-hero-main-card:hover .tw-hero-main-bg {
  transform: scale(1.04);
}

.tw-hero-main-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.05) 0%, rgba(11, 18, 32, 0.4) 45%, rgba(11, 18, 32, 0.95) 100%);
}

.tw-hero-main-meta-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
  pointer-events: none;
}

.tw-hero-main-meta-box a {
  pointer-events: auto;
}

.tw-hero-main-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 2.15rem !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.015em !important;
  margin: 10px 0 14px 0 !important;
}

.tw-hero-main-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.tw-hero-main-title a:hover {
  opacity: 0.92;
}

.tw-hero-main-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--tw-font-sans);
}

.tw-meta-author {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tw-meta-dot {
  color: rgba(255, 255, 255, 0.4);
}

/* 2 Sub-Cards Row */
.tw-hero-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bnq-sub-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.bnq-sub-thumb-wrap {
  position: relative;
  height: 185px;
  border-radius: 8px;
  overflow: hidden;
  background: #0b1220;
}

.bnq-sub-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bnq-sub-card:hover .bnq-sub-thumb-wrap img {
  transform: scale(1.05);
}

.bnq-sub-thumb-wrap .tw-benqu-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.bnq-sub-body {
  padding: 12px 0 0 0;
  display: flex;
  flex-direction: column;
}

.bnq-sub-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 8px 0 !important;
}

.bnq-sub-title a {
  color: #0b0f19 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.bnq-sub-title a:hover {
  color: #5541f8 !important;
}

.bnq-sub-meta {
  font-size: 12px;
  font-weight: 600;
  color: #8c98a4;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tw-font-sans);
}

/* Right Hero Column: 4 Editorial List Items */
.tw-benqu-hero-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bnq-hero-stack-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 16px;
}

.bnq-hero-stack-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eaedf2;
  flex: 1;
}

.bnq-hero-stack-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bnq-stack-thumb-link {
  width: 105px;
  height: 105px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0b1220;
  display: block;
}

.bnq-stack-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bnq-hero-stack-item:hover .bnq-stack-thumb {
  transform: scale(1.06);
}

.bnq-stack-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.bnq-stack-content .tw-benqu-badge {
  align-self: flex-start;
  margin-bottom: 6px;
}

.bnq-stack-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 6px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bnq-stack-title a {
  color: #0b0f19 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.bnq-stack-title a:hover {
  color: #5541f8 !important;
}

.bnq-stack-date {
  font-size: 11.5px;
  font-weight: 600;
  color: #8c98a4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--tw-font-sans);
}

@media (max-width: 991px) {
  .tw-benqu-hero-grid {
    grid-template-columns: 1fr;
  }
  .tw-hero-main-card {
    height: 340px;
  }
  .bnq-hero-stack-item {
    padding-bottom: 14px;
  }
}

@media (max-width: 640px) {
  .tw-hero-sub-row {
    grid-template-columns: 1fr;
  }
  .tw-hero-main-title {
    font-size: 1.55rem !important;
  }
  .tw-hero-main-card {
    height: 290px;
  }
  .bnq-stack-thumb-link {
    width: 90px;
    height: 90px;
  }
  .bnq-stack-title {
    font-size: 0.95rem !important;
  }
}

/* ===================================================
   Benqu Trending Stories 4-Card Row
   =================================================== */
.bnq-trending-section {
  margin: 36px 0 !important;
}

.bnq-trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.bnq-trending-card {
  display: flex;
  flex-direction: column;
}

.bnq-trending-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #0b1220;
}

.bnq-trending-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bnq-trending-card:hover .bnq-trending-thumb-wrap img {
  transform: scale(1.05);
}

.bnq-trending-thumb-wrap .tw-benqu-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.bnq-trending-body {
  padding: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bnq-trending-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 8px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bnq-trending-title a {
  color: #0b0f19 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.bnq-trending-title a:hover {
  color: #5541f8 !important;
}

.bnq-card-meta {
  font-size: 11.5px;
  font-weight: 600;
  color: #8c98a4;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tw-font-sans);
  margin-top: auto;
}

.bnq-card-meta .meta-dot {
  color: #cbd5e1;
}

@media (max-width: 991px) {
  .bnq-trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .bnq-trending-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   Benqu 2-Column Magazine Feed (68%) & Sidebar (32%)
   =================================================== */
.bnq-magazine-section {
  margin: 36px 0 48px 0 !important;
}

.bnq-magazine-grid {
  display: grid;
  grid-template-columns: 2.15fr 1fr;
  gap: 32px;
}

/* Main Magazine Feed (Left) */
.bnq-magazine-main {
  min-width: 0;
}

.bnq-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.bnq-feed-card {
  display: flex;
  flex-direction: column;
}

.bnq-feed-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #0b1220;
}

.bnq-feed-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bnq-feed-card:hover .bnq-feed-thumb-wrap img {
  transform: scale(1.05);
}

.bnq-feed-thumb-wrap .tw-benqu-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.bnq-feed-body {
  padding: 14px 0 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bnq-feed-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 8px 0 !important;
}

.bnq-feed-title a {
  color: #0b0f19 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.bnq-feed-title a:hover {
  color: #5541f8 !important;
}

.bnq-feed-excerpt {
  font-family: var(--tw-font-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 10px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .bnq-feed-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   Benqu Right Sidebar (32%) & Widgets
   =================================================== */
.bnq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.bnq-widget {
  width: 100%;
}

/* Widget 1: 4x2 Social Follower Grid */
.pfy-social-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pfy-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 6px;
  border-radius: 4px;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.pfy-social-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.pfy-social-item i {
  font-size: 18px;
  margin-bottom: 6px;
}

.pfy-social-item .count {
  font-family: var(--tw-font-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.pfy-social-item .label {
  font-family: var(--tw-font-sans);
  font-size: 10px;
  font-weight: 600;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.pfy-fb { background: #1877f2; }
.pfy-yt { background: #ff0000; }
.pfy-tw { background: #0f1419; }
.pfy-pin { background: #bd081c; }
.pfy-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.pfy-li { background: #0a66c2; }
.pfy-tg { background: #229ed9; }
.pfy-rss { background: #ff6600; }

/* Widget 2: Popular Posts List */
.bnq-popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bnq-popular-post-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eaedf2;
  text-decoration: none !important;
}

.bnq-popular-post-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bnq-popular-thumb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.bnq-popular-post-item:hover .bnq-popular-thumb {
  transform: scale(1.08);
}

.bnq-popular-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bnq-popular-date {
  font-family: var(--tw-font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #8c98a4;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bnq-popular-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  color: #0b0f19 !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.bnq-popular-post-item:hover .bnq-popular-title {
  color: #5541f8 !important;
}

/* Widget 3: Categories List */
.bnq-categories-list {
  display: flex;
  flex-direction: column;
}

.bnq-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #eaedf2;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.bnq-cat-row:last-child {
  border-bottom: none;
}

.bnq-cat-row .cat-name {
  font-family: var(--tw-font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1e28;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bnq-cat-row .cat-count {
  font-family: var(--tw-font-sans);
  font-size: 12px;
  font-weight: 700;
  color: #8c98a4;
  background: #f1f3f7;
  padding: 2px 8px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.bnq-cat-row:hover .cat-name {
  color: #5541f8;
  transform: translateX(4px);
}

.bnq-cat-row:hover .cat-count {
  background: #5541f8;
  color: #ffffff;
}

/* Widget 4: Newsletter Box (Stay Tuned!) */
.bnq-newsletter-card {
  background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%);
  border-radius: 8px;
  padding: 28px 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.15);
}

.bnq-newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(85, 65, 248, 0.35);
  border: 1px solid rgba(85, 65, 248, 0.5);
  color: #c7d2fe;
  font-family: var(--tw-font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.bnq-newsletter-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
}

.bnq-newsletter-desc {
  font-family: var(--tw-font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 18px 0;
}

.bnq-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bnq-newsletter-form input {
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0 14px;
  font-family: var(--tw-font-sans);
  font-size: 13px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.bnq-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.bnq-newsletter-form input:focus {
  border-color: #5541f8;
  background: rgba(255, 255, 255, 0.15);
}

.bnq-newsletter-form button {
  height: 42px;
  background: #5541f8;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: var(--tw-font-heading);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(85, 65, 248, 0.4);
}

.bnq-newsletter-form button:hover {
  background: #4330d4;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .bnq-magazine-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   Homepage Duplicate Archive Suppression
   =================================================== */
.home .entries,
.home .ct-pagination {
  display: none !important;
}

/* FontAwesome Icon Family & Weight Precision */
.fa, .fas, i.fas, [class*="fa-solid"] {
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}
.far, i.far, [class*="fa-regular"] {
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}
.fab, i.fab, [class*="fa-brands"] {
  font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands", "FontAwesome" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* ===================================================
   Modern Editorial Post Cards (.entries)
   =================================================== */
.entries {
  gap: 30px !important;
}

.entries > article {
  grid-column: span 1 !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #eaedf2 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0 0 20px 0 !important;
}

.entries > article:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px -4px rgba(85, 65, 248, 0.12) !important;
  border-color: #5541f8 !important;
}

/* Card Media Container */
.entries > article .ct-media-container {
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-top-left-radius: 15px !important;
  border-top-right-radius: 15px !important;
  background: #0b0f19 !important;
}

.entries > article .ct-media-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.entries > article:hover .ct-media-container img {
  transform: scale(1.05) !important;
}

/* Category Pill Badges inside Cards */
.entries .entry-meta:first-of-type,
.entries .ct-meta-categories {
  padding: 16px 20px 6px 20px !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.entries .entry-meta a[rel="tag"],
.entries .ct-meta-categories a {
  background: #eff0fe !important;
  color: #5541f8 !important;
  border: 1px solid #d1caff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: var(--tw-transition) !important;
  display: inline-flex !important;
  align-items: center !important;
  font-family: var(--tw-font-sans) !important;
}

.entries .entry-meta a[rel="tag"]:hover,
.entries .ct-meta-categories a:hover {
  background: #5541f8 !important;
  color: #ffffff !important;
  border-color: #5541f8 !important;
}

/* Card Editorial Title */
.entries .entry-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em !important;
  margin: 6px 20px 10px 20px !important;
}

.entries .entry-title a {
  color: #0f172a !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.entries .entry-title a:hover {
  color: #5541f8 !important;
}

/* Card Excerpt */
.entries .entry-excerpt {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  margin: 0 20px 16px 20px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Card Footer Meta (Author, Date, Reading Time) */
.entries .entry-meta:last-of-type {
  margin-top: auto !important;
  padding: 12px 20px 0 20px !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  font-size: 12.5px !important;
  color: #64748b !important;
  font-family: var(--tw-font-sans) !important;
}

.entries .entry-meta:last-of-type .ct-meta-author-avatar {
  border-radius: 9999px !important;
  border: 1px solid #eaedf2 !important;
}

.tw-reading-badge {
  background: #eff0fe !important;
  color: #5541f8 !important;
  border: 1px solid #d1caff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-family: var(--tw-font-sans) !important;
}

/* ===================================================
   Single Post Editorial Reading Experience
   =================================================== */
/* Breadcrumb Navigation */
.tw-breadcrumbs {
  font-size: 13.5px;
  color: var(--tw-text-muted);
  margin: 10px auto 24px auto;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--tw-font-sans);
}
.tw-breadcrumbs a {
  color: var(--tw-text-muted);
  text-decoration: none;
  transition: var(--tw-transition);
}
.tw-breadcrumbs a:hover {
  color: var(--tw-primary);
}
.tw-breadcrumbs .sep {
  color: var(--tw-text-light);
  font-size: 11px;
}
.tw-breadcrumbs .current {
  color: var(--tw-text-title);
  font-weight: 600;
}

/* Single Post Layout & Reading Column */
.single .site-main > .ct-container-full,
.single article.post {
  max-width: 880px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.single .hero-section.is-width-constrained {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 0 24px 0 !important;
}

.single .entry-header {
  text-align: left !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.single h1.entry-title,
.single .entry-header h1 {
  font-family: var(--tw-font-heading) !important;
  font-size: clamp(2rem, 4vw, 2.65rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
  color: #0b1220 !important;
  max-width: 100% !important;
  margin: 12px 0 16px 0 !important;
}

.single .entry-meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 0 0 24px 0 !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #eaedf2 !important;
  max-width: 100% !important;
}

.single .entry-content {
  font-size: 17.5px !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  max-width: 100% !important;
}

.single .entry-content > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single .entry-content > p {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

.single .entry-content > h2 {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.85rem !important;
  font-weight: 750 !important;
  color: #0b1220 !important;
  margin-top: 48px !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.02em !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #f1f5f9 !important;
}

.single .entry-content > h3 {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  color: #0b1220 !important;
  margin-top: 36px !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.015em !important;
}

.single .entry-content > h4 {
  font-family: var(--tw-font-heading) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #0b1220 !important;
  margin-top: 28px !important;
  margin-bottom: 12px !important;
}

.single .entry-content > ul,
.single .entry-content > ol {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  padding-left: 26px !important;
}

.single .entry-content li {
  margin-bottom: 8px !important;
}

.single .entry-content > blockquote {
  font-family: var(--tw-font-serif) !important;
  font-style: italic !important;
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  color: #1e293b !important;
  background: #f8fafc !important;
  border-left: 4px solid var(--tw-primary) !important;
  padding: 18px 24px !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 28px 0 !important;
}

.single .entry-content > pre {
  margin: 28px 0 !important;
}

/* Executive TL;DR / Key Takeaways Box (GEO & AI Citation Engine) */
.tw-key-takeaways {
  background: linear-gradient(135deg, #f8f7ff 0%, #eff0fe 100%);
  border: 1px solid #d1caff;
  border-left: 4px solid #5541f8;
  border-radius: var(--tw-radius-md);
  padding: 20px 24px;
  margin: 24px 0 32px 0 !important;
  max-width: 100% !important;
  box-shadow: 0 2px 10px rgba(85, 65, 248, 0.08);
}
.tw-takeaways-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #5541f8;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--tw-font-sans);
}
.tw-takeaways-list {
  margin: 0;
  padding-left: 20px;
  color: #3730a3;
  font-size: 15px;
  line-height: 1.6;
}
.tw-takeaways-list li {
  margin-bottom: 6px;
}

/* Modern Dark IDE Code Blocks with Copy Button */
pre.wp-block-code {
  position: relative !important;
  background: #0b0f19 !important;
  color: #e2e8f0 !important;
  border: 1px solid #1e293b !important;
  border-radius: var(--tw-radius-md) !important;
  padding: 42px 18px 18px 18px !important;
  font-family: var(--tw-font-mono) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  overflow-x: auto !important;
  box-shadow: 0 4px 16px rgba(11, 15, 25, 0.4) !important;
  margin: 24px 0 !important;
}

pre.wp-block-code::before {
  content: "TERMINAL / CODE";
  position: absolute;
  top: 10px;
  left: 14px;
  font-family: var(--tw-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
  background: #161f30;
  padding: 2px 8px;
  border-radius: var(--tw-radius-sm);
  border: 1px solid #243048;
}

.tw-copy-code-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: #161f30;
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: var(--tw-radius-sm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--tw-transition);
  font-family: var(--tw-font-sans);
}
.tw-copy-code-btn:hover {
  background: var(--tw-primary);
  color: #ffffff;
  border-color: var(--tw-primary);
}
.tw-copy-code-btn.copied {
  background: #00d285 !important;
  color: #ffffff !important;
  border-color: #00d285 !important;
}

/* Callout Info / Tip Boxes */
.tw-callout {
  border-radius: var(--tw-radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  border-left: 4px solid;
}
.tw-callout-tip {
  background: #eff0fe;
  border-color: #5541f8;
  color: #3730a3;
}
.tw-callout-warning {
  background: #fff8e6;
  border-color: #ffaa00;
  color: #92400e;
}

/* Floating / Inline Social Share Bar */
.tw-social-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-md);
  box-shadow: var(--tw-shadow-sm);
}
.tw-share-label {
  font-family: var(--tw-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tw-text-title);
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tw-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--tw-radius-full);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px;
  transition: var(--tw-transition);
}
.tw-share-btn i {
  color: #ffffff !important;
}
.tw-share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #ffffff !important;
}
.tw-share-x { background: #000000; }
.tw-share-linkedin { background: #0a66c2; }
.tw-share-facebook { background: #1877f2; }
.tw-share-whatsapp { background: #25d366; }
.tw-share-copy {
  background: #475569;
  cursor: pointer;
  border: none;
}

/* Author E-E-A-T Credibility Box */
.tw-author-box {
  background: #ffffff;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-lg);
  padding: 24px;
  margin: 40px 0 30px 0;
  box-shadow: var(--tw-shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.tw-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--tw-radius-full);
  border: 2px solid #eaedf2;
  object-fit: cover;
  flex-shrink: 0;
}
.tw-author-content h4 {
  font-family: var(--tw-font-heading) !important;
  font-size: 20px;
  font-weight: 700;
  color: var(--tw-text-title);
  margin: 0 0 6px 0;
}
.tw-author-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--tw-primary);
  background: var(--tw-primary-light);
  padding: 2px 8px;
  border-radius: var(--tw-radius-sm);
  margin-bottom: 8px;
  text-transform: uppercase;
  font-family: var(--tw-font-sans);
}
.tw-author-bio {
  font-size: 14.5px;
  color: var(--tw-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Related Guides 3-Column Grid */
.tw-related-section {
  margin: 48px 0 24px 0;
}
.tw-related-header {
  font-size: 22px;
  font-weight: 700;
  color: var(--tw-text-title);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tw-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.tw-related-card {
  background: #ffffff;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-md);
  padding: 16px;
  box-shadow: var(--tw-shadow-sm);
  transition: var(--tw-transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.tw-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(85, 65, 248, 0.1);
  border-color: #b8aeff;
}
.tw-related-card h5 {
  font-family: var(--tw-font-heading) !important;
  font-size: 16px;
  font-weight: 700;
  color: var(--tw-text-title);
  line-height: 1.4;
  margin: 8px 0;
}
.tw-related-card .meta {
  font-size: 12.5px;
  color: var(--tw-text-muted);
  margin-top: auto;
  font-family: var(--tw-font-sans);
}

/* ==========================================================================
   Collapse Unfilled Google AdSense & Empty Ad Containers
   ========================================================================== */
.code-block:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.code-block:has(div[id^="aswift_"]:empty),
.code-block.tw-ad-collapsed,
ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle[data-adsbygoogle-status="done"]:empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  visibility: hidden !important;
  overflow: hidden !important;
}

/* ==========================================================================
   Universal Pre-Footer Cover Hub (Site-Wide Bottom Elevation)
   ========================================================================== */
.tw-prefooter-cover {
  background: #080c14;
  position: relative;
  overflow: hidden;
  padding: 56px 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tw-prefooter-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
}
.tw-prefooter-cover::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.tw-prefooter-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}
.tw-prefooter-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 27, 45, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}
.tw-prefooter-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}
.tw-prefooter-content {
  display: flex;
  flex-direction: column;
}
.tw-prefooter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.32);
  color: #c7d2fe;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  align-self: flex-start;
  font-family: var(--tw-font-sans);
}
.tw-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 10px #6366f1;
  animation: twPulse 2s infinite;
}
@keyframes twPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
.tw-prefooter-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 14px 0;
}
.tw-prefooter-desc {
  font-family: var(--tw-font-sans);
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 26px 0;
}
.tw-newsletter-form {
  margin-bottom: 18px;
}
.tw-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(11, 15, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}
.tw-input-wrap:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}
.tw-input-icon {
  color: #64748b;
  font-size: 16px;
  margin-right: 12px;
}
.tw-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 14.5px;
  font-family: var(--tw-font-sans);
  outline: none;
  min-width: 0;
}
.tw-newsletter-input::placeholder {
  color: #64748b;
}
.tw-newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--tw-font-sans);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.tw-newsletter-btn:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.55);
}
.tw-form-feedback {
  font-size: 13.5px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--tw-font-sans);
}
.tw-form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.tw-prefooter-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: #64748b;
  font-family: var(--tw-font-sans);
}
.tw-prefooter-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tw-prefooter-trust i {
  color: #38bdf8;
  font-size: 12px;
}

/* Right Knowledge Hub Showcase */
.tw-prefooter-hubs {
  display: flex;
  flex-direction: column;
}
.tw-hub-header {
  margin-bottom: 18px;
}
.tw-hub-kicker {
  font-size: 11px;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}
.tw-hub-header h4 {
  font-family: var(--tw-font-heading) !important;
  font-size: 19px;
  font-weight: 700;
  color: #f1f5f9 !important;
  margin: 0;
}
.tw-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tw-hub-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 13px 14px;
  text-decoration: none;
  transition: all 0.22s ease;
  position: relative;
}
.tw-hub-tile:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.tw-hub-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.tw-hub-software {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.tw-hub-tech {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(126, 34, 206, 0.3));
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.tw-hub-tricks {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(202, 138, 4, 0.3));
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.35);
}
.tw-hub-gadgets {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.tw-hub-text {
  flex: 1;
  min-width: 0;
}
.tw-hub-text h5 {
  font-family: var(--tw-font-heading) !important;
  font-size: 14.5px;
  font-weight: 700;
  color: #f8fafc !important;
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tw-hub-text p {
  font-family: var(--tw-font-sans);
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tw-hub-arrow {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s, color 0.2s;
}
.tw-hub-tile:hover .tw-hub-arrow {
  color: #a5b4fc;
  transform: translateX(3px);
}

/* Pre-Footer Topic Strip */
.tw-prefooter-topics {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tw-topic-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tw-font-sans);
  margin-right: 4px;
}
.tw-topic-label i {
  color: #f97316;
}
.tw-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tw-topic-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: var(--tw-font-sans);
}
.tw-topic-tag:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #818cf8;
  color: #ffffff;
  transform: translateY(-1px);
}
.tw-topic-ai {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

@media (max-width: 992px) {
  .tw-prefooter-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tw-prefooter-card {
    padding: 30px 22px;
  }
  .tw-prefooter-title {
    font-size: 25px;
  }
}

@media (max-width: 600px) {
  .tw-hub-grid {
    grid-template-columns: 1fr;
  }
  .tw-input-wrap {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }
  .tw-newsletter-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Modern Comprehensive 4-Column Footer */
.tw-site-footer {
  background: #0b0f19;
  color: #94a3b8;
  padding: 64px 0 28px 0;
  border-top: 1px solid #161f30;
  font-size: 14.5px;
  font-family: var(--tw-font-sans);
}
.tw-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.tw-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.tw-footer-logo {
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 40%, #7b68ee 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.tw-footer-logo:hover {
  opacity: 0.9;
}
.tw-footer-brand p {
  line-height: 1.65;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}
.tw-footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tw-footer-badge {
  background: #161f30;
  border: 1px solid #243048;
  color: #818cf8;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--tw-radius-full);
}

.tw-footer-col h4 {
  font-family: var(--tw-font-sans) !important;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px 0;
}
.tw-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tw-footer-col ul li {
  margin-bottom: 11px;
}
.tw-footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--tw-transition);
}
.tw-footer-col ul li a:hover {
  color: #818cf8;
  padding-left: 4px;
}

.tw-footer-bottom {
  border-top: 1px solid #161f30;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
}
.tw-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}
.tw-footer-bottom a:hover {
  color: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .tw-featured-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tw-featured-hero-title {
    font-size: 1.65rem !important;
  }
  .tw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .tw-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tw-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tw-social-share-bar {
    flex-wrap: wrap;
  }
  .tw-feed-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===================================================
   Unified Container Architecture & Section Rhythm
   =================================================== */
#main .ct-container {
  max-width: 1280px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  padding-top: 24px !important;
  padding-bottom: 44px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.entries {
  gap: 28px !important;
  margin: 0 0 36px 0 !important;
}

/* Static Pages: About Us & Editorial Reading Column (Excludes full-width hubs like Video Tutorials) */
.page:not(.page-id-34) .site-main > .ct-container-full,
.page:not(.page-id-34) .site-main > .ct-container,
.page:not(.page-id-34) article.page {
  max-width: 880px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.page .entry-header {
  margin: 0 0 24px 0 !important;
  text-align: left !important;
}

.page .entry-title {
  font-family: var(--tw-font-heading) !important;
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: #0b1220 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 16px !important;
}

.page .entry-content p {
  font-size: 17.5px !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  margin-bottom: 22px !important;
}

/* Contact Form 7 Modern Card */
.wpcf7-form {
  max-width: 680px !important;
  margin: 20px auto 40px auto !important;
  background: #ffffff !important;
  border: 1px solid #eaedf2 !important;
  border-radius: 16px !important;
  padding: 36px 32px !important;
  box-shadow: 0 4px 20px rgba(11, 18, 32, 0.04) !important;
  box-sizing: border-box !important;
}

.wpcf7-form p {
  margin-bottom: 18px !important;
}

.wpcf7-form label {
  font-family: var(--tw-font-heading) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  color: #0b1220 !important;
  display: block !important;
  margin-bottom: 6px !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  border: 1.5px solid #eaedf2 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-family: var(--tw-font-sans) !important;
  font-size: 14.5px !important;
  color: #0b1220 !important;
  background: #f8fafc !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  background: #ffffff !important;
  border-color: #5f51e8 !important;
  box-shadow: 0 0 0 3px rgba(95, 81, 232, 0.12) !important;
  outline: none !important;
}

.wpcf7-form input[type="submit"] {
  background: #5f51e8 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 32px !important;
  font-family: var(--tw-font-heading) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(95, 81, 232, 0.35) !important;
}

.wpcf7-form input[type="submit"]:hover {
  background: #4b3dcf !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(95, 81, 232, 0.45) !important;
}

/* Global Mobile Spacing Protections */
@media (max-width: 768px) {
  .tw-benqu-topbar-inner,
  .tw-benqu-header-inner,
  .ct-header [data-row="middle"] .ct-container,
  #main .ct-container,
  .tw-footer-container,
  .single .site-main > .ct-container-full,
  .single article.post,
  .page .site-main > .ct-container-full,
  .page .site-main > .ct-container,
  .page article.page {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #main .ct-container {
    padding-top: 16px !important;
    padding-bottom: 28px !important;
  }

  .tw-benqu-hero {
    margin-bottom: 24px !important;
  }

  .tw-benqu-divider {
    margin: 24px 0 16px 0 !important;
  }

  .tw-topics-section {
    padding: 16px !important;
    margin-bottom: 24px !important;
  }

  .wpcf7-form {
    padding: 24px 16px !important;
    margin-bottom: 28px !important;
  }
}

/* ==========================================================================
   TECHNIA WORLD — VIDEO TUTORIALS & ACADEMY HUB (Page 34)
   ========================================================================== */

body.page-id-34 .site-main > .ct-container-full,
body.page-id-34 .site-main > .ct-container,
body.page-id-34 article.page,
body.page-id-34 .ct-container-full {
  max-width: 1280px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  padding-top: 10px !important;
  padding-bottom: 60px !important;
  box-sizing: border-box !important;
}

body.page-id-34 article.post-34,
body.page-id-34 .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

body.page-id-34 .entry-header {
  display: none !important;
}

/* Hero Section */
.tw-video-hero {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, #1e1b4b 0%, #0f172a 60%, #020617 100%);
  border-radius: 24px;
  padding: 44px 40px;
  margin-bottom: 32px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tw-video-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(239, 68, 68, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.tw-video-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.tw-video-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.tw-video-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #e0e7ff;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tw-video-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: tw-video-pulse 2s infinite ease-in-out;
}

@keyframes tw-video-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.tw-video-badge-icon {
  color: #ef4444;
  font-size: 14px;
}

.tw-video-badge-tag {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 4px;
}

.tw-video-hero-heading {
  font-family: var(--tw-font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  margin: 0 0 14px 0 !important;
  text-align: left !important;
}

.tw-video-hero-lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: #cbd5e1 !important;
  margin: 0 0 28px 0 !important;
  max-width: 720px;
}

.tw-video-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tw-video-stat-item {
  display: flex;
  flex-direction: column;
}

.tw-video-stat-val {
  font-family: var(--tw-font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.tw-video-stat-lbl {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.tw-video-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

.tw-video-yt-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: auto;
}

.tw-video-yt-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.5);
  color: #ffffff !important;
}

.tw-subscribe-arrow {
  transition: transform 0.25s ease;
}

.tw-video-yt-subscribe:hover .tw-subscribe-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .tw-video-hero {
    padding: 30px 20px;
    border-radius: 18px;
  }
  .tw-video-hero-actions {
    gap: 14px;
  }
  .tw-video-stat-divider {
    display: none;
  }
  .tw-video-yt-subscribe {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 8px;
  }
}

/* ==========================================================================
   YOURCHANNEL MODERN OVERHAUL
   ========================================================================== */

.page-id-34 .yrc-shell-cover {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.page-id-34 .yrc-shell {
  width: 100% !important;
  font-family: inherit !important;
}

/* Banner / Channel Card */
.page-id-34 .yrc-desktop .yrc-banner,
.page-id-34 .yrc-banner {
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  height: 100px !important;
  min-height: 100px !important;
  max-height: 100px !important;
  margin-bottom: 24px !important;
}

.page-id-34 .yrc-brand {
  height: 100px !important;
  min-height: 100px !important;
  max-height: 100px !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 28px !important;
}

.page-id-34 .yrc-name {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.page-id-34 .yrc-name img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.page-id-34 .yrc-name span {
  margin: 0 !important;
}

.page-id-34 .yrc-name span a {
  font-family: var(--tw-font-heading, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  text-decoration: none !important;
}

.page-id-34 .yrc-stats {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.page-id-34 .yrc-stats .yrc-videos,
.page-id-34 .yrc-stats .yrc-views {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 9999px !important;
  padding: 6px 16px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.page-id-34 .yrc-stats i {
  font-size: 13px !important;
  line-height: 1 !important;
  color: #ef4444 !important;
}

.page-id-34 .yrc-stats span span {
  line-height: normal !important;
}

@media (max-width: 640px) {
  .page-id-34 .yrc-desktop .yrc-banner,
  .page-id-34 .yrc-banner {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }
  .page-id-34 .yrc-brand {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 20px 16px !important;
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
  .page-id-34 .yrc-name {
    flex-direction: column !important;
    gap: 8px !important;
  }
}

/* Tab Navigation Menu */
.page-id-34 .yrc-menu {
  margin: 28px 0 24px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.page-id-34 .yrc-menu-items {
  display: inline-flex !important;
  background: #f1f5f9 !important;
  padding: 5px !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
}

.page-id-34 .yrc-menu-item {
  padding: 10px 24px !important;
  border-radius: 10px !important;
  font-family: var(--tw-font-heading, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.page-id-34 .yrc-menu-item:hover {
  color: #0f172a !important;
}

.page-id-34 .yrc-menu-item.yrc-active {
  background: #ffffff !important;
  color: #4f46e5 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}

/* ==========================================================================
   VIDEO & PLAYLIST GRIDS (High-performance CSS Grid Overhaul)
   ========================================================================== */

.page-id-34 .yrc-core {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 1060px) {
  .page-id-34 .yrc-core {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 640px) {
  .page-id-34 .yrc-core {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* Video & Playlist Item Cards */
.page-id-34 .yrc-item {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.page-id-34 .yrc-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 32px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}

/* Card Thumbnail */
.page-id-34 .yrc-item .yrc-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  position: relative !important;
  overflow: hidden !important;
  background: #0f172a !important;
  margin: 0 !important;
  display: block !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
}

.page-id-34 .yrc-item .yrc-thumb a.yrc-video-link,
.page-id-34 .yrc-item .yrc-thumb a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.page-id-34 .yrc-item .yrc-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.page-id-34 .yrc-item:hover .yrc-thumb img {
  transform: scale(1.06) !important;
}

/* Play Icon Overlay for Videos */
.page-id-34 .yrc-video .yrc-thumb::after {
  content: '▶' !important;
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  width: 46px !important;
  height: 46px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  padding-left: 3px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  opacity: 0.88 !important;
  transform: scale(0.92) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.page-id-34 .yrc-video:hover .yrc-thumb::after {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  opacity: 1 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.6) !important;
}

/* Playlist Badge Overlay for Playlist Cards */
.page-id-34 .yrc-playlist-item .yrc-thumb::after {
  content: 'PLAYLIST' !important;
  position: absolute !important;
  bottom: 12px !important;
  right: 12px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  padding: 4px 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  pointer-events: none !important;
  z-index: 5 !important;
  transition: background 0.3s ease !important;
}

.page-id-34 .yrc-playlist-item:hover .yrc-thumb::after {
  background: #4f46e5 !important;
  border-color: #4f46e5 !important;
}

/* Card Content / Meta */
.page-id-34 .yrc-item-meta {
  padding: 18px 20px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  width: 100% !important;
  background: transparent !important;
}

.page-id-34 .yrc-item-title,
.page-id-34 .yrc-item-title a {
  font-family: var(--tw-font-heading, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #0f172a !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.page-id-34 .yrc-item:hover .yrc-item-title,
.page-id-34 .yrc-item:hover .yrc-item-title a {
  color: #4f46e5 !important;
}

/* Clamped title so all cards in row have uniform vertical alignment */
.page-id-34 .yrc-video .yrc-item-title,
.page-id-34 .yrc-playlist-item .yrc-item-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 44px !important;
  margin-bottom: 12px !important;
}

/* Date & Views Row */
.page-id-34 .yrc-name-date {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin-top: auto !important;
  border-top: 1px solid rgba(241, 245, 249, 0.9) !important;
  padding-top: 10px !important;
}

.page-id-34 .yrc-video-date,
.page-id-34 .yrc-playlist-item .yrc-item-meta span.pb-block {
  font-size: 12.5px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.page-id-34 .yrc-playlist-item .yrc-item-meta span.pb-block:first-of-type {
  display: inline-flex !important;
  align-items: center !important;
  font-weight: 700 !important;
  color: #4f46e5 !important;
  background: #eef2ff !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  width: fit-content !important;
  margin-bottom: 6px !important;
  font-size: 12px !important;
}

/* Load More Pagination Button */
.page-id-34 .yrc-pagination {
  margin: 36px 0 20px 0 !important;
  text-align: center !important;
}

.page-id-34 .yrc-load-more-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  font-family: var(--tw-font-heading, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px 36px !important;
  border-radius: 9999px !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: none !important;
}

.page-id-34 .yrc-load-more-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.45) !important;
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%) !important;
}

/* Back bar for Playlist sub-section */
.page-id-34 .yrc-playlist-bar.yrc-section-action {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.page-id-34 .yrc-sub-section-name {
  font-family: var(--tw-font-heading, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.page-id-34 .yrc-close span {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: background 0.2s ease !important;
}

.page-id-34 .yrc-close span:hover {
  background: #dc2626 !important;
}


