/* designforeurope.eu — Italian Nicotine Pouch Authority Site */
/* Unique template: editorial magazine layout, warm earth tones */

:root {
  --ink: #0a1628;
  --charcoal: #1b2d4a;
  --slate: #4a5d7a;
  --muted: #8896aa;
  --light: #c4cdd8;
  --sand: #f0f4f8;
  --cream: #f7f9fc;
  --white: #ffffff;
  --accent: #1a56db;
  --accent-dark: #1347b8;
  --accent-light: #dce6f8;
  --sage: #2563eb;
  --sage-light: #e0eaff;
  --border: #dce4ee;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(10,22,40,0.06);
  --shadow-lg: 0 8px 32px rgba(10,22,40,0.1);
}

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

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

body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 1.2rem; font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: -0.3px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 0.88rem; color: var(--slate); text-decoration: none;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    padding: 20px; border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 60%, #1a3a6a 100%);
  color: var(--white); padding: 80px 0 70px; text-align: center;
}
.hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700; line-height: 1.25; margin-bottom: 18px;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  max-width: 560px; margin: 0 auto 28px;
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 20px;
  padding: 6px 18px; font-size: 0.82rem; color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero-cta {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: 13px 32px; border-radius: var(--radius); font-weight: 600;
  text-decoration: none; font-size: 0.95rem; transition: background 0.2s;
}
.hero-cta:hover { background: var(--accent-dark); }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--sand); }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; line-height: 1.3; margin-bottom: 14px;
  color: var(--ink);
}
.section-desc {
  font-size: 0.95rem; color: var(--slate); max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ===== ARTICLE CARDS ===== */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px; margin-top: 36px;
}
.article-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.article-card-img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; background: linear-gradient(135deg, var(--sand) 0%, var(--accent-light) 100%);
}
.article-card-body { padding: 24px; }
.article-card-tag {
  display: inline-block; background: var(--sage-light); color: var(--sage);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px;
}
.article-card h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 8px;
}
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--accent); }
.article-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; }
.article-card-meta {
  margin-top: 14px; font-size: 0.78rem; color: var(--muted);
  display: flex; gap: 14px;
}

/* ===== ARTICLE (single page) ===== */
.article-header { padding: 60px 0 40px; }
.article-header h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700; line-height: 1.3; margin-bottom: 14px;
}
.article-meta {
  font-size: 0.85rem; color: var(--muted); margin-bottom: 8px;
}
.article-content {
  padding-bottom: 60px;
}
.article-content h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.4rem; font-weight: 700; color: var(--ink);
  margin: 40px 0 16px; line-height: 1.35;
}
.article-content h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--charcoal);
  margin: 28px 0 12px;
}
.article-content p {
  font-size: 0.95rem; color: var(--charcoal); line-height: 1.8;
  margin-bottom: 18px;
}
.article-content ul, .article-content ol {
  padding-left: 24px; margin-bottom: 18px;
}
.article-content li {
  font-size: 0.95rem; color: var(--charcoal); line-height: 1.8;
  margin-bottom: 6px;
}
.article-content strong { color: var(--ink); }
.article-content a { color: var(--accent); text-decoration: underline; }
.article-content blockquote {
  border-left: 3px solid var(--accent); padding: 16px 20px;
  background: var(--sand); margin: 24px 0; border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--slate);
}
.info-box {
  background: var(--sage-light); border: 1px solid #c0d8c2;
  border-radius: var(--radius); padding: 20px 24px; margin: 24px 0;
}
.info-box h4 { font-size: 0.95rem; color: var(--sage); margin-bottom: 8px; }
.warning-box {
  background: #fff3e8; border: 1px solid #f0d4b0;
  border-radius: var(--radius); padding: 20px 24px; margin: 24px 0;
}
.warning-box h4 { font-size: 0.95rem; color: var(--accent); margin-bottom: 8px; }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 0.88rem;
}
.comparison-table th {
  background: var(--ink); color: var(--white); padding: 12px 16px;
  text-align: left; font-weight: 600;
}
.comparison-table td {
  padding: 10px 16px; border-bottom: 1px solid var(--border);
}
.comparison-table tr:nth-child(even) { background: var(--sand); }
@media (max-width: 600px) {
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; }
}

/* ===== SIDEBAR / TOC ===== */
.article-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 48px;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}
.sidebar { position: sticky; top: 80px; align-self: start; }
.toc {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.toc h4 { font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.toc ul { list-style: none; padding: 0; }
.toc li { margin-bottom: 8px; }
.toc a {
  font-size: 0.84rem; color: var(--slate); text-decoration: none;
  line-height: 1.4; display: block;
}
.toc a:hover { color: var(--accent); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--white); padding: 48px 0; text-align: center;
}
.cta-banner h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem; margin-bottom: 12px;
}
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.6);
  padding: 48px 0 32px; font-size: 0.85rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.84rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 0.8rem;
}
.footer-disclaimer {
  margin-top: 16px; font-size: 0.78rem; color: rgba(255,255,255,0.4);
  line-height: 1.7; max-width: 700px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 11px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--sand); }

/* ===== UTILITIES ===== */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Cookie + Age Gate */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:rgba(20,20,20,0.97);border-top:1px solid rgba(255,255,255,0.1);padding:14px 20px;z-index:999;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;backdrop-filter:blur(8px)}
.cookie-banner p{font-size:0.8rem;color:rgba(255,255,255,0.7);flex:1;min-width:200px;margin:0}
.cookie-banner a{color:inherit;text-decoration:underline}
.cookie-banner button{background:#e67e22;color:#fff;border:none;padding:8px 18px;border-radius:6px;font-weight:600;font-size:0.8rem;cursor:pointer}
.age-gate{position:fixed;inset:0;background:rgba(0,0,0,0.88);z-index:1000;display:flex;align-items:center;justify-content:center}
.age-gate-box{background:#1a1a1a;border:1px solid #333;border-radius:12px;padding:36px;text-align:center;max-width:400px;width:90%;color:#e8e8e8}
.age-gate-box h2{font-size:1.2rem;margin-bottom:10px}
.age-gate-box p{font-size:0.86rem;color:#999;margin-bottom:20px}
.age-gate-btns{display:flex;gap:10px;justify-content:center}
.age-gate-btns button{padding:9px 24px;border-radius:8px;font-weight:700;font-size:0.88rem;cursor:pointer;border:none}
.age-gate-btns .btn-yes{background:#e67e22;color:#fff}
.age-gate-btns .btn-no{background:#333;color:#ccc}
