/* ==========================================================================
   deliQuode v2 — design tokens & components
   Layered on top of Around's compiled theme.min.css (grid, utilities,
   Bootstrap 5 JS components). This file owns all deliQuode-specific visuals.
   ========================================================================== */

:root {
  /* Color — deliQuode's real duo (orange = business_settings primary,
     teal = the color already used across the live app's footer / app
     screens / nav controls), not an invented palette. */
  --dq-orange: #f58a07;
  --dq-orange-dark: #d97706;
  --dq-orange-soft: #fff1e0;
  --dq-teal-deep: #062420;
  --dq-teal: #0a6658;
  --dq-teal-2: #0d7d6b;
  --dq-mint: #eaf5f1;
  --dq-ink: #14201d;
  --dq-muted: #5b6864;
  --dq-line: #e3e8e6;
  --dq-paper: #ffffff;
  --dq-warm: #fff3eb;
  --dq-danger: #b43a2d;

  /* Type */
  --dq-font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --dq-container: 1280px;
  --dq-radius-sm: 8px;
  --dq-radius: 14px;
  --dq-radius-lg: 20px;
  --dq-section-y: clamp(56px, 8vw, 112px);
  --dq-shadow: 0 1px 2px rgba(6, 36, 32, .04), 0 12px 32px -16px rgba(6, 36, 32, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body.dq-body {
  font-family: var(--dq-font);
  color: var(--dq-ink);
  background: var(--dq-paper);
  font-size: 16px;
  line-height: 1.6;
}

.dq-body a:not(.dq-btn) { text-decoration: none; color: inherit; }
.dq-body a.dq-btn { text-decoration: none; }
.dq-body img { max-width: 100%; display: block; }
.dq-body :focus-visible { outline: 2.5px solid var(--dq-teal-2); outline-offset: 2px; border-radius: 4px; }

.dq-container {
  width: 100%;
  max-width: var(--dq-container);
  margin-inline: auto;
  padding-inline: 20px;
}

.dq-section { padding-block: var(--dq-section-y); }
.dq-section-tight { padding-block: calc(var(--dq-section-y) * .6); }
.dq-bg-warm { background: var(--dq-warm); }
.dq-bg-mint { background: var(--dq-mint); }
.dq-bg-teal { background: var(--dq-teal-deep); color: #eef7f4; }
.dq-bg-teal h1, .dq-bg-teal h2, .dq-bg-teal h3 { color: #ffffff; }
.dq-bg-teal .dq-muted-on-teal { color: #b9d3cd; }

/* ---- Type scale (doc §08) ---- */
.dq-h1 { font-size: 38px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.dq-h2 { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.dq-h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; font-weight: 700; margin: 0; }
.dq-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--dq-muted); line-height: 1.6; }

/* ---- Buttons ---- */
.dq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15.5px; line-height: 1.3;
  padding: 13px 26px; min-height: 44px;
  border-radius: var(--dq-radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.dq-btn:hover { transform: translateY(-1px); }
.dq-btn-primary { background: var(--dq-orange); color: #fff; border-color: var(--dq-orange); }
.dq-btn-primary:hover { background: var(--dq-orange-dark); border-color: var(--dq-orange-dark); color: #fff; box-shadow: 0 10px 24px -10px rgba(245,138,7,.55); }
.dq-btn-dark { background: var(--dq-teal-deep); color: #fff; border-color: var(--dq-teal-deep); }
.dq-btn-dark:hover { background: #08332c; color: #fff; }
.dq-btn-outline { background: transparent; color: var(--dq-ink); border-color: var(--dq-line); }
.dq-btn-outline:hover { border-color: var(--dq-teal); color: var(--dq-teal); }
.dq-bg-teal .dq-btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.dq-bg-teal .dq-btn-outline:hover { border-color: #fff; }
.dq-btn-white { background: #fff; color: var(--dq-teal-deep); border-color: #fff; }
.dq-btn-white:hover { background: #f2f2f2; color: var(--dq-teal-deep); }
.dq-btn-block { width: 100%; }
.dq-btn-sm { padding: 9px 18px; font-size: 14px; min-height: 38px; }

/* ---- Header ---- */
.dq-header {
  position: sticky; top: 0; z-index: 1050;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dq-header.is-scrolled { border-bottom-color: var(--dq-line); box-shadow: 0 4px 20px -16px rgba(6,36,32,.25); }
.dq-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.dq-logo img { height: 34px; width: auto; }
.dq-nav { display: flex; align-items: center; gap: 28px; }
.dq-nav a { font-weight: 600; font-size: 15px; color: var(--dq-ink); padding: 8px 0; position: relative; }
.dq-nav a:hover { color: var(--dq-teal); }
.dq-nav-more { position: relative; }
.dq-utility { display: flex; align-items: center; gap: 10px; }
.dq-utility .dq-icon-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--dq-ink); padding: 8px 10px; border-radius: var(--dq-radius-sm); }
.dq-utility .dq-icon-link:hover { background: var(--dq-mint); color: var(--dq-teal); }
.dq-burger { display: none; }
@media (max-width: 991px) {
  .dq-nav { display: none; }
  .dq-utility .dq-icon-link span.dq-hide-sm { display: none; }
  .dq-burger { display: inline-flex; }
}

.dq-offcanvas .offcanvas-header { border-bottom: 1px solid var(--dq-line); }
.dq-offcanvas .dq-nav { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.dq-offcanvas .dq-nav a { padding: 14px 4px; border-bottom: 1px solid var(--dq-line); font-size: 16px; }
.dq-offcanvas .dq-off-utility { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* ---- Hero ---- */
.dq-hero { padding-block: clamp(40px, 6vw, 76px) clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--dq-warm) 0%, #fff 72%); }
.dq-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
@media (max-width: 991px) { .dq-hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.dq-hero-copy p.dq-lead { margin: 16px 0 28px; max-width: 46ch; }
.dq-hero-visual { position: relative; }
.dq-hero-visual img { border-radius: var(--dq-radius-lg); box-shadow: var(--dq-shadow); width: 100%; object-fit: cover; }
.dq-hero-badge {
  position: absolute; left: -16px; bottom: -18px; background: #fff; border-radius: var(--dq-radius);
  box-shadow: var(--dq-shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.dq-hero-badge .dq-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dq-teal-2); flex: none; box-shadow: 0 0 0 5px rgba(13,125,107,.15); }
.dq-hero-badge strong { display: block; font-size: 13.5px; }
.dq-hero-badge span { font-size: 12px; color: var(--dq-muted); }
@media (max-width: 575px) { .dq-hero-visual { display: none; } }

/* Booking card */
.dq-booking {
  background: #fff; border: 1px solid var(--dq-line); border-radius: var(--dq-radius-lg);
  box-shadow: var(--dq-shadow); padding: 20px; margin-top: 8px;
}
.dq-seg { display: inline-flex; background: var(--dq-mint); border-radius: 999px; padding: 4px; gap: 2px; margin-bottom: 16px; }
.dq-seg button {
  border: none; background: transparent; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  color: var(--dq-teal); cursor: pointer; min-height: 40px;
}
.dq-seg button.active { background: var(--dq-teal-deep); color: #fff; }

.dq-field-stack { position: relative; border: 1px solid var(--dq-line); border-radius: var(--dq-radius); overflow: hidden; }
.dq-field { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fbfbfa; }
.dq-field + .dq-field { border-top: 1px solid var(--dq-line); }
.dq-field .dq-marker { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--dq-teal-deep); flex: none; }
.dq-field .dq-marker.sq { border-radius: 2px; background: var(--dq-teal-deep); border: none; }
.dq-field input { border: none; background: transparent; outline: none; width: 100%; font-size: 15px; font-family: var(--dq-font); color: var(--dq-ink); min-height: 24px; }
.dq-field-line { position: absolute; left: 24px; top: 44px; bottom: 44px; width: 1px; background: var(--dq-line); pointer-events: none; }

.dq-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media (max-width: 420px) { .dq-row-2 { grid-template-columns: 1fr; } }
.dq-toggle-now { display: flex; background: var(--dq-mint); border-radius: 999px; padding: 4px; }
.dq-toggle-now button { flex: 1; border: none; background: transparent; padding: 9px 10px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--dq-teal); cursor: pointer; }
.dq-toggle-now button.active { background: #fff; box-shadow: 0 2px 6px rgba(6,36,32,.12); color: var(--dq-ink); }
.dq-schedule-fields { display: none; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.dq-schedule-fields.is-visible { display: grid; }
.dq-schedule-fields input {
  border: 1px solid var(--dq-line); border-radius: var(--dq-radius-sm); padding: 10px 12px; font-family: var(--dq-font); font-size: 14.5px; width: 100%; min-height: 44px;
}
.dq-booking-actions { display: flex; gap: 10px; margin-top: 16px; }
@media (max-width: 480px) { .dq-booking-actions { flex-direction: column; } }
.dq-autocomplete-list {
  position: absolute; z-index: 20; left: 0; right: 0; background: #fff; border: 1px solid var(--dq-line);
  border-radius: var(--dq-radius-sm); box-shadow: var(--dq-shadow); max-height: 220px; overflow-y: auto; display: none;
}
.dq-autocomplete-list.is-open { display: block; }
.dq-autocomplete-list button { display: block; width: 100%; text-align: left; border: none; background: none; padding: 10px 14px; font-size: 14px; cursor: pointer; }
.dq-autocomplete-list button:hover { background: var(--dq-mint); }

/* mobile app banner */
.dq-app-banner { display: none; }
@media (max-width: 767px) {
  .dq-app-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--dq-teal-deep); color: #fff; border-radius: var(--dq-radius); padding: 12px 16px; margin-top: 18px;
  }
  .dq-app-banner strong { font-size: 14px; display: block; }
  .dq-app-banner span { font-size: 12px; color: #bfe0d8; }
}

/* ---- Section headings ---- */
.dq-section-head { max-width: 640px; margin-bottom: 40px; }
.dq-section-head.center { margin-inline: auto; text-align: center; }
.dq-section-head .dq-h2 { margin-top: 10px; }
.dq-section-head .dq-lead { margin-top: 12px; }

/* ---- Service cards ---- */
.dq-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dq-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .dq-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dq-grid-3, .dq-grid-2 { grid-template-columns: 1fr; } }

.dq-card {
  background: var(--dq-mint); border-radius: var(--dq-radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid transparent; transition: border-color .15s ease, transform .15s ease;
}
.dq-card:hover { border-color: var(--dq-teal-2); transform: translateY(-2px); }
.dq-card .dq-card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center;
  color: var(--dq-teal-deep); font-size: 22px; box-shadow: var(--dq-shadow);
}
.dq-card h3 { font-size: 19px; font-weight: 700; margin: 0; }
.dq-card p { color: var(--dq-muted); font-size: 14.5px; margin: 0; flex-grow: 1; }
.dq-card .dq-card-cta { font-weight: 700; color: var(--dq-teal-deep); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.dq-card .dq-card-cta:hover { color: var(--dq-orange-dark); }

.dq-card-plain { background: #fff; border: 1px solid var(--dq-line); }

/* ---- Quote / map split ---- */
.dq-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: stretch; }
@media (max-width: 991px) { .dq-split { grid-template-columns: 1fr; } }
.dq-map-panel {
  border-radius: var(--dq-radius-lg); overflow: hidden; border: 1px solid var(--dq-line); min-height: 360px; background: var(--dq-mint);
  position: relative;
}
.dq-map-panel .leaflet-container { width: 100%; height: 100%; min-height: 360px; }
.dq-map-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; text-align: center; padding: 24px; color: var(--dq-muted); font-size: 14px; }

.dq-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 28px 0 0; }
@media (max-width: 900px) { .dq-flow { grid-template-columns: repeat(2,1fr); } }
.dq-flow-step { background: var(--dq-mint); border-radius: var(--dq-radius-sm); padding: 14px 10px; text-align: center; font-weight: 700; font-size: 13px; color: var(--dq-teal-deep); }

/* ---- Feature list (safety / driver) ---- */
.dq-feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
@media (max-width: 700px) { .dq-feature-list { grid-template-columns: 1fr; } }
.dq-feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.dq-feature-list .dq-feature-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--dq-mint); color: var(--dq-teal-deep);
  display: flex; align-items: center; justify-content: center; flex: none; font-size: 18px;
}
.dq-bg-teal .dq-feature-icon { background: rgba(255,255,255,.12); color: #fff; }
.dq-feature-list strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.dq-feature-list span { font-size: 14px; color: var(--dq-muted); }
.dq-bg-teal .dq-feature-list span { color: #bfe0d8; }

/* ---- Steps (driver onboarding) ---- */
.dq-steps { counter-reset: dq-step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .dq-steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .dq-steps { grid-template-columns: 1fr; } }
.dq-step { position: relative; padding: 24px 18px 18px; border: 1px solid var(--dq-line); border-radius: var(--dq-radius); }
.dq-step::before {
  counter-increment: dq-step; content: counter(dq-step);
  position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--dq-orange); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.dq-step h4 { font-size: 15.5px; margin: 6px 0 6px; font-weight: 700; }
.dq-step p { font-size: 14px; color: var(--dq-muted); margin: 0; }

/* ---- Icon panel (used where no authentic photography is available yet) ---- */
.dq-icon-panel {
  border-radius: var(--dq-radius-lg);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.dq-icon-panel i { font-size: 96px; opacity: .9; }
.dq-icon-panel.tone-mint { background: linear-gradient(145deg, #d7ede6 0%, var(--dq-mint) 100%); color: var(--dq-teal-deep); }
.dq-icon-panel.tone-orange { background: linear-gradient(145deg, #ffe2bb 0%, var(--dq-orange-soft) 100%); color: var(--dq-orange-dark); }
.dq-icon-panel.tone-teal { background: linear-gradient(145deg, #0d7d6b 0%, var(--dq-teal-deep) 100%); color: #eafaf5; }
.dq-icon-panel .dq-icon-panel-ring {
  position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px dashed currentColor; opacity: .25;
}

/* ---- Business band ---- */
.dq-business-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .dq-business-grid { grid-template-columns: 1fr; } }
.dq-business-list { list-style: none; margin: 18px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dq-business-list li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }

/* ---- Proof / trust strip (qualitative — see build notes) ---- */
.dq-trust-strip { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; }
.dq-trust-strip .dq-trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--dq-teal-deep); }
.dq-trust-strip .dq-trust-item i { font-size: 18px; }

/* ---- FAQ ---- */
.dq-accordion .accordion-item { border: none; border-bottom: 1px solid var(--dq-line); border-radius: 0 !important; background: transparent; }
.dq-accordion .accordion-button {
  font-weight: 700; font-size: 16px; padding: 20px 6px; background: transparent; box-shadow: none; color: var(--dq-ink);
}
.dq-accordion .accordion-button:not(.collapsed) { color: var(--dq-teal-deep); background: transparent; }
.dq-accordion .accordion-button::after { filter: none; }
.dq-accordion .accordion-body { padding: 0 6px 22px; color: var(--dq-muted); font-size: 15px; max-width: 68ch; }

/* ---- App download cards ---- */
.dq-app-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .dq-app-cta { grid-template-columns: 1fr; } }
.dq-app-card {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--dq-line); border-radius: var(--dq-radius);
  padding: 18px 20px; box-shadow: var(--dq-shadow);
}
.dq-app-card img.dq-qr { width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--dq-line); padding: 4px; }
.dq-app-card .dq-app-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--dq-teal-deep); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; flex: none; }
.dq-app-card strong { display: block; font-size: 15.5px; }
.dq-app-card span { font-size: 13px; color: var(--dq-muted); }
.dq-app-card .dq-arrow { margin-left: auto; font-size: 20px; color: var(--dq-muted); }

.dq-store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.dq-store-badges img { height: 42px; width: auto; }

/* ---- Footer ---- */
.dq-footer { background: var(--dq-teal-deep); color: #cfe6df; }
.dq-footer a { color: #cfe6df; }
.dq-footer a:hover { color: #fff; }
.dq-footer-top { padding-block: 56px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .dq-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dq-footer-top { grid-template-columns: 1fr; } }
.dq-footer h6 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin-bottom: 16px; }
.dq-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.dq-footer-logo img { height: 30px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.dq-footer-brand p { font-size: 14px; color: #a9c9c1; max-width: 32ch; }
.dq-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px; font-size: 13px; color: #a9c9c1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.dq-badge-preview { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 3px 10px; border-radius: 999px; }

/* ---- Page header (secondary pages) ---- */
.dq-page-hero { padding-block: 48px 40px; background: var(--dq-warm); }
.dq-breadcrumb { font-size: 13.5px; color: var(--dq-muted); margin-bottom: 14px; }
.dq-breadcrumb a { color: var(--dq-muted); }
.dq-breadcrumb a:hover { color: var(--dq-teal); }

.dq-callout { background: var(--dq-mint); border-left: 4px solid var(--dq-teal-2); border-radius: 0 var(--dq-radius-sm) var(--dq-radius-sm) 0; padding: 16px 20px; font-size: 14.5px; color: var(--dq-ink); }
.dq-callout.dq-callout-orange { background: var(--dq-orange-soft); border-left-color: var(--dq-orange); }
.dq-callout strong { color: var(--dq-teal-deep); }

.dq-track-form { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--dq-line); border-radius: var(--dq-radius-lg); box-shadow: var(--dq-shadow); padding: 32px; }
.dq-track-form input { width: 100%; border: 1px solid var(--dq-line); border-radius: var(--dq-radius-sm); padding: 14px 16px; font-size: 15px; font-family: var(--dq-font); min-height: 48px; margin-bottom: 14px; }

.dq-help-tabs { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.dq-help-tabs button { border: 1px solid var(--dq-line); background: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--dq-ink); }
.dq-help-tabs button.active { background: var(--dq-teal-deep); border-color: var(--dq-teal-deep); color: #fff; }
.dq-help-panel { display: none; }
.dq-help-panel.is-active { display: block; }

/* Content list used on Delivery/Drive detail pages */
.dq-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dq-check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.dq-check-list li::before { content: "\2713"; color: var(--dq-teal-2); font-weight: 900; flex: none; margin-top: 2px; }

.dq-limits-note { font-size: 13.5px; color: var(--dq-muted); margin-top: 8px; }

/* ---- Rich content (privacy/terms/blog body) ---- */
.dq-prose { font-size: 15.5px; line-height: 1.75; color: var(--dq-ink); }
.dq-prose h1, .dq-prose h2, .dq-prose h3, .dq-prose h4 { font-family: var(--dq-font); font-weight: 800; color: var(--dq-teal-deep); margin: 1.6em 0 .6em; line-height: 1.25; }
.dq-prose h1 { font-size: 28px; }
.dq-prose h2 { font-size: 23px; }
.dq-prose h3 { font-size: 19px; }
.dq-prose p { margin: 0 0 1.1em; }
.dq-prose ul, .dq-prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.dq-prose li { margin-bottom: .4em; }
.dq-prose a { color: var(--dq-teal-2); text-decoration: underline; }
.dq-prose img { border-radius: var(--dq-radius-sm); margin: 1em 0; }
.dq-prose blockquote { border-left: 3px solid var(--dq-orange); padding-left: 16px; color: var(--dq-muted); font-style: italic; margin: 1.4em 0; }
.dq-prose > *:first-child { margin-top: 0; }

/* ---- Blog: category pills / search ---- */
.dq-blog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.dq-pill-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.dq-pill-nav a { border: 1px solid var(--dq-line); padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--dq-ink); white-space: nowrap; }
.dq-pill-nav a:hover { border-color: var(--dq-teal-2); color: var(--dq-teal-2); }
.dq-pill-nav a.active { background: var(--dq-teal-deep); border-color: var(--dq-teal-deep); color: #fff; }
.dq-blog-search { position: relative; width: 100%; max-width: 320px; }
.dq-blog-search input {
  width: 100%; border: 1px solid var(--dq-line); border-radius: 999px; padding: 10px 40px 10px 18px;
  font-family: var(--dq-font); font-size: 14px; min-height: 44px;
}
.dq-blog-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: none; background: transparent; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dq-teal-deep); }
.dq-blog-search button:hover { background: var(--dq-mint); }

/* ---- Blog: layout + cards ---- */
.dq-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
@media (max-width: 991px) { .dq-blog-layout { grid-template-columns: 1fr; } }
.dq-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dq-blog-layout.no-sidebar .dq-blog-grid, .dq-blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .dq-blog-grid, .dq-blog-layout.no-sidebar .dq-blog-grid, .dq-blog-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .dq-blog-grid, .dq-blog-layout.no-sidebar .dq-blog-grid, .dq-blog-grid-3 { grid-template-columns: 1fr; } }

.dq-blog-card { border: 1px solid var(--dq-line); border-radius: var(--dq-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; height: 100%; }
.dq-blog-card .dq-blog-card-img { aspect-ratio: 16/10; background: var(--dq-mint); overflow: hidden; }
.dq-blog-card .dq-blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dq-blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.dq-blog-card .dq-blog-tag { display: inline-block; background: var(--dq-mint); color: var(--dq-teal-deep); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; width: fit-content; }
.dq-blog-card h3 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.35; }
.dq-blog-card h3 a { color: var(--dq-ink); }
.dq-blog-card h3 a:hover { color: var(--dq-teal-2); }
.dq-blog-card-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--dq-muted); margin-top: auto; padding-top: 8px; }

.dq-blog-sidebar-card { border: 1px solid var(--dq-line); border-radius: var(--dq-radius); padding: 20px; }
.dq-blog-sidebar-card + .dq-blog-sidebar-card { margin-top: 20px; }
.dq-blog-sidebar-card h4 { font-size: 15px; font-weight: 800; margin: 0 0 16px; }
.dq-recent-post { display: flex; gap: 12px; }
.dq-recent-post + .dq-recent-post { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--dq-line); }
.dq-recent-post img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; background: var(--dq-mint); }
.dq-recent-post h6 { font-size: 13.5px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.dq-recent-post h6 a { color: var(--dq-ink); }
.dq-recent-post span { font-size: 12px; color: var(--dq-muted); }

.dq-no-results { text-align: center; padding: 60px 20px; color: var(--dq-muted); }
.dq-no-results i { font-size: 40px; color: var(--dq-line); display: block; margin-bottom: 12px; }

/* Laravel's default pagination view, re-skinned */
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 32px 0 0; justify-content: center; }
.pagination .page-item .page-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--dq-line); color: var(--dq-ink); font-weight: 600; font-size: 14px; }
.pagination .page-item.active .page-link { background: var(--dq-teal-deep); border-color: var(--dq-teal-deep); color: #fff; }
.pagination .page-item.disabled .page-link { color: var(--dq-line); }

/* ---- Blog details ---- */
.dq-blog-article-head { text-align: center; max-width: 760px; margin: 0 auto; }
.dq-blog-article-meta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--dq-muted); margin-top: 14px; }
.dq-blog-article-meta a { color: var(--dq-teal-2); text-decoration: underline; }
.dq-blog-hero-img { width: 100%; aspect-ratio: 2/1; object-fit: cover; border-radius: var(--dq-radius-lg); margin: 32px 0; }
.dq-toc { border: 1px solid var(--dq-line); border-radius: var(--dq-radius); padding: 20px; }
.dq-toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; margin: 0 0 14px; }
.dq-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dq-toc a { font-size: 13.5px; color: var(--dq-muted); }
.dq-toc a:hover { color: var(--dq-teal-2); }
.dq-share-row { display: flex; justify-content: center; gap: 12px; margin: 24px 0; }
.dq-share-row a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--dq-line); display: flex; align-items: center; justify-content: center; color: var(--dq-teal-deep); font-size: 16px; }
.dq-share-row a:hover { background: var(--dq-mint); }
