/* ================= VARIABLES & RESET ================= */
:root {
  --bg: #ffffff;
  --text: #111111;
  --text-muted: #555555;
  --border: #e0e0e0;
  --accent: #000000;
  --ad-bg: #f8f8f8;
  --success: #1a1a1a;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --container: 1100px;
  --radius: 4px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { text-decoration: underline; }
img, .card-img { max-width: 100%; display: block; background: #e5e5e5; aspect-ratio: 16/9; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.3; margin-bottom: 0.75rem; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section:not(.container) { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.section.container {padding-top: 3.5rem;}
.section-title { font-size: 2rem; margin-bottom: 1.5rem; text-align: center; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 0.8rem 1.5rem; border: none; border-radius: var(--radius); cursor: pointer; font-size: 1rem; transition: background var(--transition); }
.btn:hover { background: #333; }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-text { background: none; border: none; color: var(--text-muted); text-decoration: underline; cursor: pointer; padding: 0.5rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ================= HEADER ================= */
.site-header { border-bottom: 2px solid var(--accent); padding: 1.2rem 0; background: var(--bg); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 900; letter-spacing: -0.5px; color: var(--accent); }
.nav-list { display: flex; gap: 1.5rem; list-style: none; }
.nav-list a { font-weight: 500; font-size: 0.95rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); padding: 0.5rem 1rem; font-size: 1rem; cursor: pointer; }

/* ================= HERO ================= */
.hero { background: #f5f5f5; padding: 4rem 0; text-align: center; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.hero p { max-width: 700px; margin: 0 auto; font-size: 1.2rem; color: var(--text-muted); }

/* ================= CARDS & GRID ================= */
.article-grid, .category-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition); }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card-content { padding: 1.2rem; }
.category-tag { display: inline-block; background: #eee; color: #333; font-size: 0.75rem; padding: 0.2rem 0.5rem; border-radius: 2px; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.meta { font-size: 0.8rem; color: var(--text-muted); margin: 0.5rem 0; }

.cat-card { display: block; background: var(--accent); color: #fff; padding: 2.5rem; text-align: center; font-family: var(--font-serif); font-size: 1.3rem; transition: opacity var(--transition); }
.cat-card:hover { opacity: 0.9; }

/* ================= AD BANNER ================= */
.advertising-banner { background: var(--ad-bg); border: 1px dashed var(--border); padding: 1.5rem; margin: 3rem auto; max-width: var(--container); border-radius: var(--radius); position: relative; }
.ad-label { position: absolute; top: -10px; left: 15px; background: var(--bg); padding: 0 0.5rem; font-size: 0.7rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #888; border: 1px solid var(--border); }
.ad-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.8rem; }
.btn-ad { background: transparent; border: 2px solid #333; padding: 0.5rem 1rem; }

/* ================= NEWSLETTER ================= */
.newsletter { background: #fafafa; text-align: center; }
.newsletter-form { max-width: 500px; margin: 2rem auto 0; text-align: left; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; margin-bottom: 0.3rem; font-weight: 500; }
.form-row input { width: 100%; padding: 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; }
.form-checkbox { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 1.2rem; font-size: 0.9rem; }
.form-checkbox input { margin-top: 0.3rem; }

/* ================= FOOTER ================= */
.site-footer { background: #111; color: #ccc; padding: 3rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: #fff; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }
.disclaimer { margin-top: 0.8rem; font-style: italic; color: #888; max-width: 800px; margin-left: auto; margin-right: auto; }

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed; top: 0; left: 0; width: 320px; height: 50vh;
  background: var(--bg); border-right: 2px solid var(--accent);
  padding: 2rem; box-shadow: 4px 0 15px rgba(0,0,0,0.1);
  z-index: 999; transform: translateX(-100%); transition: transform 0.4s ease;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cookie-banner.active { transform: translateX(0); }
.cookie-inner h3 { margin-bottom: 0.8rem; font-size: 1.4rem; }
.cookie-inner p { margin-bottom: 1.5rem; font-size: 0.95rem; color: var(--text-muted); }
.cookie-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.cookie-config { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.cookie-option { margin-bottom: 0.8rem; }
.cookie-option label { font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }
.cookie-option .small { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; margin-left: 1.5rem; }
.badge { background: #eee; padding: 0.1rem 0.4rem; font-size: 0.6rem; border-radius: 2px; color: #555; }
.cookie-link { font-size: 0.8rem; color: var(--text-muted); margin-top: auto; display: block; }
.hero h1 {
    text-align: center;
}
.card-img img {
    transition: all 0.3s ease-in-out;
    filter: grayscale(100%);
}
.card:hover .card-img img {
    filter: none;
}
ul, li {
    list-style-position: inside;
}
.form-row select {
    width: 100%;
    padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
    background: #fff;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-top: 1px solid var(--border); padding: 1rem 1.5rem; }
  .nav-list.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 2rem; }
  .cookie-banner { width: 100%; height: 60vh; border-right: none; border-bottom: 2px solid var(--accent); }
}