@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700;900&display=swap');

/* ============================================================
   CrochetFlow – Design System
   Primary dark  : #3b001b     Accent pink: #ff6b9d
   Navbar bg     : #f2bad0     Card grad  : #ffe6f2 → #ffd1e6
   Page bg       : #faf5f0     Button     : gold → #ffb347
   Footer bg     : #bf98da     Footer card: #723344
   Font          : Oswald (headings/buttons) + system-ui (body)
============================================================ */

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
.hidden { display: none !important; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #faf5f0;
  color: #3b001b;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(6deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  background: #f2bad0;
  padding: 14px 40px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(59,0,27,.1);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 42px; height: 42px; background: #3b001b;
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; color: #ffd1e6; font-size: 20px; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family:'Oswald',sans-serif; font-size:20px; font-weight:700; color:#3b001b; line-height:1.1; }
.logo-sub  { font-family:'Oswald',sans-serif; font-size:11px; color:#69002f; letter-spacing:.03em; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-family:'Oswald',sans-serif; font-size:14px; font-weight:600; color:#3b001b;
  padding:8px 18px; border:2px dashed #3b001b; border-radius:20px;
  background:rgba(59,0,27,.05); transition:all .3s; white-space:nowrap;
}
.nav-link:hover, .nav-link.active {
  background:#3b001b; color:#ffd1e6; border-style:solid; transform:scale(1.05);
}

.menu-toggle {
  display:none; flex-direction:column; gap:5px;
  padding:8px; border:2px dashed #3b001b; border-radius:8px;
}
.menu-toggle span { width:20px; height:2px; background:#3b001b; border-radius:2px; display:block; }

.mobile-nav { display:none; background:#f2bad0; padding:12px 20px 16px; border-top:1px dashed #3b001b; }
.mobile-nav.open { display:flex; flex-direction:column; gap:6px; }
.mobile-nav-link {
  font-family:'Oswald',sans-serif; font-size:15px; font-weight:600; color:#3b001b;
  padding:10px 16px; border:2px dashed #3b001b; border-radius:12px;
  background:rgba(59,0,27,.05); transition:.3s;
}
.mobile-nav-link:hover { background:#3b001b; color:#ffd1e6; }


/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #2d0015 0%, #4a0020 55%, #3b001b 100%);
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
  text-align: center; padding: 100px 20px 70px;
}
.hero-content {
  position: relative; z-index: 2; max-width: 960px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  min-height: 500px; justify-content: center;
}

.hero-tags { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-bottom:22px; }
.tag {
  font-family:'Oswald',sans-serif; font-size:14px; font-weight:600;
  padding:8px 20px; border-radius:25px; border:2px solid; display:inline-block;
}
.tag-1 { background:rgba(255,215,0,.12); border-color:gold; color:gold; }
.tag-2 { background:rgba(255,107,157,.12); border-color:#ff6b9d; color:#ff6b9d; }
.tag-3 { background:rgba(242,186,208,.12); border-color:#f2bad0; color:#f2bad0; }

.hero-title {
  font-family:'Oswald',sans-serif;
  font-size:clamp(2.8rem,9vw,8rem); font-weight:900;
  color:#fff; line-height:.9; letter-spacing:-3px;
  text-transform:uppercase; text-shadow:4px 4px 0 rgba(0,0,0,.4);
  margin:8px 0 22px;
}
.title-underline {
  width:100px; height:6px;
  background:linear-gradient(135deg,gold,#ff6b9d);
  border-radius:3px; margin:0 auto 24px;
}
.hero-box {
  background:rgba(255,255,255,.08); border:2px solid rgba(255,255,255,.15);
  border-radius:20px; padding:18px 32px; margin-bottom:28px;
  backdrop-filter:blur(4px);
}
.hero-subtitle {
  font-family:'Oswald',sans-serif; font-size:clamp(1rem,2.5vw,1.5rem);
  font-weight:500; color:rgba(255,255,255,.85); line-height:1.5;
}
.hero-subtitle .highlight { color:gold; font-weight:700; }

.cta-section { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }
.cta-button {
  font-family:'Oswald',sans-serif; font-size:15px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px; padding:16px 32px;
  border-radius:30px; border:3px solid; transition:all .3s; display:inline-block;
}
.cta-button.primary {
  background:linear-gradient(135deg,gold,#ffb347); color:#3b001b; border-color:gold;
}
.cta-button.primary:hover { transform:translateY(-3px) scale(1.03); box-shadow:0 12px 30px rgba(255,215,0,.4); color:#3b001b; }
.cta-button.secondary {
  background:transparent; color:rgba(255,255,255,.9); border-color:rgba(255,255,255,.4);
}
.cta-button.secondary:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.8); transform:translateY(-3px); color:#fff; }

.hero-stats { display:flex; gap:48px; justify-content:center; flex-wrap:wrap; }
.stat { display:flex; flex-direction:column; align-items:center; gap:4px; }
.stat-number { font-family:'Oswald',sans-serif; font-size:2.5rem; font-weight:900; color:gold; line-height:1; }
.stat-label  { font-family:'Oswald',sans-serif; font-size:11px; font-weight:600; color:rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:1.5px; }

.floating-elements { position:absolute; inset:0; pointer-events:none; z-index:1; overflow:hidden; }
.float-item { position:absolute; font-size:2.5rem; opacity:.1; animation:float 5s ease-in-out infinite; }
.float-1 { top:12%; left:4%;   animation-delay:0s; }
.float-2 { top:20%; right:6%;  animation-delay:1.2s; }
.float-3 { bottom:30%; left:7%;  animation-delay:2.4s; }
.float-4 { bottom:18%; right:4%; animation-delay:0.6s; }


/* ══════════════════════════════════════════════════════════
   SCALLOPED BORDERS
══════════════════════════════════════════════════════════ */
.scalloped-border,
.scalloped-border-patterns,
.scalloped-border-faq,
.scalloped-border-newsletter {
  display:flex; width:100%; height:50px; overflow:hidden;
}
.scalloped-border .scallop,
.scalloped-border-patterns .scallop,
.scalloped-border-faq .scallop,
.scalloped-border-newsletter .scallop {
  flex:1; height:50px; border-radius:50px 50px 0 0; flex-shrink:0;
  min-width:3%;
}

/* hero → benefits */
.scalloped-border          { background:#3b001b; }
.scalloped-border .scallop { background:#faf5f0; }

/* benefits → patterns */
.scalloped-border-patterns          { background:#faf5f0; }
.scalloped-border-patterns .scallop { background:#fff0f7; }

/* patterns → faq */
.scalloped-border-faq          { background:#fff0f7; }
.scalloped-border-faq .scallop { background:#f5f0ff; }

/* faq → newsletter */
.scalloped-border-newsletter          { background:#f5f0ff; }
.scalloped-border-newsletter .scallop { background:#3b001b; }


/* ══════════════════════════════════════════════════════════
   BENEFITS / WHY SECTION
══════════════════════════════════════════════════════════ */
.why-best-section { background:#faf5f0; padding:60px 0 80px; }

.section-header, .faq-header { text-align:center; margin-bottom:56px; }
.section-title, .faq-title {
  font-family:'Oswald',sans-serif;
  font-size:clamp(2.5rem,7vw,5.5rem); font-weight:900; color:#3b001b;
  line-height:.92; text-transform:uppercase; letter-spacing:-2px;
  text-shadow:3px 3px 0 rgba(242,186,208,.5); margin-bottom:16px;
}
.benefits-badge, .faq-badge {
  display:inline-block; font-family:'Oswald',sans-serif;
  font-size:14px; font-weight:700; padding:10px 24px;
  border-radius:20px; border:2px solid #3b001b; margin-top:8px;
}
.benefits-badge { background:#b19cd9; color:#3b001b; transform:rotate(2deg); }
.faq-badge      { background:linear-gradient(135deg,gold,#ffb347); color:#3b001b; transform:rotate(-2deg); }

.benefits-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; max-width:1100px; margin:0 auto; padding:0 20px;
}
.div4 { grid-column:1/-1; max-width:380px; margin:0 auto; width:100%; }

.benefit-card {
  border-radius:25px; border:3px solid #3b001b;
  padding:28px 22px; display:flex; flex-direction:column;
  align-items:center; text-align:center; gap:14px;
  transition:all .3s ease; animation:.6s ease-out fadeInUp both;
}
.benefit-card:hover { transform:translateY(-6px) rotate(1deg); box-shadow:0 14px 35px rgba(59,0,27,.18); }
.card-yellow { background:linear-gradient(135deg,#fff9c4,#fff176); }
.card-green  { background:linear-gradient(135deg,#c8f5d8,#a5e8bc); }
.card-peach  { background:linear-gradient(135deg,#ffd5b8,#ffbf94); }
.card-center { background:#3b001b; border-color:gold; }
.card-purple { background:linear-gradient(135deg,#e8d5ff,#d4b5f5); }
.card-blue   { background:linear-gradient(135deg,#b8dcff,#9ac5f0); }
.card-cream  { background:linear-gradient(135deg,#fff8e8,#ffefc0); }
.card-center .card-title { color:gold; }
.card-center .card-text  { color:#f2bad0; }

.illustration-icon {
  font-size:2.4rem; width:68px; height:68px;
  background:rgba(255,255,255,.55); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:2px solid rgba(59,0,27,.12); flex-shrink:0;
}
.card-center .illustration-icon { background:rgba(255,255,255,.1); border-color:gold; }
.benefit-card .card-title {
  font-family:'Oswald',sans-serif; font-size:1rem; font-weight:700;
  color:#3b001b; text-transform:uppercase; letter-spacing:.5px; line-height:1.2;
}
.benefit-card .card-text { font-size:.86rem; color:#555; line-height:1.6; margin:0; }


/* ══════════════════════════════════════════════════════════
   PATTERNS / BLOG SECTION
══════════════════════════════════════════════════════════ */
.blog-section { background:#fff0f7; padding:0 0 100px; min-height:60vh; }

.blog-title-section { text-align:center; max-width:1000px; margin:0 auto 60px; padding:60px 20px 0; }
.blog-badge {
  display:inline-block; background:#b19cd9; color:#3b001b;
  font-family:'Oswald',sans-serif; font-size:16px; font-weight:700;
  padding:12px 24px; border-radius:20px; border:2px solid #3b001b;
  box-shadow:0 4px 12px rgba(0,0,0,.1); margin-bottom:30px; transform:rotate(-2deg);
}
.blog-main-title {
  font-family:'Oswald',sans-serif;
  font-size:clamp(3rem,8vw,7rem); font-weight:900; color:#3b001b;
  line-height:.92; letter-spacing:-3px; text-transform:uppercase;
  margin-bottom:20px; text-shadow:3px 3px 0 rgba(242,186,208,.4);
}
.blog-main-title .highlight { color:#ff6b9d; }
.blog-subtitle {
  font-family:'Oswald',sans-serif; font-size:clamp(1rem,2vw,1.4rem);
  color:#666; font-weight:600; max-width:700px; margin:0 auto; line-height:1.4;
}

/* Filter controls */
.filter-controls {
  display:flex; justify-content:space-between; align-items:center;
  max-width:1200px; margin:0 auto 50px; padding:0 20px; gap:24px; flex-wrap:wrap;
}
.filter-buttons { display:flex; gap:10px; flex-wrap:wrap; }
.filter-btn {
  font-family:'Oswald',sans-serif; font-size:14px; font-weight:700; color:#3b001b;
  background:rgba(255,255,255,.85); border:2px solid #3b001b;
  padding:10px 20px; border-radius:25px; letter-spacing:.5px;
  text-transform:uppercase; transition:all .3s;
}
.filter-btn:hover, .filter-btn.active {
  background:#3b001b; color:#fff; transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(59,0,27,.3);
}
.search-box { position:relative; min-width:260px; }
.search-input {
  width:100%; padding:12px 44px 12px 20px; border:2px solid #3b001b;
  border-radius:25px; background:rgba(255,255,255,.9); color:#3b001b;
  font-family:'Oswald',sans-serif; font-size:14px; outline:none; transition:.3s;
}
.search-input:focus { background:#fff; box-shadow:0 4px 15px rgba(59,0,27,.2); }
.search-input::placeholder { color:#666; opacity:.7; }
.search-icon {
  position:absolute; right:14px; top:50%;
  transform:translateY(-50%); font-size:16px; pointer-events:none;
}
.results-bar { max-width:1200px; margin:0 auto 16px; padding:0 20px; }
.results-count { font-family:'Oswald',sans-serif; font-size:14px; color:#69002f; }
.results-count strong { color:#3b001b; }

/* Card grid */
.blog-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:32px; max-width:1200px; margin:0 auto; padding:0 20px;
}
.blog-item { animation:.6s ease-out fadeInUp both; }
.blog-item:nth-child(1){animation-delay:.05s} .blog-item:nth-child(2){animation-delay:.1s}
.blog-item:nth-child(3){animation-delay:.15s} .blog-item:nth-child(4){animation-delay:.2s}
.blog-item:nth-child(5){animation-delay:.25s} .blog-item:nth-child(6){animation-delay:.3s}

.blog-card {
  background:linear-gradient(135deg,#ffe6f2,#ffd1e6);
  border:3px solid #3b001b; border-radius:25px; overflow:hidden;
  display:flex; flex-direction:column; height:100%;
  position:relative; transition:all .3s ease;
}
.blog-card:hover { transform:translateY(-8px); box-shadow:0 15px 40px rgba(59,0,27,.18); }
.blog-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(45deg,transparent 30%,rgba(255,255,255,.15) 50%,transparent 70%);
  transform:translateX(-100%); transition:transform .6s; z-index:1; pointer-events:none;
}
.blog-card:hover::before { transform:translateX(100%); }

.blog-category { position:absolute; top:16px; left:16px; z-index:10; }
.category-badge {
  background:rgba(255,255,255,.95); color:#3b001b;
  font-family:'Oswald',sans-serif; font-size:11px; font-weight:700;
  padding:5px 11px; border-radius:12px; border:2px solid #3b001b;
  text-transform:uppercase; letter-spacing:1px;
}
.blog-image { height:200px; overflow:hidden; position:relative; background:linear-gradient(135deg,#ffd1e6,#ffb3d1); }
.blog-img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; display:block; }
.blog-card:hover .blog-img { transform:scale(1.06); }
.blog-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:3.5rem; }
.blog-content { padding:22px; flex:1; display:flex; flex-direction:column; gap:12px; }
.blog-title {
  font-family:'Oswald',sans-serif; font-size:1.2rem; font-weight:700; color:#3b001b;
  line-height:1.25; margin:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.blog-title a { color:inherit; }
.blog-title a:hover { color:#69002f; }
.blog-excerpt { font-size:.88rem; color:#555; line-height:1.5; margin:0; flex:1; }
.blog-meta { font-family:'Oswald',sans-serif; font-size:.82rem; color:#888; font-weight:500; }
.blog-read-more {
  display:inline-block; text-align:center;
  background:linear-gradient(135deg,gold,#ffb347); color:#3b001b;
  font-family:'Oswald',sans-serif; font-size:.88rem; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  padding:12px 22px; border-radius:20px; border:2px solid #3b001b; transition:all .3s;
}
.blog-read-more:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(255,215,0,.45); color:#3b001b; }

/* Empty state */
.empty-state { max-width:1200px; margin:0 auto; padding:60px 20px; text-align:center; }
.empty-icon { font-size:4rem; margin-bottom:16px; }
.empty-state h3 { font-family:'Oswald',sans-serif; font-size:1.6rem; font-weight:700; color:#3b001b; margin-bottom:10px; }
.empty-state p { font-size:1rem; color:#666; margin-bottom:24px; }
.btn-reset {
  font-family:'Oswald',sans-serif; font-size:14px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  background:linear-gradient(135deg,gold,#ffb347); color:#3b001b;
  border:2px solid #3b001b; padding:12px 28px; border-radius:25px; transition:all .3s;
}
.btn-reset:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(255,215,0,.4); }

/* Pagination */
.pagination-section { max-width:1200px; margin:70px auto 50px; text-align:center; padding:0 20px; }
.pagination-container {
  display:inline-flex; gap:10px; align-items:center; justify-content:center;
  flex-wrap:wrap; padding:22px 28px; background:rgba(255,255,255,.9);
  border-radius:35px; border:3px solid #3b001b; box-shadow:0 8px 25px rgba(59,0,27,.15);
}
.page-btn {
  font-family:'Oswald',sans-serif; font-size:15px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px; padding:12px 20px;
  border:3px solid #3b001b; background:linear-gradient(135deg,#ffe6f2,#ffd1e6);
  color:#3b001b; border-radius:25px; min-width:50px; transition:all .3s;
}
.page-btn:hover { background:linear-gradient(135deg,#f2bad0,#ff6b9d); transform:translateY(-3px) scale(1.04); }
.page-btn.active { background:linear-gradient(135deg,#ffd700,#ffb347); }
.page-btn:disabled { background:rgba(255,255,255,.5); color:#999; border-color:#ccc; cursor:not-allowed; opacity:.6; transform:none; }
.page-prev::before { content:'← '; }
.page-next::after  { content:' →'; }
.page-dots { color:#999; font-weight:700; padding:0 4px; }


/* ══════════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════════ */
.faq-section { background:#f5f0ff; padding:60px 0 80px; }

.faq-list {
  max-width:820px; margin:0 auto; padding:0 20px;
  display:flex; flex-direction:column; gap:14px;
}
.faq-item {
  background:rgba(255,255,255,.85); border:3px solid #3b001b;
  border-radius:20px; overflow:hidden; transition:background .3s;
}
.faq-item.active { background:linear-gradient(135deg,#ffe6f2,rgba(255,255,255,.95)); }

.faq-question {
  display:flex; justify-content:space-between; align-items:center;
  padding:20px 24px; cursor:pointer; gap:16px; user-select:none;
}
.faq-question h3 {
  font-family:'Oswald',sans-serif; font-size:1.05rem; font-weight:700;
  color:#3b001b; text-transform:uppercase; letter-spacing:.5px; margin:0;
}
.faq-icon {
  width:30px; height:30px; background:#3b001b; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; transition:transform .35s ease, background .3s;
}
.faq-icon svg { width:14px; height:14px; fill:#fff; }
.faq-item.active .faq-icon { transform:rotate(180deg); background:linear-gradient(135deg,gold,#ffb347); }
.faq-item.active .faq-icon svg { fill:#3b001b; }

.faq-answer { max-height:0; overflow:hidden; transition:max-height .4s ease-out; padding:0 24px; }
.faq-answer p { font-size:15px; color:#555; line-height:1.75; padding-bottom:22px; margin:0; }
.faq-answer a { color:#3b001b; text-decoration:underline; }
.faq-item.active .faq-answer { max-height:400px; }


/* ══════════════════════════════════════════════════════════
   NEWSLETTER SECTION
══════════════════════════════════════════════════════════ */
.newsletter-section { background:#3b001b; padding:60px 0 80px; }
.newsletter-card {
  max-width:960px; margin:0 auto;
  background:rgba(255,255,255,.06); border:2px solid rgba(255,255,255,.14);
  border-radius:30px; padding:48px;
}
.newsletter-content { display:grid; grid-template-columns:1fr 1.5fr; gap:48px; align-items:start; }
.newsletter-left { display:flex; flex-direction:column; gap:16px; }
.newsletter-illustration { font-size:5rem; }
.newsletter-title { font-family:'Oswald',sans-serif; font-size:clamp(1.8rem,4vw,3rem); font-weight:900; color:gold; text-transform:uppercase; line-height:1.05; }
.newsletter-subtitle { font-family:'Oswald',sans-serif; font-size:1rem; color:#f2bad0; line-height:1.55; }
.newsletter-form { display:flex; flex-direction:column; gap:18px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-family:'Oswald',sans-serif; font-size:12px; font-weight:700; color:gold; text-transform:uppercase; letter-spacing:1px; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:12px 16px; border:2px solid rgba(255,255,255,.2);
  border-radius:14px; background:rgba(255,255,255,.08); color:#fff; font-size:14px; outline:none; transition:.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color:rgba(255,255,255,.35); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:gold; background:rgba(255,255,255,.12); }
.form-group select option { background:#3b001b; color:#fff; }
.form-group textarea { resize:vertical; min-height:90px; }
.form-text { font-size:11px; color:rgba(255,255,255,.4); }
.submit-button {
  font-family:'Oswald',sans-serif; font-size:15px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  background:linear-gradient(135deg,gold,#ffb347); color:#3b001b;
  border:3px solid gold; border-radius:25px; padding:16px 28px;
  cursor:pointer; transition:all .3s; width:100%;
}
.submit-button:hover { transform:translateY(-3px); box-shadow:0 12px 30px rgba(255,215,0,.4); }
.privacy-note { font-size:12px; color:rgba(255,255,255,.45); text-align:center; line-height:1.5; }
.privacy-note a { color:#f2bad0; text-decoration:underline; }


/* ══════════════════════════════════════════════════════════
   FOOTER  (4-column with all 15 legal pages)
══════════════════════════════════════════════════════════ */
.footer-section { background:#bf98da; padding:60px 20px 40px; font-family:'Oswald',sans-serif; }
.footer-card {
  background:#723344; border-radius:25px;
  max-width:1200px; margin:0 auto; padding:52px 48px 40px; overflow:hidden;
}

/* 4 columns: brand | patterns | about+contact | legal */
.footer-content {
  display:grid;
  grid-template-columns:1.8fr 1fr 1fr 1fr;
  gap:36px;
  margin-bottom:36px;
  align-items:start;
}
.footer-column { display:flex; flex-direction:column; }
.footer-logo-row { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-logo-icon { width:36px; height:36px; background:#ffd1e6; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px; }
.footer-brand-name { font-size:20px; font-weight:700; color:gold; }
.footer-tagline { font-size:.9rem; color:#f2bad0; line-height:1.6; max-width:240px; margin-bottom:16px; }
.footer-contact-email { color:gold; font-size:.88rem; font-weight:600; }
.footer-contact-email:hover { text-decoration:underline; }
.footer-heading { color:gold; font-size:.9rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:14px; border-bottom:1px solid rgba(255,215,0,.25); padding-bottom:8px; }
.footer-links { display:flex; flex-direction:column; gap:7px; }
.footer-link { color:#f2bad0; font-size:.85rem; font-weight:500; transition:color .2s; line-height:1.4; }
.footer-link:hover { color:gold; }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.15);
  padding-top:24px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.footer-copy { font-size:.85rem; color:#f2bad0; }
.footer-legal { display:flex; gap:16px; flex-wrap:wrap; }
.footer-legal a { font-size:.82rem; color:rgba(242,186,208,.7); transition:color .2s; }
.footer-legal a:hover { color:gold; }


/* ══════════════════════════════════════════════════════════
   ARTICLE PAGE
══════════════════════════════════════════════════════════ */
.article-loading { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; min-height:60vh; color:#69002f; font-family:'Oswald',sans-serif; }
.spinner { width:40px; height:40px; border:3px solid #ffd1e6; border-top-color:#3b001b; border-radius:50%; animation:spin .8s linear infinite; }

.breadcrumb-bar { background:#f2bad0; padding:12px 0; border-bottom:2px dashed #3b001b; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-family:'Oswald',sans-serif; font-size:13px; color:#69002f; }
.breadcrumb a { color:#3b001b; }
.breadcrumb a:hover { text-decoration:underline; }

.article-hero {
  background:linear-gradient(160deg,#2d0015 0%,#4a0020 55%,#3b001b 100%);
  padding:60px 0 50px; color:#fff;
}
.article-meta-top { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.article-category-badge {
  font-family:'Oswald',sans-serif; font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  background:rgba(255,255,255,.15); color:#f2bad0; padding:6px 14px;
  border-radius:14px; border:2px solid rgba(255,255,255,.3);
}
.article-date, .article-duration { font-family:'Oswald',sans-serif; font-size:13px; color:rgba(255,255,255,.6); font-weight:500; }
.article-title {
  font-family:'Oswald',sans-serif; font-size:clamp(1.8rem,4vw,3.2rem);
  font-weight:900; color:#fff; line-height:1.05;
  letter-spacing:-1px; text-transform:uppercase; margin-bottom:14px;
}
.article-desc { font-size:16px; color:rgba(255,255,255,.75); max-width:720px; line-height:1.7; }
.article-hero-stats { display:flex; gap:32px; flex-wrap:wrap; margin-top:24px; }
.article-hero-stats .stat-number { font-size:1.8rem; }

/* Feature cards */
.feature-cards-wrap { background:#faf5f0; padding:30px 0 10px; }
.feature-cards {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px; padding:0 0 10px;
}
.feature-card {
  background:linear-gradient(135deg,#ffe6f2,#ffd1e6); border:3px solid #3b001b;
  border-radius:20px; padding:24px 18px; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  transition:transform .3s, box-shadow .3s;
}
.feature-card:hover { transform:translateY(-4px); box-shadow:0 10px 25px rgba(59,0,27,.15); }
.feature-card-icon { font-size:2rem; }
.feature-card-title { font-family:'Oswald',sans-serif; font-size:.95rem; font-weight:700; color:#3b001b; text-transform:uppercase; letter-spacing:.5px; }
.feature-card-body { font-size:.85rem; color:#555; line-height:1.5; }

/* Thumbnail */
.article-thumbnail-wrap { padding:20px 0; }
.article-thumbnail { width:100%; max-height:500px; object-fit:cover; border-radius:20px; border:3px solid #3b001b; box-shadow:0 8px 30px rgba(59,0,27,.12); }
.article-thumb-placeholder { width:100%; height:280px; background:linear-gradient(135deg,#ffe6f2,#ffd1e6); border-radius:20px; border:3px solid #3b001b; display:flex; align-items:center; justify-content:center; font-size:5rem; }

/* Body layout */
.article-body { display:grid; grid-template-columns:1fr 280px; gap:40px; padding-bottom:60px; align-items:start; }
.article-main { min-width:0; }
.article-intro { margin-bottom:32px; }
.article-intro p { font-size:16px; color:#444; line-height:1.8; margin-bottom:14px; }

/* Pattern blocks */
.pattern-block { background:linear-gradient(135deg,#ffe6f2,#ffd1e6); border:3px solid #3b001b; border-radius:20px; padding:28px; margin-bottom:28px; }
.pattern-block-title { font-family:'Oswald',sans-serif; font-size:1.1rem; font-weight:700; color:#3b001b; text-transform:uppercase; letter-spacing:.5px; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.pattern-block ul { display:flex; flex-direction:column; gap:8px; }
.pattern-block li { font-size:14px; color:#3b001b; line-height:1.55; padding:9px 14px; background:rgba(255,255,255,.65); border-radius:10px; border-left:4px solid #3b001b; }

/* Abbreviations */
.abbrev-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:8px; margin-top:12px; }
.abbrev-item { background:rgba(255,255,255,.7); border:2px solid #3b001b; border-radius:10px; padding:8px 12px; display:flex; gap:8px; align-items:baseline; font-size:13px; }
.abbrev-key { font-family:'Oswald',sans-serif; font-weight:700; color:#3b001b; text-transform:uppercase; flex-shrink:0; }
.abbrev-val { color:#555; }

/* Pattern instructions */
.instructions-section { margin-bottom:32px; }
.instructions-section h3 { font-family:'Oswald',sans-serif; font-size:1.3rem; font-weight:700; color:#3b001b; text-transform:uppercase; margin-bottom:16px; letter-spacing:-.5px; padding-bottom:10px; border-bottom:3px solid #3b001b; }
.instruction-row { display:grid; grid-template-columns:100px 1fr; gap:12px; align-items:start; padding:10px 0; border-bottom:1px dashed rgba(59,0,27,.2); }
.instruction-row:last-child { border-bottom:none; }
.instruction-label { font-family:'Oswald',sans-serif; font-size:.85rem; font-weight:700; color:#69002f; text-transform:uppercase; letter-spacing:.5px; padding-top:2px; }
.instruction-text { font-size:14px; color:#333; line-height:1.75; }
.instruction-row.kind-info .instruction-label { color:#888; font-style:italic; }
.instruction-row.kind-info .instruction-text { color:#555; font-style:italic; }

/* Article editorial sections */
.article-section { margin-bottom:40px; padding-bottom:40px; border-bottom:2px dashed rgba(59,0,27,.2); }
.article-section:last-child { border-bottom:none; }
.article-section h2 { font-family:'Oswald',sans-serif; font-size:1.5rem; font-weight:700; color:#3b001b; text-transform:uppercase; margin-bottom:14px; letter-spacing:-.5px; }
.article-section p { font-size:15px; color:#444; line-height:1.75; margin-bottom:12px; }
.section-tip { background:linear-gradient(135deg,#ffe6f2,#ffd1e6); border-left:4px solid #3b001b; padding:12px 16px; border-radius:0 12px 12px 0; font-size:14px; color:#3b001b; margin:14px 0; font-weight:500; }
.section-notes { background:#fff8e1; border-left:4px solid #f59e0b; padding:10px 14px; border-radius:0 10px 10px 0; font-size:.88rem; color:#92400e; margin:0 0 12px; }
.section-img { width:100%; border-radius:16px; border:2px solid #3b001b; margin:16px 0; box-shadow:0 4px 15px rgba(59,0,27,.1); }
.section-img-placeholder { width:100%; height:200px; background:linear-gradient(135deg,#ffe6f2,#ffd1e6); border-radius:16px; border:2px solid #3b001b; display:flex; align-items:center; justify-content:center; font-size:3rem; margin:16px 0; }

/* Tips / mistakes */
.tips-list { display:flex; flex-direction:column; gap:10px; margin-top:14px; }
.tip-item { display:flex; gap:12px; align-items:flex-start; padding:12px 16px; background:rgba(255,255,255,.7); border-radius:14px; border:2px solid rgba(59,0,27,.15); font-size:14px; color:#333; line-height:1.6; }
.tip-icon { font-size:1.1rem; flex-shrink:0; margin-top:1px; }

/* Final thoughts */
.final-thoughts { background:linear-gradient(135deg,#ffe6f2,#ffd1e6); border:3px solid #3b001b; border-radius:20px; padding:24px; margin-top:8px; }
.final-thoughts h2 { font-family:'Oswald',sans-serif; font-size:1.2rem; font-weight:700; color:#3b001b; text-transform:uppercase; margin-bottom:12px; }
.final-thoughts p { font-size:15px; color:#444; line-height:1.75; }

/* Related posts */
.related-posts { margin-top:30px; }
.related-posts h2 { font-family:'Oswald',sans-serif; font-size:1.1rem; font-weight:700; color:#3b001b; text-transform:uppercase; margin-bottom:14px; }
.related-posts ul { display:flex; flex-direction:column; gap:8px; }
.related-posts li a { display:block; padding:10px 16px; background:rgba(255,255,255,.8); border:2px solid #3b001b; border-radius:12px; font-family:'Oswald',sans-serif; font-size:13px; font-weight:600; color:#3b001b; transition:.2s; }
.related-posts li a:hover { background:#3b001b; color:#ffd1e6; }

/* Sidebar */
.article-sidebar { position:sticky; top:80px; display:flex; flex-direction:column; gap:16px; }
.sidebar-card { background:linear-gradient(135deg,#ffe6f2,#ffd1e6); border:3px solid #3b001b; border-radius:20px; padding:20px; }
.sidebar-heading { font-family:'Oswald',sans-serif; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#69002f; margin-bottom:14px; }
.pattern-details { display:flex; flex-direction:column; gap:10px; }
.pattern-details li { display:flex; justify-content:space-between; font-size:13px; padding-bottom:10px; border-bottom:1px dashed rgba(59,0,27,.25); }
.pattern-details li:last-child { border-bottom:none; padding-bottom:0; }
.detail-label { color:#69002f; font-weight:500; }
.detail-val { color:#3b001b; font-weight:700; font-family:'Oswald',sans-serif; }
.btn-back { display:block; width:100%; text-align:center; background:linear-gradient(135deg,gold,#ffb347); color:#3b001b; font-family:'Oswald',sans-serif; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:1px; padding:12px 16px; border-radius:16px; border:2px solid #3b001b; transition:.3s; margin-bottom:8px; }
.btn-back:hover { transform:translateY(-2px); box-shadow:0 6px 16px rgba(255,215,0,.4); }

.not-found { text-align:center; padding:80px 20px; font-family:'Oswald',sans-serif; }
.not-found h2 { font-size:2rem; color:#3b001b; margin-bottom:12px; }
.not-found p  { color:#666; margin-bottom:24px; }


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width:1100px) {
  .navbar { padding:16px 24px; }
  .footer-content { grid-template-columns:1fr 1fr; gap:28px; }
  .footer-content .footer-column:first-child { grid-column:1/-1; }
  .footer-tagline { max-width:100%; }
  .newsletter-content { grid-template-columns:1fr; }
  .newsletter-card { padding:36px; }
  .benefits-grid { grid-template-columns:repeat(2,1fr); }
  .div4 { grid-column:1/-1; }
}

@media (max-width:768px) {
  .navbar { padding:14px 16px; }
  .nav-links { display:none; }
  .menu-toggle { display:flex; }
  .hero { padding:80px 16px 50px; min-height:auto; }
  .hero-title { letter-spacing:-2px; }
  .hero-stats { gap:28px; }
  .stat-number { font-size:2rem; }
  .blog-grid { grid-template-columns:1fr; }
  .benefits-grid { grid-template-columns:1fr; }
  .div4 { grid-column:1; max-width:100%; }
  .filter-controls { flex-direction:column; align-items:stretch; }
  .search-box { min-width:0; }
  .article-body { grid-template-columns:1fr; }
  .article-sidebar { position:static; }
  .feature-cards { grid-template-columns:1fr 1fr; }
  .instruction-row { grid-template-columns:80px 1fr; }
  .footer-content { grid-template-columns:1fr 1fr; }
  .footer-card { padding:32px 24px; }
  .newsletter-card { padding:28px 20px; }
  .article-hero { padding:40px 0 30px; }
  .abbrev-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width:480px) {
  .navbar { padding:12px 14px; }
  .filter-buttons { gap:8px; }
  .filter-btn { padding:8px 14px; font-size:13px; }
  .blog-grid { gap:20px; }
  .pagination-container { gap:6px; padding:16px 14px; }
  .page-btn { padding:10px 14px; font-size:13px; min-width:42px; }
  .hero-tags { gap:8px; }
  .tag { padding:6px 14px; font-size:13px; }
  .hero-stats { gap:20px; }
  .cta-section { flex-direction:column; align-items:center; }
  .cta-button { width:100%; max-width:320px; text-align:center; }
  .feature-cards { grid-template-columns:1fr; }
  .instruction-row { grid-template-columns:1fr; }
  .instruction-label { padding-bottom:4px; }
  .abbrev-grid { grid-template-columns:1fr; }
  .hero-box { padding:14px 18px; }
  .faq-question h3 { font-size:.95rem; }
  .footer-content { grid-template-columns:1fr; }
}
