/* =============================================
   ESTILOS GENERALES PARA BLOG (ARCHIVE & SINGLE)
   ============================================= */

/* Estructura principal responsive */
a{
    color: var(--primary-color);
}
.blog-archive{
    max-width: 1350px;
    padding: 4rem 4rem;
    margin: 0 auto;
}
.kinti-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.kinti-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kinti-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Elementos comunes */
.card-image {
    overflow: hidden;
    height: 200px;
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kinti-card:hover .card-thumbnail {
    transform: scale(1.05);
}


.card-content a {
    color: var(--primary-color);
}
.card-title {

    line-height: 1.4;
}
.card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--accent-color, #0066cc);
}

/* =============================================
   ESTILOS ESPECÍFICOS PARA SINGLE BLOG POST
   ============================================= */
.single-blog-content{
    display: grid;
    grid-template-columns: 70% 30%;
    max-width: 1350px;
    padding: 2rem 4rem;
    margin: 0 auto;
}
.kinti-single {
   
   padding:2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.entry-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.featured-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.single-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

/* =============================================
   ESTILOS PARA SIDEBAR (RESPONSIVE)
   ============================================= */

.blog-sidebar {
    
    margin-left: 2rem;
}

.sidebar-inner {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Widgets generales */
.widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.2rem;
    margin: 0 0 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent-color, #0066cc);
    color: #333;
    position: relative;
}

/* =============================================
   ESTILOS PARA COMENTARIOS (RESPONSIVE)
   ============================================= */

.comments-area {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 1rem;
    width: 50px;
    height: 50px;
}

.comment-metadata {
    font-size: 0.8rem;
    color: #666;
}

.comment-content {
    margin-left: 66px;
}

.comment-respond {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-reply-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-form .submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--primary-color);
}

/* =============================================
   MEDIA QUERIES PARA RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 1200px) {
    /* Layout general para pantallas medianas */
    .content-area {
        display: flex;
        flex-direction: column;
    }
    
    .blog-sidebar {
        max-width: 100%;
        margin-left: 0;
        margin-top: 3rem;
    }
    

}

@media (max-width: 768px) {
    .single-blog-content{
        display: flex;
        flex-direction: column;
     
        padding: 2rem 20px;
     
    }
    /* Ajustes para tablets */
    .blog-archive{
        padding: 2rem 20px;
    }
    .kinti-single {
        padding: 1.5rem;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .entry-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .comment-content {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    /* Ajustes para móviles */
    .kinti-blog-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-inner {
        grid-template-columns: 1fr;
    }
    
    .kinti-single {
        padding: 1rem;
        border-radius: 0;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
    
    .comments-title,
    .comment-reply-title {
        font-size: 1.3rem;
    }
    
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-author .avatar {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .comment-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    /* Ajustes extra para móviles pequeños */
    .card-content {
        padding: 1rem;
    }
    
    .widget {
        padding: 1rem;
    }
    
    .comment {
        padding: 1rem;
    }
    
    .comment-respond {
        padding: 1rem;
    }
}