/* =============================================================
   Template: Ellenlima — Casino Blog/Review (Light Theme)
   Applies when html.template-ellenlima is active
   ============================================================= */

/* ── Fonts ──────────────────────────────────────────────────── */
/* Google Fonts loaded async via Layout.astro <link> to avoid render-blocking chain */

/* ── Template root variables ────────────────────────────────── */
.template-ellenlima {
    --el-font: 'Montserrat', sans-serif;
    --el-radius: 6px;
    --el-radius-lg: 12px;
    --el-max-width: 1140px;
    --el-transition: 0.25s ease;
    --el-header-bg: #000;
    --el-header-top-bg: #1e1e1e;
    --el-body-bg: #fff;
    --el-text: #000;
    --el-text-muted: #575757;
    --el-link: #005eea;
    --el-border: #bdbdbd;
}

/* ── Global body resets ─────────────────────────────────────── */
.template-ellenlima body {
    font-family: var(--el-font);
    font-size: 18px;
    line-height: 1.6;
    color: var(--el-text);
    background-color: var(--el-body-bg);
    scroll-behavior: smooth;
}

.template-ellenlima main {
    max-width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   HEADER: .header--ellenlima
   Two-row header: top (logo + burger) & bottom (nav bar)
   ══════════════════════════════════════════════════════════════ */
.header--ellenlima {
    background-color: var(--el-header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Top row: logo + actions + burger ────────────────────── */
.header--ellenlima .el-header__top {
    background-color: var(--el-header-top-bg);
}

.header--ellenlima .el-header__top-inner {
    max-width: var(--el-max-width);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px;
    gap: 16px;
}

/* Logo */
.header--ellenlima .el-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header--ellenlima .el-header__logo {
    width: 60px;
    height: auto;
    border-radius: var(--el-radius);
}

/* Actions (lang + register) */
.header--ellenlima .el-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.header--ellenlima .el-header__lang-desktop {
    display: flex;
    align-items: center;
}

.header--ellenlima .el-header__register {
    background: var(--button-color, #35B3DB);
    color: var(--button-text-color, #fff);
    border-radius: var(--el-radius);
    padding: 10px 24px;
    font-family: var(--el-font);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background var(--el-transition), transform 0.15s;
    white-space: nowrap;
}

.header--ellenlima .el-header__register:hover {
    filter: brightness(0.9);
    text-decoration: none;
}

/* Burger button */
.header--ellenlima .el-header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 6px;
    z-index: 1001;
    line-height: 1;
    order: 99;
}

/* ── Bottom row: navigation bar ───────────────────────────── */
.header--ellenlima .el-header__nav-bar {
    background-color: var(--el-header-bg, #000);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header--ellenlima .el-header__nav-bar-inner {
    max-width: var(--el-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.header--ellenlima .el-header__nav {
    display: flex;
    align-items: center;
}

.header--ellenlima .el-header__nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.header--ellenlima .el-header__nav-list li {
    display: flex;
    align-items: center;
}

.header--ellenlima .el-header__nav-link,
.header--ellenlima .el-header__nav-list a {
    color: #fff !important;
    text-decoration: none !important;
    font-family: var(--el-font);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 20px;
    display: block;
    transition: color var(--el-transition), background var(--el-transition);
    white-space: nowrap;
}

.header--ellenlima .el-header__nav-link:hover,
.header--ellenlima .el-header__nav-list a:hover {
    color: var(--button-color, #35B3DB) !important;
    text-decoration: none !important;
}

.header--ellenlima .el-header__nav-link.active {
    font-weight: 700;
    color: var(--button-color, #35B3DB) !important;
}

/* ── Mobile nav ──────────────────────────────────────────── */
.header--ellenlima .el-header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: var(--el-header-top-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

.header--ellenlima .el-header__mobile-nav.hidden {
    display: none;
}

.header--ellenlima .el-header__mobile-link {
    color: #fff !important;
    text-decoration: none !important;
    font-family: var(--el-font);
    font-weight: 500;
    font-size: 16px;
    padding: 16px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s, background 0.2s;
    display: block;
}

.header--ellenlima .el-header__mobile-link:hover,
.header--ellenlima .el-header__mobile-link.active {
    color: var(--button-color, #35B3DB) !important;
    background: rgba(255, 255, 255, 0.03);
}

.header--ellenlima .el-header__mobile-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 0;
}

.header--ellenlima .el-header__mobile-lang {
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.header--ellenlima .el-header__mobile-cta {
    display: block;
    text-align: center;
    background: var(--button-color, #35B3DB);
    color: var(--button-text-color, #fff);
    padding: 14px 15px;
    margin: 8px 15px 16px;
    border-radius: var(--el-radius);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--el-font);
    text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   CONTENT OVERRIDES (light theme)
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.template-ellenlima .hero-block {
    min-height: auto;
    padding: 0 !important;
    margin-bottom: 24px;
    border-radius: 0 0 var(--el-radius-lg) var(--el-radius-lg);
    overflow: hidden;
}

.template-ellenlima .hero-block h1 {
    font-family: var(--el-font);
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
}

.template-ellenlima .hero-cta-btn {
    background: var(--button-color, #35B3DB) !important;
    color: var(--button-text-color, #fff) !important;
    border: none;
    border-radius: var(--el-radius);
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--el-font);
    cursor: pointer;
    transition: background var(--el-transition), transform 0.15s;
    box-shadow: 0 4px 23px rgba(0, 0, 0, 0.25);
}

.template-ellenlima .hero-cta-btn:hover {
    filter: brightness(0.9);
    transform: scale(1.02) !important;
}

/* ── Text blocks ──────────────────────────────────────────── */
.template-ellenlima .text-block {
    padding: 0;
}

.template-ellenlima .text-block .container {
    max-width: var(--el-max-width);
}

.template-ellenlima .text-block h1,
.template-ellenlima .text-block h2,
.template-ellenlima .text-block h3,
.template-ellenlima .text-block h4 {
    font-family: var(--el-font);
    font-weight: 700;
    color: var(--primary-color, #000) !important;
}

.template-ellenlima .text-block h1 {
    font-size: clamp(28px, 5vw, 36px);
    margin-top: 40px;
    text-align: center;
}

.template-ellenlima .text-block h2 {
    font-size: clamp(24px, 4vw, 30px);
    margin-top: 32px;
    text-align: center;
}

.template-ellenlima .text-block h3 {
    font-size: clamp(20px, 3vw, 26px);
    margin-top: 24px;
}

.template-ellenlima .text-block .prose,
.template-ellenlima .text-block .prose-invert {
    color: var(--primary-color, #000);
    opacity: 1;
}

.template-ellenlima .text-block .prose p {
    color: var(--primary-color, #000) !important;
    line-height: 1.6 !important;
    font-size: 18px;
    font-family: var(--el-font);
    text-align: justify;
    margin-bottom: 20px;
}

/* ── Table overrides (light style) ────────────────────────── */
.template-ellenlima .text-block .prose table,
.template-ellenlima .text-block .prose-invert table,
.template-ellenlima .prose table,
.template-ellenlima .prose-invert table {
    width: 100% !important;
    background-color: #fff !important;
    color: #000 !important;
    border-collapse: collapse;
    margin: 10px auto;
}

.template-ellenlima .prose table td,
.template-ellenlima .prose-invert table td,
.template-ellenlima .prose table th,
.template-ellenlima .prose-invert table th {
    padding: 10px 20px !important;
    border: 1px solid var(--el-border) !important;
    color: #000 !important;
    font-size: 16px !important;
    text-align: center !important;
}

.template-ellenlima .prose table thead th,
.template-ellenlima .prose-invert table thead th {
    font-weight: 600 !important;
    background: #f9f9f9 !important;
}

.template-ellenlima .prose table tbody tr,
.template-ellenlima .prose-invert table tbody tr {
    background-color: #fff !important;
    transition: background-color 0.2s ease;
}

.template-ellenlima .prose table tbody tr:hover,
.template-ellenlima .prose-invert table tbody tr:hover {
    background-color: rgba(189, 189, 189, 0.1) !important;
}

/* ── Links inside prose ─────────────────────────────────── */
.template-ellenlima .prose a,
.template-ellenlima .prose-invert a {
    color: var(--el-link) !important;
}

/* ── Lists ──────────────────────────────────────────────── */
.template-ellenlima .prose ul li,
.template-ellenlima .prose ol li {
    color: var(--primary-color, #000) !important;
    font-size: 18px;
    font-family: var(--el-font);
    line-height: 1.6;
    margin: 8px 0;
}

/* ── Button block ───────────────────────────────────────── */
.template-ellenlima .button-block {
    padding: 24px 15px;
}

.template-ellenlima .button-block .action-button,
.template-ellenlima .action-button {
    background-color: var(--button-color, #35B3DB) !important;
    color: var(--button-text-color, #fff) !important;
    border-radius: var(--el-radius);
    padding: 15px 30px;
    font-family: var(--el-font);
    font-weight: 700;
    font-size: 20px;
    max-width: 300px;
    transition: background var(--el-transition);
    box-shadow: 0 4px 23px rgba(0, 0, 0, 0.25);
}

.template-ellenlima .action-button:hover {
    filter: brightness(0.9);
}

/* ── CTA block ──────────────────────────────────────────── */
.template-ellenlima .cta-block .rounded-2xl {
    background: var(--button-color, #35B3DB) !important;
    border-radius: var(--el-radius-lg) !important;
}

.template-ellenlima .cta-block h2 {
    font-family: var(--el-font);
    color: #fff !important;
}

.template-ellenlima .cta-button {
    background: #fff !important;
    color: var(--button-color, #35B3DB) !important;
    border-radius: var(--el-radius);
    font-family: var(--el-font);
    font-weight: 700;
    font-size: 18px;
    padding: 14px 40px;
}

/* ── FAQ ────────────────────────────────────────────────── */
.template-ellenlima .faq-item,
.template-ellenlima [data-block-type="faq_accordion"] details {
    background-color: var(--card-background-color, #f9f9f9) !important;
    padding: 16px 20px;
    border-radius: var(--el-radius-lg) !important;
    margin-bottom: 16px;
    border: 1px solid var(--el-border) !important;
    color: var(--el-text);
}

.template-ellenlima [data-block-type="faq_accordion"] summary {
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color, #000);
    font-family: var(--el-font);
}

/* ── Image gallery ──────────────────────────────────────── */
.template-ellenlima [data-block-type="images_gallery"] {
    max-width: var(--el-max-width);
    margin: 30px auto;
}

.template-ellenlima [data-block-type="images_gallery"] img {
    border-radius: var(--el-radius);
    transition: transform var(--el-transition), filter var(--el-transition);
}

.template-ellenlima [data-block-type="images_gallery"] img:hover {
    transform: scale(1.03);
    filter: brightness(0.95);
}

/* ── Structured table ───────────────────────────────────── */
.template-ellenlima .structured-table {
    border-radius: var(--el-radius-lg);
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER: .footer--ellenlima
   ══════════════════════════════════════════════════════════════ */
.footer--ellenlima {
    background-color: var(--el-header-bg);
    color: #fff;
}

.footer--ellenlima .el-footer__top {
    background-color: var(--el-header-top-bg);
    padding: 40px 0 30px;
}

.footer--ellenlima .el-footer__top-inner {
    max-width: var(--el-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.footer--ellenlima .el-footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer--ellenlima .el-footer__brand img {
    max-height: 50px;
    width: auto;
}

.footer--ellenlima .el-footer__brand-title {
    font-family: var(--el-font);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.footer--ellenlima .el-footer__bottom {
    max-width: var(--el-max-width);
    margin: 0 auto;
    padding: 30px 15px;
}

.footer--ellenlima .el-footer__disclaimer {
    text-align: center;
    color: var(--el-border);
    font-size: 14px;
    font-family: var(--el-font);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer--ellenlima .el-footer__copyright {
    text-align: center;
    color: var(--el-border);
    font-size: 14px;
    font-family: var(--el-font);
    margin-bottom: 10px;
}

.footer--ellenlima .el-footer__nav {
    padding: 0;
}

.footer--ellenlima .el-footer__nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.footer--ellenlima .el-footer__nav-item {
    padding: 0 15px;
    position: relative;
}

.footer--ellenlima .el-footer__nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    right: 0;
    top: 0;
    background: #fff;
}

.footer--ellenlima .el-footer__nav-link {
    color: #fff;
    text-decoration: none;
    font-family: var(--el-font);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--el-transition);
}

.footer--ellenlima .el-footer__nav-link:hover {
    text-decoration: underline;
}

/* Scroll to top */
.footer--ellenlima .el-footer__scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    background-color: var(--button-color, #35B3DB);
    border-radius: var(--el-radius);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--el-transition);
    border: none;
    z-index: 999;
}

.footer--ellenlima .el-footer__scroll-top:hover {
    opacity: 1;
}

.footer--ellenlima .el-footer__scroll-top::after,
.footer--ellenlima .el-footer__scroll-top::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 2px;
    background-color: #fff;
}

.footer--ellenlima .el-footer__scroll-top::after {
    transform: translate(-15%, -50%) rotate(40deg);
}

.footer--ellenlima .el-footer__scroll-top::before {
    transform: translate(-85%, -50%) rotate(-40deg);
}

/* ── Spacing overrides ──────────────────────────────────────── */
.template-ellenlima [data-block-type] {
    max-width: var(--el-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.template-ellenlima .hero-block {
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.template-ellenlima .hero-block>div {
    max-width: var(--el-max-width);
    margin: 0 auto;
}

/* ── LanguageSwitcher overrides for dark header ─────────────── */
.header--ellenlima .language-switcher .lang-button {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.header--ellenlima .language-switcher .lang-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--button-color, #35B3DB);
}

.header--ellenlima .language-switcher .lang-button[aria-expanded="true"] {
    border-color: var(--button-color, #35B3DB);
    background: rgba(255, 255, 255, 0.12);
}

/* Mobile menu LanguageSwitcher */
.header--ellenlima .el-header__mobile-lang .language-switcher .lang-button {
    color: #fff;
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── ≤ 1024px → burger mode ──────────────────────────── */
@media (max-width: 1024px) {
    .header--ellenlima .el-header__nav-bar {
        display: none !important;
    }

    .header--ellenlima .el-header__burger {
        display: flex;
        align-items: center;
    }

    .header--ellenlima .el-header__register {
        display: none;
    }

    .header--ellenlima .el-header__lang-desktop {
        display: none;
    }
}

/* ── ≤ 768px ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .header--ellenlima .el-header__logo {
        width: 46px;
    }

    .header--ellenlima .el-header__top-inner {
        padding: 10px 12px;
    }

    .template-ellenlima .hero-cta-btn {
        padding: 12px 30px;
        font-size: 18px;
    }

    .template-ellenlima .text-block .prose p {
        font-size: 16px;
        text-align: left;
    }

    /* Table responsive */
    .template-ellenlima .prose table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .template-ellenlima .prose table td,
    .template-ellenlima .prose table th {
        font-size: 14px !important;
        padding: 8px 10px !important;
        white-space: nowrap;
    }

    /* Footer */
    .footer--ellenlima .el-footer__nav-list {
        flex-direction: column;
        gap: 8px;
    }

    .footer--ellenlima .el-footer__nav-item:not(:last-child)::after {
        display: none;
    }

    .footer--ellenlima .el-footer__scroll-top {
        bottom: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
    }
}

/* ── ≤ 576px ─────────────────────────────────────────── */
@media (max-width: 576px) {
    .header--ellenlima .el-header__logo {
        width: 40px;
    }

    .header--ellenlima .el-header__mobile-link {
        font-size: 15px;
        padding: 14px 15px;
    }

    .template-ellenlima .text-block h1 {
        font-size: 26px;
        margin-top: 24px;
    }

    .template-ellenlima .text-block h2 {
        font-size: 22px;
        margin-top: 20px;
    }

    .template-ellenlima .text-block h3 {
        font-size: 18px;
        margin-top: 16px;
    }

    .template-ellenlima .hero-cta-btn {
        padding: 10px 24px;
        font-size: 16px;
    }

    .template-ellenlima .action-button {
        padding: 14px 20px !important;
        font-size: 18px !important;
        max-width: 100% !important;
    }
}

/* ── ≤ 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {
    .header--ellenlima .el-header__top-inner {
        padding: 8px 10px;
    }

    .header--ellenlima .el-header__logo {
        width: 36px;
    }

    .header--ellenlima .el-header__mobile-cta {
        padding: 12px;
        font-size: 15px;
    }

    .footer--ellenlima .el-footer__nav-link {
        font-size: 13px;
    }
}

/* ── ≤ 375px ─────────────────────────────────────────── */
@media (max-width: 375px) {
    .header--ellenlima .el-header__logo {
        width: 32px;
    }

    .header--ellenlima .el-header__top-inner {
        gap: 6px;
        padding: 6px 8px;
    }
}