/* Blog post table styling */
.post table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

.post table th,
.post table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.post table th {
    background-color: #091F30;
    color: white;
    font-weight: 600;
}

.post table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.post table tr:hover {
    background-color: #f1f1f1;
}

/* H3 styling - sub-section headers with indented content */
.post h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #091F30;
}

/* Indent content immediately following H3 (up to 4 consecutive elements) */
.post h3 + p,
.post h3 + p + p,
.post h3 + p + p + p,
.post h3 + p + p + p + p,
.post h3 + blockquote,
.post h3 + p + blockquote,
.post h3 + p + p + blockquote {
    margin-left: 1.5rem;
}

/* Responsive stat card grids */
.post .stat-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.post .stat-grid-vs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

/* Mobile responsive styles for styled stat boxes */
@media (max-width: 768px) {
    .post h3 + p,
    .post h3 + p + p,
    .post h3 + p + p + p,
    .post h3 + p + p + p + p,
    .post h3 + blockquote,
    .post h3 + p + blockquote,
    .post h3 + p + p + blockquote {
        margin-left: 0;
    }

    .post .stat-grid-2 {
        grid-template-columns: 1fr;
    }

    .post .stat-grid-vs {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .post .stat-grid-vs > div:nth-child(2) {
        display: none;
    }
}
