/* BEPS-specific styles */
.post .cont h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: var(--neutral-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Fix for list styles */
.post .cont ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin-bottom: 20px;
}

.post .cont ul ul {
    list-style-type: circle !important;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px !important;
}

.post .cont ol {
    list-style-type: decimal !important;
    padding-left: 20px !important;
    margin-bottom: 20px;
}

.post .cont li {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    display: list-item !important; /* Force list item display */
}

/* Fix nested lists */
.post .cont li > ul,
.post .cont li > ol {
    margin-top: 10px;
    margin-bottom: 5px;
}

.post .cont strong {
    font-weight: 600;
    color: var(--neutral-dark);
}

.cta-button {
    text-align: center;
    margin: 40px 0;
}

.cta-button .btn {
    font-size: 18px;
    padding: 12px 25px;
    background-color: var(--secondary-green);
    transition: all 0.3s ease;
}

.cta-button .btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post .cont p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Blog Post Specific Styles (Overrides for Bootstrap) */

/* Target lists specifically within the blog post content */
.post .cont ul,
.post .cont ol {
    margin-top: 1rem;      /* Restore default top margin */
    margin-bottom: 1rem;   /* Restore default bottom margin */
    padding-left: 40px;    /* Restore default padding */
    list-style-position: inside; /* Ensure bullets/numbers are inside */
}

/* Unordered Lists (Outer Level) */
.post .cont ul {
    list-style-type: disc; /* Default bullet style */
}

/* Nested Unordered Lists (Second Level) */
.post .cont ul > li > ul { /* More specific selector */
    list-style-type: circle; /* Circle for second level */
    margin-top: 0.5rem;     /* Add top margin */
    margin-bottom: 0.5rem;  /* Add bottom margin - THIS WAS MISSING */
}

/* Nested Unordered Lists (Third Level) */
.post .cont ul > li > ul > li > ul { /* Even more specific */
    list-style-type: square; /* Square for third level */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Ordered Lists (Outer Level) */
.post .cont ol {
    list-style-type: decimal; /* Default numbering style */
}

/* Nested Ordered Lists (Second Level) */
.post .cont ol > li > ol {
    list-style-type: lower-alpha; /* Example: a, b, c */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Nested Ordered Lists (Third Level) */
.post .cont ol > li > ol > li > ol {
    list-style-type: lower-roman; /* Example: i, ii, iii */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* List Items */
.post .cont li {
    margin-bottom: 0.5rem; /* Spacing between list items */
    display: list-item;    /* Ensure they display as list items */
} 