.calendarBannerPub {
    position: relative;
    display: flex;
    height: auto;
    margin: 30px auto 0 auto;
    align-items: flex-end;
    text-transform: uppercase;
    justify-content: space-evenly;
    border-radius: 8px;
    background: #647c99ab;
    overflow: hidden;
    padding: 0 20px;
    position: relative;
}
.calendarBannerPub img {
    max-height: 150px;
    transition: scale .2s cubic-bezier(0, 0, 0.2, 1);
}

.calendarBannerPub:hover img {
    scale: 1.05;
}



.calendarBannerPub p{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 17px 0;
    line-height: 0.8;
}

.calendarBannerPub .calendarBannerPub-title {
    color: #ffffff;
    font-weight: bold;
    align-self: center;
    line-height: 150%;
    max-width: 610px;
    text-align: center;
    font-size: 22px;
    opacity: .9;
    text-transform: initial;
    font-weight: 300;
    margin-bottom: 5px;
}

.calendarBannerPub .calendarBannerPub-subtitle {
    align-self: center;
    max-width: 610px;
    text-align: center;
    font-size: 35px;
    color: white;
    font-family: 'Caveat';
    text-transform: initial;
    display: block;
    font-weight: 500;
}

.calendarBannerPub-link{
    margin-top: 20px;
}

.calendarBannerPub-link:hover {
    color: #00342a!important;
}


@media screen and (min-width: 1141px) and (max-width: 1380px) {
    .calendarBannerPub {
        flex-direction: column-reverse;
        align-items: center;
    }
}
@media screen and (max-width: 715px) {
    .calendarBannerPub {
        flex-direction: column-reverse;
        align-items: center;
    }
}

@media (max-width: 450px) {
    .calendarBannerPub .calendarBannerPub-title {
        font-size: 18px;
    }

    .calendarBannerPub .calendarBannerPub-subtitle {
        font-size: 30px;
    }
}
