/* Base styles and reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Inter", sans-serif;
    color: rgb(52, 56, 59);
    line-height: 1.5;
    background-color: #fff;
  }
  
  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    vertical-align: middle;
  }
  
  /* 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;
  }
  .news-card {
      max-width: 100%;
    }
}
  
  .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 */
  }
  
  /* Staff Cards */
      .staff-grid {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
      }

      .staff-card {
        align-items: center;
        background-color: rgb(255, 255, 255);
        border-radius: 8px;
        box-shadow:
          rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
          rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding: 32px;
        width: 30%;
        float: left;
      }

      .staff-photo {
        border-radius: 50%;
        box-shadow:
          rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
          rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
        height: 100%;
        margin-bottom: 16px;
        object-fit: cover;
        width: 100%;
      }
      .section-heading{

          color: oklch(0.2 0.5 0.5);

      }

  /* Header and Navigation */
  .main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    border-color: #ccc;
    border-width: 1px;
    box-shadow:
      rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
      rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
    z-index: 50;
  }
  
  .main-nav {
    width: 100%;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 24px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  
  .site-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: rgb(52, 56, 59);
    user-select: none;
  }
  
  .nav-links {
    display: flex;
    justify-content: flex-end;
    font-weight: 500;
    color: rgb(52, 56, 59);
  }
  
  .nav-item {
    text-transform: uppercase;
    margin-right: 24px;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .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;
    position: relative;
  }
  
  .nav-item.contact {
    margin-left: 136px;
    margin-right: 0;
  }
  
  /* Main Content */
  .main-content {
    margin-top: 64px;
    padding: 48px 0;
    background-color: #fff;
    color: rgb(52, 56, 59);
  }
  
  /* Hero Section */
  .hero-section {
    position: relative;
    width: 100%;
    height: 700px;
    /*height: 384px;*/
    margin-bottom: 24px;
  }
  
  .hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow:
      rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
      rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;
  }
  /*
  .gradient-overlay-top {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(
      to top in oklab,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  
  .gradient-overlay-left {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(
      in oklab,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  */
  .hero-title {
    position: absolute;
    bottom: 40px;
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    color: #fff;
    border-left: 6px solid oklch(0.2 0.5 0.5);
    padding-left: 24px;
  }
  
  /* Breadcrumb */
  .breadcrumb-container {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 32px;
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 64px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 20px;
    border-left: 6px solid rgb(16, 44, 84);
  }
  
  .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;
  }
  
  /* Content Layout */
  .content-wrapper {
    display: flex;
    gap: 32px;
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  .main-article {
    flex: 1;
  }
  
  /* Content Sections */
  .content-section {
    margin-bottom: 48px;
  }
  
  .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: oklch(0.2 0.5 0.5);
    margin-bottom: 24px;
  }
  
  .feature-list {
    padding-left: 20px;
  }
  
  .feature-item {
    font-weight: 700;
    margin-bottom: 16px;
    text-align: justify;
  }
  
  .feature-item:last-child {
    margin-bottom: 0;
  }
  
  /* Sidebar */
  .sidebar {
    width: 256px;
    padding: 24px;
    background-color: #fff;
    border-left: 1px solid #ccc;
    position: sticky;
    top: 128px;
    align-self: flex-start;
  }
  
  .sidebar-title {
    font-weight: 700;
    margin-bottom: 16px;
    
  }
  
  .sidebar-item {
    margin-bottom: 12px;
    font-weight: 600;
    color: oklch(0.2 0.5 0.5);
  }
  
  .sidebar-item:last-child {
    margin-bottom: 0;
  }
  
  .download-button {
    display: inline-block;
    text-decoration: none;
    width: 100%;
    margin-top: 24px;
    padding: 8px 16px;
    background-color: oklch(0.2 0.5 0.5);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .download-button:hover {
    background-color: oklch(0.15 0.5 0.5);
  }
  
  /* Footer */
  .main-footer {
    background-color: rgb(16, 44, 84);
    color: #fff;
    padding: 48px 0;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 1152px;
    width: 100%;
    margin: 0 auto;
  }
  
  .footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-logo {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin-bottom: 16px;
  }
  
  .footer-tagline {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
  }
  
  .footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-heading {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 16px;
  }
  
  .social-links {
    display: flex;
  }
  
  .social-link {
    margin-right: 24px;
  }
  
  .social-link:last-child {
    margin-right: 0;
  }
  
  .social-icon {
    display: inline-block;
    font-size: 24px;
    height: 24px;
    line-height: 32px;
    vertical-align: -3px;
    box-sizing: content-box;
  }
  
  .footer-contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-list {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
  
  .contact-item {
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .contact-email {
    color: rgb(182, 182, 175);
  }
  
  .copyright {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #fff;
  }
  
  /* Accessibility Enhancements */
  .nav-link:focus,
  .breadcrumb-link:focus,
  .sidebar-link:focus,
  .download-button:focus,
  .social-link:focus,
  .contact-email:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  
  /* Hover States */
  .nav-link:hover,
  .breadcrumb-link:hover,
  .sidebar-link:hover,
  .contact-email:hover {
    text-decoration: underline;
  }
  
  

/* 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: 40%;
    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: 19px;
    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%;
  }
  
  .read-more-btn:hover {
    background-color: oklch(0.15 0.5 0.5);
  }
  .detalle-definicion{

    text-align: justify;
  }
  .staff-position{
    text-align: center;

  }
  /* Responsive Adjustments */
  @media (max-width: 1024px) {
    .news-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .content-wrapper {
      flex-direction: column;
    }
  
    .sidebar {
      width: 100%;
      border-left: none;
      border-top: 1px solid #ccc;
      margin-top: 32px;
      position: static;
    }
  
    .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .footer-logo-section,
    .footer-social-section,
    .footer-contact-section {
      margin-bottom: 32px;
    }
  }
  
  @media (max-width: 768px) {

    .news-grid {
      grid-template-columns: 1fr;
    }
  
    .news-card {
      max-width: 100%;
    }
    
    .staff-card{

      width: 100%;
    }
    .nav-container {
      flex-direction: column;
    }
  
    .logo-container {
      margin-bottom: 16px;
    }
  
    .nav-links {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .nav-item {
      margin: 8px 12px;
    }
  
    .nav-item.contact {
      margin-left: 12px;
    }
  
    .hero-title {
      font-size: 36px;
      line-height: 40px;
    }
  }
  
  @media (max-width: 480px) {

    
    .staff-card{

      width: 100%;
    }
    .hero-section {
      height: 240px;
    }
  
    .hero-title {
      font-size: 28px;
      line-height: 32px;
    }
  
    .section-title {
      font-size: 28px;
      line-height: 32px;
    }
  }