/*
 * 13th Floor Studio — custom overrides for york-lite
 * Grafiki i wideo full-width, tekst w kontenerze 770px
 * Plik: wp-content/themes/york-lite/13f-custom.css
 */

/* =====================================================
   SINGLE POST — full-width grafiki i wideo
   ===================================================== */

.single .entry-content .wp-block-image,
.single .entry-content .wp-block-video,
.single .entry-content figure {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
}

.single .entry-content .wp-block-image img,
.single .entry-content .wp-block-video video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tekst akapitów — zostaje w kontenerze */
.single .entry-content p {
    max-width: 730px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (min-width: 600px) {
    .single .entry-content p {
        padding: 0 35px;
    }
}

/* =====================================================
   BLOG / ARCHIWUM — full-width grafiki w listingu
   ===================================================== */

.blog .entry-content .wp-block-image,
.blog .entry-content .wp-block-video,
.blog .entry-content figure,
.archive .entry-content .wp-block-image,
.archive .entry-content .wp-block-video,
.archive .entry-content figure {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
}

.blog .entry-content .wp-block-image img,
.blog .entry-content .wp-block-video video,
.archive .entry-content .wp-block-image img,
.archive .entry-content .wp-block-video video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.blog .entry-content p,
.archive .entry-content p {
    max-width: 730px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (min-width: 600px) {
    .blog .entry-content p,
    .archive .entry-content p {
        padding: 0 35px;
    }
}
