/* Page-specific refinements for /hidden-cameras/small-hidden-camera.
   The shared Family 3 stylesheet remains the source of global layout,
   navigation, footer, social icons, floating buttons, tables and FAQ styles. */

.hero-v2 .family-hero {
  background:
    radial-gradient(circle at 84% 42%, rgba(255,255,255,.96) 0 13%, rgba(246,239,218,.76) 37%, transparent 62%),
    linear-gradient(120deg,#faf8f2 52%,#e8dfc7);
}

.hero-v2 .hero-grid {
  min-height: 620px;
  grid-template-columns: minmax(0,1.05fr) minmax(400px,.95fr);
  gap: 48px;
}

.hero-v2 .hero-visual {
  min-height: 550px;
}

.hero-v2 .hero-visual img {
  max-height: 570px;
  border-radius: 28px;
  filter: drop-shadow(0 24px 26px rgba(45,36,18,.18));
  -webkit-mask-image: radial-gradient(ellipse 76% 86% at 50% 48%,#000 56%,rgba(0,0,0,.92) 72%,transparent 100%);
  mask-image: radial-gradient(ellipse 76% 86% at 50% 48%,#000 56%,rgba(0,0,0,.92) 72%,transparent 100%);
}

.hero-v2 .toc {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px 14px;
  padding: 22px;
}

.hero-v2 .toc strong {
  grid-column: 1/-1;
  margin-bottom: 3px;
}

.hero-v2 .toc a {
  position: relative;
  padding: 9px 12px 9px 28px;
  border: 1px solid #e3dbc7;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  line-height: 1.35;
}

.hero-v2 .toc a::before {
  content: "→";
  position: absolute;
  left: 10px;
  color: var(--red);
  font-weight: 900;
}

.hero-v2 .toc a:hover,
.hero-v2 .toc a:focus-visible {
  border-color: var(--gold);
  background: #fff9e9;
}

.product-examples {
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: stretch;
}

.product-example {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 20px;
  overflow: hidden;
  background: #faf8f2;
}

.product-example figure {
  margin: 0 0 17px;
  padding: 10px;
  border-radius: 9px;
  background: #fff;
}

.product-example img {
  display: block;
  width: 100%;
  height: 285px;
  object-fit: contain;
  border-radius: 7px;
}

.product-example h3 {
  margin-bottom: 8px;
  line-height: 1.25;
}

.product-example p {
  margin: 0;
}

#comparison table {
  min-width: 920px;
}

#comparison tbody th {
  width: 17%;
}

#media video {
  width: min(100%,440px);
  max-height: 720px;
  aspect-ratio: 9/16;
  object-fit: contain;
}

/* Customer reviews: one featured testimonial and two supporting cards. */
#reviews .reviews-grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(290px,.75fr);
  gap: 16px;
  align-items: stretch;
}

#reviews .review-card {
  position: relative;
  min-width: 0;
  padding: 28px 26px 24px;
  border: 1px solid #ded7c8;
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  background: linear-gradient(145deg,#fff,#faf7ee);
  box-shadow: 0 12px 28px rgba(0,0,0,.065);
}

#reviews .review-card:first-child {
  grid-row: span 2;
  padding: 34px 32px 28px;
  border-top-color: var(--red);
  background: linear-gradient(145deg,#fffdf8,#f4ead0);
}

#reviews .review-card blockquote {
  position: relative;
  z-index: 1;
  margin: 16px 0 22px;
  color: #292929;
  font-size: 15px;
  line-height: 1.72;
}

#reviews .review-card:first-child blockquote {
  font-size: 17px;
  line-height: 1.75;
}

#reviews .review-card blockquote::before {
  content: "“";
  position: absolute;
  z-index: -1;
  top: -34px;
  left: -9px;
  color: rgba(212,166,43,.18);
  font: 900 84px/1 Georgia,serif;
}

#reviews .review-card strong {
  display: block;
  margin-top: auto;
  color: #111;
  font-size: 15px;
}

#reviews .review-card a {
  align-self: flex-start;
  margin-top: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(169,15,19,.28);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}

#reviews .review-card a::after {
  content: " ↗";
}

#reviews .review-card a:hover,
#reviews .review-card a:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

/* Responsible-use sources: legal references shown as clear source buttons. */
#responsible-use {
  padding: 42px 50px;
  border-left: 0;
  background: linear-gradient(135deg,#fffaf0,#f3e7c6);
}

#responsible-use .source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding-top: 19px;
  border-top: 1px solid rgba(98,76,22,.22);
  font-size: 0;
}

#responsible-use .source-links::before {
  content: "Official legal references";
  width: 100%;
  margin-bottom: 2px;
  color: #554720;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#responsible-use .source-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1px solid #bea04e;
  border-radius: 8px;
  background: #fff;
  color: #6f0b0e;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
}

#responsible-use .source-links a::after {
  content: "↗";
  color: var(--red);
  font-weight: 900;
}

#responsible-use .source-links a:hover,
#responsible-use .source-links a:focus-visible {
  border-color: var(--red);
  background: #fff8e4;
}

@media (max-width: 1100px) {
  .product-examples {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .product-example:last-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 980px) {
  .hero-v2 .hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-v2 .hero-visual {
    min-height: 440px;
    height: 440px;
  }

  .hero-v2 .hero-visual img {
    max-height: 435px;
  }

  #reviews .reviews-grid {
    grid-template-columns: 1fr;
  }

  #reviews .review-card:first-child {
    grid-row: auto;
  }
}

@media (max-width: 650px) {
  .hero-v2 .hero-grid {
    display: grid;
    gap: 14px;
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .hero-v2 .hero-copy {
    display: contents;
  }

  .hero-v2 .hero-copy .kicker {
    order: 1;
  }

  .hero-v2 .hero-copy h1 {
    order: 2;
    margin-bottom: 4px;
  }

  .hero-v2 .hero-visual {
    order: 3;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 4;
    margin: 4px 0 8px;
    overflow: hidden;
    border: 1px solid rgba(164,124,23,.35);
    border-radius: 18px;
    background: #eee8d9;
    box-shadow: 0 17px 34px rgba(52,43,24,.16);
  }

  .hero-v2 .hero-visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-v2 .hero-copy > p {
    order: 4;
    margin: 4px 0 0;
  }

  .hero-v2 .hero-copy .actions {
    order: 5;
    margin-top: 8px;
  }

  .hero-v2 .hero-copy > small {
    order: 6;
    margin-top: 2px;
  }

  .hero-v2 .toc {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 16px;
  }

  .hero-v2 .toc strong {
    grid-column: auto;
  }

  .hero-v2 .toc a {
    padding: 9px 10px 9px 27px;
  }

  .product-examples {
    grid-template-columns: 1fr;
  }

  .product-example:last-child {
    grid-column: auto;
  }

  .product-example img {
    height: 310px;
  }

  #reviews .review-card,
  #reviews .review-card:first-child {
    padding: 24px 20px 21px;
  }

  #reviews .review-card:first-child blockquote {
    font-size: 15px;
  }

  #responsible-use {
    padding: 30px 20px;
  }

  #responsible-use .source-links {
    display: grid;
  }

  #responsible-use .source-links a {
    justify-content: space-between;
    width: 100%;
  }
}
