.ltg-post-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media screen and (max-width: 768px) {
    .ltg-post-top-responsive-tablet {
        grid-template-columns: 1fr;
    }
}

.ltg-post-top-col {
    display: flex;
    flex-direction: column;
}

.ltg-post-top-card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: 2rem 3rem;
    border-radius: 1em;
    background-color: #f4f5f8;
}

html.ltg-a11y-contrast-true .ltg-post-top-card {
    background-color: #272727;
}

.ltg-post-top-date {
    color: #707070;
}

.ltg-post-top-img-wrap {
    position: relative;
}

.ltg-post-top-img-wrap.--has-gallery {
    cursor: pointer;
}

.ltg-post-top .ltg-image-wrap .ltg-image {
    width: 100%;
    border-radius: 1em;
}

.ltg-post-top .ltg-card-icon {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.6);
}

.ltg-post-top .ltg-card-icon > i {
    margin: auto;
    font-size: 1.25em;
}

.ltg-post-top .ltg-card-icon.type-white {
    background-color: #fff;
}

.ltg-post-top .ltg-card-icon.type-white > i {
    color: #f8423a;
}

.ltg-post-top-img-wrap.--has-gallery .ltg-card-icon {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    z-index: 1;
}

html.ltg-a11y-contrast-true .ltg-post-top-title,
html.ltg-a11y-contrast-true .ltg-post-top-date {
    color: yellow;
}

html.ltg-a11y-illustrations-false .ltg-post-top:not(.ltg-post-top--events) > .ltg-post-top-col:has(.ltg-post-top-img-wrap) {
    display: none;
}

.ltg-post-top-modal {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 2.5rem 1rem;
    border: 0;
    background: rgba(0, 0, 0, 0.4);
}

.ltg-post-top-modal::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.ltg-post-top-modal .ltg-gallery-modal-wrap {
    position: relative;
    width: 100vh;
    max-width: 100%;
    margin: 0 auto;
}

.ltg-post-top-modal-stage {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: #f4f5f8;
}

.ltg-post-top-modal-stage::before {
    display: block;
    padding-bottom: 70%;
    content: "";
}

.ltg-post-top-modal-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ltg-post-top-modal-nav {
    position: absolute;
    top: 35%;
    z-index: 2;
    padding: 1rem 0.5rem;
    border: 0;
    background: transparent;
    color: #000;
    font-size: 2rem;
    cursor: pointer;
}

.ltg-post-top-modal-nav--prev {
    right: 100%;
}

.ltg-post-top-modal-nav--next {
    left: 100%;
}

.ltg-post-top-modal-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow: auto;
}

.ltg-post-top-modal-thumb {
    flex: 0 0 200px;
    width: 200px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ltg-post-top-modal-thumb img {
    width: 100%;
    aspect-ratio: 10 / 7;
    object-fit: cover;
    border-radius: 10px;
}

.ltg-post-top-modal-thumb.is-current img {
    outline: 2px solid #fff;
}

.ltg-post-top-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media screen and (max-width: 768px) {
    .ltg-post-top-modal-nav {
        top: 30%;
        bottom: auto;
        font-size: 1rem;
        color: #fff;
    }

    .ltg-post-top-modal-nav--prev {
        right: auto;
        left: 0.5rem;
    }

    .ltg-post-top-modal-nav--next {
        left: auto;
        right: 0.5rem;
    }

    .ltg-post-top-modal-thumb {
        flex-basis: 70px;
        width: 70px;
    }
}
