.page_wrap .content_wrap,
.page_wrap .content_container {
    width: 100% !important;
}

/**
 * Gutenberg (Block Editor) Pages — Custom Styles
 * Loads only on posts/pages that use the block editor (has_blocks check).
 */

/* ── Reset / Base ─────────────────────────────────────────── */
.wp-block-group,
.wp-block-cover,
.wp-block-columns {
    box-sizing: border-box;
}

/* ── Advantages Cards Block ───────────────────────────────── */
.sc-ac {
    font-family: 'montserrat', sans-serif;
    background-color: #06224D;
    padding-block: 60px;
}

.sc-ac__inner {
    max-width: 1360px;
    margin: 0 auto;
    padding-inline: 24px;
}

.sc-ac__title {
    font-weight: 900;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -2px;
    color: #ffffff !important;
    margin-bottom: 24px !important;
    text-transform: uppercase;
}

.sc-ac__grid {
    display: grid;
    grid-template-columns: repeat( var( --cards-amount, 3 ), 1fr );
    gap: 24px;
}

.sc-ac__card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    transition: box-shadow .3s ease, transform .25s ease, background .25s ease;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sc-ac__card:hover {
    box-shadow: 0 16px 32px rgba(16, 24, 40, 0);
    transform: translateY( -4px );
    background: #f0f8ff;
}

.sc-ac__icon {
    width: 40px;
    object-fit: contain;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.sc-ac__card-title {
    font-weight: 800;
    font-size: 24px;
    line-height: 120%;
    color: #0c0c0c;
    margin: 0;
}

.sc-ac__card-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #64748b;
    margin: 0;
}

/* Align support */
.sc-ac.alignfull,
.sc-ac.alignwide {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc( -50vw + 50% );
}

@media ( max-width: 1024px ) {
    .sc-ac__grid { grid-template-columns: repeat( 2, 1fr ); gap: 20px; }
}

@media ( max-width: 768px ) {
    .sc-ac__title { font-size: 36px; letter-spacing: -1px; }
    .sc-ac__card-title { font-size: 20px; line-height: 28px; }
    .sc-ac__grid { display: flex; flex-direction: column; gap: 16px; }
    .sc-ac__card { padding: 28px 20px; }
}
