@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Regular.woff') format('woff');
    font-weight: 400;
    /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Bold.woff') format('woff');
    font-weight: 700;
    /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Thin.woff') format('woff');
    font-weight: 100;
    /* Thin */
    font-style: normal;
}

body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    color: black;
}

h1 h2 h3 h4 h5 h6 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
}

a {
    text-decoration: none;
    color: #00ad9a;
    transition: 1s
}

a:hover {
    color: #5d276c;
}

/* Margem personalizada */
.custom-container {
    margin-left: 2rem;
    margin-right: 2rem;
}

.nav-link {
    position: relative;
    /* Necessário para posicionar a linha */
    padding-bottom: 5px;
    /* Espaço entre o texto e a linha */
    color: #5d276c;
    font-weight: bold;
}

.nav-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    /* Espessura da linha */
    background-color: #00ad9a;
    /* Cor da linha */
    position: absolute;
    bottom: 0;
    /* Alinha a linha na parte inferior */
    left: 0;
    transition: transform 0.3s ease-in-out;
    /* Animação da linha */
    transform: scaleX(0);
    /* Linha inicialmente invisível */
}

.nav-link:hover::after {
    transform: scaleX(1);
    /* Mostra a linha ao passar o mouse */
    color: #00ad9a;
}

.nav-link #searchInput {
    display: block;
}

.col-borda {
    border: 1px solid #E8E8E8;
    /* box-sizing: border-box; Garante que a borda não afete o tamanho da coluna */
}

.card {
    margin: 5px 5px 10px;
    border-bottom: 1px solid #E8E8E8;
    border-radius: 0px;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.card-body a {
    font-weight: bold;
    font-size: 13px;
    color: #000;
    text-decoration: none;
    transition: 0.2s;
}

.card-body a:hover {
    color: #5e276d;
}

.rounded-circle {
    border-radius: 50% !important;
    border: 4px solid #00ad9a;
    width: 100px;
    height: 100px;
}

.card-img-custom {
    width: 100%;
    /* Garante que a imagem ocupe toda a largura do card */
    height: 15rem;
    /* Define uma altura fixa */
    object-fit: cover;
    /* Faz com que a imagem seja cortada para caber no espaço sem distorção */
}

.perfil-img-custom {
    height: 150px;
    width: 150px;
    object-fit: cover;
}

.btn-custom {
    background-color: #00ad9a;
}

figure {
    position: relative;
}

.image-trademark.active {
    max-width: 500px;
    transition: max-width 400ms ease-in-out;
}

.image-trademark {
    max-width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 15px;
    background: #fff;
    z-index: 6;
    transition: max-width 200ms ease-in-out;
}

.image-trademark::before {
    content: "";
    width: 25px;
    height: 25px;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    border-radius: 50%;
    transform: translate(0, -50%);
    background: #fff;
}

.image-trademark::after {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 50%;
    right: 4px;
    border-radius: 50%;
    border: 1px solid #9d9d9d;
    transform: translate(0, -50%);
}

.image-trademark img {
    width: 8px;
    display: block;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translate(0, -50%);
}

.image-trademark__author {
    padding: 0 26px 0 10px;
    font-family: "Sero", sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    color: #555;
    display: block;
    white-space: nowrap;
    transition: max-width 200ms ease-in-out, padding 200ms ease-in-out;
}

.share-button {
    border: none;
    background: none;
    font-size: 2em;
    color: #5d276c;
    animation-duration: 2s;
}

.share-button:hover {
    color: #00ad9a;
}

/* Estilo principal do elemento */
.inner-arrow {
    position: relative;
    /* Necessário para posicionar os pseudo-elementos */
    color: #fff;
    /* Cor do texto */
    padding: 10px 25px;
    /* Espaçamento interno */
    display: inline-block;
    /* Faz com que seja um bloco em linha */
    border-radius: 0px 0px 12px;
    /* Bordas arredondadas apenas embaixo */
    font-size: 14px;
    /* Tamanho do texto */
    font-weight: bold;
    /* Negrito */
    text-transform: none;
    overflow: hidden;
    /* Garante que nada "vaze" */
}

/* Pseudo-elemento para o canto dobrado (parte clara) */
.inner-arrow::before {
    content: "";
    position: absolute;
    top: 0;
    /* Início do elemento */
    left: 0;
    /* No canto esquerdo */
    width: 0;
    height: 0;
    border-top: 20px solid #fff;
    /* Cor clara da dobra */
    border-right: 15px solid transparent;
    /* Faz o triângulo da dobra */
    z-index: 1;
}

/* Pseudo-elemento para o efeito de sombra */
.inner-arrow::after {
    content: "";
    position: absolute;
    top: 0;
    /* Mesmo topo do ::before */
    left: 0;
    /* No mesmo ponto de início */
    width: 0;
    height: 0;
    border-top: 20px solid rgba(0, 0, 0, 0.2);
    /* Sombra escura */
    border-right: 15px solid rgba(0, 0, 0, 0.2);
    /* Completa o triângulo da sombra */
    z-index: 0;
    /* Posicionado atrás do conteúdo principal */
    box-shadow: 2px 1px 6px 0px #272626ab;
}

/* Estilo para o link dentro do elemento */
.inner-arrow a {
    font-size: inherit;
    font-weight: inherit;
    color: inherit !important;
    text-decoration: none !important;
}

.social-icons a {
    color: #555;
    /* Cor inicial */
    transition: color 0.3s;
    /* Suaviza a transição */
}

.social-icons a:hover {
    color: #007bff;
    /* Cor ao passar o mouse */
}

.b-left {
    border-left: 1px solid #E8E8E8;
}

.scroll-container {
    overflow-y: scroll;
    /* Permitir rolagem vertical */
    scrollbar-width: none;
    /* Oculta a barra de rolagem no Firefox */
    -ms-overflow-style: none;
    /* Oculta a barra de rolagem no Internet Explorer/Edge antigo */
}

.scroll-container::-webkit-scrollbar {
    display: none;
    /* Oculta a barra de rolagem no Chrome, Safari e Edge moderno */
}

.newsletter {
    background-color: #53af9b;
    color: #fff;
    margin-right: 6px;
    padding: 2px;
    transition: 1s;
    margin-bottom: 4px;
    cursor: pointer;
}

.newsletter:hover {
    background-color: #5d276c;
}

/* Barra de Breaking News */
.breaking-news {
    background-color: #ffffff;
    color: #000000;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    height: 33px;
    position: absolute;
    top: 79px;
    right: 24rem;
    width: 60%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.breaking-news span {
    border: 1px solid #00ad9a;
    padding: 4px 9px 4px;
    color: #00ad9a;
}

.news-item {
    display: none;
    /* Oculta por padrão */
    animation: fade-in-out 1s ease-in-out;
}

.news-item.active {
    display: block;
    /* Exibe o item ativo */
}

.news-item a {
    text-decoration: none;
    padding-left: 2px;
    color: #5e296c;
    transition: 2s;
}

.news-item a:hover {
    color: #00ad9a;
}

@keyframes fade-in-out {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* styles.css */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #5d286c -14%, #00ad9a 67%, #00ad9a 65%);
    color: white;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent p {
    margin: 0;
    color: #ffffff;
}

.cookie-consent a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-consent button {
    background-color: #FFD700;
    color: #333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

#videos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#videos div {
    max-width: 300px;
}

.auding-panel {
    width: 100%;
    padding: 0 15px;
    position: relative;
    flex: 1 1 auto;
}

.auding-speed {
    width: 35px;
    margin: 0 5px;
    position: relative;
    flex: 0 1 auto;
    text-align: center;
    user-select: none;
    background: #5d276c;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    padding: 6px 3px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.auding-controls button {
    color: white;
    background-color: #5d276c;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.auding-controls button:focus-visible,
.auding-controls button:hover {
    color: white;
    background-color: #00ad9a;
    border: none;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}

.auding-controls svg {
    fill: #fff;
    width: 32px;
    height: 32px;
    display: block;
}

.auding-controls svg.aud-pause {
    display: none;
}

.playing .auding-controls svg.aud-pause {
    display: block;
}

.playing .auding-controls svg.aud-play {
    display: none;
}

.auding-controls svg.aud-loading {
    display: none;
    animation: preloader-spin 1s linear infinite;
    transform-origin: center;
}

.loading .auding-controls svg.aud-loading {
    display: block;
}

.loading .auding-controls svg.aud-pause,
.loading .auding-controls svg.aud-play {
    display: none;
}

.loading .auding-controls button {
    cursor: wait;
    background-color: mediumpurple;
}

.auding-progress {
    background-color: #cdd6e0;
    height: 6px;
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 11px;
}

.auding-progress-bar {
    background-color: #00ad9a;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .1s cubic-bezier(.4, 0, .2, 1);
}

.auding-track {
    width: 55%;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auding-duration {
    width: 45%;
    font-size: 12px;
    font-weight: 400;
    text-align: right;
    font-variant: tabular-nums;
}

.aud-request .auding-duration {
    display: none;
}

.aud-request .auding-track {
    width: 100%;
}

.paused .auding-controls svg.aud-play {
    display: block !important;
}

.paused .auding-controls svg.aud-pause {
    display: none !important;
}

.paused .auding-controls button {
    background-color: #5d276c !important;
}

@keyframes preloader-spin {
    100% {
        transform: rotate(360deg);
    }
}




/* Layout mobile: conteúdo com scroll em primeiro */
@media (max-width: 767px) {
    .col-central {
        order: 1;
    }

    .col-esquerda {
        order: 2;
    }

    .col-direita {
        order: 3;
    }

    .search-m {
        display: none;
    }

    .hidden-sm {
        display: none;
    }

    #searchButton {
        display: none;
    }

    .custom-container {
        margin-left: 0rem;
        margin-right: 0rem;
    }

    .news-ticker {
        display: none;
    }

    .breaking-news {
        display: none;
    }

    .b-left {
        border: 1px solid #fff;
    }

    #videos div {
        max-width: 100%;
    }

    .auding-panel {
        padding: 0 10px;
    }

    .auding-controls button {
        width: 30px;
        height: 30px;
    }

    .auding-controls svg {
        width: 30px;
        height: 30px;
    }

    .auding-speed {
        font-size: 11px;
    }

    .colunistas .row.align-items-center {
        flex-wrap: nowrap;
        overflow-x: auto;
        /* se necessário para evitar quebra */
    }

    .colunistas .col-sm-3,
    .col-sm-9 {
        flex: 0 0 auto;
        width: auto;
        /* ajustar conforme necessário */
    }

    .colunistas .perfil-img-custom {
        max-width: 60px;
        /* imagem menor para caber melhor */
        width: 60px;
        height: 60px;
    }

}

/* Layout desktop: ordem padrão */
@media (min-width: 768px) {
    .col-central {
        order: 2;
    }

    .col-esquerda {
        order: 1;
    }

    .col-direita {
        order: 3;
    }
}