.home-container {
    max-width: 1440px;
    margin: 0 auto !important;
    margin-top: 67px !important;
    padding: 0 20px;

    .home-row {
        justify-content: space-between;
        align-items: center;
        gap: 138px;

        h1 {
            flex: 3;
            position: relative;

            &::before {
                content: '';
                display: inline-block;
                margin-right: 11px !important;
                margin-top: 10px !important;
                width: 16px;
                height: 14px;
                vertical-align: top;
                background: url("/wp-content/uploads/2025/11/1.svg") no-repeat center center;
                background-size: contain;
            }
        }

        .home-body {
            gap: 22.4px;
            flex: 1;
        }
    }

    .modules-grid {
        margin: 40px 0 18px;
        gap: 20px;

        .module {
            width: 335px;
            height: 380px;
            padding: 16px 46px 16px 16px;
            gap: 8px;

            p.xxsmall {
                background-color: rgba(255, 255, 255, 0.5);
                padding: 3px 8px;
                border-radius: 30px;
            }

            p.small {
                color: var(--black) !important;
                margin-top: auto;
            }
        }
    }
}

.wp-block-group.module {
    background-size: 150% !important;
}

.border-top {
    border-top: 1px solid #d1d1d1 !important;
}

@media (max-width: 650px) {
    .home-container {
        margin-top: 32px !important;
        padding: 0 15px;

        .home-row {
            flex-direction: column;
            gap: 24px;
        }

        .modules-grid {
            grid-template-columns: 1fr !important;
            justify-items: center;
            margin: 40px 0 32px;

            .module {
                width: 100% !important;
                height: 410px;
                padding: 16px 73px 16px 16px;
            }
        }
    }
}