.projectcase {
    margin-bottom: 40px;
}

.projectcase__section {
    margin-bottom: 48px;
}

.projectcase__heading {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 1.2;
}

.projectcase__intro-box {
    background: #f2f2f2;
    border-radius: 20px;
    padding: 32px 40px;
}

.projectcase__intro-grid {
    display: block;
}

.projectcase__intro-grid--cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 320px);
    gap: 32px 40px;
    align-items: center;
}

.projectcase__intro-text :first-child {
    margin-top: 0;
}

.projectcase__intro-text :last-child {
    margin-bottom: 0;
}

.projectcase__intro-image {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projectcase__intro-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

.projectcase__work {
    background: #f5f5f5;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 48px calc(50vw - 50%);
}

.projectcase__equipment-slider {
    margin-top: 24px;
}

.projectcase__cta-wrap {
    margin-top: 24px;
}

.projectcase__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #e85d2b 0%, #f07845 100%);
    border: 0;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(232, 93, 43, .35);
    transition: transform .2s, box-shadow .2s, background .2s;
    white-space: nowrap;
    cursor: pointer;
}

.projectcase__cta-btn:hover,
.projectcase__cta-btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232, 93, 43, .45);
    background: linear-gradient(135deg, #d04f22 0%, #e85d2b 100%);
}

.projectcase__cta-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, .22);
    border-radius: 50%;
    transition: transform .25s;
}

.projectcase__cta-btn:hover .projectcase__cta-btn-icon,
.projectcase__cta-btn:focus .projectcase__cta-btn-icon {
    transform: translateX(3px);
}

.projectcase-album,
.projectcase__gallery .projectcase-album-more,
.projectcase__results .projectcase-album,
.projectcase__results .projectcase-album-more {
    margin-top: 24px;
}

.projectcase .smart-album-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.projectcase .smart-album-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    background: #eee;
}

.projectcase .smart-album-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projectcase .smart-album-hidden {
    display: none !important;
}

.projectcase .smart-album-more {
    margin-top: 16px;
}

.projectcase .smart-album-show-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #e8e8e8;
    color: #333;
    cursor: pointer;
    font: inherit;
}

.projectcase .smart-album-show-all-btn:hover {
    background: #ddd;
}

@media (max-width: 1024px) {
    .projectcase .smart-album-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .projectcase__intro-box {
        padding: 24px 20px;
    }

    .projectcase__intro-grid--cols {
        grid-template-columns: 1fr;
    }

    .projectcase .smart-album-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .projectcase .smart-album-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
