/* ═══════════════════════════════════════════
   CASEWEAR BLOG — CSS GLOBAL
   Version 1.0.0
═══════════════════════════════════════════ */


:root {
  --black:       #0a0a0a;
  --white:       #f8f7f4;
  --accent:      #e63312;
  --accent-soft: #fff0ed;
  --mid:         #6b6b6b;
  --border:      #e0deda;
  --card-bg:     #ffffff;
  --tag-bg:      #f0eeeb;
  --font-head:   'Syne', sans-serif;
  --font-body:   'Instrument Sans', sans-serif;
  --font-prose:  'Lora', serif;
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --white:       #111111;
  --black:       #e0dedd;
  --card-bg:     #1a1a1a;
  --border:      #2c2c2c;
  --mid:         #909090;
  --tag-bg:      #202020;
  --accent-soft: #2b1210;
}
/* Sections déjà sombres : restaurer leurs variables localement */
[data-theme="dark"] #cw-footer,
[data-theme="dark"] .cw-guides-section {
  --white: #f0eeeb;
  --black: #0a0a0a;
}
/* Toggle bouton */
#cw-theme-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--black);
  transition: border-color .2s, color .2s, background .2s;
  padding: 0; flex-shrink: 0;
}
#cw-theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.cw-icon-sun  { display: none; line-height:1; }
.cw-icon-moon { display: block; line-height:1; }
[data-theme="dark"] .cw-icon-sun  { display: block; }
[data-theme="dark"] .cw-icon-moon { display: none; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── PROGRESS BAR ── */
#cw-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--accent);
  z-index: 300;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── NAV ── */
#cw-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(248,247,244,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 64px;
}
.cw-logo {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.25rem; letter-spacing: -0.03em;
  text-decoration: none; color: var(--black);
  display: flex; align-items: center; gap: 8px;
}
.cw-logo-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}
.cw-logo-blog {
  font-style: italic; font-weight: 400;
  font-size: 0.85rem; letter-spacing: 0.01em;
  color: var(--mid); text-transform: lowercase;
  margin-left: 2px;
}
.cw-nav-links { display: flex; gap: 32px; list-style: none; }
.cw-nav-links a {
  font-size: .875rem; font-weight: 500;
  text-decoration: none; color: var(--mid);
  transition: color .2s;
}
.cw-nav-links a:hover,
.cw-nav-links a.current-menu-item { color: var(--black); font-weight: 600; }
.cw-btn-shop {
  background: var(--black); color: var(--white);
  font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; padding: 9px 20px; border-radius: 2px;
  transition: background .2s;
}
.cw-btn-shop:hover { background: var(--accent); color: white; }

/* Hamburger mobile */
.cw-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.cw-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: all .25s;
}

/* ── HERO HOME ── */
.cw-hero {
  padding: 80px 5vw 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 560px;
  max-width: 1600px; margin: 0 auto;
}
.cw-hero-content {
  padding-right: 60px; padding-bottom: 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.cw-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.cw-hero-tag::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--accent);
}
.cw-hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.05; letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.cw-hero h1 em { font-style: italic; color: var(--accent); }
.cw-hero-desc {
  font-size: 1.05rem; color: var(--mid);
  max-width: 460px; margin-bottom: 32px; line-height: 1.7;
}
.cw-hero-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: .8rem; color: var(--mid);
}
.cw-hero-image {
  position: relative; overflow: hidden;
  border-radius: 4px 4px 0 0;
  min-height: 420px;
}
.cw-hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cw-hero-image:hover img { transform: scale(1.03); }
.cw-read-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: rgba(10,10,10,.85); color: white;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 2px; backdrop-filter: blur(8px);
}

/* ── SECTION HEADER ── */
.cw-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 36px;
}
.cw-section-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.6rem; letter-spacing: -0.03em;
}
.cw-section-title small {
  font-size: .75rem; font-weight: 400; color: var(--mid);
  letter-spacing: .02em; margin-left: 12px;
  font-family: var(--font-body);
}
.cw-see-all {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.cw-see-all:hover { gap: 12px; }

/* ── ARTICLES GRID ── */
.cw-content-section { padding: 64px 5vw; max-width: 1600px; margin: 0 auto; }
.cw-articles-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.cw-card {
  position: relative;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  color: inherit;
  display: flex; flex-direction: column;
}
.cw-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.cw-card-link {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}
.cw-card-large  { grid-column: span 7; }
.cw-card-medium { grid-column: span 5; }
.cw-card-small  { grid-column: span 4; }
.cw-card-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: var(--tag-bg);
}
.cw-card-large .cw-card-thumb { aspect-ratio: 16/10; }
.cw-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cw-card:hover .cw-card-thumb img { transform: scale(1.05); }
.cw-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: white;
  font-family: var(--font-head); font-size: .65rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  text-decoration: none;
  z-index: 2;
}
.cw-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cw-card-large .cw-card-body { padding: 28px; }
.cw-card-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.02em;
  margin-bottom: 10px; color: var(--black);
}
.cw-card-large .cw-card-title { font-size: 1.35rem; margin-bottom: 14px; }
.cw-card-excerpt {
  font-size: .875rem; color: var(--mid); line-height: 1.65;
  flex: 1; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cw-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .75rem; color: var(--mid);
  border-top: 1px solid var(--border); padding-top: 14px;
}
.cw-card-arrow {
  width: 28px; height: 28px; border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s; font-size: .8rem;
}
.cw-card:hover .cw-card-arrow { background: var(--accent); border-color: var(--accent); color: white; }

/* ── GUIDES DARK ── */
.cw-guides-section {
  background: #1c1c1c; color: var(--white);
  padding: 64px 5vw;
}
.cw-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cw-guide-card {
  border: 1px solid rgba(255,255,255,.1); border-radius: 4px;
  padding: 28px; cursor: pointer;
  transition: background .25s, border-color .25s;
  text-decoration: none; color: inherit; display: block;
}
.cw-guide-card:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.25); }
.cw-guide-num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.5rem;
  color: rgba(255,255,255,.12); line-height: 1; margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.cw-guide-card:hover .cw-guide-num { color: var(--accent); }
.cw-guide-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 10px; color: white;
}
.cw-guide-desc { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 20px; }
.cw-guide-link {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 8px; transition: gap .2s;
}
.cw-guide-card:hover .cw-guide-link { gap: 14px; }


/* ── BREADCRUMB ── */
.cw-breadcrumb {
  padding: 16px 5vw; font-size: .75rem; color: var(--mid);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cw-breadcrumb a { color: var(--mid); text-decoration: none; transition: color .2s; }
.cw-breadcrumb a:hover { color: var(--accent); }
.cw-breadcrumb span { opacity: .4; }

/* ── SINGLE ARTICLE ── */
.cw-article-hero { padding: 56px 5vw 0; max-width: 1280px; margin: 0 auto; }
.cw-hero-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.cw-cat-pill {
  background: var(--accent); color: white;
  font-family: var(--font-head); font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px; text-decoration: none;
}
.cw-cat-pill.secondary { background: var(--tag-bg); color: var(--mid); }
.cw-article-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.05em; line-height: 1.02; margin-bottom: 24px;
}
.cw-article-title em { font-style: italic; color: var(--accent); }
.cw-article-intro {
  font-family: var(--font-prose); font-size: 1.2rem;
  color: var(--mid); line-height: 1.75; max-width: 700px;
  margin-bottom: 36px; font-style: italic;
}
.cw-byline {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cw-byline-left { display: flex; align-items: center; gap: 14px; }
.cw-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #ff6b4a, #e63312);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: .75rem; font-weight: 700; color: white;
  overflow: hidden;
}
.cw-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cw-byline-name { font-weight: 600; font-size: .9rem; }
.cw-byline-meta { font-size: .75rem; color: var(--mid); margin-top: 2px; }
.cw-reading-info {
  font-size: .75rem; color: var(--mid);
  display: flex; align-items: center; gap: 6px;
  padding: 0 16px; border-left: 1px solid var(--border);
}
.cw-reading-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.cw-share-btn {
  border: 1.5px solid var(--border); background: white;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem; transition: all .2s;
}
.cw-share-btn:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Hero image */
.cw-hero-img { width: 100%; max-height: 520px; overflow: hidden; }
.cw-hero-img img { width: 100%; height: 520px; object-fit: cover; }

/* Article layout */
.cw-article-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 64px; max-width: 1280px; margin: 0 auto;
  padding: 56px 5vw 80px; align-items: start;
}

/* TOC */
.cw-toc {
  background: white; border: 1.5px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0; padding: 24px 28px; margin-bottom: 48px;
}
.cw-toc-title {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; color: var(--mid);
}
.cw-toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.cw-toc a { font-size: .88rem; color: var(--black); text-decoration: none; font-weight: 500; transition: color .2s; }
.cw-toc a:hover { color: var(--accent); }

/* Prose */
.cw-prose h2 {
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
  letter-spacing: -0.04em; line-height: 1.1; margin: 48px 0 20px;
  padding-top: 48px; border-top: 1px solid var(--border);
}
.cw-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.cw-prose h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.02em; margin: 32px 0 12px;
}
.cw-prose p { font-family: var(--font-prose); font-size: 1.05rem; line-height: 1.85; color: #1a1a1a; margin-bottom: 20px; }
.cw-prose strong { font-weight: 600; }
.cw-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cw-prose ul, .cw-prose ol { font-family: var(--font-prose); font-size: 1.05rem; line-height: 1.85; color: #1a1a1a; margin: 0 0 20px 24px; }
.cw-prose li { margin-bottom: 8px; }
.cw-prose blockquote {
  border-left: 4px solid var(--accent); padding: 20px 28px; margin: 36px 0;
  background: var(--accent-soft); border-radius: 0 4px 4px 0;
  font-family: var(--font-prose); font-size: 1.15rem;
  font-style: italic; line-height: 1.7;
}
.cw-prose blockquote cite {
  display: block; font-size: .78rem; color: var(--mid);
  margin-top: 10px; font-style: normal;
  font-family: var(--font-body); font-weight: 600; letter-spacing: .04em;
}
.cw-prose figure { margin: 36px 0; }
.cw-prose figure img { width: 100%; border-radius: 4px; }
.cw-prose figcaption {
  font-size: .78rem; color: var(--mid); padding: 10px 0;
  font-style: italic; border-bottom: 1px solid var(--border);
}

/* Verdict */
.cw-verdict {
  background: var(--black); color: white;
  border-radius: 4px; padding: 36px 40px; margin: 48px 0 0;
}
.cw-verdict-eye { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cw-verdict h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; margin-bottom: 16px; }
.cw-verdict p { font-size: .92rem; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 20px; }
.cw-verdict-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: white;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: 13px 24px; border-radius: 2px;
  transition: background .2s, gap .2s;
}
.cw-verdict-cta:hover { background: #c0290e; gap: 16px; color: white; }

/* Tags */
.cw-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.cw-tag {
  background: var(--tag-bg); color: var(--mid);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px; text-decoration: none; transition: all .2s;
}
.cw-tag:hover { background: var(--black); color: white; }

/* ── SIDEBAR ── */
.cw-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; }
.cw-sidebar-product { background: white; border: 1.5px solid var(--border); border-radius: 4px; overflow: hidden; }
.cw-sp-thumb { height: 160px; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(135deg, #e8f0fe, #c5d8fc); font-size: 2.8rem; }
.cw-sp-badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: white; font-family: var(--font-head); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.cw-sp-body { padding: 20px; }
.cw-sp-label { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.cw-sp-name { font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.cw-sp-desc { font-size: .8rem; color: var(--mid); line-height: 1.6; margin-bottom: 16px; }
.cw-sp-price { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.cw-sp-cta {
  display: block; text-align: center; background: var(--black); color: white;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 12px; border-radius: 2px; transition: background .2s;
}
.cw-sp-cta:hover { background: var(--accent); }

.cw-sidebar-related h4 { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); margin-bottom: 16px; }
.cw-sa { display: flex; gap: 14px; text-decoration: none; color: inherit; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); transition: opacity .2s; }
.cw-sa:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.cw-sa:hover { opacity: .7; }
.cw-sa-thumb { width: 64px; height: 64px; border-radius: 3px; flex-shrink: 0; overflow: hidden; }
.cw-sa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cw-sa-cat { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.cw-sa-title { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: -0.02em; line-height: 1.3; }

/* ── RELATED POSTS ── */
.cw-related { background: white; border-top: 1px solid var(--border); padding: 64px 5vw; }
.cw-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1280px; margin: 0 auto; }
.cw-rel-card { text-decoration: none; color: inherit; display: block; }
.cw-rel-thumb { aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.cw-rel-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cw-rel-card:hover .cw-rel-thumb img { transform: scale(1.04); }
.cw-rel-cat { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.cw-rel-title { font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 8px; transition: color .2s; }
.cw-rel-card:hover .cw-rel-title { color: var(--accent); }
.cw-rel-meta { font-size: .75rem; color: var(--mid); }

/* ── FOOTER ── */
#cw-footer { background: var(--black); color: rgba(255,255,255,.6); padding: 48px 5vw 32px; }
.cw-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 32px; max-width: 1600px; margin-left: auto; margin-right: auto; }
.cw-footer-brand .cw-logo { color: white; margin-bottom: 8px; }
.cw-footer-brand .cw-logo-blog { color: rgba(255,255,255,.45); }
.cw-footer-brand p { font-size: .82rem; line-height: 1.6; max-width: 340px; margin: 0; }
.cw-footer-col-links ul { list-style: none; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.cw-footer-col a { font-size: .85rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.cw-footer-col a:hover { color: white; }
.cw-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; font-size: .75rem;
  color: rgba(255,255,255,.25); max-width: 1600px; margin: 0 auto;
}

/* ── REVEAL ANIMATION ── */
.cw-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.cw-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── WORDPRESS DEFAULTS ── */
.aligncenter { display: block; margin: 24px auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-caption-text { font-size: .78rem; color: var(--mid); font-style: italic; margin-top: 8px; }
.sticky-post-badge { background: var(--accent); color: white; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; margin-bottom: 10px; display: inline-block; }

/* ── PAGINATION ── */
.cw-pagination { display: flex; justify-content: center; gap: 8px; padding: 48px 0; }
.cw-pagination a, .cw-pagination span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 2px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  text-decoration: none; color: var(--mid); transition: all .2s;
}
.cw-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.cw-pagination .current { background: var(--accent); border-color: var(--accent); color: white; }

/* ── SEARCH ── */
.cw-search-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.cw-search-form input {
  flex: 1; border: 1.5px solid var(--border); border-right: none;
  border-radius: 2px 0 0 2px; padding: 11px 18px;
  font-family: var(--font-body); font-size: .9rem; background: white; outline: none;
}
.cw-search-form button {
  background: var(--black); color: white; border: none;
  border-radius: 0 2px 2px 0; padding: 11px 20px;
  font-family: var(--font-head); font-weight: 700; font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.cw-search-form button:hover { background: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cw-article-layout { grid-template-columns: 1fr; }
  .cw-sidebar { position: static; }
}
@media (max-width: 900px) {
  .cw-hero { grid-template-columns: 1fr; padding-top: 40px; }
  .cw-hero-content { padding-right: 0; padding-bottom: 32px; }
  .cw-articles-grid { grid-template-columns: 1fr; }
  .cw-card-large, .cw-card-medium, .cw-card-small { grid-column: span 1; }
  .cw-guides-grid { grid-template-columns: 1fr; }
  .cw-footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cw-nav-links { display: none; }
  .cw-hamburger { display: flex; }
  #cw-nav .cw-btn-shop { display: none; }
  .cw-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cw-hero h1 { font-size: 2.2rem; }
  .cw-article-title { font-size: 2rem; }
  .cw-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cw-related-grid { grid-template-columns: 1fr; }

}
