

/* Mobile: hide desktop right side items */
@media (max-width: 767px){

  /* Desktop menu + desktop search pill hide */
  .tq-nav-desktop,
  .tq-search-wrap{
    display: none !important;
  }

  /* Desktop blog icon (right) hide */
  .tq-blog-icon-desktop{
    display: none !important;
  }

  /* Mobile hamburger show (just in case) */
  .tq-hamburger{
    display: inline-flex !important;
  }
}

/* Prevent layout shift when body scroll is locked (offcanvas open) */
html {
  scrollbar-gutter: stable;
}

/* Fallback for browsers that don't support scrollbar-gutter */
body.offcanvas-open {
  overflow: hidden;
  padding-right: var(--tq-scrollbar-width, 0px);
}

.tq-reveal{
  opacity: 0;
  transform: translate3d(0,14px,0);
  transition:
    opacity 520ms cubic-bezier(.2,.8,.2,1),
    transform 520ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

/* ✅ Stagger via CSS variable */
.tq-reveal{
  transition-delay: var(--tq-delay, 0ms);
}

.tq-reveal.is-visible{
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* ✅ avoid paint/layout cost for big blocks */
.tq-reveal{
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce){
  .tq-reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



/* Archive: hero header ke niche rahe, but content me extra gap na aaye */
.archive .site-inner{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hero ko fixed header se niche push */
.archive .ti-archive-hero{
  margin-top: var(--tq-header-h) !important;
}



/* ======================================================
   Archive Hero (Tokenized for Dark Mode)
====================================================== */
.archive .ti-archive-hero{
  width:100%;
  padding: 8px 0 20px;
  background: var(--tq-surface);
  text-align:center;
  border-bottom: 1px solid var(--tq-border-soft);
}

.archive .ti-archive-hero-inner{
  max-width:1300px;
  margin:0 auto;
  padding:0 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Title */
.archive .ti-archive-title{
  font-size:28px;
  font-weight:800;
  color: var(--tq-heading);
  margin:0;
  line-height:1.2;
}

/* Description */
.archive .ti-archive-desc{
  font-size:14px;
  color: var(--tq-muted);
  max-width:680px;
  margin:0 auto;
  line-height:1.5;
}




/* =========================
   Search Pill
========================= */
.archive .ti-archive-search{
  max-width:520px;
  width:100%;
  margin:12px auto 0;
  display:flex;
  align-items:center;
  gap:8px;

  /* light: #f1f5f9, dark: subtle surface */
  background: var(--tq-code-bg);
  border: 1px solid var(--tq-border-soft);
  border-radius:999px;
  padding:6px 8px;
}

/* Input */
.archive .ti-archive-search-input{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  font-size:15px;
  padding:10px 12px;
  color: var(--tq-heading);
  min-height:40px;
}

/* Prevent iOS zoom */
.archive .ti-archive-search-input{
  font-size:16px;
}

/* Button (kept same brand color) */
.archive .ti-archive-search-btn{
  border:0;
  cursor:pointer;
  border-radius:999px;
  padding:10px 16px;
  font-weight:600;
  font-size:14px;
  background:#209cee;
  color:#ffffff;
  transition: all .2s ease;
  min-height:40px;
}

.archive .ti-archive-search-btn:hover{
  background:#1787d4;
  transform:translateY(-1px);
}

/* Mobile Optimization */
@media (max-width:768px){
  .archive .ti-archive-hero{
    text-align: center;
  }
  .archive .ti-archive-title{
    font-size:22px;
  }
}

/* ===== GRID (unchanged) ===== */
.ti-archive-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:16px;
  margin-top:20px;
  perspective:1000px;
}

@media (max-width:992px){
  .ti-archive-grid{
    grid-template-columns: repeat(2,1fr);
  }
}

/* Card */
.ti-archive-card{
  background: var(--tq-surface);
  overflow:hidden;
}

/* Image */
.ti-archive-thumb img{
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
}

/* Body */
.ti-archive-body{
  padding:5px 0px 7px;
}

/* Date */
.ti-archive-meta{
  font-size:13px;
  color: var(--tq-muted);
}

/* Title */
.ti-archive-post-title{
  font-size:15px;
  line-height:1.3;
  margin:0 0 12px;
}

.ti-archive-post-title a{
  color: var(--tq-heading);
  text-decoration:none;
  transition:color .25s ease;
}

.ti-archive-card:hover .ti-archive-post-title a{
  color:#209cee;
}

/* Tablet */
@media (max-width: 1024px) {
  .ti-archive-post-title{
    font-size: 14px;
    line-height: 1.35;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .ti-archive-post-title{
    font-size: 13px;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Pagination */
.archive-pagination{
  margin-top:40px;
  text-align:center;
}

.archive-pagination a,
.archive-pagination span{
  display:inline-block;
  padding:8px 14px;
  margin:0 4px;
  border-radius:8px;
  border:1px solid var(--tq-border);
  text-decoration:none;
  color: var(--tq-p);
  background: transparent;
}

.archive-pagination .active{
  background:#209cee;
  color:#fff;
  border-color:#209cee;
}

/* =========================
   Sticky Header + Hide on scroll
========================= */
.tq-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--tq-surface);
  border-bottom: 1px solid var(--tq-border-soft);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tq-header.tq-hide{
  transform: translateY(-110%);
  box-shadow: none;
}

/* Layout */
.tq-header-wrap{
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left / center / right */
  align-items: center;
  gap: 10px;
}

.tq-header-left,
.tq-header-center,
.tq-header-right{
  display: flex;
  align-items: center;
}

.tq-header-left{ justify-content: flex-start; gap: 10px; }
.tq-header-center{ justify-content: center; }
.tq-header-right{ justify-content: flex-end; gap: 10px; }

/* Logo */
.tq-site-title{
  font-weight: 900;
  font-size: 20px;
  color: var(--tq-heading);
  text-decoration: none;
}
.custom-logo{
  max-height: 44px;
  width: auto;
}

/* Blog Icon */
.tq-blog-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--tq-heading);
  text-decoration: none;
}
.tq-blog-icon:hover{
  border-color: rgba(32,156,238,0.35);
  color: #209cee;
}

/* Desktop menu */
.tq-nav-desktop .genesis-nav-menu{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tq-nav-desktop .genesis-nav-menu a{
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--tq-heading);
  font-weight: 800;
}
.tq-nav-desktop .genesis-nav-menu a:hover{
  color: #209cee;
}
.tq-nav-desktop .genesis-nav-menu .current-menu-item > a,
.tq-nav-desktop .genesis-nav-menu .current_page_item > a{
  color: #209cee;
}

/* Mobile nav */
.tq-nav-mobile{
  border-top: 1px solid var(--tq-border-soft);
  background: var(--tq-surface);
}
.tq-nav-mobile .genesis-nav-menu{
  list-style: none;
  margin: 0;
  padding: 10px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tq-nav-mobile .genesis-nav-menu a{
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--tq-heading);
  font-weight: 800;
}
.tq-nav-mobile .genesis-nav-menu a:hover{
  background: rgba(32,156,238,0.10);
  color: #209cee;
}

/* Hamburger (animated) */
.tq-hamburger{
  display: none; /* desktop hidden */
  width: 42px;
  height: 42px;
  background: var(--tq-surface);
  cursor: pointer;
  position: relative;
}
.tq-ham-lines{
  width: 20px;
  height: 2px;
  background: var(--tq-heading);
  display: block;
  margin: 0 auto;
  position: relative;
  transition: transform .25s ease, background .25s ease;
}
.tq-ham-lines::before,
.tq-ham-lines::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background: var(--tq-heading);
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.tq-ham-lines::before{ top:-7px; }
.tq-ham-lines::after{ top:7px; }

.tq-hamburger.is-open .tq-ham-lines{
  background: transparent;
}
.tq-hamburger.is-open .tq-ham-lines::before{
  top:0;
  transform: rotate(45deg);
}
.tq-hamburger.is-open .tq-ham-lines::after{
  top:0;
  transform: rotate(-45deg);
}

/* =========================
   Responsive behavior
========================= */
/* Desktop layout rules */
.tq-logo-mobile{ display: none; }
.tq-blog-icon{ display: none; }
.tq-logo-desktop{ display: block; }
.tq-blog-icon-desktop{ display: inline-flex; }

/* Mobile layout rules */
@media (max-width: 992px){
  .tq-header-wrap{
    grid-template-columns: auto 1fr auto;
  }

  .tq-header-left .tq-blog-icon{ display: inline-flex; }
  .tq-logo-desktop{ display: none; }
  .tq-logo-mobile{ display: block; }

  .tq-blog-icon-desktop{ display: none; }
  .tq-nav-desktop{ display: none; }
  .tq-search-btn{ display: none; }

  .tq-hamburger{ display: inline-flex; align-items:center; justify-content:center; }
}

/* =========================
   Desktop Dropdown (tq classes)
========================= */
.tq-nav-desktop .genesis-nav-menu,
.tq-nav-desktop .genesis-nav-menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.tq-nav-desktop .genesis-nav-menu li{
  position: relative;
}

.tq-nav-desktop .genesis-nav-menu .sub-menu{
  list-style: none;
  margin: 0;
  padding: 8px;
}

.tq-nav-desktop .genesis-nav-menu .sub-menu{
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 220px;

  background: var(--tq-surface);
  border: 1px solid var(--tq-border-soft);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;

  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, top .25s ease;
  z-index: 9999;
}

.tq-nav-desktop .genesis-nav-menu li:hover > .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  top: calc(100% + 6px);
}

.tq-nav-desktop .genesis-nav-menu .sub-menu a{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--tq-heading);
  font-weight: 800;
  white-space: nowrap;
}

.tq-nav-desktop .genesis-nav-menu .sub-menu a:hover{
  background: rgba(32,156,238,0.10);
  color: #209cee;
}

.tq-nav-desktop .genesis-nav-menu > li.menu-item-has-children > a::after{
  content: "›";
  margin-left: 8px;
  display: inline-block;
  transform: translateY(1px);
  transition: transform .25s ease;
  font-size: 16px;
  line-height: 1;
}

.tq-nav-desktop .genesis-nav-menu > li.menu-item-has-children:hover > a::after{
  transform: translateY(1px) rotate(90deg);
}

@media (max-width: 992px){

  .tq-nav-mobile .genesis-nav-menu,
  .tq-nav-mobile .genesis-nav-menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .tq-nav-mobile .genesis-nav-menu .sub-menu{
    display: none;
    padding-left: 10px;
    margin-top: 4px;
  }

  .tq-nav-mobile .genesis-nav-menu li.menu-item-has-children > a{
    position: relative;
    padding-right: 40px;
  }

  .tq-nav-mobile .genesis-nav-menu li.menu-item-has-children > a::after{
    content: "›";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform .25s ease;
    font-size: 18px;
    line-height: 1;
  }

  .tq-nav-mobile .genesis-nav-menu li.submenu-open > a::after{
    transform: translateY(-50%) rotate(90deg);
  }

  .tq-nav-mobile .genesis-nav-menu li.submenu-open > .sub-menu{
    display: block;
  }
}

/* Menu no-wrap */
.tq-nav-desktop .genesis-nav-menu{
  flex-wrap: nowrap;
  white-space: nowrap;
}

.tq-nav-desktop .genesis-nav-menu > li,
.tq-nav-desktop .genesis-nav-menu > li > a{
  white-space: nowrap;
}



.tq-nav-desktop .genesis-nav-menu > li > a:hover{ color: #209cee; }
.tq-nav-desktop .genesis-nav-menu .current-menu-item > a,
.tq-nav-desktop .genesis-nav-menu .current_page_item > a{
  color: #209cee;
}
.tq-nav-desktop .genesis-nav-menu .sub-menu a{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}
.tq-nav-desktop .genesis-nav-menu .sub-menu{
  top: 100%;
  margin-top: 8px;
}
.tq-nav-desktop .genesis-nav-menu > li.menu-item-has-children > .sub-menu::before{
  content: "";
  position: absolute;
  left: 0;
  top: -12px;
  width: 100%;
  height: 12px;
}
.tq-nav-desktop .genesis-nav-menu li:hover > .sub-menu{
  top: 100%;
}

/* =====================================
   iOS Offcanvas (Butter Smooth)
===================================== */
.tq-offcanvas{
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
}

.tq-offcanvas.is-open{
  pointer-events: auto;
}

.tq-offcanvas-overlay{
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  opacity: 0;
  transition: opacity 420ms cubic-bezier(.2,.8,.2,1);
}

.tq-offcanvas.is-open .tq-offcanvas-overlay{
  opacity: 1;
}

/* panel */
.tq-offcanvas-panel{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(70%, 300px);
  background: var(--tq-surface);
  transform: translateX(-110%);
  transition: transform 520ms cubic-bezier(.2,.9,.2,1);
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  padding: 18px 18px 22px;
}

.tq-offcanvas.is-open .tq-offcanvas-panel{
  transform: translateX(0);
}

.tq-offcanvas-close{
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tq-heading);
  padding: 0;
}

.tq-offcanvas-brand{ padding: 10px 0 14px; }
.tq-offcanvas-logo{ padding: 8px 0 8px; }

.tq-offcanvas-logo .custom-logo{
  height: auto;
  max-width: 220px;
}

/* Search pill (mobile offcanvas) */
.tq-offcanvas-search{
  margin-top: 14px;
  height: 54px;
  border-radius: 9999px;
  background: #2b2f36;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.tq-offcanvas-search-icon{
  color: rgba(255,255,255,0.80);
  display: inline-flex;
}

.tq-offcanvas-search input[type="search"]{
  width: 100%;
  height: 54px;
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
}

.tq-offcanvas-search input[type="search"]::placeholder{
  color: rgba(255,255,255,0.55);
}

/* Mobile menu separators */
.tq-offcanvas .tq-nav-mobile{
  border-top: 1px solid var(--tq-border);
  margin-top: 16px;
  background: transparent;
}

.tq-offcanvas .tq-nav-mobile .genesis-nav-menu{
  padding: 0;
  margin: 0;
  gap: 0;
}

.tq-offcanvas .tq-nav-mobile .genesis-nav-menu li{
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--tq-border);
}

.tq-offcanvas .tq-nav-mobile .genesis-nav-menu a{
  display: block;
  padding: 12px 4px;
  border-radius: 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--tq-heading);
  background: transparent;
}

.tq-offcanvas .tq-nav-mobile .genesis-nav-menu a:hover{
  background: transparent;
  color: #c02727;
}

/* =========================
   Page (Genesis) - TechQor
========================= */
.tq-page-card{
  background: var(--tq-surface);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--tq-border-soft);
}

.entry.tq-page{
  margin: 0;
}

.tq-page-title{
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--tq-heading);
}

.tq-page-featured{
  margin: 12px 0 18px;
  border-radius: 16px;
  overflow: hidden;
}

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

.tq-page-content{
  font-size: 18px;
  line-height: 1.85;
  color: var(--tq-text);
}

.tq-page-content p{ margin: 0 0 16px; }
.tq-page-content img{ max-width:100%; height:auto; }
.tq-page-content h2{ font-size: 26px; margin: 26px 0 10px; }
.tq-page-content h3{ font-size: 22px; margin: 22px 0 10px; }

.tq-page-content blockquote{
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--tq-border);
  background: var(--tq-code-bg);
  border-radius: 12px;
}

/* Comments on pages (if enabled) */
.page .comment-list,
.page .comment-respond{
  margin-top: 22px;
}

/* Responsive */
@media (max-width: 992px){
  .tq-page-title{ font-size: 28px; }
}
@media (max-width: 600px){
  .tq-page-card{
    padding: 16px;
    border-radius: 16px;
  }
  .tq-page-title{ font-size: 24px; }
  .tq-page-content{ font-size: 16px; }
}

/* ================================
   Page Hero - FIXED VERSION
================================ */
.tq-page-hero {
  background: #000;
  padding: 60px 0;
}

.tq-page-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.tq-page-hero-title {
  color: #ffffff !important;
  font-size: 42px;
  font-weight: 800;
  margin: 0;
  text-align: center;
  line-height: 1.1;
}

.page .site-inner {
  margin-top: 0 !important;
}

@media (max-width: 992px) {
  .tq-page-hero-title { font-size: 32px; }
}

@media (max-width: 600px) {
  .tq-page-hero { padding: 40px 0; }
  .tq-page-hero-title { font-size: 24px; }
}

/* ======================================================
   PAGE CONTENT CARD
====================================================== */
.entry.tq-page { margin-top: 30px; }

.tq-page-content {
  background: var(--tq-surface);
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--tq-border-soft);

  font-size: 18px;
  line-height: 1.85;
  color: var(--tq-text);
}

.tq-page-content p { margin-bottom: 16px; }

.tq-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.tq-page-content h2 {
  font-size: 26px;
  margin: 28px 0 12px;
}

.tq-page-content h3 {
  font-size: 22px;
  margin: 22px 0 10px;
}

.tq-page-content blockquote {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--tq-heading);
  background: var(--tq-code-bg);
  border-radius: 12px;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 992px) {
  .tq-page-hero-title { font-size: 30px; }
  .tq-page-content { padding: 22px; }
}
@media (max-width: 600px) {
  .tq-page-hero-inner { padding: 28px 16px; }
  .tq-page-hero-title { font-size: 24px; }
  .tq-page-content { padding: 18px; font-size: 16px; }
}

/* =========================================
   Professional 404 (TechQor)
========================================= */
.tq-404{
  padding: 50px 0 70px;
}

.tq-404-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
  text-align: center;
}

.tq-404-code{
  font-size: 90px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: color-mix(in srgb, var(--tq-heading) 12%, transparent);
}

.tq-404-title{
  margin: 10px 0 10px;
  font-size: 36px;
  font-weight: 900;
  color: var(--tq-heading);
}

.tq-404-text{
  max-width: 640px;
  margin: 0 auto 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tq-muted-2, var(--tq-muted));
}

.tq-404-search{
  max-width: 620px;
  margin: 16px auto 18px;
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--tq-code-bg);
  border: 1px solid var(--tq-border-soft);
  border-radius: 9999px;
}

.tq-404-search input[type="search"]{
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--tq-text);
}

.tq-404-search button{
  border: 0;
  padding: 12px 18px;
  border-radius: 9999px;
  font-weight: 800;
  cursor: pointer;
}

.tq-404-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.tq-404-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 9999px;
  font-weight: 800;
  background: var(--tq-code-bg);
  color: var(--tq-heading);
  border: 1px solid var(--tq-border-soft);
}

.tq-404-btn:hover{
  filter: brightness(1.05);
}

.tq-404-btn-primary{
  background: var(--tq-heading);
  color: #fff;
  border-color: transparent;
}

.tq-404-btn-primary:hover{
  filter: brightness(1.05);
}

.tq-404-block{
  margin-top: 36px;
  text-align: left;
}

.tq-404-subtitle{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--tq-heading);
}

.tq-404-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tq-404-card{
  display: block;
  text-decoration: none;
  background: var(--tq-surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--tq-border-soft);
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.tq-404-thumb{
  aspect-ratio: 16/9;
  overflow: hidden;
}

.tq-404-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tq-404-card-body{
  padding: 12px;
}

.tq-404-date{
  font-size: 12px;
  color: var(--tq-muted);
  margin-bottom: 6px;
}

.tq-404-card-title{
  font-size: 14px;
  font-weight: 900;
  color: var(--tq-heading);
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 992px){
  .tq-404-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px){
  .tq-404{ padding: 38px 0 54px; }
  .tq-404-code{ font-size: 64px; }
  .tq-404-title{ font-size: 26px; }

  .tq-404-search{
    border-radius: 18px;
    flex-direction: column;
    padding: 12px;
  }
  .tq-404-search button{ width: 100%; }
  .tq-404-grid{ grid-template-columns: 1fr; }
}

/* ======================================================
   FRONT PAGE - Genesis Featured Posts (ZIP FIXED / WORKING)
====================================================== */
.home .tq-front-widgets .widget.featured-content .widget-wrap,
.front-page .tq-front-widgets .widget.featured-content .widget-wrap{
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: 20px;

  max-width: 1300px;
  margin: 0 auto;
  align-items: stretch;
}

/* ======================================================
   DESKTOP (>= 993px)
====================================================== */
@media (min-width: 993px){
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3){
    grid-column: span 4;
    border-radius: 18px;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+4),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+4),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+4),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+4){
    grid-column: span 3;
    display: flex;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3) img,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3) img,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3) img,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3) img{
    height: 220px !important;
    object-fit: cover !important;
  }

  .home .tq-front-widgets .widget.featured-content .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry-title{
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    margin: 0;
  }



  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3) .entry-title a,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3) .entry-title a,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3) .entry-title a,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3) .entry-title a{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.25em * 3);
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3) .entry-header,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3) .entry-header{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3) .entry-meta,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+3) .entry-meta{
    margin-top: auto;
  }
}

/* ======================================================
   TABLET (<= 992px)
====================================================== */
@media (max-width: 992px){
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(1),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(1){
    grid-column: 1 / -1;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(2),
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(3),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(2),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(3){
    grid-column: span 6;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+4),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+4){
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    align-items: center;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+4) img,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+4) img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ======================================================
   MOBILE (<= 600px)
====================================================== */
@media (max-width: 600px){
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2){
    grid-column: 1 / -1;
    display: block;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3){
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ✅ Cards (support both .entry and article markup) */
.home .tq-front-widgets .widget.featured-content article,
.home .tq-front-widgets .widget.featured-content .entry,
.front-page .tq-front-widgets .widget.featured-content article,
.front-page .tq-front-widgets .widget.featured-content .entry{
  grid-column: span 12;
  background: var(--tq-surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--tq-border-soft);

  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ✅ Images default */
.home .tq-front-widgets .widget.featured-content article img,
.home .tq-front-widgets .widget.featured-content .entry img,
.front-page .tq-front-widgets .widget.featured-content article img,
.front-page .tq-front-widgets .widget.featured-content .entry img{
  width: 100%;
  height: auto;
  display: block;
}

/* ✅ Header spacing */
.home .tq-front-widgets .widget.featured-content article .entry-header,
.home .tq-front-widgets .widget.featured-content .entry .entry-header,
.front-page .tq-front-widgets .widget.featured-content article .entry-header,
.front-page .tq-front-widgets .widget.featured-content .entry .entry-header{
  padding: 12px 14px 10px;
  flex: 1 1 auto;
}

/* ======================================================
   FIX: Widget Title Center + Gradient Line
====================================================== */
.home .tq-front-widgets .widget.featured-content .widget-title,
.front-page .tq-front-widgets .widget.featured-content .widget-title{
  grid-column: 1 / -1 !important;
  justify-self: center !important;

  text-align: center !important;
  display: block !important;
  width: 100% !important;

  font-size: 26px;
  font-weight: 900;
  margin: 0 0 30px;
  position: relative;
}

.home .tq-front-widgets .widget.featured-content .widget-title::after,
.front-page .tq-front-widgets .widget.featured-content .widget-title::after{
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(37,99,235,0),
    rgba(37,99,235,0.8),
    rgba(37,99,235,0)
  );
}

.home .tq-front-widgets .widget.featured-content .widget-wrap,
.front-page .tq-front-widgets .widget.featured-content .widget-wrap{
  text-align: left;
}

/* ======================================================
   FRONT PAGE - Title & Meta Styling Final
====================================================== */
.home .tq-front-widgets .widget.featured-content .entry-title,
.front-page .tq-front-widgets .widget.featured-content .entry-title{
  text-align: center !important;
  color: var(--tq-heading) !important;
  font-weight: 900;
}

.home .tq-front-widgets .widget.featured-content .entry-title a,
.front-page .tq-front-widgets .widget.featured-content .entry-title a{
  color: var(--tq-heading) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.home .tq-front-widgets .widget.featured-content .entry-title a:hover,
.front-page .tq-front-widgets .widget.featured-content .entry-title a:hover{
  color: #209cee !important;
  text-decoration: none !important;
}

.home .tq-front-widgets .widget.featured-content .entry-meta,
.front-page .tq-front-widgets .widget.featured-content .entry-meta{
  text-align: center !important;
  font-size: 13px;
  opacity: 0.8;
  color: var(--tq-muted);
}

.home .tq-front-widgets .widget.featured-content .entry-meta a,
.front-page .tq-front-widgets .widget.featured-content .entry-meta a{
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.home .tq-front-widgets .widget.featured-content .entry-meta a:hover,
.front-page .tq-front-widgets .widget.featured-content .entry-meta a:hover{
  color: #209cee !important;
  text-decoration: none !important;
}



/* ======================================================
   MASTER WIDGET TITLE STYLE (Use "Latest Posts" look everywhere)
====================================================== */
.widget-title,
.tq-tools .widget-title,
.home .tq-front-widgets .widget-title,
.front-page .tq-front-widgets .widget-title,
.sidebar .widget-title,
.footer-widgets .widget-title{
  float: none !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;

  font-size: 24px !important;
  font-weight: 900 !important;
  color: var(--tq-heading) !important;

  margin: 0 0 26px !important;
  padding: 0 !important;
  position: relative !important;

  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.widget-title::before,
.home .tq-front-widgets .widget-title::before,
.front-page .tq-front-widgets .widget-title::before,
.sidebar .widget-title::before,
.footer-widgets .widget-title::before{
  content: none !important;
}

.widget-title::after,
.home .tq-front-widgets .widget-title::after,
.front-page .tq-front-widgets .widget-title::after,
.sidebar .widget-title::after,
.footer-widgets .widget-title::after,
.tq-tools .widget-title::after{
  content: "" !important;
  display: block !important;

  width: 70px !important;
  height: 3px !important;
  margin: 12px auto 0 !important;
  border-radius: 999px !important;

  background: linear-gradient(
    90deg,
    rgba(32,156,238,0),
    rgba(32,156,238,0.95),
    rgba(32,156,238,0)
  ) !important;
}

.widget .widget-title{
  grid-column: 1 / -1 !important;
  justify-self: center !important;
}

@media (max-width: 600px){
  .widget-title{
    font-size: 20px !important;
    margin-bottom: 22px !important;
  }
}

/* ======================================================
   TQ FOOTER (LIGHT) - TOP WIDGETS ONLY (1300px)
====================================================== */
.tq-footer-top{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;

  background: rgb(243 246 255 / .97);
  padding: 20px 0;
}

/* Dark mode footer-top should also go dark */
@media (prefers-color-scheme: dark){
  .tq-footer-top{
    background: var(--tq-surface);
    border-top: 1px solid var(--tq-border-soft);
  }
}
html[data-theme="dark"] .tq-footer-top,
body.tq-dark .tq-footer-top{
  background: var(--tq-surface);
  border-top: 1px solid var(--tq-border-soft);
}

.tq-footer-wrap{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.tq-footer-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.tq-footer-col{
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  position: relative;
}

@media (min-width: 992px){
  .tq-footer-col:not(:last-child)::after{
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: -13px;
    width: 1px;
    background: linear-gradient(
      180deg,
      rgba(15,23,42,0),
      rgba(15,23,42,0.16),
      rgba(15,23,42,0)
    );
    border-radius: 999px;
    pointer-events: none;
  }
}

@media (max-width: 992px){
  .tq-footer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tq-footer-col::after{ content: none; }
  .tq-footer-col:nth-child(odd)::after{
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: -13px;
    width: 1px;
    background: linear-gradient(
      180deg,
      rgba(15,23,42,0),
      rgba(15,23,42,0.16),
      rgba(15,23,42,0)
    );
    border-radius: 999px;
    pointer-events: none;
  }
}

.tq-footer-top .tq-footer-widget{
  color: var(--tq-text);
  font-size: 14px;
  line-height: 1.7;
}

.tq-footer-top a{
  color: var(--tq-text);
  text-decoration: none;
  transition: color .25s ease;
}
.tq-footer-top a:hover{
  color: #209cee;
}

.tq-footer-top ul{
  margin: 0;
  padding-left: 18px;
}
.tq-footer-top li{
  margin: 6px 0;
}

@media (max-width: 600px){
  .tq-footer-col-1,
  .tq-footer-col-2,
  .tq-footer-col-3{
    display: none !important;
  }

  .tq-footer-grid{
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .tq-footer-col-4{
    width: 100% !important;
    max-width: 720px;
    margin: 0 auto;
    text-align: center !important;
    align-items: center;
  }

  .tq-footer-col-4 .widget-title{
    display: none !important;
  }

  .tq-footer-col-4 ul{
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 14px !important;
  }

  .tq-footer-col-4 li{
    margin: 0 !important;
    padding: 0 !important;
  }

  .tq-footer-col-4 a{
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--tq-text) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
  }

  .tq-footer-col-4 a:hover{
    color: #209cee !important;
  }
}

/* =========================================
   REMOVE GAP ABOVE & BELOW FOOTER
========================================= */
.site-inner,
.content-sidebar-wrap{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.site-footer{
  margin: 0 !important;
  padding: 0 !important;
}

.tq-custom-footer{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.site-inner > *:last-child{
  margin-bottom: 0 !important;
}

/* =========================================
   TechQor Custom Black Footer
========================================= */
.tq-custom-footer{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;

  background: #000;
  color: #fff;
  padding: 12px 16px;
}

.tq-footer-inner{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.tq-footer-main{
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.tq-footer-main a{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color .25s ease;
}

.tq-footer-main a:hover{
  color: #209cee;
}

/* ===============================
   FOOTER – SUBTLE PULSE DOT
================================ */
.tq-pulse-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  vertical-align: middle;
  animation: tqPulseSoft 2.6s ease-in-out infinite;
}

@keyframes tqPulseSoft {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.15); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
}

@media (max-width: 600px){
  .tq-footer-main{ text-align: center; }
  .tq-copy{
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .tq-managedby{
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
    text-align: center !important;
  }
  .tq-managedby .tq-sep{ display: none !important; }
}

/* =================================
   HAMBURGER BUTTON - NEW UI (ANIMATION SAFE)
================================= */
.tq-hamburger-btn,
.menu-toggle,
.hamburger {
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--tq-border) 65%, transparent);
  border-radius: 12px;
  background: var(--tq-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tq-hamburger-btn:hover,
.menu-toggle:hover,
.hamburger:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  border-color: var(--tq-border);
}

.tq-hamburger-btn span,
.menu-toggle span,
.hamburger span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tq-heading);
  border-radius: 99px;
  transition: transform .25s ease, opacity .2s ease, width .25s ease;
  position: relative;
}

.tq-hamburger-btn span::before,
.tq-hamburger-btn span::after,
.menu-toggle span::before,
.menu-toggle span::after,
.hamburger span::before,
.hamburger span::after{
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--tq-heading);
  border-radius: 99px;
  transition: transform .25s ease, opacity .2s ease, width .25s ease;
}

.tq-hamburger-btn span::before,
.menu-toggle span::before,
.hamburger span::before{ transform: translateY(-7px); }

.tq-hamburger-btn span::after,
.menu-toggle span::after,
.hamburger span::after{ transform: translateY(7px); }

.tq-hamburger-btn.is-active span,
.tq-hamburger-btn.active span,
.menu-toggle.is-active span,
.menu-toggle.active span,
.hamburger.is-active span,
.hamburger.active span{
  background: transparent;
}

.tq-hamburger-btn.is-active span::before,
.tq-hamburger-btn.active span::before,
.menu-toggle.is-active span::before,
.menu-toggle.active span::before,
.hamburger.is-active span::before,
.hamburger.active span::before{
  transform: rotate(45deg);
}

.tq-hamburger-btn.is-active span::after,
.tq-hamburger-btn.active span::after,
.menu-toggle.is-active span::after,
.menu-toggle.active span::after,
.hamburger.is-active span::after,
.hamburger.active span::after{
  transform: rotate(-45deg);
}

.tq-hamburger-btn[aria-expanded="true"] span,
.menu-toggle[aria-expanded="true"] span,
.hamburger[aria-expanded="true"] span{
  background: transparent;
}
.tq-hamburger-btn[aria-expanded="true"] span::before,
.menu-toggle[aria-expanded="true"] span::before,
.hamburger[aria-expanded="true"] span::before{
  transform: rotate(45deg);
}
.tq-hamburger-btn[aria-expanded="true"] span::after,
.menu-toggle[aria-expanded="true"] span::after,
.hamburger[aria-expanded="true"] span::after{
  transform: rotate(-45deg);
}

/* =========================================================
   TECHQOR DESKTOP SEARCH (ICON -> PILL)
========================================================= */
.tq-header-right{
  display:flex;
  align-items:center;
  gap:1px;
}

#tq-search-wrap{
  display:inline-flex;
  align-items:center;
  position:relative;
}

#tq-search-btn{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:transparent !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;

  padding:0 !important;
  border-radius:999px;
  cursor:pointer;
}
#tq-search-btn:hover{ background: rgba(0,0,0,.04); }
#tq-search-btn:focus,
#tq-search-btn:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}
#tq-search-btn *{
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
}

#tq-search-pill{
  display:inline-flex;
  align-items:center;

  height:44px;
  border-radius:999px;
  background:#1f2328;
  border:0 !important;
  box-shadow:none !important;

  overflow:hidden;
  pointer-events:none;

  width:0;
  opacity:0;
  transform: translateX(14px);

  transition:
    width 280ms cubic-bezier(.22,.61,.36,1),
    opacity 220ms ease,
    transform 260ms cubic-bezier(.22,.61,.36,1);
}

#tq-search-wrap.is-open #tq-search-pill{
  width:200px;
  max-width:46vw;
  opacity:1;
  transform: translateX(0);
  pointer-events:auto;
}

#tq-search-wrap.is-open #tq-search-btn{
  width:0 !important;
  opacity:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
  transition: width 220ms ease, opacity 180ms ease;
}

#tq-search-pill .search-form{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  gap:10px;

  padding:0 5px 0 14px;
  box-sizing:border-box;
}

#tq-header-search-input{
  flex:1;
  width:100%;
  min-width:0;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;

  color:#fff;
  font-size:15px;
  line-height:1;
}
#tq-header-search-input::placeholder{
  color: rgba(255,255,255,.65);
}

#tq-search-clear{
  display:none;
  align-items:center;
  justify-content:center;

  width:32px;
  height:32px;
  border-radius:999px;

  background: rgba(255,255,255,.08);
  border:0 !important;
  box-shadow:none !important;
  color: rgba(255,255,255,.9);

  cursor:pointer;
}
#tq-search-clear:hover{
  background: rgba(255,255,255,.12);
}

#tq-search-pill .search-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:36px;
  height:36px;
  border-radius:999px;

  background: rgba(255,255,255,.08) !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;

  cursor:pointer;
}
#tq-search-pill .search-submit:hover{
  background: rgba(255,255,255,.12) !important;
}
#tq-search-pill .search-submit svg{
  width:18px;
  height:18px;
  color: rgba(255,255,255,.95);
}

#tq-search-pill .search-form > svg{ display:none !important; }

@media (prefers-reduced-motion: reduce){
  #tq-search-pill,
  #tq-search-wrap.is-open #tq-search-btn{
    transition:none !important;
    transform:none !important;
  }
}

#tq-header-search-input::-webkit-search-cancel-button{
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

#tq-header-search-input::-webkit-search-decoration{
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

#tq-header-search-input[type="search"]{
  -moz-appearance: textfield;
}

#tq-search-clear{
  color:#4da3ff;
}

/* ==================================================
   DESKTOP ONLY: Logo left | Menu center | Icons right
================================================== */
@media (min-width: 993px){
  .tq-header-wrap{
    grid-template-columns: max-content 1fr max-content;
    gap: 18px;
  }

  .tq-header-left{
    grid-column: 1;
    justify-content: flex-start;
  }

  .tq-nav-desktop{
    grid-column: 2;
    justify-self: center;
    min-width: 0;
  }

  .tq-header-right{
    display: contents;
  }

  .tq-blog-icon-desktop,
  .tq-search-wrap,
  .tq-dark-toggle{
    grid-column: 3;
    justify-self: end;
  }

  .tq-blog-icon-desktop,
  .tq-search-wrap,
  .tq-dark-toggle{
    margin-left: 10px;
  }

  .tq-hamburger{ display: none !important; }
}

/* =========================
   Dark Toggle Icon FIX
========================= */
.tq-dark-toggle{
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--tq-heading);
}

.tq-dark-toggle .tq-dark-svg{
  display:block;
}

/* =====================================
   Dark/Light Toggle Icon Animation (WORKING)
   - No display:none (because display can't animate)
   - Uses opacity + transform + visibility
===================================== */

.tq-dark-toggle .tq-dark-svg{
  display:block;
}

.tq-dark-toggle .tq-ico-moon,
.tq-dark-toggle .tq-ico-sun{
  transform-origin: 50% 50%;
  transition:
    transform .45s cubic-bezier(.2,.8,.2,1),
    opacity .30s ease,
    visibility 0s linear .30s; /* delay visibility change so fade animates */
  will-change: transform, opacity;
}

/* LIGHT (default): moon visible */
html:not([data-theme="dark"]) .tq-dark-toggle .tq-ico-moon,
html[data-theme="light"] .tq-dark-toggle .tq-ico-moon{
  opacity: 1;
  transform: rotate(0deg) scale(1);
  visibility: visible;
  transition-delay: 0s, 0s, 0s;
}

html:not([data-theme="dark"]) .tq-dark-toggle .tq-ico-sun,
html[data-theme="light"] .tq-dark-toggle .tq-ico-sun{
  opacity: 0;
  transform: rotate(-90deg) scale(.6);
  visibility: hidden;
  transition-delay: 0s, 0s, .30s; /* hide after fade out */
}

/* DARK: sun visible */
html[data-theme="dark"] .tq-dark-toggle .tq-ico-sun{
  opacity: 1;
  transform: rotate(0deg) scale(1);
  visibility: visible;
  transition-delay: 0s, 0s, 0s;
}

html[data-theme="dark"] .tq-dark-toggle .tq-ico-moon{
  opacity: 0;
  transform: rotate(90deg) scale(.6);
  visibility: hidden;
  transition-delay: 0s, 0s, .30s;
}

/* Optional: button press micro interaction */
.tq-dark-toggle:active{
  transform: scale(.92);
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce){
  .tq-dark-toggle .tq-ico-moon,
  .tq-dark-toggle .tq-ico-sun{
    transition: none !important;
  }
}

/* =========================================
   DESKTOP FIX: Menu true-center + Right icons row
========================================= */
@media (min-width: 993px){
  .tq-header-wrap{
    position: relative;
    grid-template-columns: max-content 1fr max-content;
    gap: 18px;
  }

  .tq-header-left{
    grid-column: 1;
  }

  .tq-header-right{
    grid-column: 3;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
  }

  .tq-blog-icon-desktop{
    display: none !important;
  }

  .tq-hamburger{
    display: none !important;
  }

  .tq-nav-desktop{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    z-index: 2;
    min-width: 0;
  }

  .tq-nav-desktop .genesis-nav-menu{
    gap: 18px;
  }

  .tq-nav-desktop .genesis-nav-menu > li > a{
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--tq-heading);
  }

  .tq-nav-desktop .genesis-nav-menu > li > a:hover{
    color: #209cee;
  }

  .tq-search-btn,
  .tq-dark-toggle{
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--tq-surface);
    color: var(--tq-heading);
  }

  .tq-search-btn:hover,
  .tq-dark-toggle:hover{
    background: var(--tq-surface);
  }
}


/* =====================================
   Dark Toggle Icon Animation
===================================== */

.tq-dark-toggle {
  transition: transform .4s ease;
}

.tq-dark-toggle .tq-dark-svg {
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

/* icon groups */
.tq-ico-moon,
.tq-ico-sun {
  transform-origin: 50% 50%;
  transition: 
    transform .5s cubic-bezier(.4,0,.2,1),
    opacity .35s ease;
}

/* Default (Light mode → Moon visible) */
.tq-ico-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.tq-ico-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(.6);
}

/* Dark mode state */
html[data-theme="dark"] .tq-ico-moon,
body.tq-dark .tq-ico-moon {
  opacity: 0;
  transform: rotate(90deg) scale(.6);
}

html[data-theme="dark"] .tq-ico-sun,
body.tq-dark .tq-ico-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}


.tq-dark-toggle:active {
  transform: scale(.85);
}



/* =====================================
   Smooth Page Theme Transition (LIGHTWEIGHT + SMOOTH)
   - Avoid body * (heavy)
   - Transition only key surfaces
===================================== */

@media (prefers-reduced-motion: no-preference){

  /* Only while toggling */
  html.tq-theme-animating body,
  html.tq-theme-animating .tq-header,
  html.tq-theme-animating .site-inner,
  html.tq-theme-animating .entry,
  html.tq-theme-animating .sidebar .widget,
  html.tq-theme-animating .site-footer,
  html.tq-theme-animating .tq-footer-top,
  html.tq-theme-animating .tq-custom-footer,
  html.tq-theme-animating .tq-offcanvas-panel,
  html.tq-theme-animating .tq-offcanvas-overlay{
    transition:
      background-color 520ms cubic-bezier(.2,.8,.2,1),
      color 520ms cubic-bezier(.2,.8,.2,1),
      border-color 520ms cubic-bezier(.2,.8,.2,1),
      box-shadow 520ms cubic-bezier(.2,.8,.2,1);
  }

  /* Text + links */
  html.tq-theme-animating h1,
  html.tq-theme-animating h2,
  html.tq-theme-animating h3,
  html.tq-theme-animating h4,
  html.tq-theme-animating h5,
  html.tq-theme-animating h6,
  html.tq-theme-animating p,
  html.tq-theme-animating a,
  html.tq-theme-animating .tq-post-meta,
  html.tq-theme-animating .entry-meta{
    transition: color 520ms cubic-bezier(.2,.8,.2,1);
  }

  /* SVG icon strokes */
  html.tq-theme-animating svg{
    transition: fill 520ms cubic-bezier(.2,.8,.2,1), stroke 520ms cubic-bezier(.2,.8,.2,1);
  }

  /* A tiny global fade polish */
  html.tq-theme-animating body{
    transition: opacity 220ms ease, background-color 520ms cubic-bezier(.2,.8,.2,1), color 520ms cubic-bezier(.2,.8,.2,1);
    opacity: 0.992;
  }
}

@media (prefers-reduced-motion: reduce){
  html.tq-theme-animating *{ transition: none !important; }
}





/* ======================================================
   FRONT PAGE Featured Posts - Mobile/Tablet FINAL
   Desktop unchanged
====================================================== */

/* Common list divider (mobile+tablet list items) */
@media (max-width: 992px){

  /* List view items (3rd onwards) */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3){
    border-radius: 14px;
    overflow: hidden;
  }

  /* Divider + spacing */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3):not(:last-of-type),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3):not(:last-of-type),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3):not(:last-of-type),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3):not(:last-of-type){
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(15,23,42,0.10);
  }
}

/* ------------------------------
   MOBILE (<=600px)
   1-2 full card
   3+ list view (image left, content right)
------------------------------ */
@media (max-width: 600px){

  /* Keep grid */
  .home .tq-front-widgets .widget.featured-content .widget-wrap,
  .front-page .tq-front-widgets .widget.featured-content .widget-wrap{
    gap: 16px;
  }

  /* Post 1-2: full width card */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2){
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Post 1-2 image */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) img,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) img,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) img,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) img{
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Post 1-2 text align center (as you wanted earlier) */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-title,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-title,
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-meta,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-meta{
    text-align: center !important;
  }

  /* Post 3+: LIST view */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3){
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 110px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 12px !important;
  }

  /* List image (left) */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) img,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) img{
    width: 110px !important;
    height: 78px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  /* List header spacing + align left */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-header,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-header{
    padding: 0 !important;
    text-align: left !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title{
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-meta,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-meta{
    font-size: 12px !important;
    margin-top: 6px !important;
    opacity: 0.85;
    text-align: left !important;
  }
}

/* ------------------------------
   TABLET (601px–992px)
   1-2 same row cards
   3+ list view
------------------------------ */
@media (min-width: 601px) and (max-width: 992px){

  /* Post 1-2: two cards in one row */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2){
    grid-column: span 6 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) img,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) img,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) img,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) img{
    width: 100% !important;
    height: 210px !important;
    object-fit: cover !important;
  }

  /* Post 3+: list view */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3){
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 150px 1fr !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 14px !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) img,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) img{
    width: 150px !important;
    height: 95px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-header,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-header{
    padding: 0 !important;
    text-align: left !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title{
    font-size: 17px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-meta,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-meta{
    font-size: 12px !important;
    margin-top: 6px !important;
    opacity: 0.85;
    text-align: left !important;
  }
}


/* ======================================================
   FIX: List view left align + First 2 title responsive
====================================================== */

/* ✅ LIST VIEW (3rd+) - force left align (mobile + tablet) */
@media (max-width: 992px){

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-header,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-header{
    text-align: left !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title,
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-meta,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-meta{
    text-align: left !important;
  }
}

/* ✅ MOBILE (<=600px) - first 2 titles smaller + neat */
@media (max-width: 600px){

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-title,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-title{
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-meta,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-meta{
    font-size: 12px !important;
    margin-top: 6px !important;
    opacity: 0.85;
  }
}

/* ✅ TABLET (601px–992px) - first 2 titles balanced */
@media (min-width: 601px) and (max-width: 992px){

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-title,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-title{
    font-size: 19px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-meta,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(-n+2) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(-n+2) .entry-meta{
    font-size: 12px !important;
    margin-top: 6px !important;
    opacity: 0.85;
  }
}





/* ======================================================
   LIST VIEW FIX: Image left + Title/Meta right + 2-line clamp + balanced gap
====================================================== */

@media (max-width: 992px){

  /* 3rd+ posts list layout */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3){
    display: grid !important;
    grid-template-columns: 120px 1fr !important;
    column-gap: 14px !important;
    align-items: center !important;

    padding: 12px 0 !important;      /* ✅ equal top-bottom gap */
    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* ✅ Full-width divider with equal spacing */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3):not(:last-of-type),
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3):not(:last-of-type),
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3):not(:last-of-type),
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3):not(:last-of-type){
    border-bottom: 1px solid rgba(15,23,42,0.12) !important;
  }

  /* Place header on right column */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-header,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-header,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-header{
    grid-column: 2 / 3 !important;
    padding: 0 !important;
    text-align: left !important;
    margin: 0 !important;
  }

  /* Put image on left column (works with img OR link wrapper) */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-image-link,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-image-link,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-image-link,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-image-link{
    grid-column: 1 / 2 !important;
    display: block !important;
    width: 120px !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) img,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) img{
    grid-column: 1 / 2 !important;
    width: 120px !important;
    height: 82px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
  }

  /* ✅ Title max 2 lines + ... */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title{
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title a,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title a,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-title a,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-title a{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  /* Meta */
  .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-meta,
  .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) .entry-meta,
  .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) .entry-meta{
    font-size: 12px !important;
    margin-top: 6px !important;
    opacity: 0.85;
    text-align: left !important;
  }

  /* Mobile a bit tighter */
  @media (max-width: 600px){
    .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
    .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3),
    .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3),
    .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3){
      grid-template-columns: 110px 1fr !important;
      column-gap: 12px !important;
      padding: 11px 0 !important;
    }

    .home .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
    .home .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) img,
    .front-page .tq-front-widgets .widget.featured-content article:nth-of-type(n+3) img,
    .front-page .tq-front-widgets .widget.featured-content .entry:nth-of-type(n+3) img{
      width: 110px !important;
      height: 76px !important;
    }
  }
}



/* ======================================================
   MASTER WIDGET TITLE STYLE (Use "Latest Posts" look everywhere)
   Paste at END of main.css
====================================================== */

/* 1) Force same typography everywhere */
.widget-title,
.tq-tools .widget-title,
.home .tq-front-widgets .widget-title,
.front-page .tq-front-widgets .widget-title,
.sidebar .widget-title,
.footer-widgets .widget-title{
  float: none !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;

  font-size: 24px !important;
  font-weight: 900 !important;
  color: #0f172a !important;

  margin: 0 0 26px !important;
  padding: 0 !important;
  position: relative !important;

  /* if any old underline/border exists */
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* 2) Kill other different underline styles (if any) */
.widget-title::before,
.home .tq-front-widgets .widget-title::before,
.front-page .tq-front-widgets .widget-title::before,
.sidebar .widget-title::before,
.footer-widgets .widget-title::before{
  content: none !important;
}

/* 3) Apply EXACT "Latest Posts" underline everywhere */
.widget-title::after,
.home .tq-front-widgets .widget-title::after,
.front-page .tq-front-widgets .widget-title::after,
.sidebar .widget-title::after,
.footer-widgets .widget-title::after,
.tq-tools .widget-title::after{
  content: "" !important;
  display: block !important;

  width: 70px !important;
  height: 3px !important;
  margin: 12px auto 0 !important;
  border-radius: 999px !important;

  /* Latest Posts style line */
  background: linear-gradient(
    90deg,
    rgba(32,156,238,0),
    rgba(32,156,238,0.95),
    rgba(32,156,238,0)
  ) !important;
}

/* 4) If title is inside grid layouts, keep it full row */
.widget .widget-title{
  grid-column: 1 / -1 !important;
  justify-self: center !important;
}

/* 5) Mobile size slightly smaller (optional but recommended) */
@media (max-width: 600px){
  .widget-title{
    font-size: 20px !important;
    margin-bottom: 22px !important;
  }
}

/* ======================================================
   TQ FOOTER (LIGHT) - TOP WIDGETS ONLY (1300px)
   - Equal columns
   - Smooth dividers between columns
   - Mobile: only Column 4 shows (links bar style)
====================================================== */

  .tq-footer-top{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: rgb(243 246 255 / .97);;
  padding: 20px 0;
}

.tq-footer-wrap{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ✅ Desktop default: 4 equal columns */
.tq-footer-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

/* Each column stacks its widgets */
.tq-footer-col{
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  position: relative;
}

/* ✅ Smooth vertical divider between columns (desktop) */
@media (min-width: 992px){
  .tq-footer-col:not(:last-child)::after{
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: -13px;            /* half of gap look */
    width: 1px;
    background: linear-gradient(
      180deg,
      rgba(15,23,42,0),
      rgba(15,23,42,0.16),
      rgba(15,23,42,0)
    );
    border-radius: 999px;
    pointer-events: none;
  }
}

/* Tablet: 2 columns */
@media (max-width: 992px){
  .tq-footer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* divider between 2 cols (only for left column in each row) */
  .tq-footer-col::after{ content: none; }
  .tq-footer-col:nth-child(odd)::after{
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: -13px;
    width: 1px;
    background: linear-gradient(
      180deg,
      rgba(15,23,42,0),
      rgba(15,23,42,0.16),
      rgba(15,23,42,0)
    );
    border-radius: 999px;
    pointer-events: none;
  }
}

/* Footer widgets text */
.tq-footer-top .tq-footer-widget{
  color: rgba(15,23,42,0.85);
  font-size: 14px;
  line-height: 1.7;
}

/* Footer links */
.tq-footer-top a{
  color: rgba(15,23,42,0.85);
  text-decoration: none;
  transition: color .25s ease;
}
.tq-footer-top a:hover{
  color: #209cee;
}

/* Optional: make lists clean */
.tq-footer-top ul{
  margin: 0;
  padding-left: 18px;
}
.tq-footer-top li{
  margin: 6px 0;
}

/* ======================================================
   MOBILE: Only Column 4 Show (Links bar like screenshot)
====================================================== */
@media (max-width: 600px){

  .tq-footer-col-1,
  .tq-footer-col-2,
  .tq-footer-col-3{
    display: none !important;
  }

  .tq-footer-grid{
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .tq-footer-col-4{
    width: 100% !important;
    max-width: 720px;
    margin: 0 auto;
    text-align: center !important;
    align-items: center;
  }

  /* Hide title on mobile for col 4 bar */
  .tq-footer-col-4 .widget-title{
    display: none !important;
  }

  /* Inline menu links bar */
  .tq-footer-col-4 ul{
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 14px !important;
  }

  .tq-footer-col-4 li{
    margin: 0 !important;
    padding: 0 !important;
  }

  .tq-footer-col-4 a{
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(15,23,42,0.88) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
  }

  .tq-footer-col-4 a:hover{
    color: #209cee !important;
  }
}

/* ======================================
   Soft Divider (DESKTOP ONLY)
====================================== */

/* Default: hide on mobile/tablet */
.tq-soft-divider{
  display: none;
}

/* Desktop only */
@media (min-width: 993px){

  /* Light Mode */
  .tq-soft-divider{
    display: inline-block;
    width: 1px;
    height: 20px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(0,0,0,0.18),
      transparent
    );
    opacity: .7;
    transition: all .3s ease;
  }

  /* Dark mode - works for any common class */
  html.dark .tq-soft-divider,
  html.dark-mode .tq-soft-divider,
  body.dark .tq-soft-divider,
  body.dark-mode .tq-soft-divider,
  html[data-theme="dark"] .tq-soft-divider,
  body.tq-dark .tq-soft-divider{
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255,255,255,0.35),
      transparent
    );
    opacity: .9;
  }
}

/* =========================================
   REMOVE GAP ABOVE & BELOW FOOTER
========================================= */

/* Remove bottom spacing from main containers */
.site-inner,
.content-sidebar-wrap{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove any footer default spacing */
.site-footer{
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure custom footer sticks clean */
.tq-custom-footer{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Remove last element bottom margin before footer */
.site-inner > *:last-child{
  margin-bottom: 0 !important;
}


/* =========================================
   FIX: Widget Title color in Dark Mode
   (override hardcoded #0f172a !important)
========================================= */

/* Default (light) - keep token */
.widget-title,
.tq-tools .widget-title,
.home .tq-front-widgets .widget-title,
.front-page .tq-front-widgets .widget-title,
.sidebar .widget-title,
.footer-widgets .widget-title{
  color: var(--tq-heading) !important;
  opacity: 1 !important;
}

/* Dark mode - force correct readable color */
html[data-theme="dark"] .widget-title,
html[data-theme="dark"] .tq-tools .widget-title,
html[data-theme="dark"] .home .tq-front-widgets .widget-title,
html[data-theme="dark"] .front-page .tq-front-widgets .widget-title,
html[data-theme="dark"] .sidebar .widget-title,
html[data-theme="dark"] .footer-widgets .widget-title,
body.tq-dark .widget-title,
body.tq-dark .tq-tools .widget-title,
body.tq-dark .home .tq-front-widgets .widget-title,
body.tq-dark .front-page .tq-front-widgets .widget-title,
body.tq-dark .sidebar .widget-title,
body.tq-dark .footer-widgets .widget-title{
  color: var(--tq-heading) !important;
  opacity: 1 !important;
}







/* =========================
   Search Results Page (Premium)
========================= */

.tq-search-hero{
  padding: 28px 0 18px;
}
.tq-search-hero__inner{
  width: min(1100px, calc(100% - 26px));
  margin: 0 auto;
}
.tq-search-title{
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
}
.tq-search-subtitle{
  margin: 8px 0 0;
  opacity: .85;
}
.tq-search-term{
  font-weight: 700;
}

.tq-search-form-wrap{
  margin-top: 16px;
}
.tq-search-page-form{
  display: flex;
  gap: 10px;
  align-items: center;
  width: min(680px, 100%);
}
.tq-search-page-form input{
  flex: 1;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  padding: 0 14px;
  outline: none;
}
.tq-search-page-form button{
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  background: #111;
  color: #fff;
}

.tq-search-meta{
  padding: 10px 0 0;
}
.tq-search-meta__inner{
  width: min(1100px, calc(100% - 26px));
  margin: 0 auto;
  display:flex;
  justify-content: space-between;
  align-items:center;
}
.tq-search-count{
  font-weight: 600;
  opacity: .8;
}

/* Grid */
.tq-search-grid{
  width: min(1100px, calc(100% - 26px));
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Card */
.tq-search-card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  transition: transform .22s cubic-bezier(.2,.9,.2,1), box-shadow .22s ease;
}
.tq-search-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.tq-search-card__link{
  position:absolute; inset:0;
  z-index: 1;
}

.tq-search-card__thumb{
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.05);
}
.tq-search-card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.tq-search-card__thumb--empty{
  background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}

.tq-search-card__body{
  position: relative;
  z-index: 2; /* above overlay link */
  padding: 14px 14px 12px;
}

.tq-search-card__top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}

.tq-search-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0,0,0,.06);
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 3;
}
.tq-search-date{
  font-size: 12px;
  opacity: .72;
  white-space: nowrap;
}

.tq-search-card__title{
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}
.tq-search-card__title a{
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 3;
}
.tq-search-card__excerpt{
  margin: 10px 0 0;
  opacity: .82;
  line-height: 1.55;
  font-size: 14px;
}

.tq-search-card__footer{
  margin-top: 12px;
  display:flex;
  justify-content: flex-end;
}
.tq-search-readmore{
  font-weight: 700;
  font-size: 13px;
  opacity: .85;
}

/* Pagination */
.tq-search-pagination{
  width: min(1100px, calc(100% - 26px));
  margin: 24px auto 40px;
}

/* Empty state */
.tq-search-empty{
  width: min(1100px, calc(100% - 26px));
  margin: 22px auto 40px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
}

/* Responsive */
@media (max-width: 980px){
  .tq-search-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .tq-search-grid{ grid-template-columns: 1fr; }
  .tq-search-page-form{ flex-direction: column; align-items: stretch; }
  .tq-search-page-form button{ width: 100%; }
}

/* Dark mode */
html[data-theme="dark"] .tq-search-card{
  background: #111;
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}
html[data-theme="dark"] .tq-search-pill{
  background: rgba(255,255,255,.08);
}
html[data-theme="dark"] .tq-search-page-form input{
  background:#0b0b0b;
  color:#fff;
  border-color: rgba(255,255,255,.18);
}
html[data-theme="dark"] .tq-search-empty{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
}




/* ======================================================
   ✅ HEADER LAYOUT FIX (One line, no wrap)
   - Prevents menu + icons breaking into 2 rows
====================================================== */
.tq-header-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.tq-header-left{
  flex:0 0 auto;
}

.tq-nav-desktop{
  flex:1 1 auto;
  min-width:0;
}

.tq-header-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  white-space:nowrap;
}

/* Optional: menu items overflow safe (if menu too long) */
.tq-nav-desktop ul{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:10px;
}
.tq-nav-desktop li{
  flex:0 0 auto;
}

/* ======================================================
   ✅ MINIMAL SEARCH PILL (Exact style)
   - Placeholder left
   - Icon right inside
====================================================== */
.tq-header-search{
  position:relative;
  display:flex !important;
  align-items:center;
  width:210px;       /* desktop default */
  height:36px;
  flex:0 0 auto;
}

.tq-header-search__input{
  width:100% !important;
  height:100% !important;
  border:0 !important;
  outline:none !important;

  padding:0 40px 0 14px !important; /* right space for icon */
  border-radius:999px !important;
  color:#333 !important;
  font-size:14px !important;

  display:block !important;
  box-shadow:none !important;
}

.tq-header-search__input::placeholder{
  color:#888 !important;
  opacity:.95 !important;
}

.tq-header-search__btn{
  position:absolute !important;
  right:8px !important;
  top:50% !important;
  transform:translateY(-50%) !important;

  width:26px !important;
  height:26px !important;
  padding:0 !important;

  border:0 !important;
  background:transparent !important;
  cursor:pointer !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  color:#777 !important;
  box-shadow:none !important;
}

.tq-header-search__btn:hover{
  color:#111 !important;
}

.tq-header-search__btn svg{
  display:block;
}

/* ✅ Nice premium focus (very subtle) */
.tq-header-search__input:focus{
  background:#ededed !important;
}

/* ======================================================
   ✅ DARK MODE SUPPORT
====================================================== */
html[data-theme="dark"] .tq-header-search__input{
  background:#2a2a2a !important;
  color:#fff !important;
}
html[data-theme="dark"] .tq-header-search__input::placeholder{
  color:#a9a9a9 !important;
}
html[data-theme="dark"] .tq-header-search__btn{
  color:#aaa !important;
}
html[data-theme="dark"] .tq-header-search__btn:hover{
  color:#fff !important;
}

/* ======================================================
   ✅ RESPONSIVE
   - Small desktop width auto reduce
   - Mobile: hide header search (offcanvas search only)
====================================================== */
@media (max-width:1100px){
  .tq-header-search{ width:170px; }
}
@media (max-width:980px){
  .tq-header-search{ display:none !important; }
}

/* ======================================================
   ✅ DIVIDERS (If you use tq-soft-divider / tq-mobile-divider)
====================================================== */
.tq-soft-divider{
  width:1px;
  height:20px;
  background: rgba(0,0,0,.15);
  opacity:.7;
}
html[data-theme="dark"] .tq-soft-divider{
  background: rgba(255,255,255,.22);
  opacity:.9;
}

/* Prevent mobile divider showing on desktop (if needed) */
@media (min-width: 768px){
  .tq-mobile-divider{ display:none !important; }
}


/* =========================================
   🔥 FINAL SEARCH ICON CENTER FIX
========================================= */

.tq-header-search{
  position: relative;
  height: 36px;
}

/* Input clean reset */
.tq-header-search__input{
  height: 36px !important;
  line-height: normal !important;
  padding: 0 42px 0 14px !important;
}

/* Button reset */
.tq-header-search__btn{
  position: absolute !important;
  right: 10px !important;
  top: 0 !important;
  bottom: 0 !important;

  margin: auto 0 !important;

  height: 100% !important;
  width: 36px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  line-height: 0 !important;
}

/* Kill SVG baseline gap */
.tq-header-search__btn svg{
  display: block !important;
  margin: 0 auto !important;
}

@media (max-width:1200px){
  .tq-header-search{ width:140px; }
}

html[data-theme="dark"] .tq-header-search__input{
  background:#2a2a2a !important;
}
/* =====================================
   Compact Header Search (Smaller Pill)
===================================== */

.tq-header-search{
  width:160px;        /* 🔥 smaller width */
  height:32px;        /* thoda chhota */
}

.tq-header-search__input{
  background: #e6e6e6 !important;
  height:32px !important;
  padding:0 36px 0 12px !important;
  font-size:13px !important;
}

.tq-header-search__btn{
  width:28px !important;
  height:28px !important;
  right:6px !important;
}

.tq-header-search__btn svg{
  width:16px !important;
  height:16px !important;
}



/* =====================================
   Clean Hamburger (Modified)
   - Top & Bottom: Bold
   - Middle: Short from RIGHT
===================================== */

.tq-hamburger{
  position: relative;
  width: 36px;
  height: 28px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .2s ease;
}

.tq-hamburger:hover{
  transform: scale(1.05);
}

/* Middle line (short from right) */
.tq-ham-lines{
  position: relative;
  width: 22px;          /* full width reference */
  height: 2px;
  background:#111;
  border-radius:999px;
  transition: transform .25s ease, background .25s ease;
}

/* Middle line short from right */
.tq-ham-lines{
  width:18px;            /* shorter */
  margin-right:4px;      /* shift left visually */
}

/* Top & Bottom lines (bold) */
.tq-ham-lines::before,
.tq-ham-lines::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:3px;           /* ✅ bold */
  background:#111;
  border-radius:999px;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}

.tq-ham-lines::before{ top:-8px; }
.tq-ham-lines::after{ top:8px; }

/* OPEN STATE (X animation same as before) */
.tq-hamburger.is-open .tq-ham-lines{
  background: transparent;
}

.tq-hamburger.is-open .tq-ham-lines::before{
  top:0;
  transform: rotate(45deg);
}

.tq-hamburger.is-open .tq-ham-lines::after{
  top:0;
  transform: rotate(-45deg);
}

/* Dark mode */
html[data-theme="dark"] .tq-ham-lines,
html[data-theme="dark"] .tq-ham-lines::before,
html[data-theme="dark"] .tq-ham-lines::after{
  background:#f5f5f5;
}


/* =====================================
   Offcanvas Header Improvements
===================================== */

/* Close button top-right & bigger */
.tq-offcanvas-close{
  position: absolute;
  top: 18px;
  right: 18px;

  font-size: 28px;   /* bigger */
  width: 38px;
  height: 38px;

  display:flex;
  align-items:center;
  justify-content:center;

  border: none;
  background: transparent;
  cursor: pointer;

  transition: transform .2s ease, opacity .2s ease;
}

.tq-offcanvas-close:hover{
  transform: scale(1.1);
  opacity: .8;
}

/* Brand container spacing */
.tq-offcanvas-brand{
  position: relative;
  padding-top: 50px;  /* space for close button */
  text-align: center; /* center logo */
}

/* Logo center */
.tq-offcanvas-logo{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom: 20px;
}

/* Search pill spacing below logo */
.tq-offcanvas-search{
  margin: 0 auto 25px auto;
  max-width: 260px;
}