/*
==========================================
CONTAINER
==========================================
*/

.mc-container{

    width:min(1400px,92%);

    margin:auto;

}

/*
==========================================
GRID
==========================================
*/

.mc-grid{

    display:grid;

    gap:32px;

}

/*
==========================================
BOTONES
==========================================
*/

.mc-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    padding:14px 24px;

    border-radius:var(--mc-radius-md);

    background:var(--mc-primary);

    color:#fff;

    font-weight:600;

    transition:var(--mc-transition);

}

.mc-btn:hover{

    background:var(--mc-primary-hover);

}

/*
==========================================
EVENT CARD
==========================================
*/

.mc-card{

    display:flex;

    flex-direction:column;

    background:var(--mc-surface);

    border:1px solid var(--mc-border);

    border-radius:var(--mc-radius-lg);

    overflow:hidden;

    box-shadow:var(--mc-shadow-sm);

    transition:var(--mc-transition);

}

.mc-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--mc-shadow-lg);

}

.mc-card-image{

    aspect-ratio:16/9;

    background:#EEF2F7;

}

.mc-card-placeholder{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    height:100%;

    font-size:42px;

}

.mc-card-body{

    display:flex;

    flex-direction:column;

    gap:14px;

    padding:28px;

}

.mc-card-footer{

    padding:0 28px 28px;

}

.mc-modal{

    position:fixed;

    inset:0;

    display:none;

    align-items:center;

    justify-content:center;

    z-index:999999;

}

.mc-modal.mc-show{

    display:flex;

}

.mc-modal-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(4px);

}

.mc-modal-content{

    position:relative;

    width:min(900px,92vw);

    max-height:90vh;

    overflow-y:auto;

    background:#ffffff;

    border-radius:18px;

    box-shadow:0 25px 70px rgba(0,0,0,.25);

    animation:mcModal .25s ease;

}

@keyframes mcModal{

    from{

        opacity:0;

        transform:translateY(30px) scale(.97);

    }

    to{

        opacity:1;

        transform:none;

    }

}

.mc-modal-image{

    width:100%;

    height:320px;

    background:#f4f4f4;

    overflow:hidden;

}

.mc-modal-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

.mc-modal-body{

    padding:35px;

}

.mc-modal-category{

    display:inline-block;

    padding:6px 14px;

    border-radius:999px;

    background:#f58220;

    color:#fff;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.05em;

    margin-bottom:18px;

}

#mc-modal-title{

    font-size:34px;

    line-height:1.2;

    margin:0 0 20px;

    color:#213547;

}

#mc-modal-date,

#mc-modal-location,

#mc-modal-speaker{

    margin-bottom:14px;

    font-size:15px;

    color:#555;

}

#mc-modal-description{

    margin-top:25px;

    line-height:1.8;

    color:#444;

}

#mc-modal-description img{

    width:100%;

    border-radius:12px;

    margin-bottom:20px;

}

.mc-modal-actions{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:35px;

}

.mc-modal-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 24px;

    border-radius:10px;

    background:#f58220;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.mc-modal-button:hover{

    background:#dd6d12;

    color:#fff;

}

.mc-modal-close{

    position:absolute;

    top:18px;

    right:18px;

    width:44px;

    height:44px;

    border:none;

    border-radius:50%;

    background:#f58220;

    color:#fff;

    font-size:24px;

    cursor:pointer;

    z-index:20;

}

@media(max-width:768px){

    .mc-modal-content{

        width:95vw;

    }

    .mc-modal-image{

        height:220px;

    }

    .mc-modal-body{

        padding:22px;

    }

    #mc-modal-title{

        font-size:28px;

    }

}

/*==================================================
COMPARTIR EVENTO
==================================================*/

.mc-share{

    margin-top:35px;

    padding-top:25px;

    border-top:1px solid #ececec;

}

.mc-share h4{

    margin:0 0 18px;

    font-size:18px;

    font-weight:700;

    color:#213547;

}

.mc-share-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.mc-share-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:12px 18px;

    border:none;

    border-radius:10px;

    background:#f4f6f8;

    color:#213547;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:all .25s ease;

}

.mc-share-button:hover{

    transform:translateY(-2px);

    background:#213547;

    color:#ffffff;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

@media(max-width:768px){

    .mc-share-buttons{

        flex-direction:column;

    }

    .mc-share-button{

        width:100%;

    }

}

/*==================================================
AGREGAR AL CALENDARIO
==================================================*/

.mc-calendar-export{

    margin-top:35px;

    padding-top:25px;

    border-top:1px solid #ececec;

}

.mc-calendar-export h4{

    margin:0 0 18px;

    font-size:18px;

    font-weight:700;

    color:#213547;

}

.mc-calendar-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.mc-calendar-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:12px 18px;

    border:none;

    border-radius:10px;

    background:#0d6efd;

    color:#ffffff;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:all .25s ease;

}

.mc-calendar-button:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(13,110,253,.30);

    background:#0b5ed7;

}

.mc-calendar-button:nth-child(2){

    background:#198754;

}

.mc-calendar-button:nth-child(2):hover{

    background:#157347;

}

.mc-calendar-button:nth-child(3){

    background:#6c757d;

}

.mc-calendar-button:nth-child(3):hover{

    background:#5c636a;

}

@media(max-width:768px){

    .mc-calendar-buttons{

        flex-direction:column;

    }

    .mc-calendar-button{

        width:100%;

    }

}