/*
 Theme Name:   Astra Child
 Theme URI:    https://questquip.com
 Description:  QuestQuip Child Theme based on Astra
 Author:       QuestQuip
 Author URI:   https://questquip.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ast-body-font-family, 'Inter', sans-serif);
  background: #f7f8fa;
  color: var(--ast-global-color-3, #1c1c2e);
  font-size: var(--ast-body-font-size, 15px);
  line-height: 1.65;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary:      #007991;
  --primary-dark: #005f73;
  --primary-light:#e0f4f7;
  --accent:       #e85d04;
  --dark:         #0d1b2a;
  --mid:          #2b3a4a;
  --muted:        #6b7280;
  --border:       #e4e8ee;
  --bg:           #f7f8fa;
  --white:        #ffffff;
  --card-shadow:  0 2px 16px rgba(0,121,145,0.08);
  --radius:       10px;
  --radius-sm:    6px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.qq-top-bar {
  background: var(--dark);
  color: #a8b8c8;
  font-size: 12px;
  padding: 6px 0;
}
.qq-top-bar .qq-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.qq-top-bar a { color: #a8b8c8; transition: color .2s; }
.qq-top-bar a:hover { color: var(--primary); }
.qq-top-left { display: flex; gap: 16px; align-items: center; }
.qq-top-right { display: flex; gap: 14px; align-items: center; }
.qq-date-tag { color: var(--primary); font-weight: 600; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.qq-site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.qq-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.qq-logo { display: flex; align-items: center; gap: 10px; }
.qq-logo-icon {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.qq-logo-icon svg { width: 22px; height: 22px; fill: white; }
.qq-logo-text .qq-brand {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 800;
  color: var(--dark); letter-spacing: -0.5px;
}
.qq-logo-text .qq-tagline {
  font-size: 10px; color: var(--primary);
  font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase;
}
.qq-header-search {
  flex: 1; max-width: 380px;
  display: flex;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.qq-header-search input {
  flex: 1; border: none; background: transparent;
  padding: 9px 16px; font-size: 13px;
  color: var(--dark); font-family: 'Inter', sans-serif; outline: none;
}
.qq-header-search button {
  background: var(--primary); border: none; cursor: pointer;
  padding: 0 16px; color: white; font-size: 15px;
  transition: background .2s;
}
.qq-header-search button:hover { background: var(--primary-dark); }
.qq-header-actions { display: flex; gap: 10px; align-items: center; }
.qq-btn-subscribe {
  background: var(--primary); color: white;
  border: none; cursor: pointer;
  padding: 9px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: background .2s, transform .15s;
}
.qq-btn-subscribe:hover { background: var(--primary-dark); transform: translateY(-1px); }
.qq-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px;
}
.qq-hamburger span {
  width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; display: block;
}

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */
.qq-main-nav { background: var(--dark); }
.qq-nav-inner {
  display: flex; align-items: center;
  overflow-x: auto; scrollbar-width: none;
}
.qq-nav-inner::-webkit-scrollbar { display: none; }
.qq-main-nav a {
  color: #c5d5e0; padding: 12px 16px;
  font-size: 13px; font-weight: 500;
  white-space: nowrap; display: block;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.qq-main-nav a:hover,
.qq-main-nav a.active { color: var(--white); border-bottom-color: var(--primary); }
.qq-main-nav a.active { color: var(--primary); }
.qq-nav-highlight {
  color: #fff !important;
  background: var(--primary);
  border-radius: 4px;
  margin: 6px 8px 6px 0 !important;
  padding: 6px 14px !important;
  border-bottom: 3px solid transparent !important;
}
.qq-nav-highlight:hover { background: var(--primary-dark) !important; }
.qq-nav-dropdown { position: relative; }
.qq-nav-dropdown > a::after { content: " ▾"; font-size: 10px; }
.qq-dropdown-menu {
  display: none; position: absolute;
  top: 100%; left: 0;
  background: var(--white); min-width: 160px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 100; overflow: hidden;
}
.qq-dropdown-menu a {
  color: var(--mid) !important;
  border-bottom: none !important;
  padding: 10px 16px !important;
  font-size: 13px; display: block;
}
.qq-dropdown-menu a:hover { background: var(--primary-light); color: var(--primary) !important; }
.qq-nav-dropdown:hover .qq-dropdown-menu { display: block; }

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.qq-breaking-bar {
  background: var(--primary-light);
  border-bottom: 1px solid #b2dce4;
  padding: 9px 0; overflow: hidden;
}
.qq-breaking-inner { display: flex; align-items: center; gap: 14px; }
.qq-breaking-tag {
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 3px;
  white-space: nowrap; text-transform: uppercase;
  letter-spacing: .5px;
}
.qq-ticker { flex: 1; overflow: hidden; }
.qq-ticker-wrap {
  display: flex; gap: 50px;
  animation: qq-ticker 30s linear infinite;
  white-space: nowrap;
}
.qq-ticker-wrap:hover { animation-play-state: paused; }
.qq-ticker-wrap a { font-size: 13px; color: var(--dark); font-weight: 500; }
.qq-ticker-wrap a:hover { color: var(--primary); }
.qq-ticker-sep { color: var(--primary); }
@keyframes qq-ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ============================================================
   CONTAINER
   ============================================================ */
.qq-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   SECTION HEADERS & TITLES
   ============================================================ */
.qq-section-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.qq-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--dark);
  display: flex; align-items: center; gap: 10px;
}
.qq-section-title::before {
  content: ''; width: 4px; height: 24px;
  background: var(--primary); border-radius: 2px;
  display: inline-block;
}
.qq-see-all {
  font-size: 12px; font-weight: 600;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 50px; padding: 4px 14px;
  transition: all .2s;
}
.qq-see-all:hover { background: var(--primary); color: white; }

/* ============================================================
   CATEGORY BADGE
   ============================================================ */
.qq-cat-badge {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 3px 10px; border-radius: 3px;
  background: var(--primary); color: white;
  display: inline-block;
}
.qq-cat-badge.accent { background: var(--accent); }
.qq-cat-badge.dark   { background: var(--mid); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.qq-hero { padding: 30px 0 0; }
.qq-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}
.qq-hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.qq-hero-main img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; display: block;
  transition: transform .4s;
}
.qq-hero-main:hover img { transform: scale(1.02); }
.qq-hero-img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #005f73 0%, #007991 50%, #00b4cc 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; text-align: center;
}
.qq-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  padding: 40px 24px 24px;
}
.qq-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: white; line-height: 1.3; margin: 10px 0;
}
.qq-hero-title:hover { color: #b2e8f0; }
.qq-hero-meta {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.72); font-size: 12px;
}
.qq-hero-meta .qq-author { color: var(--primary); font-weight: 600; }
.qq-hero-sidebar { display: flex; flex-direction: column; gap: 16px; }
.qq-side-post {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--card-shadow);
  transition: transform .2s, box-shadow .2s;
}
.qq-side-post:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,121,145,0.14); }
.qq-side-post-img {
  width: 90px; height: 62px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden;
}
.qq-side-post-img img { width:100%; height:100%; object-fit:cover; }
.qq-side-post-title {
  font-size: 13.5px; font-weight: 600;
  line-height: 1.45; color: var(--dark);
  margin: 4px 0 6px;
}
.qq-side-post-title:hover { color: var(--primary); }
.qq-side-post-meta { font-size: 11px; color: var(--muted); }

/* ============================================================
   TRENDING STRIP
   ============================================================ */
.qq-trending { background: var(--primary); padding: 10px 0; margin-top: 28px; }
.qq-trending-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.qq-trending-inner::-webkit-scrollbar { display: none; }
.qq-trend-label { color: white; font-weight: 700; font-size: 12px; margin-right: 6px; white-space: nowrap; }
.qq-trend-item {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; padding: 4px 14px;
  background: rgba(255,255,255,0.12); border-radius: 50px;
  font-size: 12px; color: white; font-weight: 500;
  flex-shrink: 0; transition: background .2s;
}
.qq-trend-item:hover { background: rgba(255,255,255,0.25); }
.qq-trend-num { font-weight: 800; color: rgba(255,255,255,0.6); font-size: 11px; }

/* ============================================================
   POST CARD
   ============================================================ */
.qq-post-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--card-shadow);
  transition: transform .2s, box-shadow .2s;
}
.qq-post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,121,145,0.14); }
.qq-post-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.qq-post-card-img img { width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.qq-post-card:hover .qq-post-card-img img { transform: scale(1.06); }
.qq-post-card-body { padding: 16px; }
.qq-post-card-title {
  font-size: 15px; font-weight: 700;
  line-height: 1.4; color: var(--dark);
  margin: 8px 0 10px;
}
.qq-post-card-title:hover { color: var(--primary); }
.qq-post-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.qq-post-meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); }
.qq-post-meta .qq-author { color: var(--primary); font-weight: 600; }

/* ============================================================
   PLACEHOLDER IMAGE
   ============================================================ */
.qq-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); font-weight: 700;
  font-size: 12px; text-align: center; padding: 8px;
}

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.qq-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.qq-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.qq-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.qq-grid-content { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.qq-section { padding: 36px 0; }
.qq-section-white { background: var(--white); }
.qq-section-bg   { background: var(--bg); }

/* ============================================================
   FEATURED LARGE (2-col big/small)
   ============================================================ */
.qq-featured-large { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qq-fl-main { border-radius: var(--radius); overflow: hidden; position: relative; }
.qq-fl-main img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.qq-fl-overlay {
  position: absolute; bottom:0; left:0; right:0;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  padding: 30px 20px 20px;
}
.qq-fl-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: white; line-height: 1.35; margin: 8px 0;
}
.qq-fl-title:hover { color: #b2e8f0; }
.qq-fl-right { display: flex; flex-direction: column; gap: 16px; }
.qq-fl-small {
  display: flex; gap: 14px;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--card-shadow);
  transition: transform .2s;
}
.qq-fl-small:hover { transform: translateY(-2px); }
.qq-fl-small-img { width: 110px; flex-shrink: 0; }
.qq-fl-small-img img { width:100%; height:100%; object-fit:cover; }
.qq-fl-small-body { padding: 12px 12px 12px 0; flex: 1; }
.qq-fl-small-title { font-size: 13.5px; font-weight: 700; color: var(--dark); line-height: 1.4; }
.qq-fl-small-title:hover { color: var(--primary); }
.qq-fl-small-meta { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.qq-widget {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}
.qq-widget-title {
  background: var(--primary); color: white;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 12px 16px;
}
.qq-widget-body { padding: 14px; }
.qq-popular-list { list-style: none; }
.qq-popular-list li {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.qq-popular-list li:last-child { border-bottom: none; }
.qq-pop-num { font-size: 20px; font-weight: 800; color: var(--border); line-height: 1; min-width: 24px; }
.qq-popular-list li:nth-child(1) .qq-pop-num { color: var(--primary); }
.qq-popular-list li:nth-child(2) .qq-pop-num { color: #0099bb; }
.qq-popular-list li:nth-child(3) .qq-pop-num { color: #00b8d4; }
.qq-pop-title { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4; }
.qq-pop-title:hover { color: var(--primary); }
.qq-pop-date { font-size: 11px; color: var(--muted); margin-top: 3px; }
.qq-cat-widget-list { list-style: none; }
.qq-cat-widget-list li { border-bottom: 1px solid var(--border); }
.qq-cat-widget-list li:last-child { border-bottom: none; }
.qq-cat-widget-list a {
  display: flex; justify-content: space-between;
  align-items: center; padding: 10px 4px;
  font-size: 13px; color: var(--mid); font-weight: 500;
  transition: color .2s;
}
.qq-cat-widget-list a:hover { color: var(--primary); }
.qq-cat-widget-list span {
  background: var(--primary-light); color: var(--primary);
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
}
.qq-newsletter {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; border-radius: var(--radius);
  padding: 22px; margin-bottom: 24px;
}
.qq-newsletter h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; margin-bottom: 8px;
}
.qq-newsletter p { font-size: 13px; opacity: .85; margin-bottom: 16px; }
.qq-nl-input { display: flex; background: white; border-radius: 50px; overflow: hidden; }
.qq-nl-input input {
  flex: 1; border: none; padding: 10px 14px;
  font-size: 13px; outline: none;
  font-family: 'Inter', sans-serif;
}
.qq-nl-input button {
  background: var(--accent); color: white;
  border: none; padding: 0 18px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.qq-ad-placeholder {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius); padding: 24px;
  text-align: center; color: white; margin-bottom: 24px;
}

/* ============================================================
   QUICK BITES
   ============================================================ */
.qq-quick-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.qq-quick-card {
  background: var(--white); border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  padding: 16px 18px; box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s;
}
.qq-quick-card:hover { transform: translateY(-3px); }
.qq-q-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--primary); letter-spacing: .7px; }
.qq-q-title { font-size: 14px; font-weight: 700; color: var(--dark); line-height: 1.4; }
.qq-q-title:hover { color: var(--primary); }
.qq-q-excerpt { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.qq-q-meta { font-size: 11px; color: var(--muted); display: flex; gap: 10px; margin-top: 4px; }
.qq-q-meta a { color: var(--primary); font-weight: 600; }

/* ============================================================
   WEB STORIES
   ============================================================ */
.qq-web-stories { padding: 36px 0; background: var(--dark); }
.qq-web-stories .qq-section-title { color: white; }
.qq-web-stories .qq-section-title::before { background: var(--primary); }
.qq-stories-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.qq-stories-grid::-webkit-scrollbar { display: none; }
.qq-story-card { flex-shrink: 0; width: 140px; border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; }
.qq-story-ring { position: absolute; inset: -3px; border-radius: 17px; background: linear-gradient(135deg, var(--primary), #00c9e0, var(--accent)); z-index: -1; }
.qq-story-img {
  width: 140px; height: 220px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.qq-story-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  padding: 30px 10px 12px;
}
.qq-story-title { font-size: 12px; color: white; font-weight: 600; line-height: 1.35; }

/* ============================================================
   FOOTER
   ============================================================ */
.qq-footer { background: var(--dark); color: #8fa3b1; padding: 50px 0 0; }
.qq-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px; padding-bottom: 36px;
  border-bottom: 1px solid #1e3040;
}
.qq-footer-brand .qq-brand {
  font-family: 'Playfair Display', serif;
  font-size: 24px; color: white; font-weight: 800;
}
.qq-footer-brand p { font-size: 13px; margin: 12px 0 18px; line-height: 1.65; }
.qq-social-links { display: flex; gap: 10px; }
.qq-social-link {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; transition: all .2s;
}
.qq-social-link svg { width: 18px; height: 18px; fill: white; }
.qq-social-link.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.qq-social-link.instagram:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(253,29,29,.4); }
.qq-social-link.facebook { background: #1877f2; }
.qq-social-link.facebook:hover { background: #1565c0; transform: translateY(-2px); }
.qq-footer-col h5 {
  color: white; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px;
}
.qq-footer-links { list-style: none; }
.qq-footer-links li { margin-bottom: 9px; }
.qq-footer-links a { font-size: 13px; color: #8fa3b1; transition: color .2s; }
.qq-footer-links a:hover { color: var(--primary); }
.qq-footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; padding: 16px 0;
  font-size: 12px; flex-wrap: wrap; gap: 10px;
}
.qq-footer-bottom a { color: var(--primary); }
.qq-footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .qq-grid-4 { grid-template-columns: repeat(2,1fr); }
  .qq-hero-grid { grid-template-columns: 1fr; }
  .qq-hero-sidebar { flex-direction: row; flex-wrap: wrap; }
  .qq-side-post { flex: 1 1 calc(50% - 8px); }
  .qq-grid-content { grid-template-columns: 1fr; }
  .qq-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .qq-grid-3 { grid-template-columns: repeat(2,1fr); }
  .qq-grid-2 { grid-template-columns: 1fr; }
  .qq-quick-grid { grid-template-columns: repeat(2,1fr); }
  .qq-featured-large { grid-template-columns: 1fr; }
  .qq-hero-title { font-size: 20px; }
  .qq-header-search { display: none; }
  .qq-hamburger { display: flex; }
  .qq-btn-subscribe { display: none; }
  .qq-footer-grid { grid-template-columns: 1fr; }
  .qq-main-nav { display: none; }
  .qq-main-nav.open { display: block; }
  .qq-main-nav.open .qq-nav-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .qq-grid-4 { grid-template-columns: 1fr; }
  .qq-grid-3 { grid-template-columns: 1fr; }
  .qq-quick-grid { grid-template-columns: 1fr; }
  .qq-side-post { flex: 1 1 100%; }
  .qq-hero-title { font-size: 18px; }
  .qq-section-title { font-size: 18px; }
  .qq-story-card { width: 120px; }
  .qq-story-img { width: 120px; height: 190px; }
}

/* ============================================================
   FOOTER RESPONSIVE — 4-col grid
   ============================================================ */
@media (max-width: 1024px) {
  .qq-footer .qq-container > div[style*="grid-template-columns:1.8fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 640px) {
  .qq-footer .qq-container > div[style*="grid-template-columns:1.8fr"] {
    grid-template-columns: 1fr !important;
  }
  .qq-footer .qq-container > div[style*="justify-content:space-between"] {
    flex-direction: column !important;
    text-align: center !important;
  }
}

/* ============================================================
   TYPOGRAPHY FIX — Let Astra Customizer Control H1-H6 + Body
   ============================================================ */
.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single .entry-content h5,
.single .entry-content h6,
.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4,
.page .entry-content h5,
.page .entry-content h6 {
  font-family: var(--ast-body-font-family, inherit);
  color: var(--ast-global-color-0, inherit);
  font-weight: inherit;
}
