/*
 Theme Name: News Dark Theme
 Theme URI: http://example.com/
 Author: Tu Nombre
 Author URI: http://example.com/
 Description: Un tema oscuro y minimalista para blogs de noticias.
 Version: 1.2
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: dark, responsive, blog, news, SEO
 Text Domain: news-dark-theme
*/

/* Estilos Generales */
body {
    font-family: "Roboto Condensed", sans-serif;
    line-height: 1.6;
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Estilos del Contenedor */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1a1a1a;
}

/* Estilos para la sección Hero */
.hero-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-container .hero-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-container .hero-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-container .hero-item:hover img {
    transform: scale(1.05);
}

/* El primer contenido ocupa el 50%, los otros dos 25% cada uno */
.hero-container .hero-item:nth-child(1) {
    flex: 0 0 50%;
}

.hero-container .hero-item:nth-child(2),
.hero-container .hero-item:nth-child(3) {
    flex: 0 0 25%;
}

/* Estilos generales para las tarjetas */
#Tarjetas6x2 .card {
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    background-color: #1a1a1a;
}

#Tarjetas6x2 .card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

#Tarjetas6x2 .card-body {
    padding: 15px;
}

#Tarjetas6x2 .card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #ffffff;
}

#Tarjetas6x2 .card-text {
    font-size: 1rem;
    color: #dddddd;
    margin-bottom: 10px;
}

#Tarjetas6x2 .card-category {
    font-size: 0.875rem;
    color: #007bff;
}

/* Disposición en PC: Imagen arriba, texto abajo */
@media (min-width: 768px) {
    #Tarjetas6x2 .row.no-gutters {
        display: flex;
        flex-direction: column;
    }

    #Tarjetas6x2 .card-img-container {
        width: 100%;
    }

    #Tarjetas6x2 .card-body-container {
        padding: 0px;
    }

    #Tarjetas6x2 .col-md-4 {
        padding-right: 5px;
        padding-left: 5px;
    }
}

/* Disposición en móvil: Imagen a la derecha, texto a la izquierda */
@media (max-width: 767.98px) {
    #Tarjetas6x2 .row.no-gutters {
        display: flex;
        flex-direction: row;
    }

    #Tarjetas6x2 .card-img-container {
        flex: 0 0 40%;
        max-width: 40%;
    }

    #Tarjetas6x2 .card-body-container {
        flex: 0 0 60%;
        max-width: 60%;
        padding: 15px;
    }

    #Tarjetas6x2 .card-img-top {
        height: auto;
    }
}

/* Estilos para las tarjetas destacadas debajo de las seis tarjetas */
.card-highlight {
    display: flex;
    flex-direction: row;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #1a1a1a;
}

.card-highlight .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.card-highlight .card-img-top {
    width: 100%;
    height: auto;
}

.card-highlight .row.no-gutters {
    margin: 0;
}

.card-highlight .col-md-6 {
    padding: 0;
}

.card-highlight .col-md-6:first-of-type {
    flex: 0 0 40%;
    max-width: 40%;
}

.card-highlight .col-md-6:last-of-type {
    flex: 0 0 60%;
    max-width: 60%;
}

.card-highlight .card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-highlight .card-text {
    font-size: 1rem;
    color: #dddddd;
}

.card-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-style: italic;
}

.img-fluid {
    height: 100%;
    object-fit: cover;
}

.card-text:last-child {
    font-size: 14px;
    color: #CACACA;
}

article, .card {
	background-color: #1a1a1a;
}