
#stemim-sunum-gallery,
#stemim-sunum-gallery * {
    box-sizing: border-box;
}

#stemim-sunum-gallery {
    width: 100%;
    margin: 0 auto;
    padding: 24px 0;
}

#stemim-sunum-gallery .stemim-sunum-header {
    margin-bottom: 24px;
}

#stemim-sunum-gallery .stemim-sunum-header h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

#stemim-sunum-gallery .stemim-sunum-header p {
    margin: 0;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.65;
    opacity: .78;
}

#stemim-sunum-gallery .stemim-sunum-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

#stemim-sunum-gallery .stemim-sunum-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    min-height: 300px;
    transition: transform .18s ease, box-shadow .18s ease;
}

#stemim-sunum-gallery .stemim-sunum-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

#stemim-sunum-gallery .stemim-sunum-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

#stemim-sunum-gallery .stemim-sunum-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

#stemim-sunum-gallery .stemim-sunum-number {
    font-size: 13px;
    font-weight: 800;
    opacity: .45;
}

#stemim-sunum-gallery .stemim-sunum-icon {
    width: 58px;
    height: 58px;
    margin: 22px 0 16px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, .04);
}

#stemim-sunum-gallery .stemim-sunum-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#stemim-sunum-gallery .stemim-sunum-card h3 {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 750;
    overflow-wrap: anywhere;
}

#stemim-sunum-gallery .stemim-sunum-actions {
    margin-top: auto;
    display: grid;
    gap: 8px;
}

#stemim-sunum-gallery .stemim-sunum-button,
#stemim-sunum-gallery .stemim-sunum-secondary {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    transition: opacity .15s ease, transform .15s ease;
}

#stemim-sunum-gallery .stemim-sunum-button {
    background: #0f172a;
    color: #fff;
}

#stemim-sunum-gallery .stemim-sunum-secondary {
    border: 1px solid rgba(15, 23, 42, .14);
    color: #0f172a;
    background: transparent;
}

#stemim-sunum-gallery .stemim-sunum-button:hover,
#stemim-sunum-gallery .stemim-sunum-secondary:hover {
    opacity: .88;
    transform: translateY(-1px);
}

#stemim-sunum-gallery .stemim-sunum-empty {
    padding: 28px;
    border: 1px dashed rgba(15, 23, 42, .18);
    border-radius: 16px;
    text-align: center;
    opacity: .72;
}

@media (max-width: 1050px) {
    #stemim-sunum-gallery .stemim-sunum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    #stemim-sunum-gallery {
        padding: 16px 0;
    }

    #stemim-sunum-gallery .stemim-sunum-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #stemim-sunum-gallery .stemim-sunum-card {
        min-height: 0;
        padding: 18px;
    }

    #stemim-sunum-gallery .stemim-sunum-icon {
        margin-top: 18px;
    }
}
