/*
Theme Name: Noticias Corrientes
Theme URI: https://noticiascorrientes.com.ar
Author: Noticias Corrientes
Description: Tema de noticias a medida para noticiascorrientes.com.ar. Estilo periódico urbano en blanco, negro y verde lima.
Version: 1.0
Text Domain: noticias-corrientes
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #000;
    margin: 0;
    background: #ffffff;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Inter', sans-serif;
}

/* ============ 1. BARRA DE ÚLTIMO MOMENTO ============ */
.breaking-news {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px solid #000;
    overflow: hidden;
}

.breaking-tag {
    background-color: #CCFF00;
    color: #000000;
    font-family: 'Archivo Black', sans-serif;
    padding: 2px 8px;
    text-transform: uppercase;
    font-size: 11px;
    margin-right: 15px;
    border: 1px solid #000;
    z-index: 2;
    flex-shrink: 0;
}

.breaking-ticker-wrap {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

.breaking-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
    font-weight: 600;
}

.breaking-content a {
    color: #ffffff;
    text-decoration: none;
}

.breaking-content a:hover {
    text-decoration: underline;
}

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

/* ============ 2. PUBLICIDAD SUPERIOR ============ */
.top-ad-banner {
    text-align: center;
    padding: 15px 0;
    background: #f9f9f9;
    border-bottom: 1px solid #000000;
    margin-bottom: 15px;
}

.ad-box-728x90 {
    display: inline-block;
    width: 728px;
    max-width: 100%;
    height: 90px;
    background: #e5e5e5;
    border: 1px dashed #000000;
    line-height: 90px;
    font-family: 'Archivo Black', sans-serif;
    font-size: 14px;
    color: #333333;
}

/* ============ 3. CABECERA PRINCIPAL ============ */
header {
    padding: 20px 0;
    border-bottom: 1px solid #000000;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo-title img {
    max-height: 70px;
    width: auto;
    display: block;
}

.edition-badge {
    background-color: #CCFF00;
    color: #000000;
    font-family: 'Archivo Black', sans-serif;
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid #000000;
    display: inline-block;
}

/* ============ 4. MENÚ DE NAVEGACIÓN Y COTIZACIONES ============ */
nav {
    border-bottom: 1px solid #000000;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-list a {
    text-decoration: none;
    color: #000000;
    font-family: 'Archivo Black', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease;
    padding: 2px 6px;
}

.nav-list a:hover {
    background-color: #000000;
    color: #CCFF00 !important;
}

.financial-ticker {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 0;
    font-family: 'Archivo Black', sans-serif;
    font-size: 13px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.financial-ticker span {
    color: #CCFF00;
}

/* ============ HEADER (usuario/topbar viejo, ya no se usa) ============ */
.site-topbar {
    display: none;
}

/* ============ FOOTER ============ */
.site-footer {
    background: #000;
    color: #fff;
    margin-top: 50px;
    padding: 35px 15px 20px;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer h4 {
    font-family: 'Archivo Black', sans-serif;
    color: #CCFF00;
    text-transform: uppercase;
    font-size: 14px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #333;
    margin-top: 20px;
    padding-top: 15px;
}

/* ============ NOTA INDIVIDUAL ============ */
.single-article {
    padding: 30px 0 50px;
    max-width: 850px;
    margin: 0 auto;
}

.single-article .badge {
    background-color: #CCFF00;
    color: #000;
    font-family: 'Archivo Black', sans-serif;
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid #000;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.single-article h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.single-article .article-meta {
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
}

.single-article img.wp-post-image {
    width: 100%;
    height: auto;
    border: 1px solid #000;
    margin-bottom: 20px;
}

.single-article .entry-content {
    font-size: 17px;
    line-height: 1.7;
    color: #222;
}

.single-article .entry-content p {
    margin-bottom: 20px;
}

.single-article .entry-content img {
    border: 1px solid #000;
    margin: 20px 0;
}

/* ============ WIDGETS DE PUBLICIDAD ============ */
.ad-widget-area {
    padding: 20px 0;
    text-align: center;
}

.ad-widget-area .widget {
    display: inline-block;
    max-width: 100%;
}

/* 5. SECCIÓN PRINCIPAL */
.main-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #000000;
}

.hero-news img {
    width: 100%;
    height: auto;
    border: 1px solid #000000;
    display: block;
    margin-bottom: 15px;
}

.badge {
    background-color: #CCFF00;
    color: #000000;
    font-family: 'Archivo Black', sans-serif;
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid #000000;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h1.hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1px;
    cursor: pointer;
    transition: color 0.2s ease;
    color: #000;
    text-decoration: none;
    display: block;
}

h1.hero-title:hover {
    color: #333333;
    text-decoration: underline;
}

.hero-excerpt {
    font-size: 16px;
    color: #333333;
    margin-bottom: 20px;
}

.sidebar-title {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Archivo Black', sans-serif;
    font-size: 14px;
    padding: 8px 12px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.most-read-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #000000;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.most-read-item:hover {
    background-color: #f4f4f4;
    padding-left: 5px;
}

.most-read-item:last-child {
    border-bottom: none;
}

.most-read-number {
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px;
    color: #000000;
    line-height: 1;
}

.most-read-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 13px;
    line-height: 1.2;
    color: #000;
}

/* 6. BANNER HORIZONTAL */
.horizontal-banner-section {
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #000000;
}

.banner-large {
    width: 100%;
    max-width: 900px;
    min-height: 120px;
    background: #900b09;
    color: #ffffff;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Archivo Black', sans-serif;
    font-size: 20px;
    border: 1px solid #000;
}

/* 7. GRILLA INFERIOR */
.section-header-bar {
    background-color: #000000;
    color: #ffffff;
    padding: 10px 15px;
    font-family: 'Archivo Black', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 25px 0;
}

.section-header-bar span, .section-header-bar a {
    color: #CCFF00;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #000;
}

.grid-col {
    border-right: 1px solid #000000;
    padding-right: 20px;
    padding-left: 20px;
}

.grid-col:first-child {
    padding-left: 0;
}

.grid-col:last-child {
    border-right: none;
    padding-right: 0;
}

.grid-col img {
    width: 100%;
    height: auto;
    border: 1px solid #000000;
    margin-bottom: 12px;
    display: block;
}

.grid-col h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: color 0.2s ease;
    color: #000;
}

.grid-col a {
    text-decoration: none;
}

.grid-col h3:hover {
    color: #555555;
    text-decoration: underline;
}

.grid-col p {
    font-size: 14px;
    color: #444444;
}

/* 8. SECCIÓN FOTOPERIODISMO - SLIDER AUTOMÁTICO */
.carousel-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    color: #ffffff;
    padding: 10px 15px;
    margin: 40px 0 25px 0;
    font-family: 'Archivo Black', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

.carousel-header-wrapper span {
    color: #CCFF00;
}

.carousel-nav-buttons {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background-color: #CCFF00;
    border: 2px solid #000;
    color: #000000;
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0px #ffffff;
}

.carousel-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #CCFF00;
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    border: 1px solid #000;
    background-color: #f9f9f9;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slide-item {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px;
    background: #ffffff;
}

.slide-item a {
    text-decoration: none;
}

.slide-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border: 1px solid #000000;
    margin-bottom: 15px;
    display: block;
}

.slide-item h4 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: #000;
}

.slide-item span {
    font-size: 13px;
    color: #000;
    background-color: #CCFF00;
    padding: 3px 8px;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    border: 1px solid #000;
    display: inline-block;
    margin-bottom: 10px;
}

.slide-item p {
    font-family: 'Inter', sans-serif;
    color: #444;
    font-size: 15px;
}

.no-content-msg {
    padding: 20px;
    font-size: 14px;
    color: #777;
}

@media (max-width: 768px) {
    .main-layout, .grid-3-cols {
        grid-template-columns: 1fr;
    }
    .grid-col {
        border-right: none;
        padding: 0;
        border-bottom: 1px solid #000;
        padding-bottom: 20px;
    }
    .slide-item img {
        height: 250px;
    }
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
