/* Typography for article bodies stored in tb_contents.full_text.
   The original Nuxt _id_ chunk only sets the background/font of .cms-content;
   the HTML saved from the CMS uses bare <p>, <h1>, <img> tags with no
   utility classes, so Tailwind preflight collapses headings and leaves
   images at their intrinsic width. */

.cms-content[data-v-de6f4785] {
    font-family: 'Noto Sans Thai', sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: #374151;
}

/* CMS content contains inline font-size/line-height styles, so override them. */
.cms-content[data-v-de6f4785] p,
.cms-content[data-v-de6f4785] li {
    font-family: 'Noto Sans Thai', sans-serif !important;
    font-size: 1.0625rem !important;
    line-height: 1.85 !important;
    margin: 0 0 1rem;
}

.cms-content[data-v-de6f4785] h1,
.cms-content[data-v-de6f4785] h2,
.cms-content[data-v-de6f4785] h3,
.cms-content[data-v-de6f4785] h4 {
    height: auto !important;
    font-family: 'Noto Sans Thai', sans-serif !important;
    font-weight: 700;
    line-height: 1.4;
    margin: 1.5rem 0 0.75rem;
}

.cms-content[data-v-de6f4785] h1 { font-size: 2rem !important; }
.cms-content[data-v-de6f4785] h2 { font-size: 1.75rem !important; }
.cms-content[data-v-de6f4785] h3 { font-size: 1.5rem !important; }
.cms-content[data-v-de6f4785] h4 { font-size: 1.25rem !important; }

.cms-content[data-v-de6f4785] img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 1.5rem auto;
    border-radius: 1rem;
}

.cms-content[data-v-de6f4785] figure,
.cms-content[data-v-de6f4785] .media {
    margin: 1.5rem 0;
    max-width: 100%;
}

.cms-content[data-v-de6f4785] .text-huge {
    font-size: 1.75rem;
    font-weight: 700;
}

.cms-content[data-v-de6f4785] a {
    color: #2B6B37;
    text-decoration: underline;
}

.cms-content[data-v-de6f4785] ul,
.cms-content[data-v-de6f4785] ol {
    padding-left: 1.5rem;
    margin: 0 0 1rem;
    list-style: disc;
}

.cms-content[data-v-de6f4785] blockquote {
    border-left: 4px solid #69AD76;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #4B5563;
}

.cms-content[data-v-de6f4785] iframe {
    max-width: 100%;
    border-radius: 1rem;
}
