/*
Theme Name: Shopstore Child
Template: shopstore
Author: EcoNativa
Version: 1.0
*/




/* 1. FORZAR ROBOTO CONDENSED EN TODO EL SITIO (EXCEPTO ICONOS) */
*:not(i):not([class*="fa-"]):not([class*="icon-"]):not([class*="dashicons"]) {
    font-family: 'Roboto Condensed', sans-serif !important;
}

/* 2. REFORZAR ESPECÍFICAMENTE LAS FUENTES DE ICONOS PARA QUE NO SE ROMPAN */

/* Font Awesome (Iconos comunes) */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "Font Awesome 5 Brands", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important; /* Algunos iconos solo cargan en negrita */
    display: inline-block !important;
}

/* Dashicons (Iconos nativos de WordPress) */
.dashicons, .dashicons-before:before {
    font-family: 'dashicons' !important;
}

/* 3. EXCEPCIÓN PARA ELEMENTOR O PLUGINS DE ICONOS SI LOS USAS */
[data-icon]:before, [class^="elementor-icon-"]:before {
    font-family: 'elementor-icons' !important;
}

/* 4. BOTONES Y FORMULARIOS */
input, button, select, textarea, .button, .btn {
    font-family: 'Roboto Condensed', sans-serif !important;
}


/* ==========================================================================
   CONFIGURACIÓN FINAL ECO NATIVA (CSS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

/* --- Tipografía y Base --- */
.post-main-wrapper, .section-banner-hero, .btn-read-more, .entry-content, .section-main-title {
    font-family: 'Roboto Condensed', sans-serif !important;
}

/* --- Banner Superior (GIF) --- */
.section-banner-hero {
    width: 100%;
    height: 250px;
    background-image: url('https://econativa.org/wp-content/uploads/2025/12/32ev.gif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    background: rgba(0, 0, 0, 0.4); /* Oscurece el GIF para legibilidad */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-main-title {
    color: #ffffff !important;
    font-size: 2.2rem !important; /* Tamaño similar a la referencia */
    font-weight: 700 !important;
    text-transform: none !important; /* No forzado a mayúsculas */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); /* Sombra solicitada */
    margin: 0 !important;
}

/* Breadcrumbs Centrados y Grandes */
.custom-breadcrumbs {
    margin-top: 10px !important;
    font-size: 1.2rem !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.custom-breadcrumbs a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 400;
}

/* --- Marco de Contenido (1000px de ancho total) --- */
.post-main-wrapper {
    max-width: 1000px !important;
    margin: 50px auto !important;
    padding: 0 20px !important;
}

/* Título de Artículo (Grande y Negrita) */
.entry-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
}

.entry-meta {
    color: #3C6A36 !important;
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Imagen Principal más pequeña */
.main-post-thumbnail {
    max-width: 850px; /* Tamaño controlado */
    margin: 0 auto 35px auto;
}

.main-post-thumbnail img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

/* Texto del Contenido (+2 puntos) */
.entry-content {
    font-size: 1.35rem !important; /* Subido 2 puntos */
    line-height: 1.8;
    color: #333;
}

/* --- Grid de Previsualización (Alineado) --- */
.related-posts-section {
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-body {
    padding: 0 !important; /* Alinea texto exactamente con el ancho de la foto */
}

.card-post-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin: 10px 0 !important;
    color: #222;
}

/* Botones EcoNativa #3C6A36 */
.btn-read-more {
    display: inline-block;
    padding: 10px 22px;
    background-color: #3C6A36 !important;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: background 0.4s ease;
}

.btn-read-more:hover {
    background-color: #2a4b26 !important; /* Más oscuro en hover */
}

/* --- Enlace final de retorno --- */
.back-to-activities a {
    color: #3C6A36 !important;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.back-to-activities a:hover {
    text-decoration: underline;
}

/* --- Responsive Móvil --- */
@media (max-width: 768px) {
    .entry-title { font-size: 2.2rem !important; }
    .section-main-title { font-size: 1.8rem !important; }
    .related-posts-grid { grid-template-columns: 1fr; }
    .entry-content { font-size: 1.15rem !important; }
}


/* --- Ajustes de Espaciado y Márgenes --- */

/* 1. Margen entre el título "Otras Actividades" y el Grid */
.related-title {
    font-size: 1.8rem !important;
    margin-bottom: 50px !important; /* Aumentado para dar aire */
    color: #3C6A36 !important;
    font-weight: 700 !important;
}

/* 2. Margen entre el Grid y el link "Volver a..." */
.related-posts-section {
    margin-top: 80px !important;
    padding-bottom: 60px !important; /* Espacio extra al final del grid */
    border-top: 1px solid #eee;
}

/* 3. Centrado y margen del link final */
.back-to-activities {
    text-align: center !important; /* Centrado total */
    margin: 100px 0 60px 0 !important; /* Gran margen superior respecto al grid */
}

.back-to-activities a {
    color: #3C6A36 !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important; /* Un poco más grande para que destaque */
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.back-to-activities a:hover {
    color: #2a4b26 !important;
    border-bottom: 2px solid #3C6A36; /* Subrayado elegante al hover */
}

/* --- Ajuste de la Fecha en el Grid --- */
.card-date {
    display: block;
    font-size: 0.9rem !important;
    color: #3C6A36 !important; /* Verde EcoNativa para la fecha */
    font-weight: 700;
    margin-bottom: 10px !important; /* Espacio antes del extracto */
}

.card-post-title {
    margin-bottom: 5px !important; /* Pegado a la fecha */
}

/* --- AJUSTES FINALES DE PULIDO --- */

/* Mejora el espaciado entre letras para la fuente Roboto Condensed */
.entry-title, .section-main-title {
    letter-spacing: -0.5px;
}

/* Evita que las imágenes dentro del contenido se desborden y les da un toque elegante */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Estilo para los enlaces dentro del texto del artículo */
.entry-content a {
    color: #3C6A36;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #2a4b26;
}

/* Espaciado extra para los párrafos finales antes de la cuadrícula */
.entry-content {
    margin-bottom: 50px !important;
}



@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

.blog-hero-frame, .econativa-blog-container, .blog-card-title, .blog-date, .read-more {
    font-family: 'Roboto Condensed', sans-serif !important;
}

/* Cuadrícula de 3 columnas para las 6 fotos */
.blog-mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 15px 0;
}

.gallery-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: transform 0.2s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    border-color: #3C6A36;
}






/* TRABAJANDO SOBRE TU PROPIO CSS */

.wpr-promo-box-title {
    background: rgba(0, 0, 0, 0.6); 
    padding-top: 5px;
    
    /* AGREGADO: Esto alinea los nombres en la misma línea horizontal */
    min-height:40px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important; /* Elimina huecos entre cajas */
}

.wpr-promo-box-description {
    background: rgba(0, 0, 0, 0.6); 
    padding-bottom: 5px;
	padding-left:5px;
	padding-right:5px;
    
    /* AGREGADO: Esto hace que el fondo gris llegue hasta abajo en todas */
    min-height: 108px; 
    
    /* AGREGADO: Lo que pediste de la fuente */
    font-size: 1rem !important; 
    line-height: 1.3;
    padding-top: 2px;
}

/* ESTO ES CLAVE: Une las dos cajas grises para que parezcan una sola */
.wpr-promo-box-content {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}






@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

/* --- ESTILOS GLOBALES SECCIÓN ACTIVIDADES --- */
.econativa-blog-container, 
.page-title-custom, 
.blog-card-title, 
.blog-card-excerpt, 
.blog-card-footer, 
.custom-breadcrumbs {
    font-family: 'Roboto Condensed', sans-serif !important;
}

/* HEADER FRAME (IGUAL AL SINGLE.PHP) */
.blog-hero-frame {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-hero-overlay {
    background: rgba(0, 0, 0, 0.4); /* Capa oscura para leer bien el título */
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title-custom {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.custom-breadcrumbs {
    color: #ffffff;
    margin-top: 10px;
    font-size: 0.9rem;
}

.custom-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
}

.custom-breadcrumbs a:hover {
    opacity: 1;
    color: #3C6A36;
}

/* GRID DE TARJETAS */
.econativa-blog-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.econativa-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.blog-card-title a:hover {
    color: #3C6A36;
}

.blog-card-excerpt {
    color: #666;
    font-size: 1rem;
    margin: 15px 0;
    line-height: 1.6;
}

/* FOOTER TARJETA (FECHA ABAJO) */
.blog-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    color: #3C6A36;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.read-more {
    background: #3C6A36;
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.read-more:hover {
    background: #2d5028;
}

/* PAGINACIÓN */
.blog-pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 50px;
}

.blog-pagination a, .blog-pagination span {
    padding: 12px 18px;
    margin: 0 5px;
    border: 2px solid #3C6A36;
    color: #3C6A36;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
}

.blog-pagination span.current {
    background: #3C6A36;
    color: #fff;
}










@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

/* --- RESET & FUENTE --- */
.blog-hero-frame, .econativa-blog-container {
    font-family: 'Roboto Condensed', sans-serif !important;
}

/* --- HERO SECTION --- */
.blog-hero-frame {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.blog-hero-overlay {
    background: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-title-custom {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -1px;
}

.custom-breadcrumbs {
    color: #f1f1f1;
    font-size: 1rem;
    margin-top: 15px;
}

.custom-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
}

/* --- GRID DE POSTS --- */
.econativa-blog-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.econativa-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
}

.blog-card-title a {
    color: #222;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
}

.blog-card-title a:hover {
    color: #3C6A36;
}

.blog-card-excerpt {
    color: #555;
    margin: 15px 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- FOOTER DE LA TARJETA (FECHA ABAJO) --- */
.blog-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    color: #3C6A36;
    font-weight: 700;
    font-size: 0.95rem;
}

.read-more {
    background: #3C6A36;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.read-more:hover {
    background: #2d5028;
}

/* --- PAGINACIÓN --- */
.blog-pagination {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 50px;
}

.blog-pagination a, .blog-pagination span {
    padding: 12px 20px;
    border: 2px solid #3C6A36;
    color: #3C6A36;
    margin: 0 5px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
}

.blog-pagination span.current {
    background: #3C6A36;
    color: #fff;
}



/* --- ESTILOS ECONATIVA SINGLE POST --- */

.single-post-wrapper {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

/* Hero Section */
.hero-frame-section {
    background-size: cover;
    background-position: center;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-main-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.7);
}

.hero-breadcrumbs, #breadcrumbs, #breadcrumbs a {
    color: #ffffff !important;
    font-size: 1.3rem!important;
    text-decoration: none;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    margin-top: 10px;
}



/* Post Content */
.post-title-main {
    font-size: 2.8rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.2;
}

.post-date-meta {
    color: #3C6A36;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.main-post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.post-body-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* Galería Integrada */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
    margin-bottom: 60px;
}

.gal-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gal-item:hover img {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

/* Grid Relacionados */
.others-section {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.others-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.other-card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 180px;
    background: #000; /* Fondo para el efecto ennegrecer */
}

.other-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.other-card:hover .other-img {
    transform: scale(1.1);
    opacity: 0.5;
}

.other-card-info h4 a {
    text-decoration: none;
    color: #222;
    font-size: 1.2rem;
    font-weight: 700;
    transition: 0.3s;
}

.other-card:hover h4 a {
    color: #3C6A36;
}

.other-card-info .date {
    color: #3C6A36;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Botón Volver */
.btn-volver {
    display: inline-block;
    background: #3C6A36;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 70px;
    transition: 0.3s;
}

.btn-volver:hover {
    background: #2d5028;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .others-grid { grid-template-columns: 1fr; }
    .hero-main-title { font-size: 2.5rem; }
}








