/*
Theme Name: LMC Constructora
Author: Javier Castillo
Author URI: https://www.linkedin.com/in/jcastilloram/
Description: Twenty Twenty-Five child theme for LMC Constructora.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
Text Domain: lms-constructora
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* Import custom fonts */
@import url('fonts.css');

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* 2. Remove default margin */
  * {
    margin: 0;
  }
  
  body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
  }
  
  /* 5. Improve media defaults */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  
  /* 6. Inherit fonts for form controls */
  input, button, textarea, select {
    font: inherit;
  }
  
  /* 7. Avoid text overflows */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  
  /* 8. Improve line wrapping */
  p, a, span, button {
    text-wrap: balance;
    font-family: 'Axiforma', sans-serif !important;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
  }

  /* a:visited {
    color: inherit !important;
  } */
  
  /*
    9. Create a root stacking context
  */
  #root, #__next {
    isolation: isolate;
  }

/* Pagina de Inicio */
.elementskit-navbar-nav-default .elementskit-navbar-nav {
  align-items: end;
}

#menu-main-menu li {
  display: flex;
  align-items: end;
}

#menu-main-menu li a{
  font-family: 'Axiforma', sans-serif;
  font-weight: 400;
  font-size: 16px;
  height: 90%;
}

#menu-main-menu li:nth-child(n):not(:last-child)::after {
  content: '|';
  color: #D9D9D9;
  height: 70%;
  font-size: 24px;
}

/* #menu-main-menu li.active::after, #menu-main-menu li:has(~ .active):nth::after {
  content: '' !important;
} */

/* custom classes */
div p .nosotros-content-text, .nosotros-content-text, .content-text, .content-text div h2{
    font-family: 'Axiforma', sans-serif !important;
    font-weight: 400;
}

.nosotros-content-text h2 {
    font-family: 'Axiforma', sans-serif;
}

/* Breadcrumbs */
#breadcrumbs > span > span {
    margin-left: 1rem;
    margin-right: 1rem;
}

#breadcrumbs  {
    max-width: 1150px;
    margin: 0 auto;
}
/* 
#breadcrumbs > span > span > a {
    font-size: 1.2rem;
} */

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    #breadcrumbs {
        max-width: 90%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    #menu-main-menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    #menu-main-menu li {
        width: 100%;
        justify-content: center;
    }

    #menu-main-menu li:nth-child(n):not(:last-child)::after {
        display: none;
    }

    #menu-main-menu li a {
        text-align: center;
        width: 100%;
        padding: 0.5rem;
    }

    #breadcrumbs {
        font-size: 14px;
    }

    #breadcrumbs > span > span {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .nosotros-content-text h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    #menu-main-menu li a {
        font-size: 20px;
        margin-bottom: 20px;
        margin-left: 10px;
    }

    #breadcrumbs {
        font-size: 12px;
    }

    .nosotros-content-text {
        font-size: 14px;
    }

    .nosotros-content-text h2 {
        font-size: 20px;
    }
}
