/* Jugar Blackjack 21 — first-party stylesheet. System fonts, no third-party assets.
   The header is the old night photograph with the site title in white.
   The menu under it is Articulos. */

:root {
  --ink: #1c1915;
  --muted: #5e584e;
  --paper: #f7f4ee;
  --soft: #fffdf8;
  --line: #e4ddd0;
  --header: #0c0c0e;
  --header-ink: #ffffff;
  --gold: #e4c27a;
  --link: #0f5c45;
  --link-hover: #8a6420;
  --focus: #e4c27a;
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Palatino, "Palatino Linotype", Georgia, serif;
  --wrap: 68rem;
  --measure: 42rem;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  font-weight: 650;
}

.skip:focus {
  top: 0.75rem;
}

.mast {
  background-color: var(--header);
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.16) 46%, rgba(0, 0, 0, 0.35) 100%),
    url("/images/cropped-background2.jpeg");
  background-size: cover;
  background-position: center 42%;
  min-height: 14.5rem;
  display: flex;
  align-items: flex-end;
}

.mast__inner {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.4rem 0 1.25rem;
}

.site-title {
  margin: 0;
}

.site-title a {
  color: var(--header-ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.site-title a:hover {
  color: var(--gold);
}

.nav {
  background: var(--header);
  border-bottom: 3px solid var(--gold);
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem 0.15rem;
  list-style: none;
  width: min(var(--wrap), calc(100% - 1rem));
  margin: 0 auto;
  padding: 0.25rem 0 0.4rem;
}

.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.2rem 0.7rem;
  color: var(--header-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--gold);
}

main {
  padding: 1.75rem 0 3rem;
}

main:focus {
  outline: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.article {
  max-width: var(--measure);
  margin-inline: auto;
}

.home-article {
  max-width: 52rem;
}

.home-article .prose,
.home-article .more {
  max-width: var(--measure);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
  color: #16130f;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  margin: 0 0 0.45rem;
}

h2 {
  font-size: 1.55rem;
  margin: 1.8rem 0 0.65rem;
}

h3 {
  font-size: 1.28rem;
  margin: 1.45rem 0 0.5rem;
}

h4 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.4rem;
}

.byline {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.casinos {
  margin: 0 0 2rem;
}

.casinos__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--soft);
  border: 1px solid var(--line);
}

.casinos__table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.55rem;
  padding: 0 0 0.7rem;
  color: #16130f;
}

.casinos__table p {
  margin: 0;
}

.casinos__table th,
.casinos__table td {
  padding: 0.75rem 0.7rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.casinos__table th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.casinos__table img {
  display: block;
  width: 9.4rem;
  height: auto;
}

.bonus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  align-items: baseline;
}

.bonus__pct,
.bonus__amt {
  font-weight: 750;
}

.bonus__up {
  color: var(--muted);
  font-size: 0.92rem;
}

.bonus__tc {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.82rem;
}

.rating {
  white-space: nowrap;
}

.meter {
  display: inline-block;
  width: 5.2rem;
  height: 0.5rem;
  margin-right: 0.4rem;
  background: #e7e0d2;
  border-radius: 99px;
  overflow: hidden;
  vertical-align: middle;
}

.meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: #c8962e;
}

.visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.visit:hover {
  background: #222;
  color: #fff;
}

.rank {
  font-weight: 750;
}

.prose {
  overflow-wrap: break-word;
}

.prose::after {
  content: "";
  display: table;
  clear: both;
}

.prose h2,
.prose h3,
.prose h4 {
  clear: both;
}

.prose p,
.prose li {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.prose img.aligncenter {
  display: block;
  margin: 1.1rem auto;
}

.prose img.alignright {
  float: right;
  margin: 0.2rem 0 0.8rem 1.15rem;
}

.prose img.alignleft {
  float: left;
  margin: 0.2rem 1.15rem 0.8rem 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1.2rem;
  max-width: 100%;
}

.prose table,
.casinos__table {
  border-collapse: collapse;
}

.prose table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  font-size: 0.95rem;
}

.prose td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.6rem;
  vertical-align: top;
  background: var(--soft);
}

.more {
  clear: both;
  margin-top: 2.4rem;
  padding-top: 0.3rem;
  border-top: 1px solid var(--line);
}

.more ul {
  padding-left: 1.15rem;
}

.more li {
  margin: 0.35rem 0;
}

.site-footer {
  background: var(--header);
  color: var(--header-ink);
  padding: 1.15rem 0 1.5rem;
}

.site-footer a {
  color: #fff;
  font-weight: 650;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.copy {
  margin: 0.15rem 0 0;
  color: #c8c4bc;
  font-size: 0.95rem;
}

@media (max-width: 42rem) {
  .mast {
    min-height: 11rem;
    background-position: center 38%;
  }

  .casinos .table-scroll {
    overflow: visible;
  }

  .casinos__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .casinos__table,
  .casinos__table tbody,
  .casinos__table tr,
  .casinos__table td,
  .casinos__table caption {
    display: block;
    width: 100%;
  }

  .casinos__table tr {
    padding: 0.4rem 0.85rem 0.95rem;
  }

  .casinos__table td {
    border: 0;
    padding: 0.4rem 0;
    text-align: center;
  }

  .casinos__table td:nth-child(1) {
    display: none;
  }

  .casinos__table img {
    margin-inline: auto;
  }

  .bonus {
    justify-content: center;
  }

  .visit {
    width: 100%;
    margin-top: 0.2rem;
  }

  .prose img.alignright,
  .prose img.alignleft,
  .prose img.aligncenter {
    float: none;
    display: block;
    width: auto;
    max-width: 100%;
    margin: 1rem auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .skip,
  .nav,
  .site-footer nav {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .mast,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .site-title a,
  .site-footer a {
    color: #000;
    text-shadow: none;
  }
}
