
.banner {
    background-image: url(/assets/images/headerBlog.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    justify-content: start;
    align-items: center;
}
.banner .layout {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .5;
    background-color: #050e2c;
}
.banner .content-banner-text {
    width: 83.33%; 
    margin: 0 auto;
}
.banner-text {
    font-family: Alexandria-Regular;
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    z-index: 1;
    margin: 56px 0 0 0;
} 
.seccion-buscar {
    background-color: #D8D9D8;
}
.contenedor-buscar {
    margin: 0 auto;
}
.buscar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.buscar-text {
    font-family: Alexandria-Regular;
    color: #000D33;
    font-size: 32px;
    margin: 0;
    text-transform: uppercase;
}
.card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-radius: 20px;
}
.title-card {
    color: #0071CE;
    font-family: Alexandria-Regular;
    font-size: 24px;
}
.body-card {
    font-family: Alexandria-Regular;
    color: #000;
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Número de líneas máximo */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.foot-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.fecha {
    background-color: #F5F5F5;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
}
.nota {
    background-color: #000D33;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    text-transform: uppercase;
    font-size: 14px;
}
.input-search {
    width: 100%; 
    border-top: 1px solid #DADADA; 
    border-left: 1px solid #DADADA; 
    border-bottom: 1px solid #DADADA; 
    border-right: 0px; 
    border-top-left-radius: 5px; 
    border-bottom-left-radius: 5px; 
    padding: 5px
}
.search-button {
    background-color: #fff; 
    border-top: 1px solid #DADADA; 
    border-left: 0px; 
    border-bottom: 1px solid #DADADA; 
    border-right: 1px solid #DADADA; 
    border-top-right-radius: 5px; 
    border-bottom-right-radius: 5px; 
    padding: 5px;
}
.arrows {
    padding: 8px 16px;
}
.pagination {
    color: #0071CE;
    font-family: Alexandria-Regular;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 16px;
}
.pagination-active {
    background-color: #0071CE;
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-family: Alexandria-Regular;
    text-decoration: none;
    font-size: 18px;
}
.w-60 {
    width: 60%;
}
.w-83 {
    width: 83.33%;
}
.p-60 {
    padding: 60px;
}

/* Small (xs) - 320px en adelante */
@media (min-width: 320px) {
    .buscar {
        flex-direction: column !important;
    }
    .w-60 {
        width: 90% !important;
    }
    .w-83 {
        width: 95%;
    }
    .p-60 {
        padding: 10px;
    }
    .card {
        grid-template-columns: 1fr;
    }
    .foot-card {
        flex-direction: column;
        gap: 10px;
    }
}

/* Small (sm) - 640px en adelante */
@media (min-width: 640px) {
    .buscar {
        flex-direction: column !important;
    }
    .w-60 {
        width: 90% !important;
    }
    .w-83 {
        width: 95%;
    }
    .p-60 {
        padding: 10px;
    }
    .card {
        grid-template-columns: 1fr;
    }
    .foot-card {
        flex-direction: column;
        gap: 10px;
    }
}

/* Medium (md) - 768px en adelante */
@media (min-width: 768px) {
    .banner {
        min-height: 350px;
    }
    .banner-text {
        font-size: 2.5vw;
    } 
    .buscar {
        flex-direction: column !important;
    }
    .w-60 {
        width: 90% !important;
    }
    .w-83 {
        width: 95%;
    }
    .p-60 {
        padding: 10px;
    }
    .card {
        grid-template-columns: 1fr;
    }
    .foot-card {
        flex-direction: column;
        gap: 10px;
    }
}

/* Large (lg) - 1024px en adelante */
@media (min-width: 1024px) {
    .banner .layout {
        opacity: .3;
    }
    .buscar {
        flex-direction: row !important;
    }
    .w-60 {
        width: 60% !important;
    }
    .w-83 {
        width: 83.33%;
    }
    .p-60 {
        padding: 60px;
    }
    .card {
        grid-template-columns: 1fr;
    }
    .foot-card {
        flex-direction: row;
        gap: 10px;
    }
}

/* Extra Large (xl) - 1280px en adelante */
@media (min-width: 1280px) {
    .buscar {
        flex-direction: row !important;
    }
    .w-60 {
        width: 60% !important;
    }
    .w-83 {
        width: 83.33%;
    }
    .p-60 {
        padding: 60px;
    }
    .card {
        grid-template-columns: 1fr 1fr;
    }
    .foot-card {
        flex-direction: column;
        gap: 10px;
    }
}

/* 2XL (2xl) - 1536px en adelante */
@media (min-width: 1536px) {
    .buscar {
        flex-direction: row !important;
    }
    .w-60 {
        width: 90% !important;
    }
    .w-83 {
        width: 83.33%;
    }
    .p-60 {
        padding: 60px;
    }
    .card {
        grid-template-columns: 1fr 1fr;
    }
    .foot-card {
        flex-direction: row;
        gap: 10px;
    }
    .title-card {
        font-size:40px;
    }
    .body-card {
        font-size: 28px;
    } 
    .text-size {
        font-size:18px;
    }
    .buscar-text {
        font-size: 40px;
    }
    .input-search {
        font-size: 26px;
    }
    .search-button {
        padding: 12px;
    }
}