/* Layout for the topic/SEO pages (qr-galerija-za-svadbu, online-galerija, ...).
   Rides on top of landing.css and reuses its variables, nav, footer and buttons. */

.sp { padding-top: 92px; }

.sp-crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--warm-gray);
  padding: 18px 0 0;
}
.sp-crumbs a { color: var(--warm-gray); text-decoration: none; }
.sp-crumbs a:hover { color: var(--coral-text); text-decoration: underline; }

/* --- hero ---------------------------------------------------------- */
.sp-hero { padding: 34px 0 56px; }
.sp-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  max-width: 17ch;
  margin-bottom: 20px;
}
.sp-hero .accent { color: var(--coral); }
.sp-lede {
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 26px;
}

/* --- prose --------------------------------------------------------- */
.sp-section { padding: 44px 0; border-top: 1px solid var(--line-soft); }
.sp-section > .container > h2,
.sp-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 22ch;
}
.sp-section h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 2.1vw, 20px);
  letter-spacing: -0.01em;
  margin: 26px 0 8px;
}
.sp-prose p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 68ch;
  margin-bottom: 14px;
}
.sp-prose ul { max-width: 68ch; margin: 0 0 16px; padding-left: 0; list-style: none; }
.sp-prose li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.sp-prose li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}
.sp-prose a { color: var(--coral-text); text-decoration: underline; text-underline-offset: 2px; }

/* --- step / feature cards ------------------------------------------ */
.sp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.sp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
}
.sp-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--coral);
  letter-spacing: .06em;
  display: block;
  margin-bottom: 10px;
}
.sp-card h3 { margin: 0 0 7px; font-size: 17px; }
.sp-card p { font-size: 14.5px; line-height: 1.58; color: var(--warm-gray); margin: 0; }

/* --- comparison table ---------------------------------------------- */
.sp-table-wrap { overflow-x: auto; margin-top: 22px; }
.sp-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 15px;
}
.sp-table th, .sp-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.sp-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  background: var(--cream-soft);
}
.sp-table tbody tr:last-child td { border-bottom: none; }
.sp-table td:first-child { color: var(--ink); font-weight: 500; }
.sp-table td { color: var(--ink-soft); }

/* --- marketing photos ------------------------------------------------ */
.sp-figure { margin: 28px 0 0; }
.sp-figure img {
  display: block;
  width: 100%;
  height: auto;
  /* aspect-ratio comes inline from the slot's declared w/h; cover crops the
     upload to it so the reserved space is always right and nothing shifts. */
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--cream-soft);
}
.sp-figure figcaption {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--warm-gray);
  max-width: 52ch;
}
/* Portrait/phone shots keep their own tall shape, so cap the width or they
   dominate the page. 420px at 9:16 is roughly 735px tall, which is as much
   vertical space as a single photo should take here. */
.sp-figure--portrait img { max-width: 420px; }
.sp-figure--phone img { max-width: 360px; }
.sp-figure--portrait figcaption,
.sp-figure--phone figcaption { max-width: 420px; }

/* --- related links -------------------------------------------------- */
.sp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.sp-related a {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  transition: border-color .15s, color .15s;
}
.sp-related a:hover { border-color: var(--coral); color: var(--coral-text); }

@media (max-width: 640px) {
  .sp { padding-top: 76px; }
  .sp-hero { padding: 24px 0 40px; }
  .sp-section { padding: 34px 0; }
}
