.blog-panel {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.blog-panel:hover {
    transform: translateY(-5px);
}


.blog-panel img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}


.blog-panel-content {
    padding: 20px;
    color: var(--txt-color);
}


.blog-panel-title {
    margin-top: 0;
    font-size: 1.5em;
}


.blog-panel-category {
    font-size: 0.9em;
    margin-bottom: 10px;
    display: block;
}


.blog-panel-excerpt {
    line-height: 1.4;
}

#no-results-message {
    display:none; 
    text-align:center; 
    color:var(--text-color); 
    margin:2em 0; 
    font-size:1.2em;
}

.blog-panel-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


.blog-panel-link:hover {
    background-color: #0056b3;
}


.blog-search {
    margin-bottom: 20px;
}


.blog-search input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}


.blog-categories {
    margin-bottom: 20px;
}


.blog-categories ul {
    list-style: none;
    padding: 0;
}


.blog-categories li {
    margin-bottom: 5px;
}


.blog-categories a {
    color: #007bff;
    text-decoration: none;
}


.blog-categories a:hover {
    text-decoration: underline;
}


.blog-sidebar {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Panel clickeable y profesional */
.blog-panel-clickable {
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative;
}
.blog-panel-clickable:hover {
    box-shadow: 0 6px 24px rgba(70, 56, 194, 0.13), 0 2px 4px rgba(0,0,0,0.08);
    transform: translateY(-7px) scale(1.01);
    z-index: 2;
}
.blog-panel-clickable .blog-panel-link {
    pointer-events: none;
}

/* Efecto de foco accesible */
.blog-panel-clickable:focus {
    outline: 3px solid #4a90e2;
    outline-offset: 2px;
}

/* =============================
   ESTILOS GENERALES PARA ARTÍCULOS DE BLOG
   ============================= */

.blog-article {
    width: 80%;
    margin: 40px auto;
    padding: 32px 24px;
    background: var(--cta-bg-color, #fafaff);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(100,56,194,0.07);
    border-left: 4px solid var(--primary-color, #4a90e2);
    color: var(--white-color, #222);
    font-size: 1.08rem;
    line-height: 1.8;
}

.blog-article h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color, #4a90e2);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.blog-article h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--txt-color, #333);
    border-bottom: 2px solid var(--primary-color, #4a90e2);
    padding-bottom: 7px;
    font-weight: 600;
}

.blog-article h3 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color, #7b8fa6);
    font-weight: 600;
}

.blog-article p {
    margin-bottom: 1.2em;
    color: var(--white-color, #222);
    text-align: left;
}

.blog-article ul,
.blog-article ol {
    margin-bottom: 1.2em;
    padding-left: 1.5em;
}

.blog-article ul {
    list-style: disc inside;
}

.blog-article ol {
    list-style: decimal inside;
}

.blog-article li {
    margin-bottom: 0.7em;
    line-height: 1.7;
    color: var(--white-color, #222);
}

.blog-article a {
    color: var(--primary-color, #4a90e2);
    text-decoration: underline;
    transition: color 0.2s;
    word-break: break-word;
}

.blog-article a:hover {
    color: var(--hover-color, #3a78c2);
    text-decoration: underline wavy;
}

.blog-article blockquote {
    border-left: 4px solid var(--primary-color, #4a90e2);
    background: rgba(100,56,194,0.07);
    margin: 1.5em 0;
    padding: 1em 1.5em;
    color: var(--secondary-color, #7b8fa6);
    font-style: italic;
    border-radius: 8px;
}

.blog-article img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2em auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-article strong {
    color: var(--txt-color, #333);
    font-weight: 600;
}

.blog-article em {
    color: var(--secondary-color, #7b8fa6);
    font-style: italic;
    opacity: 0.85;
}

.blog-article footer {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1.5px solid var(--border-color, #cccccc);
    color: var(--secondary-color, #7b8fa6);
    font-size: 0.98em;
}

@media (max-width: 700px) {
    .blog-article {
        padding: 12px 4px;
    }
    .blog-article h1 {
        font-size: 1.3rem;
    }
    .blog-article h2 {
        font-size: 1.1rem;
    }
}