/* ============================================================
   EasyWagerClub — Editorial Newspaper / Daily Wager theme
   Shared stylesheet for all pages.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,600&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --paper: #F7F3E9;
  --paper-shade: #EFEADB;
  --ink: #16130E;
  --ink-soft: #3a3529;
  --ink-faint: #6b6353;
  --accent: #C8102E;
  --rule: #16130E;
  --hairline: rgba(22, 19, 14, 0.22);
  --hairline-soft: rgba(22, 19, 14, 0.12);
  --serif-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --serif-body: 'PT Serif', Georgia, 'Times New Roman', serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 26px, rgba(22,19,14,0.018) 27px),
    radial-gradient(circle at 20% 10%, rgba(200,16,46,0.012), transparent 60%);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Masthead / Header ---------- */
.masthead {
  border-bottom: 3px double var(--rule);
  background: var(--paper);
}

.masthead__topline {
  border-bottom: 1px solid var(--hairline);
  font-family: var(--serif-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.masthead__topline .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 12px;
}

.masthead__dateline { font-style: italic; letter-spacing: 0.06em; text-transform: none; }
.masthead__edition { color: var(--accent); font-weight: 700; }

.masthead__main .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 16px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  font-family: var(--serif-head);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--paper);
  background: var(--ink);
  padding: 6px 10px;
  letter-spacing: 0.02em;
}
.brand__name {
  font-family: var(--serif-head);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 50px);
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand__name .accent { color: var(--accent); }

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; }
.nav__list {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-family: var(--serif-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }
.nav__link.is-active { border-bottom-color: var(--ink); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* thin rule under masthead nav row */
.masthead__rule {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  height: 4px;
}

/* ---------- Section scaffolding ---------- */
.section { padding: 46px 0; }
.section--tight { padding: 34px 0; }

.kicker {
  font-family: var(--serif-body);
  font-weight: 700;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}

.section__head {
  border-bottom: 2px solid var(--rule);
  padding-bottom: 8px;
  margin-bottom: 26px;
}
.section__title {
  font-family: var(--serif-head);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 4px;
  line-height: 1.05;
}
.section__sub {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  font-size: 17px;
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 30px; }
.hero__inner {
  border-top: 1px solid var(--hairline);
  border-bottom: 3px double var(--rule);
  padding: 28px 0 34px;
}
.hero__eyebrow {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-align: center;
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 700;
}
.hero__title {
  font-family: var(--serif-head);
  font-weight: 900;
  font-size: clamp(38px, 7.4vw, 78px);
  line-height: 0.98;
  text-align: center;
  margin: 0 auto 22px;
  max-width: 14ch;
  letter-spacing: -0.01em;
}
.hero__lede {
  font-family: var(--serif-body);
  font-size: 20px;
  line-height: 1.62;
  max-width: 60ch;
  margin: 0 auto 26px;
  text-align: justify;
  column-count: 1;
}
.hero__lede::first-letter {
  font-family: var(--serif-head);
  font-weight: 900;
  font-size: 4.6em;
  line-height: 0.74;
  float: left;
  padding: 6px 10px 0 0;
  color: var(--accent);
}
.hero__cta { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  padding: 14px 26px;
  cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); text-decoration: none; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: 12px; letter-spacing: 0.12em; }

/* ---------- Partners (classifieds columns) ---------- */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.partner {
  border-left: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.partner:first-child { border-left: 0; }
.partner__name {
  font-family: var(--serif-head);
  font-weight: 800;
  font-size: 24px;
  margin: 0;
  line-height: 1;
}
.partner__cta { margin-top: 6px; }

/* ---------- Responsible gaming article block ---------- */
.rg__body {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.74;
  text-align: justify;
  column-count: 2;
  column-gap: 40px;
  column-rule: 1px solid var(--hairline);
}
.rg__body::first-letter {
  font-family: var(--serif-head);
  font-weight: 900;
  font-size: 3.6em;
  line-height: 0.72;
  float: left;
  padding: 6px 8px 0 0;
  color: var(--accent);
}

/* ---------- Article (About / Terms) ---------- */
.article { padding: 44px 0 54px; }
.article__head {
  border-bottom: 3px double var(--rule);
  margin-bottom: 30px;
  padding-bottom: 14px;
}
.article__title {
  font-family: var(--serif-head);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1;
  margin: 0;
}
.article__byline {
  font-family: var(--serif-body);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-top: 12px;
  text-transform: uppercase;
}
.article__body {
  max-width: 72ch;
}
.article__lede {
  font-size: 21px;
  line-height: 1.6;
  font-style: italic;
  color: var(--ink-soft);
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 0 0 30px;
}
.article__sub {
  font-family: var(--serif-head);
  font-weight: 800;
  font-size: 26px;
  margin: 34px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
}
.article__body p { margin: 0 0 16px; }
.article__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.article__list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--hairline-soft);
}
.article__list li::before {
  content: "§";
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--accent);
  font-family: var(--serif-head);
  font-weight: 700;
  font-size: 20px;
}
.article__list li strong { color: var(--ink); }

/* ---------- Bonuses (classified listings) ---------- */
.bonuses__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid var(--rule);
  border-left: 1px solid var(--hairline);
}
.bonus {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  grid-template-areas:
    "mark title cta"
    "mark sub cta"
    "mark code cta";
  align-items: center;
  column-gap: 16px;
  row-gap: 2px;
}
.bonus__mark {
  grid-area: mark;
  align-self: start;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-family: var(--serif-head);
  font-weight: 900;
  font-size: 24px;
  color: var(--paper);
  background: var(--accent);
}
.bonus__title {
  grid-area: title;
  font-family: var(--serif-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
}
.bonus__sub {
  grid-area: sub;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 2px 0;
}
.bonus__code {
  grid-area: code;
  font-family: var(--serif-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.bonus__code .label { color: var(--ink-faint); }
.bonus__code .value {
  color: var(--accent);
  border: 1px dashed var(--accent);
  padding: 1px 7px;
  margin-left: 4px;
  letter-spacing: 0.06em;
}
.bonus__cta { grid-area: cta; }

/* ---------- Footer ---------- */
.footer {
  border-top: 3px double var(--rule);
  margin-top: 30px;
  padding: 30px 0 40px;
  background: var(--paper-shade);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer__brand {
  font-family: var(--serif-head);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.02em;
}
.footer__brand .accent { color: var(--accent); }
.footer__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
}
.footer__links li { padding: 0 14px; border-left: 1px solid var(--hairline); }
.footer__links li:first-child { border-left: 0; }
.footer__links a {
  font-family: var(--serif-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer__links a:hover { color: var(--accent); }
.footer__copy {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 14px;
  margin: 0;
}
.footer__age {
  display: inline-block;
  font-weight: 700;
  border: 2px solid var(--ink);
  padding: 2px 8px;
  margin-right: 6px;
  font-style: normal;
  font-family: var(--serif-body);
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--accent);
  transform: translateY(0);
}
.cookie[hidden] { display: none; }
.cookie__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie__text {
  font-family: var(--serif-body);
  font-size: 15px;
  margin: 0;
}
.cookie .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  flex: 0 0 auto;
}
.cookie .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  body { font-size: 17px; }
  .partners__grid { grid-template-columns: 1fr; }
  .partner { border-left: 0; }
  .rg__body { column-count: 1; }
  .bonuses__grid { grid-template-columns: 1fr; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-top: 1px solid var(--hairline);
    border-bottom: 3px double var(--rule);
    display: none;
    z-index: 40;
  }
  .nav.is-open { display: block; }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
  }
  .nav__list li { border-top: 1px solid var(--hairline-soft); }
  .nav__list li:first-child { border-top: 0; }
  .nav__link {
    display: block;
    padding: 14px 24px;
    border-bottom: 0;
    max-width: var(--maxw);
    margin: 0 auto;
  }
  .nav__link.is-active { color: var(--accent); }
  .hamburger { display: flex; }
}

@media (max-width: 560px) {
  .bonus {
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "mark title"
      "mark sub"
      "code code"
      "cta cta";
    row-gap: 8px;
  }
  .bonus__cta { justify-self: start; margin-top: 4px; }
  .cookie__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .masthead__topline .wrap { font-size: 11px; }
}

/* ============================================================
   PROD-2017 — casino logos (partners + bonus cards) & bonus sub-nav
   Logos are 200x84; each sits on a light-grey "chip" so white & dark logos stay visible
   regardless of the (paper) background.
   ============================================================ */

/* Home partner cards: logo chip + name + Visit Site (no bonus text) */
.partner__logo {
  width: 100%;
  height: 72px;
  display: grid;
  place-items: center;
  background: #EAE6DB;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 10px 18px;
}
.partner__logo img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

/* Bonus category buttons on /bonuses */
.bonus-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 4px 0 0;
}

/* Back-link on bonus sub-pages */
.back-link {
  font-family: var(--serif-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.back-link a { color: var(--ink-faint); }
.back-link a:hover { color: var(--accent); text-decoration: none; }

/* Logo bonus card: overrides the grid-area .bonus layout */
.bonus--logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.bonus--logo .bonus__logo {
  display: inline-flex;
  align-items: center;
  background: #EAE6DB;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 8px 14px;
}
.bonus--logo .bonus__logo img {
  max-height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.bonus__name {
  font-family: var(--serif-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  margin: 0;
}
.bonus__offer {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
  flex: 1;
}
.bonus--logo .bonus__cta { margin-top: 4px; }
