/* =========================================
   ESTILOS DE ARTÍCULO INDIVIDUAL
   ========================================= */

.container {
    padding-top: 20px;
}

/* =========================================
   BREADCRUMBS
   ========================================= */

.breadcrumbs {
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--color-primario);
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #a00d43;
}

/* =========================================
   TÍTULO Y META
   ========================================= */

.article-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #000;
}

.article-meta {
    padding-bottom: 20px;
    color: #555;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.meta-separator {
    color: #ccc;
}

.meta-views {
    font-weight: 700;
    color: var(--color-primario);
}

.meta-category {
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* =========================================
   COMPARTIR
   ========================================= */

.share-container {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.share-wa {
    background-color: #25D366;
}

.share-wa:hover {
    background-color: #20bd5a;
}

.share-fb {
    background-color: #1877F2;
}

.share-fb:hover {
    background-color: #1565c0;
}

.share-tw {
    background-color: #0a0a0a;
}

.share-tw:hover {
    background-color: #1a8cd8;
}

.share-copy {
    background-color: #1DA1F2;
}

.share-copy:hover {
    background-color: #000;
}

/* =========================================
   PUBLICIDAD
   ========================================= */

.ad-space {
    margin: 30px 0;
    min-height: 100px;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ad-label {
    font-size: 10px;
    color: #999;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   IMAGEN PRINCIPAL
   ========================================= */

.article-image-wrapper {
    margin: 25px 0;
    padding: 0;
}

.article-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* =========================================
   CONTENIDO DEL ARTÍCULO
   ========================================= */

.article-content {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #222;
    overflow-wrap: break-word;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 2em 0 1em 0;
    color: #000;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1.5em 0 0.8em 0;
    color: #111;
}

.article-content a {
    color: var(--color-primario);
    text-decoration: underline;
}

.article-content a:hover {
    color: #a00d43;
}

.article-content ul,
.article-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.article-content li {
    margin-bottom: 0.8em;
}

.article-content blockquote {
    border-left: 4px solid var(--color-primario);
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

/* Imágenes dentro del contenido */
.article-content img,
.article-content figure {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
}

.article-content figure {
    text-align: center;
}

.article-content figcaption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Ocultar fuente vieja del contenido */
.article-content .fuente-original {
    display: none !important;
}

/* =========================================
   CAJA DE FUENTE
   ========================================= */

.source-box {
    margin-top: 35px;
    padding: 18px;
    background: #f9f9f9;
    border-left: 4px solid var(--color-primario);
    font-size: 0.9rem;
    color: #555;
    border-radius: 0 8px 8px 0;
    word-break: break-all;
}

.source-box strong {
    color: #000;
}

.source-box a {
    color: var(--color-primario);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.source-box a:hover {
    color: #a00d43;
    text-decoration: underline;
}

/* =========================================
   TAGS
   ========================================= */

.tags-section {
    margin: 35px 0;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.tags-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 12px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    background: #f4f4f4;
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.tag-pill:hover {
    background: var(--color-primario);
    color: white;
    border-color: var(--color-primario);
    transform: translateY(-2px);
}

/* =========================================
   SLIDERS DE CONTENIDO RELACIONADO
   ========================================= */

.related-section {
    margin-top: 45px;
    border-top: 2px solid #f0f0f0;
    padding-top: 25px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 18px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    color: #000;
}

.title-accent {
    background: var(--color-primario);
    width: 4px;
    height: 22px;
    display: inline-block;
    margin-right: 12px;
}

.slider-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f0f0f0;
}

.slider-container::-webkit-scrollbar {
    height: 8px;
}

.slider-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.slider-card {
    flex: 0 0 200px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.slider-card:hover {
    transform: translateY(-5px);
}

.slider-img-box {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 10px;
}

.slider-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.slider-card:hover .slider-img-box img {
    transform: scale(1.05);
}

.slider-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-content {
        font-size: 1.05rem;
    }
    
    .article-meta {
        font-size: 0.8rem;
    }
    
    .slider-card {
        flex: 0 0 160px;
    }
    
    .slider-img-box {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.4rem;
    }
    
    .share-container {
        justify-content: center;
    }
    
    .btn-share {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
}













/* ============================================
   NAVBAR.CSS - Navegación y Menú Lateral
   ============================================ */

/* WRAPPER STICKY */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--sombra-header);
}

/* BARRA PRINCIPAL */
.main-bar {
    background: var(--nav-bg);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: relative;
    z-index: 1002;
    border-bottom: 1px solid #222;
}

/*.left-group {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    flex-shrink: 0;
}*/

/* FIX: Botón de menú sin estilos de botón */
.left-group {
    background-color: #000000;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-family: inherit;
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.menu-label {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.right-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    justify-content: flex-end;
    overflow: hidden;
}

/* SWITCH GEOLOCALIZACIÓN */
.geo-pill {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 4px 10px;
    gap: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.geo-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.geo-icon {
    font-size: 0.9rem;
}

.geo-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: #cfcfcf;
    text-transform: uppercase;
    transition: all 0.3s ease;
    max-width: 100px;
    opacity: 1;
    overflow: hidden;
}

.geo-pill.hide-labels .geo-text {
    max-width: 0px;
    opacity: 0;
    margin: 0;
}

.geo-text.active {
    color: #fff;
}

.geo-text.active-local {
    color: var(--nav-accent);
}

.switch-toggle {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    transition: .4s;
    border-radius: 34px;
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider-round {
    background-color: var(--nav-accent);
}

input:checked+.slider-round:before {
    transform: translateX(16px);
}

/* BUSCADOR */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    border-radius: 20px;
    transition: 0.3s;
}

.search-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    z-index: 2;
}

.search-input-wrapper {
    width: 0;
    overflow: hidden;
    transition: width 0.4s ease;
    background: #222;
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    margin-right: -30px;
    padding-right: 30px;
    height: 32px;
    opacity: 0;
}

.search-container.active .search-input-wrapper {
    width: 180px;
    opacity: 1;
    padding-left: 10px;
    border: 1px solid #444;
    border-right: none;
}

.search-container.active .search-btn {
    background: #222;
    border: 1px solid #444;
    border-left: none;
    border-radius: 0 20px 20px 0;
    height: 32px;
    display: flex;
    align-items: center;
}

.search-input-field {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-size: 0.85rem;
}

/* MENÚ LATERAL (DRAWER) */
.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #000;
    border-right: 1px solid #222;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
}

.nav-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.drawer-content {
    overflow-y: auto;
    flex-grow: 1;
    padding: 10px 0;
}

.drawer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid #111;
    transition: 0.2s;
}

.drawer-item:hover {
    color: #fff;
    background: #111;
    border-left: 4px solid var(--nav-accent);
    padding-left: 16px;
}

.drawer-item.active {
    color: var(--nav-accent);
    border-left: 4px solid var(--nav-accent);
    background: #0a0a0a;
}

.prov-badge {
    font-size: 0.7rem;
    background: #222;
    padding: 2px 6px;
    border-radius: 4px;
    color: #666;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* BARRA DE TAGS */
.tags-bar {
    background: #000000;
    height: 35px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 2px solid var(--nav-accent);
    scrollbar-width: none;
}

.tags-bar::-webkit-scrollbar {
    display: none;
}

.tag-head {
    color: var(--nav-accent);
    font-weight: 900;
    font-size: 0.75rem;
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag-item {
    color: #999;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 10px;
    padding: 3px 10px;
    background: #222;
    border-radius: 4px;
    transition: 0.2s;
    border: 1px solid #333;
}

.tag-item:hover {
    color: #fff;
    border-color: var(--nav-accent);
}


















/* ============================================
   PORTADA.CSS - Hero Grid y Bloques Netflix
   ============================================ */

/* HERO GRID (Portada Principal) */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-main {
    position: relative;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    background-color: #f0f0f0;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-small {
    position: relative;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    background-color: #f0f0f0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hero-main:hover .hero-img,
.hero-small:hover .hero-img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 25px;
}

.hero-cat {
    /* COMPORTAMIENTO DE BLOQUE FLUIDO */
    display: table; /* Truco: Ocupa solo el ancho del texto pero se comporta como bloque */
    margin-bottom: 10px; /* Separación con el título */
    
    /* ESTILO */
    background: var(--color-primario);
    color: white;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 3px;
    line-height: 1; /* Evita alturas raras */
    
    /* SEGURIDAD */
    white-space: nowrap; /* Prohibido romper línea */
    max-width: 100%; /* Si es gigante, se corta */
    overflow: hidden;
    text-overflow: ellipsis;
}

/*.hero-title {
    //margin: 0;
    //font-size: 1.8rem;
    //line-height: 1.1;
    //text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}*/

.hero-excerpt {
    font-size: 1rem;
    margin-top: 10px;
    opacity: 0.9;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-title-sm {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* TITULO BASE (Dinámico) */
.hero-title {
    margin: 0;
    line-height: 1.2; /* Un poco más de aire para leer mejor */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9); /* Sombra más fuerte para contraste */
    
    /* LA MAGIA: clamp(MÍNIMO, IDEAL, MÁXIMO) */
    /* En celular será 1.2rem, en tablet crecerá, en PC será 1.8rem */
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    
    /* SEGURIDAD: Cortar texto si es muy largo (puntos suspensivos...) */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Máximo 3 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TITULOS PEQUEÑOS (Los del costado / abajo en móvil) */
.hero-title-sm {
    /* Hacemos estos un poco más chicos todavía */
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    
    /* Máximo 2 o 3 líneas para los secundarios */
    -webkit-line-clamp: 3; 
}

/* SECCIONES DE CATEGORÍAS */
.cat-section {
    margin-bottom: 40px;
}

.cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

.cat-section-title {
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

/* SLIDER HORIZONTAL (Estilo Netflix) */
.slider-row {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.slider-row::-webkit-scrollbar {
    height: 6px;
}

.slider-row::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.news-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.news-img-box {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #f0f0f0;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-title {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

/* TAGS DENTRO DE BLOQUES */
.block-tags-wrapper {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-borde);
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}

.block-tags-wrapper::-webkit-scrollbar {
    height: 2px;
}

.block-tags-wrapper::-webkit-scrollbar-thumb {
    background: var(--color-primario);
}

.block-tag {
    font-size: 0.75rem;
    color: var(--color-texto-claro);
    background: #f4f4f4;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid var(--color-borde);
}

.block-tag:hover {
    background: var(--color-primario);
    color: white;
    border-color: var(--color-primario);
}

.block-tag-icon {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--color-primario);
    margin-right: 8px;
    text-transform: uppercase;
}

/* GRID DE CATEGORÍAS (Para buscador) */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.cat-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--sombra-card);
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.cat-card:hover {
    transform: translateY(-5px);
}

.cat-img-box {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cat-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: var(--color-texto);
}

.cat-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.cat-meta {
    font-size: 0.8rem;
    color: var(--color-texto-claro);
    margin-top: auto;
    border-top: 1px solid var(--color-borde);
    padding-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-main {
        height: auto;
        aspect-ratio: 16/9;
    }

    .hero-side {
        display: none;
    }

    .hero-excerpt {
        display: none;
    }

    .news-card {
        flex: 0 0 85vw;
    }
}

















/* ============================================
   HEADER.CSS - Ticker y Logo Principal
   ============================================ */

/* TICKER FINANCIERO (Estilo Bloomberg) */
.ticker-wrap {
    background: var(--color-bg-oscuro);
    border-bottom: 1px solid #333;
    overflow: hidden;
    height: 36px;
    line-height: 36px;
}

.ticker-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    padding: 0 10px;
}

.ticker-container::-webkit-scrollbar {
    display: none;
}

.t-item {
    color: #ccc;
    font-size: 0.8rem;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.t-label {
    font-weight: 700;
    color: var(--color-primario);
    margin-right: 5px;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.t-val {
    color: #fff;
    font-weight: 600;
    font-family: Consolas, monospace;
}

.t-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-left: 5px;
}

/* HEADER PRINCIPAL */
header {
    background: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 4px solid var(--color-primario);
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    gap: 10px;
}

.logo-box {
    background: var(--color-primario);
    color: #fff;
    font-weight: 900;
    padding: 5px 10px;
    font-size: 1.5rem;
    letter-spacing: -1px;
    line-height: 1;
    transform: skew(-10deg);
}

.logo-text {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    text-transform: uppercase;
}


















/* ============================================
   GLOBAL.CSS - Estilos Base y Variables
   ============================================ */

:root {
    /* Colores principales */
    --color-primario: #d91255;
    --color-bg-oscuro: #111;
    --color-bg-card: #fff;
    --color-texto: #222;
    --color-texto-claro: #666;
    --color-borde: #eee;
    
    /* Layout */
    --ancho-maximo: 1200px;
    --nav-bg: #000;
    --nav-accent: #d91255;
    --header-h: 55px;
    
    /* Sombras */
    --sombra-card: 0 2px 8px rgba(0,0,0,0.08);
    --sombra-header: 0 4px 15px rgba(0,0,0,0.3);
}

/* Reset y estilos base */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: var(--color-texto);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Contenedor principal */
.container {
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    background: white;
    padding: 20px;
    min-height: 800px;
}

/* Utilidades */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

/* Botones */
.btn-ver-mas {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin: 30px auto;
    display: block;
    width: fit-content;
    transition: background 0.3s ease;
}

.btn-ver-mas:hover {
    background: var(--color-primario);
}

/* Links */
a {
    color: inherit;
    transition: color 0.2s ease;
}

/* Imágenes responsivas */
img {
    max-width: 100%;
    height: auto;
}









/* ============================================
   FOOTER.CSS - Pie de Página
   ============================================ */

footer {
    background: var(--color-bg-oscuro);
    color: #bbb;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    border-top: 4px solid var(--color-primario);
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--color-primario);
}

footer p {
    margin: 10px 0;
}