/*
 * 50 Page dental software training.
 * Load order: content-style.css -> css/10-content-patterns.css -> css/15-woocommerce.css -> css/20-page-patterns.css -> css/20-support-pages.css -> style.css -> css/pages/50-page-*.css.
 * Purpose: Dental Software Training (Practice Management Training, ID 4249) page-only card/panel styling loaded on is_page(4249).
 * Scope: all rules are namespaced under .dmax-dst-page so they cannot leak into other pages or Kadence defaults.
 * Related: js/dental-software-training-tabs.js toggles .is-active / [hidden] on .dmax-dst-card and .dmax-dst-panel.
 */

.dmax-dst-page {
    background-color: var(--global-palette6, #08263c);
    background-image: url("/wp-content/uploads/2021/06/dental2.jpg");
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    /* color: #ffffff; */
    position: relative;
}

.dmax-dst-page > .kt-row-column-wrap,
.dmax-dst-page .kt-inside-inner-col {
    position: relative;
    z-index: 1;
}

.dmax-dst-page .dmax-dst-intro {
    /* color now set inline as rgba(255,255,255,0.88) via wp:paragraph style */
    font-size: 1rem;
    line-height: 1.6;
    max-width: 880px;
    margin: 0 auto 1rem;
    text-align: center;
}

.dmax-dst-page .dmax-dst-cards .kt-inside-inner-col,
.dmax-dst-tablist {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    width: 100%;
}

.dmax-dst-page .dmax-dst-tabs-row > .kt-row-column-wrap {
    align-items: flex-start;
}

.dmax-dst-page .dmax-dst-cards,
.dmax-dst-page .dmax-dst-panels {
    align-self: flex-start;
}

.dmax-dst-page .dmax-dst-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 1.5rem 1rem;
    background: #ffffff;
    color: var(--global-palette5, #0b1f33);
    border: 1px solid rgba(11, 31, 51, 0.12);
    border-radius: 12px;
    cursor: pointer;
    font: inherit;
    text-align: center;
    position: relative;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.dmax-dst-page .dmax-dst-card:hover {
    background: #f4f4f2;
    border-color: var(--global-palette3, #3cbce6);
    /* transform: translateY(-2px); */
}

.dmax-dst-page .dmax-dst-card:focus-visible {
    outline: 2px solid var(--global-palette3, #3cbce6);
    outline-offset: 2px;
}

.dmax-dst-page .dmax-dst-card.is-active {
    background: #272a63;
    color: #ffffff;
    border-color: #272a63;
    z-index: 2;
}

.dmax-dst-page .dmax-dst-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 94px;
}

.dmax-dst-page .dmax-dst-card-icon img {
    height: 94px;
    width: auto;
    display: block;
}

.dmax-dst-page .dmax-dst-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}

.dmax-dst-page .dmax-dst-card-hint {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--global-palette3, #3cbce6);
}

.dmax-dst-page .dmax-dst-card.is-active .dmax-dst-card-hint {
    color: #ffffff;
}

.dmax-dst-page .dmax-dst-panels .kt-inside-inner-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dmax-dst-page .dmax-dst-panel[hidden] {
    display: none !important;
}

.dmax-dst-page .dmax-dst-panel {
    background: #272a63;
    color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 0;
    position: relative;
    scroll-margin-top: 100px;
}

.dmax-dst-page .dmax-dst-panel p,
.dmax-dst-page .dmax-dst-panel .dmax-dst-panel-title,
.dmax-dst-page .dmax-dst-panel .dmax-dst-step-title,
.dmax-dst-page .dmax-dst-panel .dmax-dst-hourly-special em {
    color: #ffffff;
}

.dmax-dst-page .dmax-dst-panel.is-active::before {
    display: none;
}

.dmax-dst-page .dmax-dst-panel-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: inherit;
}

.dmax-dst-page .dmax-dst-panel-intro {
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.dmax-dst-page .dmax-dst-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.5rem 0 0.5rem;
    color: inherit;
}

.dmax-dst-page .dmax-dst-panel p {
    line-height: 1.6;
    margin: 0 0 1rem;
}

.dmax-dst-page .dmax-dst-hourly-special {
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.dmax-dst-page .dmax-dst-hourly-image {
    text-align: center;
    margin: 0 0 1.5rem;
}

.dmax-dst-page .dmax-dst-hourly-image img {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
    display: inline-block;
}

.dmax-dst-page .dmax-dst-video-embed {
    margin: 0 0 1.5rem;
}

.dmax-dst-page .dmax-dst-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.dmax-dst-page .dmax-dst-panel-actions .button {
    margin: 0;
    color: #ffffff;
    border-color: #ffffff;
    background: transparent;
}

.dmax-dst-page .dmax-dst-panel-actions .button:hover,
.dmax-dst-page .dmax-dst-panel-actions .button:focus-visible {
    color: #272a63;
    background: #ffffff;
    border-color: #ffffff;
}

.dmax-dst-page .kb-row-layout-iddsttabsrow {
    --kb-default-row-gutter: 26px;
    --global-row-gutter-md: 18px;
    --global-row-gutter-sm: 18px;
}

.dmax-dst-page .dmax-dst-anchor-target {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
    height: 0;
    width: 0;
}

@media (min-width: 768px) {
    .dmax-dst-page .dmax-dst-card,
    .dmax-dst-page .dmax-dst-panel {
        border-radius: 25px;
    }

    .dmax-dst-page .dmax-dst-card.is-active {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -18px;
        width: calc(100% + 18px);
    }

    .dmax-dst-page .dmax-dst-card.is-active::before,
    .dmax-dst-page .dmax-dst-card.is-active::after {
        content: "";
        position: absolute;
        right: 0;
        width: 25px;
        height: 25px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 25px 25px;
        pointer-events: none;
        z-index: 3;
    }

    .dmax-dst-page .dmax-dst-card.is-active::before {
        top: -25px;
        right: -1px;
        background-image: url("/wp-content/uploads/2021/06/roundblue2.png");
    }

    .dmax-dst-page .dmax-dst-card.is-active::after {
        bottom: -25px;
        right: -1px;
        background-image: url("/wp-content/uploads/2021/06/roundblue1.png");
    }

    .dmax-dst-page .dmax-dst-card[data-dst-tab="fivestep"].is-active::before,
    .dmax-dst-page .dmax-dst-card[data-dst-tab="video"].is-active::after {
        display: none;
    }

    .dmax-dst-page #dst-panel-fivestep.dmax-dst-panel.is-active,
    .dmax-dst-page.dmax-dst-active-fivestep .dmax-dst-panel.is-active {
        border-top-left-radius: 0;
    }

    .dmax-dst-page.dmax-dst-active-hourly .dmax-dst-panel.is-active,
    .dmax-dst-page.dmax-dst-active-video .dmax-dst-panel.is-active {
        border-top-left-radius: 25px;
    }

    .dmax-dst-page #dst-panel-fivestep .dmax-dst-panel-actions {
        display: none;
    }
}

@media (max-width: 767px) {
    .dmax-dst-page .dmax-dst-cards .kt-inside-inner-col,
    .dmax-dst-tablist {
        gap: 12px;
        justify-content: flex-start;
    }

    .dmax-dst-page .dmax-dst-card {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .dmax-dst-page .dmax-dst-panel[hidden] {
        display: block !important;
    }

    /* div#dst-panel-fivestep {
        background: #ffffff;
        color: #000
    }

    .dmax-dst-page .dmax-dst-panel#dst-panel-fivestep  p,
    .dmax-dst-page .dmax-dst-panel#dst-panel-fivestep .dmax-dst-panel-title,
    .dmax-dst-page .dmax-dst-panel#dst-panel-fivestep .dmax-dst-step-title,
    .dmax-dst-page .dmax-dst-panel#dst-panel-fivestep .dmax-dst-hourly-special em {
        color: #272a63;
    } */

    .dmax-dst-page .dmax-dst-card.is-active::after {
        display: none;
    }

    .dmax-dst-page .dmax-dst-card-icon {
        flex: 0 0 auto;
        height: 64px;
    }

    .dmax-dst-page .dmax-dst-card-icon img {
        height: 64px;
    }

    .dmax-dst-page .dmax-dst-card-title {
        font-size: 1.125rem;
    }

    .dmax-dst-page .dmax-dst-card-hint {
        font-size: 0.75rem;
    }

    .dmax-dst-page .dmax-dst-panel {
        padding: 1.5rem 1.25rem;
    }

    .dmax-dst-page .dmax-dst-panel-title {
        font-size: 1.5rem;
    }

    .dmax-dst-page .dmax-dst-panel-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .dmax-dst-page .dmax-dst-panel-actions .button {
        text-align: center;
    }
}
