/* Featured Events Block Styles - Mobile First */
.featured-events-block {
    padding: 100px 0;
}

.featured-events-block-title {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.featured-events-block-description {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2; 
    margin-bottom: 20px;  
}
.featured-events-block-description p {
    margin-bottom: 0px;
}

.events-row {
    margin-top: 30px;
    justify-content: center;
}

.event-col {
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 30px;
    padding-top: 15px;
    width: 100%;
}

.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.event-card {
    height: 100%;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    padding: 30px 20px;
    min-height: 200px;
}

.event-card.has-link {
    cursor: pointer;
}

.event-card.has-link:hover,
.event-card-link:focus-visible .event-card {
    border-color: rgba(255, 255, 255, 0.4);
}

.event-card.has-link:hover .event-title,
.event-card-link:focus-visible .event-title {
    color: #000000 !important;
}

.event-card.has-link:hover .event-date,
.event-card-link:focus-visible .event-date {
    color: #000000 !important;
}

.event-card.has-link:hover .event-topic-tag,
.event-card-link:focus-visible .event-topic-tag {
    color: #000000 !important;
    border-color: #000000 !important;
}

/* Hover overlay */
.event-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hover-bg-color, #999DC4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.event-card.has-link:hover .event-card-overlay,
.event-card-link:focus-visible .event-card-overlay {
    opacity: 0.85;
}

/* Arrow icon */
.event-card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.event-card.has-link:hover .event-card-arrow,
.event-card-link:focus-visible .event-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.event-card .row {
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
}

.event-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.event-image img {
    max-width: 100%;
    display: block;
}

.event-info {
    padding-top: 50px;
    background-color: transparent;
    position: relative;
}

.event-title {
    margin-bottom: 4px;
    text-transform: uppercase;
}

.event-date {
    font-weight: 400;
    margin-bottom: 0;
    color: #FFFFFF;
}

.event-topic-tag {
    display: block;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
    letter-spacing: 0.5px;
    width: fit-content;
    max-width: 100%;
    word-break: break-word;
    hyphens: auto;
    position: relative;
    z-index: 2;
    float: left;
    margin-bottom: 27px;
}

.detail-row {
    padding-right: 30px;
}

.title-row {
    width: 100%;
}

/* Responsive adjustments - Mobile First */
@media (min-width: 450px) {
    .event-card {
        width: 100%;
    }
}

@media (min-width: 576px) {
     .event-topic-tag {
        float: right;
    }
}

@media (min-width: 724px) {
    .event-card {
        width: 450px;
        display: flex;
        flex-wrap: wrap;
        align-content: space-between;
    }
}


@media (min-width: 768px) {
    .event-col {
        margin-bottom: 0px;
        width: fit-content;
    }
    .events-row {
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) {
    .featured-events-block {
        padding: 80px 0;
    }
    .event-card {
        padding-bottom: 38px;
    }
    .event-col {
        padding: 10px !important;
    }
    .title-row {
        width: 38%;
    }
}

@media (min-width: 1200px) {
    .events-row {
        justify-content: left;
    }
}

