/*
 * QuantumVision camera product pages (template-pages/temp_qv_product.php)
 * Everything is scoped under .qpd so it can't leak into the rest of the site.
 * Same visual language as the family page (css/video-protection.css, .qvp):
 * #305fac primary, #6ca8d2 secondary, #e2eef6 light, Montserrat.
 */

/* Undo theme base rules (css/style.css sets colour/weight/size on div, p, a, li, h1, h2). */
.qpd{font-family:"Montserrat",sans-serif;color:var(--ink);font-size:17px;line-height:1.6;letter-spacing:.2px;background:#fff;clear:both}
.qpd div,.qpd p,.qpd a,.qpd li,.qpd ul,.qpd ol,.qpd span,.qpd table,.qpd th,.qpd td{color:inherit;font-weight:inherit}
.qpd p{font-size:inherit;line-height:inherit;letter-spacing:inherit}
.qpd img{max-width:100%;height:auto;display:block}
.qpd :focus-visible{outline:3px solid #f79320;outline-offset:2px}
.qpd .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* The theme renders the featured image as a full-width banner above the content;
   on these pages it is the hero visual instead. */
.qpd-page .inner-contact-banner{display:none}

.qpd{--blue:#305fac; --blue-dark:#1f3b78; --navy:#14264d; --sky:#6ca8d2; --ice:#e2eef6;
  --ink:#1b1f2a; --muted:#4a5468; --line:#d6e2ee; --white:#fff; --amber:#f79320;}
.qpd h1,.qpd h2,.qpd h3{margin:0;color:var(--blue);font-weight:700;line-height:1.15;letter-spacing:.3px}
.qpd p{margin:0 0 14px}
.qpd .qpd-container{width:1170px;max-width:calc(100% - 32px);margin:0 auto}
.qpd .qpd-narrow{max-width:820px}
.qpd .qpd-center{text-align:center}
.qpd section{padding:76px 0}
.qpd .qpd-bg-ice{background:var(--ice)}
.qpd .qpd-bg-navy{background:var(--navy);color:#fff}
.qpd .qpd-bg-navy h2,.qpd .qpd-bg-navy h3{color:#fff}
.qpd .qpd-nowrap{white-space:nowrap}

/* Buttons */
.qpd .qpd-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 16px/1.2 "Montserrat",sans-serif;text-transform:uppercase;letter-spacing:.4px;padding:15px 26px;border:1px solid var(--blue);text-decoration:none;cursor:pointer;transition:background .25s,color .25s;text-align:center}
.qpd .qpd-btn-primary{background:var(--sky);color:#fff}
.qpd .qpd-btn-primary:hover{background:var(--blue)}
.qpd .qpd-btn-ghost{background:transparent;color:var(--blue)}
.qpd .qpd-btn-ghost:hover{background:#fff}
.qpd .qpd-btn-light{background:#fff;color:var(--blue);border-color:#fff}
.qpd .qpd-btn-light:hover{background:var(--ice)}
.qpd .qpd-btn-outline-light{background:transparent;border-color:rgba(255,255,255,.6);color:#fff}
.qpd .qpd-btn-outline-light:hover{background:rgba(255,255,255,.08)}
.qpd .qpd-btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.qpd .qpd-textlink{font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.6px;color:var(--blue);text-decoration:none;border-bottom:2px solid var(--sky);padding-bottom:2px}
.qpd .qpd-textlink:hover{color:var(--navy)}

/* Section heads */
.qpd .qpd-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--sky);margin-bottom:12px}
.qpd .qpd-sec-head{max-width:780px;margin-bottom:34px}
.qpd .qpd-sec-head.qpd-center{margin-left:auto;margin-right:auto}
.qpd .qpd-sec-head h2{font-size:36px;color:var(--navy)}
.qpd .qpd-sec-head p{margin:14px 0 0;color:var(--muted)}
.qpd .qpd-bg-navy .qpd-sec-head h2{color:#fff}

/* Editors only */
.qpd .qpd-placeholder{background:repeating-linear-gradient(-45deg,#fffaf2,#fffaf2 8px,#fff3e3 8px,#fff3e3 16px);border:1px dashed #e0a24f;color:#7a4300;padding:10px 12px;font-size:13px;margin-bottom:14px;text-align:left}
.qpd .qpd-placeholder code{font-size:12px}
.qpd .qpd-flag{flex:none;display:inline-block;background:repeating-linear-gradient(-45deg,#fffaf2,#fffaf2 8px,#fff3e3 8px,#fff3e3 16px);border:1px dashed #e0a24f;color:#7a4300;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;padding:4px 8px;border-radius:3px;white-space:nowrap;margin-left:8px}
.qpd .qpd-missing{background-image:repeating-linear-gradient(-45deg,transparent,transparent 6px,rgba(224,162,79,.25) 6px,rgba(224,162,79,.25) 12px);outline:2px dashed #e0a24f;outline-offset:2px;cursor:help}
.qpd .qpd-row-pending th,.qpd .qpd-row-pending td{background-image:repeating-linear-gradient(-45deg,transparent,transparent 10px,rgba(224,162,79,.12) 10px,rgba(224,162,79,.12) 20px)}

/* Breadcrumb */
.qpd .qpd-crumbs{padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}
.qpd .qpd-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 0}
.qpd .qpd-crumbs li{color:var(--muted)}
.qpd .qpd-crumbs li+li::before{content:"›";margin:0 8px;color:var(--sky)}
.qpd .qpd-crumbs a{color:var(--blue);text-decoration:none}
.qpd .qpd-crumbs a:hover{text-decoration:underline}

/* 1. Hero */
.qpd .qpd-hero{padding:56px 0 72px;background:linear-gradient(180deg,#f4f8fc 0%,#fff 100%)}
.qpd .qpd-hero .qpd-grid{display:grid;grid-template-columns:55fr 45fr;gap:56px;align-items:center}
.qpd .qpd-hero .qpd-grid-solo{grid-template-columns:1fr;max-width:820px}
.qpd .qpd-hero h1{font-size:22px;letter-spacing:.6px;color:var(--blue);margin-bottom:12px}
.qpd .qpd-headline{font-size:48px;line-height:1.08;font-weight:700;color:var(--navy);margin:0 0 18px}
.qpd .qpd-tagline{font-size:21px;font-weight:600;color:var(--blue);margin:0 0 10px}
.qpd .qpd-lead{font-size:19px;color:var(--muted);max-width:560px}
.qpd .qpd-hero-visual img{width:100%;height:auto;aspect-ratio:4/3.4;object-fit:contain;padding:16px;background:var(--white);border:1px solid var(--line);border-radius:4px;box-sizing:border-box}
.qpd .qpd-hero-visual--fill img{object-fit:cover;padding:0;border:0}
.qpd .qpd-visual-placeholder{aspect-ratio:4/3.4;display:flex;align-items:center;justify-content:center;padding:28px;font-size:14px;margin:0}

/* 2. Problem */
.qpd .qpd-problem{padding:88px 0}
.qpd .qpd-problem h2{font-size:36px;color:var(--navy);margin-bottom:16px}
.qpd .qpd-problem p{font-size:20px;color:var(--muted);margin:0}

/* 3. AI answer block */
.qpd .qpd-answer{padding:48px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.qpd .qpd-answer h2{font-size:26px;color:var(--navy);margin-bottom:12px}
.qpd .qpd-answer p{font-size:17px;line-height:1.7;margin:0}

/* 4. Core features */
.qpd .qpd-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.qpd .qpd-feature{border-top:5px solid var(--blue);background:#fff;padding:28px 26px;box-shadow:0 6px 18px rgba(20,38,77,.06)}
.qpd .qpd-feature h2{font-size:24px;color:var(--navy);margin-bottom:10px}
.qpd .qpd-feature p{margin:0;color:var(--muted)}
.qpd .qpd-feature-lead{grid-column:1 / -1;border-top:0;border-left:6px solid var(--sky);box-shadow:none;background:#f4f8fc;padding:34px 36px}
.qpd .qpd-feature-lead h2{font-size:32px}
.qpd .qpd-feature-lead p{font-size:19px}

/* 5. Recording */
.qpd .qpd-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.qpd .qpd-tile{background:#fff;border:1px solid var(--line);padding:26px 24px}
.qpd .qpd-tile h2,.qpd .qpd-tile h3{font-size:21px;color:var(--navy);margin-bottom:8px}
.qpd .qpd-tile p{margin:0;color:var(--muted);font-size:16px}
.qpd .qpd-family-line{margin:30px 0 0;font-size:22px;font-weight:700;color:var(--navy);text-align:center}

/* 6. Capability tiles */
.qpd .qpd-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.qpd .qpd-tiles .qpd-tile{border-top:4px solid var(--blue)}

/* 7. At a Glance */
.qpd .qpd-glance{width:100%;max-width:860px;border-collapse:collapse;background:#fff;border:1px solid var(--line);font-size:16px}
.qpd .qpd-glance th,.qpd .qpd-glance td{padding:13px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.qpd .qpd-glance th{width:38%;color:var(--navy);font-weight:700;background:#f8fbfd}
.qpd .qpd-glance td{color:var(--ink)}

/* 8. Warranty */
.qpd .qpd-warranty{padding:56px 0}
.qpd .qpd-warranty h2{font-size:28px;color:var(--navy);margin-bottom:10px}
.qpd .qpd-warranty p{margin:0;color:var(--muted)}

/* 9. Right for me */
.qpd .qpd-versus{border:1px solid rgba(255,255,255,.2);border-left:5px solid var(--sky);padding:20px 24px;margin-bottom:30px;max-width:860px}
.qpd .qpd-versus h3{font-size:20px;margin-bottom:6px}
.qpd .qpd-versus p{margin:0;color:#c9d6ea}
.qpd .qpd-fit-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.qpd .qpd-fit-grid h3{font-size:20px;margin-bottom:16px}
.qpd .qpd-checks,.qpd .qpd-alts{list-style:none;margin:0;padding:0}
.qpd .qpd-checks li{position:relative;padding:0 0 0 28px;margin-bottom:12px;color:#dfe8f5}
.qpd .qpd-checks li::before{content:"✓";position:absolute;left:0;color:var(--sky);font-weight:700}
.qpd .qpd-alts li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.15);color:#dfe8f5}
.qpd .qpd-alts li:first-child{padding-top:0}
.qpd .qpd-alts li>span:first-child{flex:1}
.qpd .qpd-alts li>a,.qpd .qpd-alts li>.qpd-missing{flex:none;font-weight:700;color:#fff;white-space:nowrap}
.qpd .qpd-alt-link{text-decoration:none;border-bottom:2px solid var(--sky)}
.qpd .qpd-alt-link:hover{color:var(--sky)}

/* 10. FAQ */
.qpd .qpd-faq{max-width:860px;margin:0 auto}
.qpd .qpd-faq h3{margin:0}
.qpd .qpd-faq button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);padding:20px;font:600 18px "Montserrat",sans-serif;color:var(--navy);cursor:pointer}
.qpd .qpd-faq button:hover{color:var(--blue)}
.qpd .qpd-faq button .qpd-flag{margin-left:auto}
.qpd .qpd-faq button .qpd-ic{flex:none;width:28px;height:28px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--blue);transition:transform .2s}
.qpd .qpd-faq button[aria-expanded="true"] .qpd-ic{transform:rotate(45deg);background:var(--blue);color:#fff;border-color:var(--blue)}
.qpd .qpd-faq .qpd-ans{background:#fff;padding:0 20px 20px;color:var(--muted);border-bottom:1px solid var(--line)}
.qpd .qpd-faq .qpd-ans[hidden]{display:none}
.qpd .qpd-faq .qpd-ans p:last-child{margin:0}
.qpd .qpd-reviewed{text-align:center;font-size:13px;color:var(--muted);margin:28px 0 0}
.qpd .qpd-faq + .qpd-placeholder{margin:28px auto 0}

/* 11. Data sheet */
.qpd .qpd-sheet h2{font-size:30px;color:var(--navy);margin-bottom:12px}
.qpd .qpd-sheet p{color:var(--muted)}
.qpd .qpd-sheet .qpd-btn{margin-top:10px}

/* 12. Related cameras */
.qpd .qpd-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.qpd .qpd-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--blue);padding:22px 20px;display:flex;flex-direction:column}
.qpd .qpd-card h3{font-size:19px;color:var(--navy);margin-bottom:14px;flex:1}
.qpd .qpd-card-job{font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--sky);margin:0 0 6px}
.qpd .qpd-card .qpd-textlink{align-self:flex-start;font-size:12px}

/* 13. Final CTA */
.qpd .qpd-final{background:linear-gradient(120deg,var(--navy) 0%,var(--blue-dark) 100%);color:#fff;text-align:center}
.qpd .qpd-final h2{color:#fff;font-size:42px}
.qpd .qpd-final .qpd-sub{font-size:20px;font-weight:600;color:#d6e6f7;margin:14px auto 6px;max-width:720px}
.qpd .qpd-final .qpd-btn-row{justify-content:center}
.qpd .qpd-final-phone{margin:22px 0 0}
.qpd .qpd-final-call{color:#d6e6f7;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}
.qpd .qpd-final-call:hover{color:#fff}

.qpd [id]{scroll-margin-top:90px}

@media (max-width:1100px){
  .qpd .qpd-cards{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .qpd section{padding:56px 0}
  .qpd .qpd-problem{padding:64px 0}
  .qpd .qpd-hero .qpd-grid{grid-template-columns:1fr;gap:32px}
  .qpd .qpd-headline{font-size:36px}
  .qpd .qpd-sec-head h2,.qpd .qpd-problem h2{font-size:30px}
  .qpd .qpd-tiles,.qpd .qpd-cards{grid-template-columns:1fr 1fr}
  .qpd .qpd-fit-grid{grid-template-columns:1fr;gap:32px}
}
@media (max-width:600px){
  .qpd .qpd-feature-grid,.qpd .qpd-two,.qpd .qpd-tiles,.qpd .qpd-cards{grid-template-columns:1fr}
  .qpd .qpd-feature-lead{padding:24px 22px}
  .qpd .qpd-feature-lead h2{font-size:26px}
  .qpd .qpd-headline{font-size:32px}
  .qpd .qpd-glance th,.qpd .qpd-glance td{padding:11px 12px;font-size:15px}
  .qpd .qpd-glance th{width:44%}
  .qpd .qpd-alts li{flex-direction:column;gap:4px}
  .qpd .qpd-btn{width:100%}
  .qpd .qpd-final h2{font-size:30px}
}

/* Desktop: the theme's nav bar overlaps ~54px of the first content block. */
@media (min-width:1170px){
  .qpd .qpd-crumbs{padding-top:72px}
}
@media (prefers-reduced-motion:reduce){
  .qpd *{transition:none!important}
}
