/* === GRID CONTAINERS === */
.aseafi-contenedor,
#posts-container,
#empresas-container,
#eventos-container,
#eventos-pasados-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0px;
}

/* === EMPRESA ITEM === */
.empresa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    padding: 30px;
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
}
.empresa-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}
.empresa-logo {
    margin-bottom: 5px;
}
.empresa-logo img {
    max-width: 240px;
    max-height: 140px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.empresa-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.empresa-content h2 {
    margin: 15px 0;
    color: #333;
}
.empresa-info {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
}
.empresa-content .leer-mas {
    display: inline-block;
    padding: 10px 20px;
    background-color: #173a53;
    color: #fff !important;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}
.empresa-content .leer-mas:hover {
    background-color: #005a8c;
}

/* === EVENTO ITEM === */
.evento-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.evento-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}
.evento-imagen {
    height: 250px;
    overflow: hidden;
}
.evento-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.evento-content {
    padding: 25px;
    text-align: center;
}
.evento-title {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 5px;
    color: #333;
}
.evento-fecha {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}
.evento-ciudad {
    font-size: 15px;
    color: #888;
}
.evento-boton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #173a53!important;
    color: #fff !important;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}
.evento-boton:hover {
    background-color: #0073aa;
    cursor: pointer;
}

/* === FILTROS Y PAGINACIÓN === */
.botones-filtros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.filter-button {
    background-color: #e0e0e0;
    color: #333;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border: none;
}
.filter-button:hover {
    background-color: #d5d5d5;
    color: #000;
}
.filter-button.active {
    background-color: #173a53;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 94, 135, 0.4);
}
.empresas-pagination {
    text-align: center;
    margin-top: 25px;
}
.emp-page, .page-numbers {
    margin: 0 .25em;
    padding: .5em .9em;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: transparent;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}
.emp-page.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* === TEXTOS INTERNOS === */
.texto-boton {
    display: inline;
}
.icono-mas {
    display: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}
