/* SEAYAPI v1.0.8 – opt-in, two-colour shape divider for Easton section widgets.
   White main layer (#fff), peach rear layer (#FBE3D4) per supplied reference.
   Scoped marker added only to widgets with the divider enabled. */
section.seayapi-has-dual-divider {
    position: relative;
}
section.seayapi-has-dual-divider > .seayapi-dual-divider {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--seayapi-dd-height, 60px);
    z-index: 7;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    transform: translateZ(0);
}
section.seayapi-has-dual-divider > .seayapi-dual-divider--bottom {
    bottom: -1px;
}
section.seayapi-has-dual-divider > .seayapi-dual-divider--top {
    top: -1px;
    transform: scaleY(-1);
}
section.seayapi-has-dual-divider > .seayapi-dual-divider > span {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
section.seayapi-has-dual-divider > .seayapi-dual-divider > .seayapi-dual-divider__secondary {
    background: var(--seayapi-dd-secondary, #FBE3D4);
    -webkit-clip-path: polygon(0% 67%, 28% 13%, 72% 38%, 100% 52%, 100% 100%, 0% 100%);
    clip-path: polygon(0% 67%, 28% 13%, 72% 38%, 100% 52%, 100% 100%, 0% 100%);
}
section.seayapi-has-dual-divider > .seayapi-dual-divider > .seayapi-dual-divider__primary {
    background: var(--seayapi-dd-primary, #FFFFFF);
    -webkit-clip-path: polygon(0% 87%, 28% 31%, 72% 55%, 100% 68%, 100% 100%, 0% 100%);
    clip-path: polygon(0% 87%, 28% 31%, 72% 55%, 100% 68%, 100% 100%, 0% 100%);
}
/* H2 Chooseus has a legacy single-colour shape. The opt-in shared divider
   replaces it only when the new controls are activated. */
section.chooseus-style-two.seayapi-has-dual-divider > .shape .shape-2 {
    display: none;
}
@media (max-width: 767px) {
    /* Geometry stays proportional, while limiting the covered area on phones. */
    section.seayapi-has-dual-divider > .seayapi-dual-divider {
        max-height: 90px;
    }
}
/* Avoid layering conflicts with the earlier v1.0.7 Chooseus mask when both
   features are enabled. The new two-tone divider now draws its own edge. */
section.chooseus-style-two.seayapi-has-dual-divider.seayapi-chooseus-image-divider > .shape .shape-3 {
    top: 0;
    height: 100%;
    -webkit-clip-path: none;
    clip-path: none;
}
