/*
Theme Name: TQ Do Cu Ha Hang
Theme URI: https://tuequang.com
Author: Tuệ Quang
Author URI: https://tuequang.com
Description: Theme WordPress nhẹ cho website Đồ Cũ Hà Hằng - thu mua đồ cũ Hà Nội. Bản 3.4 loại bỏ nút liên hệ nổi để giao diện gọn hơn.
Version: 3.4.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tq-dienlanh
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, right-sidebar, blog, blue, responsive-layout
*/

:root {
  --tq-blue: #005bbb;
  --tq-blue-700: #074a98;
  --tq-navy: #073b7a;
  --tq-cyan: #00aeef;
  --tq-soft: #eaf5ff;
  --tq-soft-2: #f5fbff;
  --tq-white: #ffffff;
  --tq-text: #334155;
  --tq-muted: #64748b;
  --tq-border: #dbeafe;
  --tq-gray: #f8fafc;
  --tq-orange: #f59e0b;
  --tq-shadow: 0 18px 45px rgba(7, 59, 122, .11);
  --tq-shadow-soft: 0 10px 28px rgba(15, 23, 42, .08);
  --tq-radius: 18px;
  --tq-radius-sm: 12px;
  --tq-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tq-text);
  font-family: "Be Vietnam Pro", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  background: var(--tq-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tq-blue); text-decoration: none; transition: .2s ease; }
a:hover { color: var(--tq-navy); }
button, input, textarea, select { font: inherit; }

.tq-container {
  width: min(var(--tq-container), calc(100% - 32px));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.tq-topbar {
  background: linear-gradient(90deg, var(--tq-navy), #0b5eb8);
  color: rgba(255,255,255,.92);
  font-size: 13px;
}
.tq-topbar .tq-container {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.tq-topbar a { color: #fff; font-weight: 700; }
.tq-topbar__right { display: flex; gap: 14px; align-items: center; white-space: nowrap; }

.tq-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(219,234,254,.8);
}
.admin-bar .tq-header { top: 32px; }
.tq-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tq-brand { display: flex; align-items: center; gap: 12px; color: var(--tq-navy); }
.tq-brand:hover { color: var(--tq-navy); }
.tq-brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #70d8ff, var(--tq-blue) 48%, var(--tq-navy));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 25px rgba(0,91,187,.23);
  font-weight: 900;
  letter-spacing: -.02em;
}
.tq-brand__name { display: block; font-size: 20px; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; }
.tq-brand__desc { display: block; color: var(--tq-muted); font-size: 12px; margin-top: 2px; }
.custom-logo-link img { max-height: 54px; width: auto; }

.tq-nav { display: flex; align-items: center; gap: 22px; }
.tq-menu,
.tq-menu ul { margin: 0; padding: 0; list-style: none; }
.tq-menu { display: flex; align-items: center; gap: 4px; }
.tq-menu > li { position: relative; padding: 8px 0; }
.tq-menu a {
  display: block;
  padding: 10px 12px;
  color: #0f2f5e;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
}
.tq-menu a:hover,
.tq-menu .current-menu-item > a,
.tq-menu .current_page_item > a { background: var(--tq-soft); color: var(--tq-blue); }
.tq-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--tq-border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--tq-shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  visibility: hidden;
  z-index: 9999;
}
.tq-menu li:hover > .sub-menu,
.tq-menu li:focus-within > .sub-menu { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
.tq-menu .sub-menu a { border-radius: 12px; white-space: nowrap; }
.tq-menu .sub-menu .sub-menu {
  top: -8px;
  left: calc(100% + 4px);
}
.tq-menu .menu-item-has-children > a {
  position: relative;
}


.tq-header__actions { display: flex; align-items: center; gap: 10px; }
.tq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--tq-blue);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(0,91,187,.24);
  cursor: pointer;
}
.tq-btn:hover { color: #fff; background: var(--tq-navy); transform: translateY(-1px); }
.tq-btn--light { background: #fff; color: var(--tq-blue); box-shadow: none; border: 1px solid rgba(255,255,255,.5); }
.tq-btn--light:hover { background: var(--tq-soft); color: var(--tq-navy); }
.tq-btn--orange { background: var(--tq-orange); box-shadow: 0 12px 24px rgba(245,158,11,.22); }
.tq-btn--ghost { background: #fff; color: var(--tq-navy); border: 1px solid var(--tq-border); box-shadow: none; }
.tq-btn--ghost:hover { color: var(--tq-blue); background: var(--tq-soft); }
.tq-menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--tq-border); background: #fff; color: var(--tq-navy); }
.tq-menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 99px; }

.tq-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: var(--tq-blue);
  background: linear-gradient(135deg, #ffffff, var(--tq-soft));
  border: 1px solid rgba(219,234,254,.95);
  box-shadow: 0 10px 22px rgba(0,91,187,.10);
}
.tq-icon svg { width: 21px; height: 21px; fill: currentColor; display: block; }

/* Hero */
.tq-hero {
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 82% 20%, rgba(0,174,239,.22), transparent 32%),
    linear-gradient(135deg, #f5fbff 0%, #eaf5ff 46%, #ffffff 100%);
}
.tq-hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -160px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(0,91,187,.08);
}
.tq-hero__inner {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 48px;
  align-items: center;
  padding: 76px 0 68px;
}
.tq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--tq-blue);
  border: 1px solid var(--tq-border);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0,91,187,.08);
}
.tq-hero h1 {
  margin: 18px 0 16px;
  color: var(--tq-navy);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.tq-hero__lead {
  max-width: 650px;
  color: #475569;
  font-size: clamp(17px, 2vw, 20px);
}
.tq-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.tq-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.tq-proof__item {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(219,234,254,.9);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 20px rgba(15,23,42,.04);
}
.tq-proof__item strong { display: block; color: var(--tq-navy); font-size: 15px; line-height: 1.25; }
.tq-proof__item span { display: block; margin-top: 3px; color: var(--tq-muted); font-size: 13px; line-height: 1.4; }
.tq-hero__visual { position: relative; }
.tq-hero-card {
  position: relative;
  border-radius: 34px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.8));
  border: 1px solid #fff;
  box-shadow: var(--tq-shadow);
}
.tq-hero-card__image {
  height: clamp(340px, 31vw, 430px);
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(0,91,187,.1), rgba(0,174,239,.12)),
    url('assets/images/hero-placeholder.svg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tq-hero-card__image img {
  width: 100%;
  height: 100%;
  display: block;
}
.tq-hero-card__image--cover img { object-fit: cover; }
.tq-hero-card__image--contain { background: linear-gradient(160deg, rgba(234,245,255,.96), rgba(255,255,255,.86)); }
.tq-hero-card__image--contain img { object-fit: contain; }
.tq-hero-card__badge {
  position: absolute;
  left: 0;
  bottom: 44px;
  transform: translateX(-28px);
  background: #fff;
  border: 1px solid var(--tq-border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--tq-shadow-soft);
  max-width: 250px;
}
.tq-hero-card__badge strong { color: var(--tq-navy); display: block; }
.tq-hero-card__badge span { color: var(--tq-muted); font-size: 13px; }

/* Sections */
.tq-section { padding: 78px 0; }
.tq-section--soft { background: var(--tq-soft-2); }
.tq-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.tq-section__label { color: var(--tq-blue); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.tq-section h2,
.tq-title {
  margin: 6px 0 0;
  color: var(--tq-navy);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.tq-section__desc { max-width: 640px; color: var(--tq-muted); margin: 10px 0 0; }

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

.tq-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--tq-border);
  border-radius: var(--tq-radius);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(15,23,42,.04);
  transition: .22s ease;
}
.tq-card:hover { transform: translateY(-4px); box-shadow: var(--tq-shadow-soft); border-color: #b9dcff; }
.tq-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--tq-blue), var(--tq-cyan));
  margin-bottom: 18px;
  font-size: 25px;
  box-shadow: 0 14px 26px rgba(0,91,187,.2);
}
.tq-card h3 { margin: 0 0 8px; color: var(--tq-navy); font-size: 20px; line-height: 1.28; letter-spacing: -.02em; }
.tq-card p { margin: 0; color: var(--tq-muted); font-size: 15px; }
.tq-card__link { display: inline-flex; margin-top: 16px; font-weight: 850; }

.tq-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.tq-card__actions .tq-btn {
  min-height: 46px;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 680px) {
  .tq-card__actions { align-items: stretch; }
  .tq-card__actions .tq-btn { width: 100%; }
}

.tq-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tq-feature__panel {
  border-radius: 30px;
  padding: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(0,174,239,.34), transparent 32%),
    linear-gradient(135deg, var(--tq-navy), var(--tq-blue));
  box-shadow: var(--tq-shadow);
}
.tq-feature__panel h2 { color: #fff; }
.tq-feature__panel p { color: rgba(255,255,255,.82); }
.tq-checklist { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tq-checklist li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.92); }
.tq-checklist li::before { content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; font-size: 13px; font-weight: 900; }
.tq-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tq-mini-card { background: #fff; border: 1px solid var(--tq-border); border-radius: 20px; padding: 22px; box-shadow: 0 10px 24px rgba(15,23,42,.04); transition: .2s ease; }
.tq-mini-card:hover { transform: translateY(-3px); border-color: #b9dcff; box-shadow: var(--tq-shadow-soft); }
.tq-mini-card .tq-icon { margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--tq-blue), var(--tq-navy)); border-color: rgba(255,255,255,.2); box-shadow: 0 12px 24px rgba(0,91,187,.18); }
.tq-mini-card strong { display: block; color: var(--tq-navy); font-size: 18px; }
.tq-mini-card span:not(.tq-icon) { display: block; color: var(--tq-muted); margin-top: 5px; font-size: 14px; }

.tq-process { counter-reset: step; }
.tq-step { padding-left: 24px; }
.tq-step::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tq-blue);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 12px 22px rgba(0,91,187,.2);
}


/* Page cards */
.tq-page-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tq-border);
  border-radius: var(--tq-radius);
  box-shadow: 0 12px 28px rgba(15,23,42,.04);
  transition: .22s ease;
}
.tq-page-card:hover { transform: translateY(-4px); box-shadow: var(--tq-shadow-soft); border-color: #b9dcff; }
.tq-page-card__thumb { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--tq-soft), #fff); overflow: hidden; display: block; }
.tq-page-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: .25s ease; }
.tq-page-card:hover .tq-page-card__thumb img { transform: scale(1.04); }
.tq-page-card__fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--tq-blue); font-weight: 900; background: linear-gradient(135deg, #eaf5ff, #ffffff); padding: 20px; text-align: center; }
.tq-page-card__body { padding: 20px; }
.tq-page-card h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.tq-page-card h3 a { color: var(--tq-navy); }
.tq-page-card h3 a:hover { color: var(--tq-blue); }
.tq-page-card p { color: var(--tq-muted); margin: 0; font-size: 14px; }
.tq-page-card__more { display: inline-flex; margin-top: 14px; font-weight: 850; }
.tq-empty-note {
  width: 100%;
  padding: 22px;
  border: 1px dashed #b9dcff;
  border-radius: 18px;
  background: #fff;
  color: var(--tq-muted);
}

/* Post cards */
.tq-post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tq-border);
  border-radius: var(--tq-radius);
  box-shadow: 0 12px 28px rgba(15,23,42,.04);
  transition: .22s ease;
}
.tq-post-card:hover { transform: translateY(-4px); box-shadow: var(--tq-shadow-soft); }
.tq-post-card__thumb { position: relative; display: block; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--tq-soft), #fff); overflow: hidden; }
.tq-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: .25s ease; }
.tq-post-card:hover .tq-post-card__thumb img { transform: scale(1.04); }
.tq-post-card__fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--tq-blue); font-weight: 900; background: linear-gradient(135deg, #eaf5ff, #ffffff); }
.tq-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--tq-soft);
  color: var(--tq-blue);
  font-size: 12px;
  font-weight: 850;
}
.tq-post-card__badge { position: absolute; left: 14px; top: 14px; background: #fff; box-shadow: 0 8px 18px rgba(15,23,42,.12); }
.tq-post-card__body { padding: 20px; }
.tq-post-card__meta { display: flex; gap: 8px; flex-wrap: wrap; color: var(--tq-muted); font-size: 13px; margin-bottom: 8px; }
.tq-post-card h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.tq-post-card h3 a { color: var(--tq-navy); }
.tq-post-card h3 a:hover { color: var(--tq-blue); }
.tq-post-card p { color: var(--tq-muted); margin: 0; font-size: 14px; }
.tq-post-card__more { display: inline-flex; margin-top: 14px; font-weight: 850; }

.tq-post-list { display: grid; gap: 18px; }
.tq-list-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 12px;
}
.tq-list-card .tq-post-card__thumb { aspect-ratio: auto; border-radius: 14px; min-height: 160px; }
.tq-list-card .tq-post-card__body { padding: 8px 8px 8px 0; }

/* Layouts */
.tq-page-title {
  padding: 54px 0;
  background: linear-gradient(135deg, var(--tq-soft), #fff);
  border-bottom: 1px solid var(--tq-border);
}
.tq-page-title h1 { margin: 0; color: var(--tq-navy); font-size: clamp(34px, 4vw, 52px); line-height: 1.15; letter-spacing: -.04em; }
.tq-breadcrumb { color: var(--tq-muted); font-size: 14px; margin-bottom: 10px; }
.tq-breadcrumb a { font-weight: 750; }
.tq-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}
.tq-main { min-width: 0; }
.tq-sidebar { position: sticky; top: 110px; display: grid; gap: 18px; }
.admin-bar .tq-sidebar { top: 142px; }
.tq-widget {
  background: #fff;
  border: 1px solid var(--tq-border);
  border-radius: var(--tq-radius);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
}
.tq-widget h2,
.tq-widget h3 { margin: 0 0 14px; color: var(--tq-navy); font-size: 19px; line-height: 1.3; }
.tq-widget ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.tq-widget li { border-bottom: 1px solid #edf5ff; padding-bottom: 9px; }
.tq-widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.tq-widget a { font-weight: 750; color: #16406f; }
.tq-widget a:hover { color: var(--tq-blue); }
.tq-widget--cta {
  color: #fff;
  background: linear-gradient(135deg, var(--tq-navy), var(--tq-blue));
  border-color: transparent;
}
.tq-widget--cta h3 { color: #fff; }
.tq-widget--cta p { color: rgba(255,255,255,.82); }
.search-form { display: flex; gap: 8px; }
.search-field {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--tq-border);
  border-radius: 999px;
  padding: 10px 14px;
  outline: 0;
}
.search-field:focus { border-color: var(--tq-blue); box-shadow: 0 0 0 4px rgba(0,91,187,.08); }
.search-submit { border: 0; border-radius: 999px; background: var(--tq-blue); color: #fff; padding: 0 15px; font-weight: 850; cursor: pointer; }

/* Article */
.tq-article {
  background: #fff;
  border: 1px solid var(--tq-border);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 10px 26px rgba(15,23,42,.04);
}
.tq-article__meta { color: var(--tq-muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tq-article__thumb { margin: 0 0 24px; border-radius: 20px; overflow: hidden; }
.tq-article__content h2,
.tq-article__content h3,
.tq-article__content h4 { color: var(--tq-navy); letter-spacing: -.02em; line-height: 1.3; margin: 1.6em 0 .6em; }
.tq-article__content p { margin: 0 0 1.1em; }
.tq-article__content ul,
.tq-article__content ol { padding-left: 1.4em; }
.tq-article__content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--tq-blue);
  background: var(--tq-soft-2);
  border-radius: 0 16px 16px 0;
  color: var(--tq-navy);
}
.tq-article__content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.tq-article__content th,
.tq-article__content td { border: 1px solid var(--tq-border); padding: 10px; text-align: left; }
.tq-article__content th { background: var(--tq-soft); color: var(--tq-navy); }
.tq-article-cta {
  margin: 30px 0;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--tq-soft), #fff);
  border: 1px solid var(--tq-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.tq-article-cta strong { display: block; color: var(--tq-navy); font-size: 20px; }
.tq-article-cta span { color: var(--tq-muted); }
.tq-pagination { margin-top: 30px; display: flex; justify-content: center; }
.tq-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.tq-pagination a,
.tq-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--tq-border);
  background: #fff;
  color: var(--tq-navy);
  font-weight: 800;
}
.tq-pagination .current { background: var(--tq-blue); color: #fff; border-color: var(--tq-blue); }

/* CTA / Footer */
.tq-final-cta {
  padding: 58px 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(0,174,239,.3), transparent 28%),
    linear-gradient(135deg, var(--tq-navy), var(--tq-blue));
  color: #fff;
}
.tq-final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tq-final-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.2; }
.tq-final-cta p { margin: 0; color: rgba(255,255,255,.82); max-width: 720px; }
.tq-final-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.tq-footer {
  background: #052e63;
  color: rgba(255,255,255,.78);
  padding: 56px 0 24px;
}
.tq-footer a { color: rgba(255,255,255,.88); }
.tq-footer a:hover { color: #fff; }
.tq-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.tq-footer h3 { margin: 0 0 14px; color: #fff; font-size: 18px; }
.tq-footer p { margin: 0; }
.tq-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tq-footer-contact { gap: 12px; }
.tq-footer-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.tq-footer-contact .tq-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 11px; color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); box-shadow: none; }
.tq-footer-contact .tq-icon svg { width: 17px; height: 17px; }
.tq-footer__bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

.tq-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 998;
  display: grid;
  gap: 10px;
}
.tq-floating a {
  min-width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
  box-shadow: var(--tq-shadow-soft);
  padding: 0 16px;
}
.tq-floating__phone { background: var(--tq-orange); }
.tq-floating__zalo { background: var(--tq-blue); }
.tq-mobile-contact { display: none; }

/* WP alignment */
.alignwide { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--tq-muted); font-size: 14px; margin-top: 8px; }
.gallery { display: grid; gap: 12px; }



/* v1.4 - News cards and configurable grids */
.tq-news-grid { align-items: stretch; }
.tq-news-grid .tq-post-card { height: 100%; display: flex; flex-direction: column; }
.tq-news-grid .tq-post-card__thumb { aspect-ratio: 16/9; }
.tq-news-grid .tq-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.tq-news-grid .tq-post-card__meta { margin-bottom: 7px; }
.tq-news-grid .tq-post-card h3 { font-size: 18px; margin-bottom: 8px; }
.tq-news-grid .tq-post-card__more { margin-top: auto; padding-top: 12px; }
.tq-news-grid .tq-post-card:not(.has-excerpt) .tq-post-card__more { padding-top: 2px; }
.tq-news-grid--home .tq-post-card__thumb { max-height: 220px; }
.tq-news-grid--archive .tq-post-card__thumb { max-height: 210px; }
.tq-news-grid--archive .tq-post-card__badge { display: none; }
.tq-news-grid--archive .tq-post-card__body { padding: 16px; }
.tq-news-grid--archive .tq-post-card h3 { font-size: 17px; }
.tq-news-grid--archive .tq-post-card p { font-size: 13.5px; }
@media (max-width: 900px) {
  .tq-news-grid--archive.tq-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .tq-news-grid .tq-post-card__thumb { max-height: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .tq-header__actions .tq-btn { display: none; }
  .tq-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tq-hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .tq-hero__visual { max-width: 620px; }
  .tq-content-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
}
@media (max-width: 900px) {
  .admin-bar .tq-header { top: 46px; }
  .tq-topbar .tq-container { justify-content: center; text-align: center; flex-wrap: wrap; padding: 8px 0; }
  .tq-topbar__right { display: none; }
  .tq-menu-toggle { display: inline-block; }
  .tq-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--tq-border);
    padding: 14px 16px 20px;
    display: none;
    box-shadow: var(--tq-shadow-soft);
  }
  .tq-nav.is-open { display: block; }
  .tq-menu { display: grid; gap: 4px; }
  .tq-menu > li { padding: 0; }
  .tq-menu a { border-radius: 12px; }
  .tq-menu .sub-menu { position: static; opacity: 1; pointer-events: auto; transform: none; visibility: visible; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 16px; display: block; }
  .tq-menu .sub-menu .sub-menu { top: auto; left: auto; }
  .tq-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tq-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tq-feature { grid-template-columns: 1fr; }
  .tq-content-layout { grid-template-columns: 1fr; }
  .tq-sidebar { position: static; }
  .tq-final-cta__inner { align-items: flex-start; flex-direction: column; }
  .tq-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .tq-container { width: min(var(--tq-container), calc(100% - 24px)); }
  .tq-header__inner { min-height: 68px; }
  .tq-brand__name { font-size: 17px; }
  .tq-brand__desc { display: none; }
  .tq-brand__mark { width: 42px; height: 42px; }
  .tq-hero__inner { padding: 46px 0 48px; gap: 28px; }
  .tq-hero-card { padding: 12px; border-radius: 24px; }
  .tq-hero-card__image { height: 280px; border-radius: 18px; }
  .tq-hero-card__badge { position: static; transform: none; margin-top: 12px; max-width: none; }
  .tq-proof,
  .tq-grid--4,
  .tq-grid--3,
  .tq-grid--2,
  .tq-mini-grid { grid-template-columns: 1fr; }
  .tq-section { padding: 54px 0; }
  .tq-section__head { align-items: flex-start; flex-direction: column; }
  .tq-list-card { grid-template-columns: 1fr; padding: 0; }
  .tq-list-card .tq-post-card__thumb { min-height: 210px; border-radius: 0; }
  .tq-list-card .tq-post-card__body { padding: 20px; }
  .tq-article { border-radius: 18px; }
  .tq-article-cta { flex-direction: column; align-items: flex-start; }
  .tq-footer__grid { grid-template-columns: 1fr; }
  .tq-floating { display: none; }
  .tq-mobile-contact { display: none !important; }
}

/* v1.3 - Cleaner homepage service cards */
.tq-service-grid { gap: 16px; }
.tq-service-card {
  overflow: visible;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 8px 22px rgba(15,23,42,.045);
}
.tq-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,23,42,.08);
  border-color: #b9dcff;
}
.tq-service-card__link {
  min-height: 126px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: var(--tq-navy);
}
.tq-service-card__link:hover { color: var(--tq-navy); }
.tq-service-card__media {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf5ff, #ffffff);
  border: 1px solid #dbeafe;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75);
}
.tq-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}
.tq-service-card__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  color: var(--tq-blue);
}
.tq-service-card__content {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.tq-service-card__meta {
  color: var(--tq-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tq-service-card__title {
  display: block;
  color: var(--tq-navy);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -.02em;
}
.tq-service-card__more {
  display: inline-flex;
  margin-top: 2px;
  color: var(--tq-blue);
  font-size: 13px;
  font-weight: 850;
}
@media (max-width: 680px) {
  .tq-service-card__link { min-height: 108px; padding: 14px; }
  .tq-service-card__media { width: 66px; height: 66px; flex-basis: 66px; border-radius: 16px; }
  .tq-service-card__title { font-size: 16px; }
}

/* v1.5 - Mobile proof icons and horizontal process cards */
.tq-proof__item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tq-proof__item .tq-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--tq-blue), var(--tq-navy));
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 10px 20px rgba(0,91,187,.14);
}
.tq-proof__item .tq-icon svg {
  width: 22px;
  height: 22px;
}
.tq-mini-card__text {
  display: grid;
  gap: 5px;
  min-width: 0;
}

@media (max-width: 680px) {
  .tq-proof__item {
    padding: 16px;
    gap: 14px;
  }
  .tq-proof__item .tq-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 16px;
  }
  .tq-proof__item .tq-icon svg {
    width: 25px;
    height: 25px;
  }
  .tq-proof__item strong {
    font-size: 16px;
  }
  .tq-proof__item span {
    font-size: 14px;
  }
  .tq-mini-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    min-height: 132px;
  }
  .tq-mini-card .tq-icon {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    margin: 0;
    border-radius: 22px;
  }
  .tq-mini-card .tq-icon svg {
    width: 35px;
    height: 35px;
  }
  .tq-mini-card strong {
    font-size: 21px;
    line-height: 1.25;
  }
  .tq-mini-card span:not(.tq-icon) {
    margin-top: 0;
    font-size: 15px;
    line-height: 1.5;
  }
}


/* v1.6 - Remove mobile bottom contact bar and refine mobile icons */
.tq-mobile-contact { display: none !important; }

@media (max-width: 680px) {
  body { padding-bottom: 0; }
  .tq-proof__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    min-height: 116px;
  }
  .tq-proof__item .tq-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 20px;
    align-self: center;
  }
  .tq-proof__item .tq-icon svg {
    width: 32px;
    height: 32px;
  }
  .tq-proof__item strong {
    font-size: 17px;
    line-height: 1.28;
  }
  .tq-proof__item span {
    font-size: 14px;
    line-height: 1.45;
  }
  .tq-mini-card {
    align-items: center;
    gap: 20px;
  }
  .tq-mini-card .tq-icon {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
    border-radius: 24px;
    align-self: center;
  }
  .tq-mini-card .tq-icon svg {
    width: 38px;
    height: 38px;
  }
}

/* v1.7 - Desktop proof cards without icons and refined search UI */
@media (min-width: 681px) {
  .tq-proof__item {
    display: block;
    padding: 18px 16px;
  }
  .tq-proof__item .tq-icon {
    display: none !important;
  }
  .tq-proof__item strong {
    font-size: 16px;
    line-height: 1.32;
  }
  .tq-proof__item span {
    font-size: 13.5px;
    line-height: 1.45;
  }
}

.search-form,
.tq-widget .wp-block-search {
  margin: 0;
}

.search-form,
.tq-widget .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--tq-border);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, var(--tq-soft-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 24px rgba(15,23,42,.04);
}

.tq-widget .wp-block-search__label {
  display: none;
}

.search-field,
.tq-widget .wp-block-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent;
  color: var(--tq-navy);
  padding: 0 14px;
  outline: 0;
  box-shadow: none !important;
}

.search-field::placeholder,
.tq-widget .wp-block-search__input::placeholder {
  color: #8aa0bc;
}

.search-form:focus-within,
.tq-widget .wp-block-search__inside-wrapper:focus-within {
  border-color: rgba(0,91,187,.45);
  box-shadow: 0 0 0 4px rgba(0,91,187,.08), 0 12px 26px rgba(15,23,42,.06);
}

.search-submit,
.tq-widget .wp-block-search__button {
  flex: 0 0 auto;
  min-height: 42px;
  margin: 0;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tq-blue), var(--tq-navy)) !important;
  color: #fff !important;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,91,187,.18);
}

.search-submit:hover,
.tq-widget .wp-block-search__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0,91,187,.22);
}

@media (max-width: 420px) {
  .search-form,
  .tq-widget .wp-block-search__inside-wrapper {
    gap: 6px;
    padding: 5px;
  }
  .search-field,
  .tq-widget .wp-block-search__input {
    padding: 0 10px;
  }
  .search-submit,
  .tq-widget .wp-block-search__button {
    padding: 0 13px;
    font-size: 13px;
  }
}

/* v1.9 - Child page grid on parent pages */
.tq-child-pages {
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--tq-border);
}
.tq-child-pages__head {
  margin-bottom: 22px;
}
.tq-child-pages__head h2 {
  margin: 6px 0 0;
  color: var(--tq-navy);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.tq-child-pages__grid {
  align-items: stretch;
}
.tq-child-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tq-border);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(15,23,42,.045);
  transition: .22s ease;
  display: flex;
  flex-direction: column;
}
.tq-child-card:hover {
  transform: translateY(-4px);
  border-color: #b9dcff;
  box-shadow: var(--tq-shadow-soft);
}
.tq-child-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--tq-soft), #ffffff);
}
.tq-child-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .25s ease;
}
.tq-child-card:hover .tq-child-card__thumb img {
  transform: scale(1.04);
}
.tq-child-card__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--tq-blue);
  font-size: 44px;
  font-weight: 900;
  background: radial-gradient(circle at 80% 20%, rgba(0,174,239,.14), transparent 30%), linear-gradient(135deg, #eaf5ff, #fff);
}
.tq-child-card__body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.tq-child-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.tq-child-card h3 a {
  color: var(--tq-navy);
}
.tq-child-card h3 a:hover {
  color: var(--tq-blue);
}
.tq-child-card p {
  margin: 0 0 14px;
  color: var(--tq-muted);
  font-size: 14px;
  line-height: 1.65;
}
.tq-child-card__more {
  margin-top: auto;
  color: var(--tq-blue);
  font-weight: 850;
}
.tq-child-card:not(.has-excerpt) .tq-child-card__more {
  padding-top: 4px;
}
@media (max-width: 680px) {
  .tq-child-pages__head h2 { font-size: 24px; }
  .tq-child-card__body { padding: 16px; }
  .tq-child-card h3 { font-size: 18px; }
}

/* v2.4 - Local service/classic style inspired by Vietnamese thu mua websites */
:root {
  --tq-red: #df2d26;
  --tq-red-dark: #b91c1c;
  --tq-yellow: #ffb11a;
}

.tq-topbar {
  background: #d8d8d8;
  color: #2f3a45;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.tq-topbar .tq-container {
  min-height: 30px;
  justify-content: center;
  gap: 22px;
}
.tq-topbar a { color: #0f3b75; }
.tq-topbar__right { color: #334155; }

.tq-header {
  background: #fff;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: 0 2px 12px rgba(15,23,42,.05);
}
.tq-header__inner {
  min-height: 92px;
  gap: 22px;
}
.tq-header__brand {
  flex: 0 0 auto;
  min-width: 230px;
}
.custom-logo-link img {
  max-height: 70px;
  max-width: 260px;
  object-fit: contain;
}
.tq-brand__mark {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}
.tq-brand__name { font-size: 22px; }
.tq-brand__desc { font-size: 13px; }

.tq-header__search {
  flex: 1 1 460px;
  max-width: 560px;
}
.tq-header__search .search-form {
  border-radius: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #cfd8e3;
  box-shadow: none;
  gap: 0;
}
.tq-header__search .search-field {
  min-height: 42px;
  border-radius: 0;
  padding: 0 14px;
  font-size: 14px;
}
.tq-header__search .search-submit {
  min-height: 42px;
  border-radius: 0;
  padding: 0 24px;
  background: var(--tq-red) !important;
  box-shadow: none;
  color: #fff !important;
}
.tq-header__search .search-submit:hover {
  transform: none;
  background: var(--tq-red-dark) !important;
  box-shadow: none;
}
.tq-header__search-hint {
  margin-top: 5px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

.tq-header__navrow {
  background: linear-gradient(90deg, var(--tq-red), #e93a31);
  border-top: 1px solid rgba(255,255,255,.22);
}
.tq-header__navinner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tq-nav {
  width: 100%;
  justify-content: center;
}
.tq-menu {
  justify-content: center;
  gap: 0;
}
.tq-menu > li { padding: 0; }
.tq-menu > li > a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-radius: 0;
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.tq-menu > li > a:hover,
.tq-menu > .current-menu-item > a,
.tq-menu > .current_page_item > a,
.tq-menu > .current-menu-ancestor > a {
  background: rgba(0,0,0,.12);
  color: #fff;
}
.tq-menu .sub-menu {
  top: 100%;
  border-radius: 0 0 14px 14px;
  border-color: rgba(15,23,42,.09);
  padding: 8px;
}
.tq-menu .sub-menu a {
  color: #0f2f5e;
  border-radius: 8px;
  text-transform: none;
  font-size: 15px;
}
.tq-menu .sub-menu a:hover { background: #fff2f2; color: var(--tq-red-dark); }
.tq-header__actions .tq-btn--orange {
  background: #ff3b30;
  box-shadow: 0 10px 22px rgba(223,45,38,.18);
}

.tq-hero {
  background: #fff;
  border-bottom: 1px solid #e5effa;
}
.tq-hero::before { display: none; }
.tq-hero__inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: stretch;
  padding: 24px 0 36px;
}
.tq-hero__visual {
  order: 1;
  width: 100%;
  max-width: none;
}
.tq-hero__content {
  order: 2;
  width: 100%;
  text-align: center;
}
.tq-eyebrow {
  border-radius: 3px;
  color: #fff;
  background: var(--tq-red);
  border: 0;
  box-shadow: none;
  text-transform: uppercase;
}
.tq-hero h1 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.035em;
}
.tq-hero__lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}
.tq-hero__actions {
  justify-content: center;
  margin: 24px 0 0;
}
.tq-hero-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.tq-hero-card__image,
.tq-hero-card__image--contain,
.tq-hero-card__image--cover {
  height: auto;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: #eaf5ff;
  display: block;
  box-shadow: 0 10px 28px rgba(15,23,42,.07);
}
.tq-hero-card__image img,
.tq-hero-card__image--cover img,
.tq-hero-card__image--contain img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.tq-hero-card__badge { display: none; }
.tq-proof {
  max-width: 1040px;
  margin: 26px auto 0;
}
.tq-proof__item {
  border-radius: 6px;
  border-color: #e5e7eb;
  text-align: center;
  background: #fff;
}

.tq-section {
  padding: 56px 0;
}
.tq-section--soft { background: #fbfdff; }
.tq-section__head {
  display: block;
  text-align: center;
  margin-bottom: 34px;
}
.tq-section__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 22px;
  color: #fff;
  background: var(--tq-red);
  border-radius: 4px 4px 0 0;
  letter-spacing: 0;
  font-size: 14px;
  text-transform: uppercase;
}
.tq-section h2,
.tq-title {
  margin-top: 12px;
  font-size: clamp(28px, 3vw, 38px);
}
.tq-section__desc {
  margin: 9px auto 0;
  max-width: 760px;
}
.tq-section__head > .tq-btn {
  margin-top: 18px;
}

.tq-service-grid {
  gap: 26px 22px;
}
.tq-service-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  overflow: visible;
}
.tq-service-card:hover {
  transform: none;
  box-shadow: none;
}
.tq-service-card__link {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  text-align: center;
}
.tq-service-card__media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  flex: initial;
  border-radius: 0;
  border: 0;
  background: #eef7ff;
  box-shadow: none;
}
.tq-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tq-service-card__content {
  padding: 0 6px 4px;
  gap: 6px;
}
.tq-service-card__meta,
.tq-service-card__more { display: none; }
.tq-service-card__title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
  color: #334155;
}
.tq-service-card__title::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin: 14px auto 0;
  background: #e5e7eb;
  border-radius: 99px;
}
.tq-service-card__fallback { background: #eef7ff; color: var(--tq-blue); }

.tq-post-card {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  text-align: center;
}
.tq-news-grid .tq-post-card__thumb {
  border-radius: 0;
}
.tq-news-grid .tq-post-card__body {
  padding: 14px 6px 0;
}
.tq-news-grid .tq-post-card h3 {
  color: #334155;
  font-size: 17px;
}
.tq-news-grid .tq-post-card h3 a { color: #334155; }
.tq-news-grid .tq-post-card h3 a:hover { color: var(--tq-red-dark); }
.tq-news-grid .tq-post-card__more { color: var(--tq-red); }
.tq-post-card__badge { display: none; }

.tq-feature__panel {
  background: linear-gradient(135deg, var(--tq-red), #f25345);
}
.tq-final-cta,
.tq-footer {
  background: #162033;
}

@media (min-width: 1081px) {
  .tq-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .tq-header__search { display: none; }
  .tq-header__brand { min-width: 0; }
  .tq-header__inner { min-height: 74px; }
}

@media (max-width: 900px) {
  .tq-header__navrow {
    background: transparent;
    border: 0;
  }
  .tq-header__navinner {
    min-height: 0;
    display: block;
  }
  .tq-nav {
    background: #fff;
    border-bottom: 1px solid var(--tq-border);
    box-shadow: var(--tq-shadow-soft);
  }
  .tq-menu > li > a {
    min-height: auto;
    color: #0f2f5e;
    border-radius: 10px;
    padding: 11px 12px;
    text-transform: none;
    font-size: 16px;
  }
  .tq-menu > li > a:hover,
  .tq-menu > .current-menu-item > a,
  .tq-menu > .current_page_item > a,
  .tq-menu > .current-menu-ancestor > a {
    background: var(--tq-soft);
    color: var(--tq-blue);
  }
  .tq-menu .sub-menu a:hover { background: var(--tq-soft); color: var(--tq-blue); }
}

@media (max-width: 680px) {
  .tq-topbar { font-size: 13px; line-height: 1.4; }
  .tq-header__inner { min-height: 68px; }
  .custom-logo-link img { max-height: 58px; max-width: 220px; }
  .tq-hero__inner { padding: 16px 0 32px; }
  .tq-hero h1 { font-size: 30px; }
  .tq-hero__lead { font-size: 16px; }
  .tq-service-grid.tq-grid--4,
  .tq-service-grid.tq-grid--3,
  .tq-news-grid.tq-grid--3,
  .tq-news-grid.tq-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
  .tq-service-card__title,
  .tq-news-grid .tq-post-card h3 {
    font-size: 15px;
  }
  .tq-proof { grid-template-columns: 1fr; }
}


/* v2.5 - Refined news cards for homepage and blog/archive pages */
.tq-news-grid {
  gap: 30px 26px;
}

.tq-news-grid .tq-post-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e4edf8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tq-news-grid .tq-post-card:hover {
  transform: translateY(-4px);
  border-color: #c7dff7;
  box-shadow: 0 18px 40px rgba(15,23,42,.11);
}

.tq-news-grid .tq-post-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  max-height: none !important;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #eef7ff;
}

.tq-news-grid .tq-post-card__thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(7,59,122,.22));
  pointer-events: none;
}

.tq-news-grid .tq-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.tq-news-grid .tq-post-card:hover .tq-post-card__thumb img {
  transform: scale(1.045);
}

.tq-news-grid .tq-post-card__badge {
  display: inline-flex !important;
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--tq-red);
  color: #fff;
  box-shadow: 0 8px 18px rgba(223,45,38,.22);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.tq-news-grid .tq-post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 245px;
  padding: 18px 20px 20px;
}

.tq-news-grid .tq-post-card__meta {
  margin: 0 0 9px;
  color: #7b8797;
  font-size: 13px;
  font-weight: 650;
}

.tq-news-grid .tq-post-card h3 {
  margin: 0 0 10px;
  color: #142f55;
  font-size: 19px;
  line-height: 1.38;
  letter-spacing: -.02em;
  text-align: left;
}

.tq-news-grid .tq-post-card h3 a {
  color: #142f55;
}

.tq-news-grid .tq-post-card h3 a:hover {
  color: var(--tq-red-dark);
}

.tq-news-grid .tq-post-card__excerpt {
  margin: 0;
  color: #66758a;
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tq-news-grid .tq-post-card__more {
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  color: var(--tq-red);
  font-size: 14px;
  font-weight: 900;
  text-align: left;
}

.tq-news-grid .tq-post-card__more:hover {
  color: var(--tq-red-dark);
  transform: translateX(2px);
}

.tq-news-grid .tq-post-card__fallback {
  min-height: 100%;
  color: var(--tq-navy);
  background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.tq-news-grid:not(.tq-news-grid--archive) .tq-post-card__body {
  min-height: 235px;
}

.tq-news-grid--archive {
  gap: 26px;
}

.tq-news-grid--archive .tq-post-card__body {
  min-height: 230px;
}

.tq-news-grid .tq-post-card:not(.has-excerpt) .tq-post-card__body {
  min-height: 170px;
}

.tq-news-grid .tq-post-card:not(.has-excerpt) .tq-post-card__more {
  padding-top: 12px;
}

@media (min-width: 901px) {
  .tq-news-grid--home.tq-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tq-news-grid--archive.tq-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tq-news-grid--archive.tq-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 680px) {
  .tq-news-grid.tq-grid--3,
  .tq-news-grid.tq-grid--2,
  .tq-news-grid--archive.tq-grid--3,
  .tq-news-grid--archive.tq-grid--2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .tq-news-grid .tq-post-card__body,
  .tq-news-grid--archive .tq-post-card__body {
    min-height: 0;
    padding: 16px 16px 18px;
  }
  .tq-news-grid .tq-post-card h3 {
    font-size: 18px;
  }
  .tq-news-grid .tq-post-card__thumb {
    aspect-ratio: 16 / 9;
  }
}


/* v2.6 - Related posts: 2 columns x 2 rows, cleaner cards */
.tq-related-head {
  margin-top: 42px;
  margin-bottom: 18px;
  text-align: left;
}

.tq-related-head .tq-section-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fee2e2;
  color: var(--tq-red, #df2d26);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tq-related-head h2 {
  margin: 0;
  color: var(--tq-navy);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.tq-related-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 0;
}

.tq-related-posts .tq-post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e4edf8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tq-related-posts .tq-post-card:hover {
  transform: translateY(-3px);
  border-color: #c7dff7;
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
}

.tq-related-posts .tq-post-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #eef7ff;
}

.tq-related-posts .tq-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.tq-related-posts .tq-post-card:hover .tq-post-card__thumb img {
  transform: scale(1.045);
}

.tq-related-posts .tq-post-card__badge {
  display: inline-flex !important;
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-height: 26px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tq-red, #df2d26);
  color: #fff;
  box-shadow: 0 8px 18px rgba(223,45,38,.22);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.tq-related-posts .tq-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
  min-height: 0;
}

.tq-related-posts .tq-post-card__meta {
  margin: 0 0 8px;
  color: #7b8797;
  font-size: 13px;
  font-weight: 650;
}

.tq-related-posts .tq-post-card h3 {
  margin: 0 0 9px;
  color: #142f55;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.02em;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tq-related-posts .tq-post-card h3 a { color: #142f55; }
.tq-related-posts .tq-post-card h3 a:hover { color: var(--tq-red-dark, #c9231d); }

.tq-related-posts .tq-post-card__excerpt {
  margin: 0;
  color: #66758a;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tq-related-posts .tq-post-card__more {
  width: fit-content;
  margin-top: auto;
  padding-top: 14px;
  color: var(--tq-red, #df2d26);
  font-size: 14px;
  font-weight: 900;
  text-align: left;
}

.tq-related-posts .tq-post-card__more:hover {
  color: var(--tq-red-dark, #c9231d);
  transform: translateX(2px);
}

@media (max-width: 760px) {
  .tq-related-head { margin-top: 32px; }
  .tq-related-posts { grid-template-columns: 1fr; gap: 18px; }
  .tq-related-posts .tq-post-card__body { padding: 15px 16px 17px; }
  .tq-related-posts .tq-post-card h3 { font-size: 18px; -webkit-line-clamp: 2; }
}


/* v2.7 - Homepage Builder: slider, configurable news and child page sections */
.tq-home-slider {
  background: #f5fbff;
  border-bottom: 1px solid #e5effb;
  overflow: hidden;
}
.tq-home-slider--boxed {
  padding: 24px 0 10px;
}
.tq-home-slider__full {
  width: 100%;
}
.tq-home-slider--boxed .tq-home-slider__viewport {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
}
.tq-home-slider__viewport {
  position: relative;
  width: 100%;
  background: #eaf5ff;
}
.tq-home-slider__slide {
  display: none;
  width: 100%;
  line-height: 0;
}
.tq-home-slider__slide.is-active {
  display: block;
}
.tq-home-slider__slide a {
  display: block;
  line-height: 0;
}
.tq-home-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}
.tq-home-slider--full .tq-home-slider__slide img {
  width: 100%;
}
.tq-home-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--tq-navy);
  box-shadow: 0 8px 22px rgba(15,23,42,.18);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.tq-home-slider__nav:hover {
  background: #fff;
  color: var(--tq-red);
}
.tq-home-slider__nav--prev { left: 18px; }
.tq-home-slider__nav--next { right: 18px; }
.tq-home-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.tq-home-slider__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(15,23,42,.16);
}
.tq-home-slider__dots button.is-active {
  width: 28px;
  background: var(--tq-red);
}
.tq-builder-page-grid {
  gap: 26px;
}
.tq-builder-page-card {
  height: 100%;
}
.tq-builder-page-card .tq-page-card__body {
  display: flex;
  flex-direction: column;
  min-height: 150px;
}
.tq-builder-page-card .tq-page-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}
.tq-builder-page-card .tq-page-card__more {
  margin-top: auto;
  padding-top: 14px;
  color: var(--tq-red);
}
.tq-builder-page-card .tq-page-card__more:hover {
  color: var(--tq-red-dark);
}
@media (min-width: 901px) {
  .tq-news-grid--home.tq-grid--4,
  .tq-builder-page-grid.tq-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tq-builder-page-grid.tq-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .tq-news-grid--home.tq-grid--4,
  .tq-news-grid--home.tq-grid--3,
  .tq-builder-page-grid.tq-grid--4,
  .tq-builder-page-grid.tq-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .tq-home-slider--boxed {
    padding: 14px 0 0;
  }
  .tq-home-slider--boxed .tq-home-slider__viewport {
    border-radius: 14px;
  }
  .tq-home-slider__nav {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }
  .tq-home-slider__nav--prev { left: 10px; }
  .tq-home-slider__nav--next { right: 10px; }
  .tq-home-slider__dots { bottom: 10px; }
  .tq-home-slider__dots button { width: 9px; height: 9px; }
  .tq-home-slider__dots button.is-active { width: 22px; }
  .tq-news-grid--home.tq-grid--4,
  .tq-news-grid--home.tq-grid--3,
  .tq-builder-page-grid.tq-grid--4,
  .tq-builder-page-grid.tq-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* v2.8 - Professional Homepage Builder front-end polish */
.tq-home-slider--pro .tq-home-slider__viewport {
  max-height: var(--tq-slider-height, 420px);
  overflow: hidden;
}
.tq-home-slider--pro .tq-home-slider__slide,
.tq-home-slider--pro .tq-home-slider__slide a {
  height: var(--tq-slider-height, 420px);
}
.tq-home-slider--pro .tq-home-slider__slide img {
  width: 100%;
  height: 100%;
  display: block;
}
.tq-home-slider--fit-contain .tq-home-slider__slide img {
  object-fit: contain;
  background: #f5fbff;
}
.tq-home-slider--fit-cover .tq-home-slider__slide img {
  object-fit: cover;
}
.tq-home-slider--pro.tq-home-slider--boxed {
  padding: 26px 0 14px;
}
.tq-home-slider--pro.tq-home-slider--boxed .tq-home-slider__viewport {
  border: 1px solid var(--tq-border);
  border-radius: 22px;
}
.tq-home-gallery {
  gap: 22px;
}
.tq-home-gallery figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tq-border);
  box-shadow: var(--tq-shadow-soft);
  aspect-ratio: 16 / 10;
}
.tq-home-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.tq-home-gallery figure:hover img {
  transform: scale(1.04);
}
@media (max-width: 760px) {
  .tq-home-slider--pro .tq-home-slider__viewport,
  .tq-home-slider--pro .tq-home-slider__slide,
  .tq-home-slider--pro .tq-home-slider__slide a {
    height: auto;
    max-height: none;
  }
  .tq-home-slider--pro .tq-home-slider__slide img {
    height: auto;
  }
}

/* v2.9 - Smart section Homepage Builder */
.tq-grid--1 { grid-template-columns: 1fr; }
.tq-home-slider-section { background: #f5fbff; border-bottom: 1px solid var(--tq-border); }
.tq-home-slider-wrap-full { width: 100%; }
.tq-home-slider--full { padding: 0; }
.tq-home-slider--full .tq-home-slider__viewport { border-radius: 0; }
.tq-home-media-section--full .tq-section__head { padding-left: var(--tq-container-pad, 24px); padding-right: var(--tq-container-pad, 24px); max-width: var(--tq-container, 1180px); margin-left: auto; margin-right: auto; }
.tq-home-media-grid { gap: 22px; }
.tq-home-media-grid figure { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--tq-border); box-shadow: var(--tq-shadow-soft); height: var(--tq-media-height, 240px); }
.tq-home-media-grid figure a { display: block; width: 100%; height: 100%; }
.tq-home-media-grid img { width: 100%; height: 100%; display: block; transition: transform .25s ease; }
.tq-home-media-grid--cover img { object-fit: cover; }
.tq-home-media-grid--contain img { object-fit: contain; background: #f5fbff; }
.tq-home-media-grid figure:hover img { transform: scale(1.035); }
.tq-home-media-section--full .tq-home-media-grid { width: 100%; }
@media (min-width: 901px) {
  .tq-news-grid--home.tq-grid--1,
  .tq-builder-page-grid.tq-grid--1,
  .tq-home-media-grid.tq-grid--1 { grid-template-columns: 1fr; }
  .tq-news-grid--home.tq-grid--2,
  .tq-builder-page-grid.tq-grid--2,
  .tq-home-media-grid.tq-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tq-home-media-grid.tq-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tq-home-media-grid.tq-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tq-home-media-grid.tq-grid--4,
  .tq-home-media-grid.tq-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .tq-home-media-grid.tq-grid--4,
  .tq-home-media-grid.tq-grid--3,
  .tq-home-media-grid.tq-grid--2 { grid-template-columns: 1fr; }
  .tq-home-media-grid figure { height: auto; aspect-ratio: 16 / 9; }
}


/* v3.2 - Premium lightweight slider effects */
.tq-home-slider--pro {
  background: transparent;
}
.tq-home-slider--pro .tq-home-slider__viewport {
  height: var(--tq-slider-height, 420px);
  max-height: none;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #eaf5ff 0%, #f8fbff 46%, #dff3ff 100%);
}
.tq-home-slider--pro .tq-home-slider__slide {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: scale(1.018);
  transition: opacity .78s ease, transform 1s cubic-bezier(.2,.78,.22,1), visibility .78s ease;
  will-change: opacity, transform;
}
.tq-home-slider--pro .tq-home-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: scale(1);
}
.tq-home-slider--pro .tq-home-slider__slide a {
  display: block;
  width: 100%;
  height: 100%;
}
.tq-home-slider--pro .tq-home-slider__slide img {
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.012);
  transition: transform 5.8s ease;
}
.tq-home-slider--pro .tq-home-slider__slide.is-active img {
  transform: scale(1.045);
}
.tq-home-slider--effect-slide .tq-home-slider__slide {
  opacity: 1;
  visibility: visible;
  transform: translateX(100%);
  transition: transform .72s cubic-bezier(.22,.9,.3,1), opacity .72s ease;
}
.tq-home-slider--effect-slide .tq-home-slider__slide.is-active {
  transform: translateX(0);
}
.tq-home-slider--effect-slide .tq-home-slider__slide.is-before {
  transform: translateX(-100%);
}
.tq-home-slider--effect-zoom .tq-home-slider__slide {
  transform: scale(1.08);
}
.tq-home-slider--effect-zoom .tq-home-slider__slide.is-active {
  transform: scale(1);
}
.tq-home-slider--effect-zoom .tq-home-slider__slide img,
.tq-home-slider--effect-slide .tq-home-slider__slide img {
  transform: none;
  transition: none;
}
.tq-home-slider__nav {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.82);
  color: var(--tq-navy);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(7,59,122,.18);
  opacity: .86;
  transition: transform .2s ease, opacity .2s ease, background .2s ease, color .2s ease;
}
.tq-home-slider__nav:hover {
  opacity: 1;
  background: #fff;
  color: var(--tq-red);
  transform: translateY(-50%) scale(1.06);
}
.tq-home-slider__nav--prev { left: 22px; }
.tq-home-slider__nav--next { right: 22px; }
.tq-home-slider__dots {
  bottom: 18px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(7,59,122,.12);
}
.tq-home-slider__dots button {
  width: 9px;
  height: 9px;
  border: 0;
  background: rgba(7,59,122,.28);
  box-shadow: none;
  transition: width .25s ease, background .25s ease;
}
.tq-home-slider__dots button.is-active {
  width: 30px;
  background: var(--tq-red);
}
.tq-home-slider__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  background: rgba(255,255,255,.28);
  overflow: hidden;
}
.tq-home-slider__progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--tq-red), var(--tq-orange));
}
.tq-home-slider.is-playing .tq-home-slider__progress span {
  animation: tqSliderProgress var(--tq-slider-duration, 5600ms) linear forwards;
}
.tq-home-slider.is-paused .tq-home-slider__progress span {
  animation-play-state: paused;
}
@keyframes tqSliderProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (max-width: 760px) {
  .tq-home-slider--pro .tq-home-slider__viewport,
  .tq-home-slider--pro .tq-home-slider__slide,
  .tq-home-slider--pro .tq-home-slider__slide a {
    height: min(var(--tq-slider-height, 420px), 56vw);
    min-height: 190px;
  }
  .tq-home-slider__nav {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }
  .tq-home-slider__nav--prev { left: 10px; }
  .tq-home-slider__nav--next { right: 10px; }
  .tq-home-slider__dots { bottom: 10px; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tq-home-slider--pro .tq-home-slider__slide,
  .tq-home-slider--pro .tq-home-slider__slide img,
  .tq-home-slider__nav,
  .tq-home-slider__dots button {
    transition: none !important;
    animation: none !important;
  }
  .tq-home-slider__progress { display: none; }
}

/* v3.3 - Homepage Builder: separate desktop/mobile columns */
@media (max-width: 640px) {
  .tq-grid.tq-grid-mobile--1,
  .tq-news-grid.tq-grid-mobile--1,
  .tq-builder-page-grid.tq-grid-mobile--1,
  .tq-home-media-grid.tq-grid-mobile--1 {
    grid-template-columns: 1fr !important;
  }
  .tq-grid.tq-grid-mobile--2,
  .tq-news-grid.tq-grid-mobile--2,
  .tq-builder-page-grid.tq-grid-mobile--2,
  .tq-home-media-grid.tq-grid-mobile--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .tq-grid-mobile--2 .tq-post-card__body,
  .tq-grid-mobile--2 .tq-service-card__body,
  .tq-grid-mobile--2 .tq-list-card__body {
    padding: 12px !important;
  }
  .tq-grid-mobile--2 .tq-post-card h3,
  .tq-grid-mobile--2 .tq-service-card h3,
  .tq-grid-mobile--2 .tq-list-card h3 {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
  .tq-grid-mobile--2 .tq-post-card__excerpt,
  .tq-grid-mobile--2 .tq-service-card p,
  .tq-grid-mobile--2 .tq-list-card p {
    display: none !important;
  }
  .tq-grid-mobile--2 .tq-post-card__more,
  .tq-grid-mobile--2 .tq-service-card__more,
  .tq-grid-mobile--2 .tq-list-card__more {
    font-size: 13px !important;
  }
}
