/*
Theme Name: AffiliateCMS Child
Theme URI: https://lat.vn/
Description: Child theme for AffiliateCMS Theme. Add your custom styles and overrides here.
Author: AffiliateCMS Team
Author URI: https://lat.vn/
Template: affiliateCMS-theme
Version: 1.0.12
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affiliatecms-child
*/

/* ==========================================================================
   Custom Styles - Add your overrides below
   ========================================================================== */

/* Front page hero */
.qt-hero { border-bottom: 1px solid var(--line); }
.qt-hero__wrap {
  padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 72px);
  align-items: flex-start;
}
.qt-hero__main {
  flex: 1 1 540px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.qt-hero__title {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: .94;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
.qt-hero__lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.qt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: var(--radius-lg);
}
.qt-btn--primary { background: var(--brand-hi); color: var(--on-brand); }
.qt-btn--outline { border: 1px solid var(--ink); color: var(--ink); }

@media (max-width: 480px) {
  .qt-hero__main { flex-basis: 100%; }
  .qt-hero__actions .qt-btn { flex: 1 1 100%; justify-content: center; }
}

/* Footer additions */
footer .qt-footer-link { color: var(--surface); text-decoration: none; }
footer .qt-footer-link:hover { color: var(--accent-on-dark); }
.qt-footer-amazon { margin: 8px 0 0; }

/* ==========================================================================
   Homepage (front-page.php), blog layout from the "Quality Tool Homepage"
   design canvas. Colors come from the :root tokens in header.php only.
   ========================================================================== */
.qt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.qt-home {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  color: var(--ink);
}
.qt-home a { color: var(--ink); text-decoration: none; }
.qt-home a:hover { color: var(--ink); text-decoration: underline; }

/* Section titles: "Trending //" */
.qt-home .qt-home-title {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.qt-home .qt-home-title--tight { margin-bottom: 8px; }
.qt-home .qt-home-title--flush { margin: 0; }
.qt-home .qt-home-title--dark { color: var(--surface); margin-bottom: 24px; }
.qt-home-title__mark { color: var(--brand-hi); font-style: italic; }
.qt-home .qt-home-subtitle { margin: 0 0 6px; font-size: 19px; line-height: 1.2; }

/* Category kicker with a dot */
.qt-home .qt-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.qt-home-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-hi);
  flex: none;
}
.qt-home .qt-home-kicker--sm { font-size: 10px; }

.qt-home-meta { font-size: 12.5px; color: var(--muted); }
.qt-home .qt-home-meta__author { color: var(--ink); font-weight: 700; }

/* Media: real image or striped placeholder */
.qt-home-media,
.qt-home-card__media {
  display: block;
  overflow: hidden;
  background: var(--wash);
  border-radius: 10px;
}
.qt-home-ph {
  background-color: var(--line);
  background-image: repeating-linear-gradient(135deg, var(--wash) 0 2px, transparent 2px 14px);
}
.qt-home-ratio-3x2 { aspect-ratio: 3 / 2; }
.qt-home-ratio-16x10 { aspect-ratio: 16 / 10; }
.qt-home-img { display: block; width: 100%; height: 100%; }
.qt-home-img--cover { object-fit: cover; }
.qt-home-img--contain { object-fit: contain; padding: 10%; box-sizing: border-box; }

/* Card titles and excerpts */
.qt-home .qt-home-card__title { margin: 0; line-height: 1.2; text-wrap: balance; }
.qt-home .qt-home-card__title--xl { font-size: 32px; }
.qt-home .qt-home-card__title--lg { font-size: 26px; }
.qt-home .qt-home-card__title--md { font-size: 22px; }
.qt-home .qt-home-card__title--sm { font-size: 19px; }
.qt-home .qt-home-card__title--xs { font-size: 17px; }
.qt-home-card__excerpt { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.qt-home-card__excerpt--sm { font-size: 14.5px; line-height: 1.55; }

/* Editor's Picks: dark panel, 1 lead + 3 side cards */
.qt-home-picks {
  background: var(--brand-deep);
  border-radius: 14px;
  padding: 36px;
}
.qt-home-picks__grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.qt-home-picks__side {
  flex: 4 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qt-home-card {
  background: var(--surface);
  border-top: 4px solid var(--brand-hi);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}
.qt-home-card--lead { flex: 5 1 420px; min-width: 0; flex-direction: column; }
.qt-home-card--lead .qt-home-card__media { border-radius: 0; }
.qt-home-card--row { flex: 1; gap: 18px; padding: 14px; align-items: stretch; }
.qt-home-card__media--side { width: 170px; flex: none; aspect-ratio: 1 / 1; align-self: center; border-radius: 8px; }
.qt-home-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.qt-home-card__body--tight { padding: 4px 0; gap: 8px; justify-content: center; }
.qt-home-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

/* Main column + sidebar */
.qt-home-layout { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 64px; align-items: flex-start; }
.qt-home-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.qt-home-aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.qt-home-empty p { margin: 0; font-size: 16px; color: var(--muted); }
.qt-home .qt-home-empty a { color: var(--brand); text-decoration: underline; }

/* Trending: lead + list */
.qt-home-trending { display: flex; flex-wrap: wrap; gap: 24px; }
.qt-home-stack { display: flex; flex-direction: column; gap: 14px; }
.qt-home-trending__lead { flex: 1 1 340px; min-width: 0; }
.qt-home-trending__list { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; }

/* List rows (trending list, latest reviews) */
.qt-home-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qt-home-item--wide { gap: 20px; padding: 18px 0; }
.qt-home-item__media { width: 110px; flex: none; border-radius: 8px; align-self: flex-start; }
.qt-home-item__media--wide { width: 200px; }
.qt-home-item__body { display: flex; flex-direction: column; gap: 7px; min-width: 0; justify-content: center; }

/* Sidebar: QT Score card */
.qt-home-score {
  background: var(--brand-deep);
  color: var(--surface);
  border-top: 4px solid var(--brand-hi);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qt-home-score__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
}
.qt-home .qt-home-score__title { margin: 0; font-size: 24px; line-height: 1.15; color: var(--surface); }
.qt-home-score__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted-on-dark); }
.qt-home-score__scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qt-home-score__cell {
  border: 1px solid var(--brand-press);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.qt-home-score__num { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--accent-on-dark); }
.qt-home-score__label { font-size: 11.5px; color: var(--muted-on-dark); }

/* Buttons */
.qt-home .qt-home-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--brand-hi);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 14px;
}
.qt-home .qt-home-btn:hover { color: var(--on-brand); text-decoration: none; opacity: .9; }
.qt-home .qt-home-btn--outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 0 28px;
}
.qt-home .qt-home-btn--outline:hover { color: var(--ink); }

/* Sidebar: Products We Love (front-page.php) */
.qt-home-loved__item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qt-home-loved__media { width: 80px; height: 80px; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.qt-home-loved__img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.qt-home-loved__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.qt-home-loved__brand { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qt-home .qt-home-loved__title { margin: 0; font-family: inherit; font-stretch: normal; font-size: 14.5px; line-height: 1.35; font-weight: 600; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qt-home .qt-home-loved__title a { color: var(--ink); text-decoration: none; }
.qt-home .qt-home-loved__title a:hover { color: var(--brand-dark); }
.qt-home-loved__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.qt-home-loved__score { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.qt-home .qt-home-loved__cta { padding: 6px 12px; background: var(--brand-hi); color: var(--on-brand); border-radius: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.qt-home .qt-home-loved__cta:hover { color: var(--on-brand); text-decoration: none; opacity: .9; }
.qt-home .qt-home-loved__all { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand-dark); }
.qt-home-badge { background: var(--brand-hi); color: var(--on-brand); font-weight: 700; padding: 2px 6px; border-radius: 4px; }

@media (max-width: 1080px) {
  .qt-home-layout { gap: 40px; }
  .qt-home .qt-home-card__title--xl { font-size: 28px; }
}

@media (max-width: 760px) {
  .qt-home { padding: 20px 16px 56px; }
  .qt-home-picks { padding: 22px 16px; border-radius: 10px; }
  .qt-home-picks__grid { gap: 16px; }
  .qt-home-card__body { padding: 18px 18px 20px; }
  .qt-home-card__media--side { width: 120px; }
  .qt-home .qt-home-card__title--xl { font-size: 24px; }
  .qt-home .qt-home-card__title--lg { font-size: 22px; }
  .qt-home .qt-home-card__title--md { font-size: 19px; }
  .qt-home-item__media--wide { width: 140px; }
  .qt-home-layout { margin-top: 48px; }
  .qt-home-main { gap: 44px; }
}

@media (max-width: 480px) {
  .qt-home-card--row { gap: 12px; padding: 10px; }
  .qt-home-card__media--side { width: 96px; }
  .qt-home-card--row .qt-home-card__excerpt { display: none; }
  .qt-home .qt-home-card__title--sm { font-size: 17px; }
  .qt-home-item__media,
  .qt-home-item__media--wide { width: 96px; }
  .qt-home-item--wide .qt-home-card__excerpt { display: none; }
  .qt-home .qt-home-title { font-size: 22px; }
}

/* Author page bio (author.php) */
.qt-author-bio { max-width: 46em; margin: 0 0 14px; }
.qt-author-bio p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.qt-author-bio p:last-child { margin-bottom: 0; }

/* Our Top Picks page (page-our-top-picks.php, data in inc/top-picks.php) */
.qt-picks-hero { background: var(--wash); border-bottom: 1px solid var(--line); }
.qt-picks-hero__inner { padding: 24px clamp(16px, 4vw, 40px) clamp(44px, 6vw, 64px); }
.qt-picks-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.nc-home .qt-picks-crumbs a { color: var(--muted); }
.qt-picks-crumbs__current { color: var(--ink); }
.qt-picks-hero__row { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 5vw, 72px); align-items: flex-end; }
.qt-picks-hero__text { flex: 1.4 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.qt-picks-eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }
.qt-picks-title { font-size: clamp(52px, 7.6vw, 112px); line-height: .9; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.qt-picks-lede { margin: 0; max-width: 38em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.qt-picks-stats { flex: 1 1 360px; min-width: 0; display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.qt-picks-stat { flex: 1 1 120px; background: var(--surface); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.qt-picks-stat__num { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 44px; line-height: .9; }
.qt-picks-stat__label { font-size: 13.5px; color: var(--muted); }
.qt-picks-nav { border-bottom: 1px solid var(--line); background: var(--wash); position: sticky; top: 70px; z-index: 40; }
.qt-picks-nav__inner { padding: 12px 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qt-picks-nav__label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.nc-home .qt-picks-nav a { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 7px 14px; font-size: 12.5px; font-weight: 600; white-space: nowrap; display: inline-block; }
.nc-home .qt-picks-nav a:hover { border-color: var(--ink); }
.qt-picks-wrap { padding: 0 24px; }
.qt-picks-main { padding: 32px 0 0; max-width: none; }
.qt-picks-note { margin: 0 0 8px; padding: 18px 22px; background: var(--wash); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.qt-picks-note a { font-weight: 600; white-space: nowrap; }
.qt-picks-shelf { padding-top: 40px; scroll-margin-top: 140px; }
.qt-picks-shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.qt-picks-shelf__intro { min-width: 0; }
.qt-picks-shelf__title { margin: 0; font-size: clamp(32px, 3.6vw, 46px); line-height: 1; }
.qt-picks-shelf__blurb { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.qt-picks-shelf__all { font-size: 14px; font-weight: 600; white-space: nowrap; }
.qt-picks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.qt-pick-card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s; }
.qt-pick-card:hover { border-color: var(--ink); }
.qt-pick-media { position: relative; height: 220px; padding: 18px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); background: #fff; }
.qt-pick-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qt-pick-sub { position: absolute; top: 10px; left: 10px; background: var(--brand-wash); color: var(--brand-dark); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; max-width: calc(100% - 84px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-pick-score { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-hi); display: flex; align-items: center; justify-content: center; }
.qt-pick-score__num { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--ink); }
.qt-pick-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.qt-pick-brand { font-size: 12px; font-weight: 700; color: var(--muted); }
.qt-pick-title { margin: 0; font-size: 16.5px; line-height: 1.28; font-weight: 800; letter-spacing: -.012em; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.56em; }
.nc-home .qt-pick-title a { color: var(--ink); }
.qt-pick-why { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qt-pick-why strong { color: var(--brand-dark); }
.nc-home a.qt-pick-guide { margin-top: auto; font-size: 13px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qt-pick-guide span { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* Under .nc-home the global link color would otherwise paint the CTA text in brand color. */
.nc-home a.qt-pick-cta { background: var(--brand-hi); color: var(--on-brand); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 12px 14px; border-radius: 8px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background .15s; }
.nc-home a.qt-pick-cta:hover { background: var(--brand-dark); color: #fff; }
.qt-picks-empty { padding: 40px 24px; margin-top: 32px; border: 1px dashed var(--line); }
.qt-picks-empty__title { font-size: 17px; font-weight: 600; }
.qt-picks-empty p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.qt-picks-foot { margin: 40px 0 0; max-width: 68ch; font-size: 14px; line-height: 1.6; color: var(--muted); }

@media (max-width: 1080px) {
  .qt-picks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .qt-picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .qt-picks-wrap { padding: 0 16px; }
  .qt-picks-hero__text { flex-basis: 100%; }
  .qt-picks-nav { position: static; }
  .qt-picks-nav__inner { flex-wrap: nowrap; overflow-x: auto; padding: 10px 16px; }
}
@media (max-width: 480px) {
  .qt-picks-grid { grid-template-columns: minmax(0, 1fr); }
  .qt-pick-media { height: 200px; }
  .qt-picks-stat__num { font-size: 36px; }
}

/* Latest tool reviews grid (front-page.php), after nationstrails.com */
.qt-home-latest { margin-top: 56px; }
.qt-home-latest__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 36px; }
.qt-home .qt-home-latest__title { font-size: clamp(34px, 4vw, 52px); line-height: 1; margin: 0; }
.qt-home-latest__count { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qt-home-latest__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 48px 32px; }
.qt-home-latest__card { display: flex; flex-direction: column; gap: 14px; }
.qt-home-latest__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.qt-home-latest__date { white-space: nowrap; }
.qt-home .qt-home-latest__h { font-stretch: 78%; font-size: 27px; line-height: 1.04; margin: 0; text-wrap: balance; }
.qt-home .qt-home-latest__h a { color: var(--ink); }
.qt-home-latest__dek { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.qt-home-latest__by { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.qt-home-latest__avatar { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.qt-home .qt-home-latest__by a { color: var(--ink); font-weight: 600; }
.qt-home-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 40px; }
.qt-home .qt-home-pagination .page-numbers { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-lg); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-mono); font-size: 13px; }
.qt-home .qt-home-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.qt-home .qt-home-pagination .page-numbers.dots { border-color: transparent; }

@media (max-width: 1080px) {
  .qt-home-latest__grid { gap: 40px 24px; }
}
@media (max-width: 760px) {
  .qt-home-latest { margin-top: 44px; }
  .qt-home-loved__media { width: 72px; height: 72px; }
  .qt-home-latest__head { margin-bottom: 28px; }
  .qt-home .qt-home-latest__h { font-size: 24px; }
}
@media (max-width: 480px) {
  .qt-home-latest__grid { gap: 36px; }
  .qt-home .qt-home-latest__h { font-size: 22px; }
  .qt-home-latest__meta { flex-wrap: wrap; gap: 4px 12px; }
}
