/* Base styles públicos cacheáveis para reduzir custo de renderização */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.portal-logo-img {
    width: auto;
    max-height: 54px;
    object-fit: contain;
}

.portal-logo-dark {
    width: auto;
    max-height: 54px;
    object-fit: contain;
}

.below-header-ad .ad-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.below-header-ad .ad-slot > * {
    margin-left: auto;
    margin-right: auto;
}

.home-top-ad .ad-slot,
.header-menu-ad .ad-slot {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ad-slot {
    min-height: 90px;
    text-align: center;
}

.ad-slot .ad-media-link {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.ad-slot .ad-media-link img {
    margin-left: auto;
    margin-right: auto;
}

.ad-slot .ad-placeholder-link {
    display: inline-flex !important;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

.ad-slot .ad-placeholder-link svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.mobile-anchor-ad .ad-slot {
    min-height: 50px;
    margin-top: 0;
    margin-bottom: 0;
}

.article-body {
    line-height: 1.85;
}

.article-body p {
    margin: 0 0 1.15rem;
}

.article-body h2,
.article-body h3 {
    margin: 1.8rem 0 0.8rem;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
}

.article-body h2 {
    font-size: 1.5rem;
}

.article-body h3 {
    font-size: 1.25rem;
}

.article-body ul,
.article-body ol {
    margin: 0.6rem 0 1.15rem 1.3rem;
    padding: 0;
}

.article-body li {
    margin-bottom: 0.45rem;
}

.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

.global-side-rail {
    display: none;
}

.inline-rail-fallback {
    display: block;
}

@media (min-width: 1600px) {
    .global-side-rail {
        position: fixed;
        top: 180px;
        z-index: 25;
        width: 220px;
        display: block;
    }

    .global-side-rail-left {
        left: 10px;
    }

    .global-side-rail-right {
        right: 10px;
    }

    .global-side-rail .ad-slot {
        min-height: 250px;
    }

    .global-side-rail .ad-slot img {
        width: 220px;
    }

    .inline-rail-fallback {
        display: none;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 66px;
    }
}
