/*
Theme Name: Mercury Child
Theme URI: https://mercurytheme.com/
Description: Child theme for Mercury theme
Author: MercuryTheme.com
Author URI: https://mercurytheme.com/
Template: mercury
Version: 3.9.9
*/
@import url("https://rusiahoy.com/wp-content/themes/mercury/style.css");

/* Author Info Section */
.author-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.author-info-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c2f38; /* Dark background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Darker shadow */
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}

.author-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    max-width: 500px;
}

.author-details h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #f2f2f2; /* Light text color for dark background */
}

.author-bio {
    font-size: 16px;
    color: #bbb; /* Lighter gray text for better readability */
    margin: 10px 0;
}

.author-email a {
    color: #0099ff; /* Light blue for email */
    text-decoration: none;
}

.author-email a:hover {
    text-decoration: underline;
}

/* Optional: Adjust page background */
body {
    background-color: #121212; /* Dark background for the page */
    color: #f0f0f0; /* Default light text color */
}

/* Optional: Style for other text sections */
h1, h2, h3, h4, h5, h6 {
    color: #fff; /* Ensure headings are readable */
}

a {
    color: #66ccff; /* Light blue links */
}

a:hover {
    color: #ffcc00; /* Change color on hover for links */
}

.latest-posts-heading {
    font-size: 28px;
    font-weight: bold;
    color: #fff; /* White text for better contrast on dark background */
    margin-bottom: 20px;
    text-align: center;
}

/* 1. Remove the white box */
.offer-items {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;               /* so it hugs the dark card background */
}

/* 2. Tighter, smaller text lines */
.offer-items .offer-item {
  display: flex;
  align-items: center;
  font-size: 0. Nine rem;   /* smaller than before—adjust as you like */
  font-weight: 400;        /* normal weight */
  color: #dddddd;          /* light grey on dark BG */
  margin-bottom: 8px;      /* small gap */
  padding: 0;              /* no extra padding */
}

.offer-items .offer-item:last-child {
  margin-bottom: 0;
}

/* 3. Slimmer check icons */
.offer-items .offer-item::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-color: transparent;  /* no circle—just the check */
  color: #28a745;                 /* green check */
  font-size: 16px;                /* slightly smaller */
}

.offer-items .offer-item:hover {
  background-color: rgba(255,255,255,0.05);
  border-radius: 4px;
  transition: background-color 0.15s ease-in-out;
}

/* Main container - No longer a flexbox row */
.compact-author-box {
    margin: 25px 0;
    font-family: sans-serif;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 12px 0;
}

/* Left part: image and text */
.author-details {
    display: flex;
    align-items: center;
    gap: 2px; !important;
	
}

.author-image-compact {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.author-name-compact {
    margin: 0;
    color: #ffffff;
    font-size: 0.9em;
    font-weight: bold;
}

.author-details .author-name-compact {
    padding-bottom: 0 !important;
}

/* MODIFIED: Reduced top margin to make it tighter to the name */
.post-modified-compact {
    margin: 1px 0 0 0; 
    color: #aaaaaa;
    font-size: 0.8em;
}

/* Right part: trust info link and popup */
.trust-info-compact {
    position: relative;
    margin-top: 12px; /* ADDED: Creates space below the author info */
}

.trust-trigger {
    color: #8cb4ff;
    font-size: 0.85em;
    text-decoration: none;
    transition: color 0.2s;
}

.trust-trigger:hover {
    color: #ffffff;
}

/* The popup box */
.trust-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; /* MODIFIED: Aligned to the left instead of the right */
    margin-top: 8px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 15px;
    width: 300px;
    z-index: 10;
    color: #cccccc;
    font-size: 0.9em;
    line-height: 1.5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.trust-popup p {
    margin: 0;
}

/* Class added by JavaScript to show the popup */
.trust-info-compact.is-open .trust-popup {
    display: block;
}/* ============================================================
   RusiaHoy Casino Content Styles
   For post content inside .space-page-content on /casinos/ pages
   Dark theme, Mercury child — does NOT touch .sm-* offer card styles
   ============================================================ */

/* ── Scope: only casino post content ── */
.space-page-content .wp-block-heading,
.space-page-content > h2,
.space-page-content > h3 {
    color: #ffffff;
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

.space-page-content > h2 {
    font-size: 1.5em;
    font-weight: 700;
    border-left: 4px solid #ffc107;
    padding-left: 14px;
}

.space-page-content > h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #e0e0e0;
}

/* ── Paragraphs ── */
.space-page-content p {
    color: #d0d0d0;
    line-height: 1.75;
    margin-bottom: 1em;
    font-size: 0.95em;
}

/* ── Links ── */
.space-page-content p a,
.space-page-content li a {
    color: #66ccff;
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 204, 255, 0.3);
    transition: color 0.2s, border-color 0.2s;
}

.space-page-content p a:hover,
.space-page-content li a:hover {
    color: #ffc107;
    border-bottom-color: rgba(255, 193, 7, 0.5);
}

/* ── Lists (ul/ol) ── */
.space-page-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1em 0;
}

.space-page-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.6em;
    color: #d0d0d0;
    line-height: 1.65;
    font-size: 0.95em;
}

.space-page-content ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ffc107;
    font-size: 0.85em;
    top: 0.15em;
}

.space-page-content ol {
    padding-left: 24px;
    margin: 1em 0;
    counter-reset: rh-counter;
}

.space-page-content ol li {
    margin-bottom: 0.6em;
    color: #d0d0d0;
    line-height: 1.65;
    font-size: 0.95em;
}

/* ── Tables ── */
.space-page-content .wp-block-table {
    overflow-x: auto;
    margin: 1.5em 0;
}

.space-page-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    background: #1a1a1e;
    border-radius: 10px;
    overflow: hidden;
}

.space-page-content table thead {
    background: #252529;
}

.space-page-content table th,
.space-page-content table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #2a2a2e;
    color: #d0d0d0;
}

.space-page-content table th {
    color: #ffc107;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.space-page-content table td strong {
    color: #ffffff;
}

.space-page-content table tbody tr:hover {
    background: rgba(255, 193, 7, 0.04);
}

.space-page-content table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Images ── */
.space-page-content .wp-block-image {
    margin: 2em 0;
    border-radius: 12px;
    overflow: hidden;
}

.space-page-content .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #2a2a2e;
}

.space-page-content .wp-block-image figcaption {
    text-align: center;
    color: #888;
    font-size: 0.8em;
    margin-top: 0.5em;
}

/* ── FAQ: details/summary accordion ── */
.space-page-content details {
    background: #1a1a1e;
    border: 1px solid #2a2a2e;
    border-radius: 10px;
    margin-bottom: 0.8em;
    overflow: hidden;
    transition: border-color 0.2s;
}

.space-page-content details[open] {
    border-color: #ffc107;
}

.space-page-content details summary {
    padding: 14px 18px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.space-page-content details summary::-webkit-details-marker {
    display: none;
}

.space-page-content details summary::before {
    content: "＋";
    color: #ffc107;
    font-size: 1.1em;
    font-weight: 400;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffc107;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.space-page-content details[open] summary::before {
    content: "－";
    background: #ffc107;
    color: #0b0b0b;
}

.space-page-content details summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.space-page-content details p,
.space-page-content details ul {
    padding: 0 18px 16px 50px;
    margin: 0;
}

.space-page-content details p {
    color: #b0b0b0;
    font-size: 0.92em;
    line-height: 1.7;
}

/* ── Info Cards (for callouts, key points, warnings) ── */
.rh-card {
    background: #1a1a1e;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 1.5em 0;
}

.rh-card--info {
    border-left: 4px solid #66ccff;
}

.rh-card--warning {
    border-left: 4px solid #ffc107;
}

.rh-card--success {
    border-left: 4px solid #00e676;
}

.rh-card--danger {
    border-left: 4px solid #ff5252;
}

.rh-card__title {
    font-weight: 700;
    font-size: 0.95em;
    margin-bottom: 0.5em;
    color: #ffffff;
}

.rh-card--info .rh-card__title { color: #66ccff; }
.rh-card--warning .rh-card__title { color: #ffc107; }
.rh-card--success .rh-card__title { color: #00e676; }
.rh-card--danger .rh-card__title { color: #ff5252; }

.rh-card p {
    margin: 0;
    font-size: 0.92em;
    color: #b0b0b0;
    line-height: 1.7;
}

.rh-card ul {
    margin: 0.5em 0 0 0;
}

/* ── Blockquote ── */
.space-page-content blockquote {
    border-left: 4px solid #ffc107;
    background: #1a1a1e;
    margin: 1.5em 0;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #c0c0c0;
}

.space-page-content blockquote p {
    margin: 0;
    color: #c0c0c0;
}

/* ── Comparison badge / pill ── */
.rh-pill {
    display: inline-block;
    background: rgba(255, 193, 7, 0.12);
    color: #ffc107;
    font-size: 0.8em;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 193, 7, 0.25);
}

/* ── Pros / Cons mini-blocks (inside casino reviews) ── */
.rh-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 1em 0;
}

@media (max-width: 600px) {
    .rh-pros-cons {
        grid-template-columns: 1fr;
    }
}

.rh-pros, .rh-cons {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.9em;
}

.rh-pros {
    background: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.15);
}

.rh-pros strong { color: #00e676; }

.rh-cons {
    background: rgba(255, 82, 82, 0.06);
    border: 1px solid rgba(255, 82, 82, 0.15);
}

.rh-cons strong { color: #ff5252; }

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
    .space-page-content > h2 {
        font-size: 1.25em;
        padding-left: 10px;
    }
    .space-page-content > h3 {
        font-size: 1.05em;
    }
    .space-page-content table {
        font-size: 0.82em;
    }
    .space-page-content table th,
    .space-page-content table td {
        padding: 8px 10px;
    }
    .space-page-content .wp-block-image img {
        border-radius: 8px;
    }
    .rh-card {
        padding: 14px 16px;
    }
}

/* ── Casino Content: H2 / H3 / Links ── */
.space-page-content > h2 {
    border-left: 4px solid #ffc107 !important;
    padding-left: 14px !important;
    color: #fff !important;
    font-size: 1.5em !important;
    margin-top: 2em !important;
}

.space-page-content > h3 {
    color: #fff !important;
    font-size: 1.2em !important;
    font-weight: 500 !important;
    margin-top: 1.5em !important;
}

.space-page-content a {
    color: #66ccff !important;
    text-decoration: none;
    transition: color 0.2s;
}
.space-page-content a:hover {
    color: #ffc107 !important;
}

/* ── FIX: Remove default disc bullets, use only arrow markers ── */
.space-page-content .entry-content ul,
.space-page-content ul {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.space-page-content ul li {
    list-style: none !important;
    padding: 5px 5px 5px 22px !important;
    position: relative;
}

.space-page-content ul li::before {
    content: "▸" !important;
    position: absolute !important;
    left: 0 !important;
    top: 5px !important;
    color: #ffc107 !important;
    font-size: 0.85em !important;
    line-height: 1 !important;
}

/* ── FIX: Pros/Cons lists - no arrow, use check/cross ── */
.rh-pros-cons ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.rh-pros-cons ul li {
    list-style: none !important;
    padding: 4px 4px 4px 22px !important;
    position: relative;
}

.rh-pros-cons ul li::before {
    position: absolute !important;
    left: 0 !important;
    top: 4px !important;
    font-size: 0.85em !important;
    line-height: 1 !important;
}

.rh-pros-cons .rh-pros ul li::before {
    content: "✓" !important;
    color: #00e676 !important;
}

.rh-pros-cons .rh-cons ul li::before {
    content: "✗" !important;
    color: #ff5252 !important;
}

/* ── Images ── */
.space-page-content img {
    border-radius: 10px;
    border: 2px solid #2a2b2e;
}

/* ── FAQ / Details-Summary (open by default, closeable) ── */
.space-page-content details {
    background: #1a1a1e;
    border: 1px solid #2a2a2e;
    border-radius: 10px;
    margin: 12px 0;
    overflow: hidden;
    /* Open by default */
}

.space-page-content details[open] {
    border-color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
}

.space-page-content details summary {
    padding: 14px 18px;
    font-weight: 600;
    color: #ffc107;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.space-page-content details summary:hover {
    background: rgba(255, 193, 7, 0.05);
}

.space-page-content details summary::before {
    content: "−";
    font-size: 18px;
    color: #ffc107;
    margin-right: 12px;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.space-page-content details:not([open]) summary::before {
    content: "+";
}

.space-page-content details summary::-webkit-details-marker {
    display: none;
}

.space-page-content details summary::marker {
    display: none;
    content: "";
}

.space-page-content details > p,
.space-page-content details > div {
    padding: 0 18px 14px;
    color: #d0d0d0;
    line-height: 1.65;
}

/* ── TOC: Tabla de Contenidos ── */
.rh-toc {
    background: #1a1a1e;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    margin: 24px 0;
    overflow: hidden;
}

.rh-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #2a2a2e;
}

.rh-toc__title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffc107;
    text-transform: uppercase;
}

.rh-toc__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s;
}

.rh-toc__toggle:hover { color: #ffc107; }
.rh-toc__arrow { font-size: 14px; }

.rh-toc__body {
    padding: 4px 20px 16px;
}

.rh-toc__body[hidden] { display: none; }

.rh-toc__list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.rh-toc__list li {
    background: none !important;
    border: none !important;
    border-bottom: 1px solid #2a2a2e !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* CRITICAL: no arrow marker on TOC items */
.rh-toc__list li::before {
    display: none !important;
    content: none !important;
}

.rh-toc__list li a {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 12px 9px 0 !important;
    color: #d0d0d0 !important;
    font-size: 0.88em;
    line-height: 1.4;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: color 0.2s;
}

.rh-toc__list li a::before {
    content: "→" !important;
    color: #ffc107;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.rh-toc__list li a:hover { color: #ffc107 !important; }

@media (max-width: 768px) {
    .rh-toc__list { grid-template-columns: 1fr; }
    .rh-toc__header { padding: 12px 16px; }
    .rh-toc__body  { padding: 4px 16px 14px; }
}

/* ── Small info card ── */
.rh-card {
    background: #1a1a1e;
    border: 1px solid #2a2a2e;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 0.92em;
    color: #d0d0d0;
    line-height: 1.6;
}
.rh-card strong { color: #ffc107; }


/* ═══════════════════════════════════════════════════════
   Gaming News Articles (/noticias/games/)
   Added 2026-07-29
═══════════════════════════════════════════════════════ */

/* Article meta bar (badge + date + read time) */
.rh-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #888b8d;
    margin: -8px 0 22px;
    flex-wrap: wrap;
    line-height: 1;
}
.rh-news-badge {
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 3px;
}
.rh-news-meta-sep { color: #444; }

/* Callout box */
.rh-callout {
    background: #1e2227;
    border-left: 3px solid #c0392b;
    border-radius: 0 4px 4px 0;
    padding: 14px 18px;
    margin: 22px 0;
    font-size: 14.5px;
    color: #c3c7c8;
    line-height: 1.65;
}
.rh-callout p { margin: 0; }
.rh-callout strong { color: #e8eaeb; }

/* Keep-reading cards */
.rh-keep-reading-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 28px 0 16px;
}
.rh-keep-reading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e2227;
    border: 1px solid #2a2b2e;
    border-radius: 6px;
    padding: 13px 18px;
    text-decoration: none !important;
    transition: border-color .2s, background .2s;
    color: inherit !important;
}
.rh-keep-reading:hover {
    background: #22262c;
    border-color: #c0392b;
}
.rh-keep-reading__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #c0392b;
    margin-bottom: 4px;
}
.rh-keep-reading__title {
    font-size: 14.5px;
    color: #e8eaeb;
    font-weight: 500;
    line-height: 1.35;
}
.rh-keep-reading__arrow {
    font-size: 18px;
    color: #c0392b;
    margin-left: 16px;
    flex-shrink: 0;
}


