/* aussietopcasinos.com — каркас «Reef». Третья палитра сети под AU:
   бирюза рифа + коралл + песчаный крем. У соседей: gradecasinos navy+gold, casinostown терракота. */
:root{
  --atc-ink:#10251f; --atc-ink-2:#4a635c; --atc-cream:#f7f3ea; --atc-paper:#fff;
  --atc-teal:#0f6b6e; --atc-teal-dk:#0a4f52; --atc-coral:#c94a27; --atc-coral-dk:#a03a1c;
  --atc-line:#e3dccd; --atc-sun:#f0b429;
  --atc-pad:20px; --atc-w:1240px; --atc-r:12px;
}

/* ── 1. каркас темы донора: сайдбар снят, контент во всю ширину ── */
html,body{margin:0!important;padding:0!important;max-width:100%!important}
html body{background:var(--atc-cream)!important;color:var(--atc-ink)!important;
  font-family:"Segoe UI",Roboto,system-ui,Arial,sans-serif!important;font-size:17px;line-height:1.65;
  min-width:0!important;width:100%!important}
*{box-sizing:border-box}
body .container,body .container.centered,body .container.flex,body .fl-ancestor.container{
  max-width:var(--atc-w)!important;margin:0 auto!important;padding:0 var(--atc-pad)!important;
  width:100%!important;float:none!important;display:block!important}
body .container.flex>*{width:100%!important;max-width:100%!important;flex:1 1 auto!important;
  margin-left:0!important;margin-right:0!important}
body .content,body .content.front-page,body main{width:100%!important;max-width:100%!important;
  float:none!important;padding:0!important;margin:0!important}
aside,.sidebar,.sidebar-cards-items,.sidebar-best-online-casino,.sidebar-top-casinos,
.header-bonus,.mobile-top-menu-box,.top_fixed_info,.modal,.fancybox-container,
.button_ajax_wrap,.swiper-button-next,.swiper-button-prev{display:none!important}
img,picture,svg,video,iframe,table{max-width:100%!important;height:auto}

/* ── 2. своя шапка ── */
.atc-hd{background:var(--atc-paper);border-bottom:1px solid var(--atc-line);
  box-shadow:0 6px 18px rgba(16,37,31,.06);position:relative;z-index:60}
.atc-hd,.atc-hd *{color:var(--atc-ink)!important;box-sizing:border-box}
.atc-hd__in{max-width:var(--atc-w);margin:0 auto;padding:12px var(--atc-pad);display:flex;
  align-items:center;gap:20px}
.atc-hd__logo{display:flex;align-items:center;gap:11px;text-decoration:none!important;flex:0 0 auto}
.atc-hd__mark{width:42px;height:42px;flex:0 0 42px}
.atc-hd__name{font-size:22px;font-weight:800;letter-spacing:.2px;line-height:1.05}
.atc-hd__name i{font-style:normal;color:var(--atc-coral)!important}
.atc-hd__tag{display:block;font-size:10.5px;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--atc-ink-2)!important;margin-top:3px}
.atc-nav{position:static!important;background:transparent!important;width:auto!important;
  height:auto!important;top:auto!important;left:auto!important;right:auto!important;
  transform:none!important;box-shadow:none!important;z-index:auto!important;margin-left:auto;
  display:block!important;float:none!important}
.atc-nav ul{list-style:none;margin:0;padding:0}
.atc-nav__lvl1{display:flex;gap:2px;align-items:center}
.atc-nav__li{position:relative}
.atc-nav__a{display:block;padding:10px 12px;border-radius:8px;font-size:15px;font-weight:700;
  text-decoration:none!important;white-space:nowrap}
.atc-nav__li:hover>.atc-nav__a{background:var(--atc-cream);color:var(--atc-teal)!important}
.atc-nav__sub{position:absolute;top:100%;left:0;min-width:250px;background:var(--atc-paper);
  border:1px solid var(--atc-line);border-radius:12px;box-shadow:0 16px 40px rgba(16,37,31,.16);
  padding:8px;display:none}
.atc-nav__li:hover>.atc-nav__sub,.atc-nav__li:focus-within>.atc-nav__sub{display:block}
.atc-nav__sub a{display:block;padding:8px 10px;border-radius:8px;font-size:14.5px;
  text-decoration:none!important}
.atc-nav__sub a:hover{background:var(--atc-cream);color:var(--atc-teal)!important}
.atc-burger,.atc-burger-lbl{display:none}

/* ── 3. свой подвал ── */
.atc-ft{background:var(--atc-teal-dk);color:#eaf3f1!important;margin-top:44px;
  border-top:5px solid var(--atc-coral)}
.atc-ft *,.atc-ft a,.atc-ft li,.atc-ft p,.atc-ft h3,.atc-ft span{color:#eaf3f1!important}
.atc-ft__in{max-width:var(--atc-w);margin:0 auto;padding:34px var(--atc-pad)}
.atc-ft__cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:26px}
.atc-ft h3{font-size:15px;letter-spacing:1.2px;text-transform:uppercase;margin:0 0 12px;
  color:#fff!important}
.atc-ft ul{list-style:none;margin:0;padding:0}
.atc-ft li{margin:0 0 7px;font-size:14.5px}
.atc-ft a{text-decoration:none!important;opacity:.9}
.atc-ft a:hover{opacity:1;text-decoration:underline!important}
.atc-ft__chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.atc-ft__chip{border:1px solid rgba(234,243,241,.32);border-radius:999px;padding:5px 11px;
  font-size:12.5px;font-weight:700}
.atc-ft__chip--18{background:var(--atc-coral);border-color:var(--atc-coral);color:#fff!important}
.atc-ft__trust{margin:18px 0 0;padding:16px 0 0;border-top:1px solid rgba(234,243,241,.18);
  font-size:13.5px;opacity:.88}
.atc-ft__copy{margin:12px 0 0;font-size:13px;opacity:.7}

/* ── 4. типографика и блоки донора ── */
h1,h2,h3,h4{color:var(--atc-ink)!important;line-height:1.2;margin:26px 0 12px;font-weight:800}
h1{font-size:36px!important}
h2{font-size:27px!important;padding-bottom:8px;border-bottom:3px solid var(--atc-teal)}
h3{font-size:21px!important}
p,li,td,th,dd,dt{color:var(--atc-ink)!important}
a{color:var(--atc-teal)}
a:hover{color:var(--atc-teal-dk)}
main a,.content a,td a,li a{color:var(--atc-teal-dk)!important}
.breadcrumbs,.breadcrumbs *{font-size:13px!important;color:var(--atc-ink-2)!important}
table{border-collapse:collapse;width:100%;background:var(--atc-paper)}
th,td{border:1px solid var(--atc-line);padding:10px 12px;font-size:15px}
th{background:var(--atc-cream);text-align:left}
main table,.content table{display:block;overflow-x:auto}
main table tbody{display:table;width:100%}
blockquote{background:var(--atc-paper)!important;border-left:4px solid var(--atc-sun)!important;
  border-radius:0 12px 12px 0;padding:14px 16px!important;margin:18px 0!important}
/* оглавление плагина донора — своё, свёрнутое */
.lwptoc{background:var(--atc-paper)!important;border:1px solid var(--atc-line)!important;
  border-radius:12px!important;padding:12px 14px!important}
.lwptoc_i,.lwptoc_items{background:transparent!important}
.lwptoc_header{font-weight:800!important}
/* CTA донора */
.button,.to_casino,a.atc-cta,.toplist_getbonus a{background:var(--atc-coral)!important;
  color:#fff!important;border:0!important;border-radius:999px!important;padding:11px 20px!important;
  font-weight:700!important;text-decoration:none!important;display:inline-block!important;
  text-transform:none!important;box-shadow:none!important}
.button:hover,a.atc-cta:hover,.toplist_getbonus a:hover{background:var(--atc-coral-dk)!important;
  color:#fff!important}
/* карточки/списки донора */
.item,.poster,.casinos figure{background:var(--atc-paper)!important;border:1px solid var(--atc-line)!important;
  border-radius:var(--atc-r)!important;box-shadow:none!important}
.stars,.rating{color:var(--atc-sun)!important}

/* ── 5. мобилка ── */
@media (max-width:980px){
  :root{--atc-pad:14px}
  .atc-hd__in{flex-wrap:wrap;gap:10px}
  .atc-burger-lbl{display:block;margin-left:auto;font-size:26px;line-height:1;cursor:pointer;
    padding:4px 10px;border:1px solid var(--atc-line);border-radius:10px}
  .atc-nav{flex:0 0 100%;margin-left:0}
  .atc-nav__lvl1{display:none;flex-direction:column;gap:0;padding-top:8px;
    border-top:1px solid var(--atc-line)}
  .atc-burger:checked~.atc-nav .atc-nav__lvl1{display:flex}
  .atc-nav__sub{position:static;display:block;border:0;box-shadow:none;padding:0 0 8px 12px;min-width:0}
  h1{font-size:28px!important}
  h2{font-size:22px!important}
  .atc-ft__cols{grid-template-columns:1fr 1fr;gap:18px}
}
@media (max-width:560px){.atc-ft__cols{grid-template-columns:1fr}}

/* ── 6. контраст CTA (белое на коралле ≥4.5) и раскрытое оглавление плагина донора ── */
a.atcv-cta,.button,.to_casino,.toplist_getbonus a{background:#bf4526!important;color:#fff!important}
a.atcv-cta:hover,.button:hover,.to_casino:hover{background:#993618!important;color:#fff!important}
.lwptoc_items,.lwptoc_i{display:block!important;max-height:none!important;height:auto!important;
  overflow:visible!important;opacity:1!important;visibility:visible!important}
.lwptoc_toggle,.lwptoc_toggle_label{display:none!important}

/* ── 7. контраст: подписи в деталях витрины, вопросы FAQ и чип 18+ ── */
dl.atcv-dl dt{color:#4a635c!important}
.accordion_item_title,.accordion_item_title span,.faq h6,.faq h6 span{color:#0a4f52!important;
  font-weight:800!important}
.accordion_item_info{display:block!important;max-height:none!important;height:auto!important;
  overflow:visible!important}
.atc-ft__chip--18{background:#a03a1c!important;border-color:#a03a1c!important;color:#fff!important}
.accordion_item{background:#fff!important;border:1px solid var(--atc-line)!important;
  border-radius:12px!important;padding:10px 14px!important;margin:10px 0!important}

/* ── 8. шапки таблиц донора: тёмный фон строкой, белый текст в span ── */
main table thead tr,main table tr[style*="background-color"],.content table thead tr{
  background:#0f6b6e!important;color:#fff!important}
main table thead td,main table thead th,main table tr[style*="background-color"] td,
main table thead td span,main table thead td strong,
main table tr[style*="background-color"] td span,main table tr[style*="background-color"] td strong{
  color:#fff!important}

/* ⚠️ цвет задавать и САМОЙ строке: чекер меряет контраст у <tr>, а белый текст лежит в <span> */
main table thead tr,main table thead tr *,main table tr[style*="background-color"],
main table tr[style*="background-color"] *{color:#fff!important}

/* ⚠️ таблицы бывают и ВНЕ <main> (у донора контент лежит в div.content рядом с main) —
   правило без префикса main, иначе `td a` перекрашивает ссылку в тёмное на тёмном */
table thead tr,table tr[style*="background-color"]{background:#0f6b6e!important;color:#fff!important}
table thead tr *,table tr[style*="background-color"] *,
table thead tr a,table tr[style*="background-color"] a{color:#fff!important}

/* ⚠️ `.content a` (класс+тег) БЬЁТ `table thead tr a` (четыре тега) — поднимаем специфичность */
.content table thead tr a,.content table thead tr *,main table thead tr a,
.content table tr[style*="background-color"] a,.content table tr[style*="background-color"] *,
body table thead tr a,body table thead tr span,body table thead tr strong{color:#fff!important}
