html,
body {
    background-color: var(--cream);
}

body {
    height: 100%;
}

/* --- Post Hero Element ---*/
.post-hero {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: block;
}

@media (max-width: 767px) {
    .post-hero {
        height: auto;
        /* let height adjust to image */
    }
}

.post-hero img,
.post-hero video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    object-position: center;
}

@media (max-width: 767px) {

    .post-hero img,
    .post-hero video {
        width: 100%;
        max-width: 100%;
        height: auto;

    }
}


/*--- Content Container (All Text) ---*/
.content {
    display: grid;
    /* grid-template-columns: repeat(5, 1fr);
    column-gap: 24px; */
    grid-template-columns: 400px auto 310px;
    grid-template-rows: fit-content fit-content 1fr;
    grid-column-gap: 32px;
    grid-row-gap: 16px;

    margin: 0 var(--margin);
    position: relative;
    height: 100%;
}

.content__heading {
    grid-area: 1 / 1 / 2 / 4;
    color: var(--tomato);
    margin-bottom: 0.3rem;
    font-size: 7rem;
    line-height: 80%;
    font-family: "terminal_grotesque";
    font-weight: normal;
}

.content__subheading {
    grid-area: 2 / 1 / 3 / 4;
    color: black;
    margin-bottom: 0rem;
    font-size: 1.8rem;
    line-height: 80%;
    font-family: "terminal_grotesque";
    font-weight: normal;
}

/* --- Post Content (Body Markdown) --*/

/* Post Content */
.post-content {
    /*
    grid-column: 1 / 5;
    */
    grid-area: 3 / 1 / 4 / 3;
    padding: 1.5 0 rem;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: normal;
    padding-bottom: 80px;
}

/*-- Callouts --*/
.post-content h2 {
    color: var(--tomato);
    line-height: 90%;
    font-family: "terminal_grotesque", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 1.8rem;
    letter-spacing: -1.5%;
}

.post-content img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.post-content a {
    color: var(--tomato);
}

/*-- Side Panel / Metadata --*/
.meta-content {
    /* grid-column: 5 / 6; */
    grid-area: 3 / 3 / 4 / 4;
    padding: 1.5 0 rem;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: normal;
    display: flex;
    flex: auto;
    gap: 16px;
    flex-direction: column;
    padding-top: 19.2px;
    position: sticky;
    top: 0;
}

.meta-content__block {
    height: fit-content;
}

.meta-content__title {
    font-size: 0.9rem;
    font-weight: bold;
    font-family: "Manrope";
    text-transform: uppercase;
    line-height: normal;
}

.meta-content__text {
    font-size: 0.9rem;
    font-weight: normal;
    line-height: normal;
    color: rgba(0, 0, 0, 0.6);
}

.meta-content__text_credit {
    font-size: 0.9rem;
    font-weight: normal;
    line-height: normal;
    color: rgba(0, 0, 0, 0.6);
    padding-bottom: 6px;
}

/*-- Responsive --*/

@media (max-width: 767px) {
    .content {
        display: flex;
        gap:8px;
    }
    .content__heading {
    font-size: 3rem;
        margin-bottom: 0.1rem;

}
.content__subheading {
    font-size: 1.5rem;
}

.meta-content {
    position: relative;
}
}


@media (min-width: 768px) and (max-width: 1024px) {
      .content {
        gap:12px;
        display: flex;
    }

     .post-content {
        padding-left: 0rem;
        padding-right: 0rem;
    }
    .meta-content {
            position: relative;
    }

        .content__heading {
    font-size: 5rem;
        margin-bottom: 0.1rem;

}
.content__subheading {
    font-size: 1.8rem;
}
}