/* ==========================================================
   Sleepover Club — Shared Brand CSS
   Icons, email capture, utility classes
   ========================================================== */

/* ── Brand Icon System ── */
.ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}
.ic svg { width: 100%; height: 100%; }

/* Standalone use-element shorthand */
.brand-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  overflow: visible;
}
.brand-icon-sm { width: 18px; height: 18px; }
.brand-icon-lg { width: 36px; height: 36px; }
.brand-icon-xl { width: 56px; height: 56px; }

/* Icon container helpers — center SVG icons in their wrappers */
.step-icon .brand-icon,
.step-icon .brand-icon-xl,
.gal-item .brand-icon-xl,
.included-icon .brand-icon-lg,
.value-icon .brand-icon-lg,
.expect-icon .brand-icon-lg {
  display: block;
  margin: 0 auto;
}
/* Inline icon containers: keep inline */
.addon-icon .brand-icon,
.bt-icon .brand-icon-lg,
.favor-emoji .brand-icon,
.theme-emoji .brand-icon,
.ci-icon .brand-icon {
  display: inline-block;
  vertical-align: middle;
}

/* ── Email Capture Section ── */
.email-capture {
  background: linear-gradient(135deg, #fff2f8 0%, #dbf6bd 100%);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  margin: 56px 0;
  border: 2px solid #f8c1da;
}
.email-capture h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #2d2d2d;
  margin-bottom: 10px;
  font-style: italic;
}
.email-capture p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.email-capture-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.email-capture-form input[type="email"] {
  flex: 1 1 240px;
  padding: 12px 18px;
  border: 2px solid #f8c1da;
  border-radius: 50px;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  outline: none;
  background: #fff;
  color: #2d2d2d;
  transition: border-color 0.2s;
}
.email-capture-form input[type="email"]:focus {
  border-color: #ef98be;
}
.email-capture-form button {
  padding: 12px 24px;
  background: #ef98be;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.email-capture-form button:hover {
  background: #e07aa8;
  transform: translateY(-1px);
}
.email-capture .privacy-note {
  font-size: 0.78rem;
  color: #999;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ── Pin It Button ── */
.pin-it-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E60023;
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.pin-it-btn:hover {
  background: #c0001e;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.pin-it-btn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* ── Affiliate Disclaimer ── */
.affiliate-disclaimer {
  background: #fff8f0;
  border-left: 3px solid #ef98be;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}
.affiliate-disclaimer strong {
  color: #ef98be;
}

/* ── Read Time Tag ── */
.read-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: #999;
}

/* ── Related Posts ── */
.related-posts {
  border-top: 2px solid #f8c1da;
  padding-top: 40px;
  margin-top: 56px;
}
.related-posts h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: #2d2d2d;
  margin-bottom: 20px;
  font-style: italic;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
}
.related-card {
  background: #fff2f8;
  border-radius: 14px;
  padding: 18px;
  border: 1.5px solid #f8c1da;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  color: #2d2d2d;
}
.related-card:hover {
  box-shadow: 0 6px 20px rgba(239,152,190,0.2);
  transform: translateY(-2px);
  text-decoration: none;
  color: #2d2d2d;
}
.related-card .rc-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ef98be;
  margin-bottom: 8px;
  display: block;
}
.related-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #2d2d2d;
  margin: 0;
}

/* ── Mid-post Booking CTA ── */
.mid-post-cta {
  background: linear-gradient(135deg, #f8c1da 0%, #fff2f8 50%, #dbf6bd 100%);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.mid-post-cta .cta-text h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #2d2d2d;
}
.mid-post-cta .cta-text p {
  font-size: 0.92rem;
  color: #666;
  margin: 0;
}
.mid-post-cta .cta-action {
  flex-shrink: 0;
  margin-left: auto;
}
@media (max-width: 540px) {
  .mid-post-cta { flex-direction: column; text-align: center; }
  .mid-post-cta .cta-action { margin-left: 0; }
}
.mid-post-cta a {
  display: inline-block;
  padding: 11px 24px;
  background: #ef98be;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.mid-post-cta a:hover {
  background: #e07aa8;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.82rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #ef98be; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #ccc; }

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: 1.5px solid #f8c1da;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  color: #2d2d2d;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question:hover { color: #ef98be; }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 18px;
}
