/* PAGE */
.corporate--home-slideshow {
    height: 465px !important;
}
.corporate--home-slideshow .slideshow-item > .content-area {
    top: inherit !important;
    bottom: 20px;
}
.corporate--home-slideshow .slideshow-item > .content-area br {
    display: block !important;
}

@media (min-width: 1440px) {
    .corporate--home-slideshow {
        height: calc(100vw*465/1440) !important;
    }
}

@media (max-width: 1349px) {
    .corporate--home-slideshow .slideshow-item > .content-area {
        bottom: 15px;
    }
}
@media (max-width: 768px) {
    .corporate--home-slideshow {
        height: 355px !important;
    }
    .corporate--home-slideshow .slideshow-item > .content-area {
        bottom: 15px;
    }
}

/* ITEMS */
.posts-ssll--wrapper {
    padding-bottom: 110px;
}
.posts-ssll {
    padding-top: 70px;
    border-bottom: 1px solid black;
    padding-bottom: 100px;
    transition: padding-bottom 0.3s ease;
}
.posts-ssll:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.posts-ssll.posts-close .posts-ssll-header svg {
    transform: rotate(-180deg);
}
.posts-flex {
    padding-top: 20px;
    transition:
        padding-top 0.3s ease,
        opacity 0.2s ease,
        visibility 0.3s ease;
}
.posts-ssll.posts-close .posts-flex {
    padding-top: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        padding-top 0.3s ease,
        opacity 0.2s ease,
        visibility 0s ease;
}
.posts-ssll.posts-close {
    border-bottom: 0;
    padding-bottom: 0;
    transition: padding-bottom 0.3s ease;
}

.posts-ssll-header {
    border-bottom: 1px solid black;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.posts-ssll-header svg {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.posts__item {
    width: calc(100vw * 341 / 1440);
    border-right: 1px solid black;
    padding-right: 17px;
    margin-right: 17px;
    display: none;
}
.posts__item:nth-child(1),
.posts__item:nth-child(2),
.posts__item:nth-child(3) {
    display: flex;
}
.posts__item a {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
img.posts__item__img {
    display: block;
    width: 100%;
    height: calc(100vw * 261 / 1440);
    object-fit: cover;
    margin-top: 10px;
}
.posts__item .data {
    display: flex;
}

.posts__item .day {
    padding-top: 4px;
    padding-bottom: 4px;
}

.posts-items--wrapper {
    display: flex;
}

.posts-items__title {
    padding-top: 10px;
}

.posts-items__button {
    border: 1px solid;
    height: calc(100vw * 72 / 1440);
    width: calc(100vw * 221 / 1440);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}
.posts-items__button:hover {
    background-color: #e21b2e;
    color: white;
}
.posts-items__button span {
    padding: 4px 0 0;
}

.button-agenda {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
}
.posts-flex {
    display: flex;
    justify-content: space-between;
}
.posts__item__bottom {
    position: relative;
    overflow: hidden;
}
.button-more {
    background-color: #e21b2e;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    position: absolute;
    bottom: -44px;
    color: white;
    opacity: 0;
    transition:
        opacity 0.1s ease,
        bottom 0.1s ease;
}
.posts__item a:hover .button-more {
    opacity: 1;
    bottom: 0;
    transition:
        opacity 0.2s ease,
        bottom 0.3s ease;
}

@media (max-width: 1023px) {
    .posts-flex {
        flex-wrap: wrap;
    }
    .posts-ssll {
        padding-top: 60px;
        padding-bottom: 40px;
        border-bottom: 0;
    }
    .posts-items--wrapper {
        flex-wrap: wrap;
    }
    .button-agenda {
        flex: inherit;
        width: 100%;
        margin-top: 30px;
    }
    .posts__item {
        width: calc(100% / 3);
        margin-right: 0;
        padding: 0;
        border-right: 0;
    }
    .posts__item a {
        padding-right: 15px;
        padding-left: 15px;
        border-right: 1px solid black;
    }
    .posts__item:nth-child(3) a {
        border-right: 0;
    }
    .posts-items--wrapper {
        margin: 0 -15px;
    }
    img.posts__item__img {
        height: calc(100vw * 215 / 1023);
    }
    .posts-items__button {
        height: 55px;
        width: 100%;
    }
    .posts-ssll-header svg {
        width: 40px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .posts-ssll--wrapper .container-ssll {
        padding-inline: 0 !important;
    }
    .posts-ssll-header,
    .button-agenda {
        margin-inline: 15px;
    }
    .posts-ssll {
        padding-top: 50px;
        padding-bottom: 30px;
        border-bottom: 0;
    }
    .posts__item {
        width: 252.66px;
    }
    img.posts__item__img {
        height: 161.41px;
    }
    .posts-items--wrapper {
        flex-wrap: nowrap;
    }
    .posts-flex {
        width: 100%;
        position: relative;
    }
    .posts-flex__items {
        width: 100vw;
        overflow-x: auto;
        scroll-behavior: smooth;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .posts-flex__items::-webkit-scrollbar {
        display: none;
    }
    .posts-items--wrapper {
        width: max-content;
    }
    .posts-items--wrapper {
        margin: 0;
    }
    .posts-ssll-header svg {
        width: 35px;
    }
    .corporate--home-slideshow .slideshow-item > .content-area {
        top: 260px;
    }
    .corporate--home-slideshow .slideshow-item > .content-area {
        padding: 0 15px;
    }
}
