@media screen and (min-width:800px) {
    #footer {
        background-position-x: 200px;
        background-position-y: 30px;
        
    }
}

/* Atualização posts na home - INICIO */
.ultimos_artigos{
    border-top: 1px solid #AAAAAA;
    padding-top: 15px;
}
.ultimos_artigos .post-relacionado{
    display: grid;
    grid-template-columns: 28% 70%;
    gap: 2%;
    margin-top: 15px;
}
.ultimos_artigos .post-relacionado .post-imagem img{
    width: 100%;
    float: none;
    padding: 0;
    border: none;
}
.ultimos_artigos .post-relacionado:not(:last-child){
    border-bottom: 1px dotted #AAAAAA;
    padding-bottom: 10px;
}
.ultimos_artigos .post-relacionado .conteudo-post p{
    margin-bottom: 10px;
    padding: 0;
}
.ultimos_artigos .post-relacionado .conteudo-post p.conteudo-data{
    color: #AAAAAA;
    margin-top: 5px;
    margin-bottom: 6px;
}
.ultimos_artigos .post-relacionado .conteudo-titulo{
    font-weight: bold;
}
.ultimos_artigos .post-relacionado .read-more{
    background-color: #577b6f;
    color: #fff;
    padding: 5px 10px;
    margin-left: 0;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}
.ultimos_artigos .post-relacionado .read-more:where(:hover,:active){
    background-color: #577b6f;
}


@media screen and (max-width:500px) {
    .ultimos_artigos .post-relacionado{
        grid-template-columns: 100%;
        gap: 1%;
    }
    .ultimos_artigos .post-relacionado .conteudo-post{
        margin-bottom: 10px;
    }
    .ultimos_artigos .post-relacionado .post-imagem{
        display: flow-root;
        max-height: 230px;
        overflow: hidden;
    }
    .ultimos_artigos .post-relacionado .post-imagem img{
        width: 100%;
    }
    .ultimos_artigos .post-relacionado .conteudo-post p{
    margin-bottom: 15px;}
}
/* Atualização posts na home - FIM */

/* CSS Tempo - ADD Paulo */

.tempo {
    padding: 80px 0 40px !important;
    background-image: var(--fundo-tempo) !important;
    background-position: center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

.tempo-content h2 {
    color: #FFF !important;
    margin-bottom: 40px !important;
    text-align: center !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.tempo-card {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.cptec-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(247px,1fr));
    gap: 20px;
    max-width: 300px;
    padding: 25px 0px;
}

.welcome-box .cptec-card {
    background: #FFF;
    color: #000;
    border-radius: 24px;
    padding: 20px 24px;
    max-width: 300px;
    position: relative;
    border: 1px solid #3c3c3c;
}

.cptec-card-header {
    margin-bottom: 12px;
}

.cptec-card-icon {
    font-size: 40px !important;
    display: block !important;
    line-height: 1em !important;
    margin: 10px 0 !important;
    text-align: center !important;
}

.cptec-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
}

.cptec-card-uf {
    font-weight: 500 !important;
}

.cptec-card-subtitle {
    font-size: 12px !important;
    margin: 4px 0 0 !important;
    opacity: .9 !important;
}

.cptec-tempo-main {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-direction: column;
    width: 49%;
    float: left;
}

.cptec-tempo-main-icon {
    font-size: 60px !important;
    line-height: 60px !important;
}

.cptec-tempo-main-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.cptec-tempo-main-temp-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 4px !important;
}

.cptec-tempo-main-temp {
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.cptec-tempo-main-unit {
    font-size: 18px !important;
    margin-top: 6px !important;
}

.cptec-tempo-main-cond {
    padding: 0 !important;
    margin: 10px 0 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.cptec-tempo-extra {
    margin-top: 35px !important;
}

.cptec-tempo-extra li{
    width: 37% !important;
}

.cptec-tempo-extra,.cptec-ondas-list {
    list-style: none !important;
    padding: 0 !important;
    font-size: 13px !important;
}

.cptec-ondas-data {
    text-align: center !important;
}

.cptec-tempo-extra li,.cptec-ondas-list li {
    margin-bottom: 2px !important;
    display: flex !important;
    justify-content: space-between !important;
}

.cptec-ondas-list li {
    display: flex !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #ddd !important;
}

.cptec-tempo-forecast {
    list-style: none !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    border-top: 1px solid rgba(255,255,255,.25) !important;
    padding-top: 10px !important;
    font-size: 13px !important;
}

.cptec-tempo-forecast-item {
    display: flex !important;
    justify-content: space-around !important;
    margin-bottom: 3px !important;
}

.cptec-tempo-forecast-day {
    opacity: .9 !important;
}

.cptec-tempo-forecast-maxmin {
    margin: 0 !important;
    font-weight: 600 !important;
}

.cptec-ondas-periodo {
    margin-bottom: 10px !important;
}

h4.cptec-ondas-periodo-titulo {
    text-align: center !important;
}

article.cptec-card.cptec-tempo-card header.cptec-card-header {
    float: none;
}

.widget ul.cptec-tempo-forecast li.cptec-tempo-forecast-item, 
.widget ul.cptec-tempo-extra li {
    margin-left: 0 !important;
}

@media (max-width: 480px) {
    .cptec-tempo-card {
        max-width:100% !important;
        border-radius: 20px !important;
    }

    .cptec-card-title {
        font-size: 16px !important;
    }

    .cptec-card-title,.cptec-card-subtitle {
        text-align: center !important;
    }

    .tempo-content h2 {
        font-size: 22px !important;
    }

    .cptec-tempo-main-icon {
        font-size: 40px !important;
        line-height: 40px !important;
    }

    .cptec-tempo-main-cond,.cptec-tempo-extra,.cptec-ondas-list,.cptec-tempo-forecast {
        padding: 0 !important;
        font-size: 11px !important;
    }

    h4.cptec-ondas-periodo-titulo {
        font-size: 14px !important;
    }

    .cptec-tempo-main-temp {
        font-size: 35px !important;
    }

    .cptec-tempo-main-unit {
        font-size: 17px !important;
    }

    .cptec-card-icon {
        font-size: 30px !important;
    }

    .cptec-wrapper {
        grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
        margin: 0 auto;
        justify-content: center;
    }
}

/* Alteração feito por Paulo */

hr {
    margin: 15px 0px;
}

@media (max-width: 768px) {
    h1,h2,h3,h4,h5,h6{
        line-height: 30px;
    }
}