/* ========================================
   Alternating Split Content Blocks
   ======================================== */
.alt-split-section {
    background: white;
    overflow: hidden;
}

/* Section header */
.alt-split-header {
    text-align: center;
    margin-bottom: 64px;
}

.alt-split-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #91D291;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 12px;
}

.alt-split-header h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    color: #1E1E1E;
    margin: 0;
}

/* Each alternating block */
.alt-split-block {
    display: flex;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.alt-split-block:last-child {
    margin-bottom: 0;
}

.alt-split-block.reversed {
    flex-direction: row-reverse;
}

/* Content column */
.alt-split-content-col {
    flex: 1;
    min-width: 0;
}

/* Title row with inline link */
.alt-split-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.alt-split-title-row h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #1E1E1E;
    margin: 0;
}

.alt-split-title-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #034737;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.alt-split-title-link:hover {
    color: #034737;
    text-decoration: underline;
}

/* Content items — Grid layout (2 columns) */
.alt-split-content-items.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Content items — List layout (single column) */
.alt-split-content-items.layout-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Content items — Row layout (3 columns) */
.alt-split-content-items.layout-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

/* Individual content item */
.alt-split-content-item h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #1E1E1E;
    margin-bottom: 8px;
}

.alt-split-item-text,
.alt-split-item-text p {
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin-bottom: 0;
}

.alt-split-item-text ul {
    margin: 0;
    padding-left: 20px;
}

.alt-split-item-text ul li {
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin-bottom: 4px;
}

/* Actions (buttons) */
.alt-split-actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
}

.btn-alt-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    background-color: #91d291;
    border: 1px solid #91d291;
    color: #1e1e1e;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-alt-green:hover {
    background-color: #7cc47c;
    border-color: #7cc47c;
    color: #1e1e1e;
    text-decoration: none;
}

/* Image column */
.alt-split-image-col {
    flex: 0 0 480px;
    max-width: 480px;
}

.alt-split-image-col .media-frame {
    overflow: visible;
    box-shadow: 0px 32px 64px -12px rgba(10, 13, 18, 0.14);
    border: none;
}

.alt-split-image-col.right .media-frame {
    position: relative;
    display: flex;
}

.alt-split-image-col.left .media-frame {
    display: flex;
    justify-content: end;
}

.alt-split-image-col.right .media-frame {
    justify-content: flex-start;
}

.alt-split-image-col .media-frame img {
    min-width: 544px;
    border: 4px solid #181D27;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 32px 64px -12px rgba(10, 13, 18, 0.14);
}

.btn-split-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    background-color: white;
    border: 1px solid #D5D7DA;
    color: #1E1E1E;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
    transition: background-color 0.3s;
}

.btn-split-outline:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #1E1E1E;
}

/* ========================================
   Responsive — max-width: 766px
   ======================================== */
@media only screen and (max-width: 766px) {
    .alt-split-block {
        gap: 40px;
    }

    .alt-split-block,
    .alt-split-block.reversed {
        flex-direction: column;
    }

    .alt-split-image-col {
        flex: unset;
        max-width: 100%;
    }

    .alt-split-image-col .media-frame img {
        width: auto;
        min-width: unset;
    }

    .alt-split-subtitle,
    .alt-split-header h2 {
        text-align: left;
        width: 100%;
    }

    .alt-split-header {
        margin-bottom: 44px;
    }

    .alt-split-title-row {
        flex-direction: column;
    }

    .alt-split-title-row a {
        width: 100%;
    }

    .alt-split-content-items.layout-grid {
        display: flex;
        flex-direction: column;
    }

    .alt-split-block {
        margin-bottom: 60px;
    }

    .alt-split-content-items.layout-row {
        display: flex;
        flex-direction: column;
    }
}

/* ========================================
   Responsive — 767px to 991px
   ======================================== */
@media only screen and (min-width: 767px) and (max-width: 991px) {
    .alt-split-block {
        gap: 40px;
    }

    .alt-split-block,
    .alt-split-block.reversed {
        flex-direction: column;
    }

    .alt-split-image-col {
        flex: unset;
        max-width: 100%;
    }

    .alt-split-image-col .media-frame img {
        width: auto;
        min-width: unset;
    }
}

/* ========================================
   Responsive — 992px to 1200px
   ======================================== */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .alt-split-block {
        gap: 40px;
    }

    .alt-split-content-items.layout-row,
    .alt-split-content-items.layout-grid {
        display: flex;
        flex-direction: column;
    }
}
