/* Blog articles: the same content styles as the ECU guides, for single posts */

.single-post .entry-content { color: var(--mf-text-secondary); font-size: 1.05rem; line-height: 1.8; }
.single-post .entry-content h2 {
    margin: 56px 0 16px;
    font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--mf-font-display);
    letter-spacing: -0.02em;
    color: var(--mf-text-primary);
}
.single-post .entry-content h3 { margin: 32px 0 12px; font: 700 1.25rem/1.3 var(--mf-font-display); color: var(--mf-text-primary); }
.single-post .entry-content p { margin: 0 0 18px; }
.single-post .entry-content strong { color: var(--mf-text-primary); }
.single-post .entry-content a { color: #7badff; text-underline-offset: 3px; }

.single-post .entry-content ul { margin: 0 0 22px; padding: 0; list-style: none; }
.single-post .entry-content ul li { position: relative; padding: 6px 0 6px 28px; }
.single-post .entry-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 19px;
    width: 10px;
    height: 2px;
    background: var(--mf-gradient-primary);
}
.single-post .entry-content ol { margin: 0 0 22px; padding-left: 22px; }
.single-post .entry-content ol li { padding: 4px 0 4px 6px; }
.single-post .entry-content ol li::marker { font: 700 0.95rem var(--mf-font-mono); color: #7badff; }

/* Tables */
.single-post .entry-content .wp-block-table { margin: 28px 0; overflow-x: auto; }
.single-post .entry-content .wp-block-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(123, 173, 255, 0.16);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #121a2c 0%, #0b1120 100%);
    font-size: 0.95rem;
    line-height: 1.5;
}
.single-post .entry-content .wp-block-table th,
.single-post .entry-content .wp-block-table td {
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid rgba(123, 173, 255, 0.1);
    text-align: left;
    vertical-align: top;
}
.single-post .entry-content .wp-block-table thead { border: 0; }
.single-post .entry-content .wp-block-table th {
    background: rgba(59, 130, 246, 0.1);
    font: 600 0.78rem/1.4 var(--mf-font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a9c8ff;
}
.single-post .entry-content .wp-block-table tbody tr:last-child td { border-bottom: 0; }
.single-post .entry-content .wp-block-table td:first-child { color: var(--mf-text-primary); font-weight: 600; }

/* Callout */
.single-post .entry-content .mfx-ecu-note,
.single-post .entry-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border: 1px solid rgba(123, 173, 255, 0.22);
    border-left: 3px solid var(--mf-accent);
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.07);
}
.single-post .entry-content blockquote p:last-child { margin-bottom: 0; }

/* FAQ: details/summary blocks */
.single-post .entry-content details {
    margin: 0 0 12px;
    border: 1px solid rgba(123, 173, 255, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, #121a2c 0%, #0b1120 100%);
    overflow: hidden;
}
.single-post .entry-content summary {
    position: relative;
    padding: 20px 56px 20px 24px;
    list-style: none;
    cursor: pointer;
    font: 600 1.05rem/1.4 var(--mf-font-display);
    color: var(--mf-text-primary);
}
.single-post .entry-content summary::-webkit-details-marker { display: none; }
.single-post .entry-content summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font: 400 1.6rem/1 var(--mf-font);
    color: #7badff;
    transition: transform 0.2s ease;
}
.single-post .entry-content details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.single-post .entry-content details > :not(summary) { margin: 0; padding: 0 24px 20px; }

@media (max-width: 640px) {
    .single-post .entry-content .wp-block-table th,
    .single-post .entry-content .wp-block-table td { padding: 12px 14px; }
}
