
.tiraNoticias {
    display: flex;
    margin-top: 4em;
    justify-content: space-evenly;
}

@media(max-width:1024px){
    .tiraNoticias {
        display: flex;
        flex-direction: column;
        margin-top: 1em;
        justify-content: center;
        align-items: center;
    }
}

.news-frame {
    padding: 2em;
    height:100%
}

.noticiasTitulo {
    font-weight: 600;
    font-size: 24px;
    margin: 0 0 12px 0;
}

.noticiasSubtitulo {
    font-size: 60px;
    margin-bottom: 0;
    line-height: 1.15;
    max-width:40%;
}

.news-card .readMore {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-right:1em;
    padding-bottom:0.5em;
}

.news-card .readMore .button {
     padding: 0;
  margin-left: 0;
  border: none;
  background: none;
  align-items: center;
  --primary-color: var(--color-alternativo);
  --hovered-color: var(--main-color);
  position: relative;
  display: flex;
  cursor: pointer;
}

.news-frame .readMore .button::after {
    position: absolute;
    width: 0;
    left: 0;
    bottom: -7px;
    background: var(--main-color);
    /*height: 2px;*/
    transition: 0.3s ease-out;
}

.news-frame .readMore .button::before {
    position: absolute;
    width: 0%;
    inset: 0;
    overflow: hidden;
    transition: 0.3s ease-out;
}

.news-frame .readMore .button:hover::after {
    width: 100%;
}

.news-frame .readMore .button:hover p::before {
    width: 100%;
}

.news-frame .readMore .button:hover svg {
    transform: translateX(4px);
    color: var(--main-color)
}

.news-frame .readMore .button svg {
    transition: 0.2s;
    position: relative;
    width: 24px;
    transition-delay: 0.2s;
}

.news-frame .readMore .button p {
    margin: 0;
    position: relative;
    font-size: 1rem;
    font-family: "Plus Jakarta Sans";
    font-weight: normal;
}

.news-frame .viewMore {
    float: right;
    padding-bottom: 1em;
    padding-top: 1em;
}

.news-frame .viewMore .button {
  padding: 0;
  margin-left: 0;
  border: none;
  background: none;
  align-items: center;
  --primary-color: var(--color-alternativo);
  --hovered-color: var(--main-color);
  position: relative;
  display: flex;
  cursor: pointer;
}
.news-frame .viewMore .button::after {
  position: absolute;
  width: 0;
  left: 0;
  bottom: -7px;
  background: var(--main-color);
  /*height: 2px;*/
  transition: 0.3s ease-out;
}

.news-frame .viewMore .button::before {
  position: absolute;
  width: 0%;
  inset: 0;
  overflow: hidden;
  transition: 0.3s ease-out;
}

.news-frame .viewMore .button:hover::after {
    width: 100%;
}

.news-frame .viewMore .button:hover p::before {
    width: 100%;
}

.news-frame .viewMore .button:hover svg {
    transform: translateX(4px);
    color: var(--main-color)
}

.news-frame .viewMore .button svg {
    transition: 0.2s;
    position: relative;
    width: 24px;
    transition-delay: 0.2s;
}

.news-frame .viewMore .button p{
  margin: 0;
  position: relative;
  font-size: 1.25rem;
  font-family: "Plus Jakarta Sans";
  font-weight: normal;
}


.news-card .news-content {
    padding: 10px;

}

.news-card {
    width: 24%;
    height: auto;
    border-radius: 1px;
    border: 1px solid #ddd;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.news-image {
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.news-title {
    font-size: 1.15rem;
    margin: 0;
    font-weight: bold;
}

.news-description {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.news-date {
    font-size: 0.9rem;
    color: #888;
    margin: 8px 0 0;
}

@media(max-width: 1024px){

    .noticiasTitulo {
        font-weight: 600;
        font-size: 12px;
        margin: 0 0 12px 0;
    }

    .noticiasSubtitulo {
        font-size: 30px;
        margin-bottom: 0;
        line-height: 1.15;
    }

    .news-card {
        width: 300px;
        height: 300px;
        border-radius: 1px;
        border: 1px solid #ddd;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        margin: 1em 10% 1em 10%;
    }
    .news-title {
        font-size: 0.75rem;
        margin: 0;
        font-weight: bold;
    }

    .news-description {
        font-size: 0.65rem;
        line-height: 1.5;
        margin: 0;
        flex-grow: 1;
    }

    .news-date {
        font-size: 0.7rem;
        color: #888;
        margin: 8px 0 0;
    }
    .news-frame .viewMore .button svg {
        width: 12px;
    }

    .news-frame .viewMore .button p {
        font-size: 1rem;
    }
    .news-image {
        height: 125px;
    }

}

/* DETALLES DAS NOTICIAS*/

.news-detail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 3em;
}

@media(max-width:1023px) {
    .news-detail-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        width: auto;
        padding: 2em;
    }
    .news-detail-container .article-image-container img {
        max-width: -webkit-fill-available;
    }
}

.news-detail-container .article-content {
     
    text-align: left;
    padding-bottom: 3em;
}

.news-detail-container .article-image-container {
     width: 100%; 
    display: flex;
    justify-content: center; 
    margin-bottom: 1em;
}

.news-detail-container .news-detail-date {
    font-size: 0.9rem;
    margin-bottom: 0.5em; 
    align-self: flex-start;
}

.news-detail-container .news-detail-title {
    text-align: center;
    width: 100%;
    margin: 0 0 1em 0;
    word-wrap: break-word;
    font-size: 2rem;
    font-weight: bold;
     text-align: left;
}

.barra-migas{
}
.barra-migas .barra-migas-container{
   padding: 0.5em 0 0.5em 4em;
   text-decoration: none;
    display: flex;
    flex-direction: row;
}

.barra-migas .barra-migas-container p {
    margin: 0;
    position: relative;
    font-size: 1rem;
    font-family: "Plus Jakarta Sans";
    font-weight: normal;
    align-self: flex-end;
}

.barra-migas .barra-migas-container .button svg {
    transition: 0.2s;
    position: relative;
    width: 24px;
    transition-delay: 0.2s;
}

.barra-migas .barra-migas-container .button {
     padding: 0;
    margin-left: 0;
    border: none;
    background: none;
    align-items: center;
    --primary-color: var(--color-alternativo);
    --hovered-color: var(--main-color);
    position: relative;
    display: flex;
    cursor: pointer;
}

/*LISTA DE NOTICIAS*/
.main-news-container {
    padding-bottom: 1em;
}
.main-news-container .main-news-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.main-news-container .main-news-image-container {
    align-self: center;
}

.main-news-container .main-news-image {
    width: auto;
    max-width:800px;
}
.main-news-container .articledate {
     align-self: flex-start;
     padding-top: 0.5em;
     padding-bottom: 0.5em;
}
.main-news-container .article-content {
    text-align: left;
}
.main-news-container .articletitle {
    font-size: 1.25rem;
    margin: 0;
    font-weight: bold;
    padding: 0.5em 0;
}
.main-news-container .articlesubtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.main-news-container .readMore {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}
.main-news-container .readMore .button{
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-news-container .readMore .button p{
    margin: 0;
    position: relative;
    font-size: 1rem;
    font-family: "Plus Jakarta Sans";
    font-weight: normal;
}
.main-news-container .readMore .button p::before{
    position: absolute;
    width: 0%;
    inset: 0;
    overflow: hidden;
    transition: 0.3s ease-out;
}
.main-news-container .main-news-list .main-news {
    width: 100%;
    padding-top: 1em;
    display: flex;
    flex-direction: column;
    padding-bottom: 5rem;
}
.main-news-container .main-news-content{
   text-align: left;
}

.main-news-container .readMore .button svg {
    transition: 0.2s;
    position: relative;
    width: 24px;
    transition-delay: 0.2s;
}

@media(max-width:1023px) {
    .main-news-container .main-news-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        width: auto;
        padding: 2em;
    }
   
    .main-news-container .main-news-list .main-news {
        max-width: -webkit-fill-available;
    }
    .main-news-container .main-news-image {
        width: auto;
        max-width: 100%;
    }
}