/* Estilos para la página web de Cibercultura - Universidad de Sevilla */

/* Estilos para el botón de volver */
.back-to-home {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #84113c;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.back-to-home:hover {
    background-color: #a0134a;
    text-decoration: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    color: #333;
    line-height: 1.6;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

header.newspaper-header {
    background: linear-gradient(135deg, #84113c 0%, #a0134a 100%);
    color: #FFFFFF;
    padding: 14px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.newspaper-header .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95em;
}

.newspaper-header .newspaper-name {
    text-align: center;
    padding: 8px 0;
}

.newspaper-header .newspaper-name h1 {
    margin: 0;
    font-family: 'Crimson Text', serif;
    font-size: 2.2em;
    letter-spacing: 1px;
}

.newspaper-header .tagline {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Cabecera blanca para la página de la práctica 2 */
.practica2-page header.newspaper-header {
    background: #ffffff;
    color: #222;
    border-bottom: 1px solid #e6e6e6;
}

.practica2-page header.newspaper-header .home-button {
    background: rgba(0,0,0,0.04);
    color: #222;
    border: 1px solid rgba(0,0,0,0.06);
}

.practica2-page header.newspaper-header .ticker-label,
.practica2-page header.newspaper-header .ticker-item {
    color: #333;
}

/* For practica2 ensure the ticker is dark and text is white for readability */
.practica2-page .news-ticker {
    background: #111;Lo
    color: #fff;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.practica2-page .news-ticker .ticker-label,
.practica2-page .news-ticker .ticker-item {
    color: #fff !important;
}

/* Estilos para el header de la Universidad (usado en index.html) */
.university-header {
    background: #5b102a; /* color corporativo oscuro */
    color: #fff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.university-header .logo {
    max-height: 56px;
    width: auto;
}

.university-header #page-title {
    margin: 0;
    font-size: 1.2em;
}

.university-header #page-subtitle {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

.university-header .home-button {
    position: static;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.home-button {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #FFFFFF;
    font-size: 1.2em;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: #FFFFFF;
}

.logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h1, h2 {
    margin: 5px 0;
    font-weight: 300;
}

main {
    max-width: 1100px;
    margin: 24px auto;
    padding: 18px 18px 60px 18px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fafafa;
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

section:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero {
    text-align: center;
    background: linear-gradient(135deg, #7a0f3a 0%, #9a1648 50%);
    color: white;
    padding: 36px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.hero h3 { color: white; margin-bottom: 10px; }
.hero p { font-size: 1.05em; margin: 0; opacity: 0.95; }

/* Sección Memoria Técnica */
.memoria-tecnica {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.memoria-tecnica h3 {
    color: #84113c;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8em;
}

.proyecto-principal {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.proyecto-principal h4 {
    color: #84113c;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.proyecto-titulo {
    font-size: 1.4em;
    font-weight: bold;
    color: #495057;
    margin: 15px 0;
    line-height: 1.4;
    font-style: italic;
}

.proyecto-desc {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

.memoria-actions {
    text-align: center;
}

.memoria-btn {
    background: linear-gradient(135deg, #84113c 0%, #a0134a 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(132, 17, 60, 0.3);
}

.memoria-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(132, 17, 60, 0.4);

/* Botón genérico */
.boton {
    background: linear-gradient(135deg, #6f1436, #9b1d47);
    color: #fff;
    padding: 10px 18px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.boton:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }

/* Actividades - botones grandes y responsive */
.actividades .botones.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    align-items: stretch;
}

.activity-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: linear-gradient(180deg, #fff 0%, #f6f6f6 100%);
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e6e6e6;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.activity-button .icon {
    font-size: 1.6rem;
    color: #84113c;
    margin-bottom: 10px;
}

.activity-button .label {
    font-weight: 600;
}

.activity-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.activity-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Primary variant for available activities */
.activity-button.primary {
    background: linear-gradient(180deg, #6f1436 0%, #8e1b42 100%);
    color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 22px rgba(139,27,66,0.14);
}

.activity-button.primary .icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
}

.activity-button.primary .label {
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
}

.activity-button.primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(139,27,66,0.18);
}

/* Make the card slightly larger */
.actividades .botones.grid .activity-button {
    padding: 22px;
    min-height: 110px;
}

/* Responsive tweaks */
@media (max-width: 520px) {
    .activity-button .icon { width: 52px; height: 52px; font-size: 1.1rem; }
    .activity-button.primary { padding: 16px; }
}
    color: white;
}

.memoria-btn i {
    font-size: 1.2em;
}

.proyecto-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    margin-left: 30px;
}

.proyecto-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.proyecto-btn i {
    font-size: 1.2em;
}

/* ============================================
   NUEVO DISEÑO PROYECTO - ESTILO MODERNO
   ============================================ */

/* Variables de diseño */
:root {
    --color-primary: #2d3436;
    --color-secondary: #fd79a8;
    --color-accent: #74b9ff;
    --color-success: #55efc4;
    --color-warning: #ffeaa7;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
}

/* Hero rediseñado */
.hero {
    background: var(--gradient-1);
    color: white;
    padding: 80px 40px;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: rotateBackground 30s linear infinite;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h2 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.4em;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.author-info {
    margin-top: 30px;
    font-size: 1em;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Índice moderno con cards flotantes */
.indice-section {
    background: transparent;
    border: none;
    padding: 0;
    margin: 60px 0;
}

.indice-section h3 {
    text-align: center;
    font-size: 2.5em;
    color: var(--color-primary);
    margin-bottom: 40px;
    font-weight: 700;
}

.indice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.indice-item {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
}

.indice-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.indice-num {
    background: var(--gradient-2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.3);
}

.indice-text {
    font-size: 1em;
    font-weight: 600;
    color: var(--color-primary);
}

/* Secciones del proyecto - Diseño zigzag */
.proyecto-seccion {
    position: relative;
    margin: 80px 0;
    padding: 60px 40px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    overflow: visible;
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
}

.proyecto-seccion:nth-child(even) {
    border-left-color: var(--color-secondary);
    background: linear-gradient(135deg, #ffffff 0%, #fef5fb 100%);
}

.proyecto-seccion:nth-child(odd) {
    border-left-color: var(--color-accent);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.proyecto-seccion:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.seccion-numero {
    position: absolute;
    top: -30px;
    left: 40px;
    font-size: 5em;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    z-index: 0;
}

.proyecto-seccion h3 {
    position: relative;
    color: var(--color-primary);
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 700;
    z-index: 1;
}

.proyecto-seccion h3 i {
    margin-right: 15px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Media container mejorado */
.media-container {
    margin: 40px 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.media-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.proyecto-imagen {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.media-container:hover .proyecto-imagen {
    transform: scale(1.05);
}

.caption {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 0.95em;
    text-align: center;
    font-weight: 500;
}

/* Objetivos con iconos grandes */
.objetivos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.objetivo-item {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.objetivo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--color-success);
}

.objetivo-item i {
    color: var(--color-success);
    font-size: 2em;
    margin-right: 20px;
    min-width: 40px;
}

.objetivo-item p {
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* Marco teórico con cards elevadas */
.marco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.marco-item {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    overflow: hidden;
    border: 3px solid transparent;
}

.marco-item:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.marco-imagen {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.marco-item:hover .marco-imagen {
    transform: scale(1.1);
}

.marco-item h4 {
    color: var(--color-primary);
    margin: 20px 20px 10px;
    font-size: 1.3em;
    font-weight: 700;
}

.marco-item p {
    margin: 0 20px 20px;
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
}

/* Metodología con iconos circulares */
.metodologia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.metodologia-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    border-radius: 25px;
    padding: 35px 25px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.metodologia-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.metodologia-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(74, 172, 254, 0.3);
}

.metodologia-icon i {
    font-size: 2em;
    color: white;
}

.metodologia-content h4 {
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.2em;
}

.metodologia-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Organización del equipo - REDISEÑO COMPLETO */
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.miembro-equipo {
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.miembro-equipo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.miembro-equipo:hover::before {
    opacity: 0.05;
}

.miembro-equipo:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.equipo-foto {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid transparent;
    background: var(--gradient-2);
    padding: 3px;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.miembro-equipo:hover .equipo-foto {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.miembro-equipo h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 1.3em;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.equipo-rol {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.equipo-redes {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.red-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border-radius: 50%;
    color: var(--color-primary);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.red-social:hover {
    background: var(--gradient-1);
    color: white;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Público objetivo - REDISEÑO COMPLETO */
.target-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .target-container {
        grid-template-columns: 1fr;
    }
}

.target-visual {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.target-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.target-visual:hover::before {
    opacity: 0.1;
}

.target-imagen {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.target-visual:hover .target-imagen {
    transform: scale(1.1);
}

.target-info {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.target-info:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.target-info p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
    font-size: 1.05em;
}

.target-info p:last-child {
    margin-bottom: 0;
}

/* Canales de difusión - REDISEÑO COMPLETO */
.destacado {
    font-size: 1.2em;
    font-weight: 300;
    line-height: 2;
    color: #555;
    padding: 30px;
    margin: 40px 0;
    background: white;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    border-left: 6px solid var(--color-secondary);
}

.canales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.canal-item {
    display: flex;
    background: white;
    border-radius: 25px;
    padding: 30px 25px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.canal-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.canal-item:hover::before {
    transform: scaleY(1);
}

.canal-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.canal-icon {
    color: var(--color-secondary);
    font-size: 2.5em;
    margin-right: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.canal-item:hover .canal-icon {
    transform: scale(1.2) rotate(10deg);
}

.canal-content {
    flex-grow: 1;
}

.canal-content h4 {
    color: var(--color-primary);
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 700;
}

.canal-content p {
    margin: 0;
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

.canal-content a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.canal-content a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Comparativa de formatos - REDISEÑO COMPLETO */
.formato-comparacion {
    background: white;
    border-radius: 30px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow-soft);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.formato-comparacion:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
}

.formato-comparacion h4 {
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8em;
    font-weight: 800;
}

.formatos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .formatos-grid {
        grid-template-columns: 1fr;
    }
}

.formato-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.formato-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.formato-item h5 {
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--color-primary);
}

.formato-16-9 {
    background: var(--gradient-2);
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.formato-item:hover .formato-16-9 {
    transform: scale(1.05);
}

.formato-9-16 {
    background: var(--gradient-3);
    width: 50%;
    height: 0;
    padding-bottom: 88.9%;
    margin: 0 auto 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.formato-item:hover .formato-9-16 {
    transform: scale(1.05);
}

.formato-item ul {
    text-align: left;
    padding-left: 25px;
}

.formato-item li {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

/* Resultados esperados - REDISEÑO COMPLETO */
.resultados-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.resultado-item {
    display: flex;
    background: white;
    border-radius: 25px;
    padding: 30px 25px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.resultado-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.resultado-item:hover::after {
    opacity: 0.05;
}

.resultado-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.resultado-icono {
    background: var(--gradient-4);
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    margin-right: 20px;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 8px 20px rgba(253, 121, 168, 0.4);
    transition: all 0.3s ease;
}

.resultado-item:hover .resultado-icono {
    transform: scale(1.15) rotate(10deg);
}

.resultado-contenido {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.resultado-contenido h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 1.2em;
    font-weight: 700;
}

.resultado-contenido p {
    margin: 0;
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

/* Contenido audiovisual - REDISEÑO COMPLETO */
.video-placeholder {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.video-placeholder:hover .video-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-overlay i {
    font-size: 4em;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

.video-placeholder:hover .video-overlay i {
    transform: scale(1.2);
}

.audiovisual-elementos {
    background: white;
    border-radius: 30px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow-soft);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.audiovisual-elementos:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
}

.audiovisual-elementos h4 {
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8em;
    font-weight: 800;
}

.elementos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    text-align: center;
}

.elemento-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px 25px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.elemento-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
}

.elemento-item i {
    font-size: 2.5em;
    color: var(--color-secondary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.elemento-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.elemento-item h5 {
    margin-bottom: 10px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1em;
}

.elemento-item p {
    font-size: 0.9em;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Conclusiones - REDISEÑO COMPLETO */
.conclusiones-container {
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-soft);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.conclusiones-container:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
}

.conclusiones-destacado {
    font-size: 1.6em;
    font-weight: 300;
    color: var(--color-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
}

.cita-destacada {
    font-size: 1.3em;
    font-style: italic;
    color: #666;
    border-left: 6px solid var(--color-secondary);
    padding: 25px 30px;
    margin: 40px 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.conclusiones-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
}

.tag {
    background: var(--gradient-4);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95em;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(253, 121, 168, 0.5);
}

/* Cronograma - REDISEÑO COMPLETO */
.cronograma-tabla {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-top: 40px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.cronograma-tabla:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
}

.cronograma-fila {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .cronograma-fila {
        grid-template-columns: 1fr;
    }
}

.cronograma-header {
    background: var(--gradient-1);
    color: white;
    font-weight: 800;
    font-size: 1.1em;
}

.cronograma-col {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.cronograma-header .cronograma-col {
    border-color: rgba(255, 255, 255, 0.2);
}

.cronograma-fila:last-child .cronograma-col {
    border-bottom: none;
}

.cronograma-fila:nth-child(even) {
    background: #f8f9fa;
}

.cronograma-fila:not(.cronograma-header):hover {
    background: linear-gradient(90deg, #ffffff 0%, #f8f9fa 100%);
    transform: translateX(10px);
}

.estado {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.estado:hover {
    transform: scale(1.1);
}

.estado.completado {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.estado.en-proceso {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.estado.pendiente {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
}

/* Línea de tiempo cronograma - REDISEÑO COMPLETO */
.cronograma-linea-tiempo {
    position: relative;
    height: 120px;
    margin: 60px 0 30px;
}

.tiempo-linea {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-50%);
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.tiempo-progreso {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-2);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(253, 121, 168, 0.4);
    transition: width 1s ease;
}

.tiempo-punto {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #e9ecef;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.tiempo-punto:hover {
    transform: translateY(-50%) scale(1.3);
}

.tiempo-punto.completado {
    background: var(--gradient-1);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.tiempo-punto.actual {
    background: var(--gradient-4);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
}

.tiempo-etiqueta {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.9em;
    color: var(--color-primary);
    font-weight: 600;
}

/* Referencias bibliográficas - REDISEÑO COMPLETO */
.referencias-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.referencia-item {
    background: white;
    padding: 25px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.referencia-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 6em;
    color: rgba(102, 126, 234, 0.05);
    font-family: Georgia, serif;
    line-height: 0.8;
}

.referencia-item:hover {
    transform: translateX(15px);
    box-shadow: var(--shadow-hover);
    border-left-width: 8px;
}

.referencia-item p {
    margin: 0;
    line-height: 1.8;
    color: #666;
    position: relative;
    z-index: 1;
}

.referencia-item em {
    font-style: italic;
    color: var(--color-secondary);
    font-weight: 600;
}

/* Anexos - REDISEÑO COMPLETO */
.anexos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.anexo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.anexo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.anexo-item:hover::before {
    opacity: 0.05;
}

.anexo-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
    color: var(--color-secondary);
}

.anexo-icono {
    background: var(--gradient-3);
    color: white;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(74, 172, 254, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.anexo-item:hover .anexo-icono {
    transform: scale(1.2) rotate(360deg);
}

.anexo-texto {
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Navegación final - REDISEÑO COMPLETO */
.navegacion-final {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    gap: 20px;
}

@media (max-width: 768px) {
    .navegacion-final {
        flex-direction: column;
        gap: 20px;
    }
}

.volver-boton {
    background: var(--gradient-1);
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.volver-boton:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.pdf-boton {
    background: var(--gradient-4);
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(253, 121, 168, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pdf-boton:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(253, 121, 168, 0.6);
}

/* Footer extendido - REDISEÑO COMPLETO */
footer {
    background: var(--gradient-1);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
    margin-top: 80px;
    box-shadow: 0 -5px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateBackground 30s linear infinite;
}

footer p {
    margin: 15px 0;
    font-size: 1em;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.footer-links {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 15px;
    font-weight: 600;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
    transform: translateY(-2px);
}

/* Variables CSS para tema dinámico */
:root {
    --primary-color: #84113c;
    --secondary-color: #a0134a;
    --accent-color: #c01554;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --card-bg: #fff;
    --shadow: rgba(0,0,0,0.1);
}

/* Animaciones avanzadas */
@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Layout tipo React */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(132, 17, 60, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(132, 17, 60, 0.2);
}

.card:nth-child(odd) {
    animation: slideInLeft 0.8s ease-out;
}

.card:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.image-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.05);
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.image-item:hover img {
    filter: brightness(1.1) contrast(1.1);
}

.video-embed {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    margin: 20px 0;
}

.video-embed iframe {
    width: 100%;
    height: 315px;
    border: none;
}

.audio-player {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    color: white;
}

.audio-player audio {
    width: 100%;
    margin-top: 10px;
}

.related-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.video-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.video-info {
    padding: 15px;
}

.video-info h4 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.video-info p {
    color: var(--text-color);
    font-size: 0.9em;
    margin: 0;
}

/* Tema distópico creativo para Práctica 1 */
.practica1-page {
    --primary-color: #ff4444;
    --secondary-color: #cc3333;
    --accent-color: #aa2222;
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --shadow: rgba(255,68,68,0.1);
    --line-color: #333333;
}

.practica1-page body {
    background: linear-gradient(135deg, hsl(220, 70%, 15%), hsl(280, 60%, 20%), hsl(240, 50%, 25%));
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    transition: background 0.3s ease;
    min-height: 100vh;
}

.practica1-page header {
    background: linear-gradient(135deg, #000000, #333333);
    border-bottom: 2px solid #444444;
}

.practica1-page h3 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.practica1-page h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

/* Layout Simple sin Timeline */
.practica1-page main {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
}

.timeline-item {
    position: relative;
    margin: 60px 0;
    clear: both;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.timeline-content img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    width: 100%;
    height: auto;
    cursor: pointer;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
    display: block;
}

.timeline-content img:hover {
    transform: scale(1.02) translateZ(0);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}

.timeline-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Asegurar que los contenedores no limiten el ancho visual */
.timeline-item .timeline-content > div[style*="text-align: center"] {
    margin-left: 0;
    margin-right: 0;
}

/* Galería de distopías */
.dystopia-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.dystopia-gallery > div {
    text-align: center;
}

.dystopia-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dystopia-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.dystopia-gallery p {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive para galería */
@media (max-width: 768px) {
    .dystopia-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Imágenes de la página en general: full-bleed dentro del flujo */
main img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Elementos decorativos */
.decorative-line {
    position: absolute;
    background: linear-gradient(45deg, transparent, var(--primary-color), transparent);
    height: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.floating-icon {
    position: absolute;
    font-size: 2em;
    color: rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Secciones especiales */
.practica1-page .hero-section {
    text-align: center;
    padding: 120px 40px;
    background: linear-gradient(135deg, #84113c 0%, #a0134a 30%, #c01554 60%, #a0134a 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.practica1-page .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,215,0,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.practica1-page .hero-section h3 {
    font-size: 2.8em;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5);
    margin-bottom: 25px;
    letter-spacing: 1px;
    -webkit-text-fill-color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

@keyframes textGlow {
    from { text-shadow: 3px 3px 6px rgba(0,0,0,0.8), 0 0 20px rgba(255,255,255,0.3); }
    to { text-shadow: 3px 3px 6px rgba(0,0,0,0.8), 0 0 30px rgba(255,255,255,0.6); }
}

.practica1-page .hero-section a {
    color: #ffffff !important;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.25);
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.practica1-page .hero-section p {
    font-size: 1.3em;
    color: #ffffff;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.6;
}

.practica1-page .hero-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    border-radius: 50%;
    opacity: 0.6;
    animation: floatDecorative 4s ease-in-out infinite;
}

@keyframes floatDecorative {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Controles del hero */
.hero-controls {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Botón TTS */
.tts-button {
    background: rgba(255, 255, 255, 0.9);
    color: #84113c;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.tts-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.tts-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tts-button.playing {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: white;
    animation: pulse 1.5s infinite;
}

.tts-button i {
    font-size: 1.2em;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(255, 107, 107, 0.8); }
    100% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
}

.practica1-page .image-section,
.practica1-page .video-main,
.practica1-page .video-section,
.practica1-page .audio-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    backdrop-filter: blur(10px);
}

/* Animaciones de scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Infografías y elementos visuales */
.infografia-dual {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 20px;
    margin: 30px 0;
}

.vision-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    margin: 0 20px;
    transition: all 0.3s ease;
    color: #333;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.vision-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vision-card.huxley {
    border-color: #ff9999;
}

.vision-card.orwell {
    border-color: #4ecdc4;
}

.vision-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.highlight {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin: 10px 0;
    font-weight: bold;
}

.quote {
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-top: 15px;
    color: #666;
    background: rgba(255,255,255,0.9);
    padding: 10px 15px;
    border-radius: 5px;
}

.comparison-table {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 20px;
    margin: 30px 0;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 35px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.3);
}

.person-header {
    margin-bottom: 20px;
}

.person-header i {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.8em;
    color: #666;
}

.temas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
    padding: 0 20px;
}

.tema-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.3);
}

.tema-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.tema-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tema-card h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.distopia-infografia {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin: 20px 0;
}

.china-fact, .social-fact {
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    min-width: 250px;
    max-width: 350px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.fact-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.fact-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.fact-label {
    font-size: 1.2em;
    margin: 10px 0;
}

.fact-desc {
    color: #666;
    font-style: italic;
}

.distopia-comparison {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 10px;
    margin: 15px 0;
}

.distopia-side {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.3);
}

.distopia-side h5 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.distopia-side ul {
    list-style: none;
    padding: 0;
}

.distopia-side li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.distopia-side li:last-child {
    border-bottom: none;
}

/* Estilos para Práctica 2 - Portada de periódico LA VERDAD - Estilo New York Times */
.practica2-page {
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.4;
    font-size: 16px;
}

.practica2-page body {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* Header del periódico - Estilo NYT */
.newspaper-header {
    background: #ffffff;
    border-bottom: 1px solid #cccccc;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666666;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
}

.date-weather {
    display: flex;
    gap: 15px;
}

.header-actions {
    font-size: 12px;
    z-index: 10;
    position: relative;
}

.home-button {
    color: #666666;
    text-decoration: none;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    font-size: 12px;
    padding: 8px 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.home-button:hover {
    background: #f5f5f5;
    color: #000000;
}

.newspaper-name {
    text-align: center;
    margin: 15px 0;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    padding: 15px 0;
}

.newspaper-name h1 {
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
    font-size: 48px;
    font-weight: normal;
    margin: 0;
    color: #000000;
    letter-spacing: 1px;
}

.tagline {
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
    font-style: italic;
    font-size: 14px;
    color: #666666;
    margin: 8px 0 0 0;
    font-weight: normal;
}

/* News Ticker - Estilo NYT */
.news-ticker {
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    margin: 15px -20px;
    height: 35px;
    overflow: hidden;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
}

.ticker-label {
    background: #ff0000;
    color: #ffffff;
    padding: 8px 15px;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.ticker-content {
    display: flex;
    animation: scroll-ticker 30s linear infinite;
    white-space: nowrap;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    font-size: 12px;
    position: absolute;
    left: 140px;
    top: 0;
    height: 100%;
    align-items: center;
}

.ticker-item {
    padding: 0 30px;
    white-space: nowrap;
    font-weight: 400;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    color: #666666;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
}

.edition-info {
    display: flex;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #000000;
}

/* Contenido principal - Layout NYT */
.newspaper-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

/* Noticia principal - Estilo NYT */
.main-story {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 30px;
}

.main-story-content {
    display: flex;
    flex-direction: column;
}

.main-story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666666;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-label {
    background: none;
    color: #666666;
    padding: 0;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.author {
    color: #666666;
    font-style: normal;
    font-size: 12px;
}

.main-headline {
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
    font-size: 36px;
    font-weight: normal;
    line-height: 1.1;
    margin: 15px 0 15px 0;
    color: #000000;
    letter-spacing: -0.5px;
}

.main-subheadline {
    font-size: 18px;
    color: #333333;
    font-weight: normal;
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
}

.main-story-body {
    flex-grow: 1;
}

.main-story-body p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    text-align: left;
}

.main-story-image {
    display: flex;
    flex-direction: column;
}

.main-story-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: none;
}

.image-caption {
    font-size: 12px;
    color: #666666;
    margin-top: 8px;
    font-style: normal;
    text-align: left;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
}

/* Grid de noticias - Estilo NYT */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.news-item {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.news-image {
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: none;
}

.news-content {
    padding: 0;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    color: #666666;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-content .section-label {
    background: none;
    color: #666666;
    padding: 0;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.news-content h3 {
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 10px 0;
    line-height: 1.2;
    color: #000000;
    letter-spacing: -0.3px;
}

.news-content p {
    color: #333333;
    line-height: 1.4;
    margin-bottom: 10px;
    font-size: 14px;
}

.read-more {
    margin-top: 8px;
}

.read-more-link {
    color: #000000;
    text-decoration: none;
    font-weight: normal;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color 0.2s ease;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more-link:hover {
    color: #666666;
}

/* Nuevas secciones de noticias con diseños variados - Estilo NYT */
.featured-news {
    margin: 40px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    border-top: 3px solid #000000;
    padding-top: 30px;
}

/* Noticia destacada con caja resaltada */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    border: 2px solid #000000;
    padding: 25px;
    background: #ffffff;
}

.featured-label {
    background: #ff0000;
    color: #ffffff;
    padding: 4px 12px;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 10px;
}

.featured-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666666;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
}

.featured-meta .time {
    color: #999999;
    font-style: italic;
}

.featured-headline {
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
    font-size: 28px;
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 15px 0;
    color: #000000;
}

.featured-lead {
    font-size: 18px;
    color: #333333;
    font-weight: normal;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
}

.featured-body {
    margin-bottom: 15px;
}

.featured-body p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}

.featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Noticia en sidebar */
.sidebar-news {
    border-left: 1px solid #cccccc;
    padding-left: 25px;
}

.sidebar-header {
    margin-bottom: 15px;
}

.sidebar-label {
    background: #000000;
    color: #ffffff;
    padding: 4px 12px;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 8px;
}

.sidebar-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    color: #666666;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
}

.sidebar-headline {
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 15px 0;
    color: #000000;
}

.sidebar-image {
    margin: 15px 0;
}

.sidebar-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sidebar-lead {
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.4;
}

.sidebar-body {
    margin-bottom: 15px;
}

.sidebar-body p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #333333;
}

/* Responsive para nuevas secciones */
@media (max-width: 768px) {
    .featured-news {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar-news {
        border-left: none;
        border-top: 1px solid #cccccc;
        padding-left: 0;
        padding-top: 25px;
        margin-top: 25px;
    }
    
    .featured-headline {
        font-size: 24px;
    }
    
    .sidebar-headline {
        font-size: 18px;
    }
}

/* Artículos completos - Estilo NYT */
.full-stories {
    background: #ffffff;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #cccccc;
}

.full-article {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.full-article h2 {
    font-family: 'Crimson Text', 'Times New Roman', 'Cheltenham', serif;
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 15px;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.full-story-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    color: #666666;
    font-size: 12px;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
}

.article-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    color: #333333;
    font-family: 'Libre Franklin', 'Helvetica', 'Arial', sans-serif;
}

/* Responsive - Estilo NYT */
@media (max-width: 768px) {
    .newspaper-name h1 {
        font-size: 32px;
    }

    .main-story {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-item-large {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .header-top,
    .header-bottom {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .main-headline {
        font-size: 24px;
    }

    .news-content h3 {
        font-size: 18px;
    }

    .newspaper-content {
        padding: 15px;
    }

    .main-story,
    .news-item {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .newspaper-name h1 {
        font-size: 24px;
    }

    .main-headline {
        font-size: 20px;
    }

    .main-subheadline {
        font-size: 16px;
    }

/* Estilos para las conclusiones visuales e interactivas */
.conclusiones-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
}

.conclusiones-intro h4 {
    color: #84113c;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.conclusiones-intro p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.conclusiones-intro em {
    font-style: italic;
    color: #6c757d;
}

.conclusiones-cards {
/* Conclusiones COMPLETAMENTE INDEPENDIENTES - Rompe esquema modular */
.conclusiones-container-full {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.conclusiones-titulo-principal {
    text-align: center;
    font-size: 3em;
    color: #2d3436;
    margin-bottom: 100px;
    padding: 0 20px;
}

.conclusion-slide {
    border-radius: 40px;
    padding: 80px 60px;
    margin: 120px auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    border: 6px solid rgba(255,255,255,0.5);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    page-break-after: always;
    min-height: 800px;
    max-width: 1200px;
    width: 90%;
    isolation: isolate;
    backdrop-filter: blur(20px);
}

/* SEPARACIÓN EXTREMA - cada slide como página independiente */
.conclusion-slide:not(:first-of-type) {
    margin-top: 200px;
}

/* Decoraciones independientes para cada slide */
.conclusion-slide::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 10px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.2), transparent);
    z-index: 5;
}

.conclusion-slide::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: 50%;
    transform: translateX(50%);
    width: 150px;
    height: 8px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    z-index: 5;
}

.conclusion-slide:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 40px 120px rgba(0,0,0,0.35);
}

/* Fondos individuales para cada slide */
.conclusion-slide:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.slide-rojo {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.slide-azul {
    background: linear-gradient(135deg, #4dabf7 0%, #1c7ed6 100%);
    color: white;
}

.slide-naranja {
    background: linear-gradient(135deg, #ff922b 0%, #fd7e14 100%);
    color: white;
}

.slide-verde {
    background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%);
    color: white;
}

.slide-morado {
    background: linear-gradient(135deg, #cc5de8 0%, #9c36b5 100%);
    color: white;
}

.slide-cyan {
    background: linear-gradient(135deg, #22b8cf 0%, #15aabf 100%);
    color: white;
}

.slide-final {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: white;
}

/* Header de cada slide */
.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(255,255,255,0.3);
}

.slide-emoji {
    font-size: 4em;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.slide-number {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.8em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}

/* Contenido del slide */
.slide-content h4 {
    font-size: 2.2em;
    color: white;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.slide-content h5 {
    font-size: 1.8em;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.slide-content > p {
    font-size: 1.2em;
    line-height: 1.9;
    color: rgba(255,255,255,0.95);
    margin-bottom: 30px;
}

.slide-content strong {
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

/* Imagen visual en slide - TAMAÑO FIJO */
.slide-visual {
    margin: 30px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    height: 400px;
    width: 100%;
    background: #f0f0f0;
}

.slide-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.conclusion-slide:hover .slide-image {
    transform: scale(1.08);
}

/* Bullets visuales */
.slide-bullets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.bullet-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05em;
    font-weight: 600;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.bullet-item:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.bullet-item i {
    font-size: 1.3em;
    color: white;
    transition: color 0.3s ease;
}

.bullet-item:hover i {
    color: white;
}

/* Estadística destacada */
.slide-stat {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 30px;
    border-radius: 20px;
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-top: 30px;
    border: 2px solid rgba(255,255,255,0.2);
}

/* Highlight de cita */
.slide-highlight {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 30px 40px;
    border-radius: 20px;
    font-size: 1.3em;
    font-style: italic;
    line-height: 1.7;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
}

.slide-highlight-big {
    font-size: 1.5em;
    padding: 40px 50px;
}

/* Colores por slide - SE ELIMINAN PORQUE AHORA ESTÁN EN .slide-rojo, etc */

/* Slide final especial - YA TIENE SU FONDO ARRIBA */

/* Responsive para slides TOTALMENTE INDEPENDIENTES */
@media (max-width: 768px) {
    .conclusiones-container-full {
        padding: 60px 0;
    }
    
    .conclusiones-titulo-principal {
        font-size: 2.2em;
        margin-bottom: 80px;
    }
    
    .conclusion-slide {
        padding: 50px 30px;
        margin: 100px auto;
        min-height: 600px;
        width: 95%;
    }
    
    .conclusion-slide:not(:first-of-type) {
        margin-top: 150px;
    }
    
    .slide-emoji {
        font-size: 3em;
    }
    
    .slide-number {
        width: 55px;
        height: 55px;
        font-size: 1.4em;
    }
    
    .slide-content h4 {
        font-size: 1.8em;
    }
    
    .slide-visual {
        height: 300px;
    }
    
    .slide-image {
        height: 300px;
    }
    
    .slide-bullets {
        grid-template-columns: 1fr;
    }
}

/* Fuentes container */
.fuentes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.fuentes-col {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.fuentes-col:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.fuentes-col h4 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 700;
}

.fuentes-col h4 i {
    margin-right: 10px;
    color: var(--color-secondary);
}

.fuentes-lista {
    list-style: none;
    padding: 0;
}

.fuentes-lista li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.fuentes-lista li:last-child {
    border-bottom: none;
}

.fuentes-lista li:hover {
    padding-left: 10px;
    color: var(--color-secondary);
}

.fuentes-lista a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fuentes-lista a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2em;
    }
    
    .conclusiones-grid {
        grid-template-columns: 1fr;
    }
    
    .conclusion-card-mini {
        padding: 25px 20px;
    }
    
    .conclusion-final {
        padding: 45px 30px;
    }
    
    .final-highlight {
        font-size: 1.1em;
        padding: 20px;
    }
    
    .indice-grid {
        grid-template-columns: 1fr;
    }
    
    .proyecto-seccion {
        padding: 40px 25px;
    }
}

    .news-content h3 {
        font-size: 16px;
    }
}