.design-grafico-page {
    padding-bottom: 20px;
}

.design-showcase {
    height: calc(100vh - 80px);
    padding: 30px;
    border: 1px solid rgba(136, 135, 135, 0.42);
    overflow: hidden;
    
    margin: 0 250px;  
    box-sizing: border-box;
}

.design-showcase + .design-showcase {
    margin-top: 56px;
}

.design-grid {
    width: 100%;
    height: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);

    gap: 12px;
}

.module {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #f4f4f4;
}

.module--text-block {
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: #222222;
}

.module--text-block .module__body {
    margin-top: auto;
}

.module--text-block h1 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.module--text-block h2 {
    margin: 0 0 8px;
    font-size: 13.5pt;
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 500;
}

.module--text-block p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    line-height: 1.42;
    font-weight: 400;
}

.module--image {
    background: #ffffff;
}

.module--image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.module__name {
    position: absolute;
    left: 16px;
    top: 14px;
    z-index: 2;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(34, 34, 34, 0.82);
    pointer-events: none;
}

.column--media .module__name {
    color: rgba(34, 34, 34, 0.9);
}

.design-showcase--secondary .module--blank {
    background: #ffffff;
}

.design-showcase--secondary .module--blank .module__name {
    color: #000000;
}

.design-showcase--secondary .module--blank img {
    display: none;
}

.design-showcase--secondary {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0));
}

@media (max-width: 1080px) {

    .design-showcase {
        height: auto;
    }

    .design-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: 220px;
    }
}

@media (max-width: 768px) {

    .design-showcase {
        padding: 15px;
    }

    .design-grid {
        grid-auto-rows: 180px;
    }

    .module--text-block {
        padding: 18px;
    }

    .module--text-block h1 {
        font-size: 2rem;
    }

    .module--text-block h2 {
        font-size: 12.5pt;
    }

    .module--text-block p {
        font-size: 0.92rem;
    }
}