/* Custom Typography Styles for Entry Content */
.entry-content {
    font-family: 'Outfit', 'Noto Sans Thai', sans-serif;
    color: #cbd5e1;
    /* text-slate-300 */
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 1em;
    line-height: 1.2;

    /* Bet Button Style (Darker Green) */
    background-color: #006847;
    border: none;
    border-radius: 8px;
    /* Matching the rounded look */
    padding: 0.5em 1.5em;
    width: fit-content;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Prevent button style if heading contains an image */
.entry-content h1:has(img),
.entry-content h2:has(img),
.entry-content h3:has(img),
.entry-content h4:has(img),
.entry-content h5:has(img),
.entry-content h6:has(img) {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    margin-top: 1.5em;
    /* Keep margins */
    margin-bottom: 1em;
}

/* Ensure headings wrap properly if too long on mobile */
@media (max-width: 640px) {

    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6 {
        width: 100%;
        /* Full width on mobile to avoid overflow */
        box-sizing: border-box;
    }
}

.entry-content h1 {
    font-size: 2.5rem;
}

/* text-4xl */
.entry-content h2 {
    font-size: 2rem;
}

/* text-3xl */
.entry-content h3 {
    font-size: 1.75rem;
}

/* text-2xl */
.entry-content h4 {
    font-size: 1.5rem;
}

/* text-xl */

/* Paragraphs */
.entry-content p {
    margin-bottom: 1.5em;
    font-size: 1.125rem;
    /* text-lg */
    line-height: 1.8;
}

@media (min-width: 768px) {
    .entry-content p {
        font-size: 1.25rem;
        /* text-xl on desktop */
    }
}

/* Lists */
.entry-content ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.entry-content ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.entry-content li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

/* Links */
.entry-content a {
    color: #00e701;
    /* Primary Green */
    text-decoration: underline;
}

.entry-content a:hover {
    color: #1fff20;
}

/* Blockquotes */
.entry-content blockquote {
    border-left: 4px solid #00e701;
    padding-left: 1rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #94a3b8;
}

/* Images */
.entry-content img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}