/* ==========================================================================
   SKYSTONE - EVENTOS PERSONALIZADOS V18
   Estrutura inspirada na referência:
   título do evento / imagem / horário.
   Main oficial: 535px.
   ========================================================================== */

body.template-skystone .sky-custom-events {
    width: 100%;

    margin: 9px 0 0;
    padding: 0;

    box-sizing: border-box;
}

body.template-skystone .sky-custom-events__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));

    gap: 9px;

    width: 100%;
}

body.template-skystone .sky-custom-events__grid.is-single {
    grid-template-columns: 1fr;
}

body.template-skystone .sky-custom-event-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid #cfe2e6;

    background: #fff;

    box-shadow: 0 5px 15px rgba(47,97,112,.06);
}

body.template-skystone .sky-custom-event-card__title {
    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 8px;

    background:
        linear-gradient(
            90deg,
            #edf9fb,
            #d8f0f4,
            #edf9fb
        );

    border-bottom: 1px solid #cce4e8;

    color: #075f78;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;

    text-align: center;
}

body.template-skystone .sky-custom-event-card__image {
    height: 150px;

    overflow: hidden;

    background: #dceff3;
}

body.template-skystone .sky-custom-event-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

body.template-skystone .sky-custom-event-card__placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(40,171,201,.25),
            transparent 58%
        ),
        linear-gradient(
            145deg,
            #e9f7f9,
            #cfe8ed
        );
}

body.template-skystone .sky-custom-event-card__placeholder strong {
    color: #148ba7;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1;
}

body.template-skystone .sky-custom-event-card__placeholder span {
    max-width: 85%;

    color: #557f8d;

    font-size: 7px;
    font-weight: 700;
    text-align: center;
}

body.template-skystone .sky-custom-event-card__time {
    min-height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 3px;

    padding: 0 7px;

    border-top: 1px solid #d5e6ea;

    background: #f8fcfd;

    color: #4c7785;

    font-size: 6.5px;
    line-height: 1;
}

body.template-skystone .sky-custom-event-card__time strong {
    color: #075f78;
}

body.template-skystone .sky-custom-event-card__clock {
    color: #13a0bc;
    font-size: 9px;
}

body.template-skystone
.sky-custom-events__grid.is-single
.sky-custom-event-card__image {
    height: 190px;
}

@media (max-width: 620px) {
    body.template-skystone .sky-custom-events__grid {
        grid-template-columns: 1fr;
    }

    body.template-skystone .sky-custom-event-card__image {
        height: 180px;
    }
}
