*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: #fff;
    color: #111;
    overflow-x: hidden;
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img, svg, video, canvas { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.skip-link:focus {
    clip: auto;
    height: auto;
    width: auto;
    z-index: 100000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: #fff;
    color: #111;
}
.site-container,
.site-header__inner,
.site-footer__inner {
    width: min(100% - 32px, var(--flx-content-width));
    margin-inline: auto;
}
.site-main { min-height: 50vh; }
.site-header {
    position: relative;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-branding { display: flex; align-items: center; min-width: 0; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { display: block; max-height: 56px; width: auto; }
.site-title { font-weight: 700; text-decoration: none; }
.primary-navigation ul,
.footer-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
}
.primary-navigation a,
.footer-navigation a {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    text-decoration: none;
    line-height: 1.2;
}
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.entry { margin-block: 48px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.site-footer {
    margin-top: 64px;
    padding-block: 32px;
    border-top: 1px solid rgba(0,0,0,.08);
}
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Elementor-first layout rules */
.elementor-page .site-main,
.page-template-template-full-width .site-main {
    width: 100%;
    max-width: none;
}
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section.elementor-section-boxed > .elementor-container.elementor-column-gap-default,
.e-con.e-con-boxed > .e-con-inner,
.elementor-widget-container .site-container {
    max-width: var(--flx-content-width);
}
.elementor-section.elementor-section-full_width,
.elementor-section.elementor-section-stretched,
.e-con.e-con-full,
.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.elementor-section.elementor-section-full_width > .elementor-container,
.elementor-section.elementor-section-stretched > .elementor-container {
    max-width: none;
}
.elementor-background-video-container,
.elementor-background-video-hosted,
.elementor-html5-video,
.e-con .elementor-background-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Useful default class for menu CTA items */
.primary-navigation .menu-button > a,
.primary-navigation a.menu-button {
    padding: .75em 1.05em;
    border-radius: 6px;
    border: 1px solid currentColor;
}

/* Basic form compatibility: CF7, default WP forms, plugin forms */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 6px;
    background: #fff;
    color: inherit;
}
textarea { min-height: 140px; resize: vertical; }
label { display: inline-block; margin-bottom: 8px; }
.wpcf7-form-control-wrap { display: block; margin-bottom: 18px; }

@media (max-width: 767px) {
    .site-header__inner { min-height: 68px; }
    .menu-toggle { display: inline-flex; }
    .primary-navigation {
        position: absolute;
        inset: 100% 0 auto 0;
        display: none;
        background: #fff;
        border-bottom: 1px solid rgba(0,0,0,.08);
        padding: 16px;
    }
    body.primary-menu-open .primary-navigation { display: block; }
    .primary-navigation ul { flex-direction: column; align-items: stretch; gap: 14px; }
    .primary-navigation a { width: 100%; }
    .site-footer__inner { align-items: flex-start; flex-direction: column; }
}
