﻿/* Stylesheet for "Featured Events" Block */

.no-padding {
    padding: 0;
}

.featured-events-title {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.featured-item-container {
    height: 10.5rem;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: 1.3rem;
    box-shadow: 0rem 0.3rem 0.8rem #d9d9d9;
    margin-left: 0rem;
    border-bottom: none;
    cursor: pointer;
}

.featured-events {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.calendar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.featured-item-text {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #000000;
    padding-left: 0rem;
    font-size: 0.9rem;
}

.featured-item-type-text {
    font-weight: 500;
    /*font-style: italic;*/
    font-family: neue-haas-grotesk-text, sans-serif;
}

.featured-item-image {
    height: 100%;
    padding: 0;
    background-size: cover;
    background-position: 50%;
}

.image-first {
    border-radius: 1.3rem 0rem 0rem 1.3rem;
}

.image-last {
    border-radius: 0rem 1.3rem 1.3rem 0rem;
}

.featured-item-title {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: left;
    padding: 1.8rem 1.8rem 0.1rem 1.8rem;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2rem;
}

.featured-item-content {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 500;
    line-height: 1.1rem;
    padding: 0.2rem 1.8rem 0.1rem 1.8rem;  
    overflow: hidden;
    height: 4.3rem;
}

.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.line-clamp p{
    line-height: 1.1rem !important;
}

.featured-item-new {
    height: auto;
}

.calendar-button {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 700;
    font-style: normal;
    background-color: #de771c;
    width: 100%;
    color: #ffffff;
    padding: 0.5rem 25% 0.5rem 25%;
    border-radius: 1.3rem;
    margin: auto;
    bottom: 10rem;
}

.calendar-icon {
    color: #000000;
    padding: 1rem;
    font-size: 6.5rem;
}

.calendar-content {
    text-align: center;   
    margin: 1rem 1.6rem 1rem 1.6rem;
    position: relative;
}

.calendar-text {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #000000;
    height: 60%;
}

.calendar-box {
    border-radius: 1.3rem;
    height: 8rem;
    width: 25rem;
    margin: 0;
    margin-top: 2rem;
    box-shadow: 0rem 0.3rem 0.8rem #d9d9d9;
}



@media all and (max-width: 736px) {
    .featured-item-image {
        border-radius: 1.3rem 1.3rem 0rem 0rem;
    }

    .featured-item-container {
        height: 20rem;
        width: 100%;
    }

    .featured-item-image {
        height: 50%;
    }

    .calendar-box {
        width: 13rem;
        height: 17.8rem;
    }

    .calendar-text {
        height: 35%;
    }
    .image-first {
        border-radius: 1.3rem 1.3rem 0rem 0rem !important;
    }

    .image-last {
        border-radius: 1.3rem 1.3rem 0rem 0rem !important;
    }
}

@media all and (max-width: 544px) {
    .card-image {
        height: 45%;
    }
}
