@charset "UTF-8";

:root{
    --link_color:rgb(0, 91, 172);
}

#footer{
    margin-top:3rem;
}

.content :is(a, a:visited, a:active){
    color: var(--link_color);
    text-decoration: underline;
}

.content :is(h1, h2, h3, h4, h5, h6){
    position: relative;
    border: 0px;
}

.content h2::before{
    content: '';
    position: relative;
    display: inline-block;
    background-color: var(--dark-text-color);
    width:1rem;
    height: 1.5rem;
    top:1px;
    margin-right: 0.75rem;
}

.content h3::before{
    content: '';
    position: relative;
    display: inline-block;
    background-color: var(--dark-text-color);
    width:9px;
    height: 1.1rem;
    top:1px;
    margin-right: 0.25rem;
}

.latest_info{
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 2rem;
    row-gap:6px;
}

.latest_info_container{
    display: contents;
}

.latest_info_container > a{
    text-decoration: underline;
    text-underline-offset:3px;
}

.event_info_container:nth-of-type(n + 2){
    margin-top: 3.5rem;
}

.event_info{
    background-color: #eee;
    display: grid;
    grid-template-columns: 3fr 5fr;
    column-gap: 2rem;
    padding:1rem;
    align-items: center;
    border-radius: calc(var(--border-radius) * 2);
}

.event_info_desc{
    display: grid;
    grid-template-columns: 8em 1fr;
    column-gap:0.25rem;
    row-gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

.event_info_desc > div{
    padding: 0.25rem 0;
}

.event_info_desc_hd{
    font-weight: bold;
}

.event_info_desc_cta.cta_button{
    grid-column: span 2;
    text-align: right;
}

.event_info_desc_cta.cta_button > a{
    display: inline-block;
    position: relative;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 2rem;
    padding: 0.25rem 2.5rem 0.25rem 1rem;
    margin-top: 1rem;
    font-weight: normal;
    min-width: 15rem;
}

.event_info_desc_cta.cta_button > a::after{
    --size:0.5rem;
    position: absolute;
    display: block;
    content: '';
    width: var(--size);
    height: var(--size);
    border-right:2px #fff solid;
    border-bottom: 2px #fff solid;
    right: 1rem;
    top: calc(50% - var(--size) / 2 - 2px);
    transform: rotate(-45deg);
}

.event_info_desc_cta.cta_button > a:hover::after{
    right: calc(1rem - 4px);
}



.uq_event_info_fn{
    background-color: var(--sub-color);
    border-radius: var(--border-radius);
    color: #fff;
    text-align: center;
    padding: 0.25rem 1rem;
    margin-bottom: 0.5rem;
    grid-column: span 2;
}


@media screen and (max-width:768px) {
    .event_info{
        display: block;
    }

    .event_info_desc_cta.cta_button > a{
        width: 100%;
    }
}


