/* ========================================
   CLASES ESPECÍFICAS - COMERCIO JUSTO
   (Las clases base están en base-programas.css)
   ======================================== */

/* ========================================
   VIDEO
======================================== */
.cj-video-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    aspect-ratio: 16/9;
}

.cj-video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ========================================
   OBJETIVOS
======================================== */
.cj-objetivo-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(57,63,111,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.cj-objetivo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(57,63,111,0.14);
}

.cj-objetivo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--p-navy), #5a62a0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cj-objetivo-icon i {
    font-size: 1.3rem;
    color: var(--p-gold);
}

.cj-objetivo-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--p-text);
    margin: 0;
    text-align: justify;
}

/* ========================================
   MODALIDADES
======================================== */
.cj-modalidad-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: background 0.3s ease;
    height: 100%;
}

.cj-modalidad-card:hover { background: rgba(255,255,255,0.1); }

.cj-modalidad-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--p-gold);
    line-height: 1;
    flex-shrink: 0;
    min-width: 40px;
}

.cj-modalidad-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cj-modalidad-body p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin: 0;
    text-align: justify;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .cj-modalidad-card {
        flex-direction: column;
        gap: 10px;
    }
    .cj-modalidad-num { font-size: 1.5rem; }
}
