/* ───────────────────────────────────────────
   HALLYU KITCHEN — BLOG (Le Mag)
   Styles partagés liste + articles
   ─────────────────────────────────────────── */

@font-face {
  font-family: 'Canela';
  src: url('../assets/DA%20Hallyu/Canela%20Family/Canela-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('../assets/DA%20Hallyu/Canela%20Family/Canela-LightItalic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('../assets/DA%20Hallyu/Canela%20Family/Canela-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('../assets/DA%20Hallyu/Canela%20Family/Canela-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('../assets/DA%20Hallyu/Canela%20Family/Canela-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

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

:root {
  --red: #A92818;
  --red-dark: #871d10;
  --green: #00AD8D;
  --green-dark: #008c72;
  --pink: #EEBDAC;
  --pink-light: #f7d9cc;
  --cream: #FAF6F1;
  --bg: #ffffff;
  --dark: #A92818;
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --muted: rgba(26,26,26,0.55);
  --border: rgba(169,40,24,0.15);
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.canela { font-family: 'Canela', serif; font-style: italic; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-dark); }

/* ─── NAV ─── */
.blog-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(169,40,24,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.blog-nav-logo img { height: 40px; }
.blog-nav-links { display: flex; gap: 24px; align-items: center; list-style: none; }
.blog-nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-nav-links a:hover { color: #fff; }
.blog-nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
}
.blog-nav-cta:hover { background: var(--green-dark); color: #fff !important; }

/* ─── HEADER (page liste) ─── */
.blog-hero {
  padding: 140px 28px 60px;
  text-align: center;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.blog-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}
.blog-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--red);
  text-transform: uppercase;
}
.blog-hero h1 .canela { font-weight: 400; color: var(--red); }
.blog-hero p {
  margin-top: 18px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-soft);
  font-size: 16px;
}

/* ─── GRID DES ARTICLES ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px 80px;
}
.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(169,40,24,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(169,40,24,0.14); }
.blog-card a { color: inherit; display: contents; }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--pink-light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  background: var(--pink-light);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}
.blog-card-excerpt {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.blog-card-meta strong { color: var(--red); font-weight: 600; }

/* ─── ARTICLE ─── */
.article-hero {
  padding: 120px 28px 30px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: rgba(0,0,0,0.25); margin: 0 8px; }

.article-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  background: var(--pink-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.article-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--red);
  margin-bottom: 16px;
}
.article-hero h1 .canela { font-weight: 400; }

.article-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.article-meta strong { color: var(--red); font-weight: 600; }
.article-meta-dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }

.article-cover {
  max-width: 1080px;
  margin: 0 auto 50px;
  padding: 0 28px;
}
.article-cover img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 18px; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px 60px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--red);
  margin: 48px 0 18px;
}
.article-body h2 .canela { font-weight: 400; }
.article-body h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text);
  margin: 32px 0 12px;
}
.article-body strong { color: var(--red); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 14px 22px;
  margin: 28px 0;
  background: var(--pink-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text);
}
.article-body blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}
.article-body a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--red-dark); }
.article-body img { border-radius: 14px; margin: 28px auto; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.article-body table th, .article-body table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article-body table th {
  background: var(--pink-light);
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.article-cta {
  background: var(--red);
  color: #fff;
  padding: 38px 32px;
  border-radius: 18px;
  text-align: center;
  margin: 50px auto;
  max-width: 720px;
}
.article-cta h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 22px; font-size: 15px; }
.article-cta a {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.article-cta a:hover { background: var(--green-dark); transform: translateY(-1px); color: #fff; }

.article-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 28px 40px;
  border-top: 1px solid var(--border);
}
.article-related h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.footer-logo img { height: 96px; }
.footer-tagline {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
}
.footer-tagline a { color: inherit; text-decoration: none; }
.footer-tagline a:hover { color: rgba(255,255,255,0.85); }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.35); }
.footer-dev { font-size: 10px; color: rgba(255,255,255,0.2); letter-spacing: 0.12em; }
.footer-dev a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-dev a:hover { color: rgba(255,255,255,0.55); }

/* ─── RESPONSIVE ─── */
@media (max-width: 720px) {
  .blog-nav { padding: 12px 18px; }
  .blog-nav-links { gap: 12px; }
  .blog-nav-links li:not(:last-child):not(:first-child) { display: none; }
  .blog-hero { padding: 110px 20px 40px; }
  .article-hero { padding: 100px 20px 20px; }
  .article-cover { padding: 0 20px; margin-bottom: 32px; }
  .article-body { padding: 0 20px 40px; font-size: 16px; }
  .article-body h2 { font-size: 24px; margin: 36px 0 14px; }
  .article-body h3 { font-size: 18px; margin: 24px 0 10px; }
  .article-cta { padding: 28px 22px; margin: 36px auto; }
  footer { flex-direction: column; gap: 14px; text-align: center; padding: 26px; }
  .blog-grid { padding: 40px 18px 60px; gap: 24px; }
}
