/* =========================================================
   UPCOMING WORKSHOPS
========================================================= */

.upcoming-workshops-section {
    width: 100%;
    padding: 60px 0 80px;
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.upcoming-workshops-container {
    width: calc(100% - 136px);
    max-width: 1320px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.upcoming-workshops-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 80px;
    align-items: start;
    margin-bottom: 48px;
}


/* =========================================================
   TITLE
========================================================= */

.upcoming-workshops-title {
    margin: 0;
    font-family: inherit;
    line-height: 1.15;
    font-weight: 700;
    color: #000;
    max-width: 520px;
}


/* =========================================================
   INTRO
========================================================= */

.upcoming-workshops-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 2px;
}


.upcoming-workshops-topic {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
}


.upcoming-workshops-description {
    margin: 0;

    line-height: 1.55;
    font-weight: 400;
}


/* =========================================================
   WORKSHOP GRID
========================================================= */

.workshops-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    /*
     * VERY IMPORTANT
     * Makes every card in the same row
     * stretch to the height of the tallest card.
     */
    align-items: stretch;
}


/* =========================================================
   WORKSHOP CARD
========================================================= */

.workshop-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    min-width: 0;

    background: #ffffff;

    border: 1px solid #e5e5e5;
    border-radius: 8px;

    padding: 22px;

    box-sizing: border-box;

    /*
     * No hover effect.
     */
    transition: none;
}


.workshop-card:hover {
    transform: none;
    box-shadow: none;
}


/* =========================================================
   IMAGE
========================================================= */

.workshop-image-link {
    display: block;

    width: 100%;
    height: 285px;

    overflow: hidden;

    border-radius: 8px;

    line-height: 0;

    background: #f5f5f5;
}


.workshop-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
     * No image hover animation.
     */
    transition: none;
    transform: none;
}


.workshop-image-link:hover .workshop-image {
    transform: none;
}


/* =========================================================
   IMAGE PLACEHOLDER
========================================================= */

.workshop-image-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: #f2f2f2;

    color: #999999;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.workshop-card-content {
    display: flex;

    flex-direction: column;

    /*
     * This makes the content area fill
     * the remaining card height.
     */
    flex: 1;

    min-width: 0;

    margin-top: 16px;
}


/* =========================================================
   TOPIC
========================================================= */

.workshop-card-topic {
    margin: 0 0 6px;


    line-height: 1.4;

    font-weight: 500;

    color: #666666;
}


/* =========================================================
   TITLE
========================================================= */

.workshop-card-title {
    margin: 0 0 12px;

    line-height: 1.3;

    font-weight: 700;
    font-size: 28px;
}


.workshop-card-title a {
    color: #080808;
    text-decoration: none;
}


.workshop-card-title a:hover {
    text-decoration: none;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.workshop-card-description {
    margin: 0 0 18px;
    line-height: 1.5;

    color: #787878;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   FOOTER
========================================================= */

.workshop-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    /*
     * Push footer to the bottom of every card.
     */
    margin-top: auto;

    padding-top: 10px;
}


/* =========================================================
   DATE
========================================================= */

.workshop-date {
    display: flex;

    align-items: center;

    gap: 6px;

    flex-shrink: 0;

    color: #515151;
}


/* =========================================================
   CALENDAR ICON
========================================================= */

.workshop-calendar-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 24px;
    height: 24px;
}


.workshop-calendar-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   READ MORE
========================================================= */

.workshop-read-more {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    height: 40px;

    padding: 0 18px;

    box-sizing: border-box;

    flex-shrink: 0;

    background: #0c6aa5;

    border-radius: 20px;

    color: #ffffff;

    text-decoration: none;


    font-weight: 600;

    white-space: nowrap;

    transition: none;
}


.workshop-read-more:hover {
    background: #0c6aa5;
    transform: none;
}


/* =========================================================
   ARROW
========================================================= */

.workshop-arrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 18px;
    height: 18px;

    border: 1px solid currentColor;

    border-radius: 50%;

    color: #ffffff;

    transition: none;
}


.workshop-arrow svg {
    width: 9px;
    height: 9px;
}


.workshop-read-more:hover .workshop-arrow {
    transform: none;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.no-upcoming-workshops {
    padding: 40px 0;

    text-align: center;



    color: #666666;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .upcoming-workshops-container {
        width: calc(100% - 100px);
    }

    .upcoming-workshops-heading {
        column-gap: 50px;
    }

    .upcoming-workshops-title {
        font-size: 31px;
    }

    .workshops-grid {
        gap: 18px;
    }

    .workshop-card {
        padding: 18px;
    }


}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .upcoming-workshops-section {
        padding: 55px 0 70px;
    }

    .upcoming-workshops-container {
        width: calc(100% - 80px);
    }

    .upcoming-workshops-heading {
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        margin-bottom: 40px;
    }

    .upcoming-workshops-title {
        font-size: 30px;
    }





    /*
     * Two columns.
     * Cards in each row will still have
     * equal heights.
     */
    .workshops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        align-items: stretch;
    }

    .workshop-card {
        padding: 18px;
    }


}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 750px) {

    .upcoming-workshops-section {
        padding: 50px 0 65px;
    }

    .upcoming-workshops-container {
        width: calc(100% - 50px);
    }

    .upcoming-workshops-heading {
        display: flex;

        flex-direction: column;

        gap: 18px;

        margin-bottom: 35px;
    }

    .upcoming-workshops-title {
        font-size: 28px;

        line-height: 1.2;

        max-width: none;
    }

    .upcoming-workshops-intro {
        padding-top: 0;

        gap: 10px;
    }


    .upcoming-workshops-description {
        max-width: none;

    }

    /*
     * Keep two columns.
     */
    .workshops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;

        align-items: stretch;
    }

    .workshop-card {
        padding: 16px;
    }



    .workshop-card-content {
        margin-top: 14px;
    }




    .workshop-read-more {
        height: 38px;

        padding: 0 15px;

    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .upcoming-workshops-section {
        padding: 45px 0 60px;
    }

    .upcoming-workshops-container {
        width: calc(100% - 32px);
    }

    .upcoming-workshops-heading {
        gap: 16px;

        margin-bottom: 30px;
    }

    .upcoming-workshops-title {
        font-size: 26px;

        line-height: 1.2;
    }



    .upcoming-workshops-description {
        line-height: 1.55;
    }

    /*
     * One column on mobile.
     */
    .workshops-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        align-items: stretch;
    }

    .workshop-card {
        width: 100%;

        height: 100%;

        padding: 16px;

        border-radius: 8px;
    }


    .workshop-image {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .workshop-card-content {
        margin-top: 14px;
    }

    .workshop-card-topic {

        margin-bottom: 5px;
    }

    .workshop-card-title {

        line-height: 1.3;

        margin-bottom: 10px;
    }

    .workshop-card-description {


        line-height: 1.5;

        margin-bottom: 16px;

        -webkit-line-clamp: 4;
    }

    .workshop-card-footer {
        align-items: center;

        justify-content: space-between;

        flex-direction: row;

        flex-wrap: wrap;

        gap: 10px;

        margin-top: auto;
    }



    .workshop-read-more {
        width: auto;

        min-width: 115px;

        height: 36px;

        padding: 0 14px;


    }

    .workshop-arrow {
        width: 16px;
        height: 16px;
    }

    .workshop-arrow svg {
        width: 8px;
        height: 8px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .upcoming-workshops-container {
        width: calc(100% - 30px);
    }

    .upcoming-workshops-section {
        padding: 40px 0 55px;
    }

    .upcoming-workshops-title {
        font-size: 24px;
    }





    .workshop-card {
        padding: 14px;
    }





    .workshop-card-footer {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .workshop-read-more {
        width: 100%;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 350px) {

    .upcoming-workshops-container {
        width: calc(100% - 24px);
    }

    .upcoming-workshops-title {
        font-size: 22px;
    }

    .workshop-card {
        padding: 12px;
    }



    s .workshop-read-more {
        height: 34px;


    }
}