/* Shared responsive rules for blog posts and the post template. */
* {
    box-sizing: border-box;
}

@media (max-width: 800px) {
    body {
        padding-bottom: 4.25rem;
    }

    .Nav_Bar nav {
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        transform: none;
        border-top: 1px solid rgba(20, 40, 80, 0.2);
        background: rgba(255, 245, 225, 0.96);
        backdrop-filter: blur(12px);
    }

    .Nav_Bar nav ul {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0.95rem 0.45rem max(0.95rem, env(safe-area-inset-bottom));
        flex-flow: row;
        justify-content: space-around;
        gap: 0;
    }

    .Nav_Bar nav ul li {
        font-size: 0.72rem;
    }

    .Nav_Bar nav ul li a {
        display: block;
        padding: 0.2rem 0.4rem;
        mix-blend-mode: normal;
    }

    .wrapper {
        width: 100%;
    }

    .content {
        width: 100%;
        margin-top: 0;
        padding: 2.25rem 1.25rem 1rem;
        align-items: stretch;
    }

    .content h1 {
        font-size: clamp(2.35rem, 12vw, 4rem);
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    .content h2 {
        margin-top: 2.5rem;
        font-size: clamp(1.8rem, 9vw, 2.6rem);
        line-height: 1.15;
    }

    .content h3 {
        margin-top: 1.8rem;
        font-size: clamp(1.35rem, 7vw, 2rem);
        line-height: 1.2;
    }

    .content p {
        width: 100%;
        font-size: clamp(0.95rem, 4vw, 1.08rem);
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .content img,
    .content video {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 72svh;
        object-fit: contain;
    }

    .caption {
        width: 100%;
        height: auto;
        min-height: 2.5rem;
        margin: 0.5rem 0 2.5rem;
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .content .endSpacer {
        height: 3rem;
    }
}
