/* DevFactory Accessibility WP v0.1.2 - safe color layer; no layout-shifting body filters */

.df-a11y-enabled.df-a11y-focus-outline a:focus,
.df-a11y-enabled.df-a11y-focus-outline button:focus,
.df-a11y-enabled.df-a11y-focus-outline input:focus,
.df-a11y-enabled.df-a11y-focus-outline select:focus,
.df-a11y-enabled.df-a11y-focus-outline textarea:focus,
.df-a11y-enabled.df-a11y-focus-outline [tabindex]:focus {
    outline: 3px solid #2563eb !important;
    outline-offset: 3px !important;
}

.df-a11y-skip-link {
    position: fixed !important;
    left: 16px !important;
    top: 16px !important;
    transform: translateY(-160%) !important;
    z-index: 2147483002 !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    background: #111827 !important;
    color: #ffffff !important;
    font: 700 15px/1.2 Arial, Helvetica, sans-serif !important;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(15,23,42,.25) !important;
}

.df-a11y-skip-link:focus {
    transform: translateY(0) !important;
}

.df-a11y-root,
.df-a11y-root *,
.df-a11y-modal,
.df-a11y-modal *,
.df-a11y-panel,
.df-a11y-panel * {
    box-sizing: border-box !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    font-style: normal !important;
    font-variant: normal !important;
}

.df-a11y-root {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 2147483000 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    line-height: 1.4 !important;
    color: #111827 !important;
    filter: none !important;
}

.df-a11y-root.df-a11y-position-bottom-left {
    right: auto !important;
    left: 24px !important;
}

.df-a11y-trigger {
    width: 62px !important;
    height: 62px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #111827 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline-offset: 4px !important;
}

.df-a11y-trigger:hover,
.df-a11y-trigger:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.28) !important;
}

.df-a11y-trigger__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    line-height: 1 !important;
}

.df-a11y-trigger__icon svg {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
}

.df-a11y-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483001 !important;
    filter: none !important;
}

.df-a11y-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, .45) !important;
}

.df-a11y-panel {
    all: initial !important;
    box-sizing: border-box !important;
    position: absolute !important;
    right: 24px !important;
    bottom: 24px !important;
    width: 480px !important;
    max-width: calc(100vw - 48px) !important;
    max-height: calc(100vh - 48px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    display: block !important;
    padding: 20px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .32) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
}

.df-a11y-panel__header {
    all: unset !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 18px !important;
}

.df-a11y-panel__eyebrow {
    all: unset !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 0 4px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    color: #64748b !important;
}

.df-a11y-panel__title {
    all: unset !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 26px !important;
    line-height: 1.16 !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

button.df-a11y-panel__close,
button.df-a11y-step,
button.df-a11y-option,
button.df-a11y-secondary,
a.df-a11y-secondary {
    all: unset !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #111827 !important;
    background: #ffffff !important;
    border: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-align: left !important;
    cursor: pointer !important;
}

button.df-a11y-panel__close {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    background: #f9fafb !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.df-a11y-section {
    all: unset !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 16px 0 0 !important;
}

.df-a11y-section__title {
    all: unset !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 0 10px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #1f2937 !important;
}

.df-a11y-font {
    all: unset !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 76px !important;
    padding: 12px !important;
    border: 1px solid #edf0f4 !important;
    border-radius: 16px !important;
    background: #f9fafb !important;
    display: grid !important;
    grid-template-columns: 52px 1fr 52px !important;
    align-items: center !important;
    gap: 12px !important;
}

button.df-a11y-step {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.df-a11y-font__value {
    all: unset !important;
    box-sizing: border-box !important;
    display: block !important;
    text-align: center !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

button.df-a11y-option {
    width: 100% !important;
    min-height: 56px !important;
    height: auto !important;
    padding: 13px 14px !important;
    margin: 8px 0 !important;
    border: 1px solid #edf0f4 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 24px !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #111827 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05) !important;
    text-transform: none !important;
    overflow: visible !important;
}

button.df-a11y-option > span {
    all: unset !important;
    box-sizing: border-box !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

button.df-a11y-option > .df-a11y-option__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 24px !important;
    color: #374151 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: center !important;
}

button.df-a11y-option > .df-a11y-option__check {
    display: block !important;
    justify-self: end !important;
    align-self: center !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    border: 2px solid #9ca3af !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

button.df-a11y-option.is-active > .df-a11y-option__check {
    background: #111827 !important;
    border-color: #111827 !important;
    box-shadow: inset 0 0 0 4px #ffffff !important;
}

.df-a11y-actions {
    all: unset !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 18px 0 0 !important;
}

button.df-a11y-secondary,
a.df-a11y-secondary {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    background: #f9fafb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-align: center !important;
    text-decoration: none !important;
}

html.df-a11y-link-underline body a,
html.df-a11y-link-underline body a span,
html.df-a11y-link-underline body [class*="menu"] a,
html.df-a11y-link-underline body [class*="menu"] a span {
    text-decoration: underline !important;
    text-underline-offset: .18em !important;
    text-decoration-thickness: .08em !important;
}

html.df-a11y-title-underline body h1,
html.df-a11y-title-underline body h2,
html.df-a11y-title-underline body h3,
html.df-a11y-title-underline body h4,
html.df-a11y-title-underline body h5,
html.df-a11y-title-underline body h6,
html.df-a11y-title-underline body .entry-title,
html.df-a11y-title-underline body .page-title,
html.df-a11y-title-underline body .widget-title {
    text-decoration: underline !important;
    text-underline-offset: .18em !important;
    text-decoration-thickness: .08em !important;
}

html.df-a11y-no-animations *,
html.df-a11y-no-animations *::before,
html.df-a11y-no-animations *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}





/* Color modes use a fixed backdrop layer.
   This avoids applying filter on body/page wrappers, which can break fixed/sticky headers and body padding compensation. */
.df-a11y-filter-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482998 !important;
    pointer-events: none !important;
    background: rgba(255, 255, 255, 0.001) !important;
    display: none !important;
    filter: none !important;
}

html.df-a11y-has-color-filter .df-a11y-filter-layer {
    display: block !important;
}

/* Defensive override for older CSS versions that applied filter to body children. */
html.df-a11y-grayscale.df-a11y-grayscale body > *:not(.df-a11y-root):not(.df-a11y-filter-layer):not(script):not(style):not(link):not(#wpadminbar),
html.df-a11y-high-contrast.df-a11y-high-contrast body > *:not(.df-a11y-root):not(.df-a11y-filter-layer):not(script):not(style):not(link):not(#wpadminbar),
html.df-a11y-invert-colors.df-a11y-invert-colors body > *:not(.df-a11y-root):not(.df-a11y-filter-layer):not(script):not(style):not(link):not(#wpadminbar) {
    filter: none !important;
}

html.df-a11y-cursor-light,
html.df-a11y-cursor-light * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewport='0 0 48 48'%3E%3Cpath fill='white' stroke='black' stroke-width='2' d='M8 4 L36 28 L23 31 L29 44 L22 47 L16 34 L7 43 Z'/%3E%3C/svg%3E") 4 4, auto !important;
}

html.df-a11y-cursor-dark,
html.df-a11y-cursor-dark * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewport='0 0 48 48'%3E%3Cpath fill='black' stroke='white' stroke-width='2' d='M8 4 L36 28 L23 31 L29 44 L22 47 L16 34 L7 43 Z'/%3E%3C/svg%3E") 4 4, auto !important;
}

@media (max-width: 767px) {
    .df-a11y-root {
        right: 16px !important;
        bottom: 16px !important;
    }

    .df-a11y-root.df-a11y-position-bottom-left {
        left: 16px !important;
    }

    .df-a11y-panel {
        right: 10px !important;
        bottom: 10px !important;
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        padding: 16px !important;
    }

    .df-a11y-panel__title {
        font-size: 22px !important;
    }

    button.df-a11y-option {
        min-height: 52px !important;
        font-size: 14px !important;
    }
}
