.ck-home-gallery-preview { position: relative; z-index: 5; margin: 0 !important; padding: 18px 24px 20px; box-sizing: border-box; border: none !important; border-radius: 0 !important; background: #ffffff !important; box-shadow: none !important; }
body .kidsoo_slider { margin-bottom: 0 !important; padding-bottom: 0 !important; border-radius: 0 !important; }
body .ck-modern-slider { margin-top: 0 !important; margin-bottom: 0 !important; border-radius: 0 !important; }
body .header-extra:not(:has(.panel)),
body .kidsoo_top:not(:has(.panel)) { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; min-height: 0 !important; }
body .a2w_content_section { margin-top: 0 !important; padding-top: 0 !important; }
body .kidsoo_top2 { margin-top: 0 !important; padding-top: 0 !important; }
.ck-home-gallery-preview__head { position: relative; min-height: 86px; display: flex; align-items: center; gap: 18px; margin-bottom: 16px; padding-right: 340px; }
.ck-home-gallery-preview__icon { flex-shrink: 0; width: 66px; height: 66px; display: flex; align-items: center; justify-content: center; }
.ck-home-gallery-preview__icon svg { display: block; width: 66px; height: 66px; filter: drop-shadow(0 6px 6px rgba(20, 20, 60, .18)); }
.ck-home-gallery-preview__title-group { flex: 1 1 auto; min-width: 0; }
.ck-home-gallery-preview__title { margin: 0; color: #1d1b4d !important; font-family: 'Outfit', sans-serif !important; font-size: 27px !important; line-height: 1.15 !important; font-weight: 800 !important; letter-spacing: -0.01em; }
.ck-home-gallery-preview__title .ck-grade-accent,
.ck-home-gallery-preview__title strong { color: #1d6fd1 !important; font-weight: 800; }
.ck-home-gallery-preview__subtitle { margin: 4px 0 0 0; font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important; font-size: 14.5px !important; font-weight: 500 !important; letter-spacing: 0; color: #667085 !important; line-height: 1.35; }
.ck-home-gallery-preview__decor { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 330px; height: 88px; pointer-events: none; }
.ck-home-gallery-preview__decor svg { display: block; width: 100%; height: 100%; }
.ck-home-gallery-preview__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 0; }
.ck-home-gallery-preview__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; border: 1px solid rgba(0,0,0,.08); background: #ffffff; box-shadow: 0 4px 12px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04); transition: transform .18s ease, box-shadow .18s ease; }
.ck-home-gallery-preview__card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(2,132,199,.18); }
.ck-home-gallery-preview__card-preview { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; text-decoration: none !important; }
.ck-home-gallery-preview__card img { display: block; width: 100% !important; height: 195px !important; object-fit: cover !important; object-position: top center; background: #f0f7fd; flex: 0 0 auto; }
.ck-home-gallery-preview__card-title { display: block; margin-top: auto; padding: 8px 10px; color: #1f5d8e; font-size: 12.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #f8fbfe; border-top: 1px solid rgba(0,0,0,.05); }
.ck-home-gallery-preview__card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 8px 9px; background: #f8fbfe; }
.ck-home-gallery-preview__card-action { display: inline-flex; min-height: 31px; align-items: center; justify-content: center; padding: 6px 5px; border: 1px solid #bfe3fb; border-radius: 8px; color: #0284c7 !important; background: #fff; font: 800 11.5px/1 'Outfit', sans-serif; text-decoration: none !important; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.ck-home-gallery-preview__card-action:hover { background: #eff9ff; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(2,132,199,.12); }
.ck-home-gallery-preview__card-action--create { border-color: #1a5fe0; color: #fff !important; background: #1a5fe0; }
.ck-home-gallery-preview__card-action--create:hover { color: #fff !important; background: #1452c4; }
@media (max-width: 991px) {
    .ck-home-gallery-preview__head { min-height: 84px; padding-right: 190px; }
    .ck-home-gallery-preview__decor { right: 0; width: 176px; height: 47px; opacity: .9; }
}
@media (max-width: 768px) {
    .ck-home-gallery-preview__head { padding-right: 0; }
    .ck-home-gallery-preview__decor { display: none; }
    .ck-home-gallery-preview__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .ck-home-gallery-preview { margin: 0 !important; padding: 14px 14px 20px !important; }
    .ck-home-gallery-preview__card img { height: 155px !important; }
    .ck-home-gallery-preview__head { min-height: 76px; gap: 12px; }
    .ck-home-gallery-preview__icon,
    .ck-home-gallery-preview__icon svg { width: 52px; height: 52px; }
    .ck-home-gallery-preview__title { font-size: 18px !important; }
    .ck-home-gallery-preview__subtitle { font-size: 11px !important; line-height: 1.25 !important; }
}
@media (max-width: 420px) {
    .ck-home-gallery-preview { padding: 12px 12px 18px !important; }
}
@media (max-width: 390px) {
    .ck-home-gallery-preview__icon,
    .ck-home-gallery-preview__icon svg { width: 44px; height: 44px; }
    .ck-home-gallery-preview__title { font-size: 16px !important; }
    .ck-home-gallery-preview__subtitle { font-size: 10px !important; }
}
