/*
 * The seven stories: opening picture, note, gallery, place and date,
 * next story, and the first rules of their closing.
 *
 * One set of rules: what the earlier style layers added up to, read off
 * the stories as they were shown (every width, scrolled, phone menu
 * open) and checked element by element against them. Printed right
 * after assets/chrome.css; assets/story-page-late.css comes last.
 */


/* ---------------------------------------------------------
   STORY
--------------------------------------------------------- */

body.single-post {
    background: rgb(241, 238, 232) !important;
}

.tcg-single-story-hero {
    position: fixed;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.tcg-single-story-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tcg-single-story-hero__shade {
    position: absolute;
    inset: 0px;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.06) 100%);
}

.tcg-single-story-hero__meta {
    position: absolute;
    top: 120px;
    left: 4vw;
    right: 4vw;
    display: flex;
    justify-content: space-between;
    color: rgb(255, 255, 255);
    font-family: Lato, Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0.14em;
}

.tcg-single-story-hero__title {
    left: 4vw;
    color: rgb(255, 255, 255);
}

.tcg-single-story-hero__title h1 {
    color: rgb(255, 255, 255) !important;
}

.tcg-single-story-panel {
    position: relative;
    z-index: 10;
    margin-top: calc(-32px + 100vh);
    margin-right: 14px;
    margin-left: 14px;
    padding-right: clamp(34px, 5vw, 96px);
    padding-bottom: 100px;
    padding-left: clamp(34px, 5vw, 96px);
    background-color: rgb(241, 238, 232);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

.tcg-single-story-intro__label {
    opacity: 0.55;
}

.tcg-single-story-gallery-head {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
    font-family: Lato, Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 0.15em;
}

.tcg-single-story-gallery::-webkit-scrollbar {
    height: 3px;
}

.tcg-single-story-gallery::-webkit-scrollbar-thumb {
    background: rgb(17, 17, 17);
}

.tcg-single-story-location {
    grid-template-columns: repeat(3, 1fr);
}

.tcg-single-story-location div {
    flex-direction: column;
}

.tcg-single-story-next {
    border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.tcg-single-story-next a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgb(17, 17, 17) !important;
}

.tcg-single-story-next span {
    font-family: Lato, Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 0.14em;
    opacity: 0.5;
}

.tcg-single-story-next strong {
    font-family: Lato, Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

@media (max-width: 800px) {

    .tcg-single-story-location {
        grid-template-columns: 1fr;
    }

    .tcg-single-story-next a {
        align-items: flex-start;
        flex-direction: column;
    }

}

body.single-post .tcg-single-story-hero__title {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: min(1100px, 88vw) !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
}

body.single-post .tcg-single-story-hero__title h1 {
    margin-top: 0px !important;
    margin-bottom: 22px !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: clamp(42px, 4.6vw, 82px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.035em !important;
}

body.single-post .tcg-single-story-hero__title span {
    display: block !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 9px !important;
    letter-spacing: 0.17em !important;
}

body.single-post .tcg-single-story-intro {
    grid-template-columns: minmax(120px, 0.28fr) minmax(0px, 1.72fr) !important;
    gap: 62px !important;
}

body.single-post .tcg-single-story-intro__text {
    max-width: 820px !important;
}

body.single-post .tcg-single-story-intro__text p {
    color: rgb(17, 17, 17) !important;
}

body.single-post .tcg-single-story-intro__label {
    font-family: Lato, Arial, sans-serif !important;
    font-size: 8px !important;
    letter-spacing: 0.17em !important;
}

body.single-post .tcg-single-story-panel {
    padding-top: 95px !important;
}

@media (max-width: 800px) {

    body.single-post .tcg-single-story-hero__title {
        width: 88vw !important;
    }

    body.single-post .tcg-single-story-hero__title h1 {
        font-size: 11vw !important;
    }

    body.single-post .tcg-single-story-intro {
        gap: 24px !important;
    }

}

body.single-post .tcg-single-story-intro {
    max-width: 1500px !important;
    margin-bottom: 120px !important;
    padding-right: 3vw !important;
    padding-left: 3vw !important;
}

body.single-post .tcg-single-story-intro__label {
    margin-bottom: 26px !important;
}

body.single-post .tcg-single-story-intro__text {
    width: min(720px, 52vw) !important;
    margin-right: auto !important;
}

body.single-post .tcg-single-story-intro__text p,
body.single-post .tcg-single-story-intro__text p:first-child {
    margin-bottom: 20px !important;
    font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(15px, 1vw, 18px) !important;
    line-height: 1.72 !important;
    letter-spacing: -0.005em !important;
}

body.single-post .tcg-single-story-gallery-wrap {
    margin-bottom: 120px !important;
}

body.single-post .tcg-single-story-gallery-head {
    margin-right: 3vw !important;
    margin-bottom: 22px !important;
    margin-left: 3vw !important;
}

body.single-post .tcg-single-story-gallery {
    display: flex !important;
    gap: 16px !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    padding-right: 3vw !important;
    padding-bottom: 18px !important;
    padding-left: 3vw !important;
}

body.single-post .tcg-single-story-gallery img {
    flex-shrink: 0 !important;
    flex-basis: 31vw !important;
    width: 31vw !important;
    height: 460px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    scroll-snap-align: start !important;
}

body.single-post .tcg-single-story-gallery::-webkit-scrollbar {
    height: 2px !important;
}

body.single-post .tcg-single-story-gallery::-webkit-scrollbar-track {
    background: rgba(17, 17, 17, 0.08) !important;
}

body.single-post .tcg-single-story-gallery::-webkit-scrollbar-thumb {
    background: rgb(17, 17, 17) !important;
}

@media (max-width: 800px) {

    body.single-post .tcg-single-story-intro__text {
        width: 100% !important;
    }

    body.single-post .tcg-single-story-intro__text p,
    body.single-post .tcg-single-story-intro__text p:first-child {
        font-size: 15px !important;
    }

    body.single-post .tcg-single-story-gallery img {
        flex-basis: 78vw !important;
        width: 78vw !important;
        height: 105vw !important;
    }

}


/* ---------------------------------------------------------
   CLOSING
--------------------------------------------------------- */

body.single-post .tcg-single-story-closing .tcg-closing-top {
    grid-template-columns: minmax(0px, 1.2fr) minmax(500px, 0.8fr) !important;
    gap: 90px !important;
    padding-top: 82px !important;
    padding-bottom: 105px !important;
    border-bottom: 1px solid rgba(241, 238, 232, 0.2) !important;
}

body.single-post .tcg-closing-label {
    opacity: 0.55 !important;
}

body.single-post .tcg-closing-newsletter p {
    opacity: 0.58 !important;
}

body.single-post .tcg-closing-form input {
    flex-grow: 1 !important;
    flex-basis: 0% !important;
    height: 54px !important;
}

body.single-post .tcg-closing-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
}

body.single-post .tcg-closing-column-title {
    margin-bottom: 17px !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 8px !important;
    letter-spacing: 0.16em !important;
    opacity: 0.45 !important;
}

body.single-post .tcg-closing-column a {
    color: rgb(241, 238, 232) !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 12px !important;
}

body.single-post .tcg-home-closing {
    padding-right: 30px !important;
    padding-left: 30px !important;
    background-color: rgb(17, 17, 17) !important;
    color: rgb(241, 238, 232) !important;
    overflow: hidden !important;
}

body.single-post .tcg-closing-top {
    display: grid !important;
}

body.single-post .tcg-closing-newsletter {
    max-width: 760px !important;
}

body.single-post .tcg-closing-label {
    margin-bottom: 32px !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: rgba(241, 238, 232, 0.65) !important;
}

body.single-post .tcg-closing-newsletter h2 {
    margin-top: 0px !important;
    margin-bottom: 34px !important;
    font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(52px, 5vw, 88px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.055em !important;
    text-transform: uppercase !important;
    color: rgb(241, 238, 232) !important;
}

body.single-post .tcg-closing-newsletter p {
    margin-bottom: 48px !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 12px !important;
    color: rgba(241, 238, 232, 0.6) !important;
}

body.single-post .tcg-closing-form {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    max-width: 700px !important;
    border-bottom: 1px solid rgba(241, 238, 232, 0.55) !important;
}

body.single-post .tcg-closing-form input {
    padding: 13px 0px !important;
    border: none !important;
    outline-width: 0px !important;
    background-color: transparent !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 13px !important;
    color: rgb(241, 238, 232) !important;
}

body.single-post .tcg-closing-form button {
    padding-top: 13px !important;
    padding-right: 0px !important;
    padding-bottom: 13px !important;
    border: none !important;
    background-color: transparent !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    color: rgb(241, 238, 232) !important;
}

body.single-post .tcg-closing-links {
    display: grid !important;
    gap: 48px !important;
    align-content: start !important;
}

body.single-post .tcg-footer-legal {
    font-family: Lato, Arial, sans-serif !important;
}

@media (max-width: 1024px) {

    body.single-post .tcg-closing-links {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}
