/*
Theme Name: Mitesoro Custom Theme
Theme URI: https://mitesoro.it/
Author: Mitesoro Design Studio
Author URI: https://mitesoro.it/
Description: Custom WordPress theme for Mitesoro.
Version: 1.0
Text Domain: mitesoro
*/



* {
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

img.custom-logo {
    max-width: 100%;
    width: 250px;
    height: auto;
}

.mitesoro-content-area {
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 24px;
}

.mitesoro-container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 20px;
}

.mitesoro-content-area h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
}

.mitesoro-content-area h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
}

.mitesoro-content-area h3 {
    font-size: 25px;
    font-weight: bold;
    line-height: 35px;
}

.mitesoro-content-area h4 {
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.mitesoro-content-area h5 {
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
}

.mitesoro-content-area h6 {
    font-size: 16px;
    font-weight: bold;
    line-height: 25px;
}

.mitesoro-content-area ol li {
    list-style: decimal;
}

.mitesoro-content-area ul li {
    list-style: disc;
}

.mitesoro-content-area ol,
.mitesoro-content-area ul {
    padding-left: 30px;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 10px 0 !important;
}
ol, ul {
    box-sizing: border-box;
    padding: 0;
}
.mitesoro-content-area table {
    border-collapse: collapse;
    width: 100%;
    margin: 25px 0;
}

.mitesoro-content-area td,
.mitesoro-content-area th {
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 16px;
}

.mitesoro-content-area dl {
    margin: 20px;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.mitesoro-content-area dt {
    font-weight: bold;
    margin: 10px 0 5px;
    padding: 10px;
    background-color: #eee;
    border-bottom: 1px solid #ddd;
}

.mitesoro-content-area dd {
    margin: 0 0 10px 20px;
    padding: 10px;
    border-left: 2px solid #ddd;
    background-color: #fff;
}

.mitesoro-content-area li {
    line-height: 30px;
}
div#mitesoro-logo {
    text-align: center;
}
.mitesoro-header-inner {
   /* display: flex;
    align-items: center;
    justify-content: space-between;*/
    position: relative;
}

/* FontAwesome arrow for top-level menu items */
.menu-item-has-children > a::after {
    content: "\f078";
    font-family: "FontAwesome";
    margin-left: 5px;
    color: #fff;
    position: absolute;
    top: 0px;
    right: 0;
    font-size: 10px;
}

.mitesoro-nav-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(-180deg);
}

/* Hide arrow for nested submenu items */
.sub-menu .menu-item-has-children > a::after {
    display: block;
   right: 33px;
    top: 5px;
}

.mitesoro-navigation {
    position: relative;
    display: inline-block;
    width: 100%;
    background: #000;
}

.mitesoro-navigation a {
    display: block;
    font-size: 17px;
    line-height: 40px;
    color: #fff;
    text-decoration: none;
}


.sub-menu li a {
    line-height: 24px;
    margin: 5px 0;
    color: #fff;
}

.mitesoro-navigation li {
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.mitesoro-nav-select {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.mitesoro-navigation a:hover,
.mitesoro-navigation a:focus {
    color: #fff;
}

.mitesoro-navbar-toggle-wrapper {
    display: none;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    background: #000;
    width: 180px;
    text-align: left;
    padding: 10px 0;
    box-shadow: 0 0 6px #ddd;
    top: 34px;
    z-index: 999;
}

.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu li {
    width: 100%;
}

.sub-menu .sub-menu {
    left: auto;
    right: 100%;
    top: -10px;
}

.mitesoro-nav-select .sub-menu > li > .sub-menu {
    display: none;
    position: absolute;
}

.mitesoro-nav-select .mitesoro-menu__list > li:hover > .sub-menu,
.mitesoro-nav-select .sub-menu > li:hover > .sub-menu {
    display: block;
}

.mitesoro-footer {
    text-align: center;
}
.aligncenter {
    clear: both;
    display: block;
    margin: auto;
}

.campaign-list-item_key-features ul li {
    list-style: none;

}

.campaign-list-item_key-features ul {
    padding-left: 0;
}

.mitesoro-footer a {
    color: #000;
    text-decoration: none;
}

/* -------------------------
   BLOG GRID SECTION
-------------------------- */
.avia-content-slider-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-content: center;
  max-width: 1250px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #fff;
  font-family: "Poppins", sans-serif;
}

.slide-entry {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.slide-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.slide-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.blog-categories {
  font-size: 13px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
  margin-top: 15px;
  display: block;
}

.slide-entry-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 10px 20px 20px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.slide-entry-title a {
  color: inherit;
  text-decoration: none;
}

.slide-entry-title a:hover {
  color: #0073aa;
}

.slide-entry::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #ddd;
  margin: 10px auto 0;
  border-radius: 1px;
}

/* -------------------------
   FOOTER CATEGORY SECTION
-------------------------- */
.footer-new {
  text-align: center;
  padding: 80px 20px;
  background: #fafafa;
  font-family: "Poppins", sans-serif;
}

.footer-new h2 {
  font-size: 26px;
  font-weight: 600;
  color: #333;
  margin-bottom: 60px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* footer-row = container for category boxes */
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* individual category box */
.footer-box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 340px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: center;
}

.footer-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

.footer-box-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* category title */
.box-head {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 18px 0 15px;
  letter-spacing: 0.3px;
}

/* list container */
.footer-box-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-box-list li {
  margin: 6px 0;
}

.footer-box-list li a {
  display: block;
  font-size: 15px;
  color: #444;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-box-list li a:hover {
  background: #0073aa;
  color: #fff;
}

/* view more button */
.moreBtnCol,
.view-custombtn {
  margin-top: 12px;
  text-align: center;
  display: none;
}

.moreBtnOuter {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.moreBtnOuter:hover {
  background: #005f8c;
}

/* hide extra list items */
.hide_list , .hidden{
  display: none;
}

/* show more functionality (optional JS toggle) */
.footer-box.active .hide_list {
  display: block;
}
span.blog-categories.minor-meta a {
    color: #000;
    text-transform: none;
}


.footer_color{
	display: none;
}
/* ====== Default Search Section Style ====== */
.search_form_field {
  text-align: left;
  max-width: 700px;
  margin: 40px auto;
  color: #333;
  font-family: inherit;
}

.search_form_field h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.search_form_field p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.search_form_field form {
  display: flex;
  align-items: stretch;
  max-width: 360px;
}

.search_form_field input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-right: none;
  background: #f9f9f9;
  color: #333;
  font-size: 14px;
  box-sizing: border-box;
}

.search_form_field input[type="text"]:focus {
  outline: none;
  background: #fff;
}

.search_form_field input[type="submit"] {
  background: #333;
  color: #fff;
  font-family: 'entypo-fontello';
  font-size: 16px;
  border: 1px solid #333;
  cursor: pointer;
  width: 38px;
  text-align: center;
  transition: background 0.2s ease;
}

.search_form_field input[type="submit"]:hover {
  background: #555;
}

.author-extra-border {
  display: block;
  width: 100%;
  height: 1px;
  background: #ddd;
  margin-top: 40px;
}

/* responsive */
@media (max-width: 1024px) {
  .footer-row {
    gap: 25px;
  }
  .footer-box {
    width: 300px;
  }
}

@media (max-width: 767px) {
  .footer-box {
    width: 100%;
    max-width: 420px;
  }
  .footer-new h2 {
    font-size: 22px;
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 590px) {
	  .mitesoro-content-area table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
@media only screen and (max-width: 991px) {
	div#mitesoro-logo {
    text-align: left;
}

    .menu-item-has-children > a::after,
    .sub-menu .menu-item-has-children > a::after {
        display: none;
    }

    .mitesoro-table-auto {
        overflow-x: scroll;
        width: 100%;
    }

  

    .mitesoro-navigation {
        position: absolute;
        right: 0;
        top: 100%;
        width: 100%;
        cursor: pointer;
        text-align: left;
        background: #000;
        box-shadow: 0 0 4px #ddd;
        display: none;
        padding: 14px;
        z-index: 999;
    }

    .mitesoro-navbar-toggle-wrapper {
        display: flex !important;
        background-color: #050104;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 20px;
        right: 15px;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        cursor: pointer;
        color: transparent;
    }

    .mitesoro-navbar-toggle-wrapper span {
        width: 20px;
        height: 2px;
        background-color: #fff;
        display: inline-block;
        position: relative;
        top: 0px;
        right: 0;
    }

    .mitesoro-navbar-toggle-wrapper span::before,
    .mitesoro-navbar-toggle-wrapper span::after {
        content: "";
        position: absolute;
        background-color: #fff;
        width: 100%;
        height: 2px;
        left: 0;
    }

    .mitesoro-navbar-toggle-wrapper span::before {
        top: -7px;
    }

    .mitesoro-navbar-toggle-wrapper span::after {
        top: 7px;
    }


.mitesoro-navigation li {
        position: relative;
        display: inline-block;
        Padding: 0 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;

    }


    .sub-menu {
        display: block;
        position: relative;
        left: 0;
        background: transparent;
        width: 100%;
        padding: 0 !important;
        box-shadow: none;
        top: auto;
    }

    .sub-menu .sub-menu {
        left: 0;
        right: 0;
        top: 0;
    }

    .mitesoro-toggle-menu {
        position: absolute;
        right: -7px;
        width: 40px;
        height: 30px;
        font-size: 15px;
        top: 7px;
        cursor: pointer;
        z-index: 999;
        display: block;
        color: #fff;
        transform: rotate(0deg);
        text-align: center;
    }

    .mitesoro-toggle-menu i {
        transition: transform 0.3s ease;
    }

    .mitesoro-toggle-menu.on i {
        transform: rotate(180deg);
    }

    .mitesoro-nav-select {
        display: inline-block;
        width: 100%;
        text-align: left;
        margin: 0;
    }
    .mitesoro-nav-select .sub-menu > li > .sub-menu {
    display: block;
    position: relative;
}

.mitesoro-nav-select .mitesoro-menu__list > li:hover > .sub-menu,
.mitesoro-nav-select .sub-menu > li:hover > .sub-menu {
    display: block;
}

}
