:root {
    --epn-focus-ring: #d97706;
    --epn-focus-ring-soft: rgba(217, 119, 6, 0.22);
    --epn-focus-ring-strong: rgba(217, 119, 6, 0.34);
    --epn-focus-text: #111827;
    --epn-focus-radius: 0.65rem;
    --epn-contrast-ink: #08263c;
    --epn-contrast-soft: #f4f8fd;
}

.epn-visually-hidden-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.screen-reader-text.skip-link:focus,
a.skip-link:focus,
.skip-link:focus {
    top: 1rem !important;
    left: 1rem !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0.85rem 1rem !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    white-space: normal !important;
    background: #ffffff !important;
    color: var(--epn-focus-text) !important;
    border-radius: 0.8rem !important;
    box-shadow: 0 0 0 3px var(--epn-focus-ring), 0 16px 28px rgba(15, 23, 42, 0.18) !important;
    z-index: 100000 !important;
}

:where(
    a[href],
    button,
    input:not([type="hidden"]),
    select,
    textarea,
    summary,
    [role="button"],
    [role="tab"],
    [role="link"],
    [tabindex]:not([tabindex="-1"]),
    .menu-toggle,
    .search-submit,
    .wp-block-button__link,
    .elementor-button,
    .e-form__buttons__wrapper__button
):focus-visible {
    outline: 3px solid var(--epn-focus-ring) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px var(--epn-focus-ring-soft) !important;
}

:where(
    a[href],
    button,
    input:not([type="hidden"]),
    select,
    textarea,
    summary,
    [role="button"],
    [role="tab"],
    [role="link"],
    [tabindex]:not([tabindex="-1"]),
    .menu-toggle,
    .search-submit,
    .wp-block-button__link,
    .elementor-button,
    .e-form__buttons__wrapper__button
):focus:not(:focus-visible) {
    outline: none;
}

body :where(
    .main-navigation a,
    .menu-toggle,
    .search-form .search-field,
    .search-form .search-submit,
    .button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"],
    .wp-block-button__link,
    .elementor-button,
    .wee-button,
    .wee-card-cta,
    .wee-view-btn,
    .wee-pagination-btn,
    .wee-cal-prev,
    .wee-cal-next,
    .wee-cal-has-events,
    .wee-book-button,
    .wee-ai-recommend-btn
):focus-visible {
    border-radius: var(--epn-focus-radius) !important;
    box-shadow: 0 0 0 3px var(--epn-focus-ring), 0 0 0 7px var(--epn-focus-ring-soft) !important;
}

body :where(
    .entry-content a[href],
    .site-content a[href],
    .inside-article a[href],
    footer a[href],
    .widget a[href]
):focus-visible {
    text-decoration: underline !important;
    text-decoration-thickness: 0.16em !important;
    text-underline-offset: 0.2em !important;
}

body :where(
    input:not([type="hidden"]),
    select,
    textarea,
    .search-field,
    .elementor-field
):focus-visible {
    border-color: var(--epn-focus-ring-strong) !important;
}

body :where(
    .wee-event-card:focus-within,
    .wee-widget-link:focus-visible,
    .wee-calendar-selection:focus-within,
    .wee-single-sidebar:focus-within
) {
    box-shadow: 0 0 0 3px var(--epn-focus-ring-soft), 0 18px 40px rgba(15, 23, 42, 0.12) !important;
}

body .main-navigation .main-nav > ul > li.current-menu-item > a,
body .main-navigation .main-nav > ul > li > a[aria-current="page"],
body .main-navigation .main-nav > ul > li > a:hover,
body .main-navigation .main-nav > ul > li > a:focus-visible {
    color: var(--epn-contrast-ink) !important;
    font-weight: 700 !important;
}

body .main-navigation .main-nav > ul > li.current-menu-item > a::before,
body .main-navigation .main-nav > ul > li > a[aria-current="page"]::before,
body .main-navigation .main-nav > ul > li > a:hover::before,
body .main-navigation .main-nav > ul > li > a:focus-visible::before {
    background-color: var(--epn-contrast-soft) !important;
}

body :where(
    input::placeholder,
    textarea::placeholder,
    .search-field::placeholder,
    .wee-input::placeholder
) {
    color: #475569 !important;
    opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    --epn-a11y-body-scale: 1;
    --epn-a11y-heading-scale: 1;
    --epn-a11y-ui-scale: 1;
}

html.epn-a11y-text-large {
    font-size: 106.25%;
    --epn-a11y-body-scale: 1.08;
    --epn-a11y-heading-scale: 1.06;
    --epn-a11y-ui-scale: 1.06;
}

html.epn-a11y-text-xlarge {
    font-size: 112.5%;
    --epn-a11y-body-scale: 1.16;
    --epn-a11y-heading-scale: 1.12;
    --epn-a11y-ui-scale: 1.12;
}

html:where(.epn-a11y-text-large, .epn-a11y-text-xlarge) body :where(
    p,
    li,
    dd,
    dt,
    figcaption,
    label,
    blockquote,
    .elementor-text-editor,
    .elementor-widget-text-editor,
    .elementor-icon-list-text,
    .elementor-testimonial-content,
    .elementor-testimonial-name,
    .elementor-testimonial-job,
    .wee-card-excerpt,
    .wee-card-meta,
    .wee-card-time,
    .wee-card-location,
    .wee-calendar-help,
    .wee-calendar-selection,
    .wee-calendar-sidebar,
    .tpg-excerpt-inner,
    .texte-65,
    .footer-links-icons a,
    .search-field
) {
    font-size: calc(1em * var(--epn-a11y-body-scale)) !important;
}

html:where(.epn-a11y-text-large, .epn-a11y-text-xlarge) body :where(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .entry-title,
    .elementor-heading-title,
    .wp-block-heading,
    .site-title,
    .wee-card-title,
    .wee-month-label,
    .wee-calendar-selection-title,
    .wee-calendar-sidebar-title,
    .tpg-title-wrap h2,
    .tpg-title-wrap h3
) {
    font-size: calc(1em * var(--epn-a11y-heading-scale)) !important;
}

html:where(.epn-a11y-text-large, .epn-a11y-text-xlarge) body :where(
    button,
    input:not([type="hidden"]),
    select,
    textarea,
    .main-navigation .main-nav > ul > li > a,
    .main-navigation .menu-toggle,
    .wp-block-button__link,
    .elementor-button,
    .wee-button,
    .wee-card-cta,
    .wee-view-btn,
    .wee-pagination-btn,
    .wee-calendar-sidebar-cta,
    .epn-a11y-option,
    .epn-a11y-reset,
    .epn-a11y-segmented button
) {
    font-size: calc(1em * var(--epn-a11y-ui-scale)) !important;
}

body.epn-a11y-links-underlined :where(
    .entry-content a[href],
    .site-content a[href],
    .inside-article a[href],
    footer a[href],
    .widget a[href]
) {
    text-decoration: underline !important;
    text-decoration-thickness: 0.16em !important;
    text-underline-offset: 0.22em !important;
}

body.epn-a11y-line-spacing :where(p, li, dd, dt, blockquote, figcaption) {
    line-height: 1.85 !important;
    letter-spacing: 0.01em !important;
}

body.epn-a11y-line-spacing :where(h1, h2, h3, h4, h5, h6) {
    line-height: 1.22 !important;
}

body.epn-a11y-reduce-motion *,
body.epn-a11y-reduce-motion *::before,
body.epn-a11y-reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

body.epn-a11y-high-contrast {
    --epn-focus-ring: #002741;
    --epn-focus-ring-soft: rgba(0, 39, 65, 0.22);
    --epn-focus-ring-strong: rgba(0, 39, 65, 0.34);
}

body.epn-a11y-high-contrast :where(
    p,
    li,
    dd,
    dt,
    figcaption,
    label,
    .entry-title,
    .elementor-heading-title,
    .wee-card-title,
    .wee-card-excerpt,
    .wee-card-meta,
    .wee-calendar-selection,
    .wee-calendar-sidebar,
    .wee-calendar-help,
    .site-title,
    .main-navigation a,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6
) {
    color: #08263c !important;
}

body.epn-a11y-high-contrast :where(
    .top-info-bar-premium .contact-info,
    .top-info-bar-premium .info-item,
    .top-info-bar-premium .info-item span,
    .top-info-bar-premium .info-item i,
    .top-info-bar-premium .info-item svg,
    .top-info-bar-premium .social-link,
    .top-info-bar-premium .social-link i,
    .top-info-bar-premium .social-link svg,
    .site-header .site-title,
    .site-header .site-title a,
    .site-header .site-description,
    .main-navigation .main-nav > ul > li > a,
    .main-navigation .menu-toggle,
    .main-navigation .menu-bar-items,
    .main-navigation .menu-bar-item > a,
    .site-footer,
    .site-footer p,
    .site-footer li,
    .site-footer span,
    .site-footer strong,
    .site-footer a,
    .site-footer h1,
    .site-footer h2,
    .site-footer h3,
    .site-footer h4,
    .site-footer h5,
    .site-footer h6,
    .site-footer .wp-block-heading,
    .site-footer .footer-text,
    .site-footer .texte-65,
    .footer-epn,
    .footer-epn p,
    .footer-epn li,
    .footer-epn span,
    .footer-epn strong,
    .footer-epn a,
    .footer-epn h1,
    .footer-epn h2,
    .footer-epn h3,
    .footer-epn h4,
    .footer-epn h5,
    .footer-epn h6,
    .footer-epn .wp-block-heading,
    .footer-epn .footer-text,
    .footer-epn .texte-65,
    .footer-social-widget,
    .footer-social-widget p,
    .footer-social-widget li,
    .footer-social-widget span,
    .footer-social-widget strong,
    .footer-social-widget a,
    .footer-social-widget h1,
    .footer-social-widget h2,
    .footer-social-widget h3,
    .footer-social-widget h4,
    .footer-social-widget h5,
    .footer-social-widget h6,
    .footer-social-widget .wp-block-heading,
    .footer-links-icons .footer-text,
    .footer-sponsors-title,
    .footer-sponsors-section,
    .footer-sponsors-section p,
    .footer-sponsors-section li,
    .footer-sponsors-section span,
    .footer-sponsors-section strong,
    .footer-sponsors-section a,
    .footer-sponsors-section h1,
    .footer-sponsors-section h2,
    .footer-sponsors-section h3,
    .footer-sponsors-section h4,
    .footer-sponsors-section h5,
    .footer-sponsors-section h6
) {
    color: #ffffff !important;
}

body.epn-a11y-high-contrast .main-navigation .main-nav > ul > li.current-menu-item > a,
body.epn-a11y-high-contrast .main-navigation .main-nav > ul > li > a[aria-current="page"],
body.epn-a11y-high-contrast .main-navigation .main-nav > ul > li > a:hover,
body.epn-a11y-high-contrast .main-navigation .main-nav > ul > li > a:focus-visible {
    color: #ffffff !important;
}

body.epn-a11y-high-contrast .main-navigation .main-nav > ul > li.current-menu-item > a::before,
body.epn-a11y-high-contrast .main-navigation .main-nav > ul > li > a[aria-current="page"]::before,
body.epn-a11y-high-contrast .main-navigation .main-nav > ul > li > a:hover::before,
body.epn-a11y-high-contrast .main-navigation .main-nav > ul > li > a:focus-visible::before {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

body.epn-a11y-high-contrast :where(
    .inside-article,
    .sidebar .widget,
    .wee-event-card,
    .wee-events-nav-shell,
    .wee-calendar-shell,
    .wee-calendar-sidebar,
    .wee-calendar-help,
    .epn-a11y-panel
) {
    box-shadow:
        inset 0 0 0 1px rgba(0, 39, 65, 0.16),
        0 20px 40px rgba(8, 38, 60, 0.12) !important;
}

body.epn-a11y-high-contrast :where(
    .wee-button,
    .wee-card-cta,
    .wee-calendar-sidebar-cta,
    .wee-widget-all-link,
    .elementor-button,
    .wp-block-button__link,
    .wee-view-btn.is-active,
    .wee-pagination-btn-icon,
    .wee-month-nav-icon,
    .wee-card-link-icon
) {
    background: linear-gradient(135deg, #0f4d78 0%, #002741 100%) !important;
    color: #ffffff !important;
    border-color: #002741 !important;
}

body.epn-a11y-high-contrast :where(
    .wee-button:hover,
    .wee-button:focus-visible,
    .wee-card-cta:hover,
    .wee-card-cta:focus-visible,
    .wee-calendar-sidebar-cta:hover,
    .wee-calendar-sidebar-cta:focus-visible,
    .wee-widget-all-link:hover,
    .wee-widget-all-link:focus-visible,
    .elementor-button:hover,
    .elementor-button:focus-visible,
    .wp-block-button__link:hover,
    .wp-block-button__link:focus-visible,
    .wee-view-btn:hover,
    .wee-view-btn:focus-visible
) {
    background: #ffffff !important;
    color: #002741 !important;
    box-shadow:
        inset 0 0 0 1px rgba(0, 39, 65, 0.18),
        0 14px 26px rgba(8, 38, 60, 0.12) !important;
}

body :where(
    .wee-events-wrapper,
    .wee-events-wrapper p,
    .wee-events-wrapper li,
    .wee-card-excerpt,
    .wee-calendar-side-note,
    .wee-calendar-empty,
    .wee-calendar-side-category,
    .wee-calendar-side-venue
) {
    font-size: 1.06rem !important;
    line-height: 1.68 !important;
}

body :where(
    .wee-card-meta,
    .wee-card-time,
    .wee-card-venue,
    .wee-card-price,
    .wee-card-capacity,
    .wee-calendar-side-time,
    .wee-calendar-selected-label,
    .wee-calendar-help,
    .wee-calendar-selection,
    .wee-calendar-sidebar,
    .wee-view-btn,
    .wee-events-month-btn,
    .wee-category-select,
    .wee-event-search,
    .wee-date-from,
    .wee-date-to
) {
    font-size: 1rem !important;
    line-height: 1.55 !important;
}

body :where(
    .wee-card-title,
    .wee-calendar-side-title,
    .wee-month-label,
    .wee-events-month,
    .wee-calendar-selection-title,
    .wee-calendar-sidebar-title
) {
    font-size: 1.38rem !important;
    line-height: 1.25 !important;
}

body :where(.wee-card-category-label, .wee-badge, .wee-badge-recurring) {
    font-size: 0.84rem !important;
    line-height: 1.2 !important;
}

body :where(.wee-card-cta, .wee-button, .wee-view-btn, .wee-calendar-sidebar-cta, .wee-widget-all-link) {
    font-size: 0.98rem !important;
    line-height: 1.2 !important;
}

body :where(.wee-calendar-selected-day-number) {
    font-size: 3rem !important;
    line-height: 0.95 !important;
}

body :where(.wee-cal-day-num, .wee-card-date-day) {
    font-size: 1rem !important;
}

body :where(.wee-card-date-month, .wee-cal-month-label, .wee-card-date-rail .wee-card-date-month) {
    font-size: 0.78rem !important;
}

@media (max-width: 768px) {
    body :where(
        .wee-events-wrapper,
        .wee-events-wrapper p,
        .wee-events-wrapper li,
        .wee-card-excerpt,
        .wee-calendar-side-note,
        .wee-calendar-empty,
        .wee-calendar-side-category,
        .wee-calendar-side-venue
    ) {
        font-size: 1rem !important;
        line-height: 1.62 !important;
    }

    body :where(
        .wee-card-meta,
        .wee-card-time,
        .wee-card-venue,
        .wee-card-price,
        .wee-card-capacity,
        .wee-calendar-side-time,
        .wee-calendar-selected-label,
        .wee-view-btn,
        .wee-events-month-btn,
        .wee-category-select
    ) {
        font-size: 0.95rem !important;
    }

    body :where(
        .wee-card-title,
        .wee-calendar-side-title,
        .wee-month-label,
        .wee-events-month,
        .wee-calendar-selection-title,
        .wee-calendar-sidebar-title
    ) {
        font-size: 1.2rem !important;
    }

    body :where(.wee-calendar-selected-day-number) {
        font-size: 2.35rem !important;
    }
}

@media (min-width: 769px) {
    body .top-info-bar-premium .grid-container {
        width: calc(100% - 80px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (min-width: 1024px) {
    body .top-info-bar-premium .grid-container {
        width: calc(100% - 80px) !important;
        max-width: none !important;
    }

    body .top-info-bar-premium .top-bar-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: clamp(0.5rem, 0.85vw, 0.9rem) !important;
        overflow: visible !important;
    }

    body .top-info-bar-premium .contact-info {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
        gap: clamp(1.25rem, 2vw, 2.5rem) !important;
        padding-block: 0.45rem !important;
    }

    body .top-info-bar-premium .info-item {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        min-height: 64px !important;
        padding: 0.8rem 1.2rem !important;
        gap: 0.85rem !important;
        font-size: clamp(1.45rem, 0.45vw + 1.2rem, 1.7rem) !important;
        line-height: 1.28 !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        align-self: center !important;
    }

    body .top-info-bar-premium .contact-info .info-item:first-child {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: clamp(440px, 32vw, 620px) !important;
    }

    body .top-info-bar-premium .contact-info .info-item:first-child span {
        display: block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body .top-info-bar-premium .info-item span {
        white-space: nowrap !important;
    }

    body .top-info-bar-premium .info-item:hover,
    body .top-info-bar-premium .info-item:focus-visible {
        transform: none !important;
    }

    body .top-info-bar-premium .info-item i,
    body .top-info-bar-premium .info-item svg,
    body .top-info-bar-premium .social-link i,
    body .top-info-bar-premium .social-link svg {
        font-size: 1.95rem !important;
    }

    body .top-info-bar-premium .top-bar-right {
        flex: 0 0 auto !important;
        flex-wrap: nowrap !important;
        justify-self: end !important;
        gap: 0.95rem !important;
    }

    body .top-info-bar-premium .top-bar-right > * {
        flex-shrink: 0 !important;
    }

    body .top-info-bar-premium .social-icons {
        gap: 0.8rem !important;
    }

    body .top-info-bar-premium .social-link {
        width: 60px !important;
        height: 60px !important;
    }

    body .top-info-bar-premium .search-form {
        width: clamp(220px, 14vw, 280px) !important;
        max-width: 280px !important;
    }

    body .top-info-bar-premium .search-field {
        height: 60px !important;
        padding: 0 4rem 0 1.2rem !important;
        font-size: 1.18rem !important;
    }

    body .top-info-bar-premium .search-submit {
        width: 60px !important;
        height: 60px !important;
        right: 1px !important;
    }

    body .epn-a11y-widget.is-docked {
        margin-left: 0 !important;
    }

    body .epn-a11y-widget.is-docked .epn-a11y-toggle {
        min-width: 62px !important;
        min-height: 38px !important;
        padding: 0.28rem 0.62rem !important;
    }

    body .epn-a11y-widget.is-docked .epn-a11y-toggle-letter-lg {
        font-size: 1.35rem !important;
    }

    body .epn-a11y-widget.is-docked .epn-a11y-toggle-letter-md {
        font-size: 1.04rem !important;
    }

    body .epn-a11y-widget.is-docked .epn-a11y-toggle-letter-sm {
        font-size: 0.82rem !important;
    }
}

@media (min-width: 1025px) and (max-width: 1185px) {
    body .main-navigation .menu-toggle,
    body .sidebar-nav-mobile:not(#sticky-placeholder) {
        display: block !important;
    }

    body .main-navigation ul,
    body .gen-sidebar-nav,
    body .main-navigation:not(.slideout-navigation):not(.toggled) .main-nav > ul,
    body .has-inline-mobile-toggle #site-navigation .inside-navigation > *:not(.navigation-search):not(.main-nav) {
        display: none !important;
    }

    body .nav-align-right .inside-navigation,
    body .nav-align-center .inside-navigation {
        justify-content: space-between !important;
    }

    body .has-inline-mobile-toggle .mobile-menu-control-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    body .has-inline-mobile-toggle .inside-header {
        flex-direction: row !important;
        text-align: left !important;
        flex-wrap: wrap !important;
    }

    body .has-inline-mobile-toggle .header-widget,
    body .has-inline-mobile-toggle #site-navigation {
        flex-basis: 100% !important;
    }

    body .nav-float-left .has-inline-mobile-toggle #site-navigation {
        order: 10 !important;
    }
}

.epn-a11y-widget {
    position: fixed;
    right: 1rem;
    top: 1rem;
    bottom: auto;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
    isolation: isolate;
}

body.admin-bar .epn-a11y-widget {
    top: calc(32px + 0.75rem);
}

.epn-a11y-toggle,
.epn-a11y-close,
.epn-a11y-segmented button,
.epn-a11y-option,
.epn-a11y-reset {
    font: inherit;
}

.epn-a11y-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 46px;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(12, 71, 108, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #002741;
    box-shadow: 0 18px 35px rgba(8, 38, 60, 0.18);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.epn-a11y-toggle:hover,
.epn-a11y-toggle:focus-visible,
.epn-a11y-widget.is-open .epn-a11y-toggle {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #0f4d78 0%, #002741 100%);
    color: #ffffff;
    box-shadow: 0 22px 40px rgba(8, 38, 60, 0.22);
    outline: none;
}

.epn-a11y-toggle-mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.04rem;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.05em;
}

.epn-a11y-toggle-letter {
    display: inline-block;
}

.epn-a11y-toggle-letter-lg {
    font-size: 1.75rem;
}

.epn-a11y-toggle-letter-md {
    font-size: 1.32rem;
}

.epn-a11y-toggle-letter-sm {
    font-size: 1rem;
}

.epn-a11y-panel {
    width: min(430px, calc(100vw - 1.5rem));
    max-height: min(80vh, 720px);
    padding: 1.35rem 1.25rem 1.3rem;
    border-radius: 1.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.98) 100%);
    border: 1px solid rgba(12, 71, 108, 0.12);
    box-shadow: 0 28px 60px rgba(8, 38, 60, 0.24);
    color: #08263c;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.epn-a11y-widget.is-docked {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    z-index: 10000;
    flex: 0 0 auto;
    margin-left: 0.2rem;
}

.epn-a11y-widget.is-docked .epn-a11y-toggle {
    min-width: 82px;
    min-height: 42px;
    padding: 0.4rem 0.82rem;
    box-shadow: none;
}

.epn-a11y-widget.is-docked .epn-a11y-panel {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    z-index: 10001;
}

.epn-a11y-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.epn-a11y-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
}

.epn-a11y-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0f4d78;
}

.epn-a11y-panel h2 {
    margin: 0;
    font-size: clamp(1.45rem, 1vw + 1rem, 1.75rem);
    line-height: 1.15;
    color: #002741;
}

.epn-a11y-panel-copy {
    margin: 0.95rem 0 1.15rem;
    color: #31566f;
    font-size: 1rem;
    line-height: 1.65;
}

.epn-a11y-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(12, 71, 108, 0.08);
    color: #002741;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.epn-a11y-close:hover,
.epn-a11y-close:focus-visible {
    background: linear-gradient(135deg, #0f4d78 0%, #002741 100%);
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

.epn-a11y-control {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.15rem;
}

.epn-a11y-label {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #31566f;
}

.epn-a11y-segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.epn-a11y-segmented button,
.epn-a11y-option,
.epn-a11y-reset {
    border: 1px solid rgba(12, 71, 108, 0.1);
    background: rgba(255, 255, 255, 0.92);
    color: #002741;
    box-shadow: 0 12px 24px rgba(8, 38, 60, 0.08);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.epn-a11y-segmented button {
    display: grid;
    justify-items: flex-start;
    align-content: center;
    gap: 0.18rem;
    min-height: 56px;
    padding: 0.75rem 0.9rem;
    border-radius: 1rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.epn-a11y-scale-sample {
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.epn-a11y-scale-label {
    font-size: 0.84rem;
    line-height: 1.2;
}

.epn-a11y-segmented button[data-epn-text-scale="normal"] .epn-a11y-scale-sample {
    font-size: 1rem;
}

.epn-a11y-segmented button[data-epn-text-scale="large"] .epn-a11y-scale-sample {
    font-size: 1.14rem;
}

.epn-a11y-segmented button[data-epn-text-scale="xlarge"] .epn-a11y-scale-sample {
    font-size: 1.28rem;
}

.epn-a11y-segmented button.is-active,
.epn-a11y-segmented button:hover,
.epn-a11y-segmented button:focus-visible,
.epn-a11y-option.is-active,
.epn-a11y-option:hover,
.epn-a11y-option:focus-visible,
.epn-a11y-reset:hover,
.epn-a11y-reset:focus-visible {
    background: linear-gradient(135deg, #0f4d78 0%, #002741 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(8, 38, 60, 0.16);
    transform: translateY(-1px);
    outline: none;
}

.epn-a11y-option-list {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.1rem;
}

.epn-a11y-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1rem 1.05rem;
    border-radius: 1.05rem;
    text-align: left;
    cursor: pointer;
}

.epn-a11y-option-copy {
    display: grid;
    gap: 0.3rem;
    width: 100%;
}

.epn-a11y-option-copy strong {
    font-size: 1rem;
    line-height: 1.35;
}

.epn-a11y-option-copy small {
    color: #4c6d83;
    font-size: 0.92rem;
    line-height: 1.6;
}

.epn-a11y-option:hover .epn-a11y-option-copy small,
.epn-a11y-option:focus-visible .epn-a11y-option-copy small,
.epn-a11y-option.is-active .epn-a11y-option-copy small {
    color: rgba(255, 255, 255, 0.86);
}

.epn-a11y-option-state {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(12, 71, 108, 0.08);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.epn-a11y-option:hover .epn-a11y-option-state,
.epn-a11y-option:focus-visible .epn-a11y-option-state,
.epn-a11y-option.is-active .epn-a11y-option-state {
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
}

.epn-a11y-reset {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
}

.epn-testimonial-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    margin: 0 0 0.6rem;
    color: #f6c94c;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(153, 104, 0, 0.18);
}

.elementor-testimonial-content.epn-testimonial-content-ready {
    white-space: normal !important;
}

@media (max-width: 768px) {
    .epn-a11y-widget {
        right: 0.85rem;
        top: 0.85rem;
    }

    body.admin-bar .epn-a11y-widget {
        top: calc(46px + 0.5rem);
    }

    .epn-a11y-panel {
        width: min(400px, calc(100vw - 1rem));
        max-height: min(84vh, 680px);
        padding: 1rem;
    }

    .epn-a11y-widget.is-docked .epn-a11y-panel {
        position: fixed;
        top: calc(env(safe-area-inset-top, 0px) + 4.6rem);
        right: max(0.5rem, env(safe-area-inset-right, 0px));
        left: max(0.5rem, env(safe-area-inset-left, 0px));
        width: auto;
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 5.15rem);
        border-radius: 1.2rem;
        z-index: 100001;
    }

    body.admin-bar .epn-a11y-widget.is-docked .epn-a11y-panel {
        top: calc(46px + env(safe-area-inset-top, 0px) + 4rem);
        max-height: calc(100dvh - 46px - env(safe-area-inset-top, 0px) - 4.5rem);
    }

    .epn-a11y-segmented button {
        padding: 0.7rem 0.75rem;
    }

    .epn-a11y-scale-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 560px) {
    .epn-a11y-panel {
        width: calc(100vw - 1rem);
        max-height: calc(100dvh - 1rem);
        padding: 0.95rem 0.9rem 1rem;
        border-radius: 1.1rem;
    }

    .epn-a11y-panel-header {
        gap: 0.65rem;
    }

    .epn-a11y-panel h2 {
        font-size: clamp(1.2rem, 4.8vw, 1.45rem);
    }

    .epn-a11y-panel-copy {
        margin: 0.85rem 0 1rem;
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .epn-a11y-segmented {
        grid-template-columns: 1fr;
    }

    .epn-a11y-segmented button {
        grid-template-columns: auto 1fr;
        align-items: center;
        justify-items: flex-start;
        gap: 0.65rem;
        min-height: 0;
        padding: 0.8rem 0.9rem;
    }

    .epn-a11y-scale-sample {
        min-width: 3ch;
    }

    .epn-a11y-scale-label {
        font-size: 0.88rem;
    }

    .epn-a11y-option-list {
        gap: 0.7rem;
    }

    .epn-a11y-option {
        padding: 0.9rem;
        gap: 0.65rem;
    }

    .epn-a11y-option-copy strong {
        font-size: 0.95rem;
    }

    .epn-a11y-option-copy small {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .epn-a11y-option-state {
        font-size: 0.74rem;
    }

    .epn-a11y-close {
        width: 38px;
        height: 38px;
    }

    .epn-a11y-reset {
        min-height: 48px;
    }
}
