/*
 * The stories' closing: the last word on it, printed after every other
 * stylesheet (where these rules used to be, at the end of the page).
 */


/* ---------------------------------------------------------
   CLOSING
--------------------------------------------------------- */

body.single-post .tcg-single-story-gallery {
    cursor: grab !important;
    user-select: none !important;
}

body.single-post .tcg-single-story-gallery.is-dragging {
    cursor: grabbing !important;
    scroll-snap-type: none !important;
}

body.single-post .tcg-single-story-gallery img {
    pointer-events: none !important;
}

body.single-post .tcg-single-story-location {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 26px !important;
    width: min(520px, 42vw) !important;
    margin-right: auto !important;
    margin-bottom: 105px !important;
    margin-left: 3vw !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(17, 17, 17, 0.18) !important;
}

body.single-post .tcg-single-story-location div {
    display: grid !important;
    grid-template-columns: 95px 1fr !important;
    align-items: baseline !important;
    gap: 20px !important;
    width: 100% !important;
}

body.single-post .tcg-single-story-location span {
    font-family: Lato, Arial, sans-serif !important;
    font-size: 8px !important;
    letter-spacing: 0.16em !important;
    opacity: 0.48 !important;
}

body.single-post .tcg-single-story-location strong {
    font-family: Lato, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 300 !important;
    letter-spacing: 0.025em !important;
}

body.single-post .tcg-single-story-next {
    width: calc(100% - 6vw) !important;
    margin-right: 3vw !important;
    margin-bottom: 80px !important;
    margin-left: 3vw !important;
    padding-top: 28px !important;
}

body.single-post .tcg-single-story-closing {
    position: relative !important;
    z-index: 20 !important;
}

@media (max-width: 800px) {

    body.single-post .tcg-single-story-location {
        width: 100% !important;
        margin-bottom: 75px !important;
        margin-left: 0px !important;
    }

    body.single-post .tcg-single-story-location div {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

}

body.single-post .tcg-home-closing .tcg-closing-bottom {
    display: flex !important;
    padding-top: 55px !important;
    padding-bottom: 28px !important;
}

body.single-post .tcg-home-closing .tcg-footer-identity {
    display: flex !important;
    align-items: center !important;
}

body.single-post .tcg-home-closing .tcg-footer-globe {
    width: 62px !important;
    height: 62px !important;
    object-fit: contain !important;
}

body.single-post .tcg-home-closing .tcg-footer-legal {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.45 !important;
}

body.single-post .tcg-home-closing .tcg-footer-wordmark {
    display: block !important;
    width: 100% !important;
    margin-bottom: -3px !important;
}

@media (max-width: 700px) {

    body.single-post .tcg-home-closing .tcg-closing-bottom {
        justify-content: center !important;
        padding: 42px 0px 25px !important;
    }

    body.single-post .tcg-home-closing .tcg-footer-identity {
        flex-direction: column !important;
        align-items: center !important;
        gap: 13px !important;
    }

}
