/* Josef Ehrnstraßer Elektrotechnik – static site. Layout and colours follow the former Contao theme (dark navigation
   bar that stays at the top while scrolling, header picture or slider, side column on the left, dark footer).
   Breakpoints as on the old site: phone < 768px, tablet 768–1024px (menu button instead of the main navigation),
   desktop from 1025px.

   Font sizes – one font (Open Sans), at most four steps per breakpoint (variables below):
     --fs-s   14px   main navigation, dropdowns, mobile menu, footer (company name in the footer was 13px),
                     lightbox caption
     --fs-m   15px   running text, side menu, contact box, sitemap list (was 16px), "Mehr Infos" buttons
                     on the home page (in the slider 18px), h3 in the privacy policy (bold)
     --fs-l   21px   h2, h3, titles of side menu and contact box (were 18px), boxes on the home page, slider subtitle,
                     slider title on phones (were h2 27px, h3 24px, slider title on phones 18px)
     --fs-xl  30px   h1, slider title (was 27px)
   Icons (sprite in layout.php) are drawn after Font Awesome, which the old site loaded as a font
   (CC BY 4.0, fontawesome.com/license/free). */

@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --text: #5e6366;
    --head: #3d4351;
    --accent: #33d1be;
    --dark: #232731;
    --line: #eee;
    --frame: #f4f4f4;
    --box: #fafafa;
    --fs-s: 14px;
    --fs-m: 15px;
    --fs-l: 21px;
    --fs-xl: 30px;
}

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

html { -webkit-text-size-adjust: 100%; overflow-y: scroll; scroll-padding-top: 90px; }
body { margin: 0; font: 400 var(--fs-m)/1.8 'Open Sans', Arial, Helvetica, sans-serif; color: var(--text); background: #fff; }

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--text); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.container :focus-visible, .mm__panel :focus-visible { outline-color: var(--head); }   /* on white */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; font-weight: 400; color: var(--head); }
h1 { font-size: var(--fs-xl); font-weight: 600; line-height: 1.36; }
h2, h3, h4, h5, h6 { font-size: var(--fs-l); }
p, ul, ol { margin: 0 0 15px; }
ul { padding: 0; list-style: none; }
strong { font-weight: 700; }
figure { margin: 0; }

.sprite { display: none; }
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }

.skip-link { position: absolute; left: 10px; top: -60px; z-index: 600; padding: 8px 14px; background: #fff; color: var(--text); }
.skip-link:focus-visible { top: 10px; }

/* ------------------------------------------------------------------ navigation bar (stays at the top while scrolling) */

.site-header { position: relative; }
.navbar-wrap { height: 121px; }                 /* keeps the place of the bar, so the page does not jump when it gets fixed */
.layout-home .navbar-wrap { height: 0; }        /* home page: the bar lies over the slider */
.navbar { position: absolute; top: 0; left: 0; right: 0; z-index: 300; overflow-x: clip; background: var(--dark); transition: background-color .6s ease-in-out; }
.layout-home .navbar { background: rgba(35, 39, 49, .25); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.navbar.is-fixed { position: fixed; background: var(--dark); box-shadow: 0 2px 2px rgba(0, 0, 0, .2); }   /* main.js, as soon as the page is scrolled */
.navbar__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1140px; margin: 0 auto; padding: 25px 30px; transition: padding .6s ease-in-out; }
.layout-home .navbar__inner { padding-left: 40px; padding-right: 40px; }
.navbar.is-fixed .navbar__inner { padding-top: 10px; padding-bottom: 10px; }

.logo { display: flex; align-items: center; flex: none; width: 268px; height: 71px; margin: 0 20px 0 0; transition: width .6s ease-in-out, height .6s ease-in-out; }
.logo a { display: flex; align-items: center; width: 100%; height: 100%; overflow: hidden; }
.logo img { display: block; width: 100%; }
.navbar.is-fixed .logo { width: 140px; height: 50px; }
.logo a:focus-visible { outline-offset: 2px; }

.mainnav__list { display: flex; margin: 0; }
.mainnav__list > li { position: relative; margin-right: 5px; }
.mainnav__list > li:last-child { margin-right: 0; }
.mainnav__list > li > a {
    display: block;
    padding: 3px 12px;
    font-size: var(--fs-s);
    line-height: 2;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    transition: color .25s ease;
}
.mainnav__list > li:last-child > a { padding-right: 0; }
.mainnav__list > li:hover > a, .mainnav__list > li > a:focus-visible,
.mainnav__list > li.is-current > a, .mainnav__list > li.is-trail > a { color: var(--accent); }

/* dropdown below "Leistungsspektrum", "Firma", "Kontakt" */
.mainnav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    width: 200px;
    margin: 0;
    background: rgba(35, 39, 49, .95);
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s;
}
.mainnav__list > li:last-child > .mainnav__sub { left: auto; right: 0; }
.mainnav__list > li:hover > .mainnav__sub, .mainnav__list > li:focus-within > .mainnav__sub, .mainnav__list > li.is-open > .mainnav__sub { visibility: visible; opacity: 1; }
.mainnav__list > li.is-closed > .mainnav__sub { visibility: hidden; opacity: 0; }   /* closed with Escape (main.js) */
.mainnav__sub li { border-bottom: 1px solid rgba(0, 0, 0, .15); }
.mainnav__sub a { display: block; padding: 10px 14px; font-size: var(--fs-s); line-height: 1.5; letter-spacing: 1px; text-decoration: none; color: #fff; transition: color .25s ease, padding .25s ease; }
.mainnav__sub a:hover, .mainnav__sub a:focus-visible, .mainnav__sub a[aria-current] { padding-left: 18px; color: var(--accent); }
.mainnav__sub a:focus-visible { outline-offset: -2px; }

.mainnav__toggle { display: none; }

/* ------------------------------------------------------------------ header picture and slider */

.header-image img { display: block; width: 100%; }

.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; transition: transform 2s ease; }
.slider__slide { position: relative; flex: 0 0 100%; }
.slider__slide img { display: block; width: 100%; }
html:not(.js) .slider__slide:not(:first-child) { display: none; }
.slide__text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 70px 30px 60px 41px;
    text-align: center;
    color: #fff;
}
.slide__title { margin: 0; padding: 15px 20px; font-size: var(--fs-xl); font-weight: 700; line-height: 1.36; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 2px rgba(0, 0, 0, .5); }
.slide__sub { margin: 0; padding: 15px 20px 15px 0; font-size: var(--fs-l); font-weight: 700; line-height: 1.36; letter-spacing: 1px; }

.slider__control[hidden] { display: none; }
.slider__prev, .slider__next {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 70px;
    margin-top: -35px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    opacity: .7;
    cursor: pointer;
    transition: opacity .25s;
}
.slider__prev { left: 0; }
.slider__next { right: 0; }
.slider__prev .icon, .slider__next .icon { width: 20px; height: 31px; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .4)); }
.slider__prev:hover, .slider__next:hover, .slider__prev:focus-visible, .slider__next:focus-visible { opacity: 1; }
.slider__prev:focus-visible, .slider__next:focus-visible { outline-offset: -4px; }
.slider__dots { position: absolute; bottom: 33px; left: 50%; z-index: 2; display: flex; transform: translateX(-50%); }
.slider__dots button { width: 13px; height: 13px; padding: 3px; border: 0; border-radius: 50%; background: #bbb content-box; cursor: pointer; }
.slider__dots button[aria-current] { background-color: #666; }

/* ------------------------------------------------------------------ content and side column */

.container { max-width: 1140px; margin: 0 auto; }
.layout-sidebar .container { display: flex; align-items: flex-start; }
.main { display: block; flex: 1 1 auto; min-width: 0; padding: 30px; overflow-wrap: break-word; }   /* a word that does not fit on a phone wraps instead of widening the page */
.aside { order: -1; flex: 0 0 300px; min-width: 0; padding: 35px 30px 20px; }
.main a { overflow-wrap: anywhere; }   /* long addresses (e.g. in the privacy policy) wrap instead of widening the page */

.mb-30 { margin-bottom: 30px; }
.ce { display: flow-root; margin-bottom: 18px; }   /* contains its floating picture, as on the old site */
.ce--clip { overflow: hidden; }   /* a line that is too long is cut off at the edge (line of underscores under "Aktuelles") */
.ce h3 { margin-bottom: .5em; }
.ce ul { padding-left: 1.4em; }
.ce li { list-style: disc outside; }

/* dividers as on the old site: grey line, optionally with a turquoise bar on the left or in the middle;
   mt-30 / mb-30 = 30 px space above / below (the old theme added a few pixels of line height below) */
.divider { --pb: 9px; position: relative; clear: both; box-sizing: content-box; height: 1px; margin: 0; padding: 1px 0 var(--pb); border: 0; background: var(--line) content-box; overflow: visible; }
.divider.mt-30 { padding-top: 31px; }
.divider.mb-30 { --pb: 39px; }
.divider--left::before, .divider--center::before { content: ''; position: absolute; bottom: calc(var(--pb) - 1px); height: 3px; background: var(--accent); }
.divider--left::before { left: 0; width: 31.3333%; }
.divider--center::before { right: 26%; width: 48%; bottom: var(--pb); height: 1px; }   /* the old theme cut this bar to the height of the line */
.divider--invisible { height: 27px; padding: 0; background: none; }

/* pictures in the text (link: large picture in the lightbox) */
.img { line-height: 0; }
.img--right { float: right; margin: 0 0 1% 3%; }
.img a { display: block; overflow: hidden; }
.img a img, .gallery a img { transition: transform .3s ease-out; }
.img a:hover img, .gallery a:hover img { transform: scale(1.1); }
.img a:focus-visible, .gallery a:focus-visible { outline-offset: 2px; }   /* outside the picture, on white */

/* picture gallery (lightbox series) */
.gallery { margin-bottom: 18px; }
.gallery ul { display: flow-root; margin: 0; }
.gallery li { float: left; margin: 0 1% 2%; }
.gallery .cols-4 li { width: 23.4%; }
.gallery .cols-4 li:nth-child(4n+1) { clear: left; margin-left: 0; }
.gallery .cols-4 li:nth-child(4n) { margin-right: 0; }
.gallery a { display: block; overflow: hidden; line-height: 0; }

/* home page: text in two columns, three boxes with picture */
.article--home { display: flow-root; max-width: 1140px; margin: 40px auto 0; padding: 0 30px; }
.article--home > * { margin-left: 1%; margin-right: 1%; }
.layout-home .main { padding: 30px 0; }
.g8 { float: left; width: 48%; }
.g33 { float: left; width: 31.3333%; }
.box { padding: 15px 15px 30px; background: var(--box); text-align: center; overflow-wrap: normal; transition: background-color .25s linear; }   /* as before: a long word may run into the padding (tablet) */
.box:hover { background: #f5f5f5; }
.box__img { margin: -15px -15px 15px; overflow: hidden; line-height: 0; }
.box__img img { display: block; width: 100%; }
.box h2 { margin-bottom: .5em; }
.box__link { margin: 0; }
.box__link a { display: inline-block; padding: 4px 12px; border: 1px solid var(--accent); border-radius: 30px; text-transform: uppercase; text-decoration: none; color: var(--accent); transition: background-color .25s linear, color .25s linear; }
.box__link a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 2px 2px 7px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.box:hover .box__link a, .box__link a:focus-visible { background: var(--accent); color: #fff; }

/* side column: menu of the section, contact box */
.aside__title { margin: 0 0 9px; padding: 0 0 7px 10px; border-bottom: 1px solid var(--accent); font-size: var(--fs-l); line-height: 1.2; }
.submenu { display: flow-root; margin-bottom: 20px; }
.submenu li { margin-bottom: 10px; }
.submenu a { display: block; padding: 6px 12px; border: 1px solid var(--frame); line-height: 2; text-decoration: none; color: var(--text); transition: all .5s ease; }
.submenu a::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 0; border-top: 1px solid rgba(94, 99, 102, .6); border-right: 1px solid rgba(94, 99, 102, .6); transform: rotate(45deg); }
.submenu a:hover, .submenu a:focus-visible, .submenu a[aria-current] { padding-left: 16px; border-color: var(--accent); color: var(--accent); }
.submenu a:hover::before, .submenu a:focus-visible::before, .submenu a[aria-current]::before { border-color: var(--accent); }
.submenu a:focus-visible { outline-offset: 1px; }
.contact-box { margin-bottom: 20px; padding: 12px 16px; border: 1px solid var(--frame); }
.contact-box .aside__title { padding-left: 0; padding-bottom: 6px; }
.contact-box p { margin: 0; overflow-wrap: anywhere; }
.contact-box .icon { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
.contact-box .icon--phone { width: 12px; }

/* sitemap page */
.sitemap-list { margin: 0; }
.sitemap-list a { text-decoration: none; }
.sitemap-list .has-sub > a { font-weight: 600; letter-spacing: 2px; }
.sitemap-list ul { margin: 0 0 15px 15px; }

/* privacy policy */
.legal h2 { margin-top: 1.2em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.2em 0 8px; font-size: var(--fs-m); font-weight: 700; line-height: 1.6; }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--dark); color: #fff; font-size: var(--fs-s); line-height: 1.8; }
.site-footer__inner { display: flow-root; max-width: 1140px; margin: 0 auto; padding: 50px 30px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a:focus-visible { color: #fff; }
.footer-nav { margin-left: 1%; }
.footer-nav ul { margin: 0; }
.footer-nav li { display: inline-block; margin-right: 10px; }
.footer-contact { display: flow-root; margin-left: 1%; padding: 60px 0 30px; }
.footer-contact__adr { float: left; margin: 0 40px 0 0; }
.footer-contact__adr strong { text-transform: uppercase; }
.footer-contact__tel { float: left; margin: 23px 0 0; }
.footer-contact .icon { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
.footer-contact .icon--phone { width: 11px; margin-right: 8px; }

/* back to top (main.js shows it as soon as the page is scrolled) */
.totop { position: fixed; right: 30px; bottom: 30px; z-index: 200; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--accent); color: #fff; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s, background-color .25s; }
.totop.is-visible { opacity: 1; visibility: visible; }
.totop:hover { background: #aaa; color: #fff; }
.totop:focus-visible { outline: 2px solid #fff; outline-offset: 0; box-shadow: 0 0 0 4px var(--head); }   /* white ring on the dark footer, dark ring on white */
.totop .icon { width: 15px; height: 10px; }
html:not(.js) .totop { display: none; }

/* ------------------------------------------------------------------ mobile menu (phone and tablet; opened by the "Quicknavigation" button) */

.mm[hidden] { display: none; }
.mm__blocker { position: fixed; inset: 0; z-index: 400; background: #000; opacity: 0; transition: opacity .4s ease; }
.mm.is-open .mm__blocker { opacity: .3; transition-delay: .4s; }
.mm__menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 401;
    width: 80%;
    max-width: 450px;
    overflow: hidden;
    background: #fff;
    font-size: var(--fs-s);
    line-height: 22px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .5);
    transform: translate3d(-100%, 0, 0);
    transition: transform .4s ease;
}
.mm.is-open .mm__menu { transform: none; }
.mm__close { position: absolute; top: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 30px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.mm__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; }
.mm__close:hover, .mm__close:focus-visible { color: var(--accent); }
.mm__close:focus-visible { outline-offset: -2px; }
html.mm-open { overflow: hidden; }
.mm a { color: var(--text); text-decoration: none; }
.mm__panels { position: absolute; inset: 0; overflow: hidden; border-top: 30px solid var(--dark); }
.mm__panel { position: absolute; inset: 0; overflow-y: auto; background: #fff; visibility: hidden; transform: translate3d(100%, 0, 0); transition: transform .4s ease, visibility .4s; }
.mm__panel.is-current { visibility: visible; transform: none; transition: transform .4s ease, visibility 0s; }   /* visible at once, so it can take the focus */
.mm__panel.is-parent { transform: translate3d(-100%, 0, 0); }
.mm__head { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; margin: 0; padding: 0 44px; border-bottom: 1px solid var(--line); color: var(--head); }
.mm__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mm__prev { position: absolute; top: 0; left: 0; bottom: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.mm__prev::before { content: ''; position: absolute; top: 0; bottom: 0; left: 20px; width: 9px; height: 9px; margin: auto; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); transform: rotate(-45deg); }
.mm__list { margin: 0; }
.mm__list li { position: relative; display: flex; border-bottom: 1px solid var(--line); }
.mm__list a { flex: 1; display: block; min-width: 0; padding: 10px 10px 10px 20px; letter-spacing: 1px; }
.mm__list a[aria-current] { color: var(--accent); background: var(--box); }
.mm a:focus-visible, .mm button:focus-visible { outline-offset: -2px; }
.mm__next { position: relative; flex: none; width: 80px; padding: 0; border: 0; border-left: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.mm__counter { position: absolute; top: 10px; left: 25px; }
.mm__next::after { content: ''; position: absolute; top: 0; bottom: 0; right: 22px; width: 9px; height: 9px; margin: auto; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); transform: rotate(135deg); }

/* ------------------------------------------------------------------ lightbox */

.lb { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 50px 60px; background: rgba(0, 0, 0, .8); opacity: 0; transition: opacity .25s; }
.lb[hidden] { display: none; }
.lb.is-visible { opacity: 1; }
.lb__figure { margin: 0; padding: 10px; border-radius: 10px; background: #000; box-shadow: 0 5px 20px rgba(0, 0, 0, .5); text-align: left; }
.lb__img { display: block; max-width: calc(100vw - 140px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
.lb__caption { min-height: 20px; padding-top: 8px; color: #999; font-size: var(--fs-s); line-height: 1.5; }
.lb__caption strong { color: #fff; }   /* title white and bold, counter grey */
.lb__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.lb__btn svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.lb__btn[hidden] { display: none; }
.lb__btn:hover, .lb__btn:focus-visible { color: var(--accent); }
.lb__prev { left: 8px; top: 50%; margin-top: -22px; }
.lb__next { right: 8px; top: 50%; margin-top: -22px; }
.lb__close { right: 8px; top: 8px; }
html.lightbox-open { overflow: hidden; }

/* ------------------------------------------------------------------ tablet and phone: menu button instead of the main navigation */

@media (max-width: 1024.98px) {
    .mainnav__toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: none;
        min-height: 29px;
        padding: 3px 10px 3px 12px;
        border: 0;
        background: var(--accent);
        color: #fff;
        font: 400 var(--fs-s)/1.6 'Open Sans', Arial, sans-serif;
        cursor: pointer;
    }
    .mainnav__toggle .icon { width: 9px; height: 6px; }
    .mainnav__toggle:focus-visible { outline-color: #fff; outline-offset: -4px; }
    .mainnav { display: none; }
    /* without JavaScript: the main navigation as a list below the logo, the button would do nothing */
    html:not(.js) .mainnav__toggle { display: none; }
    html:not(.js) .navbar-wrap { height: auto; }
    html:not(.js) .navbar { position: relative; }
    html:not(.js) .layout-home .navbar { background: var(--dark); }   /* home page: the bar above the slider, not over it */
    html:not(.js) .navbar__inner { flex-wrap: wrap; }
    html:not(.js) .mainnav { display: block; flex: 1 1 100%; margin-top: 15px; }
    html:not(.js) .mainnav__list { flex-wrap: wrap; }
    html:not(.js) .mainnav__list > li { margin-right: 0; }
    html:not(.js) .mainnav__list > li > a, html:not(.js) .mainnav__list > li:last-child > a { padding: 3px 12px 3px 0; }
    html:not(.js) .mainnav__sub { display: none; }   /* sub pages: via the side menu of the section and the footer */
}

/* ------------------------------------------------------------------ tablet: narrower side column */

@media (min-width: 768px) and (max-width: 1024.98px) {
    .aside { flex-basis: 250px; padding: 35px 30px 20px 20px; }
}

/* ------------------------------------------------------------------ phone: smaller logo, one column, side column below the content */

@media (max-width: 767.98px) {
    .navbar-wrap { height: 100px; }
    .navbar__inner, .layout-home .navbar__inner { padding: 25px 16px; }
    .logo { width: 140px; height: 50px; margin-right: 12px; }
    .layout-sidebar .container { display: block; }
    .aside { padding: 35px 30px 20px; }

    .slide__text { padding: 20px; }
    .slide__title { font-size: var(--fs-l); }
    .slide__sub { display: none; }
    .slider__control, .slider__control[hidden] { display: none; }   /* as on the old site: no arrows and dots, swipe instead */

    .article--home { padding: 0 16px; }
    .article--home > * { margin-left: 0; margin-right: 0; }
    .g8, .g33 { float: none; width: auto; }
    .ce.g8 { margin-bottom: 18px; }

    .img--right { float: none; margin: 0 0 1%; }
    .img img { width: 100%; }

    .site-footer__inner { padding: 50px 16px; }
    .footer-nav { margin-bottom: 30px; }
    .footer-contact { padding-top: 26px; }

    .lb { padding: 50px 10px; }
    .lb__img { max-width: calc(100vw - 40px); }
    .lb__prev, .lb__next { top: auto; bottom: 8px; margin-top: 0; }
}
@media (max-width: 359.98px) {
    .logo { margin-right: 6px; }
    .mainnav__toggle { gap: 6px; padding-left: 8px; padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
