/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #dc2833 #292969;
}

/* Largura da barra */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Fundo da barra */
::-webkit-scrollbar-track {
    background-color: #292969;
}

/* Barra (thumb) */
::-webkit-scrollbar-thumb {
    background-color: #dc2833;
    border-radius: 10px;
    border: 2px solid #292969;
}

/* Hover na barra */
::-webkit-scrollbar-thumb:hover {
    background-color: #b71f29;
}

.l-subheader {
    border-bottom: 1px solid #e3e3ed;
}

.btn-blocos {
    & .w-iconbox-icon{
        background: rgba(0,0,0,0.2) !important;
        border-radius: 0.5rem !important;
    }
}

.bg-blue {
    & .w-iconbox-icon {
        background: var(--color-principal) !important;
    }
}

.w-vwrapper.grid_style_12:before, .w-vwrapper.grid_style_12:after {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
}

.w-vwrapper.grid_style_12:before,
.w-vwrapper.grid_style_12:after {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.carrossel-wrapper {
    top: 141px;
}

.current-menu-item {
    font-weight: 800;
}

.conteudo {
    & h1 {
        color: var(--color-principal);
    }
    & h2 {
        color: var(--color-principal);
        font-weight: 700;
    }
    & h3 {
        color: var(--color-principal);
        font-weight: 700;
    }
    & h4 {
        color: var(--color-principal);
    }
    & h5 {
        color: var(--color-principal);
    }
    & h6 {
        color: var(--color-principal);
    }
}

.conteudo,
.conteudo p,
.conteudo span,
.conteudo font {
    font-family: 'Inter', sans-serif !important;
    font-size: 20px !important;
    line-height: 2;
}

.compartilhamento-social {

    & .w-sharing-item {
        background-color: #f0f0f5 !important;
        min-width: 35px !important;
        width: 35px !important;
        height: 35px !important;
        min-height: 35px !important;
        border: 1px solid #e3e3ed !important;
        margin: 0 5px !important;

        & i {
            font-size: 18px !important;
            color: #292969 !important;
        }

        &:hover i {
            color: #dc2833 !important;
        }
    }
}

.ubm-pos-sidebar_home {
    margin: 0 !important;
}

.link-avicultura a:hover {
    color: #95c0da;
}

.linehost-featured-post {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

.linehost-featured-post__link {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    text-decoration: none;
    color: inherit;
}

.linehost-featured-post__media {
    flex: 0 0 45%;
    display: flex;
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
}

.linehost-featured-post__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.linehost-featured-post__body {
    flex: 0 0 53%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.linehost-featured-post__wrapper {
    position: absolute;
    top: 5px;
    right: 5px;
}

.linehost-featured-post__question {
    position: absolute;
    right: 5px;
    top: 2.5rem;
    background: var(--color-principal);
    color: #FFFFFF;
    font-size: 12px;
    text-align: center;
    width: 250px;
    height: auto;
    padding: 1rem;
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    z-index: 3;
}

.linehost-featured-post__question::after {
    content: "";
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-principal);
}

.linehost-featured-post__label {
    font-size: 12px;
    font-weight: 400;
    background: var(--color-principal);
    color: #FFFFFF;
    padding: .3rem 0.5rem;
    border-radius: 1rem;
    z-index: 1;
    cursor: pointer;
    text-transform: uppercase;
}

.linehost-featured-post__wrapper:hover .linehost-featured-post__question {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}


.linehost-featured-post__hat {
    font-size: 15px;
    text-transform: uppercase;
    color: var(--color-principal);
    font-weight: 800;
}

.linehost-featured-post__title {
    margin-bottom: var(--vwrapper-gap, 0.7rem);
    padding: 0;
    font-size: calc(18px + 0.9vw);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-content-heading);
}

.linehost-featured-post__excerpt {
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.5;
    color: #4a4a4a;
}

/*---- CUSTOMIZANDO OS DESTAQUES DAS CATEGORIAS ----*/
.category-avicultura-industrial {
    & .linehost-featured-post {
        border: 0;
        background: rgba(0,0,0,0.3);
    }

    & .linehost-featured-post__hat {
        color: #FFFFFF;
    }

    & .linehost-featured-post__title {
        color: #FFFFFF;
    }

    & .linehost-featured-post__excerpt {
        color: #FFFFFF;
    }
}

.category-suinocultura-industrial {
    & .linehost-featured-post {
        border: 0;
        background: rgba(0,0,0,0.3);
    }

    & .linehost-featured-post__hat {
        color: #7fe9c5 !important;
    }

    & .us_custom_f4c0b5b3 .w-post-elm-value {
        color: #7fe9c5 !important;
    }

    & .linehost-featured-post__title {
        color: #FFFFFF;
    }

    & .linehost-featured-post__excerpt {
        color: #FFFFFF;
    }
}

.category-aquicultura-industrial {
    & .linehost-featured-post {
        border: 0;
        background: rgba(0,0,0,0.3);
    }

    & .linehost-featured-post__hat {
        color: var(--color-secundaria);
    }

    & .linehost-featured-post__title {
        color: #FFFFFF;
    }

    & .linehost-featured-post__excerpt {
        color: #FFFFFF;
    }

    & .usg_post_custom_field_1 {
        color: #FFFFFF;
    }
}

.category-biomassa {
    & .linehost-featured-post {
        border: 0;
        background: rgba(0,0,0,0.3);
    }

    & .linehost-featured-post__hat {
        color: #FFFFFF;
    }

    & .us_custom_14648a16 .w-post-elm-value {
        color: #FFFFFF;
    }

    & .linehost-featured-post__title {
        color: #FFFFFF;
    }

    & .linehost-featured-post__excerpt {
        color: #FFFFFF;
    }
}

@media (max-width: 1024px) {
    .carrossel-wrapper {
        top: 90px;
    }
}

@media (max-width: 900px) {
    .linehost-featured-post__link {
        flex-direction: column;
        gap: 0;
    }

    .linehost-featured-post__media {
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .linehost-featured-post__body {
        padding: 24px;
        flex: 1 1 auto;
    }

    .linehost-featured-post__title {
        font-size: 28px;
    }

    .linehost-featured-post__excerpt {
        font-size: 16px;
    }
}


/* ---- COLUNAS: DETALHES DO COLUNISTA ---- */
.linehost-columns-details {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    border-radius: 12px;
    margin: 0 0 24px;
}

.linehost-columns-details__media {
    flex: 0 0 140px;
}

.linehost-columns-details__avatar {
    display: block;
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
}

.linehost-columns-details__content {
    flex: 1 1 auto;
}

.linehost-columns-details__name {
    margin: 0 0 12px;
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
}

.linehost-columns-details__description {
    font-size: 16px;
    line-height: 1.6;
    color: #e1e1e1;
}

.linehost-columns-details__socials {
    margin-top: 16px;
}

.linehost-columns-details__socials-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.linehost-columns-details__socials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.linehost-columns-details__social-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f0f0f5;
    color: #292969;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.linehost-columns-details__social-link:hover {
    color: #dc2833;
    background: #e9e9f0;
}

.nome-colunista a b {
    display: none;
}

.w-grid>.pagination {
    justify-content: center;
}

@media (max-width: 900px) {
    .linehost-columns-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .linehost-columns-details__media {
        flex: 0 0 auto;
    }
}

.w-grid-item.format-audio .post_image:after,
.w-grid-item.format-video .post_image:after {
    width: 4rem;
    background: #292969;
    height: 4rem;
    justify-content: center;
    align-items: center;
    display: flex;
}

.pagination>:not(.custom) .page-numbers.current {
    background: var(--color-principal); ;
    color: #fff !important;
}

.pagination>:not(.custom) .page-numbers {
    font-size: 1.2rem;
    border-radius: 20%;
    font-weight: 500;
}

.termos::after {
    content: "-";
    display: inline-flex;
    padding: 0 0.3rem 0 1rem;
}

.lista-transmissao {
    & .w-socials-item-link {
        line-height: 2.8rem;
        width: 3rem;
        box-shadow: none !important;
        border: .1rem solid var(--color-principal);

        &:hover {
            border: .1rem solid transparent;
        }
    }


}

.gform-theme--framework .gfield_list_group_item::before,
.gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])){
    font-weight: bold;
    color: var(--color-principal);
}