/* Trix + Tailwind: restore list markers */
trix-editor ol,
.trix-content ol,
.prose ol {
    list-style: decimal;
    margin-left: 0.75rem;
    padding-left: 1.25rem;
}

trix-editor ul,
.trix-content ul,
.prose ul {
    list-style: disc;
    margin-left: 0.75rem;
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

trix-editor li,
.trix-content li,
.prose li {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}
trix-editor li > ol,
trix-editor li > ul,
.trix-content li > ol,
.trix-content li > ul,
.prose li > ol,
.prose li > ul {
    margin-top: 0.25rem;
}
.prose h2 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.prose h3 {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.prose p {
    line-height: 200%;
}

.prose figure {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
}

.prose a {
    color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}
.prose a span {
    margin-left: 0.75rem;
}

.trix-content h2 { font-size: 1.5rem; line-height: 1.3; font-weight: 700; margin: 1.25rem 0 .5rem; }
.trix-content ol, .trix-content ul { padding-left: 1.25rem; margin: .5rem 0 .75rem; }
.trix-content figure { margin: 1rem 0; }

.prose figcaption,
.trix-content figcaption {
    display: none !important;
}

.v2-blog-body img,
.v2-blog-body video,
.v2-recipe-body img,
.v2-recipe-body video {
    max-width: 100%;
    height: auto;
}

.v2-blog-body iframe,
.v2-recipe-body iframe {
    width: 100%;
    max-width: 100%;
    min-height: 220px;
}

.v2-blog-body table,
.v2-recipe-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.v2-blog-body pre,
.v2-recipe-body pre {
    overflow-x: auto;
}

@media (max-width: 640px) {
    .v2-blog-body,
    .v2-recipe-body {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .v2-blog-body h2,
    .v2-recipe-body h2 {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-top: 1.25rem;
        margin-bottom: 0.65rem;
    }

    .v2-blog-body h3,
    .v2-recipe-body h3 {
        font-size: 1.05rem;
        line-height: 1.45;
    }

    .v2-blog-body p,
    .v2-recipe-body p {
        margin-bottom: 0.85rem;
    }
}
