﻿.padres-familias-sec {
    position: relative;
    min-height: 100vh;
    background-image: url('/expoudlap/assets/images/misc/actividades/actividad-padres-de-familia-UDLAP.webp'); /* Para PUBLICAR en productivo  */
    /*background-image: url('/expoudlapnetcore/assets/images/misc/actividades/actividad-padres-de-familia-UDLAP.webp');*/ /* Para PUBLICAR en dev  */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
}

    .padres-familias-sec::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

.content-overlay {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.ap-main-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    letter-spacing: 2px;
}

.title-container {
    background-color: #f47b20;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.ap-activity-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

    .ap-activity-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.98);
    }

.ap-card-header {
    background: #f47b20;
    color: white;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}

.ap-card-body {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
}

.ap-description p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.ap-activity-details p {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .padres-familias-sec {
        min-height: auto;
        background-attachment: scroll;
        background-size: cover;
    }

    .content-overlay {
        min-height: auto;
        padding: 1.5rem 0;
        align-items: flex-start;
    }

    .ap-main-title {
        font-size: 2.2rem;
    }

    .ap-card-header {
        font-size: 1.1rem;
        padding: 1.2rem;
    }

    .title-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .padres-familias-sec {
        background-size: cover;
        background-position: center center;
    }

    .ap-main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .content-overlay {
        padding: 1rem 0;
    }

    .ap-card-header {
        font-size: 1rem;
        padding: 1rem;
    }

    .ap-card-body {
        padding: 1rem;
    }
}
