/* ---------------------------
   CONTENT
--------------------------- */

.post-content {
    overflow-wrap: break-word;
}

/* Typography */

.post-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: #1f2937;
    margin-bottom: 2rem;
}

.post-content h2 {
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 700;
    color: #111827;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Desktop typography */

@media (min-width:768px) {

    .post-content p {
        font-size: 1.25rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
    }

    .post-content h2 {
        font-size: 3rem;
        margin-top: 4rem;
        margin-bottom: 2rem;
    }

    .post-content h3 {
        font-size: 2rem;
    }

}

/* ---------------------------
   IMAGES
--------------------------- */

.post-content figure {
    margin: 2rem 0;
}

.post-content img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.size-large,
.size-full {
    width: 100% !important;
    height: auto !important;
}

/* ---------------------------
   GUTENBERG GALLERY
--------------------------- */

.post-content .wp-block-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width:768px) {

    .post-content .wp-block-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

}

.post-content .wp-block-gallery figure {
    margin: 0;
}

.post-content .wp-block-gallery img,
.post-content .wp-block-image img {
    width: 100%;
    border-radius: 12px;
}

/* ---------------------------
   VIDEO
--------------------------- */

.post-content .wp-block-embed {
    margin: 2rem 0;
}

.post-content .wp-block-embed__wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.post-content .wp-block-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

/* ---------------------------
   TABLETS
--------------------------- */

@media (max-width:1024px) {

    .post-content p {
        max-width: 100%;
    }

}

/* ---------------------------
   MOBILE
--------------------------- */

@media (max-width:767px) {

    .post-content {
        font-size: 16px;
    }

    .post-content h2 {
        font-size: 2rem;
    }

    .post-content figure {
        margin: 1.5rem 0;
    }

}