/* Toonz What We Produce - Editorial Grid */

.toonz-production-grid-wrapper {
    width: 100%;
    padding: 100px 0;
    font-family: 'Outfit', sans-serif;
}

.wpg-header {
    text-align: center;
    margin-bottom: 60px;
}

.wpg-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.wpg-main-line {
    width: 40px;
    height: 2px;
    background: #E87722;
    margin: 0 auto;
}

.wpg-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
    padding: 0 40px;
}

.wpg-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.wpg-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.wpg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.wpg-content {
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wpg-icon-circle {
    width: 120px;
    height: 100px;
    /* border: 1px solid #E87722; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #E87722;
    /* margin-bottom: 25px; */
    transition: all 0.4s ease;
    overflow: hidden;
}

.wpg-custom-icon {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.wpg-item-header {
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.wpg-heading-line {
    width: 30px;
    height: 1.5px;
    background: #E87722;
    margin-bottom: 25px;
    transition: width 0.4s ease;
}

.wpg-item-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    max-width: 250px;
}

/* Hover States */
.wpg-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.wpg-item:hover .wpg-image-wrapper img {
    transform: scale(1.08);
}

.wpg-item:hover .wpg-heading-line {
    width: 60px;
}

.wpg-item:hover .wpg-icon-circle {
    /* background: #E87722; */
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .wpg-grid {
        flex-wrap: wrap;
    }

    .wpg-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .wpg-item {
        flex: 0 0 100%;
    }
}