﻿
input[type="radio"] {
    margin-right: 10px;
}

.filter-orange {
    filter: invert(45%) sepia(94%) saturate(811%) hue-rotate(0deg) brightness(93%) contrast(102%);
}

.isDisabled {
    color: currentColor;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
}

.owl-carousel .owl-nav button.owl-prev::after {
    margin-left: -.125rem;
    content: '‹'
}

.owl-carousel .owl-nav button.owl-next::after {
    margin-top: .275rem;
    margin-right: -.125rem;
    content: '›'
}

.owl-item {
    height: 0;
}

    .owl-stage, .owl-item.active {
        height: auto !important;
    }

.owl-carousel, .owl-stage-outer {
    transition: height 500ms ease-in-out 0s;
}

.bContainerImagemBanner {
    display: flex;
    height: 380px;
    max-height: 380px
}

    .bContainerImagemBanner img {
        display: block;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        cursor: pointer;
    }

.bContainerLogoBannerHistoria {
    height: 80px !important;
    max-width: 180px !important;
}

    .bContainerLogoBannerHistoria img {
        object-fit: contain;
        cursor: pointer;
        height: 80px;
    }

.modal-open .modal {
    overflow-x: hidden !important;
}

.clamp-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* ─── Paginação dark Historia ─── */
.paginationHistory {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}

    .paginationHistory .page-item {
        display: inline-flex;
    }

    .paginationHistory button {
        background-color: #1a2035 !important;
        border: 1px solid rgba(201,160,90,.25) !important;
        color: rgba(255,255,255,.65) !important;
        border-radius: 6px !important;
        padding: 6px 14px !important;
        transition: background .2s, border-color .2s !important;
    }

        .paginationHistory button:hover {
            background: rgba(148, 163, 184, .20) !important;
            border-color: #e1dbd1 !important;
            color: #dddbd7 !important;
        }

        .paginationHistory button.active,
        .paginationHistory button[data-active="true"] {
            background-color: rgba(201,160,90,.25) !important;
            border-color: #c9a05a !important;
            color: #c9a05a !important;
            font-weight: 700 !important;
        }

@media (max-width: 768px) {
    .paginationHistory {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
    }
}

.cd-horizontal-timeline .events-content li > * {
    max-width: unset !important;
    margin: 0 auto;
}

.navbar {
    background-color: #222;
    border-top: 1px solid #444242;
}

.navbar-brand img {
    width: 70px;
    height: 74px;
}

.nav-link {
    color: snow !important;
}

.owl-carousel {
    height: 380px;
}

.form-control {
    width: 100%;
}

.card {
    border-radius: 10px;
    overflow: hidden;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

#divContainerTimeline {
    display: none;
}

/* ─── Skeleton dark ─── */
.skeleton {
    background: linear-gradient(90deg, #1e2535 25%, #2a3347 50%, #1e2535 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-article {
    display: flex;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 16px;
}

    .skeleton-article .sk-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .skeleton-article .sk-right {
        width: 40%;
        min-height: 180px;
        border-radius: 8px;
    }

.sk-line {
    border-radius: 4px;
    height: 14px;
}

    .sk-line.short {
        width: 40%;
    }

    .sk-line.medium {
        width: 65%;
    }

    .sk-line.long {
        width: 90%;
        height: 22px;
    }

    .sk-line.title {
        width: 80%;
        height: 20px;
    }

.skeleton-banner {
    width: 100%;
    height: 380px;
    border-radius: 0;
}

.articles-fade-in {
    animation: fadein 0.5s ease-in;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .skeleton-article {
        flex-direction: column;
    }

        .skeleton-article .sk-right {
            width: 100%;
            min-height: 140px;
        }
}

/* ─── Select2 cores ─── */
#ddlMarca + .select2-container .select2-selection {
    border: 2px solid #138315 !important;
}

#ddlModelo + .select2-container .select2-selection {
    border: 2px solid #3351d8 !important;
}

.select2-marca .select2-results__option--highlighted {
    background-color: #138315 !important;
    color: #fff !important;
}

.select2-modelo .select2-results__option--highlighted {
    background-color: #3351d8 !important;
    color: #fff !important;
}

#DivBanner.skeleton-ativo {
    background: linear-gradient(180deg, #0d0d0d 0%, #111827 100%) !important;
}

/* ═══════════════════════════════════════
           DARK THEME — Artigos
        ═══════════════════════════════════════ */

body {
    background-color: #0d0f1a !important;
}

/* ── Migalhas de Pão ── */
.page-title-wrapper {
    background: linear-gradient(180deg, #111827 0%, #0d0f1a 100%) !important;
    border-bottom: 1px solid rgba(201,160,90,.10);
}

    .page-title-wrapper .breadcrumb {
        background: transparent !important;
    }

    .page-title-wrapper .breadcrumb-item a,
    .page-title-wrapper .breadcrumb-item.active,
    .page-title-wrapper .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255,255,255,.45) !important;
    }

        .page-title-wrapper .breadcrumb-item a:hover {
            color: #c9a05a !important;
        }

    .page-title-wrapper .page-title {
        color: #fff !important;
    }

    .page-title-wrapper hr {
        border-color: rgba(201,160,90,.15) !important;
    }

    .page-title-wrapper .feather {
        color: rgba(255,255,255,.45);
    }

.post-title {
    color: #e2e8f0 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    font-family: inherit !important;
}

.post-meta {
    color: #c1c1c1 !important
}



/* ── Override dark para todos os owl-carousel desta página ── */
.t66-hero .owl-stage-outer,
.t66-hero .owl-carousel,
.t66-hero .owl-carouselOrange,
.t66-visualizados .owl-carousel {
    background: transparent !important;
}

    /* ── Botões nav — História (prata) ── */
    .t66-hero .owl-carousel .owl-nav button {
        background: transparent !important;
        border: 1px solid rgba(148,163,184,.35) !important;
        color: #94a3b8 !important;
        border-radius: 8px !important;
        transition: background .2s !important;
    }

        .t66-hero .owl-carousel .owl-nav button:hover {
            background: rgba(148,163,184,.20) !important;
        }

    /* ── Botões nav — Comércio (dourado) ── */
    .t66-hero .owl-carouselOrange .owl-nav button {
        background: transparent !important;
        border: 1px solid rgba(201,160,90,.3) !important;
        color: #c9a05a !important;
        border-radius: 8px !important;
        transition: background .2s !important;
    }

        .t66-hero .owl-carouselOrange .owl-nav button:hover {
            background: rgba(201,160,90,.30) !important;
        }

/* ── Ocultar nav prev/next em mobile ── */
@media (max-width: 991.98px) {
    .t66-hero .owl-carousel .owl-nav,
    .t66-hero .owl-carouselOrange .owl-nav {
        display: none !important;
    }
}

/* ── Evita layout shift entre slides sem cortar conteúdo ──
       O Site.Master define .owl-item { height: 0 } nos itens inativos,
       o que faz o stage colapsar ao trocar slides.
       Sobrescrevemos apenas dentro do .t66-hero para que todos os
       owl-items mantenham sua altura natural — o carrossel continua
       exibindo apenas o item ativo (via transform/clip), mas o stage
       não muda de altura entre transições.
    ── */
.t66-hero .owl-item {
    height: auto !important;
}

/* ── Dots — História (prata) ── */
.t66-hero .owl-carousel .owl-dot span {
    background: rgba(148,163,184,.25) !important;
    transition: background .2s !important;
}

.t66-hero .owl-carousel .owl-dot.active span {
    background: #94a3b8 !important;
}

.owl-carousel .owl-dots .owl-dot {
    background-color: #c8d6e5 !important
}

/* ── Dots — Comércio (dourado) ── */
.t66-hero .owl-carouselOrange .owl-dot span {
    background: rgba(201,160,90,.25) !important;
    transition: background .2s !important;
}

.t66-hero .owl-carouselOrange .owl-dot.active span {
    background: #c9a05a !important;
}

/* ── Label eyebrow ── */
.t66-eyebrow {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a05a;
    display: block;
    margin-bottom: 6px;
}

/* ── Underline decorativo ── */
.t66-underline-blue {
    height: 2px;
    width: 60px;
    margin: 8px auto 0;
    background: linear-gradient(90deg,#2a4dfb,#6d83ff);
    border-radius: 2px;
}

.t66-underline-orange {
    height: 2px;
    width: 60px;
    margin: 8px auto 0;
    background: linear-gradient(90deg,#FF8000,#ffb347);
    border-radius: 2px;
}

.t66-underline-gold {
    height: 2px;
    width: 60px;
    margin: 8px auto 0;
    background: linear-gradient(90deg,#c9a05a,#e8c87a);
    border-radius: 2px;
}
/* ── Underline História: prata ── */
.t66-underline-silver {
    height: 2px;
    width: 60px;
    margin: 8px auto 0;
    background: linear-gradient(90deg, #64748b, #c8d6e5);
    border-radius: 2px;
}

/* ── Hover lift nos itens ── */
.t66-hero .owl-item > div,
.t66-visualizados .owl-item > div {
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.t66-hero .owl-item:hover > div,
.t66-visualizados .owl-item:hover > div {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,.55);
}


/* ── Cards dos Últimos Visualizados: fundo transparente ── */
.t66-visualizados .owl-item .card {
    background: transparent !important;
    border: 1px solid rgba(201,160,90,.20) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

    .t66-visualizados .owl-item .card:hover {
        border-color: rgba(201,160,90,.55) !important;
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,.45);
    }

.t66-visualizados .owl-item .card-body {
    background: transparent !important;
}

/* ── Título e preço ── */
.t66-visualizados .t66-card-title {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.75);
    margin-bottom: 4px;
    line-height: 1.35;
}

.t66-visualizados .t66-card-price {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #c9a05a;
    margin-bottom: 10px;
}

/* ── Botão Ver Anúncio ── */
.t66-visualizados .btn-outline-primary {
    border-color: rgba(201,160,90,.45) !important;
    color: #c9a05a !important;
}

    .t66-visualizados .btn-outline-primary:hover {
        background: rgba(201,160,90,.15) !important;
        border-color: #c9a05a !important;
    }

/* ── Eyebrow História: prata suave ── */
.t66-eyebrow-silver {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #94a3b8;
    display: block;
    margin-bottom: 6px;
}

/* ── Botões nav (prev/next) ── */
.t66-hero .owl-nav button,
.t66-visualizados .owl-nav button {
    background: transparent !important;
    border: 1px solid rgba(148,163,184,.35) !important;
    color: #94a3b8 !important;
    border-radius: 8px !important;
    transition: background .2s !important;
}

    .t66-hero .owl-nav button:hover,
    .t66-visualizados .owl-nav button:hover {
        background: rgba(148,163,184,.20) !important;
    }



/* ── Container principal ── */
.container[style*="background-color: #fdfdfd"],
.container-fluid[style*="background-color: #fdfdfd"] {
    background-color: #0d0f1a !important;
}

/* ── Cards de artigos gerados via JS ── */
#articles-container .card,
#articles-container article {
    background-color: #141c2e !important;
    border-color: rgba(255,255,255,.08) !important;
    color: #cbcbcb
}

    #articles-container .card:hover {
        border-color: rgba(201,160,90,.45) !important;
        box-shadow: 0 4px 20px rgba(201,160,90,.12) !important;
        background-color: rgba(148,163,184,.15)
    }

#articles-container .card-body {
    background-color: #141c2e !important;
}

#articles-container .card-title,
#articles-container h2,
#articles-container h3,
#articles-container h4 {
    color: #e2e8f0 !important;
}

#articles-container p,
#articles-container .text-muted {
    color: rgba(255,255,255,.55) !important;
}

#articles-container a {
    color: #cdd5e0 !important;
    font-size: 0.8rem !important;
    font-family: inherit !important;
}

#articles-container .post-title {
    color: #e2e8f0 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    font-family: inherit !important;
}

    #articles-container .post-title:hover {
        color: #e2b96f !important;
    }

#articles-container hr,
#articles-container .border-bottom {
    border-color: rgba(255,255,255,.07) !important;
}

#articles-container .badge {
    background-color: rgba(201,160,90,.18) !important;
    color: #c9a05a !important;
}

/* ── Alerta sem artigos ── */
#DivAlertaSemArtigos {
    background-color: #1e2535 !important;
    border-color: rgba(201,160,90,.30) !important;
    color: rgba(255,255,255,.75) !important;
}

    #DivAlertaSemArtigos a {
        color: #c9a05a !important;
    }

/* ── Sidebar dark ── */
.offcanvas-sidebar-body-inner {
    background-color: #111827 !important;
}

.offcanvas-sidebar .widget-title,
.offcanvas-sidebar .widget-title-orange,
.offcanvas-sidebar .widget-title-green,
.offcanvas-sidebar h3 {
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.offcanvas-sidebar .form-control,
.offcanvas-sidebar .custom-select {
    background-color: #1a2035 !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #e2e8f0 !important;
}

    .offcanvas-sidebar .form-control option,
    .offcanvas-sidebar .custom-select option {
        background-color: #1a2035 !important;
        color: #e2e8f0 !important;
    }

.offcanvas-sidebar a {
    color: rgba(255,255,255,.65) !important;
}

    .offcanvas-sidebar a:hover {
        color: #c9a05a !important;
    }

/* ── Select2 global dark ── */
.select2-container--default .select2-selection--single {
    background-color: #1a2035 !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #e2e8f0 !important;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #e2e8f0 !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-top-color: rgba(255,255,255,.45) !important;
    }

.select2-dropdown {
    background-color: #1a2035 !important;
    border-color: rgba(255,255,255,.12) !important;
}

.select2-results__option {
    color: #e2e8f0 !important;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #2a3a55 !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: #111827 !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #e2e8f0 !important;
}

/* ── Timeline card ── */
#divContainerTimeline .card {
    background: linear-gradient(180deg, #0d0d0d 0%, #111827 100%);
}

#divContainerTimeline .header {
    background: linear-gradient(180deg, #0d0d0d 0%, #2c3850 100%);
}

/* ── Toggle do offcanvas-sidebar ── */
.offcanvas-sidebar-toggle .toggle-knob {
    background-color: #1a2035 !important;
    color: rgba(255,255,255,.65) !important;
    border-color: rgba(201,160,90,.25) !important;
}

/* ── Owl carousel nav dark ── */
.owl-carousel .owl-nav button {
    background: transparent !important;
    border: 1px solid rgba(201,160,90,.3) !important;
    color: #c9a05a !important;
    border-radius: 8px !important;
    transition: background .2s !important;
}

    .owl-carousel .owl-nav button:hover {
        background: rgba(201,160,90,.20) !important;
    }

.owl-dot span {
    background: rgba(201,160,90,.25) !important;
}

.owl-dot.active span {
    background: #c9a05a !important;
}

.bContainerImagemTimeline {
    color: #e2e8f0 !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    font-family: inherit !important;
}


.tag-link {
    background-color: transparent !important;
}


/* ── Hover lift nos itens ── */
.t66-hero .owl-item > div {
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}


.t66-hero .owl-item:hover > div,
.t66-visualizados .owl-item:hover > div {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,.55);
}


/* ── Menu mobile: fundo gradiente ao expandir ── */
@media (max-width: 991.98px) {
    #menu.navbar-collapse.show,
    #menu.navbar-collapse.collapsing {
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        border-top: 1px solid rgba(201,160,90,.10);
        padding: 8px 0 16px;
        margin-left: 0.5rem;
        margin-right: -0.5rem;*/
    }
}
