@font-face {
  font-family: 'RobotoBold';
  src: url('../../assets/fonts/Roboto/Roboto-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'RobotoBlack';
  src: url('../../assets/fonts/Roboto/Roboto-Black.ttf') format('truetype');
   font-display: swap;
}

@font-face {
  font-family: 'RobotoRegular';
  src: url('../../assets/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
   font-display: swap;
}

@font-face {
  font-family: 'RobotoLight';
  src: url('../../assets/fonts/Roboto/Roboto-Light.ttf') format('truetype');
   font-display: swap;
}

@font-face {
  font-family: 'RobotoThin';
  src: url('../../assets/fonts/Roboto/Roboto-Thin.ttf') format('truetype');
   font-display: swap;
}

.card-news{
    margin-inline: 7px !important;
}

.cards-news-container {
    display: flex;
    margin: 20px 0;
    flex-direction: row;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
    /* justify-content: left; */
}

/* @media screen and (max-width: 641px) {
    .cards-news-container {
        flex-wrap: wrap;
    }
} */

.news {
    max-width: 18rem;
    width: 100%;
    /* position: relative; */
}

@media (min-width: 768px) and (max-width: 1200px){
    .card-news{
        margin-inline: 0 !important;
    }
}

@media only screen and (max-width: 641px) {
    .news {
        max-width: 100% !important;
        width: 100%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .news {
        max-width: 15rem !important;
        width: 100%;
    }
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.text-card, .text-card a {
    /* color: #ed1c24; */
    color: #222;
}

.text-card a, .text-card strong {
    font-family: 'RobotoRegular', sans-serif;
    text-decoration: none;
}

.category-badge {
    background-color: #ed1c24;
    position: absolute;
    border-radius: 5px;
    color: #fff;
    padding: 5px;
    z-index: 2;
    margin: 10px;
    font-weight: 500;
    font-family: 'RobotoRegular', sans-serif;
}