/* Slider/bloque "Mira lo que los maestros ya crearon" dentro de los posts (ck-gallery-preview) */
.ck-gallery-preview {
    border: 3px solid #fff !important;
    border-radius: 30px !important;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0fdfa 50%, #fef9c3 100%) !important;
    box-shadow: 0 7px 0 rgba(15, 23, 42, .08), 0 16px 28px -12px rgba(15, 23, 42, .2) !important;
}
.ck-gallery-preview__eyebrow {
    border: 2px solid #fff;
    border-radius: 50px !important;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .18);
    transform: rotate(-2deg);
}
.ck-gallery-preview__title { font-family: 'Outfit', sans-serif !important; }
.ck-gallery-preview__more {
    border: 2px dashed #7dd3fc;
    border-radius: 50px;
    background: #fff;
    padding: 6px 14px;
}
.ck-gallery-preview__cta { border-radius: 50px !important; box-shadow: 0 4px 0 rgba(15, 23, 42, .2) !important; }
.ck-gallery-preview__grid > .ck-gallery-preview__card {
    --c: #8b5cf6; --bg: #f5f3ff; --bd: #ddd6fe;
    position: relative;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
    background: var(--bg) !important;
    border: 2.5px solid var(--bd) !important;
    border-radius: 26px !important;
    box-shadow: 0 6px 0 var(--bd), 0 14px 24px -10px rgba(15, 23, 42, .18) !important;
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s ease, border-color .2s ease !important;
}
.ck-gallery-preview__grid > .ck-gallery-preview__card:nth-child(6n+1) { --c: #0d9488; --bg: #f0fdfa; --bd: #99f6e4; }
.ck-gallery-preview__grid > .ck-gallery-preview__card:nth-child(6n+2) { --c: #0284c7; --bg: #f0f9ff; --bd: #bae6fd; }
.ck-gallery-preview__grid > .ck-gallery-preview__card:nth-child(6n+3) { --c: #ea580c; --bg: #fff7ed; --bd: #fed7aa; }
.ck-gallery-preview__grid > .ck-gallery-preview__card:nth-child(6n+4) { --c: #db2777; --bg: #fdf2f8; --bd: #fbcfe8; }
.ck-gallery-preview__grid > .ck-gallery-preview__card:nth-child(6n+5) { --c: #ca8a04; --bg: #fefce8; --bd: #fde68a; }
.ck-gallery-preview__grid > .ck-gallery-preview__card:nth-child(6n+6) { --c: #7c3aed; --bg: #f5f3ff; --bd: #ddd6fe; }
.ck-gallery-preview__grid > .ck-gallery-preview__card:hover {
    transform: translateY(-7px) rotate(-.8deg) scale(1.02) !important;
    border-color: var(--c) !important;
    box-shadow: 0 8px 0 var(--c), 0 20px 30px -12px rgba(15, 23, 42, .28) !important;
}
.ck-gallery-preview__card > img {
    display: block;
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
    margin: 9px 9px 0;
    box-sizing: border-box;
    border-radius: 16px;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
}
.ck-gallery-preview__card-title { font-family: 'Outfit', sans-serif !important; font-weight: 800 !important; color: #1e293b !important; background: transparent !important; border-top: 0 !important; }
@media (hover: hover) and (min-width: 769px) {
    .ck-gallery-preview__grid > .ck-gallery-preview__card::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}
@media (max-width: 540px) {
    .ck-gallery-preview { border-radius: 22px !important; border-width: 2px !important; }
    .ck-gallery-preview__grid > .ck-gallery-preview__card { border-radius: 20px !important; box-shadow: 0 4px 0 var(--bd), 0 8px 16px -8px rgba(15, 23, 42, .18) !important; }
}
