@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
.nd-container { display: flex; gap: 30px; font-family: Arial, sans-serif; max-width: 100%; box-sizing: border-box; align-items: flex-start; }
.nd-container a { text-decoration: none; color: #111; transition: color 0.3s; }
.nd-container a:hover { color: #555; }

/* Columna izquierda (Principal) */
.nd-main-post { flex: 1; width: 50%; display: flex; flex-direction: column; }
.nd-main-img { line-height: 0; }
.nd-main-img img { width: 100%; height: auto; object-fit: cover; display: block; }
.nd-main-text-block { display: flex; flex-direction: column; justify-content: flex-start; }

/* Columna derecha (Secundarias) - Espacio de 40px entre las 3 */
.nd-side-posts { flex: 1; width: 50%; display: flex; flex-direction: column; gap: 40px; }
.nd-side-item { display: flex; gap: 15px; align-items: flex-start; }
.nd-side-img { width: 35%; flex-shrink: 0; line-height: 0; }
.nd-side-img img { width: 100%; height: auto; object-fit: cover; display: block; }
.nd-side-content { width: 65%; display: flex; flex-direction: column; justify-content: flex-start; }

.nd-main-title, .nd-side-title {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.5px;
}
.nd-main-title { font-size: 24px; margin: 12px 0 5px 0; line-height: 1.1; max-height: 2.2em; }
.nd-side-title { font-size: 16px; margin: 0 0 4px 0; line-height: 1.15; max-height: 2.3em; }
.nd-date { font-size: 12px; color: #888; margin-bottom: 4px; text-transform: capitalize; }

.nd-excerpt {
    font-family: 'Roboto', sans-serif;
    color: #444;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}
.nd-main-post .nd-excerpt { font-size: 16px; line-height: 1.4; -webkit-line-clamp: 3; max-height: 4.2em; }
.nd-side-item .nd-excerpt { font-size: 13px; line-height: 1.3; -webkit-line-clamp: 3; max-height: 3.9em; display: -webkit-box !important; }

@media (max-width: 768px) {
    .nd-container { flex-direction: column; align-items: stretch; }
    .nd-main-post, .nd-side-posts { width: 100%; gap: 15px; }
    .nd-side-item { flex-direction: column; }
    .nd-side-img, .nd-side-content { width: 100%; }
}
