/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Inter", sans-serif;
    color: rgb(52, 56, 59);
    background-color: rgb(255, 255, 255);
  }
  
  a {
    text-decoration: none;
  }
  
  ul {
    list-style: none;
  }
  
 /* Navbar Styles */
  .navbar {
    background-color: #ffffff;
    border-color: #cccccc;
    border-width: 1px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
  }
  
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1480px;
    margin: 0 auto;
    padding: 16px 24px;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo-image {
    height: 80px;
    margin-right: 12px;
    max-width: 100%;
  }
  
  .logo-text {
    color: #34383b;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    user-select: none;
  }
  
  .nav-menu {
    display: flex;
    color: #34383b;
    font-weight: 500;
    justify-content: flex-end;
    list-style: none;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsividad */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }
}
  
  .nav-item {
    text-transform: uppercase;
    margin-right: 34px;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }
  
  .nav-item:hover {
    color: oklch(0.2 0.5 0.5);
  }
  
  .nav-item.active {
    color: oklch(0.2 0.5 0.5);
    font-weight: 700;
  }
  
  .nav-item.contact {
    margin-left: 136px;
    margin-right: 0;
  }

  /* Estilo para el submenú */
  .nav-item.dropdown {
    position: relative;
  }

  .nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    width: 290%;
  }

  .nav-item .dropdown-menu li {
    padding: 10px 20px;
    max-height: 40px;
  }

  .nav-item .dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
  }

  .nav-item .dropdown-menu li a:hover {
    background-color: #blue;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Estilo específico para los enlaces del menú */
  .nav-menu a {
    text-decoration: none; /* Elimina el subrayado */
    color: #000; /* Cambia el color del texto a negro */
    font-weight: 500; /* Ajusta el grosor del texto */
  }

  .nav-menu a:hover {
    color: #000; /* Mantén el color negro al pasar el mouse */
    text-decoration: none; /* Asegúrate de que no aparezca subrayado */
  }

  .nav-item.active a {
    color: #a00000; /* Color rojo oscuro para el elemento activo */
    font-weight: bold; /* Resalta el elemento activo */
  }

  /* Estilo para los elementos de la lista */
  .dropdown-menu li {
    padding: 10px 15px; /* Espaciado interno */
    cursor: pointer; /* Cambia el cursor para indicar que es clicable */
    transition: background-color 0.3s ease; /* Transición suave */
  }

  .dropdown-menu li a:hover {
    background-color: #a00000; /* Fondo rojo oscuro al pasar el mouse */
   border-radius: 10px;
   color: white;
    /*color: #a00000;  Cambia el texto a blanco para mejor contraste */
  }
  
  .site-title {
    color: rgb(52, 56, 59);
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    user-select: none;
  }
  
  .main-menu {
    color: rgb(52, 56, 59);
    display: flex;
    font-weight: 500;
    justify-content: flex-end;
  }
  
  .menu-item {
    text-transform: uppercase;
    transition:
      color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
      background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 24px;
    text-align: left;
  }
  
  .menu-item a {
    color: inherit;
  }
  
  .menu-item-dropdown {
    position: relative;
  }
  
  .current-page {
    color: oklch(0.2 0.5 0.5);
    font-weight: 700;
  }
  
  .menu-item-contact {
    margin-left: 136px;
    margin-right: 0;
  }
  
  /* Main Content */
  .main-content {
    margin-top: 64px;
    padding: 48px 0;
  }
  
  /* Page Header */
  .page-header {
    height: 700px;
    margin-bottom: 24px;
    position: relative;
    width: 100%;
  }
  
  .header-image-container {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .header-image {
    box-shadow:
      rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
      rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    vertical-align: middle;
    width: 100%;
  }
  
  
  .page-title {
    border-color: oklch(0.2 0.5 0.5);
    border-left-width: 6px;
    bottom: 40px;
    color: rgb(255, 255, 255);
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    max-width: 1152px;
    padding: 0 24px;
    border-left: 6px solid oklch(0.2 0.5 0.5);
    width: 100%;
  }
  
  /* Content Container */
  .content-container {
    margin: 0 auto;
    max-width: 1152px;
    padding: 0 24px;
    width: 100%;
  }
  
  .breadcrumb-container {
    margin-bottom: 24px;
  }
  
  .breadcrumb {
    align-items: center;
    border-color: rgb(16, 44, 84);
    border-left-width: 6px;
    display: flex;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 64px;
    margin-top: 40px;
    padding-left: 16px;
    width: 100%;
  }
  
  .breadcrumb-link {
    color: oklch(0.2 0.5 0.5);
    margin-right: 4px;
  }
  
  .breadcrumb-separator {
    color: oklch(0.551 0.027 264.364);
    margin-right: 4px;
  }
  
  .breadcrumb-current {
    color: rgb(16, 44, 84);
    font-weight: 700;
  }
  
  /* News Section */
  .news-section {
    position: relative;
  }
  
  .news-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 32px;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .news-card {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(204, 204, 204);
    border-radius: 12px;
    box-shadow:
      rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
      rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;
    display: flex;
    flex-direction: column;
    max-width: 384px;
    overflow: hidden;
  }
  
  .news-image {
    height: 192px;
    max-width: 100%;
    object-fit: cover;
    vertical-align: middle;
    width: 100%;
  }
  
  .news-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px;
  }
  
  .news-header {
    margin-bottom: 8px;
  }
  
  .news-title {
    color: oklch(0.2 0.5 0.5);
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    white-space: nowrap;
  }
  
  .news-date {
    color: rgb(16, 44, 84);
    font-size: 14px;
    line-height: 20px;
  }
  
  .news-excerpt {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
    overflow: hidden;
  }
  
  .read-more-btn {
    appearance: button;
    background-color: oklch(0.2 0.5 0.5);
    border: none;
    border-radius: 8px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    margin-top: auto;
    padding: 8px 16px;
    text-align: center;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    width: 50%;
  }
  .contenedor-flex{
    gap: 20px;
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
  }
  .read-more-btn:hover {
    background-color: oklch(0.15 0.5 0.5);
  }
  
  /* Pagination */
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
  }
  
  .pagination-btn {
    appearance: button;
    background-color: rgb(16, 44, 84);
    border: none;
    border-radius: 4px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    margin-right: 8px;
    padding: 8px 16px;
    text-align: center;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .pagination-current {
    background-color: oklch(0.2 0.5 0.5);
  }
  
  /* Footer */
  .site-footer {
    background-color: rgb(16, 44, 84);
    color: rgb(255, 255, 255);
    padding: 48px 0;
  }
  
  .footer-content {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1152px;
    width: 100%;
  }
  
  .footer-logo {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  
  .footer-logo-image {
    height: 128px;
    margin-bottom: 16px;
    max-width: 100%;
    object-fit: contain;
    width: 128px;
  }
  
  .footer-tagline {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
  }
  
  .footer-social {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  
  .footer-heading {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 16px;
  }
  
  .social-links {
    display: flex;
  }
  
  .social-link {
    color: white;
    margin-right: 24px;
  }
  
  .social-icon {
    box-sizing: content-box;
    display: inline-block;
    font-size: 24px;
    height: 24px;
    line-height: 32px;
    vertical-align: -3px;
  }
  
  .footer-contact {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  
  .contact-list {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
  
  .contact-item {
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .contact-email {
    display: list-item;
  }
  
  .email-link {
    color: rgb(182, 182, 175);
  }
  
  .copyright {
    border-top: 1px solid rgb(255, 255, 255);
    font-size: 14px;
    line-height: 20px;
    margin-top: 32px;
    padding-top: 16px;
    text-align: center;
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    .news-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .nav-container {
      flex-direction: column;
    }
  
    .main-menu {
      margin-top: 16px;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .menu-item {
      margin: 8px 12px;
    }
  
    .menu-item-contact {
      margin-left: 12px;
    }
  
    .page-header {
      height: 240px;
    }
  
    .page-title {
      font-size: 36px;
      line-height: 40px;
    }
  
    .news-grid {
      grid-template-columns: 1fr;
    }
  
    .news-card {
      max-width: 100%;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }
  