body.flatdesign-theme {
    --main-color: var(--ms-color-primary, #dbbc94);
    background-color: var(--ms-color-bg, #ffffff);
    background-image: var(--ms-site-bg-image, none);
    background-size: var(--ms-bg-size, cover);
    background-position: var(--ms-bg-position, center);
    background-repeat: var(--ms-bg-repeat, no-repeat);
    color: var(--ms-color-text, #191f26);
    font-family: var(--ms-font-body, "Roboto", Arial, sans-serif);
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}

.flat-wrap {
    width: 100%;
    max-width: var(--ms-site-width, 1170px);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

body[data-ms-layout="no-sidebars"] .flat-main-section .flat-wrap {
    max-width: none;
}

.flat-headline .flat-wrap,
.flat-navbar .flat-wrap,
.flat-titlebar .flat-wrap {
    max-width: min(1600px, calc(100vw - 96px));
}

/* Header */
.flat-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    border-top: 2px solid var(--main-color);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.flat-headline {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 34px;
    background: var(--main-color);
    color: #ffffff;
    font-size: 13px;
}

.flat-headline__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.flat-headline a,
.flat-headline .btn {
    color: #ffffff;
    text-decoration: none;
}

.flat-headline__nav,
.flat-headline__tools,
.flat-headline__social {
    display: flex;
    align-items: center;
}

.flat-headline__nav {
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
}

.flat-headline__tools {
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.flat-top-link,
.flat-headline__phone,
.flat-social-link {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    color: #ffffff;
    line-height: 1.2;
}

.flat-top-link,
.flat-headline__phone {
    white-space: nowrap;
}

.flat-headline__phone {
    gap: 6px;
}

.flat-headline__social {
    gap: 4px;
}

.flat-social-link {
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 3px;
}

.flat-social-link:hover,
.flat-social-link:focus,
.flat-headline__phone:hover,
.flat-headline__phone:focus,
.flat-top-link:hover,
.flat-top-link:focus {
    color: rgba(255, 255, 255, 0.84);
}

.flat-headline .btn {
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 13px;
    text-transform: uppercase;
}

.flat-headline .ms-user-actions {
    gap: 4px;
    background: transparent;
}

.flat-headline .ms-user-action {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    color: #ffffff;
    background: transparent;
}

.flat-headline .ms-user-action:hover,
.flat-headline .ms-user-action:focus,
.flat-headline .ms-user-action-active {
    color: rgba(255, 255, 255, 0.86);
    background: rgba(25, 31, 38, 0.16);
}

.flat-headline .ms-user-action-icon {
    font-size: 18px;
}

.flat-headline .ms-user-actions-bootstrap-icons .ms-user-action-icon,
.flat-headline .ms-user-actions-font-awesome .ms-user-action-icon {
    font-size: 17px;
}

.flat-headline .ms-user-action-count {
    right: -3px;
    bottom: -3px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    background: #191f26;
    color: #ffffff;
    font-size: 9px;
    line-height: 15px;
}

.flat-navbar {
    position: relative;
    z-index: 1;
    min-height: 0;
    padding: 8px 0;
    background: #ffffff;
}

.flat-navbar .navbar-brand {
    flex: 0 1 auto;
    max-width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    color: #191f26;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.flat-navbar .navbar-brand img,
.flat-navbar .site-logo {
    width: auto;
    max-height: 70px;
}

.flat-navbar .navbar-toggler {
    background: transparent;
    border: 1px solid rgba(25, 31, 38, 0.35);
}

.flat-navbar .navbar-nav {
    align-items: center;
}

.flat-navbar .nav-item {
    position: relative;
}

.flat-navbar .nav-link {
    color: #858585;
    font-size: 15px;
    font-weight: 500;
    padding: 7px 10px;
    text-transform: uppercase;
}

.flat-navbar .nav-link:hover,
.flat-navbar .nav-link:focus,
.flat-navbar .nav-link.show {
    color: #191f26;
}

.flat-navbar .dropdown-menu {
    border: 0;
    border-radius: 0 0 3px 3px;
    box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.15);
}

.flat-navbar .dropdown-item {
    color: #191f26;
    font-size: 14px;
    line-height: 1.35;
    padding: 8px 16px;
    white-space: nowrap;
}

.flat-navbar .dropdown-item:hover,
.flat-navbar .dropdown-item:focus {
    background: var(--main-color);
    color: #ffffff;
}

.flat-dropdown-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    line-height: 1;
    text-transform: none;
}

.flat-dropdown-toggle::before {
    content: "+";
    display: inline-block;
    font-size: 12px;
    line-height: 1;
}

.flat-navbar .nav-item.open > .flat-dropdown-toggle::before {
    transform: none;
}

/* Search */
.flat-search {
    flex: 0 0 auto;
    margin: 0;
}

.flat-search .input-group {
    flex-wrap: nowrap;
    align-items: stretch;
}

.flat-search .form-control {
    height: 32px;
    line-height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 3px 0 0 3px;
    min-width: 210px;
    padding: 0 12px;
    box-shadow: none;
}

.flat-search .btn {
    height: 32px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 3px 3px 0;
    padding: 0 12px;
    line-height: 1;
}

.search-results {
    position: absolute;
    width: 260px;
    z-index: 1000;
    border: 1px solid #cccccc;
    background: #ffffff;
    display: none;
}

/* Buttons */
.flatdesign-theme .btn,
.flatdesign-theme button,
.flatdesign-theme input[type="button"],
.flatdesign-theme input[type="reset"],
.flatdesign-theme input[type="submit"] {
    border-radius: 3px;
    text-transform: uppercase;
}

.flatdesign-theme .btn-primary,
.flatdesign-theme .search-submit {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #ffffff;
}

.flatdesign-theme .btn-primary:hover,
.flatdesign-theme .btn-primary:focus,
.flatdesign-theme .search-submit:hover,
.flatdesign-theme .search-submit:focus {
    background-color: #191f26;
    border-color: #191f26;
    color: #ffffff;
}

/* Hero */
.flat-hero {
    height: var(--ms-hero-height, 420px);
    background: #191f26;
    background-image: var(--ms-hero-bg-image, url("../images/default-slider.jpg"));
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.flat-hero .swiper-slide {
    height: var(--ms-hero-height, 420px);
}

.flat-hero img,
.flat-hero picture,
.flat-hero .swiper-slide > img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

.flat-hero .swiper-button-next,
.flat-hero .swiper-button-prev {
    color: #ffffff;
}

.flat-titlebar {
    position: relative;
    overflow: hidden;
    background: var(--ms-header-bg, var(--main-color));
    color: var(--ms-hero-text-color, #ffffff);
    padding: 34px 0;
}

.flat-titlebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--ms-titlebar-bg-image, none);
    background-size: cover;
    background-position: center center;
    z-index: 0;
}

.flat-titlebar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ms-header-bg, var(--main-color));
    opacity: 0.78;
    z-index: 1;
}

.flat-titlebar .flat-wrap {
    position: relative;
    z-index: 2;
}

.flat-titlebar h1 {
    margin: 0;
    color: var(--ms-hero-title-color, #ffffff);
    font-size: 28px;
    line-height: 1.2;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.flat-titlebar .flat-hero-section {
    margin-top: 10px;
    overflow-wrap: break-word;
}

.flat-titlebar .flat-hero-section p:last-child {
    margin-bottom: 0;
}

.flat-titlebar .flat-hero-section,
.flat-titlebar .flat-hero-section *,
.flat-titlebar .flat-breadcrumbs,
.flat-titlebar .flat-breadcrumbs * {
    color: var(--ms-hero-text-color, #ffffff);
}

/* Main content */
.flat-main-section {
    padding: 35px 0;
}

.flat-main-content {
    text-align: left;
    container-type: inline-size;
}

.flat-main-image {
    max-width: 100%;
}

.flat-main-image img,
.flat-main-image picture,
.flat-main-image-img {
    max-width: 100%;
    height: auto;
}

.flat-sidebar-box {
    background: #ffffff;
    border: 1px solid #dfdfd0;
    border-radius: 3px;
    padding: 18px;
}

.flat-sidebar-box a {
    color: #191f26;
    text-decoration: none;
}

.flat-sidebar-box a:hover,
.flat-sidebar-box a:focus {
    color: var(--main-color);
}

/* Subpages */
.block-subpages .subpages-grid {
    row-gap: 24px;
}

.block-subpages .subpage-item {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
}

.block-subpages .subpage-item a {
    text-decoration: none;
}

.block-subpages .subpage-item a:hover,
.block-subpages .subpage-item a:focus {
    text-decoration: none;
}

.block-subpages .subpage-title-body {
    padding: 0;
}

.block-subpages .subpage-title {
    display: block;
    width: 100%;
    margin: 0;
    background: var(--main-color);
    color: #ffffff;
    border-radius: 0;
    padding: 14px 16px;
    font-size: 18px;
    line-height: 1.35;
}

.block-subpages .subpage-title a {
    display: block;
    color: #ffffff;
    text-decoration: none;
}

.block-subpages .subpage-image-link {
    display: block;
    padding: 0;
}

.block-subpages .subpage-image,
.block-subpages .subpage-image-link img,
.block-subpages .subpage-item img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.block-subpages .subpage-excerpt,
.block-subpages .subpage-text {
    padding: 0 16px 16px 16px;
    color: #333333;
}

/* Featured pages block */
.flat-featured-section {
    position: relative;
    overflow: hidden;
    margin: 0 0 64px;
    padding: 56px 0;
    background: #f3f6fc;
}

.flat-featured-section .flat-featured-header,
.flat-featured-section .flat-featured-swiper {
    width: min(1600px, calc(100vw - 96px));
    margin-left: auto;
    margin-right: auto;
}

.flat-featured-section .flat-featured-header {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 520px) auto;
    gap: 36px;
    align-items: center;
    margin-bottom: 56px;
}

.flat-featured-header .subpage-title {
    margin: 0;
    color: #222222;
    font-size: clamp(42px, 3.4vw, 66px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.flat-featured-header .subpage-title a {
    color: inherit;
    text-decoration: none;
}

.flat-featured-header > .subpage-excerpt {
    margin: 0;
    color: #6d7280;
    font-size: clamp(18px, 1.25vw, 25px);
    line-height: 1.75;
}

.flat-featured-header > .subpage-cta {
    display: none;
}

.flat-featured-nav {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    align-items: center;
}

.flat-featured-nav button {
    width: clamp(64px, 4.2vw, 82px);
    height: clamp(64px, 4.2vw, 82px);
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #222222;
    font-size: clamp(26px, 1.7vw, 34px);
    line-height: 1;
    box-shadow: 0 14px 34px rgba(30, 35, 50, 0.08);
    cursor: pointer;
}

.flat-featured-nav button:hover,
.flat-featured-nav button:focus {
    background: #222222;
    color: #ffffff;
}

.flat-featured-section .flat-featured-swiper {
    overflow: visible;
}

.flat-featured-section .swiper-wrapper {
    align-items: stretch;
}

.flat-featured-section .swiper-slide {
    height: auto;
}

.flat-featured-section .subpage-item {
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(30, 35, 50, 0.08);
}

.flat-featured-section .subpage-image-wrap {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: #e9edf5;
}

.flat-featured-section .subpage-image-link {
    display: block;
    text-decoration: none;
}

.flat-featured-section .subpage-image,
.flat-featured-section .subpage-image-wrap img {
    display: block;
    width: 100%;
    height: clamp(260px, 17vw, 405px);
    object-fit: cover;
}

.flat-featured-section .subpage-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.18));
}

.flat-featured-section .subpage-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 2;
    max-width: 70%;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--ms-header-bg, var(--main-color));
    color: #ffffff;
    opacity: 0.78;
    font-size: clamp(12px, 0.82vw, 15px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flat-featured-section .subpage-badge:hover,
.flat-featured-section .subpage-badge:focus {
    background: var(--ms-header-bg, var(--main-color));
    color: #ffffff;
    opacity: 0.9;
}

.flat-featured-section .subpage-item > .subpage-title {
    margin: 0;
    padding: 38px 36px 10px;
    color: #222222;
    font-size: clamp(22px, 1.55vw, 34px);
    line-height: 1.28;
    font-weight: 700;
    text-align: center;
}

.flat-featured-section .subpage-item > .subpage-title a {
    color: inherit;
    text-decoration: none;
}

.flat-featured-section .subpage-item > .subpage-title a:hover,
.flat-featured-section .subpage-item > .subpage-title a:focus {
    color: var(--main-color, #0d6efd);
}

.flat-featured-section .subpage-item > .subpage-excerpt {
    margin: 0;
    padding: 0 36px 30px;
    color: #333333;
    font-size: clamp(15px, 0.95vw, 18px);
    line-height: 1.65;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.flat-featured-section .subpage-item > .subpage-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 64px;
    padding: 18px 28px;
    border-top: 1px solid #e5e8ef;
    color: #222222;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.flat-featured-section .subpage-item > .subpage-cta:hover,
.flat-featured-section .subpage-item > .subpage-cta:focus {
    color: var(--main-color, #0d6efd);
}

/* Footer */
.flat-footer {
    background: var(--ms-header-bg, var(--main-color));
    color: #ffffff;
    border-top: 0;
    padding-top: 36px;
}

.flat-footer h5 {
    color: #ffffff;
    text-transform: uppercase;
}

.flat-footer a {
    color: #ffffff;
    text-decoration: none;
}

.flat-footer a:hover,
.flat-footer a:focus {
    color: rgba(255, 255, 255, 0.82);
}

body[data-ms-header-mode="no-header"] .flat-site-header {
    display: none;
}

/* Desktop */
@media (min-width: 992px) {
    .flat-navbar .flat-wrap {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .flat-navbar .navbar-brand {
        flex: 0 1 32%;
        max-width: 32%;
    }

    .flat-navbar .navbar-collapse {
        flex: 1 1 auto;
        min-width: 0;
    }

    .flat-navbar .navbar-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 2px;
    }

    .flat-navbar .nav-item.dropdown:hover > .dropdown-menu,
    .flat-navbar .nav-item.dropdown:focus-within > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .flat-navbar .dropdown-toggle::after {
        vertical-align: middle;
    }

    body[data-ms-layout="no-sidebars"] .ms-layout-sidebar {
        display: none;
    }

    body[data-ms-layout="no-sidebars"] .ms-layout-main {
        flex: 0 0 100%;
        max-width: 100%;
    }

    body[data-ms-layout="left-sidebar"] .ms-layout-sidebar-right,
    body[data-ms-layout="right-sidebar"] .ms-layout-sidebar-left {
        display: none;
    }

    body[data-ms-layout="left-sidebar"] .ms-layout-main,
    body[data-ms-layout="right-sidebar"] .ms-layout-main {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .flat-main-content .flat-featured-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

@media (min-width: 1200px) {
    .flat-featured-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .flat-featured-section .subpage-item > .subpage-title {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

@container (max-width: 960px) {
    .flat-main-image,
    .flat-main-image-align-left,
    .flat-main-image-align-right,
    .flat-main-image-align-center {
        float: none !important;
        width: 100%;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .flat-main-image img,
    .flat-main-image picture,
    .flat-main-image-img {
        width: 100%;
        max-width: 100% !important;
        height: auto;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .flat-headline .flat-wrap,
    .flat-navbar .flat-wrap,
    .flat-titlebar .flat-wrap {
        max-width: calc(100vw - 48px);
    }

    .flat-featured-section .flat-featured-header,
    .flat-featured-section .flat-featured-swiper {
        width: calc(100vw - 64px);
    }

    .flat-featured-section .flat-featured-header {
        grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.1fr) auto;
        gap: 24px;
    }

    .flat-featured-header .subpage-title {
        font-size: 44px;
    }

    .flat-featured-header > .subpage-excerpt {
        font-size: 19px;
        line-height: 1.65;
    }
}

/* Mobile / touch */
@media (max-width: 991.98px) {
    .flat-headline {
        padding: 0;
    }

    .flat-headline__inner {
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .flat-headline__nav {
        gap: 10px;
    }

    .flat-headline__tools {
        gap: 4px;
        margin-left: auto;
    }

    .flat-top-link,
    .flat-headline__phone,
    .flat-social-link {
        min-height: 32px;
    }

    .flat-search {
        width: 32px;
        max-width: 100%;
    }

    .flat-search .form-control {
        width: 0;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
        border-width: 0;
        opacity: 0;
        pointer-events: none;
    }

    .flat-search .btn {
        width: 32px;
        min-width: 32px;
        height: 32px;
        border-radius: 3px;
        padding: 0;
        background: transparent;
        color: #ffffff;
    }

    .flat-search.flat-search-open {
        width: 232px;
    }

    .flat-search.flat-search-open .form-control {
        box-sizing: border-box;
        width: 196px;
        padding-left: 10px;
        padding-right: 10px;
        border-width: 1px;
        opacity: 1;
        pointer-events: auto;
    }

    .flat-search.flat-search-open .btn {
        border-radius: 0 3px 3px 0;
        background: #191f26;
    }

    .flat-navbar {
        padding: 10px 0;
    }

    .flat-navbar .flat-wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .flat-navbar .navbar-brand {
        flex: 1 1 auto;
        max-width: calc(100% - 58px);
        font-size: 18px;
        line-height: 1.15;
    }

    .flat-navbar .navbar-brand img,
    .flat-navbar .site-logo {
        max-height: 58px;
    }

    .flat-navbar .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .flat-navbar .navbar-collapse {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 8px;
    }

    .flat-navbar__menu {
        justify-content: flex-start;
    }

    .flat-navbar .navbar-nav {
        width: 100%;
        align-items: stretch;
    }

    .flat-navbar .nav-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .flat-navbar .nav-link {
        grid-column: 1;
        padding: 12px 0;
    }

    .flat-navbar .dropdown-toggle::after {
        display: none;
    }

    .flat-dropdown-toggle {
        grid-column: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        color: #191f26;
    }

    .flat-navbar .dropdown-menu {
        grid-column: 1 / -1;
        position: static;
        float: none;
        display: none;
        width: 100%;
        padding: 4px 0 8px 18px;
        margin: 0;
        background: #ffffff;
        box-shadow: none;
        border: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .flat-navbar .nav-item.open > .dropdown-menu {
        display: block;
    }

    .flat-navbar .dropdown-item {
        padding: 8px 0;
        white-space: normal;
    }

    .flat-featured-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .flat-featured-section .flat-featured-header {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .flat-featured-nav {
        justify-content: center;
    }

    .flat-main-image,
    .flat-main-image-align-left,
    .flat-main-image-align-right,
    .flat-main-image-align-center {
        float: none !important;
        width: 100%;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .flat-main-image img,
    .flat-main-image picture,
    .flat-main-image-img {
        width: 100%;
        max-width: 100% !important;
        height: auto;
    }
}

@media (max-width: 768px) {
    .flat-hero,
    .flat-hero .swiper-slide {
        height: 220px;
    }

    .flat-titlebar h1 {
        font-size: 24px;
    }

    .flat-breadcrumbs {
        margin-top: 14px;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .flat-headline__nav,
    .flat-headline__tools {
        flex: 0 0 100%;
        width: 100%;
    }

    .flat-headline__tools {
        justify-content: flex-start;
        margin-left: 0;
    }

    .flat-headline__phone {
        max-width: 100%;
        white-space: normal;
    }

    .flat-search.flat-search-open {
        flex: 1 1 100%;
        width: 100%;
    }

    .flat-search.flat-search-open .input-group {
        width: 100%;
    }

    .flat-search.flat-search-open .form-control {
        flex: 1 1 auto;
        width: auto;
    }
}

@media (max-width: 767.98px) {
    .flat-headline .flat-wrap,
    .flat-navbar .flat-wrap,
    .flat-titlebar .flat-wrap {
        max-width: calc(100vw - 28px);
    }

    .flat-featured-section {
        margin-bottom: 40px;
        padding: 36px 0;
    }

    .flat-featured-section .flat-featured-header,
    .flat-featured-section .flat-featured-swiper {
        width: calc(100vw - 36px);
    }

    .flat-featured-header .subpage-title {
        font-size: 34px;
    }

    .flat-featured-header > .subpage-excerpt {
        font-size: 16px;
        line-height: 1.55;
    }

    .flat-featured-section .subpage-image,
    .flat-featured-section .subpage-image-wrap img {
        height: 220px;
    }

    .flat-featured-section .subpage-badge {
        top: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        font-size: 12px;
    }

    .flat-featured-section .subpage-item > .subpage-title {
        padding: 28px 24px 8px;
        font-size: 21px;
    }

    .flat-featured-section .subpage-item > .subpage-excerpt {
        padding-left: 24px;
        padding-right: 24px;
        font-size: 15px;
    }
}
