@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

#esplore-conteudos-catalogo {
    overflow-x: hidden;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.esplore-conteudos-app {
    --esc-bg: #070b13;
    --esc-card: #111827;
    --esc-card-2: #1f2937;
    --esc-text: #f9fafb;
    --esc-muted: #cbd5e1;
    --esc-accent: #3b82f6;
    --esc-border: rgba(255,255,255,.12);
    background: var(--esc-bg);
    color: var(--esc-text);
    border-radius: 0px;
    overflow: hidden;
    min-height: 520px;
    font-family: inherit
}

.esplore-loading,.esplore-empty {
    padding: 32px;
    color: var(--esc-muted);
    text-align: center
}

.esplore-hero {
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 48px
}

.esplore-hero-content {
    max-width: 760px
}

.esplore-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #bfdbfe;
    margin-bottom: 12px
}

.esplore-hero h1,.esplore-content-hero h1 {
    font-size: clamp(2rem,5vw,4.5rem);
    line-height: 1.05;
    margin: 0 0 16px;
    font-weight: 800
}

.esplore-hero p,.esplore-content-hero p {
    font-size: 1.1rem;
    color: var(--esc-muted);
    max-width: 720px;
    margin: 0 0 22px
}

.esplore-btn,.esplore-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    text-decoration: none!important;
    transition: .2s ease
}

.esplore-btn {
    background: var(--esc-text);
    color: #0f172a!important
}

.esplore-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0,0,0,.28)
}

.esplore-btn-secondary {
    background: rgba(255,255,255,.1);
    color: var(--esc-text)!important;
    border: 1px solid var(--esc-border)
}

.esplore-catalog-wrap {
    padding: 62px 24px 42px
}

.esplore-filters {
    display: grid;
    grid-template-columns: minmax(220px,1.4fr) repeat(3,minmax(160px,.7fr));
    gap: 12px;
    margin: -54px 0 28px;
    position: relative;
    z-index: 2
}

.esplore-filters input,.esplore-filters select {
    width: 100%;
    border: 1px solid var(--esc-border);
    background: rgba(15,23,42,.92);
    color: var(--esc-text);
    border-radius: 14px;
    padding: 13px 15px;
    outline: none
}

.esplore-filters input::placeholder {
    color: #94a3b8
}

.esplore-row {
    margin: 0 0 34px
}

.esplore-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px
}

.esplore-row-header h2 {
    font-size: 1.35rem;
    margin: 0
}

.esplore-row-header span {
    color: var(--esc-muted);
    font-size: .9rem
}

.esplore-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px,260px);
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 18px;
    scroll-snap-type: inline mandatory
}

.esplore-carousel::-webkit-scrollbar {
    height: 9px
}

.esplore-carousel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.18);
    border-radius: 999px
}

.esplore-content-card {
    scroll-snap-align: start;
    background: transparent
}

.esplore-card-link {
    display: block;
    color: inherit!important;
    text-decoration: none!important
}

.esplore-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg,#111827,#374151);
    aspect-ratio: 16/9;
    box-shadow: 0 12px 30px rgba(0,0,0,.35)
}

.esplore-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease
}

.esplore-card-link:hover .esplore-thumb img {
    transform: scale(1.045)
}

.esplore-thumb-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem
}

.esplore-type-badge,.esplore-fav {
    position: absolute;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.66);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff
}

.esplore-type-badge {
    left: 10px;
    border-radius: 999px;
    padding: 7px 10px
}

.esplore-fav {
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.25rem
}

.esplore-fav.is-active {
    color: #fb7185
}

.esplore-card-body {
    padding: 11px 2px 0
}

.esplore-card-body h3 {
    font-size: 1rem;
    line-height: 1.25;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.esplore-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--esc-muted);
    font-size: .86rem
}

.esplore-card-meta .esplore-card-details {
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0
}

.esplore-card-meta-placeholder {
    display: inline-block;
    min-height: 1px
}

.esplore-rating {
    color: #facc15;
    letter-spacing: .03em;
    white-space: nowrap
}

.esplore-content-page {
    background: var(--esc-bg)
}

.esplore-content-hero {
    min-height: 430px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 42px
}

.esplore-content-hero-inner {
    max-width: 980px
}

.esplore-back {
    display: inline-block;
    color: #bfdbfe!important;
    text-decoration: none!important;
    margin-bottom: 16px
}

.esplore-category-pills,.esplore-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px
}

.esplore-category-pills span,.esplore-tag-pills span {
    border: 1px solid var(--esc-border);
    background: rgba(15,23,42,.68);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--esc-text);
    font-size: .86rem
}

.esplore-tag-pills span {
    color: #bfdbfe
}

.esplore-content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--esc-muted);
    margin: 12px 0 18px
}

.esplore-content-main {
    padding: 28px;
    max-width: 1180px;
    margin: 0 auto
}

.esplore-player {
    background: #020617;
    border: 1px solid var(--esc-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,.32)
}

.esplore-video-player,.esplore-pdf-player,.esplore-ebook-player,.esplore-podcast-embed {
    aspect-ratio: 16/9
}

.esplore-video-player iframe,.esplore-pdf-player iframe,.esplore-ebook-player iframe,.esplore-podcast-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block
}

.esplore-player video {
    width: 100%;
    display: block;
    max-height: 72vh;
    background: #000
}

.esplore-player audio {
    width: 100%;
    padding: 24px
}

.esplore-login-gate,.esplore-landing-placeholder {
    padding: 34px;
    border-radius: 20px;
    background: linear-gradient(135deg,rgba(59,130,246,.16),rgba(15,23,42,.96));
    border: 1px solid var(--esc-border);
    text-align: center
}

.esplore-login-gate h2,.esplore-landing-placeholder h2 {
    margin-top: 0
}

.esplore-auth-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: #bfdbfe;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.esplore-login-gate p {
    max-width: 680px;
    margin: 0 auto 22px;
    color: var(--esc-muted)
}

.esplore-auth-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px
}

.esplore-auth-modal[hidden] {
    display: none!important
}

.esplore-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px
}

.esplore-auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2,6,23,.78);
    backdrop-filter: blur(10px)
}

.esplore-auth-dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 460px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.16);
    background: #0b1220;
    color: var(--esc-text);
    box-shadow: 0 28px 80px rgba(0,0,0,.48);
    padding: 28px
}

.esplore-auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer
}

.esplore-auth-dialog h2 {
    margin: 0 42px 8px 0;
    font-size: 1.55rem
}

.esplore-auth-dialog p {
    margin: 0 0 18px;
    color: var(--esc-muted)
}

.esplore-auth-fields {
    display: grid;
    gap: 14px
}

.esplore-auth-fields label {
    display: grid;
    gap: 7px;
    color: #dbeafe;
    font-size: .92rem;
    text-align: left
}

.esplore-auth-fields input {
    width: 100%;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(2,6,23,.78);
    color: #fff;
    padding: 12px 14px;
    outline: none
}

.esplore-auth-fields input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59,130,246,.18)
}

.esplore-auth-message {
    margin: 0 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(248,113,113,.42);
    background: rgba(127,29,29,.26);
    color: #fecaca;
    padding: 10px 12px;
    font-size: .92rem
}

.esplore-auth-message.is-success {
    border-color: rgba(74,222,128,.38);
    background: rgba(20,83,45,.26);
    color: #bbf7d0
}

.esplore-auth-dialog form > .esplore-btn {
    width: 100%;
    margin-top: 18px
}

.esplore-auth-dialog button:disabled {
    opacity: .65;
    cursor: wait
}

.esplore-full-description {
    margin-top: 28px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--esc-border);
    border-radius: 20px;
    padding: 24px;
    color: var(--esc-muted)
}

.esplore-note {
    margin-top: 12px;
    color: var(--esc-muted);
    font-size: .94rem
}

@media (max-width: 900px) {
    .esplore-hero,.esplore-content-hero {
        padding:32px 22px;
        min-height: 360px
    }

    .esplore-filters {
        grid-template-columns: 1fr;
        margin-top: -34px
    }

    .esplore-catalog-wrap {
        padding: 18px
    }

    .esplore-carousel {
        grid-auto-columns: minmax(178px,72vw)
    }

    .esplore-content-main {
        padding: 18px
    }

    .esplore-video-player,.esplore-pdf-player,.esplore-ebook-player,.esplore-podcast-embed {
        aspect-ratio: 4/3
    }

    .esplore-auth-options {
        flex-direction: column;
        align-items: stretch
    }

    .esplore-auth-options .esplore-btn,.esplore-auth-options .esplore-btn-secondary {
        width: 100%
    }

    .esplore-auth-dialog {
        padding: 24px 18px
    }
}

/* v024 banner video/slider */
.esplore-hero {
    position: relative;
    overflow: hidden;
    background: #020617;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 48px
}

.esplore-hero-bg,.esplore-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center
}

.esplore-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.34));
    pointer-events: none
}

.esplore-hero-content {
    position: relative;
    z-index: 2
}

.esplore-hero-slider {
    display: block;
    padding: 0
}

.esplore-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 48px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease
}

.esplore-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto
}

.esplore-hero-dots {
    position: absolute;
    right: 28px;
    bottom: 24px;
    z-index: 4;
    display: flex;
    gap: 8px
}

.esplore-hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.42);
    cursor: pointer;
    padding: 0
}

.esplore-hero-dots button.is-active {
    background: #fff;
    width: 28px
}

.esplore-content-hero {
    position: relative;
    overflow: hidden;
    background: #020617
}

.esplore-content-hero-bg,.esplore-content-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center
}

.esplore-content-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.90));
    pointer-events: none
}

.esplore-content-hero-inner {
    position: relative;
    z-index: 2
}

.esplore-content-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap
}

.esplore-btn-secondary.is-active,.esplore-fav.is-active {
    color: #fff;
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.4)
}

.esplore-rating-box {
    margin: 28px 0;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.esplore-rating-box p {
    margin: .25rem 0 0;
    opacity: .75
}

.esplore-rating-actions {
    display: flex;
    gap: 4px
}

.esplore-rating-actions button {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.35);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 4px
}

.esplore-rating-actions button:hover,.esplore-rating-actions button.is-active {
    color: #ffd76a
}

.esplore-rating-feedback {
    display: block;
    opacity: .8
}

.esplore-fav {
    z-index: 5
}

@media (max-width: 700px) {
    .esplore-rating-box {
        align-items:flex-start;
        flex-direction: column
    }

    .esplore-rating-actions button {
        font-size: 26px
    }
}

/* v030 PDF/E-book advanced reader and podcast player */
.esplore-reader {
    background: #020617;
    border: 1px solid var(--esc-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(0,0,0,.36)
}

.esplore-reader-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(15,23,42,.96);
    border-bottom: 1px solid var(--esc-border);
    position: sticky;
    top: 0;
    z-index: 3
}

.esplore-reader-btn,.esplore-reader-toolbar .esplore-btn-secondary {
    border: 1px solid var(--esc-border);
    background: rgba(255,255,255,.08);
    color: var(--esc-text)!important;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none!important;
    margin: 0
}

.esplore-reader-btn:hover,.esplore-reader-toolbar .esplore-btn-secondary:hover {
    background: rgba(255,255,255,.16)
}

.esplore-reader-page-control {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--esc-muted)
}

.esplore-reader-page-control select {
    background: #0f172a;
    color: var(--esc-text);
    border: 1px solid var(--esc-border);
    border-radius: 10px;
    padding: 7px 10px;
    min-width: 74px
}

.esplore-reader-stage {
    min-height: 540px;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: radial-gradient(circle at top,rgba(59,130,246,.12),rgba(2,6,23,1) 48%);
    overflow: auto
}

.esplore-reader-stage canvas {
    display: none;
    max-width: 100%;
    height: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(0,0,0,.48)
}

.esplore-pdf-spinner {
    min-height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    color: #dbeafe;
    font-weight: 700;
    letter-spacing: .01em;
}

.esplore-pdf-spinner[hidden] {
    display: none;
}

.esplore-pdf-spinner-ring {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(147, 197, 253, .28);
    border-top-color: #60a5fa;
    border-right-color: #34d399;
    border-radius: 50%;
    animation: esplore-pdf-spin .8s linear infinite;
}

@keyframes esplore-pdf-spin {
    to { transform: rotate(360deg); }
}

.esplore-reader-stage iframe {
    width: 100%;
    min-height: 74vh;
    border: 0;
    background: #fff;
    border-radius: 8px
}

.esplore-reader-status {
    min-height: 28px;
    padding: 0 16px 14px;
    color: var(--esc-muted);
    font-size: .92rem;
    text-align: center;
    background: #020617
}

.esplore-reader-ebook .esplore-reader-stage {
    background: linear-gradient(135deg,#1f2937,#020617);
    padding: 28px
}

.esplore-reader-ebook .esplore-reader-page-control select {
    background: #fff;
    color: #0b1f5b;
    border-color: #b8c7e6;
}

.esplore-reader-ebook canvas {
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0,0,0,.55), 16px 0 24px rgba(0,0,0,.22);
}

.esplore-reader-infographic .esplore-reader-toolbar {
    justify-content: flex-end
}

.esplore-reader-infographic .esplore-reader-stage {
    min-height: 78vh;
    padding: 0;
    display: block;
    background: #020617
}

.esplore-reader-infographic canvas {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none
}

.esplore-reader-infographic iframe {
    width: 100%;
    min-height: 78vh;
    display: block;
    border-radius: 0;
    background: #fff
}

.esplore-reader:fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0
}

.esplore-reader:fullscreen .esplore-reader-stage {
    height: calc(100vh - 92px);
    min-height: 0
}

.esplore-reader:fullscreen canvas {
    max-height: calc(100vh - 130px);
    width: auto
}

.esplore-reader:fullscreen iframe {
    min-height: calc(100vh - 120px)
}

.esplore-reader-infographic:fullscreen .esplore-reader-stage {
    height: calc(100vh - 74px);
    min-height: 0;
    overflow: auto
}

.esplore-reader-infographic:fullscreen iframe {
    min-height: calc(100vh - 74px)
}

.esplore-reader-infographic:fullscreen canvas {
    width: 100%;
    max-height: none;
    height: auto
}

.esplore-audio-player {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg,rgba(59,130,246,.18),rgba(15,23,42,.98))
}

.esplore-audio-cover {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.10);
    font-size: 42px;
    border: 1px solid var(--esc-border)
}

.esplore-audio-info {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.esplore-audio-info strong {
    font-size: 1.15rem
}

.esplore-audio-info span {
    color: var(--esc-muted)
}

.esplore-audio-info audio {
    width: 100%;
    padding: 0;
    background: transparent
}

.esplore-podcast-embed iframe {
    min-height: 220px
}

.esplore-revvo-player iframe {
    min-height: 560px
}

@media (max-width: 700px) {
    .esplore-reader-toolbar {
        align-items:stretch
    }

    .esplore-reader-btn,.esplore-reader-toolbar .esplore-btn-secondary {
        flex: 1 1 auto
    }

    .esplore-reader-page-control {
        width: 100%;
        justify-content: center
    }

    .esplore-reader-stage {
        min-height: 420px;
        padding: 10px
    }

    .esplore-reader-infographic .esplore-reader-stage {
        padding: 0
    }

    .esplore-audio-player {
        grid-template-columns: 1fr
    }

    .esplore-audio-cover {
        width: 76px;
        height: 76px;
        border-radius: 18px
    }

    .esplore-revvo-player iframe {
        min-height: 420px
    }
}

/* v031 catalog refactor: Netflix-like carousel and stable filters */
.esplore-catalog-wrap {
    overflow: hidden
}

.esplore-filters {
    position: relative;
    z-index: 8
}

.esplore-search {
    min-width: 260px
}

.esplore-filter-combo {
    position: relative;
    min-width: 0
}

.esplore-filter-combo-trigger {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--esc-border);
    background: rgba(15,23,42,.92);
    color: var(--esc-text);
    border-radius: 14px;
    padding: 13px 42px 13px 15px;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    cursor: pointer;
    position: relative
}

.esplore-filter-combo-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.esplore-filter-combo-trigger::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,.72);
    border-bottom: 2px solid rgba(255,255,255,.72);
    transform: rotate(45deg);
    position: absolute;
    right: 16px;
    top: 16px;
    transition: transform .18s ease
}

.esplore-filter-combo.is-open .esplore-filter-combo-trigger::after {
    transform: rotate(225deg);
    top: 20px
}

.esplore-filter-combo-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    border: 1px solid var(--esc-border);
    border-radius: 16px;
    background: #0b1220;
    box-shadow: 0 18px 36px rgba(0,0,0,.36);
    padding: 12px
}

.esplore-filter-combo-panel[hidden] {
    display: none !important
}

.esplore-filter-combo-search {
    margin-bottom: 10px
}

.esplore-filter-combo-options {
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    gap: 6px;
    padding-right: 2px
}

.esplore-filter-combo-option {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: var(--esc-text);
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: .18s ease
}

.esplore-filter-combo-option:hover,
.esplore-filter-combo-option.is-active {
    background: rgba(59,130,246,.18);
    border-color: rgba(147,197,253,.32)
}

.esplore-rows {
    display: block
}

.esplore-row {
    position: relative;
    margin: 0 0 36px;
    overflow: visible
}

.esplore-row-header {
    padding-right: 16px
}

.esplore-carousel-shell {
    position: relative;
    margin-left: -4px;
    margin-right: -4px;
    isolation: isolate;
    overflow: visible
}

.esplore-carousel {
    display: flex!important;
    position: relative;
    z-index: 1;
    grid-auto-flow: unset!important;
    grid-auto-columns: unset!important;
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    padding: 6px 4px 28px;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.esplore-carousel::-webkit-scrollbar {
    display: none!important;
    width: 0!important;
    height: 0!important
}

.esplore-content-card {
    flex: 0 0 clamp(240px,19.2vw,300px);
    width: clamp(240px,19.2vw,300px);
    max-width: none!important;
    min-width: 0!important;
    scroll-snap-align: start;
    transition: transform .18s ease, filter .18s ease
}

.esplore-card-link:hover .esplore-content-card,.esplore-content-card:hover {
    transform: translateY(-3px)
}

.esplore-thumb {
    border-radius: 18px;
    aspect-ratio: 3/2
}

.esplore-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 40;
    width: 48px;
    height: 48px;
    margin-top: -14px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(.96);
    transition: opacity .18s ease, transform .18s ease, background .18s ease, border-color .18s ease, visibility .18s ease;
    background: rgba(2,6,23,.74);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0,0,0,.28)
}

.esplore-carousel-shell.has-scroll .esplore-carousel-nav {
    display: flex
}

.esplore-carousel-shell:hover .esplore-carousel-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1)
}

.esplore-carousel-nav:hover {
    background: rgba(15,23,42,.92);
    border-color: rgba(255,255,255,.28)
}

.esplore-carousel-nav:disabled {
    opacity: 0!important;
    visibility: hidden;
    transform: translateY(-50%) scale(.92);
    pointer-events: none
}

.esplore-carousel-prev {
    left: 10px
}

.esplore-carousel-next {
    right: 10px
}

.esplore-carousel-prev::before,.esplore-carousel-next::before {
    content: '';
    display: block;
    width: 11px;
    height: 11px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff
}

.esplore-carousel-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px
}

.esplore-carousel-next::before {
    transform: rotate(45deg);
    margin-right: 4px
}

.esplore-carousel-nav:focus-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
    outline: 2px solid rgba(255,255,255,.52);
    outline-offset: 2px
}

.esplore-empty {
    padding: 34px;
    border: 1px solid var(--esc-border);
    border-radius: 22px;
    background: rgba(255,255,255,.05);
    color: var(--esc-muted)
}

@media (max-width: 900px) {
    .esplore-content-card {
        flex-basis: clamp(210px,58vw,280px);
        width: clamp(210px,58vw,280px)
    }

    .esplore-carousel {
        gap: 14px;
        padding-bottom: 24px
    }

    .esplore-carousel-nav {
        display: none!important
    }

    .esplore-search {
        min-width: 0
    }
}

.esplore-user-greeting {
    position: absolute;
    right: 28px;
    top: 24px;
    z-index: 6;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(2,6,23,.56);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(10px)
}

@media(max-width: 700px) {
    .esplore-user-greeting {
        right:14px;
        top: 14px;
        font-size: 13px
    }
}

/* v037 UX refinements */
.esplore-hero-compact {
    min-height: 300px;
    background: radial-gradient(circle at top left,rgba(59,130,246,.32),rgba(2,6,23,1) 55%)
}

.esplore-card-link-wrap {
    height: 100%
}

.esplore-content-card {
    position: relative;
    transform-origin: center bottom
}

.esplore-content-card:hover {
    z-index: 20;
    filter: brightness(1.06)
}

.esplore-content-card:hover .esplore-thumb {
    box-shadow: 0 22px 48px rgba(0,0,0,.58)
}

.esplore-content-card:hover .esplore-card-hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

.esplore-card-hover {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 6;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: .2s ease
}

.esplore-card-action {
    flex: 1;
    border: 0;
    border-radius: 999px;
    padding: 9px 10px;
    background: #fff;
    color: #0f172a!important;
    text-align: center;
    text-decoration: none!important;
    font-weight: 800;
    font-size: .86rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    cursor: pointer
}

.esplore-card-action.is-secondary {
    background: rgba(15,23,42,.82);
    color: #fff!important;
    border: 1px solid rgba(255,255,255,.22)
}

.esplore-type-badge {
    gap: 6px;
    font-size: .82rem;
    font-weight: 800;
    max-width: calc(100% - 58px)
}

.esplore-type-badge b {
    font-size: .75rem;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.esplore-type-badge.is-static {
    position: static;
    width: max-content;
    margin-bottom: 12px;
    background: rgba(59,130,246,.16)
}

.esplore-mini-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(37,99,235,.86);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.18)
}

.esplore-mini-badge-left {
    right: auto;
    left: 10px;
    background: rgba(245,158,11,.9);
    color: #111827
}

.esplore-card-progress {
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    overflow: hidden;
    margin: 9px 0 5px
}

.esplore-card-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#60a5fa,#22c55e)
}

.esplore-started-label {
    display: block;
    color: #93c5fd;
    font-size: .78rem;
    line-height: 1.2
}

.esplore-modal[hidden] {
    display: none!important
}

.esplore-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px
}

.esplore-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px)
}

.esplore-modal-card {
    position: relative;
    z-index: 2;
    width: min(920px,96vw);
    max-height: 92vh;
    overflow: auto;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    background: #07111f;
    color: #fff;
    box-shadow: 0 32px 90px rgba(0,0,0,.72)
}

.esplore-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,.58);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer
}

.esplore-modal-media {
    height: min(360px,42vh);
    background: #020617;
    overflow: hidden
}

.esplore-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.esplore-modal-body {
    padding: 26px
}

.esplore-modal-body h2 {
    font-size: clamp(1.7rem,4vw,3rem);
    line-height: 1.05;
    margin: 0 0 14px
}

.esplore-modal-body p {
    color: #cbd5e1;
    font-size: 1.02rem;
    max-width: 760px
}

.esplore-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin: 14px 0 18px;
    color: #cbd5e1
}

.esplore-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px
}

.esplore-modal-open {
    overflow: hidden
}

.esplore-skeleton-row {
    display: flex;
    gap: 18px;
    overflow: hidden;
    padding: 80px 0 28px
}

.esplore-row-loading {
    margin-top: 10px
}

.esplore-loading-panel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--esc-muted);
    font-weight: 700;
    margin-bottom: -42px;
    padding: 12px 0
}

.esplore-spinner {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,.18);
    border-top-color: #bfdbfe;
    animation: esploreSpin .8s linear infinite
}

@keyframes esploreSpin {
    to {
        transform: rotate(360deg)
    }
}

.esplore-skeleton-card {
    flex: 0 0 clamp(230px,18.6vw,292px);
    height: 218px;
    border-radius: 20px;
    background: rgba(255,255,255,.05);
    padding: 12px;
    position: relative;
    overflow: hidden
}

.esplore-skeleton-card:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.10),transparent);
    transform: translateX(-100%);
    animation: esploreSkeleton 1.25s infinite
}

.esplore-skeleton-card span,.esplore-skeleton-card b,.esplore-skeleton-card i {
    display: block;
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    position: relative
}

.esplore-skeleton-card span {
    height: 132px
}

.esplore-skeleton-card b {
    height: 18px;
    margin-top: 14px;
    width: 82%
}

.esplore-skeleton-card i {
    height: 12px;
    margin-top: 10px;
    width: 52%
}

@keyframes esploreSkeleton {
    to {
        transform: translateX(100%)
    }
}

.esplore-reader-toolbar {
    box-shadow: 0 12px 26px rgba(0,0,0,.22)
}

.esplore-reader-page-control strong {
    color: #fff
}

.esplore-reader-status {
    font-weight: 700
}

.esplore-reader-btn[data-reader-fullscreen] {
    background: rgba(59,130,246,.18);
    border-color: rgba(147,197,253,.34)
}

@media(max-width: 900px) {
    .esplore-card-hover {
        display:none
    }

    .esplore-content-card:hover {
        transform: none
    }

    .esplore-type-badge b {
        display: none
    }

    .esplore-mini-badge {
        font-size: .68rem
    }

    .esplore-modal {
        padding: 12px
    }

    .esplore-modal-card {
        border-radius: 20px
    }

    .esplore-modal-body {
        padding: 20px
    }

    .esplore-modal-media {
        height: 240px
    }

    .esplore-filters {
        gap: 10px
    }

    .esplore-hero-compact {
        min-height: 270px
    }

    .esplore-skeleton-card {
        flex-basis: clamp(190px,54vw,260px)
    }
}

@media(max-width: 560px) {
    .esplore-modal-actions .esplore-btn,.esplore-modal-actions .esplore-btn-secondary {
        width:100%
    }

    .esplore-card-meta {
        align-items: center;
        flex-direction: row;
        gap: 10px
    }

    .esplore-rating {
        font-size: .82rem
    }

    .esplore-reader-toolbar {
        position: relative
    }

    .esplore-reader-btn[data-reader-fullscreen] {
        flex-basis: 100%
    }
}

/* ================================================================
   v0.4.0 â€” Autores nos cards, badges, modal de autor
   ================================================================ */
/* Avatares de autores no card */
.esplore-card-autores {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    margin-top: 10px;
}

.esplore-autor-avatar {
    width: 100%;
    min-height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(99,179,237,.28);
    background: rgba(59,130,246,.14);
    overflow: hidden;
    padding: 6px 10px;
    cursor: pointer;
    transition: border-color .18s, transform .18s;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 0;
    text-align: left;
}

.esplore-autor-avatar:hover {
    border-color: #60a5fa;
    transform: translateY(-1px);
    z-index: 2;
}

.esplore-autor-avatar-media {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    flex: 0 0 32px;
}

.esplore-autor-avatar img,
.esplore-autor-avatar-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.esplore-autor-ini {
    color: #93c5fd;
    font-weight: 800;
    font-size: .78rem;
    line-height: 1;
}

.esplore-autor-avatar-name {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    color: #dbeafe;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* VersÃ£o no modal de conteÃºdo (com nome visÃ­vel) */
.esplore-card-autores--modal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.esplore-card-autores--modal .esplore-autor-avatar {
    width: auto;
    min-height: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    text-align: center;
}

.esplore-card-autores--modal .esplore-autor-avatar img,
.esplore-card-autores--modal .esplore-autor-avatar .esplore-autor-ini {
    width: 38px;
    height: 38px;
}

.esplore-card-autores--modal .esplore-autor-avatar img {
    border-radius: 50%;
    border-color: rgba(99,179,237,.7);
}

.esplore-card-autores--modal .esplore-autor-avatar .esplore-autor-ini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(59,130,246,.22);
}

.esplore-autor-nome {
    display: block;
    font-size: .72rem;
    color: #93c5fd;
    margin-top: 3px;
    text-align: center;
    max-width: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.esplore-modal-autores {
    margin: 14px 0;
}

.esplore-modal-autores strong {
    display: block;
    font-size: .82rem;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Badge de formato no card */
.esplore-formato-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(139,92,246,.22);
    border: 1px solid rgba(167,139,250,.35);
    color: #c4b5fd;
    font-size: .72rem;
    font-weight: 700;
    margin-top: 5px;
    margin-right: 4px;
}

.esplore-thumb-badges {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100% - 20px);
}

.esplore-content-card .esplore-thumb-badges .esplore-mini-badge {
    position: static;
    background: var(--esplore-card-tag-color, #ff5b3f);
    border-color: var(--esplore-card-tag-color, #ff5b3f);
    color: #fff;
}

.esplore-content-card .esplore-thumb-badges .esplore-product-badge {
    background: var(--esplore-card-product-color, #ff5b3f);
    border-color: var(--esplore-card-product-color, #ff5b3f);
}

/* Tempo de leitura no card */
.esplore-tempo-leitura {
    display: inline-block;
    font-size: .72rem;
    color: #94a3b8;
}

.esplore-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-top: 6px;
}

/* Modal de autor */
.esplore-modal-autor-card {
    width: min(560px, 96vw);
    max-height: 80vh;
    padding: 0;
    overflow: hidden;
}

.esplore-autor-modal-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 28px 20px;
    background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(7,17,31,1) 60%);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.esplore-autor-modal-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(99,179,237,.55);
    flex-shrink: 0;
}

.esplore-autor-modal-ini {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(59,130,246,.28);
    border: 3px solid rgba(99,179,237,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #93c5fd;
    flex-shrink: 0;
}

.esplore-autor-modal-header h2 {
    font-size: 1.5rem;
    margin: 0 0 12px;
    line-height: 1.1;
}

.esplore-btn-sm {
    font-size: .82rem;
    padding: 7px 16px;
}

.esplore-autor-modal-desc {
    padding: 20px 28px 28px;
    color: #cbd5e1;
    font-size: .96rem;
    line-height: 1.65;
    overflow-y: auto;
    max-height: 240px;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 100% !important;
    }
}
.header-content {
    display: none;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-right: 0;
    padding-left: 0;
}
/* ================================================================
   v0.4.1 — Layout shell com sidenav + página do autor
   ================================================================ */

/* --- Layout shell ------------------------------------------------ */
.esplore-layout-shell {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.esplore-main-content {
  flex: 1;
  min-width: 0;
  transition: margin-left 0.28s ease;
}

/* --- Sidenav ---------------------------------------------------- */
.esplore-sidenav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 900;
  width: 56px;                   /* colapsado: só ícones */
  background: #020d1c;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.28s cubic-bezier(.4,0,.2,1);
}

.esplore-sidenav.is-expanded {
  width: 240px;
}

/* Desloca conteúdo principal */
.has-sidenav .esplore-main-content {
  margin-left: 56px;
  transition: margin-left 0.28s cubic-bezier(.4,0,.2,1);
}
.has-sidenav .esplore-sidenav.is-expanded ~ .esplore-main-content,
.has-sidenav:has(.esplore-sidenav.is-expanded) .esplore-main-content {
  margin-left: 240px;
}

/* Burger */
.esplore-sidenav-burger {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}
.esplore-sidenav-burger:hover {
  background: rgba(255,255,255,.07);
}

.esplore-burger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.esplore-burger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #94a3b8;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s, width 0.2s;
}
.esplore-sidenav.is-expanded .esplore-burger-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.esplore-sidenav.is-expanded .esplore-burger-icon span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.esplore-sidenav.is-expanded .esplore-burger-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Conteúdo do sidenav (módulo Joomla) */
.esplore-sidenav-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}

/* Estilos para o módulo de menu dentro do sidenav */
.esplore-sidenav-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.esplore-sidenav-content li {
  margin: 0;
}

.esplore-sidenav-content a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  color: #94a3b8;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  font-size: .9rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}

.esplore-sidenav-content a:hover,
.esplore-sidenav-content a.active,
.esplore-sidenav-content li.active > a {
  background: rgba(59,130,246,.18);
  color: #93c5fd;
}

/* Ícones do menu (span.icon-*) */
.esplore-sidenav-content .menu-icon,
.esplore-sidenav-content [class*="icon-"],
.esplore-sidenav-content .fa {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

/* Texto do item de menu — oculto quando colapsado */
.esplore-sidenav-content .menu-title,
.esplore-sidenav-content a > span:last-child {
  opacity: 1;
  transition: opacity 0.18s;
}
.esplore-sidenav:not(.is-expanded) .esplore-sidenav-content .menu-title,
.esplore-sidenav:not(.is-expanded) .esplore-sidenav-content a > span:last-child {
  opacity: 0;
  pointer-events: none;
}

/* Tooltip ao passar o mouse quando colapsado */
.esplore-sidenav:not(.is-expanded) .esplore-sidenav-content a {
  position: relative;
}
.esplore-sidenav:not(.is-expanded) .esplore-sidenav-content a:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1e293b;
  color: #e2e8f0;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: .82rem;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.12);
  z-index: 9999;
}

/* Mobile: sidenav como drawer por cima */
@media (max-width: 900px) {
  .esplore-sidenav {
    transform: translateX(-100%);
    width: 240px;
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
  }
  .esplore-sidenav.is-expanded {
    transform: translateX(0);
    box-shadow: 4px 0 32px rgba(0,0,0,.6);
  }
  .has-sidenav .esplore-main-content,
  .has-sidenav:has(.esplore-sidenav.is-expanded) .esplore-main-content {
    margin-left: 0 !important;
  }
  .esplore-sidenav-burger {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 901;
    background: rgba(2,13,28,.85);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
  }
}

/* --- Página do autor --------------------------------------------- */
.esplore-autor-page-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 48px 32px 32px;
  background: linear-gradient(135deg, rgba(37,99,235,.2), rgba(2,6,23,1) 60%);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.esplore-autor-page-foto {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(99,179,237,.55);
  flex-shrink: 0;
}

.esplore-autor-page-ini {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(59,130,246,.28);
  border: 3px solid rgba(99,179,237,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #93c5fd;
  flex-shrink: 0;
}

.esplore-autor-page-info h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 12px;
  line-height: 1.1;
  color: #f1f5f9;
}

.esplore-autor-page-desc {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 700px;
}

.esplore-autor-page-items {
  padding: 32px;
}

.esplore-autor-page-items h2 {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0 0 20px;
  font-weight: 600;
}

.esplore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(230px, 18.6vw, 292px), 1fr));
  gap: 20px;
}

.esplore-grid .esplore-content-card {
  flex-basis: auto;
  width: auto;
}

@media (max-width: 700px) {
  .esplore-autor-page-header {
    flex-direction: column;
    padding: 32px 20px 24px;
  }
  .esplore-autor-page-items {
    padding: 20px;
  }
  .esplore-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
}

/* ================================================================
   v0.4.4 — Sidenav subitens accordion
   ================================================================ */

/* Seta indicadora de submenu */
.esplore-sub-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
  opacity: 0.6;
}
.esplore-sub-arrow::after {
  content: '›';
  font-size: 1.1rem;
  line-height: 1;
  color: currentColor;
  display: block;
  transition: transform 0.22s ease;
}
.esplore-sidenav:not(.is-expanded) .esplore-sub-arrow {
  display: none;
}
li.esplore-sub-open > a .esplore-sub-arrow::after {
  transform: rotate(90deg);
}

/* Submenu list */
.esplore-sidenav-content .mod-menu__sub,
.esplore-sidenav-content li.parent > ul,
.esplore-sidenav-content li.deeper > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: rgba(0,0,0,.18);
  border-radius: 0 0 10px 10px;
}

/* Itens do submenu */
.esplore-sidenav-content .mod-menu__sub a,
.esplore-sidenav-content li.parent > ul a,
.esplore-sidenav-content li.deeper > ul a {
  padding: 9px 16px 9px 36px;
  font-size: .83rem;
  color: #64748b;
  border-radius: 8px;
  margin: 1px 6px;
  transition: background 0.15s, color 0.15s;
}

.esplore-sidenav-content .mod-menu__sub a:hover,
.esplore-sidenav-content li.parent > ul a:hover,
.esplore-sidenav-content li.parent > ul li.active > a,
.esplore-sidenav-content li.parent > ul li.current > a {
  background: rgba(59,130,246,.12);
  color: #7dd3fc;
}

/* Item pai com submenu aberto — destaque sutil */
.esplore-sidenav-content li.esplore-sub-open > a {
  background: rgba(59,130,246,.14);
  color: #93c5fd;
  border-radius: 10px 10px 0 0;
}

/* Ocultar texto dos subitens quando colapsado */
.esplore-sidenav:not(.is-expanded) .esplore-sidenav-content .mod-menu__sub,
.esplore-sidenav:not(.is-expanded) .esplore-sidenav-content li.parent > ul {
  display: none;
}

/* ================================================================
   v0.4.48 - Tema editorial claro inspirado na identidade Dasa Educa
   ================================================================ */
.esplore-conteudos-app {
  --esc-bg: #ffffff;
  --esc-card: #ffffff;
  --esc-card-2: #f4f7fb;
  --esc-text: #00164f;
  --esc-muted: #5e6c84;
  --esc-accent: #0b43ff;
  --esc-coral: #ff4f3a;
  --esc-sky: #9edfff;
  --esc-border: #dbe3ef;
  background: var(--esc-bg);
  color: var(--esc-text);
}

.esplore-main-content,
.esplore-content-page {
  background: #ffffff;
}

.esplore-catalog-wrap {
  padding: 36px 36px 56px;
}

.esplore-loading,
.esplore-empty {
  color: var(--esc-muted);
}

.esplore-hero {
  min-height: 340px;
  background-color: var(--esc-text);
}

.esplore-hero-slide {
  padding: 40px;
}

.esplore-hero .esplore-hero-content,
.esplore-content-hero .esplore-content-hero-inner {
  color: #ffffff;
}

.esplore-hero h1,
.esplore-content-hero h1 {
  color: #ffffff;
  font-size: 3rem;
}

.esplore-hero p,
.esplore-content-hero p {
  color: rgba(255,255,255,.88);
}

.esplore-eyebrow,
.esplore-back {
  color: var(--esc-sky)!important;
}

.esplore-hero .esplore-btn,
.esplore-content-hero .esplore-btn {
  background: var(--esc-coral);
  color: #ffffff!important;
  border-radius: 5px;
  box-shadow: none;
}

.esplore-hero .esplore-btn:hover,
.esplore-content-hero .esplore-btn:hover {
  background: #e8412f;
  box-shadow: 0 8px 18px rgba(0,22,79,.18);
}

.esplore-hero-dots button {
  background: rgba(255,255,255,.52);
}

.esplore-hero-dots button.is-active {
  background: var(--esc-coral);
}

.esplore-user-greeting {
  background: rgba(0,22,79,.82);
  border-color: rgba(255,255,255,.36);
  color: #ffffff;
}

.esplore-hero-compact {
  min-height: 250px;
  background: #f4f8ff;
  border-bottom: 1px solid var(--esc-border);
}

.esplore-hero-compact .esplore-hero-overlay {
  display: none;
}

.esplore-hero-compact .esplore-hero-content,
.esplore-hero-compact h1 {
  color: var(--esc-text);
}

.esplore-hero-compact p {
  color: var(--esc-muted);
}

.esplore-hero-compact .esplore-eyebrow {
  color: var(--esc-accent)!important;
}

.esplore-btn {
  background: var(--esc-accent);
  color: #ffffff!important;
  border-radius: 5px;
}

.esplore-btn-secondary {
  background: #ffffff;
  color: var(--esc-text)!important;
  border: 1px solid #aebbd0;
  border-radius: 5px;
}

.esplore-btn:hover,
.esplore-btn-secondary:hover {
  box-shadow: 0 7px 18px rgba(0,22,79,.14);
}

.esplore-filters {
  grid-template-columns: minmax(240px,1.35fr) repeat(3,minmax(180px,1fr));
  gap: 12px;
  margin: 0 0 42px;
  padding: 0;
}

.esplore-filters input,
.esplore-filters select,
.esplore-filter-combo-trigger {
  min-height: 48px;
  border: 1px solid #b9c5d7;
  background: #ffffff;
  color: var(--esc-text);
  border-radius: 5px;
  box-shadow: none;
}

.esplore-filters input:hover,
.esplore-filters select:hover,
.esplore-filter-combo-trigger:hover {
  border-color: #7283a0;
}

.esplore-filters input:focus,
.esplore-filters select:focus,
.esplore-filter-combo-trigger:focus-visible {
  border-color: var(--esc-accent);
  box-shadow: 0 0 0 3px rgba(11,67,255,.12);
}

.esplore-filters input::placeholder,
.esplore-filter-combo-search::placeholder {
  color: #68768d;
}

.esplore-filter-combo-trigger::after {
  border-right-color: var(--esc-text);
  border-bottom-color: var(--esc-text);
}

.esplore-filter-combo-panel {
  border-color: var(--esc-border);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0,22,79,.16);
}

.esplore-filter-combo-option {
  border-radius: 4px;
  background: #ffffff;
  color: var(--esc-text);
}

.esplore-filter-combo-option:hover,
.esplore-filter-combo-option.is-active {
  background: #edf3ff;
  border-color: #b9ccff;
  color: var(--esc-accent);
}

.esplore-row {
  margin-bottom: 48px;
}

.esplore-row-header {
  align-items: flex-end;
  margin-bottom: 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--esc-border);
}

.esplore-row-header h2 {
  color: var(--esc-text);
  font-size: 1.3rem;
  font-weight: 800;
}

.esplore-row-header span,
.esplore-autor-page-items h2 {
  color: var(--esc-muted);
}

.esplore-carousel {
  gap: 22px;
  padding: 4px 4px 22px;
}

.esplore-content-card {
  flex: 0 0 300px;
  width: 300px;
  filter: none;
  transform: none;
}

.esplore-card-link-wrap {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--esc-border);
  border-radius: 7px;
  background: #ffffff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.esplore-content-card:hover,
.esplore-card-link:hover .esplore-content-card {
  filter: none;
  transform: none;
}

.esplore-content-card:hover .esplore-card-link-wrap {
  border-color: #9ab3ee;
  box-shadow: 0 10px 26px rgba(0,22,79,.12);
}

.esplore-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px 6px 0 0;
  background: #eef3fa;
  box-shadow: none;
}

.esplore-content-card:hover .esplore-thumb {
  box-shadow: none;
}

.esplore-card-link:hover .esplore-thumb img {
  transform: none;
}

.esplore-fav {
  background: rgba(255,255,255,.94);
  border-color: rgba(0,22,79,.18);
  color: var(--esc-text);
  box-shadow: 0 4px 12px rgba(0,22,79,.14);
  backdrop-filter: none;
}

.esplore-fav:hover,
.esplore-fav.is-active {
  background: var(--esc-coral);
  border-color: var(--esc-coral);
  color: #ffffff;
}

.esplore-mini-badge {
  border-radius: 4px;
  background: var(--esc-accent);
  border-color: var(--esc-accent);
}

.esplore-mini-badge-left {
  background: var(--esc-coral);
  border-color: var(--esc-coral);
  color: #ffffff;
}

.esplore-card-body {
  padding: 15px 14px 14px;
}

.esplore-card-body h3 {
  min-height: 2.6em;
  margin-bottom: 10px;
  color: var(--esc-text);
  font-size: .96rem;
  line-height: 1.3;
}

.esplore-card-meta {
  color: var(--esc-muted);
}

.esplore-tempo-leitura {
  color: #65728a;
}

.esplore-card-details {
  gap: 7px 10px;
}

.esplore-rating {
  color: #e09200;
}

.esplore-formato-badge {
  border-radius: 4px;
  background: #eaf7ff;
  border-color: #b7def4;
  color: #005a8d;
}

.esplore-card-autores {
  padding-top: 9px;
  border-top: 1px solid #edf1f6;
}

.esplore-autor-avatar {
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  background: #f5f8fc;
  padding: 5px 7px;
}

.esplore-autor-avatar:hover {
  border-color: transparent;
  background: #edf3ff;
  transform: none;
}

.esplore-autor-avatar-media {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  background: #dfe8f5;
}

.esplore-autor-ini {
  color: var(--esc-accent);
}

.esplore-autor-avatar-name {
  color: var(--esc-text);
  font-size: .75rem;
}

.esplore-card-progress {
  background: #dfe6f1;
}

.esplore-card-progress span {
  background: var(--esc-accent);
}

.esplore-started-label {
  color: #335da8;
}

.esplore-card-hover {
  left: 8px;
  right: 8px;
  bottom: 50px;
}

.esplore-card-action {
  border-radius: 4px;
  background: var(--esc-accent);
  color: #ffffff!important;
  box-shadow: 0 6px 16px rgba(0,22,79,.2);
}

.esplore-card-action.is-secondary {
  background: #ffffff;
  color: var(--esc-text)!important;
  border-color: #c7d1df;
}

.esplore-carousel-nav {
  width: 44px;
  height: 44px;
  border-color: var(--esc-text);
  background: var(--esc-text);
  box-shadow: 0 8px 22px rgba(0,22,79,.24);
  backdrop-filter: none;
}

.esplore-carousel-nav:hover {
  border-color: var(--esc-accent);
  background: var(--esc-accent);
}

.esplore-empty {
  border-color: var(--esc-border);
  border-radius: 6px;
  background: #f7f9fc;
}

.esplore-skeleton-card {
  flex-basis: 300px;
  width: 300px;
  height: 400px;
  border: 1px solid var(--esc-border);
  border-radius: 7px;
  background: #ffffff;
}

.esplore-skeleton-card span,
.esplore-skeleton-card b,
.esplore-skeleton-card i {
  background: #e7ecf3;
}

.esplore-skeleton-card span {
  height: 290px;
}

.esplore-skeleton-card:before {
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
}

.esplore-loading-panel {
  color: var(--esc-muted);
}

.esplore-spinner {
  border-color: #dce4ef;
  border-top-color: var(--esc-accent);
}

.esplore-modal-card,
.esplore-auth-dialog {
  border-color: var(--esc-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--esc-text);
  box-shadow: 0 28px 70px rgba(0,22,79,.24);
}

.esplore-modal-body p,
.esplore-modal-meta,
.esplore-auth-dialog p {
  color: var(--esc-muted);
}

.esplore-modal-close,
.esplore-auth-close {
  background: var(--esc-text);
  color: #ffffff;
}

.esplore-auth-fields label {
  color: var(--esc-text);
}

.esplore-auth-fields input {
  border-color: #b9c5d7;
  background: #ffffff;
  color: var(--esc-text);
}

.esplore-auth-fields input:focus {
  border-color: var(--esc-accent);
  box-shadow: 0 0 0 3px rgba(11,67,255,.12);
}

.esplore-login-gate,
.esplore-landing-placeholder,
.esplore-full-description,
.esplore-rating-box {
  border-color: var(--esc-border);
  border-radius: 7px;
  background: #f7f9fc;
  color: var(--esc-text);
}

.esplore-auth-eyebrow {
  color: var(--esc-accent);
}

.esplore-rating-actions button {
  color: #c7d0df;
}

.esplore-rating-actions button:hover,
.esplore-rating-actions button.is-active {
  color: #e09200;
}

.esplore-autor-page-header {
  background: #f4f8ff;
  border-bottom-color: var(--esc-border);
}

.esplore-autor-page-info h1 {
  color: var(--esc-text);
}

.esplore-autor-page-desc {
  color: var(--esc-muted);
}

.esplore-autor-page-foto,
.esplore-autor-page-ini {
  border-color: #8fb1ff;
}

.esplore-grid {
  grid-template-columns: repeat(auto-fill, 300px);
  gap: 22px;
}

.esplore-grid .esplore-content-card {
  width: 300px;
}

.esplore-autor-modal-header {
  background: #f4f8ff;
  border-bottom-color: var(--esc-border);
}

.esplore-modal-autores strong,
.esplore-autor-nome {
  color: var(--esc-muted);
}

.esplore-category-pills span,
.esplore-tag-pills span {
  border-color: rgba(255,255,255,.32);
  background: rgba(0,22,79,.62);
  color: #ffffff;
}

.esplore-content-main {
  color: var(--esc-text);
}

.esplore-nam-box {
  margin-top: 30px;
  padding: 32px;
  border-left: 7px solid var(--esc-coral);
  background: #00164f;
  color: #ffffff;
}

.esplore-nam-box h2 {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1.28;
}

.esplore-nam-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 24px;
}

.esplore-nam-contact {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: #ffffff;
  font-size: 1.08rem;
}

.esplore-nam-contact strong {
  color: var(--esc-sky);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.esplore-nam-contact a {
  color: #ffffff!important;
  text-decoration-color: var(--esc-sky);
  text-underline-offset: 3px;
}

.esplore-nam-contact a:hover {
  color: var(--esc-sky)!important;
}

.esplore-sidenav {
  background: #00164f;
  border-right-color: rgba(255,255,255,.12);
}

.esplore-sidenav-content a:hover,
.esplore-sidenav-content a.active,
.esplore-sidenav-content li.active > a {
  background: rgba(158,223,255,.16);
  color: var(--esc-sky);
}

.esplore-sidenav-content .mod-menu__sub a:hover,
.esplore-sidenav-content li.parent > ul a:hover,
.esplore-sidenav-content li.parent > ul li.active > a,
.esplore-sidenav-content li.parent > ul li.current > a {
  color: var(--esc-sky);
}

/* Reader controls need contrast against the dark reader toolbar. */
.esplore-reader-toolbar .esplore-reader-btn,
.esplore-reader-toolbar .esplore-btn-secondary {
  min-height: 42px;
  background: #ffffff;
  color: #00164f !important;
  border-color: rgba(255,255,255,.86);
  box-shadow: none;
}

.esplore-reader-toolbar .esplore-reader-btn[data-reader-fullscreen] {
  background: #1556c7;
  color: #ffffff !important;
  border-color: #7fb0ff;
}

.esplore-reader-toolbar .esplore-reader-btn:hover,
.esplore-reader-toolbar .esplore-btn-secondary:hover {
  background: #eaf4ff;
  color: #00164f !important;
  box-shadow: 0 5px 14px rgba(0,0,0,.2);
}

.esplore-reader-toolbar .esplore-reader-btn[data-reader-fullscreen]:hover {
  background: #0e439f;
  color: #ffffff !important;
}

/* Keep the favorite action visually separate from the tag list in the hero. */
.esplore-content-hero .esplore-content-actions {
  margin: 22px 0 24px;
}

.esplore-content-hero .esplore-content-actions .esplore-btn-secondary {
  min-height: 44px;
  padding: 10px 18px;
  background: #ffffff;
  color: #00164f !important;
  border-color: #c3d0e3;
  box-shadow: 0 5px 14px rgba(0,16,65,.2);
}

.esplore-content-hero .esplore-content-actions .esplore-btn-secondary:hover {
  background: #eaf4ff;
  color: #00164f !important;
}

.esplore-content-hero .esplore-content-actions .esplore-btn-secondary.is-active {
  background: #e5efff;
  color: #00164f !important;
  border-color: #77a0e8;
}

/* Card tags replace the visual featured label; the featured field still controls its carousel. */
.esplore-content-card .esplore-thumb {
  aspect-ratio: 3 / 2;
}

.esplore-content-card .esplore-fav {
  left: 10px;
  right: auto;
  line-height: normal;
}

.esplore-content-card {
  flex: 0 0 350px;
  width: 350px;
  filter: none;
  transform: none;
}

.esplore-auth-quick-note {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--esc-accent);
  background: #f4f8ff;
  color: var(--esc-muted);
  font-size: .84rem;
  line-height: 1.45;
}

.esplore-modal-autor-card {
  width: min(760px, 96vw);
  min-height: 400px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.esplore-modal-autor-card .esplore-autor-modal-header {
  padding: 32px 36px 24px;
}

.esplore-modal-autor-card .esplore-autor-modal-header h2 {
  color: #00164f;
}

.esplore-modal-autor-card .esplore-autor-modal-desc {
  flex: 1 1 auto;
  min-height: 220px;
  max-height: none;
  padding: 28px 36px 36px;
  color: #17233c;
  font-size: 1rem;
  line-height: 1.7;
  overflow-y: auto;
}

@media (max-width: 900px) {
  .esplore-catalog-wrap {
    padding: 24px 18px 40px;
  }

  .esplore-filters {
    grid-template-columns: 1fr;
    margin: 0 0 32px;
  }

  .esplore-content-card {
    flex-basis: 300px;
    width: 300px;
  }

  .esplore-hero,
  .esplore-content-hero {
    min-height: 300px;
  }

  .esplore-hero h1,
  .esplore-content-hero h1 {
    font-size: 2rem;
  }

  .esplore-hero-slide {
    padding: 30px 22px;
  }

  .esplore-nam-box {
    padding: 26px 22px;
  }

  .esplore-modal-autor-card .esplore-autor-modal-header {
    padding: 26px 24px 20px;
  }

  .esplore-modal-autor-card .esplore-autor-modal-desc {
    min-height: 180px;
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .esplore-content-card {
    flex-basis: 300px;
    width: 300px;
  }

  .esplore-card-body {
    padding: 13px 12px;
  }

  .esplore-grid {
    grid-template-columns: repeat(auto-fill, 300px);
    gap: 14px;
  }

  .esplore-grid .esplore-content-card {
    width: 300px;
  }

  .esplore-row-header {
    align-items: flex-start;
  }

  .esplore-nam-box h2 {
    font-size: 1.3rem;
  }

  .esplore-nam-contacts {
    flex-direction: column;
    gap: 12px;
  }

  .esplore-nam-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}
