/* Estilos para el plugin Noticias Montaña - joseluispolo.es */
.news-container-plugin {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Noticias no disponibles */
.nm-no-news {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px dashed #dee2e6;
}

.nm-no-news p {
    font-size: 1.1em;
    color: #6c757d;
    margin: 0;
}

/* Artículo de noticia */
.nm-news-article {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    transition: transform 0.2s ease;
}

.nm-news-article:hover {
    transform: translateY(-3px);
}

/* Imagen de noticia */
.nm-news-image {
    flex: 1 1 250px;
    min-width: 250px;
}

.nm-news-image a {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.nm-news-image a:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.nm-news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.nm-news-image a:hover img {
    transform: scale(1.03);
}

/* Contenido de noticia */
.nm-news-content {
    flex: 2 1 350px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

/* Categoría y fecha */
.nm-news-category {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.nm-category-badge {
    background: linear-gradient(135deg, #d39e00, #ffc107);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(211, 158, 0, 0.3);
}

.nm-news-date {
    font-size: 0.85em;
    color: #6c757d;
    font-weight: 500;
}

/* Título */
.nm-news-title {
    margin: 0 0 18px 0;
    font-size: 1.3em;
    line-height: 1.4;
    flex-grow: 1;
}

.nm-news-title a {
    color: #212529;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
    display: inline-block;
}

.nm-news-title a:hover {
    color: #d39e00;
    text-decoration: underline;
}

/* Botones de acción */
.nm-news-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 40px;
}

.nm-btn-read {
    background: transparent;
    color: #d39e00;
    border-color: #d39e00;
}

.nm-btn-read:hover {
    background: #d39e00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(211, 158, 0, 0.3);
}

.nm-btn-whatsapp {
    background: #25D366;
    color: white;
}

.nm-btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Sección del mapa */
.nm-map-section {
    margin-top: 50px;
    padding: 40px 20px;
    background: #333;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nm-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    z-index: 1;
}

.nm-map-content {
    position: relative;
    z-index: 2;
}

.nm-map-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.nm-map-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #e9ecef;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.nm-btn-map {
    background: linear-gradient(135deg, #d39e00, #ffc107);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    min-height: 50px;
}

.nm-btn-map:hover {
    background: linear-gradient(135deg, #ffc107, #d39e00);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.nm-map-note {
    margin-top: 15px;
    font-size: 0.85em;
    color: #adb5bd;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nm-news-article {
        gap: 15px;
    }
    
    .nm-news-image,
    .nm-news-content {
        flex: 1 1 100%;
    }
    
    .nm-news-image {
        min-width: 100%;
    }
    
    .nm-news-image img {
        height: 200px;
    }
    
    .nm-news-title {
        font-size: 1.2em;
    }
    
    .nm-map-title {
        font-size: 1.5em;
    }
    
    .nm-map-description {
        font-size: 1em;
    }
    
    .nm-btn {
        padding: 10px 18px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .news-container-plugin {
        padding: 0 10px;
    }
    
    .nm-news-article {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .nm-news-category {
        gap: 10px;
    }
    
    .nm-news-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nm-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nm-map-section {
        margin-top: 40px;
        padding: 30px 15px;
        border-radius: 12px;
    }
    
    .nm-map-title {
        font-size: 1.3em;
    }
    
    .nm-btn-map {
        padding: 12px 25px;
        font-size: 1em;
    }
}