/* EnjerBet wp-overrides.css — content island for WordPress page content
 * Goal: WP page/post content renders cleanly INSIDE brand layout.
 * Scope to .en-wp-content-island so we never overwrite brand global styles.
 * 3 breakpoints required per CLONE-CONTEXT §6.
 */

/* ─── Container: SEO content card "подложка" ─────────────────── */
/* Do NOT override .en-content — style.css uses it for fixed-header offset. */
/* Only style the inner island so it becomes a distinct panel. */
.en-wp-content-island {
    color: var(--en-text);
    font-family: var(--en-font-body);
    line-height: 1.7;
    padding: 40px 48px;
    max-width: 1408px;
    margin: 24px auto 32px;
    background: #27272a;  /* zinc-800 — panel under SEO content */
    border: 1px solid rgba(63, 63, 70, .5);  /* zinc-700 @50% */
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
    box-sizing: border-box;
}

/* Mobile: reduce padding + radius */
@media (max-width: 1023px) {
    .en-wp-content-island { padding: 28px 20px; border-radius: 12px; margin: 16px 16px 24px; }
}
@media (max-width: 767px) {
    .en-wp-content-island { padding: 20px 16px; border-radius: 10px; margin: 12px 12px 20px; }
}

/* ─── Body figures (A10 inline images) ────────────────────────── */
.en-wp-content-island .en-body-figure {
    margin: 28px auto;
    max-width: 960px;
    text-align: center;
}
.en-wp-content-island .en-body-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(63, 63, 70, .5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}
.en-wp-content-island .en-body-figure figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--en-text-secondary, #a1a1aa);
    font-style: italic;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .en-wp-content-island .en-body-figure { margin: 20px auto; }
    .en-wp-content-island .en-body-figure img { border-radius: 8px; }
    .en-wp-content-island .en-body-figure figcaption { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — brand-style 2-col + about + social + disclaimer
   ═══════════════════════════════════════════════════════════════ */
.en-footer {
    background: #000;
    border-top: 1px solid rgba(63, 63, 70, .5);
    padding: 40px 0 24px;
    margin-top: 40px;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.6;
}
.en-footer__inner { max-width: 1408px; margin: 0 auto; padding: 0 24px; }

.en-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(63, 63, 70, .4);
}
.en-footer__col-title {
    margin: 0 0 14px;
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #e4e4e7;
}
.en-footer__list { list-style: none; margin: 0; padding: 0; }
.en-footer__list li { margin-bottom: 8px; }
.en-footer__list a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 13.5px;
    transition: color .15s ease;
}
.en-footer__list a:hover { color: #ff6e00; }

/* About column */
.en-footer__col--about { display: flex; flex-direction: column; gap: 14px; }
.en-footer__brand img { height: 32px; width: auto; }
.en-footer__about {
    margin: 0;
    font-size: 13px;
    color: #a1a1aa;
    max-width: 440px;
    line-height: 1.55;
}
.en-footer__social { display: flex; gap: 10px; margin-top: 4px; }
.en-footer__social a {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #27272a;
    border: 1px solid rgba(63, 63, 70, .6);
    border-radius: 10px;
    color: #a1a1aa;
    transition: background .15s, color .15s, border-color .15s;
}
.en-footer__social a:hover {
    background: #3f3f46;
    color: #ff6e00;
    border-color: rgba(255, 110, 0, .5);
}

/* Meta row: social + language pill together */
.en-footer__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.en-footer__lang {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: #27272a;
    border: 1px solid rgba(63,63,70,.6);
    border-radius: 10px;
    font-size: 12.5px;
    color: #a1a1aa;
}
.en-footer__lang-code { font-weight: 700; color: #e4e4e7; }

/* Payment methods icon strip */
.en-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    padding: 22px 0;
    margin-top: 28px;
    border-top: 1px solid rgba(63, 63, 70, .4);
    border-bottom: 1px solid rgba(63, 63, 70, .4);
}
.en-footer__payment-icon {
    height: 24px;
    width: auto;
    opacity: .65;
    filter: grayscale(30%);
    transition: opacity .15s, filter .15s;
}
.en-footer__payment-icon:hover { opacity: 1; filter: grayscale(0%); }

/* Disclaimer 18+ strip */
.en-footer__disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    margin: 24px 0 20px;
    background: rgba(255, 110, 0, .06);
    border: 1px solid rgba(255, 110, 0, .3);
    border-radius: 12px;
}
.en-footer__age-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #ff8a3d, #ff6e00);
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    border-radius: 50%;
    letter-spacing: -.5px;
}
.en-footer__disclaimer p {
    margin: 0;
    font-size: 13px;
    color: #e4e4e7;
    line-height: 1.55;
}
.en-footer__disclaimer a {
    color: #ff8a3d;
    text-decoration: underline;
}

/* Bottom: license + copyright */
.en-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(63, 63, 70, .4);
    font-size: 12.5px;
    color: #71717a;
}
.en-footer__license { margin: 0; max-width: 780px; line-height: 1.5; }
.en-footer__copy { margin: 0; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .en-footer__grid { grid-template-columns: 1fr 1fr; }
    .en-footer__col--about { grid-column: 1 / -1; margin-top: 8px; }
}
@media (max-width: 600px) {
    .en-footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .en-footer__disclaimer { flex-direction: column; align-items: flex-start; text-align: left; }
    .en-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Headings ───────────────────────────────────────────────── */
.en-wp-content-island h1,
.en-wp-content-island h2,
.en-wp-content-island h3 {
    font-family: var(--en-font-display);
    color: var(--en-text);
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.2;
}
.en-wp-content-island h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.en-wp-content-island h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); color: var(--en-accent); }
.en-wp-content-island h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

/* ─── Inline text ────────────────────────────────────────────── */
.en-wp-content-island p {
    margin: 0 0 1.2em;
    color: var(--en-text-secondary);
}
.en-wp-content-island a {
    color: var(--en-accent);
    text-decoration: underline;
}
.en-wp-content-island a:hover { color: var(--en-accent-hover); }
.en-wp-content-island strong {
    color: var(--en-text);
    font-weight: 600;
}

/* ─── Lead paragraph (intro) ─────────────────────────────────── */
.en-wp-content-island .en-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--en-text);
    margin: 0.5em 0 1.5em;
}

/* ─── CTA button ─────────────────────────────────────────────── */
.en-wp-content-island .en-cta-primary {
    display: inline-block;
    background: var(--en-accent);
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 28px;
    border-radius: var(--en-radius);
    font-weight: 600;
    margin: 1.2em 0;
    transition: background 0.18s ease;
}
.en-wp-content-island .en-cta-primary:hover {
    background: var(--en-accent-hover);
    color: #fff !important;
}

/* ─── Lists ──────────────────────────────────────────────────── */
.en-wp-content-island ul,
.en-wp-content-island ol {
    margin: 1.2em 0;
    padding-left: 1.6em;
    color: var(--en-text-secondary);
}
.en-wp-content-island li {
    margin: 0.4em 0;
    line-height: 1.6;
}
.en-wp-content-island ul li { list-style: disc; }
.en-wp-content-island ol li { list-style: decimal; }

/* ─── Tables ─────────────────────────────────────────────────── */
.en-wp-content-island table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.en-wp-content-island th,
.en-wp-content-island td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--en-border);
    text-align: left;
}
.en-wp-content-island th {
    background: var(--en-bg-secondary);
    color: var(--en-text);
}

/* ─── Blockquote ─────────────────────────────────────────────── */
.en-wp-content-island blockquote {
    border-left: 4px solid var(--en-accent);
    padding: 0.5rem 1rem;
    background: var(--en-bg-secondary);
    border-radius: 0 var(--en-radius-sm) var(--en-radius-sm) 0;
    margin: 1.5em 0;
}

/* ─── Images ─────────────────────────────────────────────────── */
.en-wp-content-island img,
.en-wp-content-island figure {
    border-radius: var(--en-radius);
    max-width: 100%;
    height: auto;
}

/* ─── FAQ accordion-style cards ──────────────────────────────── */
.en-wp-content-island .en-faq {
    margin: 1.5em 0;
}
.en-wp-content-island .en-faq__item {
    background: var(--en-card-bg);
    border-radius: var(--en-radius);
    padding: 1.25rem 1.5rem;
    margin: 0.6em 0;
    border-left: 3px solid var(--en-accent);
}
.en-wp-content-island .en-faq__item h3 {
    color: var(--en-accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5em;
    font-family: var(--en-font-display);
}
.en-wp-content-island .en-faq__item p { margin: 0; }

/* ─── Responsible gambling aside ─────────────────────────────── */
.en-wp-content-island .en-responsible-gambling {
    background: var(--en-input-bg);
    padding: 1.5rem;
    margin: 2em 0 0;
    font-size: 0.875rem;
    color: var(--en-text-secondary);
    border-left: 3px solid var(--en-accent);
    border-radius: 0 var(--en-radius-sm) var(--en-radius-sm) 0;
}
.en-wp-content-island .en-responsible-gambling a { font-weight: 500; }

/* ─── Tablet 768-1023px ──────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
    .en-wp-content-island { padding: 1.5rem; }
    .en-wp-content-island .en-lead { font-size: 1.1rem; }
    .en-wp-content-island .en-cta-primary { padding: 12px 24px; }
    .en-wp-content-island ul,
    .en-wp-content-island ol { padding-left: 1.4em; }
    .en-wp-content-island .en-faq__item { padding: 1rem 1.25rem; }
    .en-wp-content-island .en-faq__item h3 { font-size: 1.05rem; }
    .en-wp-content-island .en-responsible-gambling { padding: 1.25rem; }
}

/* ─── Mobile ≤767px (Mobile Overflow Gate target) ────────────── */
@media (max-width: 767px) {
    .en-wp-content-island {
        padding: 1rem;
        max-width: 100%;
    }
    .en-wp-content-island .en-lead { font-size: 1rem; }
    .en-wp-content-island .en-cta-primary {
        display: block;
        text-align: center;
        padding: 14px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .en-wp-content-island ul,
    .en-wp-content-island ol { padding-left: 1.2em; }
    .en-wp-content-island .en-faq__item {
        padding: 0.875rem 1rem;
    }
    .en-wp-content-island .en-faq__item h3 { font-size: 1rem; }
    .en-wp-content-island .en-responsible-gambling {
        padding: 1rem;
        font-size: 0.85rem;
    }
    .en-wp-content-island table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ─── C05 (2026-05-04): dl/dt/dd FAQ + affiliate disclosure + table responsive ─ */
.en-wp-content-island .en-faq {
    margin: 1.5rem 0 2rem;
}
.en-wp-content-island .en-faq dt {
    font-family: var(--en-font-display, "Oswald", sans-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--en-text);
    margin: 1.75rem 0 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(63, 63, 70, .35);
}
.en-wp-content-island .en-faq dt:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.en-wp-content-island .en-faq dd {
    margin: 0 0 0.75rem 0;
    padding: 0;
    color: var(--en-text-secondary);
    line-height: 1.65;
}
.en-wp-content-island .en-affiliate-disclosure {
    margin: 2rem 0 0;
    padding: 0.875rem 1rem;
    background: rgba(39, 39, 42, .6);
    border-radius: 8px;
    font-size: 0.825rem;
    color: var(--en-text-muted, #71717a);
    line-height: 1.55;
}
.en-wp-content-island .en-affiliate-disclosure strong {
    color: var(--en-text-secondary);
}
.en-wp-content-island ol,
.en-wp-content-island ul {
    margin: 1rem 0 1.25rem 1.5rem;
    color: var(--en-text);
    line-height: 1.7;
}
.en-wp-content-island ol li,
.en-wp-content-island ul li {
    margin-bottom: 0.5rem;
}
.en-wp-content-island table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    background: rgba(24, 24, 27, .55);
    border-radius: 8px;
    overflow: hidden;
}
.en-wp-content-island table th,
.en-wp-content-island table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(63, 63, 70, .35);
    color: var(--en-text);
}
.en-wp-content-island table th {
    background: rgba(255, 110, 0, .08);
    font-weight: 600;
    color: var(--en-text);
    border-bottom-color: var(--en-accent);
}
.en-wp-content-island h3 {
    font-family: var(--en-font-display, "Oswald", sans-serif);
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-weight: 600;
    color: var(--en-text);
    margin: 1.75rem 0 0.75rem;
}
@media (max-width: 1023px) {
    .en-wp-content-island .en-faq dt { font-size: 1.05rem; }
    .en-wp-content-island .en-affiliate-disclosure { font-size: 0.8rem; padding: 0.75rem 0.875rem; }
    .en-wp-content-island table th,
    .en-wp-content-island table td { padding: 0.625rem 0.75rem; font-size: 0.9rem; }
}
@media (max-width: 767px) {
    .en-wp-content-island .en-faq dt { font-size: 1rem; margin-top: 1.25rem; }
    .en-wp-content-island ol,
    .en-wp-content-island ul { margin-left: 1.25rem; }
    .en-wp-content-island table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .en-wp-content-island table th,
    .en-wp-content-island table td { padding: 0.5rem 0.625rem; font-size: 0.85rem; white-space: nowrap; }
    .en-wp-content-island h3 { font-size: 1.1rem; }
}
