/*
Theme Name: Red Flag
Author: Red Flag
Description: Red Flag theme
Version: 1.0
Text Domain: redFlag
*/

:root {
    --primary-color: #F4661B;
    --primary-color-hover: #F68712;
    --menu-text-color: #333333;
    --text-color-on-primary-color: #fff;
}

html { height: 100%; }
body { min-height: 100%; height: fit-content; position: relative; font-family: 'Poppins', sans-serif; display: flex; flex-direction: column; background-color: #ffffff; margin: 0; }
img { max-width: 100%; width: auto; border: none; }
a {color: var(--primary-color); }
a:hover, a:focus { text-decoration: none; }
p { font-size: 17px; }
button:hover, button:focus { cursor: pointer; }
* { box-sizing: border-box; }
strong { font-weight: 600; }
.container { max-width: 1190px; width: 100%; padding: 0 15px 0 15px; margin-left: auto; margin-right: auto; }
.row { margin: 0 -15px; display: flex; flex-wrap: wrap; }
.beyond { max-width: 1920px; margin: auto; }
.col {padding-left: 15px; padding-right: 15px; width: 100%; }
.one-third { width: 33.33%; }
.one-half { width: 50%; }

.social-icon { display: inline-block; width: 24px; height: 24px; background-repeat: no-repeat; background-size: contain; background-position: center; }
.socials { display: flex; margin-left: auto; }
.header-stripe .socials a { transition: all 0.4s ease-in-out; }
.header-stripe .socials a:hover, .header-stripe .socials a:focus { scale: 1.3; }
.socials .social-icon { margin-left: 10px; }
.mobile-only {display: none !important;}

.icon-button { background: transparent; border: none; display: flex; align-items: center; outline: none; }

.navtoggle-container { display: none; background: white; }
.navtoggle { display: none; margin-left: auto; cursor: pointer; height: 40px; width: 40px; align-items: center; justify-content: center; }
.navtoggle-inner {  overflow: hidden; position: relative; height: 20px; width: 26px; }
.navtoggle span {background-color: #000; display: block; width: 26px; height: 4px; transition: transform 0.3s linear, top 0.2s linear, left 0.2s linear; transition-delay: 0s; position: absolute; }
.navtoggle span:nth-child(2n+0) { transition-delay: 0.3s; top: 50%; left: 0; transform: translateY(-50%); }
.navtoggle span:first-child { left: 0; top: 0; }
.navtoggle span:last-child { left: 0; top: 16px; }
.navtoggle.open span:first-child { transform: translate(-50%, -50%) rotate( 45deg ); left: 50%; top: 50%; transition-delay: 0.2s; }
.navtoggle.open span:nth-child(2n+0) { transform: translate(100%, -50%); transition-delay: 0s;}
.navtoggle.open span:last-child { transform: translate(-50%, -50%) rotate( -45deg ); left: 50%; top: 50%; transition-delay: 0.2s;}


h1 { color: black; font-size: 58px; font-weight: 600; margin-top: 48px; margin-bottom: 46px; }
h2 { font-size: 20px; color: black; font-weight: 600; line-height: 1.5; margin-top: 10px; margin-bottom: 15px; }
h3 { font-size: 20px; color: var(--primary-color); font-weight: 600; line-height: 1.5; margin-top: 30px; margin-bottom: 15px; }
p { font-size: 17px; line-height: 1.2; margin-bottom: 30px; color: black; margin-top: 0; }
li { font-size: 17px; line-height: 1.2; margin-bottom: 10px; }
h2.wp-block-heading a { color: black; text-decoration: none; transition: color 0.2s ease; }
h2.wp-block-heading a:hover { color: var(--primary-color); }

.wp-block-button__link { background-color: var(--primary-color) !important; color: #ffffff !important; border-radius: 8px !important; font-size: 15px; font-weight: 600; padding: 12px 24px !important; text-decoration: none; display: inline-flex; align-items: center; transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important; box-shadow: 0 4px 14px rgba(244, 102, 27, 0.25); }
.wp-block-button__link:hover { background-color: var(--primary-color-hover) !important; color: #ffffff !important; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(244, 102, 27, 0.35); }

.vertical-space40 { height: 40px; }
.homepage-ul { margin-left: 255px; }
.homepage-ul li { font-size: 20px; }

.header-stripe { background: #4D4D4D; }
.stripe-col { width: 100%; padding: 0 16px; height: 48px; display: flex; align-items: center; }
.header-stripe a {font-size: 14px; text-decoration: none; transition: color 0.3s linear; color: #999999; }
.header-stripe a:hover {color: #ABAAAA; text-decoration: underline;}
.stripe-phone {margin-right: 16px;}
.stripe-email {margin-right: 16px;}
.stripe-gdpr {margin-right: 16px;}
.stripe-login {margin-left: 10px;}
.stripe-vertical-divider {height: 28px; width: 2px; background: #999999; margin-right: 16px; }

/*-- header menu */
.header-menu-container { position: sticky; overflow: visible; top: 0; z-index: 20; border-bottom: 1px solid lightgrey; background: white; }
.header-menu-container.search-active,
.header-menu-container.search-animating { overflow: hidden; }
.header-menu-container-inner { padding-top: 10px; padding-bottom: 10px; position: relative; display: flex; align-items: center; height: 80px; }
.js-main-menu-mobile-container { display: flex; align-items: center; margin-left: auto; height: 80px; transition: all 0.3s ease-in-out; transform: translateY(0); opacity: 1; }

.header-logo-container a { display: flex;}
.header-logo-container img { height: 40px; }

ul.header-menu  { display: flex; align-items: center; height: 100%; margin: 0; margin-left: auto; padding: 0; padding-left: 16px; list-style: none; }
.header-menu > li { position: relative; display: inline-flex; align-items: center; height: 80px; margin-right: 24px; margin-bottom: 0; }
.header-menu > li > a { position: relative; display: inline-flex; align-items: center; font-size: 15px; color: var(--menu-text-color); text-decoration: none; font-weight: 500; padding: 6px 0; transition: color 0.2s ease; }
.header-menu > li > a:hover { color: var(--primary-color); }
.header-menu > li > a:before { position: absolute; content: ''; width: 0; height: 2px; background: var(--primary-color); opacity: 0; bottom: -4px; left: 0; transition: all 0.25s ease-in-out; }
.header-menu > li:hover > a:before,
.header-menu > li.current-menu-item > a:before,
.header-menu > li.current-page-ancestor > a:before,
.header-menu > li.current-menu-ancestor > a:before { width: 100%; opacity: 1; }

/* Submenu dropdown indicator */
.header-menu > li.menu-item-has-children > a:after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid var(--menu-text-color); border-bottom: 2px solid var(--menu-text-color); transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease, border-color 0.2s ease; }
.header-menu > li.menu-item-has-children:hover > a:after { transform: translateY(1px) rotate(-135deg); border-color: var(--primary-color); }

/* Submenu dropdown */
.header-menu .sub-menu { position: absolute; top: 100%; left: -20px; min-width: 260px; background: #ffffff; margin: 0; padding: 8px 0; list-style: none; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04); border: 1px solid rgba(0, 0, 0, 0.08); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; z-index: 100; pointer-events: none; }
.header-menu .sub-menu:before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.header-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.header-menu .sub-menu li { display: block; width: 100%; margin: 0; padding: 0; }
.header-menu .sub-menu a { display: block; padding: 11px 20px; font-size: 14px; font-weight: 500; color: #333333; text-decoration: none; transition: all 0.2s ease; white-space: nowrap; border-left: 3px solid transparent; }
.header-menu .sub-menu a:before { display: none !important; }
.header-menu .sub-menu a:hover,
.header-menu .sub-menu li.current-menu-item > a { background-color: #f7f7f7; color: var(--primary-color); border-left-color: var(--primary-color); padding-left: 24px; }

.header-search-container { position: absolute; top: 0; right: 0; transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.3s ease-in-out; display: flex; align-items: center; justify-content: end; height: 80px; z-index: 30; }
.header-search-input { outline: none; font-size: 17px; color: black; background: #F2F2F2; height: 36px; text-align: right; border: none; width: 377px; padding-right: 16px; padding-left: 16px; }
.header-search-input::placeholder { color: #CCCCCC; }
.header-search-container-inner { display: flex; align-items: center; background: #F2F2F2; }

.search-open .header-search-container { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-open .js-main-menu-mobile-container { transform: translateY(100%); opacity: 0; pointer-events: none; }

/*-- mx-services tiles --*/
.mx-services { gap: 24px; margin-top: 20px; margin-bottom: 20px; }
.mx-services .wp-block-column { background: #fafafa; border: 1px solid #eeeeee; border-radius: 12px; padding: 30px 22px; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.mx-services .wp-block-column:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08); border-color: rgba(244, 102, 27, 0.35); background: #ffffff; }
.mx-services .wp-block-column figure { margin: 0 0 18px 0; transition: transform 0.25s ease; }
.mx-services .wp-block-column:hover figure { transform: scale(1.08); }
.mx-services .wp-block-column figure a { display: inline-block; }
.mx-services .wp-block-heading { margin-top: 0; margin-bottom: 12px; font-size: 20px; }
.mx-services .wp-block-heading a { color: var(--primary-color); text-decoration: none; transition: color 0.2s ease; }
.mx-services .wp-block-heading a:hover { color: var(--primary-color-hover); }
.mx-services p:last-child { margin-top: auto; margin-bottom: 0; padding-top: 14px; }
.mx-services p:last-child a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease, color 0.2s ease; color: var(--primary-color); }
.mx-services p:last-child a:hover { gap: 10px; color: var(--primary-color-hover); }

/*-- start section featured posts*/
.section-featured-posts-background { position: relative; }
.section-featured-posts-background:before { content: ''; z-index: -1; display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background-image: url("images/featured-articles-background.jpg"); background-size: cover; background-position: center; }
.section-featured-posts-background .row { display: block; }
.featured-posts-slider .slick-arrow {  display: none !important; }
.featured-posts-slider .slick-dots { display: flex; position: absolute; margin: 0; right: 12px; bottom: 12px;}
.featured-posts-slider ul { list-style-type: none; }
.featured-posts-slider button { transition: background 0.3s linear; border-radius: 50%; font-size: 0; width: 16px; height: 16px; margin-left: 4px; margin-right: 4px; border: none; background: white;}
.featured-posts-slider .slick-active button { background: #666666; }
.featured-posts-container { display: flex; margin-bottom: -40px; position: relative; z-index: 2; }
.featured-posts-left-col { padding: 50px 20px 0 15px; width: 66%; margin-bottom: -40px; }
.featured-posts-right-col { width: 34%; display: flex; flex-direction: column; padding: 50px 15px 0 20px; margin-bottom: -40px; }

.single-post-tile { display: flex !important; background-size: cover; background-position: center; position: relative; overflow: clip; }
.single-post-tile:hover .single-post-tile-inner { transform: scale(1.1)}
.single-post-tile-inner { background-size: cover; background-position: center; position: relative; width: 100%; transition: transform 0.3s ease-in-out; }
.single-post-tile .post-tile-title-container { position: absolute; right: 0; bottom: 24px; max-width: 90%; }
.post-tile-title-container { background: rgba(51, 51, 51, 0.85); padding: 12px 40px 12px 16px; }
.post-tile-title-container h3 { margin: 0; font-size: 18px; color: white; }

.single-post-tile-large { height: 590px;}
.single-post-tile-large .post-tile-title-container { padding: 16px 56px 16px 20px; bottom: 48px;}
.single-post-tile-large h3 { font-size: 30px; }

.single-post-tile-medium { flex-grow: 1; }
.single-post-tile-medium.index0 { margin-bottom: 40px; }

.single-post-tile a { text-decoration: none;}
/*-- end section featured posts*/

.footer-most-recent-section { display: flex; padding-top: 50px; margin-bottom: -85px; }
.footer-most-recent-headline { margin: auto; padding-top: 86px; text-align: center; font-size: 30px; }
.footer-posts-single-col {width: 33.33%; padding: 0 15px 0 15px; }

.single-post-tile.variant2 { border-radius: 8px; height: 196px; overflow: clip; }
.single-post-tile.variant2 .post-tile-title-container {background: var(--primary-color); }
.single-post-tile.variant2 h3 { color: white; }


/*-- start logos slider section*/
.slider-section { padding-top: 36px; padding-bottom: 36px; background: white; }
.slider-section-top-decoration { background: var( --menu-text-color);  height: 140px; width: 100%; margin-bottom: 46px; position: relative; }
.slider-section h2 {text-align: center; color: white; font-size: 30px; margin: 0; margin-bottom: 60px; }
.slider-section .slick-arrow {  display: none !important; }
.slider-section .slick-dots { display: flex; position: absolute; margin: 0; right: 0; top: -60px;}
.slider-section ul { list-style-type: none; }
.slider-section button { transition: background 0.3s linear; border-radius: 50%; font-size: 0; width: 16px; height: 16px; margin-left: 4px; margin-right: 4px; border: none; background: #B3B3B3;}
.slider-section .slick-active button { background: white; }
.slider-section-slide { display: flex !important; flex-wrap: wrap;}
.single-slider-section-item-container { width: 33.33%; display: flex; justify-content: center; }
.single-slider-section-item {display: flex; width: 100%; padding-left: 15px; padding-right: 15px; display: flex; justify-content: center; }
.slider-item-image { flex-shrink: 0; height: 84px; width: 84px; border-radius: 16px; background-position: center; background-size: contain; background-repeat: no-repeat; background-color: white}
/*.slider-section .slick-list { max-width: 1000px; margin: auto; }*/
/*-- end logos slider section*/

.site-footer {margin-top: auto;}
.footer-bg { background: #4d4d4d; font-size: 17px; color: white; padding-top: 60px; }

.site-footer ul { padding: 0; margin: 0 0 14px; list-style-type: none; }
.site-footer ul li { display: inline-block; margin-right: 24px; }
.site-footer ul li:last-child { margin-right: 0; }
.site-footer ul a { display: inline-block; margin-bottom: 4px; }
.footer-menu li { position: relative; line-height: 20px; }
.footer-menu li a { font-weight: 700; text-decoration: none; }
.footer-menu li:after { position: absolute; top: 9px; right: -19px; content: ''; width: 8px; height: 3px; background: var(--primary-color); display: block; }
.footer-menu li:last-child:after { display: none; }
.footer-secondary-menu a { text-decoration: none; color: black; }
.site-footer .footer-secondary-menu li { display: block; }

.footer-bg a:hover { text-decoration: underline; }
.footer-bg p { line-height: 22px; margin-bottom: 5px; position: relative; font-weight: 500; color: #999999; font-size: 12px; }
.footer-content-left-container { padding: 0 15px; width: 48%; }
.footer-content-right-container { padding: 0 15px; width: 48%; }
.footer-content-right-container .socials a { margin-left: 0; margin-right: 10px; width: 36px; height: 36px; }
.footer-content-right-container .socials { padding-bottom: 30px; }
.footer-horizontal-space { width: 4%; }
.footer-row { padding: 60px 0 48px; }
.footer-logo-container { padding-bottom: 24px; display: flex; justify-content: center; align-items: center }
.footer-logo-container img { max-width: 180px; height: auto; }
.footer-content-left-container p { line-height: 2; }
.footer-decoration { background: black; width: 25px; height: 5px; margin: 20px 0;}
.footer-right-top-section { display: flex; flex-wrap: wrap; }
.footer-right-top-section a { color: white; }
.footer-right-top-section .one-half { margin-bottom: 20px; padding-right: 12px; }
.footer-bottom-branch p { font-size: 15px; color: white; font-weight: normal; }

.medium-width-content { max-width: 767px; width: 100%; margin: auto; }
.medium-width-content a { text-decoration: none; }
.medium-width-content .row { display: flex; flex-wrap: wrap; }
.blog-single-item { width: 50%; margin-bottom: 10px; }
.blog-single-item a:hover .blog-item-img { transform: scale(1.1); }
.blog-single-item-inner { overflow: clip; border-radius: 8px; width: 100%; display: flex; height: 196px; }
.blog-item-img { width: 100%; background-size: cover; background-position: center; transition: transform 0.3s ease-in-out; }
.blog-single-item h2 { margin-top: 0; margin-bottom: 8px; }
.pagination-container { width: 100%; padding-top: 20px; display: flex; }
.alignright { margin-left: auto; }

.single-page-header { position: relative; background-color: #e6e6e6; padding: 30px 0; margin-bottom: 50px; display: flex; align-items: center; }
.single-page-header .container { margin-top: auto; margin-bottom: auto; }
.page-header-title h1 { margin: 0 0 38px; color: var(--menu-text-color); font-size: 30px;}
.no-description .page-header-title h1 { margin-bottom: 0; color: var(--menu-text-color); font-size: 30px;}
.page-header-title p { color: var(--menu-text-color); margin: 0; }

.wpcf7-form p { margin-bottom: 0; }
.wpcf7-form .sliderDescription { margin-top: -16px; margin-bottom: 8px; }
.wpcf7-form-control-wrap {  width: 100%; max-width: 500px; display: inline-block; padding-top: 4px; }
.wpcf7-form label { width: 100%; max-width: 500px; display: inline-block; margin-bottom: 8px; font-weight: 500; }
.wpcf7-form input, .wpcf7-form textarea { font-size: 16px; width: 100%; max-width: 500px; border: 1px solid lightgrey; border-radius: 8px; background: #ececec; padding: 12px 10px; }
.wpcf7-form .submit-container {  width: 100%; max-width: 500px; display: flex; justify-content: end; }
.wpcf7-form .wpcf7-submit { padding: 14px 20px;  color: white; width: auto; cursor: pointer; font-weight: bold; background-color: var(--primary-color); border: none; transition: background-color 0.3s linear; }
.wpcf7-form .wpcf7-submit:hover, .wpcf7-form .wpcf7-submit:focus { background-color: var(--primary-color); }
.wpcf7-spinner { display: none; }
input[type="range"] { accent-color: var(--primary-color); }

.container404 { text-align: center; }
.container404 p {font-size: 20px; }

/*google map*/
.google-map-container { width: 100%; height: 400px; pointer-events: none;}
.google-map-outer { position: relative; }
/*.map-overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; }*/

/*hero image block*/
.custom-hero-image { display: flex; align-items: end; padding-bottom: calc(33vh - 80px); margin-bottom: 80px; background-position: center; background-size: cover; width: 100%; height: calc(100vh - 80px); }
.custom-hero-image-content { margin-left: auto; max-width: 880px; }
.custom-hero-image-content h2 { display: inline-block; color: var(--text-color-on-primary-color); background-color: var(--primary-color); padding: 20px 36px; font-size: 40px; margin-bottom: 30px; text-transform: uppercase; }
/* end hero image block*/

/* image with text v1 */
.image-with-text-v1 { padding: 80px 0; }
.image-with-text-v1 .row { flex-wrap: nowrap; }
.image-with-text-v1 .left-part { width: 50%; padding-left: 15px; padding-right: 100px; }
.image-with-text-v1 .left-part img { display: block; width: 100%; }
.image-with-text-v1 .right-part { padding-left: 50px; padding-right: 15px; color: var(--text-color-on-primary-color); width: 50%; display: flex; flex-direction: column; justify-content: center; }
.image-with-text-v1 h2 { font-size: 30px; }
.image-with-text-v1 p { line-height: 1.5; }

/* full width block with background*/
.block-with-background { background: var(--primary-color); color: white; }
.block-with-background.with-padding { padding: 15px 0; }
.block-with-background .wp-block-embed { margin: 0; }
.block-with-background p { color: white; margin: 0; }
.block-with-background .wp-block-video { margin: 20px 0 }
.block-with-background h2, .block-with-background h3 { color: #EEEEEE; }
.block-with-background a { color: #E6E6E6; }
.block-with-background a:hover, .block-with-background a:focus { color: #fff; }

/*partners block*/
.partner-item {display: flex; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.partner-item .partner-logo { max-width: 100px; margin-right: 16px;}
.partner-item .partner-logo img { width: 100%; }
.partner-item .partner-title { text-decoration: none; }
.partner-item .partner-title h3 {  color: var(--menu-text-color); margin: 8px 0; }
.partner-item .partner-description { width: 100%; }
/*end partners block*/

@media (max-width: 767px) {
    .image-with-text-v1 { padding: 40px 0; }
    .image-with-text-v1 .row { display: block; }
    .image-with-text-v1 .left-part { margin-bottom: 20px; }
    .image-with-text-v1 .right-part, .image-with-text-v1 .left-part { width: 100%; padding: 0 20px; }
}
/* end  image with text v1 */

/*large slider*/
.large-slider-container { position: relative; width: 100%; }
.large-slider { width: 100%; }
.large-slider-container .slick-slider { position: unset; }
.large-slider-container .slick-dots { display: flex; position: absolute; margin: 0; right: 100px; bottom: 60px;}
.large-slider-container ul { list-style-type: none; }
.large-slider-container button { transition: background 0.3s linear; border-radius: 50%; font-size: 0; width: 20px; height: 20px; margin-left: 4px; margin-right: 4px; border: 2px solid white; background: none;}
.large-slider-container .slick-active button { background: white; }
.large-slider-single-item { background-position: center; background-size: cover; }
.large-slider-single-item-inner { display: flex; align-items: center; height: calc(100vh - 80px); width: 100%; }
.large-slider-gradient { margin: auto 0; width: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.9)); display: flex; min-height: 50vh; padding: 40px 0; }
.large-slider-single-item-inner .container{ display: flex; }
.large-slider-single-item-content { width: 50%; height: 100%; margin-left: auto; display: flex; flex-direction: column; justify-content: center; align-content: start; }
.large-slider-single-item-content a { transition: 0.3s background-color linear; color: var(--text-color-on-primary-color); text-decoration: none; display: flex; width: fit-content; align-items: center; justify-content: center; border-radius: 10px; height: 60px; background-color: var(--primary-color); padding: 0 24px; }
.large-slider-single-item-content a:hover { background-color: var(--primary-color-hover); }
.large-slider-single-item-content h2 {font-weight: 700; font-size: 56px; line-height: 1.1; margin-bottom: 26px; text-transform: uppercase; }
.large-slider-single-item-content p { font-size: 20px; font-weight: 500; }
.large-slider-left-content img { max-width: 425px; }

@media (max-width: 991px) {
    .large-slider-single-item-inner .container img { display: none; }
    .large-slider-single-item-content { width: 100%; }
}
@media (max-width: 767px) {
    .large-slider-single-item-content h2 { font-size: 40px; }
    .large-slider-container .slick-dots { right: 20px; bottom: 20px; }
    .large-slider-gradient { padding: 30px 0; }
}
/* end */


/**/
/* end */

@media (max-width: 991px) {
    .mobile-only {display: block !important;}
    body{ padding-top: 60px; }
    .header-stripe { display: none; }
    .navtoggle-container { display: block; margin-left: auto; }
    .navtoggle { display: flex; }
    .menu-outer-container { display: flex; align-items: center; height: 60px; }
    .menu-primary-container { margin: 0; padding: 0; padding-top: 20px; display: block; }
    .header-menu-container { height: 60px; position: fixed; top: 0; z-index: 200; background: #ffffff; border-bottom: 1px solid #CCCCCC; width: 100%; }
    .header-logo-container img { height: 40px; }
    .header-menu-container-inner { height: unset; }
    .js-main-menu-mobile-container { display: block; left: 0; z-index: 199; margin: 0; height: 100%; background: #ffffff; position: fixed; top: 60px; width: 100%; transform: translateX(-100%); transition: 0.3s ease-in-out all; }
    .js-main-menu-mobile-container.visible { transform: translateX(-0px); transition: 0.3s ease-in-out all; }
    .header-menu { margin: 0 !important; width: 100%; display: block; height: auto; }
    ul.header-menu { padding-left: 0; }
    .header-menu > li { display: block; width: 100%; height: auto; margin: 0; }
    .header-menu a { font-size: 20px; font-weight: 600; display: block; padding: 12px 16px; width: 100%; text-align: center; transition: 0.3s ease-in-out background; }
    .header-menu a:hover, .header-menu a:focus { background: #ececec; }
    .header-menu a:before { display: none; }
    .header-menu > li.menu-item-has-children > a:after { display: none; }
    .header-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; background: #f8f8f8; padding: 4px 0 10px; min-width: 0; pointer-events: auto; }
    .header-menu .sub-menu:before { display: none; }
    .header-menu .sub-menu li { display: block; }
    .header-menu .sub-menu a { font-size: 15px; font-weight: 500; padding: 10px 16px; color: #555555; text-align: center; border-left: none; }
    .header-menu .sub-menu a:hover, .header-menu .sub-menu li.current-menu-item > a { background: #ececec; color: var(--primary-color); padding-left: 16px; }
    .header-menu ul { padding: 0 }
    .homepage-ul { margin-left: 0; }
    .featured-posts-left-col { padding-top: 15px; }
    .socials { justify-content: center; padding-top: 15px; }
    .socials .social-icon { margin-left: 5px; margin-right: 5px; }
    .social-icon { height: 40px; width: 40px; }
    .header-search-container { display: none; }
    .header-search-button-container { display: none; }
}

@media (max-width: 990px) {
    .section-featured-posts-background { padding-bottom: 15px; }
    .featured-posts-container { display: block; margin-bottom: 0; }
    .featured-posts-left-col { width: 100%; padding-right: 15px; margin-bottom: 16px; }
    .featured-posts-right-col { flex-direction: row; padding: 0 15px; width: 100%; margin: 0; }
    .featured-posts-container .single-post-tile-medium { height: 240px; }
    .featured-posts-container .index0 { margin-right: 8px; margin-bottom: 0; }
    .featured-posts-container .index1 { margin-left: 8px; }
    .slider-section-top-decoration { display: none; }
    .single-slider-section-item-container { margin-bottom: 0; }
    .post-tile-title-container { padding-right: 16px; }
    .container404 h1 {font-size: 40px; }
}


@media (max-width: 767px) {
    .footer-most-recent-section .row { justify-content: center; }
    .footer-posts-single-col { width: 50%; margin-bottom: 15px; }
    .single-post-tile-large { height: 70vw; }
    .post-tile-title-container h3 { font-size: 16px; }
    .footer-content-left-container { width: 100%; }
    .footer-content-right-container {width: 100%; }
    .footer-horizontal-space { display: none; }
}

@media (max-width: 700px) {
    .one-third { margin-bottom: 15px;  }
}

@media (max-width: 460px) {
    .footer-posts-single-col { width: 100%; }
}