/* ============================================================
   Open Casino in Germany — shared stylesheet
   Black / red / gold editorial theme (German flag palette).
   No external fonts/CDNs beyond Google Fonts (Georgia/Inter fallbacks).
   ============================================================ */

:root {
  --black: #191919;
  --black-deep: #0c0c0c;
  --black-mid: #262626;
  --red: #d8262c;
  --red-dark: #a10f16;
  --gold: #ffce00;
  --gold-dark: #cf9f00;
  --white: #ffffff;
  --off-white: #f7f6f2;
  --paper: #fbfbf9;
  --ink: #1c1c1c;
  --ink-soft: #4d4d4a;
  --border: #e3ddd0;
  --border-soft: #eeeae0;
  --max-width: 1120px;
  --radius: 8px;
  --shadow: 0 8px 30px rgba(10, 10, 10, 0.12);
  --font-serif: Georgia, "Times New Roman", Cambria, serif;
  --font-sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--black);
  line-height: 1.25;
  margin-top: 0;
}

h2 { font-size: 1.7rem; margin-bottom: 0.9rem; border-bottom: 3px solid var(--red); padding-bottom: 0.4rem; display: inline-block; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--red-dark); text-decoration: underline; text-decoration-color: rgba(216,38,44,0.35); }
a:hover { color: var(--black); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Sponsor strip (top-most, every page) ---------------- */
.sponsor-strip {
  background: var(--black-deep);
  color: #d8d3c4;
  font-size: 0.82rem;
  text-align: center;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(255,206,0,0.18);
}
.sponsor-strip a { color: var(--gold); text-decoration: underline; }

/* ---------------- Header / nav ---------------- */
header.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  border-bottom: 3px solid var(--gold);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 1.22rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand .flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); display: inline-block; }
.brand:hover { color: var(--gold); }

nav.main-nav { display: flex; gap: 28px; align-items: center; }
nav.main-nav a {
  color: #e9e6da;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
nav.main-nav a:hover { color: var(--gold); text-decoration: underline; }
nav.main-nav a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  color: var(--white);
  font-size: 1.3rem;
  padding: 4px 10px;
  cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(180deg, rgba(12,12,12,0.88) 0%, rgba(20,20,20,0.92) 55%, rgba(12,12,12,0.97) 100%), var(--black);
  background-size: cover;
  background-position: center;
  padding: 84px 0 64px;
}
.hero .container { max-width: 900px; }
.hero .eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero p.lede { font-size: 1.12rem; color: #e6e3d8; max-width: 760px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 32px;
}
.hero-stats span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,206,0,0.35);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-secondary:hover { background: rgba(255,206,0,0.14); color: var(--gold); border-color: var(--gold); }
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); color: var(--black); }

/* Secondary inner-page banner */
.banner {
  position: relative;
  color: var(--white);
  background: linear-gradient(180deg, rgba(12,12,12,0.82) 0%, rgba(20,20,20,0.90) 100%), var(--black);
  background-size: cover;
  background-position: center;
  padding: 56px 0;
}
.banner h1 { color: var(--white); margin-bottom: 8px; font-size: 2.1rem; }
.banner p { color: #ece8da; max-width: 700px; margin-bottom: 0; }

/* ---------------- Sections ---------------- */
main { display: block; }
.section { padding: 56px 0; border-bottom: 1px solid var(--border-soft); }
.section:last-of-type { border-bottom: none; }
.section-alt { background: var(--off-white); }
.section-narrow .container { max-width: 800px; }
.section-intro { color: var(--ink-soft); max-width: 760px; margin-bottom: 1.4rem; }
.not-a-ranking {
  display: inline-block;
  background: #fff4f5;
  color: var(--red-dark);
  border: 1px solid #f3c6cd;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* ---------------- Tables ---------------- */
.table-wrap { width: 100%; overflow-x: auto; margin: 1.2rem 0 1.6rem; border: 1px solid var(--border); border-radius: var(--radius); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
  background: var(--white);
}
table caption { text-align: left; padding: 10px 14px; font-weight: 600; color: var(--black); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
thead th { background: var(--black); color: var(--gold); font-family: var(--font-serif); font-weight: 600; }
tbody tr:nth-child(even) { background: var(--off-white); }
tbody tr:hover { background: #f5eecb; }
td strong, th strong { color: var(--black); }

.post-body table, .review-body table { min-width: 480px; }

/* ---------------- Checklist ---------------- */
.checklist { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.checklist li {
  position: relative;
  padding: 14px 0 14px 52px;
  border-bottom: 1px solid var(--border-soft);
  counter-increment: step;
}
.checklist li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  background: var(--black);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.checklist li:last-child { border-bottom: none; }

/* ---------------- Cards ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 1.6rem; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 8px; }
.card .meta { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.card p { color: var(--ink-soft); flex-grow: 1; }
.card .card-link { margin-top: 10px; font-weight: 600; text-decoration: none; }
.tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--black);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-right: 6px;
}

/* ---------------- Blockquote / tip box ---------------- */
.tip-box, blockquote {
  background: #fdf7e2;
  border-left: 4px solid var(--gold-dark);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 1.4rem 0;
  color: var(--ink);
}
.tip-box strong, blockquote strong { color: var(--black); }

/* ---------------- Details / FAQ accordion ---------------- */
details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 4px 18px;
}
details[open] { border-color: var(--gold-dark); }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--black);
  padding: 14px 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  color: var(--red);
  font-weight: 800;
}
details[open] summary::before { content: "\2212"; }
details p { padding-bottom: 14px; color: var(--ink-soft); }

/* ---------------- Timeline ---------------- */
.timeline { list-style: none; padding: 0; margin: 1.6rem 0; }
.timeline li {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
}
.timeline .num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-serif);
}
.timeline .step-body h3 { margin-bottom: 4px; font-size: 1.08rem; }
.timeline .step-body p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------------- Lists (strengths / considerations) ---------------- */
ul.strengths, ul.considerations { list-style: none; padding: 0; margin: 0 0 1.4rem; }
ul.strengths li, ul.considerations li { padding: 8px 0 8px 30px; position: relative; }
ul.strengths li::before { content: "\2713"; position: absolute; left: 0; color: #157a3a; font-weight: 800; }
ul.considerations li::before { content: "!"; position: absolute; left: 4px; color: var(--red-dark); font-weight: 800; }

dl.keyfacts { display: grid; grid-template-columns: 220px 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 1.4rem 0; }
dl.keyfacts dt, dl.keyfacts dd { padding: 12px 16px; margin: 0; border-bottom: 1px solid var(--border-soft); }
dl.keyfacts dt { background: var(--off-white); font-weight: 600; color: var(--black); }
dl.keyfacts dd { color: var(--ink-soft); }
@media (max-width: 620px) {
  dl.keyfacts { grid-template-columns: 1fr; }
  dl.keyfacts dt { border-bottom: none; padding-bottom: 4px; }
}

.best-for {
  background: #fdf7e2;
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 1.2rem 0;
}
.best-for strong { color: var(--black); }

/* ---------------- CTA box ---------------- */
.cta-box {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-left: 4px solid var(--gold);
}
.cta-box p { margin: 0; font-size: 1.08rem; font-family: var(--font-serif); }
.cta-box .btn-primary { flex-shrink: 0; }

/* ---------------- TOC ---------------- */
.toc {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 2rem;
}
.toc h2 { font-size: 1.05rem; border: none; padding: 0; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------------- Post / review meta ---------------- */
.post-meta, .review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 16px;
}
.post-meta strong, .review-meta strong { color: var(--black); }

article.post-body h2, article.review-body h2 { margin-top: 2.2rem; }
article.post-body > p:first-of-type { font-size: 1.08rem; color: var(--ink-soft); }

.related-box {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 2.5rem;
}
.related-box h2 { font-size: 1.2rem; }
.related-list { display: flex; gap: 14px; flex-wrap: wrap; padding: 0; list-style: none; margin: 0; }
.related-list a {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 600;
  color: var(--black);
}
.related-list a:hover { border-color: var(--red); color: var(--red-dark); }

.sources-list { font-size: 0.85rem; color: var(--ink-soft); padding-left: 1.2rem; }
.sources-list li { margin-bottom: 6px; }

.visit-btn-wrap { margin: 1.4rem 0; }

.accent-flag {
  float: right;
  width: 220px;
  border-radius: var(--radius);
  margin: 0 0 18px 24px;
  box-shadow: var(--shadow);
}
@media (max-width: 700px) { .accent-flag { float: none; width: 100%; margin: 0 0 18px; } }

/* ---------------- FAQ grid on homepage ---------------- */
.faq-list { max-width: 760px; }

/* ---------------- Author box ---------------- */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px;
}
.author-box .initials {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-serif);
}

/* ---------------- Contact form ---------------- */
form.contact-form { max-width: 560px; }
form.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--black); }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form button { cursor: pointer; }

/* ---------------- Footer ---------------- */
footer.site-footer {
  background: var(--black-deep);
  color: #cfc9b6;
  padding: 44px 0 20px;
  font-size: 0.9rem;
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 28px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-family: var(--font-serif); font-size: 1rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #cfc9b6; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); text-decoration: underline; }
.footer-disclosure {
  border-top: 1px solid rgba(255,206,0,0.15);
  padding-top: 18px;
  font-size: 0.85rem;
  color: #a9a08a;
  line-height: 1.6;
}
.footer-disclosure a { color: #e2d9b8; }
.footer-copy { margin-top: 14px; font-size: 0.8rem; color: #7d7563; }

/* ---------------- Misc ---------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.2rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 10px 24px 20px;
    gap: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  }
  nav.main-nav.open { display: flex; }
  header.site-header { position: sticky; }
  .hero h1 { font-size: 1.9rem; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}
