/* Combinamos — Blog shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral: #E05740;
  --coral-soft: #F0997B;
  --coral-light: #FAECE7;
  --coral-dark: #C4412C;
  --offwhite: #FBF7F5;
  --black: #2C2C2A;
  --gray: #8A857F;
  --gray-light: #E8E4E1;
  --max: 640px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--offwhite);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.brand-mark { width: 30px; height: 26px; color: var(--coral); flex-shrink: 0; }
.brand-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--coral);
  letter-spacing: -0.5px;
  line-height: 1;
}
.brand-text-soft { color: var(--black); }

/* Top nav */
.blog-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224,87,64,0.08);
}
.blog-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-link {
  font-weight: 500;
  font-size: 14px;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--coral); }
.nav-link[aria-current="page"] { color: var(--coral); }
.nav-pill {
  background: var(--coral);
  color: white;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-pill:hover { background: var(--coral-dark); }

/* Layout container */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* Blog index hero */
.blog-hero {
  padding: 56px 22px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--coral-light) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral-light);
  color: var(--coral);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  position: relative;
}
.blog-h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--black);
  position: relative;
}
.blog-h1 em { color: var(--coral); font-style: normal; }
.blog-lede {
  font-size: 17px;
  color: #5e5b56;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
  position: relative;
}

/* Article card grid (blog index) */
.posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px 0 56px;
}
@media (min-width: 600px) {
  .posts { grid-template-columns: 1fr 1fr; gap: 22px; }
  .posts .post-card.featured { grid-column: 1 / -1; }
}

.post-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 14px rgba(44,44,42,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(224,87,64,0.12);
  border-color: rgba(224,87,64,0.15);
}
.post-cover {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
}
.post-cover .post-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.post-card.featured .post-cover { aspect-ratio: 21 / 9; font-size: 80px; }
.post-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.post-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--black);
}
.post-card.featured .post-title { font-size: 24px; }
.post-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 14px;
}
.post-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}
.post-meta-dot { width: 3px; height: 3px; background: var(--gray); border-radius: 50%; }

/* Post background helpers */
.bg-coral { background: linear-gradient(135deg, var(--coral-light) 0%, #fce4dc 100%); }
.bg-blue { background: linear-gradient(135deg, #E8F4FD 0%, #d6ebfa 100%); }
.bg-green { background: linear-gradient(135deg, #EAFAF1 0%, #d6f3e3 100%); }
.bg-yellow { background: linear-gradient(135deg, #FDF8E8 0%, #faedc6 100%); }
.bg-purple { background: linear-gradient(135deg, #F3E8FD 0%, #e7d4f9 100%); }

/* Article page */
.article-hero {
  padding: 48px 22px 24px;
}
.article-meta-top {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
}
.article-cat {
  background: var(--coral-light);
  color: var(--coral);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: var(--black);
}
.article-title em { color: var(--coral); font-style: normal; }
.article-dek {
  font-size: 18px;
  color: #5e5b56;
  line-height: 1.55;
  margin-bottom: 24px;
}
.article-cover {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 110px;
  margin-bottom: 36px;
}

/* Prose body */
.prose {
  font-size: 17px;
  line-height: 1.7;
  color: #2c2c2a;
}
.prose > * { margin-bottom: 22px; }
.prose h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.2;
  margin: 40px 0 14px;
  color: var(--black);
  letter-spacing: -0.3px;
}
.prose h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  margin: 28px 0 10px;
  color: var(--black);
}
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--coral-dark); font-weight: 600; }
.prose a {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote {
  border-left: 4px solid var(--coral);
  background: var(--coral-light);
  padding: 18px 22px;
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
  line-height: 1.45;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: none; border-top: 1px solid var(--gray-light); margin: 36px 0; }

.callout {
  background: white;
  border-radius: 18px;
  padding: 22px 24px;
  border: 1.5px solid var(--coral-light);
  margin: 28px 0;
}
.callout-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Inline product CTA */
.product-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--coral-light);
  border-radius: 18px;
  padding: 16px 18px;
  margin: 24px 0;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.product-cta:hover { border-color: var(--coral); transform: translateY(-1px); }
.product-cta-emoji {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.product-cta-info { flex: 1; min-width: 0; }
.product-cta-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 2px;
}
.product-cta-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.product-cta-arrow { color: var(--coral); flex-shrink: 0; font-weight: 700; }

/* Related */
.related {
  margin: 56px 0 24px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-light);
}
.related-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--black);
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .related-grid { grid-template-columns: 1fr 1fr; } }

/* Final CTA in article */
.shop-cta {
  background: var(--coral);
  color: white;
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  margin: 40px 0;
}
.shop-cta-h {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.shop-cta-p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 22px;
}
.shop-cta-btn {
  display: inline-block;
  background: white;
  color: var(--coral);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Footer */
.blog-footer {
  background: var(--black);
  color: white;
  padding: 40px 22px;
  text-align: center;
  margin-top: 40px;
}
.blog-footer .brand { justify-content: center; margin-bottom: 6px; }
.blog-footer .brand-text-soft { color: white; }
.blog-footer-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}
.blog-footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.blog-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.blog-footer-links a:hover { color: white; }
.blog-footer-bottom { font-size: 11px; color: rgba(255,255,255,0.3); }

/* Responsive */
@media (max-width: 600px) {
  .blog-h1 { font-size: 32px; }
  .article-title { font-size: 28px; }
  .article-cover { font-size: 80px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; }
}
