/* Override layer — loaded after style.css. Poker palette: felt green #0D2B22, gold #E3B23C, card red #C62F2F */

/* --- 1. Brand variables: accent = #E3B23C --- */
:root {
  --p24-black: #0D2B22;
  --p24-black-soft: #17402F;
  --p24-gold: #E3B23C;
  --p24-gold-dark: #C99A2A;
  --p24-gold-light: #F7ECCD;
  --p24-gold-muted: rgba(227, 178, 60, 0.12);
  --p24-gold-border: rgba(227, 178, 60, 0.28);
  --p24-white: #ffffff;
  --p24-off-white: #F5F3EE;
}

/* --- 2. Kill hardcoded #f2ff00 that bypasses the variable --- */
.parik24-brand tr:first-child {
  background-color: #17402F !important;
  color: #ffffff !important;
}
.parik24-brand tr:first-child td {
  color: #ffffff !important;
}
.parik24-brand .faq {
  background-color: #ffffff !important;
}
.parik24-brand .vpn_new_card,
.parik24-brand .vpn_new_card:first-of-type {
  border-color: #E3B23C !important;
}
.parik24-brand .styled-button,
.parik24-brand .btn-custom,
.parik24-brand .product_label,
.parik24-brand .product-number,
.parik24-brand .card .play-btn,
.parik24-brand .main-title-date:after {
  background-color: #E3B23C !important;
}

/* --- 3. Contrast: dark text on the light gold accent --- */
.parik24-brand .new-btn-danger,
.parik24-brand .custom-button,
.p24-cta-strip .p24-btn,
.parik24-brand #goToTopBtn {
  color: #111111 !important;
}
.parik24-brand .new_attr_list .green-text {
  color: #E3B23C !important;   /* on dark card */
}
.p24-cta-strip strong {
  color: #E3B23C !important;   /* on black strip */
}
.p24-slot-overlay span {
  background: #E3B23C !important;
  color: #111111 !important;
}
.parik24-brand .navbar .nav-link:hover,
.parik24-brand .navbar .nav-link:hover strong {
  color: #E3B23C !important;
}
.parik24-brand .progress .progress-circle {
  border-color: #E3B23C !important;
}
.p24-slots-more a {
  border-color: #E3B23C !important;
  color: #8A6A1C !important;   /* darker gold, readable on white */
}
.p24-slots-more a:hover {
  background: #E3B23C !important;
  color: #111111 !important;
}

/* Pros / cons + info notice -> neutral gray */
.p24-pros,
.p24-cons {
  background: #f4f4f4 !important;
  border: 1px solid #d9d9d9 !important;
}
.p24-pros h4,
.p24-cons h4 {
  color: #333333 !important;
}
.p24-pros li::before {
  color: #8A6A1C !important;
}
.p24-cons li::before {
  color: #999999 !important;
}
.p24-notice--info {
  background: #f4f4f4 !important;
  border: 1px solid #d9d9d9 !important;
  color: #333333 !important;
}

/* --- 4. Single "Грати" nav button --- */
.parik24-brand .navbar .nav-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E3B23C;
  color: #111111 !important;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 9px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
}
.parik24-brand .navbar .nav-play-btn:hover {
  background: #C99A2A;
  color: #111111 !important;
  transform: translateY(-2px);
  text-decoration: none;
}

/* --- 5. Headings reduced ~33% --- */
.parik24-brand h1,
.parik24-brand .vpn-main-title {
  font-size: 1.65rem !important;
  line-height: 1.25;
}
.parik24-brand h2,
.parik24-brand .h1-responsive {
  font-size: 1.3rem !important;
}
.parik24-brand h3 {
  font-size: 1.15rem !important;
}
.parik24-brand h4 {
  font-size: 1rem !important;
}

/* ============================================================
   6. Top-10 anonymous casinos — ranked list block
   ============================================================ */
.p24-top10 {
  margin: 26px 0 6px;
}
.p24-top10__title {
  text-align: center;
  margin-bottom: 4px;
}
.p24-top10__sub {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 18px;
}
.p24-top10__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p24-rank-card {
  display: grid;
  grid-template-columns: 48px 130px 135px 1fr 140px;
  grid-template-areas: "num logo brand info cta";
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-left: 4px solid var(--p24-gold, #E3B23C);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.p24-rank-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.p24-rank-card--top {
  background: linear-gradient(180deg, #FBF7EC 0%, #ffffff 60%);
}
.p24-rank-num {
  grid-area: num;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--p24-black, #111111);
  color: var(--p24-gold, #E3B23C);
  font-weight: 800;
  font-size: 1.15rem;
}
.p24-rank-card--top .p24-rank-num {
  background: var(--p24-gold, #E3B23C);
  color: #111111;
}
.p24-rank-logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 50px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.p24-rank-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Coloured text tile shown until a real logo file is added */
.p24-rank-logo--tile {
  background: var(--brand, #333333);
  border-color: rgba(0, 0, 0, 0.08);
  padding: 4px;
}
.p24-rank-logo__txt {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0.2px;
  word-break: break-word;
}
.p24-rank-brand {
  grid-area: brand;
  min-width: 0;
}
.p24-rank-brand__name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #111111;
  line-height: 1.2;
}
.p24-rank-stars {
  color: var(--p24-gold, #E3B23C);
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-top: 3px;
}
.p24-rank-info {
  grid-area: info;
  min-width: 0;
}
.p24-rank-bonus {
  font-weight: 700;
  color: #111111;
  font-size: 0.98rem;
  line-height: 1.25;
}
.p24-rank-meta {
  font-size: 0.83rem;
  color: #666;
  margin-top: 3px;
}
.p24-rank-cta {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--p24-gold, #E3B23C);
  color: #111111 !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.15s ease;
}
.p24-rank-cta:hover {
  background: var(--p24-gold-dark, #C99A2A);
  color: #111111 !important;
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 767px) {
  .p24-rank-card {
    grid-template-columns: 42px 100px 1fr;
    grid-template-areas:
      "num logo brand"
      "info info info"
      "cta cta cta";
    row-gap: 10px;
    column-gap: 12px;
    padding: 14px;
  }
  .p24-rank-num {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
  .p24-rank-logo {
    width: 100px;
    height: 42px;
  }
  .p24-rank-cta {
    width: 100%;
    padding: 12px 20px;
  }
}

/* ============================================================
   7. Real Money Poker — header, hero, article, footer
   ============================================================ */
.rmp-brand { background: #F5F3EE !important; color: #1d2a25; }
.rmp-brand a { color: #1f6b4f; }
.rmp-header { background: #0D2B22; border-bottom: 3px solid #E3B23C; }
.rmp-header .navbar { padding: 10px 0; }
.rmp-logo { display: block; width: 200px; max-width: 100%; height: auto; }
.rmp-brand .rmp-header .nav-link { color: rgba(255,255,255,.85) !important; font-size: 15px; font-weight: 500; }
.rmp-brand .rmp-header .nav-link:hover { color: #E3B23C !important; }
.rmp-brand .navbar-toggler { border-color: rgba(227,178,60,.6); }
.rmp-brand .navbar-toggler-icon { filter: none; }
.rmp-lang { display: inline-flex; gap: 4px; margin: 0 14px; }
.rmp-lang__item { color: rgba(255,255,255,.75) !important; font-weight: 700; font-size: 13px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; text-decoration: none !important; }
.rmp-lang__item.is-active { background: #E3B23C; border-color: #E3B23C; color: #0D2B22 !important; }
@media (max-width: 991px) {
  .rmp-header .navbar-collapse { padding: 12px 0 6px; }
  .rmp-lang { margin: 10px 0; }
  .rmp-brand .navbar .nav-play-btn { width: 100%; }
}

.rmp-hero { background: radial-gradient(ellipse at 50% 0%, #1d5a43 0%, #0D2B22 70%); color: #fff; padding: 34px 0 30px; }
.rmp-brand .rmp-hero h1 { color: #fff; font-weight: 800; margin-bottom: 10px; }
.rmp-hero .byline { color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 12px; }
.rmp-hero .lead { color: rgba(255,255,255,.9); font-size: 1.02rem; font-weight: 400; line-height: 1.6; }
.rmp-hero .p24-top10__title { color: #fff !important; border-bottom: 0 !important; }
.rmp-hero .p24-top10__sub { color: rgba(255,255,255,.7); }
.rmp-hero .p24-rank-card { background: #fff; }
.rmp-hero .p24-rank-card--top { background: linear-gradient(180deg, #FBF7EC 0%, #fff 60%); }
.p24-rank-card { grid-template-columns: 48px 150px 1fr 140px; grid-template-areas: "num logo info cta"; }
.p24-rank-logo--tile { width: 150px; height: 54px; border-radius: 8px; }
.p24-rank-logo__txt { font-size: .9rem; }
@media (max-width: 767px) {
  .p24-rank-card { grid-template-columns: 42px 1fr; grid-template-areas: "num logo" "info info" "cta cta"; }
  .p24-rank-logo--tile { width: 100%; }
}
.rmp-crumbs { font-size: .85rem; margin: 0 0 10px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: rgba(255,255,255,.6); }
.rmp-crumbs a { color: #E3B23C; }
.rmp-crumbs li + li::before { content: "›"; margin-right: 6px; }

.rmp-article { background: #fff; border-radius: 12px; box-shadow: 0 2px 14px rgba(13,43,34,.08); padding: 28px 30px; margin: 26px auto; max-width: 980px; }
@media (max-width: 575px) { .rmp-article { padding: 18px 16px; border-radius: 0; margin: 0 -15px; } }
.rmp-article p, .rmp-article li, .rmp-article dd { font-size: 1rem; line-height: 1.65; }
.rmp-brand .rmp-article h2 { margin-top: 34px; border-bottom-color: #E3B23C; text-transform: none; }
.rmp-brand .rmp-article h3 { margin-top: 24px; text-transform: none; }
.rmp-article ul, .rmp-article ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.rmp-article .table-wrap { overflow-x: auto; margin: 16px 0; -webkit-overflow-scrolling: touch; }
.rmp-article table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.rmp-article caption { caption-side: top; color: #5b6b64; font-size: .88rem; padding: 0 0 8px; }
.rmp-article th, .rmp-article td { border: 1px solid #e2e6e4; padding: 9px 11px; vertical-align: top; text-align: left; }
.rmp-article thead th { background: #0D2B22; color: #fff; font-weight: 700; }
.rmp-article tbody th { background: #F5F3EE; font-weight: 700; }
.rmp-article tbody tr:nth-child(even) td { background: #fafaf7; }
.rmp-brand .rmp-article tr:first-child { background-color: transparent !important; color: inherit !important; }
.rmp-brand .rmp-article tbody tr:first-child td { color: inherit !important; }
.rmp-article .note { font-size: .88rem; color: #5b6b64; background: #F5F3EE; border-left: 3px solid #E3B23C; padding: 10px 14px; border-radius: 4px; }
.rmp-article .toc { background: #F5F3EE; border: 1px solid #e2e0d8; border-radius: 10px; padding: 16px 20px; margin: 0 0 22px; }
.rmp-brand .rmp-article .toc h2, .rmp-article .toc .toc-title { margin: 0 0 8px; border: 0; padding: 0; font-size: 1.05rem !important; }
.rmp-article .toc ol { columns: 2; column-gap: 28px; margin: 0; }
@media (max-width: 575px) { .rmp-article .toc ol { columns: 1; } }
.rmp-article .toc .count { color: #8a958f; font-size: .85rem; }
.rmp-article .az-index ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.rmp-article .az-index li a { display: inline-block; padding: 3px 9px; background: #F5F3EE; border: 1px solid #e2e0d8; border-radius: 14px; font-size: .86rem; text-decoration: none; }
.rmp-article dl { margin: 10px 0 20px; }
.rmp-article dt { font-weight: 700; color: #0D2B22; margin-top: 14px; scroll-margin-top: 20px; }
.rmp-article dt dfn { font-style: normal; }
.rmp-article dd { margin: 4px 0 0; padding-left: 14px; border-left: 2px solid #E3B23C; }
.rmp-article figure, .rmp-article .rmp-img { margin: 18px 0; }
.rmp-article .rmp-img img { width: 100%; height: auto; border-radius: 10px; display: block; }
.rmp-article .disclaimer, .rmp-article aside.cta { background: #0D2B22; color: rgba(255,255,255,.88); border-radius: 10px; padding: 14px 18px; margin: 26px 0 0; }
.rmp-article aside.cta { background: #F7ECCD; color: #1d2a25; }
.rmp-article .disclaimer p, .rmp-article aside.cta p { margin: 0; }
.rmp-article .disclaimer a { color: #E3B23C; }
.rmp-article section[id] { scroll-margin-top: 16px; }

/* FAQ accordion */
.rmp-faq details { border: 1px solid #e2e0d8; border-radius: 10px; margin: 10px 0; background: #fff; overflow: hidden; }
.rmp-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; color: #0D2B22; }
.rmp-faq summary::-webkit-details-marker { display: none; }
.rmp-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: #C99A2A; transition: transform .2s; }
.rmp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.rmp-faq details[open] summary { background: #F5F3EE; }
.rmp-faq .rmp-faq__a { padding: 4px 16px 14px; animation: rmpFade .25s ease; }
.rmp-faq .rmp-faq__a p { margin: 8px 0 0; }
@keyframes rmpFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.rmp-article .p24-cta-strip { background: #0D2B22; }

/* Footer */
.rmp-brand .rmp-footer { background: #0D2B22 !important; color: rgba(255,255,255,.7); font-size: .9rem; }
.rmp-footer__about, .rmp-footer__rg { margin: 10px 0 0; color: rgba(255,255,255,.7); line-height: 1.55; }
.rmp-footer__title { color: #E3B23C; font-weight: 700; margin: 0 0 8px; text-transform: uppercase; font-size: .82rem; letter-spacing: .5px; }
.rmp-footer__links { list-style: none; padding: 0; margin: 0; }
.rmp-footer__links li { margin: 0 0 6px; }
.rmp-footer a { color: rgba(255,255,255,.85); }
.rmp-footer a:hover { color: #E3B23C; }
.rmp-footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 10px 0; }
.rmp-footer__badges img { height: 32px; width: auto; opacity: .85; }
.rmp-footer__copy { text-align: center; margin: 6px 0 0; color: rgba(255,255,255,.5); }
.rmp-brand #goToTopBtn { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 50; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 20px; }

/* Тема шаблону робить table:block і th:flex — повертаємо табличну модель у статті */
.rmp-article table { display: table !important; }
.rmp-article caption { display: table-caption !important; width: auto !important; }
.rmp-article thead { display: table-header-group !important; }
.rmp-article tbody { display: table-row-group !important; }
.rmp-article tr { display: table-row !important; }
.rmp-article th, .rmp-article td { display: table-cell !important; width: auto !important; }
.rmp-brand main { background-image: none !important; }
.rmp-header .navbar-nav .nav-link { white-space: nowrap; padding-left: .55rem !important; padding-right: .55rem !important; }
@media (max-width: 1199px) and (min-width: 992px) { .rmp-header .navbar-nav .nav-link { font-size: 13px; } .rmp-logo { width: 160px; } }
.rmp-article th, .rmp-article td { text-align: left !important; min-width: 0 !important; font-size: .93rem; padding: 9px 11px !important; color: inherit; }
.rmp-article thead th { color: #fff !important; }
.rmp-article caption { caption-side: top !important; padding: 0 0 8px !important; }
.rmp-article table { margin: 0 !important; overflow: visible; }
.rmp-article th, .rmp-article td { word-break: normal !important; overflow-wrap: normal !important; }
.rmp-hero .lead a, .rmp-hero a:not(.p24-rank-cta) { color: #E3B23C; }
.p24-rank-logo--tile img { width: 100%; height: 100%; max-height: 38px; object-fit: contain; }
.p24-rank-logo--tile { padding: 8px 12px !important; }
.rmp-article .rmp-img--narrow { max-width: 360px; margin-left: auto; margin-right: auto; }
