/**
 * Add any custom CSS here.
 *
 * This file will be loaded after all other theme stylesheets.
 */

.twae-icondot {
    border: 6px solid #f0f2f5;
}
.twae-arrow {
    display: none;
}
.twae-content {
    border-radius: 24px !important;
}

.twae-description p:last-child {
	margin-bottom: 0;
}

.seguros-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:30px;
    margin:40px 0;
	align-items:stretch;
}

.seguro-card{
	font-family: var( --e-global-typography-text-font-family ), Sans-serif;
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    border: 1px solid #E0E6EB;
    transition:all .35s ease;
    position:relative;
    display:flex;
    flex-direction:column;
}

.seguro-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(0,0,0,.06);
}

.seguro-thumb{
    position:relative;
    display:block;
    overflow:hidden;
    height:200px;
}

.seguro-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.seguro-card:hover .seguro-thumb img{
    transform:scale(1.07);
}

.seguro-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0, 54, 105,.72) 0%,
        rgba(0, 54, 105,.15) 45%,
        rgba(0, 54, 105,0) 100%
    );
    z-index:1;
}

.seguro-thumb h3{
    position:absolute;
    left:24px;
    bottom:20px;
    right:20px;
    color:#fff;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    z-index:2;
    margin:0;
}

.seguro-content{
    padding:24px;
	display:flex;
    flex-direction:column;
    flex:1;
}

.seguro-desc{
    color: var(--e-global-color-text);
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
}

.seguro-btn{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    color: var(--e-global-color-92991e1);
    text-decoration:none;
    font-weight:700;
    transition:all .25s ease;
    margin-top:auto;
}

.seguro-btn span{
    transition:transform .25s ease;
}

.seguro-btn:hover{
    color: var(--e-global-color-primary);
}

.seguro-btn:hover span{
    transform:translateX(4px);
}

/* Tablet */
@media(max-width:1024px){

    .seguros-grid{
        grid-template-columns:repeat(2, 1fr);
    }

}

/* Mobile */
@media(max-width:640px){

    .seguros-grid{
        grid-template-columns:1fr;
    }

    .seguro-thumb{
        height:220px;
    }

    .seguro-thumb h3{
        font-size:24px;
    }

}