/* The legacy subtitle is text; Divi 5 gives the same pseudo-element an icon font. */
body #page-container #diana_celebrated_header .et_pb_slider .et_pb_more_button {
    padding-left: 138px !important;
}

body #page-container #diana_celebrated_header .et_pb_slider .et_pb_more_button::after {
    font-family: 'Polaris Bold', Helvetica, Arial, sans-serif !important;
    display: block !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: inherit !important;
    white-space: normal;
}

/* Divi 5 no longer supplies the legacy slider button's data-icon attribute. */
body #page-container #diana_celebrated_header .et_pb_slider .et_pb_more_button::before {
    content: '\24' !important;
    font-family: ETmodules !important;
    font-size: 20px !important;
    line-height: 1 !important;
    margin: 5px 0 0 !important;
}

@media (max-width: 480px) {
    body #page-container #diana_celebrated_header .et_pb_slider .et_pb_more_button {
        padding-left: 90px !important;
        font-size: 18px !important;
        line-height: 1.4 !important;
        white-space: nowrap;
    }

    body #page-container #diana_celebrated_header .et_pb_slider .et_pb_more_button::after {
        font-size: 12px !important;
    }
}

/* The Diana phone button uses ::before for the number and ::after for its icon. */
body #page-container #diana_celebrated_header a.et_pb_button[data-icon='\e090']::before {
    font-family: inherit !important;
}

/* Legacy width calculations require cards that cannot shrink and have no flex gap. */
.pegasus_portfolio_2 .et_pb_posts.et_flex_module {
    display: flex;
    flex-flow: row nowrap !important;
    gap: 0 !important;
    justify-content: flex-start;
}

.pegasus_portfolio_2 .et_pb_portfolio .type-project {
    flex: 0 0 auto !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.pegasus_portfolio_2 .kadalihan-portfolio-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

/* The following row's decorative dots extend over the portfolio tap targets. */
#page-container .pegasus_portfolio_2 + .coco_contact_intro_section .et_pb_row::before {
    pointer-events: none;
}

@media (max-width: 980px) {
    /* The legacy left gutter must be deducted from a full-width mobile column. */
    #page-container .pegasus_portfolio_2 .et_pb_column_2_3 {
        width: calc(100% - 7.8vw) !important;
    }
}

.pegasus_portfolio_2 .portfolio-slider-arrows a:focus-visible,
.pegasus_portfolio_2 .slide_dots a:focus-visible {
    outline: 2px solid #8f00ff;
    outline-offset: 3px;
}
