.page-wrapper {
    display: flex;
    gap: 20px;
}

.side-column {
    width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.center-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.main-box, .side-box {
    background: var(--background-block-color);
    padding: 20px;
    border-radius: 12px;
}

.banner img {
    max-height: 900px;
    width: 100%;
    border-radius: 12px;
    height: auto;
    object-fit: cover;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.image-gallery .img-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    padding: 5px;
}

.image-gallery img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
}

.img-wrapper a {
    text-decoration: none;
    color: var(--color-primary);
}

.img-wrapper .label {
    position: absolute;
    bottom: 4px;
    font-size: 0.75rem;
}

.img-wrapper .title {
    position: absolute;
    font-weight: 800;
    bottom: 25px;
}

.side-column .side-box {
    height: auto;
    min-height: 180px;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.side-column .side-box.top {
    padding: 20px;
}

.side-column .logo {
    width: 160px;
    height: 75px;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.side-column .side-box img.dynamic {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.side-column .side-box img.dynamic:hover {
    transform: rotateY(10deg) scale(1.05);
}

.side-box .mini-box {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    width: 100%;
}

.side-box .mini-box .icon {
    width: 30px;
    margin-right: 10px;
}

.custom-scrollbar {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--logo-text-color) var(--background-color);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--logo-text-color);
    border-radius: 8px;
    border: 2px solid var(--background-color);
}

@media (max-width: 992px) {
    .page-wrapper {
        flex-direction: column;
    }

    .side-column {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .main-box {
        max-height: 500px;
        overflow-y: auto;
        overflow-x: hidden;
        margin-right: 20px;
    }
}