/* Shared cards and editorial content; page layout remains in Atomic Editor. */
.elementor.elementor .sdh-blog-section .e-paragraph-base { font-family: 'Roboto', Arial, sans-serif; }
.sdh-blog-grid, .sdh-blog-filter, .sdh-blog-results, .sdh-blog-empty,
.sdh-blog-pagination, .sdh-blog-single, .elementor.elementor .sdh-blog-button {
    font-family: 'Roboto', Arial, sans-serif;
    color: #292a2e;
    line-height: 1.6;
}
.sdh-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.sdh-blog-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e8e8e8; box-shadow: 0 4px 20px #00000006; }
.sdh-blog-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #f7f7f7; }
.sdh-blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.sdh-blog-card:hover .sdh-blog-image img { transform: scale(1.035); }
.sdh-blog-placeholder { display: grid; place-items: center; height: 100%; border-bottom: 4px solid #b51616; background: #f7f7f7; color: #b51616; font-weight: 800; font-size: 1.75rem; letter-spacing: .05em; }
.sdh-blog-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.sdh-blog-categories { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .8rem; font: 700 .75rem/1.5 'Roboto', Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.sdh-blog-categories a { color: #b51616; text-decoration: none; }
.sdh-blog-categories a:hover { text-decoration: underline; }
.sdh-blog-card :is(h2, h3) { margin: 0 0 .8rem; font: 700 1.4rem/1.3 'Roboto', Arial, sans-serif; overflow-wrap: anywhere; }
.sdh-blog-card :is(h2, h3) a { color: #292a2e; text-decoration: none; }
.sdh-blog-card :is(h2, h3) a:hover { color: #b51616; }
.sdh-blog-excerpt { margin: 0 0 1.5rem; color: #595959; font-size: .95rem; }
.sdh-blog-byline { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font: 400 .8rem/1.5 'Roboto', Arial, sans-serif; color: #666; }
.sdh-blog-card .sdh-blog-byline { margin-top: auto; padding-top: 1rem; border-top: 1px solid #eee; width: 100%; }
.sdh-blog-byline span { overflow-wrap: anywhere; }
.sdh-blog-byline span::before { content: 'Autor: '; }
.sdh-blog-filter { display: flex; gap: 1.25rem; align-items: flex-end; padding: 1.75rem; background: #f7f7f7; }
.sdh-blog-filter > div { flex: 1; min-width: 0; }
.sdh-blog-filter label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.sdh-blog-filter :is(input, select) { width: 100%; min-height: 3.125rem; margin: 0; border: 1px solid #ccc; border-radius: 0; background: #fff; color: #292a2e; font: inherit; padding: .65rem .85rem; }
.sdh-blog-button, .elementor.elementor .sdh-blog-button { display: inline-block; background: #b51616; color: #fff; border: 1px solid #b51616; border-radius: 0; padding: .8rem 1.6rem; font-weight: 600; font-size: .95rem; line-height: 1.5; text-decoration: none; cursor: pointer; min-height: 3.125rem; }
.sdh-blog-button:hover, .elementor.elementor .sdh-blog-button:hover { background: #921010; color: #fff; border-color: #921010; }
.sdh-blog-results { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; margin: 1.5rem 0; font-size: .875rem; }
.sdh-blog-results p { margin: 0; }
.sdh-blog-results a, .sdh-blog-single a:not(.sdh-blog-button) { color: #b51616; }
.sdh-blog-empty { background: #f7f7f7; padding: 3rem 1.5rem; text-align: center; }
.sdh-blog-empty h2 { font: 700 1.5rem/1.3 'Roboto', Arial, sans-serif; margin: 0 0 1rem; }
.sdh-blog-empty p { margin: 0 0 .5rem; }
.sdh-blog-empty p:first-child { font-weight: 600; }
.sdh-blog-pagination { margin-top: 3rem; }
.sdh-blog-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.sdh-blog-pagination .page-numbers :is(a, span) { display: block; padding: .65rem 1rem; border: 1px solid #ddd; color: #292a2e; text-decoration: none; }
.sdh-blog-pagination .page-numbers .current, .sdh-blog-pagination a:hover { background: #b51616; border-color: #b51616; color: #fff; }
.sdh-blog-lead { font-size: 1.25rem; line-height: 1.7; margin-bottom: 2rem; color: #555; }
.sdh-blog-lead p:last-child { margin-bottom: 0; }
.sdh-blog-featured { margin: 0; }
.sdh-blog-featured img { display: block; width: 100%; height: auto; }
.sdh-blog-featured figcaption { margin-top: .75rem; font-size: .85rem; color: #666; }
.sdh-blog-single .sdh-blog-article-content { font-family: 'Roboto', Arial, sans-serif; font-size: 1.0625rem; line-height: 1.8; overflow-wrap: anywhere; }
.sdh-blog-article-content :is(h2, h3, h4, h5, h6) { font-family: 'Roboto', Arial, sans-serif; line-height: 1.3; font-weight: 700; margin: 2rem 0 1rem; color: #292a2e; }
.sdh-blog-article-content h2 { font-size: 1.875rem; }
.sdh-blog-article-content h3 { font-size: 1.5rem; }
.sdh-blog-article-content :is(p, ul, ol, figure, blockquote) { margin-top: 0; margin-bottom: 1.5rem; }
.sdh-blog-article-content blockquote { margin-left: 0; padding: 1rem 1.5rem; border-left: 3px solid #b51616; background: #f7f7f7; }
.sdh-blog-article-content blockquote p:last-child { margin: 0; }
.sdh-blog-article-content :is(img, video, iframe) { max-width: 100%; }
.sdh-blog-article-content img { height: auto; }
.sdh-blog-article-content .wp-block-table { overflow-x: auto; }
.sdh-blog-article-content a { text-decoration: underline; text-underline-offset: .2em; }
.sdh-blog-grid a:focus-visible, .sdh-blog-filter :focus-visible, .sdh-blog-pagination a:focus-visible,
.sdh-blog-single a:focus-visible, .sdh-blog-results a:focus-visible, .elementor.elementor .sdh-blog-button:focus-visible { outline: 3px solid #b51616; outline-offset: 4px; }
@media (max-width: 1024px) {
    .sdh-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sdh-blog-filter { flex-wrap: wrap; }
}
@media (max-width: 767px) {
    .sdh-blog-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .sdh-blog-filter { flex-direction: column; align-items: stretch; padding: 1.25rem; gap: 1rem; }
    .sdh-blog-card-body { padding: 1.25rem; }
    .sdh-blog-lead { font-size: 1.125rem; }
}
@media (prefers-reduced-motion: reduce) { .sdh-blog-image img { transition: none; } }
