/* ========================================
   ARTICLE DETAIL STYLES - MACHUPICCHU SURVIVOR
   ======================================== */

   .container-small {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- Cabecera del Artículo --- */
.article-header {
    margin-bottom: 40px;
}

.article-main-title {
    color: var(--primary-green);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

/* Wrapper para Fecha y Video */
.article-meta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

/* Estilo de la Fecha (Izquierda) */
.article-date-detail {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--primary-orange);
    display: inline-block;
}

.article-date-detail i {
    margin-right: 8px;
    color: var(--primary-orange);
}

/* Estilo del Botón de Video (Derecha) */
.article-video-link a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-icon-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.article-video-link i {
    font-size: 3rem; /* Tamaño grande y resaltante */
    color: #FF0000; /* Rojo YouTube */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.article-video-link a:hover {
    transform: translateY(-3px);
}

.article-video-link a:hover i {
    color: #e60000;
    filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.4));
}

/* --- Cuerpo del Artículo --- */
.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.article-divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 40px 0;
}

/* --- Galería de Fotos --- */
.gallery-title {
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid a.glightbox {
    cursor: zoom-in;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 140, 66, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-grid a.glightbox:hover img {
    transform: scale(1.1);
}

.gallery-grid a.glightbox:hover .gallery-overlay {
    opacity: 1;
}

/* --- Diseño Responsivo --- */
@media (max-width: 992px) {
    .article-main-title {
        font-size: 2.5rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-main-title {
        font-size: 2.2rem;
    }
    .article-meta-wrapper {
        padding-bottom: 15px;
    }
    .article-video-link i {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .article-meta-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .article-main-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid a.glightbox {
        height: 220px;
    }
}