:root {
  --color-bg: #fefcfb;
  --color-bg-alt: #fff1f7;
  --color-bg-dark: #1a1a1a;
  --color-text: #3b3b3b;
  --color-text-light: #4f4f4f;
  --color-text-dark: #1a1a1a;
  --color-accent: #e8719e;
  --color-accent-hover: #d45c87;
  --color-rose: #f0a0bf;
  --color-rose-light: #fff1f7;
  --color-cream: #fff7fa;
  --color-white: #ffffff;
  --font-heading: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  --section-padding: 3.5rem 1.5rem;
  --container-max: 1140px;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: #4a4a4a;
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
}

p { margin-bottom: 1rem; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
  background: var(--color-accent);
  box-shadow: 0 2px 15px rgba(232,113,158,0.25);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; text-decoration: none; }

.logo .logo-img {
  height: 28px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background-color: var(--color-white);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--color-white); }

.nav-cta { margin-left: 1rem; }

.nav-cta .btn {
  display: inline-block;
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.85);
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
}

.nav-cta .btn:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.burger span {
  display: block;
  width: 26px; height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition);
  border-radius: 2px;
}

/* ── Main content ── */
.blog-page-main {
  padding-top: 70px;
  background: var(--color-bg);
  min-height: calc(100vh - 70px);
}

.blog-hero {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rose) 100%);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  color: var(--color-white);
}

.blog-hero .breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.blog-hero .breadcrumb a { color: rgba(255,255,255,0.9); }
.blog-hero .breadcrumb a:hover { color: #fff; }

.blog-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 2rem auto 0;
  max-width: 860px;
}

/* ── Article ── */
.blog-article-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.blog-article-wrapper .blog-card-tag {
  display: inline-block;
  background: var(--color-rose-light);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--color-accent);
}

.blog-article-wrapper h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.blog-article-wrapper h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--color-accent);
}

.blog-article-wrapper h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.8rem;
}

.blog-article-wrapper p {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.blog-article-wrapper ul {
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.blog-article-wrapper ul li {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.blog-article-wrapper ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.blog-article-wrapper blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-rose-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text-dark);
}

.warning-box {
  background: #fff3e0;
  border-left: 3px solid #ff9800;
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.warning-box h3 { color: #e65100; margin-top: 0; }

.info-box {
  background: var(--color-rose-light);
  border-left: 3px solid var(--color-accent);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* ── CTA section ── */
.article-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rose) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
}

.article-cta h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.article-cta p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }

.btn-cta {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-accent);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-cta:hover {
  background: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ── Related articles ── */
.related-articles {
  background: var(--color-bg-alt);
  padding: 3rem 1.5rem;
}

.related-articles h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.related-divider {
  width: 40px; height: 2px;
  background: var(--color-accent);
  margin: 0 auto 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.related-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(232,113,158,0.08);
  border: 1px solid rgba(232,113,158,0.08);
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  box-shadow: 0 8px 32px rgba(232,113,158,0.18);
  transform: translateY(-4px);
}

.related-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.related-card-body { padding: 1.2rem; }

.related-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.related-card-body h3 {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.related-card-link {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* ── Footer ── */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-accent); }

.footer-contact li {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact svg {
  width: 16px; height: 16px;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.footer-social svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .burger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.2rem;
    padding: 5rem 2rem 2rem;
    transition: right 0.6s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-links a { color: var(--color-text-dark) !important; font-size: 0.95rem; }
  .nav-links.open { right: 0; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn { background: var(--color-accent) !important; border-color: var(--color-accent) !important; }
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
  }
  .nav-overlay.active { display: block; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .related-grid { grid-template-columns: 1fr; }

  .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
}
