:root {
    --tela-largura: 1170px;

    --container-largura: 90vw;
    --container-max-largura: 970px;
    --container-min-largura: 300px;

    --legenda-fundo-escuro: rgba(62,62,62,0.7);
    --texto-claro: #FFFFFF;
    --texto-vermelho: #CF2E2E;
    --texto-amarelo: #FF9900;
    --texto-cinza-escuro: #383838;

    --botao-cinza: #484848;
    --botao-baixar-escuro: #32373C;
    --botao-baixar-hover: #51565A;

    --destaque-azul: #282BE6;
    --destaque-cinza: #ABB8C3;
    --destaque-cinza-claro: #ECECEC;
    --destaque-verde: #00D084;

    --indice-fundo: #F0F0Fa;
}

/* GERAL */
/*#divAreaGlobalConteudo {
    margin-left: 1vw !important;
}

#divAreaGlobalConteudo > div:first-child {
    box-sizing: border-box;
    margin-left: 1vw;
    width: var(--container-largura) !important;
    min-width: var(--container-min-largura);
    max-width: var(--container-max-largura);
}*/

/* IMAGENS */
.wp-block-image {
    text-align: center;
    width: 100%;
    margin: 0;
}

.wp-block-image > img {
    object-fit: cover;
    aspect-ratio: auto 1024 / 684;
    max-width: 100%;
    height: auto;
}

.wp-block-image.is-style-default:not(.is-resized) > img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    vertical-align: text-top;
}

.wp-block-image > figcaption {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* imagem dentro de div */
div.wp-block-image > figure {
    margin: 0;
}

div.wp-block-image > figure img {
    object-fit: cover;
    aspect-ratio: auto 1024 / 684;
    max-width: 100%;
    height: auto;
}

/* GALERIA DE IMAGENS */
.wp-block-gallery.has-nested-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;

    max-width: 100%;
    margin: 0;
}

.wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default {
    width: 90%;
    position: relative;
    vertical-align: middle;
}

.wp-block-gallery.has-nested-images > .wp-block-image.size-large.is-style-default > figcaption {
    position: absolute;
    bottom: .3rem;

    width: 100%;
    margin-bottom: 0;
    line-height: 1;
    background-color: var(--legenda-fundo-escuro);
    color: var(--texto-claro);
    font-size: .8rem;
    padding-top: .12rem;
}

.wp-block-gallery.has-nested-images > .wp-block-image.size-large.is-style-default > figcaption > mark {
    background-color: transparent !important;
    color: inherit;
    font-size: .8rem;
}

/* galeria de imagens feita com lista */
figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) {
    width: 100%;
    margin: 0;
}

figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;

    width: 100%;
    max-width: 100%;
    padding: 0;
}

li.blocks-gallery-item::before {
    display: none !important;
}

figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item {
    width: 90%;
}

figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item > figure {
    height: 100%;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item > figure figcaption {
    position: absolute;
    bottom: .3rem;

    width: 100%;
    line-height: 1;
    background-color: var(--legenda-fundo-escuro);
    color: var(--texto-claro);
    font-size: .8rem;
    padding-top: .12rem;
    text-align: center;
}

figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item > figure img {
    object-fit: cover;
    aspect-ratio: auto 1024 / 684;
    max-width: 100%;
    height: 100%;
    text-align: center;
}

/* IMAGEM PRINCIPAL DA NOTÍCIA */
#imgPrincipal, #legendaImgPrincipal {
    width: 90vw !important;
    max-width: 550px;
}

/* VÍDEOS */
.wp-block-video {
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.wp-block-video > video {
    width: 100%;
}

.wp-block-video > figcaption {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* BLOCO DE DESTAQUE VERDE */
p.has-background {
    padding: 1.25em 1em;
}

.has-vivid-green-cyan-background-color {
    background-color: var(--destaque-verde);
}

/* BLOCO DE DESTAQUE CINZA */
p.has-cyan-bluish-gray-background-color {
    box-sizing: border-box;
    width: 100%;
    background-color: var(--destaque-cinza);
}

/* BLOCO DE CITAÇÃO */
blockquote.wp-block-quote {
    box-sizing: border-box;
    overflow-wrap: break-word;
    font-family: Georgia, serif;
    font-style: italic;
    width: 100%;
    margin: 1.5em auto;
    padding: 5px 35px;
    line-height: 1.45;
    position: relative;
    color: var(--texto-cinza-escuro);
    background: var(--destaque-cinza-claro);
    text-align: center;
}

blockquote.wp-block-quote:before {
    display: block;
    content: open-quote;
    color: var(--texto-amarelo);
    font-weight: bold;
    font-size: 55px;
    position: absolute;
    left: 4px;
    top: -5px;
}

blockquote.wp-block-quote:after {
    display: block;
    content: close-quote;
    color: var(--texto-amarelo);
    font-weight: bold;
    font-size: 55px;
    position: absolute;
    right: 10px;
    top: -5px;
}

/* LINK DE ARQUIVOS */
div.wp-block-file {
    display: flex;
    align-items: center;
}
div.wp-block-file > a.wp-block-file__button {
    text-decoration: none;
    margin-left: .75rem;
    background-color: var(--botao-baixar-escuro);
    border-radius: 2rem;
    color: var(--texto-claro);
    font-size: .8rem;
    padding: .4rem .8rem;
    line-height: 1rem;
}

div.wp-block-file > a.wp-block-file__button:hover {
    background-color: var(--botao-baixar-hover);
}

/* CONTEÚDO DE ACESSIBILIDADE, PARA O LEITOR DE TELA */
.sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* RESPONSIVIDADE */
@media (min-width: 375px) {
    /* Maior que a largura padrão de celular */

    #divAreaGlobalConteudo {
        margin-left: auto !important;
    }

    /* IMAGENS */
    .wp-block-image > img,
    .wp-block-image.is-style-default > img,
    .wp-block-image.is-resized > img {
        max-width: min(90%, 740px);
    }

    /* imagem dentro de div */
    div.wp-block-image > figure > img {
        max-width: min(90%, 740px);
    }

    /* GALERIA DE IMAGENS */
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default {
        width: 45%;
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default > img {
        max-width: 100% !important;
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default > figcaption,
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default > figcaption > mark {
        font-size: .6rem;
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(odd) {
        width: calc((2 * 45%) + 0.5em);
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(odd) > figcaption,
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(odd) > figcaption > mark {
        font-size: 1rem;
    }

    /* galeria de imagens feita com lista */
    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item {
        width: 45%;
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item > figure figcaption {
        font-size: .6rem;
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(1):nth-child(odd) {
        width: calc((2 * 45%) + 0.5em);
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(1):nth-child(odd) > figure figcaption {
        font-size: 1rem;
    }

    /* BLOCO DE DESTAQUE */
    .has-background {
        padding: 1.25em 2.375em !important;
    }

    /* BLOCO DE CITAÇÃO */
    blockquote.wp-block-quote {
        width: clamp(245px, 85%, 570px);
        padding: 15px 50px;
        line-height: 1.45;
    }

    blockquote.wp-block-quote:before {
        font-size: clamp(55px, 8vw, 100px);
        left: -2px;
        top: -10px;
    }

    blockquote.wp-block-quote:after {
        font-size: clamp(55px, 8vw, 100px);
        right: 10px;
        top: -10px;
    }
}

@media screen and (min-width: 970px) {
    /* Maior que a largura máxima de #divAreaGlobalConteudo */

    /* IMAGENS */
    .wp-block-image > img {
        max-width: 740px !important;
    }

    /* GALERIA DE IMAGENS */
    .wp-block-gallery.has-nested-images {
        margin: auto;
        max-width: 90%;
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default {
        width: 30%;
    }

    /* retorna ao estilo da galeria padrão */
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(odd) {
        width: 30%;
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(odd) > figcaption,
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(odd) > figcaption > mark {
        font-size: .6rem;
    }

    /* duas imagens grandes */
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(2):nth-child(3n+1) {
        width: calc(((3 * 30%) + 0.5em) / 2);
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(2):nth-child(3n+1) > figcaption,
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(2):nth-child(3n+1) > figcaption > mark {
        font-size: .8rem;
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(3n+2) {
        width: calc(((3 * 30%) + 0.5em) / 2);
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(3n+2) > figcaption,
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(3n+2) > figcaption > mark {
        font-size: .8rem;
    }

    /* uma única imagem grande */
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(3n+1) {
        width: calc((3 * 30%) + (2 * 0.5em));
        vertical-align: middle;
    }

    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(3n+1) > figcaption,
    .wp-block-gallery.has-nested-images > figure.wp-block-image.size-large.is-style-default:nth-last-child(1):nth-child(3n+1) > figcaption > mark {
        font-size: 1rem;
    }

    /* galeria de imagens feita com lista */
    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) {
        margin: auto;
        max-width: 90%;
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item {
        width: 30%;
    }

    /* retorna ao estilo da galeria padrão */
    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(1):nth-child(odd) {
        width: 30%;
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(1):nth-child(odd) > figure figcaption {
        font-size: .6rem;
    }

    /* duas imagens grandes */
    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(2):nth-child(3n+1) {
        width: calc(((3 * 30%) + 0.5em) / 2);
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(2):nth-child(3n+1) > figure figcaption {
        font-size: .8rem;
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(1):nth-child(3n+2) {
        width: calc(((3 * 30%) + 0.5em) / 2);
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(1):nth-child(3n+2) > figure figcaption {
        font-size: .8rem;
    }

    /* uma única imagem grande */
    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(1):nth-child(3n+1) {
        width: calc((3 * 30%) + (2 * 0.5em));
        vertical-align: middle;
    }

    figure[class*="columns-"].wp-block-gallery:not(.has-nested-images) > ul > li.blocks-gallery-item:nth-last-child(1):nth-child(3n+1) > figure figcaption {
        font-size: 1rem;
    }

    /* BLOCO DE CITAÇÃO */
    blockquote.wp-block-quote {
        width: 70%;
    }

    blockquote.wp-block-quote:before {
        font-size: 100px;
    }

    blockquote.wp-block-quote:after {
        font-size: 100px;
    }
}

/*@media screen and (min-width: 1124px) {

    #divAreaGlobalConteudo > div:first-child {
        width: var(--container-max-largura) !important;
        margin: 0 auto !important;
    }
}*/

#divTextoNoticia h2 {
  line-height: 35px;
}

span[style*="font-size:13px"] {
  font-size: 20px !important;
}