/*
Theme Name: Models Child
Theme URI: https://kayapati.com/demos/demo-theme
Template: models
Author: Javier
Author URI: https://themeforest.net/user/kayapati/
Description: Model Agency Wordpress CMS Theme
Version: 1.1.0
*/

/* ==========================================
   INFORMACIÓN DEL MODELO
========================================== */

.model-info-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:25px;
    margin-top:15px;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.model-info-title{
    font-size:24px;
    font-weight:700;
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:2px solid #f0f0f0;
}

.model-info-list{
    margin:0;
    padding:0;
}

.info-row{
    display:flex;
    align-items:flex-start;
    margin-bottom:12px;
    line-height:1.6;
}

.info-label{
    min-width:150px;
    font-weight:700;
    color:#222;
}

.info-value{
    flex:1;
    color:#555;
}

/* ==========================================
   SECCIÓN DE FOTOS
========================================== */

.model-gallery-section{
    margin-top:60px;
    clear:both;
}

.section-title{
    font-size:36px;
    font-weight:600;
    color:#333;
    margin-bottom:25px;
}

.section-title:after{
    content:'';
    display:block;
    width:80px;
    height:4px;
    background:#ff5a1f;
    margin-top:10px;
}

/* Galería */

.fotos-galeria,
.model-gallery{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

/* Fotos pequeñas */

.modelo-foto,
.gallery-photo{
    width:160px;
    height:220px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid #e5e5e5;
    transition:.3s;
}

.modelo-foto:hover,
.gallery-photo:hover{
    transform:scale(1.03);
}

/* ==========================================
   BIOGRAFÍA
========================================== */

.model-biography,
.model-biography-section{
    margin-top:60px;
}

.model-biography h4{
    font-size:24px;
    font-weight:700;
    margin-bottom:20px;
}

.biography-content,
.model-biography{
    font-size:17px;
    line-height:1.9;
    color:#666;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:768px){

    .info-row{
        flex-direction:column;
        gap:4px;
    }

    .info-label{
        min-width:auto;
    }

    .modelo-foto,
    .gallery-photo{
        width:120px;
        height:170px;
    }

    .section-title{
        font-size:28px;
    }
}

/* LIGHTBOX */

#lightbox{
    display:none;
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    width:100vw !important;
    height:100vh !important;
    background:rgba(0,0,0,.95) !important;
    z-index:999999 !important;
}

#lightbox.activo{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
}

#lightbox-img{
    max-width:90vw;
    max-height:90vh;
    width:auto;
    height:auto;
    display:block;
}

.cerrar-lightbox{
    position:absolute;
    top:20px;
    right:30px;
    color:#fff;
    font-size:50px;
    font-weight:bold;
    cursor:pointer;
    z-index:1000000;
}

.general-meta-fields-info-wrapper{
    position:absolute;
    left:15px;
    bottom:15px;
    background:rgba(255,255,255,.95);
    padding:12px 15px;
    border-radius:6px;
    min-width:180px;
    box-shadow:0 3px 10px rgba(0,0,0,.25);
}

.general-meta-fields-info-wrapper ul{
    margin:0;
    padding:0;
    list-style:none;
}

.general-meta-fields-info-wrapper li{
    margin-bottom:8px;
    color:#222;
    font-size:15px;
    line-height:1.5;
}

.general-meta-fields-info-wrapper li:last-child{
    margin-bottom:0;
}

.general-meta-fields-info-wrapper strong{
    display:inline-block;
    min-width:75px;
    font-weight:700;
    color:#000;
}