/* ==========================================================================
   Plushy.app, pSEO Component Styles
   Depends on plushy.css (all vars defined there).
   ========================================================================== */

/* ── Breadcrumbs ── */
.breadcrumbs {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    padding: var(--space-md) 0;
    max-width: 1080px;
    margin: 0 auto;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--pink);
}

.breadcrumb-sep {
    margin: 0 var(--space-sm);
    color: var(--border);
}

/* ==========================================================================
   1, Page layout
   ========================================================================== */
.pseo-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ==========================================================================
   2, Hero
   ========================================================================== */
.pseo-hero {
  text-align: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.pseo-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.pseo-hero-subhead {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* Inline word with SVG scribble underline accent */
.scribble-word {
  position: relative;
  display: inline-block;
  color: var(--pink);
}

.scribble-word svg {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 10px;
  overflow: visible;
  pointer-events: none;
}

.scribble-word svg path {
  stroke: var(--pink);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
}

/* ==========================================================================
   3, Before / After strip
   ========================================================================== */
.ba-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.ba-strip-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  max-width: 320px;
}

.ba-strip-side img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ba-strip-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ba-strip-arrow {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--pink-tint);
  border: 2px solid var(--pink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pink);
  font-size: 22px;
}

/* ==========================================================================
   4, Group hero (2×2 grid for family / couple pages)
   ========================================================================== */
.group-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.group-hero img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   5, Upload CTA card (pSEO in-page)
   ========================================================================== */
.pseo-upload-card {
  background: var(--pink-tint);
  border: 2px dashed var(--pink-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-md);
}

.pseo-upload-icon {
  width: 64px;
  height: 64px;
  background: var(--surface);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-sm);
  color: var(--pink);
  font-size: 26px;
}

.pseo-upload-icon svg {
  width: 28px;
  height: 28px;
}

.pseo-upload-headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.pseo-upload-subtext {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   6, Primary CTA button (full-width pink pill, outside upload card)
   ========================================================================== */
.pseo-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 16px var(--space-xl);
  background: var(--pink);
  color: var(--surface);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(244, 123, 174, 0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  margin-bottom: var(--space-xl);
}

.pseo-cta-primary:hover {
  background: var(--pink-deep);
  color: var(--surface);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244, 123, 174, 0.38);
}

/* ==========================================================================
   7, Pill links (subject / style navigation)
   ========================================================================== */
.pill-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
}

.pill-link {
  display: inline-block;
  padding: 8px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pill-link:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-tint);
}

.pill-link.active {
  background: var(--pink-tint);
  border-color: var(--pink);
  color: var(--pink);
  font-weight: 700;
}

/* ==========================================================================
   8, Differentiation block
   ========================================================================== */
.diff-block {
  background: var(--blue-tint);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.diff-block-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: var(--space-sm);
}

.diff-block-headline {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.diff-block p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   9, Examples grid
   ========================================================================== */
.examples-section {
  padding: var(--space-3xl) 0;
}

.examples-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.example-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.example-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.example-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.example-card-caption {
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   10, Editorial article
   ========================================================================== */
.editorial-article {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.editorial-article h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.editorial-article p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.editorial-article blockquote {
  border-left: 4px solid var(--pink);
  background: var(--pink-tint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

/* ==========================================================================
   11, Hub gallery (style hub / subject hub pages)
   ========================================================================== */
.hub-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-2xl) 0;
}

.hub-gallery-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
}

.hub-gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.hub-gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.hub-gallery-card-caption {
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* ==========================================================================
   12, CTA box (section-level call to action)
   ========================================================================== */
.cta-box {
  background: var(--pink-tint);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  margin: var(--space-3xl) 0;
  box-shadow: var(--shadow-sm);
}

.cta-box-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.cta-box-text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   13, Subject hub hero elements
   ========================================================================== */
.subject-hero-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: block;
  margin: 0 auto var(--space-xl);
}

.subject-intro {
  max-width: var(--content-narrow);
  margin: 0 auto var(--space-2xl);
  text-align: center;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   14, Responsive breakpoints
   ========================================================================== */

/* Tablet: 768px */
@media (max-width: 768px) {
  .pseo-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .pseo-hero-subhead {
    font-size: 17px;
  }

  .ba-strip {
    gap: var(--space-md);
  }

  .ba-strip-side {
    max-width: 240px;
  }

  .group-hero {
    max-width: 480px;
  }

  .examples-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hub-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .diff-block-headline {
    font-size: 21px;
  }

  .cta-box {
    padding: var(--space-xl);
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .pseo-page {
    padding: 0 var(--space-md);
  }

  .pseo-hero {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .pseo-hero-subhead {
    font-size: 16px;
  }

  .ba-strip {
    flex-direction: column;
    gap: var(--space-md);
  }

  .ba-strip-side {
    max-width: 100%;
    width: 100%;
  }

  .ba-strip-arrow {
    transform: rotate(90deg);
  }

  .group-hero {
    gap: var(--space-sm);
  }

  .pseo-upload-card {
    padding: var(--space-xl) var(--space-md);
  }

  .pseo-upload-headline {
    font-size: 19px;
  }

  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-article h2 {
    font-size: 20px;
  }

  .editorial-article blockquote {
    font-size: 16px;
  }

  .diff-block {
    padding: var(--space-lg);
  }

  .diff-block-headline {
    font-size: 19px;
  }

  .cta-box {
    padding: var(--space-lg);
  }

  .cta-box-headline {
    font-size: 22px;
  }

  .subject-hero-img {
    width: 160px;
    height: 160px;
  }

  .pill-links {
    gap: var(--space-xs);
  }

  .pill-link {
    padding: 6px 14px;
    font-size: 13px;
  }
}
