/* .public-artifact-sections-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
    padding: 20px 0;
    margin-bottom: 50px;

    .artifact-section {
        flex: 1 1 0;
        min-width: 0;
        border: 1px solid #bcbcbc;
        border-radius: 5px;

        .section-link {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
            color: inherit;
            text-decoration: none;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.3;
            color: #952828;
            margin-left: 30px;
            margin-top: 30px;
        }

        .section-description {
            font-size: 14px;
            line-height: 1.6;
            color: #666;
            margin-left: 30px;
            margin-bottom: 20px;
        }

        .section-image {
            position: relative;
            width: 100%;
            overflow: visible;
            z-index: 1;

            .image {
                display: block;
                width: 100%;
                object-fit: cover;
                border-radius: 5px;

                transform: scale(1) rotate(0deg);
                transform-origin: center center;

                transition:
                    transform 0.4s ease,
                    box-shadow 0.4s ease;

                position: relative;
            }
        }
    }

    .artifact-section:hover .section-image {
        z-index: 5;
    }

    .artifact-section:hover .section-image .image {
        transform: scale(1.03) rotate(3deg);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 900px) {
    .public-artifact-sections-wrapper {
        flex-wrap: wrap;

        .artifact-section {
            flex: 0 0 calc((100% - 40px) / 3);
        }
    }
}

@media (max-width: 600px) {
    .artifact-section {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 380px) {
    .artifact-section {
        flex: 0 0 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-image .image {
        transition: none;
    }
} */


/* Main wrapper */
.public-artifact-sections-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
    padding: 20px 0;
    margin-bottom: 50px;
    box-sizing: border-box;

    .artifact-section {
        flex: 0 0 calc((100% - 80px) / 5);
        min-width: 0;
        border: 1px solid #bcbcbc;
        border-radius: 5px;
        box-sizing: border-box;

        .section-link {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
            color: inherit;
            text-decoration: none;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.3;
            color: #952828;
            margin-left: 30px;
            margin-top: 30px;
            margin-right: 15px;
        }

        .section-description {
            font-size: 14px;
            line-height: 1.6;
            color: #666;
            margin-left: 30px;
            margin-right: 15px;
            margin-bottom: 20px;
        }

        .section-image {
            position: relative;
            width: 100%;
            overflow: visible;
            z-index: 1;

            .image {
                display: block;
                width: 100%;
                height: auto;
                object-fit: cover;
                border-radius: 5px;
                transform: scale(1) rotate(0deg);
                transform-origin: center center;
                transition:
                    transform 0.4s ease,
                    box-shadow 0.4s ease;
                position: relative;
            }
        }
    }

    .artifact-section:hover .section-image {
        z-index: 5;
    }

    .artifact-section:hover .section-image .image {
        transform: scale(1.03) rotate(3deg);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    }
}

/* Smaller desktop: 4 + 1 centered */
@media (max-width: 1100px) {
    .public-artifact-sections-wrapper {
        .artifact-section {
            flex-basis: calc((100% - 60px) / 4);
        }
    }
}

/* Tablet: 3 + 2 centered */
@media (max-width: 900px) {
    .public-artifact-sections-wrapper {
        .artifact-section {
            flex-basis: calc((100% - 40px) / 3);
        }
    }
}

/* Mobile: 2 + 2 + 1 centered */
@media (max-width: 650px) {
    .public-artifact-sections-wrapper {
        .artifact-section {
            flex-basis: calc((100% - 20px) / 2);
        }
    }
}

/* Small mobile: all 5 stacked vertically */
@media (max-width: 450px) {
    .public-artifact-sections-wrapper {
        .artifact-section {
            flex-basis: 100%;
            max-width: 320px;
        }
    }
}

/* Accessibility: reduce animation */
@media (prefers-reduced-motion: reduce) {
    .public-artifact-sections-wrapper {
        .section-image .image {
            transition: none;
        }
    }
}

