@import "gatsby-theme-try-ghost/src/styles/global.css";

/* Fluid inline images
/* ---------------------------------------------------------- */

html.casper .post-content {
    display: flex!important;
    min-width: 100%;
}

html.casper .post-full-content figure.kg-width-wide,
html.casper .post-full-content figure.kg-width-full {
    margin: 0 0 2.3em;
}

html.casper .kg-bookmark-thumbnail .gatsby-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 3px 3px 0;
    object-fit: cover;
}

html.casper .post-full-content .kg-width-full .gatsby-image-wrapper img {
    max-width: 100vw;
}

@media (max-width:1040px) {
    html.casper .post-content {
        display: block!important;
    }
    html.casper .post-full-content .kg-width-full .gatsby-image-wrapper  {
        left: -16vw;
    }
}

@media (max-width: 800px) {
    html.casper .post-full-content figure.kg-width-wide,
    html.casper .post-full-content figure.kg-width-full {
        margin: 0 0 1.3em;
    }
    html.casper .post-full-content .kg-width-full .gatsby-image-wrapper  {
        left: -10vw;
    }
}

@media (max-width: 500px) {
    html.casper .post-full-content .kg-width-full .gatsby-image-wrapper  {
        left: -5vw;
    }
}
