/*
Theme Name: JNews - Child Theme
Version: 1.0.0
Theme URI: http://themeforest.net/?ref=jegtheme
Description: A basic starter child theme for customization purpose of JNews theme.
Author: Jegtheme
Author URI: http://themeforest.net/user/jegtheme?ref=jegtheme
Template: jnews
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ========================================================================= */
/*  Theme customization starts here                                         */
/* ========================================================================= */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Hellix", Sans-serif !important;
    font-weight: 600 !important;
}

/* Search page customization */
.search .jeg_socialshare,
.search .jeg_meta_author,
article.jeg_post.jeg_pl_md_card.no_thumbnail {
    display: none;
}

/* Ads styling */
.home .ads-wrapper img,
.page-id-68 .ads-wrapper img,
.single .ads-wrapper img {
    border: 2px solid #dddddd78;
}

/* ========================================================================= */
/*  Nosotros Section                                                         */
/* ========================================================================= */

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d5a4f;
/*     margin-bottom: 60px; */
    letter-spacing: -0.02em;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.card {
    border-radius: 24px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    margin: 0;
    z-index: 2;
    position: relative;
    transition: opacity 0.3s ease;
}

.card-description {
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    line-height: 1.5;
    z-index: 2;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    flex-grow: 1;
}

.card:hover .card-description {
    opacity: 1;
    transform: translateY(0);
}

.card:hover .card-icon {
    opacity: 0.3;
    transform: scale(0.8);
}

.card-1 {
    background: #016938;
}

.card-2 {
    background: #1DA64C;
}

.card-3 {
    background: #FCCD7E;
}

.card-3 .card-title {
    color: #016938;
}

.card-3 .card-description {
    color: #016938;
}

.card-icon {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: all 0.3s ease;
    width: 90%;
}

.card-icon img {
    object-fit: contain;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.8); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2); 
    }
}

@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .card {
        padding: 40px 30px;
        min-height: 400px;
    }
    
    .card-title {
        font-size: 1.8rem;
    }
}