/* SHORTCODE tri_expositions */
.tri-expo-main-title {
    text-align: center;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.tri-expo-main-description {
    text-align: center;
    margin: 0 auto 6rem;
    max-width: 50%;
}

/* tri_exposition_card*/
.tri-expo-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #f4f4f4;
    align-items: center;
    margin-bottom: 4rem;
}

.tri-expo-card-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 400px;
    height: 400px;
    min-width: 400px;
}

.tri-expo-card-details {
    flex: 1;
    min-width: 576px;
    padding: 3rem 2rem 2rem;
}

.tri-expo-card-title {
    font-weight: 700;
    line-height:1.2em;
}

.tri-expo-card-description {
    width: 80%;
}

.tri-expo-card-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.expo-link {
    display: inline-block;
    color: #fff;
    padding: .7rem 2rem;
    text-decoration: none;
    margin: 2rem 0;
    font-weight: 800;
    text-align: center;
    border-radius: 2px;
}

.tri-expo-card-ticket-link {
    background-color: #198389;
}

.tri-expo-card-ticket-link:hover {
    background-color: #21acb4;
}

.tri-expo-card-article-link {
    background-color: #dfb05d;
}

.tri-expo-card-article-link:hover {
    background-color: #e7c588;
}

@media (min-width:981px) and (max-width:1179px){
    .tri-expo-card-image{
        width: 290px;
        min-width: 290px;
    }
}

@media (max-width:980px){
    .tri-expo-card{
        align-items: center;
        justify-content: center;
    }
    .tri-expo-card-title{
        font-size:28px;
    }
    .tri-expo-card-description{
        width:100%;
    }
}

@media (max-width:767px){
    .tri-expo-card-image{
        width: 290px;
        min-width: 290px;
        height: 290px;
    }
    .tri-expo-card-details{
        width: 290px;
        min-width: 290px;
        padding: 2rem 1rem 0rem;
    }
    .tri-expo-card-title{
        font-size:24px;
    }
    
    .tri-expo-card-links{
        display: flex;
        gap: 0rem;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .expo-link{
        margin:0px;
        margin-top:10px;
        margin-bottom:10px;
    }
}