:root {
    --op-primary: var(--theme-palette-color-1, var(--wp--preset--color--palette-color-1));
    --op-blue: var(--theme-palette-color-2, var(--wp--preset--color--palette-color-2));
    --op-neutral-800: var(--theme-palette-color-3, var(--wp--preset--color--palette-color-3));
    --op-neutral-700: var(--theme-palette-color-4, var(--wp--preset--color--palette-color-4));
    --op-neutral-600: var(--theme-palette-color-4, var(--wp--preset--color--palette-color-4));
    --op-neutral-500: var(--theme-palette-color-5, var(--wp--preset--color--palette-color-5));
    --op-neutral-400: var(--theme-palette-color-6, var(--wp--preset--color--palette-color-6));
    --op-neutral-200: var(--theme-palette-color-7, var(--wp--preset--color--palette-color-7));
    --op-white: var(--theme-palette-color-8, var(--wp--preset--color--palette-color-8));
    --op-neutral-300: color-mix(in srgb, var(--op-neutral-400) 58%, var(--op-white));
    --op-pink: color-mix(in srgb, var(--op-primary) 10%, var(--op-white));
    --op-primary-dark: color-mix(in srgb, var(--op-primary) 84%, var(--op-neutral-800));
}

.onepage-objective-card {
    border: 1px solid var(--op-neutral-300);
    background: var(--op-white);
    box-shadow: 0 5px 14px color-mix(in srgb, var(--op-neutral-800) 4%, transparent);
    color: var(--op-neutral-600);
    border-radius: 16px;
    padding: 56px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    min-width: 0;
}

.onepage-card-icon,
.onepage-editor-icon {
    width: 180px;
    height: 180px;
    flex: 0 0 180px;
    min-width: 180px;
    min-height: 180px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.onepage-card-icon img,
.onepage-editor-icon img {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: contain;
    object-position: center;
}
.onepage-card-icon svg,
.onepage-editor-icon svg {
    width: 92px;
    height: 92px;
    color: var(--op-primary);
}

/* v4.0 inline SVG objective icon. The circle is the editable background;
 * the SVG itself stays intentionally smaller so the circular field remains visible. */
.onepage-card-icon--custom-svg {
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--op-objective-icon-bg, var(--op-neutral-200));
    color: var(--op-objective-icon-color, var(--op-primary));
    overflow: hidden;
}
.onepage-card-icon--custom-svg .onepage-card-icon__svg {
    width: 58%;
    height: 58%;
    aspect-ratio: 1 / 1;
    flex: 0 0 58%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.onepage-card-icon--custom-svg .onepage-card-icon__svg svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1 / 1;
    color: inherit;
}
.onepage-objective-card--no-icon .onepage-objective-card__content { margin-top: 0; }
.onepage-objective-card__content { margin-top: 40px; width: 100%; }
.onepage-card-title {
    margin: 0 0 10px;
    color: var(--op-neutral-800);
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
}
.onepage-card-summary {
    color: var(--op-neutral-600);
    font-size: 18px;
    line-height: 1.6em;
    font-weight: 500;
}
.onepage-card-title a,
.onepage-card-summary a,
.onepage-modal__summary a,
.onepage-modal__content a {
    color: var(--op-primary);
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}
.onepage-card-title a:hover,
.onepage-card-summary a:hover,
.onepage-modal__summary a:hover,
.onepage-modal__content a:hover {
    color: var(--op-blue);
}
.onepage-card-more {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 18px auto 0;
    color: var(--op-primary);
    font: inherit;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: color .3s ease, transform .3s ease;
}
.onepage-card-more:hover,
.onepage-card-more:focus-visible { color: var(--op-blue); transform: translateY(2px); }

html.onepage-modal-open,
html.onepage-modal-open body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}
body.onepage-modal-open { touch-action: none; }
.onepage-modal[hidden] { display: none !important; }
.onepage-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 24px !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    overflow: hidden !important;
    background: color-mix(in srgb, var(--op-neutral-800) 74%, transparent) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transform: none !important;
}
.onepage-modal__backdrop {
    position: absolute;
    inset: -2px;
    background: transparent;
}
.onepage-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(860px, calc(100vw - 48px));
    max-width: 860px;
    max-height: min(82dvh, 820px);
    overflow: hidden;
    border-radius: 16px;
    background: var(--op-white);
    color: var(--op-neutral-800);
    border: 1px solid var(--op-neutral-400);
    box-shadow: 0 32px 90px color-mix(in srgb, var(--op-neutral-800) 30%, transparent);
    outline: none;
}
.onepage-modal__scroll {
    max-height: min(82dvh, 820px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 44px 48px 50px;
    scrollbar-width: thin;
    scrollbar-color: var(--op-neutral-500) transparent;
}
.onepage-modal__close {
    position: absolute;
    z-index: 3;
    right: 18px;
    top: 18px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--op-neutral-300);
    color: var(--op-neutral-800);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.onepage-modal__close:hover { background: var(--op-pink); color: var(--op-primary-dark); }
.onepage-modal__header {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    padding-right: 46px;
    margin-bottom: 30px;
}
.onepage-modal__icon {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    flex: 0 0 140px;
    aspect-ratio: 1 / 1;
    margin: 0;
    align-self: center;
    justify-self: start;
}
.onepage-modal__icon img { width: 140px; height: 140px; aspect-ratio: 1 / 1; object-fit: contain; }
.onepage-modal__header--no-icon { grid-template-columns: minmax(0, 1fr); }
.onepage-modal__title {
    margin: 0;
    color: var(--op-neutral-800);
    font-size: 38px;
    line-height: 1.18em;
    font-weight: 700;
    align-self: center;
}
.onepage-modal__summary {
    margin: 0 0 20px;
    color: var(--op-neutral-800);
    font-size: 20px;
    line-height: 1.55em;
    font-weight: 600;
}
.onepage-modal__content {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--op-neutral-700);
    font-size: 18px;
    line-height: 1.7em;
    font-weight: 500;
}
.onepage-modal__summary > :first-child,
.onepage-modal__content > :first-child { margin-top: 0; }
.onepage-modal__summary > :last-child,
.onepage-modal__content > :last-child { margin-bottom: 0; }

@media (max-width: 479px) {
    .onepage-objective-card { padding: 48px 24px; border-radius: 12px; }
    .onepage-card-icon,
    .onepage-editor-icon { width: 150px; height: 150px; min-width: 150px; min-height: 150px; flex: 0 0 150px; aspect-ratio: 1 / 1; }
    .onepage-card-icon img,
    .onepage-editor-icon img { width: 150px; height: 150px; }
    .onepage-objective-card__content { margin-top: 32px; }
    .onepage-card-title { font-size: 22px; line-height: 31px; }
    .onepage-modal {
        align-items: center !important;
        justify-content: center !important;
        padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
    }
    .onepage-modal__dialog { width: 100%; max-height: min(88dvh, 760px); margin: auto; border-radius: 12px; }
    .onepage-modal__scroll { max-height: min(88dvh, 760px); padding: 34px 22px 32px; }
    .onepage-modal__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 18px;
        padding-right: 34px;
        margin-bottom: 22px;
        text-align: left;
    }
    .onepage-modal__icon,
    .onepage-modal__icon img { width: 92px; height: 92px; min-width: 92px; min-height: 92px; aspect-ratio: 1 / 1; }
    .onepage-modal__icon { flex: 0 0 92px; align-self: flex-start; justify-self: auto; }
    .onepage-modal__header--no-icon { gap: 0; }
    .onepage-modal__title { width: 100%; font-size: 28px; line-height: 1.18em; text-align: left; }
    .onepage-modal__summary { margin-bottom: 16px; font-size: 18px; line-height: 1.55em; text-align: left; }
    .onepage-modal__content { font-size: 17px; line-height: 1.65em; text-align: left; }
}

/* v3.7 SVG link icon for full-circle SVG assets with transparent cut-outs.
   The visual SVG can be smaller than the 44px accessible hit target. */
.onepage-svg-link-icon {
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
    vertical-align: middle;
}
.onepage-svg-link-icon__button {
    width: max(44px, var(--op-svg-size-desktop, 44px));
    height: max(44px, var(--op-svg-size-desktop, 44px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: inherit;
    text-decoration: none !important;
    box-shadow: none !important;
    outline-offset: 2px;
}
.onepage-svg-link-icon__svg {
    width: var(--op-svg-size-desktop, 44px);
    height: var(--op-svg-size-desktop, 44px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 999px;
    background: var(--op-svg-cutout-bg, var(--theme-palette-color-8));
    color: var(--op-svg-fill, var(--theme-palette-color-3));
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
    pointer-events: none;
}
.onepage-svg-link-icon__button:hover .onepage-svg-link-icon__svg,
.onepage-svg-link-icon__button:focus-visible .onepage-svg-link-icon__svg {
    background: var(--op-svg-cutout-hover-bg, var(--theme-palette-color-8));
    color: var(--op-svg-fill-hover, var(--theme-palette-color-1));
    transform: translateY(-1px) scale(1.025);
}
.onepage-svg-link-icon__svg svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    color: inherit;
    overflow: visible;
}
.onepage-svg-link-icon__empty {
    width: var(--op-svg-size-desktop, 44px);
    height: var(--op-svg-size-desktop, 44px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--op-svg-cutout-bg, var(--theme-palette-color-8));
    color: var(--op-svg-fill, var(--theme-palette-color-3));
    font-size: 9px;
    line-height: 1.1;
    text-align: center;
}
@media (max-width: 991px) {
    .onepage-svg-link-icon__button {
        width: max(44px, var(--op-svg-size-tablet, 42px));
        height: max(44px, var(--op-svg-size-tablet, 42px));
    }
    .onepage-svg-link-icon__svg,
    .onepage-svg-link-icon__empty {
        width: var(--op-svg-size-tablet, 42px);
        height: var(--op-svg-size-tablet, 42px);
    }
}
@media (max-width: 479px) {
    .onepage-svg-link-icon__button {
        width: max(44px, var(--op-svg-size-mobile, 40px));
        height: max(44px, var(--op-svg-size-mobile, 40px));
    }
    .onepage-svg-link-icon__svg,
    .onepage-svg-link-icon__empty {
        width: var(--op-svg-size-mobile, 40px);
        height: var(--op-svg-size-mobile, 40px);
    }
}
