.divider {
    position: relative;
    width: 100%;
    min-height: clamp(92px, 10vw, 150px);
    display: flex;
    align-items: center;
    overflow: visible;
    --divider-start: var(--blue);
    --divider-end: var(--red);
}

.divider-bg {
    position: absolute;
    inset: 0;
    display: flex;
}

.divider-panel {
    flex: 1;
}

.divider-panel-start {
    background: var(--divider-start);
    clip-path: polygon(0 10%, 100% 10%, 90% 100%, 0 100%);
}

.divider-panel-end {
    background: var(--divider-end);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -6%;
}

.divider-media {
    position: absolute;
    bottom: 0;
    max-width: min(34vw, 360px);
    height: clamp(132px, 16vw, 300px);
    object-fit: contain;
    z-index: 10;
}

.divider-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    color: #fff;
    gap: var(--layout-gap-wide);
    padding: 0 var(--section-x);
}

.divider-title {
    flex: 1;
    text-align: end;
}

.divider-title > strong,
.divider-copy > strong {
    display: block;
    font-size: var(--type-divider-title);
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    
}

.divider-title > span {
    display: block;
    margin-top: clamp(4px, 0.5vw, 8px);
    color: #fff;
    font-family: var(--font-h);
    font-size: var(--type-body-sm);
    line-height: 1.15;
    
}

.divider-copy {
    flex: 1.2;
    text-align: left;

}

.divider-copy p {
    max-width: 50ch;
    margin-left: auto;
    font-family: var(--font-h);
    font-size: var(--type-divider-copy);
    line-height: 1.3;
    color: #fff;
}

.divider-full {
    width: 100vw;
    margin-top: 0;
    margin-bottom: var(--section-y-tight);
    margin-left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 760px) {
    .divider {
        min-height: clamp(104px, 18vw, 140px);
    }

    .divider-content {
        gap: var(--layout-gap);
    }

    .divider-media {
        left: clamp(8px, 3vw, 24px);
        height: clamp(118px, 24vw, 180px);
        max-width: 21vw;
    }

    .divider-title > strong,
    .divider-copy > strong {
        font-size: clamp(1.25rem, 6vw, 2.375rem);
    }

    .divider-title > span,
    .divider-copy p {
        font-size: clamp(0.625rem, 2.3vw, 0.9375rem);
    }
}

@media (max-width: 640px) {
    .divider {
        min-height: 135px;
        overflow: hidden;
    }

    .divider-content {
        display: grid;
        grid-template-columns: minmax(0, 45%) minmax(0, 55%);
        gap: var(--section-x);
        padding: 0 var(--section-x);
    }

    .divider-title,
    .divider-copy {
        min-width: 0;
        text-align: center;
    }

    .divider-copy p {
        max-width: 20ch;
        margin: 0 auto;
        font-size: clamp(0.6875rem, 2.25vw, 0.8125rem);
        line-height: 1.12;
    }

    .divider-title > strong,
    .divider-copy > strong {
        font-size: clamp(1.625rem, 5.8vw, 2rem);
    }

    .divider-title > span {
        font-size: clamp(0.6875rem, 2.25vw, 0.8125rem);
        line-height: 1.12;
    }

}

@media (max-width: 560px) {
    .divider {
        min-height: 104px;
    }

    .divider-panel-start {
        clip-path: polygon(0 8%, 100% 8%, 86% 100%, 0 100%);
    }

    .divider-panel-end {
        margin-left: -12%;
        clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    }

    .divider-content {
        gap: var(--section-x);
        padding: 0 var(--section-x);
    }

    .divider-media {
        display: none;
    }

    .divider-title > strong,
    .divider-copy > strong {
        font-size: clamp(1.5rem, 6.5vw, 1.875rem);
        line-height: 0.98;
    }

    .divider-title > span,
    .divider-copy p {
        font-size: clamp(0.625rem, 2.75vw, 0.75rem);
        line-height: 1.12;
    }
}
