*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion:no-preference) {
    :root {
        scroll-behavior: smooth
    }
}

html {
    line-height: 1.15;
    overflow-x: hidden;
    /* Prevent sideways shift from .alignfull blocks */
}

body {
    margin: 0;
    font-family: sans-serif;
    font-size: var(--wp--preset--font-size--medium, 1rem);
    font-weight: 400;
    line-height: 1.6;
    background: inherit;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    /* Prevent sideways shift from .alignfull blocks */
}

/*
 * Global Image Reset
 * Ensures images scale fluidly down, but never blow out past intrinsic dimensions
 */
img {
    height: auto;
    max-width: 100%;
    width: auto;
    /* Overrides any rogue 100% width injections */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
}

abbr[title] {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

dt {
    font-weight: var(--wp--custom--font-weight-bold);
}

dd {
    margin-bottom: .5rem;
    margin-left: 0;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: var(--wp--preset--font-size--small, .875rem);
}

mark {
    padding: .1875em;
    color: var(--wp--custom--highlight-color, #212529);
    background-color: var(--wp--custom--highlight-bg, #fff3cd);
}

sub,
sup {
    position: relative;
    font-size: var(--wp--preset--font-size--x-small, .75rem);
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -.25em;
}

sup {
    top: -.5em;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    text-decoration: none;
}

pre,
code,
kbd,
samp {
    font-family: var(--wp--preset--font-family--monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-size: var(--wp--preset--font-size--small, .875rem);
}

pre {
    display: block;
    overflow: auto;
    font-size: var(--wp--preset--font-size--small, .875rem);
}

pre code {
    font-size: inherit;
    word-break: normal;
}

code {
    font-size: var(--wp--preset--font-size--small, .875rem);
    word-wrap: break-word;
}

a>code {
    color: inherit;
}

kbd {
    padding: .1875rem .375rem;
    font-size: var(--wp--preset--font-size--small, .875rem);
    color: var(--wp--preset--color--secondary-bg, #dee2e6);
    background-color: var(--wp--preset--color--contrast, #212529);
    border-radius: .25rem;
}

kbd kbd {
    padding: 0;
    font-size: var(--wp--preset--font-size--medium, 1rem);
}

img,
svg {
    vertical-align: middle;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}



th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
select {
    text-transform: none;
}

[role=button] {
    cursor: pointer;
}

select {
    word-wrap: normal;
}

select:disabled {
    opacity: var(--wp--custom--disabled-opacity, .75);
}

[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
    display: none !important;
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
    cursor: pointer;
}

.wp-block-button__link,
.wp-element-button {
    line-height: inherit;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    float: left;
    width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: calc(1.275rem + .3vw);
    line-height: inherit;
}

@media (min-width:1200px) {
    legend {
        font-size: 1.5rem
    }
}

legend+* {
    clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
    padding: 0;
}

::-webkit-inner-spin-button {
    height: auto;
}

[type=search] {
    -webkit-appearance: textfield;
	outline-offset: var(--wp--custom--focus-ring-offset);
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::file-selector-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

iframe {
    border: 0;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

[hidden] {
    display: none !important;
}

.comment-content img {
    max-width: 100%;
    height: auto;
}
caption,
figcaption,
.wp-element-caption {
    font-size: var(--wp--preset--font-size--small, .875rem);
    color: var(--wp--preset--color--secondary-color, #343a40);
    background-color: var(--wp--preset--color--secondary-bg, #f8f9fa);
}

caption,
figcaption:not(.wp-block-gallery figcaption),
.blocks-gallery-caption {
    padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
}

/* Screen Reader Accessibility Styles
   Compatible with SystemStrap theme.json variables
   Automatically supports dark/light mode via dynamic CSS variables
*/

.screen-reader-text {
    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:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    white-space: normal !important;

    /* Theme-aware styles */
    background-color: var(--wp--preset--color--base, #f8f9fa);
    color: var(--wp--preset--color--primary, #2D4054);
    box-shadow: 0 0 0 0.25rem rgba(var(--wp--preset--color--primary-rgb), 0.5);

    /* Windows High Contrast Mode Fallback */
    outline: 2px solid var(--wp--preset--color--primary, #2D4054);
	outline-offset: var(--wp--custom--focus-ring-offset);

    padding: 0.75rem 1rem;
    font-weight: var(--wp--custom--font-weight-bold);
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    z-index: 100000;
}

.wp-block-spacer {
    clear: both;
}

h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),
h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),
h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),
h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),
h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),
h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]) {
    rotate: 180deg
}

.has-drop-cap:not(:focus):first-letter {
    float: left;
    font-size: 8.4em;
    font-style: normal;
    font-weight: 100;
    line-height: .68;
    margin: .05em .1em 0 0;
    text-transform: uppercase;
}

body.rtl .has-drop-cap:not(:focus):first-letter {
    float: none;
    margin-left: .1em;
}

p.has-drop-cap.has-background {
    overflow: hidden;
}

:where(p.has-text-color:not(.has-link-color)) a {
    color: inherit;
}

p.has-text-align-left[style*="writing-mode:vertical-lr"],
p.has-text-align-right[style*="writing-mode:vertical-rl"] {
    rotate: 180deg;
}

.using-keyboard a:focus,
.using-keyboard button:focus,
.using-keyboard input:focus,
.using-keyboard textarea:focus,
.using-keyboard select:focus {
    outline: 2px solid var(--wp--preset--color--primary, #0073aa);
    box-shadow: 0 0 2px 2px rgba(var(--wp--preset--color--primary-rgb), .5);
}

::selection {
    background-color: var(--wp--custom--highlight-bg, #0073aa);
    color: var(--wp--custom--highlight-color, #ffffff);
}

::-moz-selection {
    background-color: var(--wp--custom--highlight-bg, #0073aa);
    color: var(--wp--custom--highlight-color, #ffffff);
}

@media (prefers-reduced-motion: reduce) {
    .wp-element-button {
        transition: none;
    }
}
