/* Preserve the original language widget after Polylang's accessible markup update. */
.widget_polylang .pll-switcher ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.widget_polylang .pll-switcher a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'M PLUS 1p';
    font-weight: 600;
    font-size: 20px;
    color: #191828;
    text-decoration: overline;
    margin-right: 5px;
}
.widget_polylang .pll-switcher a:hover {
    color: #fd5600;
}
.widget_polylang .pll-switcher-label {
    order: 0;
    margin-inline-start: 0 !important;
}
.widget_polylang .pll-switcher-flag {
    order: 1;
    width: 24px !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
}
.widget_polylang .pll-switcher-flag img {
    width: 24px !important;
    height: auto !important;
    object-fit: contain !important;
}
/* Widgetkit's last breakpoint was 1220px; modern UIkit uses 1200px. */
@media (min-width: 1200px) and (max-width: 1219px) {
    .electronsv-testimonials .uk-slider-items > * {
        width: 50%;
    }
}
/* YOOtheme's new panel wrappers remove the paragraph spacing used by this layout. */
#education .uk-panel.uk-text-lead > p:last-child,
#education h3 + .uk-panel.uk-text-small > p:last-child {
    margin-bottom: 20px;
}
/* Icon links used an inline-block text wrapper in the original builder. */
#education a.uk-link-text {
    text-decoration: none;
}
/* YOOtheme 5 adds a container around the mobile navbar. Keep the original inset. */
.tm-header-mobile .uk-navbar-container > .uk-container {
    padding-left: 30px;
    padding-right: 30px;
}
#tm-main .electronsv-testimonials {
    margin-bottom: 20px !important;
}
/* Supply the new dropbar component with this site's original mobile menu styling. */
#tm-dialog-mobile.uk-dropbar {
    --uk-position-offset: 0;
    --uk-position-shift-offset: 0;
    --uk-position-viewport-offset: 0;
    box-sizing: border-box;
    height: auto !important;
    padding: 0 30px 30px;
    background: #f5f5f5;
    border-bottom: 10px solid #17181c;
    z-index: 980;
}
#tm-dialog-mobile .lang-item a {
    display: flex;
    align-items: center;
    gap: 5px;
}
#tm-dialog-mobile .pll-switcher-label {
    order: 0;
    float: none;
    margin-inline-start: 0 !important;
}
#tm-dialog-mobile .pll-switcher-flag {
    order: 1;
    float: none;
    width: 24px !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
}
#tm-dialog-mobile .pll-switcher-flag img {
    height: auto !important;
    width: 24px !important;
    object-fit: contain !important;
    margin: 0 !important;
}
.tm-header-mobile .uk-navbar-toggle > .uk-margin-xsmall-right {
    margin-right: 10px !important;
}
