/*
Theme Name: Magezix
Theme URI: https://themexriver.com/wp/magezix
Author: themexriver
Author URI: https://themeforest.net/user/themexriver
Description: Magezix - is an Responsive News, Blog & Magazine WordPress Theme.
Version: 1.0.7
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: magezix
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
.theme-switch-box-wrap.custom {
    position: static;
    margin-right: 20px;
}
.custom .theme-switch-box {
    display: flex;
    align-items: center;
}
.custom .theme-switch-box__label {
    width: 36px;
    height: 18px;
}
.slide-bar .theme-switch-box-wrap.custom {
    margin: 0 auto;
    max-width: max-content;
    margin-top: 20px;
}
@media (max-width: 767px) {
    .header .theme-switch-box-wrap.custom {
        display: none;
    }
}

.layout-left-sidebar .widget {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -ms-border-radius: 0 !important;
    -o-border-radius: 0 !important;
}

.layout-left-sidebar .widget .widget-title,
.layout-left-sidebar .widget .widget-title span,
.layout-left-sidebar .widget .widget-title::before,
.layout-left-sidebar .widget .widget-title::after {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -ms-border-radius: 0 !important;
    -o-border-radius: 0 !important;
}

.layout-left-sidebar .widget:first-child {
    overflow: visible;
}

/* ================================================
   CONSISTENT TYPOGRAPHY SYSTEM
   ================================================ */

/* --- Typography Scale Variables --- */
:root {
    --fs-h1:       36px;
    --fs-h2:       30px;
    --fs-h3:       24px;
    --fs-h4:       20px;
    --fs-h5:       18px;
    --fs-h6:       16px;
    --fs-body:     16px;
    --fs-menu:     15px;
    --fs-submenu:  14px;
    --fs-widget:   18px;

    --lh-heading:  1.35;
    --lh-body:     1.75;
    --lh-menu:     1.4;

    --mb-heading:  12px;
    --mb-para:     20px;
    --mb-section:  30px;
}

/* --- Headings --- */
h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-heading);
    margin-bottom: var(--mb-heading);
}

h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    margin-bottom: var(--mb-heading);
}

h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-heading);
    margin-bottom: var(--mb-heading);
}

h4 {
    font-size: var(--fs-h4);
    line-height: var(--lh-heading);
    margin-bottom: var(--mb-heading);
}

h5 {
    font-size: var(--fs-h5);
    line-height: var(--lh-heading);
    margin-bottom: var(--mb-heading);
}

h6 {
    font-size: var(--fs-h6);
    line-height: var(--lh-heading);
    margin-bottom: var(--mb-heading);
}

/* --- Body / Content --- */
body {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    margin-bottom: var(--mb-para);
}

/* --- Navigation Menu --- */
.main-menu__nav ul li a {
    font-size: var(--fs-menu);
    line-height: var(--lh-menu);
}

.main-menu__nav ul li .submenu li a {
    font-size: var(--fs-submenu);
    line-height: var(--lh-menu);
}

/* Style-2 menu variant */
.main-menu__nav.style-2 ul li a {
    font-size: var(--fs-menu);
}

/* Mobile / slide-bar menu */
.slide-bar__menu ul li a,
.mobile-menu ul li a {
    font-size: var(--fs-menu);
    line-height: var(--lh-menu);
}

/* --- Sidebar & Widget Titles --- */
.widget .widget-title,
.blog-sidebar .widget_block .wp-block-heading,
.layout-left-sidebar .blog-sidebar .widget .widget-title {
    font-size: var(--fs-widget);
    line-height: var(--lh-heading);
    margin-bottom: var(--mb-heading);
}

/* --- Responsive Typography --- */
@media (max-width: 991px) {
    :root {
        --fs-h1:  30px;
        --fs-h2:  26px;
        --fs-h3:  22px;
        --fs-h4:  19px;
        --fs-h5:  17px;
        --fs-menu: 14px;
    }
}

@media (max-width: 767px) {
    :root {
        --fs-h1:  26px;
        --fs-h2:  22px;
        --fs-h3:  20px;
        --fs-h4:  18px;
        --fs-h5:  16px;
        --fs-body: 15px;
        --fs-menu: 14px;
    }

    p {
        margin-bottom: 16px;
    }
}

@media (max-width: 575px) {
    :root {
        --fs-h1:  22px;
        --fs-h2:  20px;
        --fs-h3:  18px;
        --fs-h4:  16px;
        --fs-h5:  15px;
        --fs-body: 14px;
    }
}
/* ================================================ */

/* ================================================
   DESIGN ENHANCEMENTS
   ================================================ */

/* 1. Branded text selection */
::selection {
    background-color: var(--color-primary);
    color: #111;
}

::-moz-selection {
    background-color: var(--color-primary);
    color: #111;
}

/* 2. Custom scrollbar (Chrome / Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* 3. Smooth focus ring on all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* 4. Form inputs — rounded corners + branded glow on focus */
input[type="text"],
input[type="url"],
input[type="password"],
input[type="email"],
input[type="tel"],
form select,
textarea {
    border-radius: 8px !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
input[type="text"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
form select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 24, 78, 0.15);
}

/* 5. Post thumbnail — smoother zoom + subtle dark overlay */
.tx-post .post-thumb img,
.tx-post-item .post-thumb img,
.tab-post__item .post-thumb img {
    transition: none !important;
}
.tx-post:hover .post-thumb img,
.tx-post-item:hover .post-thumb img,
.tab-post__item:hover .post-thumb img {
    transform: none !important;
}

/* 6. Post title link — smooth color transition */
.tx-post .post-title a,
.tx-post-item .post-title a,
.tab-post__item .post-title a {
    transition: color 0.25s ease;
}

.tx-post .post-title a:hover,
.tx-post .post-title a:focus,
.tx-post:hover .post-title a,
.tx-post-item .post-title a:hover,
.tx-post-item .post-title a:focus,
.tx-post-item:hover .post-title a,
.tab-post__item .post-title a:hover,
.tab-post__item .post-title a:focus,
.tab-post__item:hover .post-title a {
    color: var(--color-primary);
}

.news-block .post-title a {
    transition: color 0.25s ease;
}

.news-block .post-title a:hover,
.news-block .post-title a:focus,
.news-block:hover .post-title a,
.news-block.active .post-title a {
    color: #111 !important;
}

article.tx-post-item .archive-post-title a,
article.tx-post-item .post-title a {
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

article.tx-post-item .archive-post-title a:hover,
article.tx-post-item .archive-post-title a:focus,
article.tx-post-item:hover .archive-post-title a,
article.tx-post-item .post-title a:hover,
article.tx-post-item .post-title a:focus,
article.tx-post-item:hover .post-title a {
    color: #ff184e !important;
    text-decoration: underline;
    text-decoration-color: #ff184e;
}

/* Compact Daily CA Quiz card: only essential info */
.cad-sidebar-quiz-card {
    padding: 14px 14px 12px !important;
    border-radius: 14px !important;
}

.cad-sidebar-quiz-card__glow,
.cad-sidebar-quiz-card__dots,
.cad-sidebar-quiz-card__text,
.cad-sidebar-quiz-card__stats {
    display: none !important;
}

.cad-sidebar-quiz-card__top {
    margin-bottom: 8px !important;
}

.cad-sidebar-quiz-card__icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
}

.cad-sidebar-quiz-card__title {
    font-size: 15px !important;
    margin: 0 0 4px !important;
}

.cad-sidebar-quiz-card__date {
    margin: 0 0 10px !important;
    font-size: 12px !important;
}

.cad-sidebar-quiz-card__button {
    padding: 10px 12px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
}

/* 7. Tag cloud — pill shape + lift shadow on hover */
.tagcloud a {
    border-radius: 20px !important;
    transition: background-color 0.25s ease, color 0.25s ease,
                box-shadow 0.25s ease, transform 0.2s ease !important;
}
.tagcloud a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 24, 78, 0.3) !important;
}

/* 8. Read-more button — fill sweep on hover */
.read-more__btn a {
    border-radius: 6px !important;
    transition: background-color 0.25s ease, color 0.25s ease,
                border-color 0.25s ease, box-shadow 0.25s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.read-more__btn a:hover {
    background-color: var(--color-primary);
    color: #fff !important;
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(255, 24, 78, 0.35);
}

/* 9. Pagination — rounded pills + smooth lift */
.pagination_wrap ul li a,
.pagination_wrap ul li span {
    border-radius: 6px !important;
    transition: background-color 0.25s ease, color 0.25s ease,
                transform 0.2s ease, box-shadow 0.25s ease !important;
}
.pagination_wrap ul li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 24, 78, 0.3);
}
.pagination_wrap ul li .current {
    box-shadow: 0 4px 12px rgba(255, 24, 78, 0.3);
}

/* 10. Menu link — smooth underline slide-in effect */
.main-menu__nav ul li > a {
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.main-menu__nav ul li > a::before {
    content: '';
    position: absolute;
    bottom: 28px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.28s ease;
    border-radius: 2px;
}
.main-menu__nav ul li:hover > a::before,
.main-menu__nav ul li.active > a::before {
    width: 100%;
}

/* Clear hover + active visibility for top menu */
.main-menu__nav ul li > a:hover,
.main-menu__nav ul li.current-menu-item > a,
.main-menu__nav ul li.current_page_item > a,
.main-menu__nav ul li.current-menu-ancestor > a,
.main-menu__nav ul li.current_page_parent > a {
    background-color: #eef2ff;
    color: #0f1e3a !important;
    font-weight: 600;
}

.main-menu__nav ul li.current-menu-item > a::before,
.main-menu__nav ul li.current_page_item > a::before,
.main-menu__nav ul li.current-menu-ancestor > a::before,
.main-menu__nav ul li.current_page_parent > a::before {
    width: 100%;
}

/* 11. Submenu — slight border-left accent + smoother shadow */
.main-menu__nav ul li .submenu {
    border-top: 3px solid var(--color-primary) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

/* 12. Sticky header — refined shadow */
.header__main-wrap.uk-sticky.uk-active {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* 13. Post card hover — subtle lift shadow */
.tx-post,
.tx-post-item,
.tab-post__item {
    transition: none !important;
}
.tx-post:hover,
.tx-post-item:hover,
.tab-post__item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.tx-post .post-thumb img,
.tx-post-item .post-thumb img,
.tab-post__item .post-thumb img {
    transform: none !important;
    -webkit-transform: none !important;
    transition: none !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
}

.tx-post:hover .post-thumb img,
.tx-post-item:hover .post-thumb img,
.tab-post__item:hover .post-thumb img,
.tx-post:focus-within .post-thumb img,
.tx-post-item:focus-within .post-thumb img,
.tab-post__item:focus-within .post-thumb img {
    transform: none !important;
    -webkit-transform: none !important;
}

/* 14. Read-more inline link arrow — smoother movement */
.tx-post .read-more a i,
.tx-post-item .read-more a i {
    transition: none !important;
}
.tx-post .read-more a:hover i,
.tx-post-item .read-more a:hover i {
    padding-left: 0 !important;
}

/* 15. Dark mode — slightly warmer shadow tones */
[data-theme=dark] .tx-post:hover,
[data-theme=dark] .tx-post-item:hover,
[data-theme=dark] .tab-post__item:hover {
    box-shadow: none !important;
}
[data-theme=dark] .main-menu__nav ul li .submenu {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

/* 16. Home post list - force static cards (no lift/no motion) */
body.home .blog-post-wrap article.tx-post-item,
body.home .blog-post-wrap article.tx-post-item:hover,
body.home .blog-post-wrap article.tx-post-item:focus,
body.home .blog-post-wrap article.tx-post-item:focus-within {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

body.home .blog-post-wrap article.tx-post-item .post-thumb img,
body.home .blog-post-wrap article.tx-post-item:hover .post-thumb img,
body.home .blog-post-wrap article.tx-post-item:focus-within .post-thumb img {
    transform: none !important;
    -webkit-transform: none !important;
}

body.home .blog-post-wrap article.tx-post-item,
body.home .blog-post-wrap article.tx-post-item *,
body.home .blog-post-wrap article.tx-post-item *::before,
body.home .blog-post-wrap article.tx-post-item *::after {
    transition: none !important;
    animation: none !important;
}

/* ================================================ */

/* Contact Form 7 submit button matches site primary color */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus,
.wpcf7 button[type="submit"]:hover,
.wpcf7 button[type="submit"]:focus {
    filter: brightness(0.9);
}

/* Contact Form 7 final styling override */
.wpcf7 form input.wpcf7-submit,
.wpcf7 form button.wpcf7-submit,
.wpcf7 .wpcf7-submit {
    display: inline-block !important;
    background: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    min-width: 130px;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7 form input.wpcf7-submit:hover,
.wpcf7 form input.wpcf7-submit:focus,
.wpcf7 form button.wpcf7-submit:hover,
.wpcf7 form button.wpcf7-submit:focus,
.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus {
    background: #0f1e3a !important;
    border-color: #0f1e3a !important;
    color: #ffffff !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    border: 1px solid #d7dbe3 !important;
    border-radius: 8px;
    padding: 12px 14px;
    background-color: #fff;
    color: #1b1f2a;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 24, 78, 0.12);
    outline: none;
}

/* Keep CF7 submit button visible always (same as hover look) */
.wpcf7 form .wpcf7-submit,
.wpcf7 form input[type="submit"],
.wpcf7 input.wpcf7-submit {
    background-color: #0f1e3a !important;
    border: 1px solid #0f1e3a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Make contact message box visibly larger */
.wpcf7-form textarea[name="your-message"] {
    min-height: 240px !important;
    height: 240px !important;
}

/* Fix contact page overflow: keep textarea large but contained */
.wpcf7-form textarea[name="your-message"] {
    height: auto !important;
    min-height: 180px !important;
    max-height: 260px !important;
    resize: vertical;
    box-sizing: border-box;
}

.wpcf7 {
    margin-bottom: 40px;
}

/* Fix footer overlap on long contact forms */
@media (min-width: 1400px) {
  body.page-id-136 .footer,
  body.page-slug-contact .footer,
  body.page-template-default .footer {
    position: static !important;
    bottom: auto !important;
  }
}

body.page-id-136 .magezix_main_content {
  padding-bottom: 120px !important;
}

/* Contact page wider content area */
@media (min-width: 1200px) {
  body.page-id-136 .layout-left-sidebar,
  body.page-id-136 .layout-right-sidebar {
    flex: 0 0 240px !important;
    max-width: 240px !important;
  }

  body.page-id-136 .layout-content {
    flex: 1 1 auto !important;
    max-width: calc(100% - 480px) !important;
  }

  body.page-id-136 .wpcf7,
  body.page-id-136 .wpcf7-form {
    max-width: 100% !important;
  }
}

/* Contact page: wider CF7 input fields */
body.page-id-136 .wpcf7-form {
  max-width: 760px !important;
}

body.page-id-136 .wpcf7-form p,
body.page-id-136 .wpcf7-form .wpcf7-form-control-wrap {
  width: 100% !important;
  display: block !important;
}

body.page-id-136 .wpcf7-form input[type="text"],
body.page-id-136 .wpcf7-form input[type="email"],
body.page-id-136 .wpcf7-form input[type="tel"],
body.page-id-136 .wpcf7-form input[type="url"],
body.page-id-136 .wpcf7-form textarea {
  width: 100% !important;
  max-width: 760px !important;
}

/* Contact page: truly increase form width */
body.page-id-136 .layout-right-sidebar {
  display: none !important;
}

body.page-id-136 .layout-content {
  flex: 1 1 auto !important;
  max-width: calc(100% - 240px) !important;
}

body.page-id-136 .wpcf7-form,
body.page-id-136 .wpcf7,
body.page-id-136 .entry-content {
  max-width: 100% !important;
  width: 100% !important;
}

body.page-id-136 .wpcf7-form input[type="text"],
body.page-id-136 .wpcf7-form input[type="email"],
body.page-id-136 .wpcf7-form input[type="tel"],
body.page-id-136 .wpcf7-form input[type="url"],
body.page-id-136 .wpcf7-form textarea {
  max-width: 100% !important;
}

/* Restore Contact page default two-sidebars layout */
body.page-id-136 .layout-right-sidebar {
  display: block !important;
}

body.page-id-136 .layout-content {
  flex: 1 1 0 !important;
  max-width: none !important;
}

/* Contact page: only input width increase (remove 760px cap) */
body.page-id-136 .wpcf7-form,
body.page-id-136 .wpcf7-form p,
body.page-id-136 .wpcf7-form .wpcf7-form-control-wrap {
  max-width: none !important;
  width: 100% !important;
}

body.page-id-136 .wpcf7-form input[type="text"],
body.page-id-136 .wpcf7-form input[type="email"],
body.page-id-136 .wpcf7-form input[type="tel"],
body.page-id-136 .wpcf7-form input[type="url"],
body.page-id-136 .wpcf7-form textarea {
  width: 100% !important;
  max-width: none !important;
}

/* Contact page: ensure CF7 rows are full-width */
body.page-id-136 .wpcf7-form label {
  display: block !important;
  width: 100% !important;
}

body.page-id-136 .wpcf7-form .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

/* Keep site header always visible while scrolling */
.header,
.header__main,
.header__main-wrap {
  position: sticky !important;
  top: 0 !important;
  z-index: 9998 !important;
  background: #fff;
}

/* When WP admin bar is visible, keep header below it */
body.admin-bar .header,
body.admin-bar .header__main,
body.admin-bar .header__main-wrap {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar .header,
  body.admin-bar .header__main,
  body.admin-bar .header__main-wrap {
    top: 46px !important;
  }
}

/* Remove sticky trigger jump/flicker */
.header__main-wrap,
.header__main-wrap.uk-sticky,
.header__main-wrap.uk-sticky.uk-active,
.header__main-wrap.uk-sticky-fixed,
.uk-sticky-placeholder {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

.header__main-wrap.uk-sticky.uk-active {
  box-shadow: none !important;
  border-bottom: none !important;
}

/* Final header spacing fix: constant fixed header without sticky gap jump */
.header,
.header__main-wrap {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9998 !important;
  background: #fff !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.header__main-wrap,
.header__main-wrap.uk-active,
.header__main-wrap.uk-sticky,
.header__main-wrap.uk-sticky.uk-active,
.header__main-wrap.uk-sticky-fixed {
  padding: 0 !important;
  margin: 0 !important;
}

.header__main,
.header__main-wrap.uk-active .header__main {
  min-height: 88px !important;
  padding: 0 !important;
}

.uk-sticky-placeholder {
  display: none !important;
  height: 0 !important;
}

/* Keep content starting right below fixed header */
body {
  padding-top: 116px !important;
}

body.admin-bar .header,
body.admin-bar .header__main-wrap {
  top: 32px !important;
}
body.admin-bar {
  padding-top: 148px !important;
}

@media (max-width: 782px) {
  body.admin-bar .header,
  body.admin-bar .header__main-wrap {
    top: 46px !important;
  }
  body.admin-bar {
    padding-top: 162px !important;
  }
}

/* Increase bottom spacing under main menu */
.header__main-wrap,
.header__main-wrap.uk-active,
.header__main-wrap.uk-sticky,
.header__main-wrap.uk-sticky.uk-active,
.header__main-wrap.uk-sticky-fixed {
  padding-bottom: 8px !important;
}
/* Logo background cleanup */
.header .header__logo,
.header .logo,
.header .header__logo a,
.header .logo a {
    background: transparent !important;
}

.header .header__logo img,
.header .logo img {
    background: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Global footer overlap fix */
#page.magezix-site-content {
  min-height: calc(100vh - 116px);
  display: flex;
  flex-direction: column;
}

.magezix-main-wrap {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.magezix-main-blog-wrap,
.magezix_main_content,
.magezix-single-post {
  flex: 1 0 auto;
}

.footer,
footer.footer {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 1 !important;
  margin-top: auto !important;
}

.magezix-main-blog-wrap,
.magezix_main_content,
.layout-content {
  padding-bottom: 48px !important;
}

/* Hide header notification bell */
.header-notifications,
.header-notifications-content {
    display: none !important;
}


/* Hide header search icon */
.search-box-outer,
.header__search,
.search-box-btn {
    display: none !important;
}

/* Keep long desktop menu on one row so it does not cover content */
.header__main {
  gap: 16px !important;
}

.header__main > .main-menu {
  flex: 1 1 auto !important;
}

.header__right {
  flex: 0 0 auto !important;
}

.main-menu,
.main-menu__nav {
  min-width: 0 !important;
}

.main-menu__nav ul {
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.main-menu__nav ul li {
  flex: 0 0 auto !important;
}

.main-menu__nav ul li:not(:last-child) {
  margin-right: 18px !important;
}

.main-menu__nav ul li > a {
  white-space: nowrap !important;
  padding: 8px 8px !important;
}

@media (min-width: 992px) and (max-width: 1399px) {
  .header .header__logo.mr-40 {
    margin-right: 18px !important;
  }

  .main-menu__nav ul li:not(:last-child) {
    margin-right: 10px !important;
  }

  .main-menu__nav ul li > a {
    font-size: 14px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .cad-lang__btn {
    padding: 9px 12px !important;
  }
}









