/* loccasionesardegna.it — casino non AAMS deposito minimo 5 euro
   Deliberately simple, early-2010s affiliate look: system fonts,
   fixed centered column, green header band, glossy blue buttons,
   1px-bordered zebra tables. No web fonts, no frameworks. */

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: #eceff1;
  color: #222;
  font-family: Arial, "Helvetica Neue", Helvetica, Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a { color: #1558b0; }
a:hover { color: #0a3320; }

.wrap {
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-left: 1px solid #d5d9dc;
  border-right: 1px solid #d5d9dc;
}

/* ---------- header ---------- */
.topbar {
  background: #0a3320;
  color: #cfe9dc;
  font-size: 12px;
  padding: 5px 18px;
  text-align: right;
}
.topbar a { color: #9fd9b8; text-decoration: none; }

.masthead {
  background: #0f4d2e;
  background: linear-gradient(#146138, #0a3320);
  color: #ffffff;
  padding: 22px 18px 26px;
  border-bottom: 4px solid #f4b400;
}
.masthead .site-name {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: .3px;
  margin: 0 0 10px;
}
.masthead .site-name span { color: #f4b400; }
.masthead h1 {
  font-size: 27px;
  line-height: 1.25;
  margin: 4px 0 8px;
  color: #ffffff;
}
.masthead .tagline {
  font-size: 14px;
  color: #d7efe1;
  margin: 0;
}

/* ---------- nav / breadcrumb ---------- */
.nav {
  background: #f4f6f7;
  border-bottom: 1px solid #d5d9dc;
  padding: 8px 18px;
  font-size: 13px;
}
.nav a { text-decoration: none; margin-right: 14px; color: #0a3320; font-weight: bold; }
.breadcrumb { padding: 7px 18px; font-size: 12px; color: #777; background: #fbfbfb; border-bottom: 1px solid #eee; }
.breadcrumb a { color: #1558b0; text-decoration: none; }

/* ---------- content ---------- */
.content { padding: 20px 18px 8px; }
.content h2 {
  font-size: 21px;
  color: #0a3320;
  border-bottom: 2px solid #e2e6e9;
  padding-bottom: 6px;
  margin: 34px 0 14px;
}
.content h3 {
  font-size: 17px;
  color: #14532d;
  margin: 22px 0 8px;
}
.content p { margin: 0 0 13px; }
.content ul, .content ol { margin: 0 0 15px; padding-left: 24px; }
.content li { margin-bottom: 6px; }

.updated { font-size: 12px; color: #888; margin: 0 0 18px; }

.notice {
  background: #fff8e1;
  border: 1px solid #f4d97b;
  border-left: 4px solid #f4b400;
  padding: 10px 14px;
  font-size: 13px;
  margin: 16px 0;
}

/* ---------- ranking table (hero) ---------- */
.ranktable {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 6px;
  font-size: 14px;
}
.ranktable th, .ranktable td {
  border: 1px solid #d5d9dc;
  padding: 10px 9px;
  vertical-align: middle;
}
.ranktable thead th {
  background: #0a3320;
  color: #fff;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.ranktable tbody tr:nth-child(even) { background: #f6f8fc; }
.ranktable .pos { text-align: center; font-weight: bold; font-size: 18px; color: #0a3320; width: 44px; }
.ranktable .brand { width: 190px; }
.ranktable .brand img { max-width: 150px; max-height: 46px; display: block; margin-bottom: 4px; }
.ranktable .brand strong { display: block; font-size: 15px; }
.ranktable .badge {
  display: inline-block;
  background: #e8f5e9;
  color: #14532d;
  border: 1px solid #b6dabf;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-top: 3px;
}
.ranktable .rate { text-align: center; font-weight: bold; color: #b06a00; width: 62px; }
.ranktable .bonus { font-size: 13.5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: #2f8be6;
  background: linear-gradient(#4aa3f0, #1f7fd6);
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  padding: 9px 14px;
  border: 1px solid #1a6cb8;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.btn:hover { background: linear-gradient(#3f97ea, #196fc0); color:#fff !important; }
.btn.small { font-size: 12px; padding: 6px 10px; }
.btn-wrap { text-align: center; width: 130px; }

/* ---------- generic data tables ---------- */
.data {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 20px;
  font-size: 13.5px;
}
.data th, .data td { border: 1px solid #d5d9dc; padding: 8px 10px; text-align: left; vertical-align: top; }
.data thead th { background: #14532d; color: #fff; font-size: 13px; }
.data tbody tr:nth-child(even) { background: #f6f8fc; }
.data td.k { background: #f0f3f5; font-weight: bold; width: 34%; }

/* ---------- brand block ---------- */
.brandblock { border: 1px solid #e2e6e9; border-radius: 5px; padding: 4px 16px 10px; margin: 14px 0 24px; background: #fcfdfe; }
.brandhead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 12px 0 6px; }
.brandhead img { max-height: 50px; max-width: 170px; }
.brandhead .r { font-size: 13px; color: #b06a00; font-weight: bold; }

/* ---------- pros/cons ---------- */
.proscons { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.proscons td { width: 50%; vertical-align: top; border: 1px solid #d5d9dc; padding: 12px 16px; }
.proscons .pros { background: #f1f8f2; }
.proscons .cons { background: #fdf3f2; }
.proscons h4 { margin: 0 0 8px; font-size: 15px; }
.proscons .pros h4 { color: #1b7a34; }
.proscons .cons h4 { color: #b23b32; }

/* ---------- toplist embed frame ---------- */
.toplist-box { border: 1px solid #e2e6e9; border-radius: 5px; padding: 14px; margin: 12px 0 20px; background: #fbfdfc; }

/* ---------- FAQ ---------- */
.faq dt { font-weight: bold; color: #0a3320; margin: 16px 0 4px; font-size: 15.5px; }
.faq dd { margin: 0 0 12px; padding: 0; }

/* ---------- author / EEAT box ---------- */
.authorbox {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f6f8fc;
  border: 1px solid #e2e6e9;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 0 0 18px;
}
.authorbox img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px #d5d9dc; }
.authorbox .meta { font-size: 12.5px; color: #555; line-height: 1.5; }
.authorbox .meta strong { color: #0a3320; font-size: 14px; display: block; }
.authorbox .meta a { color: #1558b0; }

/* ---------- brand screenshot / preview ---------- */
.brandshot { margin: 10px 0; border-radius: 5px; overflow: hidden; border: 1px solid #e2e6e9; }
.brandshot img { width: 100%; height: auto; display: block; }
.brandshot figcaption { font-size: 11px; color: #888; padding: 5px 8px; background: #fafbfc; border-top: 1px solid #eee; }

/* ---------- brand feature list ---------- */
.content .features { margin: 6px 0 14px; padding-left: 20px; }
.content .features li { margin-bottom: 5px; }

/* ---------- per-brand mini pros/cons ---------- */
.miniproscons { display: flex; gap: 14px; flex-wrap: wrap; margin: 4px 0 12px; }
.miniproscons > div { flex: 1 1 220px; border-radius: 5px; padding: 10px 12px; border: 1px solid #e2e6e9; }
.miniproscons .pv { background: #f1f8f2; }
.miniproscons .cv { background: #fdf3f2; }
.miniproscons h5 { margin: 0 0 6px; font-size: 13px; }
.miniproscons .pv h5 { color: #1b7a34; }
.miniproscons .cv h5 { color: #b23b32; }
.miniproscons ul { margin: 0; padding-left: 18px; font-size: 13px; }
.miniproscons li { margin-bottom: 3px; }

/* ---------- footer ---------- */
.footer {
  background: #0a3320;
  color: #b9d4c4;
  font-size: 12px;
  padding: 18px;
  margin-top: 26px;
  line-height: 1.7;
}
.footer a { color: #9fd9b8; }
.footer .rg { color: #f4b400; font-weight: bold; }

/* ---------- responsive ---------- */
@media (max-width: 700px) {
  body { font-size: 14px; }
  .masthead h1 { font-size: 22px; }
  .ranktable, .data { font-size: 12.5px; }
  .proscons td { display: block; width: 100%; }
  .miniproscons { flex-direction: column; }
  .authorbox { flex-wrap: wrap; }

  /* Stacked cards for headered tables (ranktable + comparison/data tables) */
  table.ranktable, table.data:not(.kv) { border: 0; width: 100%; }
  table.ranktable thead, table.data:not(.kv) thead { position: absolute; left: -9999px; top: -9999px; }
  table.ranktable tbody, table.data:not(.kv) tbody,
  table.ranktable tr, table.data:not(.kv) tr,
  table.ranktable td, table.data:not(.kv) td { display: block; width: 100%; }
  table.ranktable tr, table.data:not(.kv) tr {
    border: 1px solid #d5d9dc;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
  }
  table.ranktable td, table.data:not(.kv) td {
    border: none;
    border-bottom: 1px solid #eef1f2;
    padding: 8px 10px 8px 45%;
    position: relative;
    min-height: 20px;
  }
  table.ranktable td:last-child, table.data:not(.kv) td:last-child { border-bottom: 0; }
  table.ranktable td:before, table.data:not(.kv) td:before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 8px;
    width: 40%;
    font-weight: bold;
    color: #0a3320;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .2px;
  }
  table.ranktable .pos { text-align: left; width: auto; font-size: 15px; }
  table.ranktable .brand img { margin-top: 2px; }
  table.ranktable .btn-wrap { width: auto; text-align: left; padding-left: 10px; }
  table.ranktable .btn-wrap:before { content: none; }
  table.ranktable .btn-wrap .btn { display: inline-block; }

  /* Key/value brand-spec tables: stack key above value, no data-label needed */
  table.data.kv, table.data.kv tbody, table.data.kv tr, table.data.kv td { display: block; width: 100%; }
  table.data.kv tr { border: 1px solid #d5d9dc; border-radius: 5px; overflow: hidden; margin-bottom: 10px; }
  table.data.kv td { border: none; padding: 6px 10px; }
  table.data.kv td.k { background: #f0f3f5; font-weight: bold; width: auto; padding-bottom: 2px; }

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