/* MexicanTimes - Original Theme CSS */
:root {
            --bg-feed: #F0F2F5; /* Gris claro tipo red social */
            --card-bg: #FFFFFF;
            --text-dark: #1C1E21;
            --text-muted: #65676B;
            --accent-electric: #005FFF; /* Azul eléctrico */
            --border-radius: 12px;
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-feed);
            color: var(--text-dark);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        /* HEADER (Con Logo a la izquierda y Nav a la derecha) */
        header {
            background-color: var(--card-bg);
            padding: 15px 5%;
            display: flex;
            align-items: center;
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        header .container {
            display: flex;
            align-items: center;
            width: 100%;
        }
        
        header a[href*="logo"] {
            margin-right: auto;
        }
        
        header nav {
            margin-left: auto;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
        }

        nav a {
            text-decoration: none;
            color: var(--text-muted);
            font-weight: 600;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 10px 0;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
        }

        nav a:hover, nav a.active {
            color: var(--accent-electric);
            border-bottom-color: var(--accent-electric);
        }

        /* TIMELINE CONTAINER */
        .timeline-container {
            margin: 15px auto;
            position: relative;
            padding: 0 20px;
            max-width: 1100px;
        }

        /* La línea central vertical */
        .timeline-container::after {
            content: '';
            position: absolute;
            width: 4px;
            background-color: rgba(0, 95, 255, 0.2);
            top: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* TIMELINE ITEMS */
        .timeline-item {
            position: relative;
            width: 50%;
            padding: 4px 20px;
            z-index: 10;
            margin-bottom: -40px;
        }

        .timeline-item.left {
            left: 0;
        }

        .timeline-item.right {
            left: 50%;
        }

        /* BADGE DE TIEMPO (Círculos en el centro) */
        .time-badge {
            position: absolute;
            top: 30px;
            background-color: var(--accent-electric);
            color: #FFF;
            font-size: 0.7rem;
            font-weight: bold;
            padding: 4px 10px;
            border-radius: 20px;
            box-shadow: 0 0 0 3px var(--bg-feed);
            z-index: 20;
        }

        .timeline-item.left .time-badge {
            right: 0;
            transform: translate(50%, -50%);
        }

        .timeline-item.right .time-badge {
            left: 0;
            transform: translate(-50%, -50%);
        }

        /* CONTENIDO DE LA TARJETA (Feed Card) */
        .timeline-content {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            padding: 10px 12px;
            display: flex;
            flex-direction: column;
            gap: 5px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .timeline-content:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
        }

        /* CONGRUENCIA MULTIMEDIA: Imagen 16:9 compacta */
        .timeline-img {
            width: 100%;
            aspect-ratio: 16/9;
            max-height: 120px;
            background-color: #E4E6EB;
            border-radius: 6px;
            object-fit: cover;
        }

        .post-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 2px;
        }

        .category-dot {
            width: 8px;
            height: 8px;
            background-color: var(--accent-electric);
            border-radius: 50%;
        }

        .category-name {
            font-size: 0.75rem;
            font-weight: bold;
            color: var(--accent-electric);
            text-transform: uppercase;
        }

        .timeline-content h2 {
            font-size: 0.95rem;
            line-height: 1.2;
        }

        .timeline-content p {
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .post-actions {
            border-top: 1px solid #E4E6EB;
            padding-top: 6px;
            display: flex;
            gap: 15px;
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        .action-btn {
            cursor: pointer;
            transition: color 0.2s;
        }

        .action-btn:hover {
            color: var(--accent-electric);
        }

        /* FOOTER */
        footer {
            text-align: center;
            padding: 40px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .footer-links a {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: bold;
            margin: 0 10px;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .timeline-container::after {
                left: 20px;
            }
            .timeline-item {
                width: 100%;
                padding: 8px 0 8px 50px;
                margin-bottom: 0;
            }
            .timeline-item.left, .timeline-item.right {
                left: 0;
            }
            .timeline-item.left .time-badge, .timeline-item.right .time-badge {
                left: 20px;
                right: auto;
                transform: translate(-50%, -50%);
            }
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            .timeline-img {
                max-height: 100px;
            }
        }
