/* AutoCMS - style.css */
/* Estilos mínimos para personalizar el tema sin romper PicoCSS */

header h1 {
    margin-bottom: 0.5rem;
    text-align: center !important;
}

nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding-left: 0;
    margin:0 auto !important;
        padding: 0.1em 0.5em 0.1em 0.5em;
        border-radius: 5px;

}

nav a {
    text-decoration: none;
}

footer {
    margin-top: 3rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}


.block-maps {
    margin: 2rem 0;
}

.block-maps h2 {
    margin-bottom: 0.5rem;
}

.map-container {
    margin-top: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}
  
 
 .footer-grid {
     display: grid;
     gap: 2rem;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     margin-top: 3rem;
     padding-top: 2rem;
     border-top: 1px solid #ccc;
 }
 
 .footer-logo {
     max-width: 120px;
     margin-bottom: 1rem;
 }
 
 .footer-bottom {
     grid-column: 1 / -1;
     text-align: center;
     margin-top: 2rem;
     opacity: 0.7;
 }
#base .container {
text-align: justify;

}

   /* Nav border bottom */
    nav {
      border-bottom: var(--pico-border-width) solid var(--pico-muted-border-color);
    }

    /* Hamburger menu styles */
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      padding: 0;
    }

    .nav-toggle:focus {
      outline: none;
      box-shadow: none !important;
    }

    /* Mobile styles */
    @media (max-width: 768px) {
      .nav-toggle {
        display: block;
      }

      nav ul:last-child {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--pico-background-color);
        border-top: var(--pico-border-width) solid var(--pico-muted-border-color);
        margin: 0;
        padding: 0;
      }

      nav ul:last-child.show {
        display: flex;
      }

      nav ul:last-child li {
        width: 100%;
        text-align: left;
      }

      nav {
        position: relative;
        flex-wrap: wrap;
      }

      nav ul:first-child {
        flex: 1;
      }
	  
	 #base .container {
    text-align: justify;
    flex-direction: column !important;
}
      
	}
  @media (max-width: 400px) {	  
	.container {  
	  display: flex;
    gap: 0rem;
    flex-direction: column;
	
	}
	#base .container {
    text-align: justify;
    flex-direction: column !important;
}
	
  }