* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d5016; /* Verde 100% para texto principal */
    background-color: #f7f9f4; /* Verde 10% para fondo */
}

/* Banner Informativo */
.info-banner {
    background: linear-gradient(135deg, #2d5016, #4a7c59); /* Verde 100% a 80% */
    color: white;
    padding: 15px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.banner-text {
    font-weight: 500;
    font-size: 1.1rem;
}

.banner-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.banner-close:hover {
    opacity: 1;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(45, 80, 22, 0.1); /* Verde 100% con transparencia */
    /*position: sticky;*/
    top: 0;
    z-index: 100;
}

.header-top {
    background: #f0f4ed; /* Verde 20% */
    padding: 10px 0;
    border-bottom: 1px solid #e1e8d9; /* Verde 30% */
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.25);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
}

.logo svg {
    width: 100%;
    height: 100%;
}

.logo img {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
    border-radius: 10%;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.1rem;
    color: #5a7a3a; /* Verde 70% */
    font-weight: 500;
    line-height: 1.3;
}

.main-title {
    text-align: center;
    padding: 30px 0;
    background: white;
}

.main-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016; /* Verde 100% */
    margin-bottom: 5px;
}

.main-title h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4a7c59; /* Verde 80% */
    margin-bottom: 10px;
}

.department-title {
    font-size: 1.2rem;
    color: #5a7a3a; /* Verde 70% */
    font-weight: 500;
}

/* Navigation */
.nav {
    background: #2d5016; /* Verde 100% */
    padding: 15px 0;
}

.nav-content {
    /*max-width: 1700px;*/
    margin: 0 auto;
    padding: 0 20px;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    border: 1px solid #e1e8d9;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    color: #2d5016;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
    font-size: 0.95rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #f0f4ed;
    color: #8b7355;
    transform: none;
    border-left-color: #8b7355;
}

.dropdown-menu i {
    width: 16px;
    text-align: center;
    color: #5a7a3a;
}

/* Main Content */
.main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.08); /* Verde 100% con transparencia */
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e1e8d9; /* Verde 30% */
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.15); /* Verde 100% con transparencia */
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d5016; /* Verde 100% */
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #8b7355; /* Tierra 100% */
    border-radius: 2px;
}

.contact-box {
    background: linear-gradient(135deg, #2d5016, #4a7c59); /* Verde 100% a 80% */
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.contact-icon {
    width: 20px;
    color: #2d5016; /* Verde 100% */
}

.illustration {
    text-align: center;
    margin: 20px 0;
}

.illustration i {
    font-size: 4rem;
    color: #8b7355; /* Tierra 100% */
    opacity: 0.8;
}

.read-more {
    display: inline-block;
    background: #8b7355; /* Tierra 100% */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 15px;
}

.read-more:hover {
    background: #6b5b47; /* Tierra 80% */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3); /* Tierra 100% con transparencia */
}

.new-badge {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 10px;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.08); /* Verde 100% con transparencia */
    height: fit-content;
    /*position: sticky;*/
    top: 200px;
    border: 1px solid #e1e8d9; /* Verde 30% */
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d5016; /* Verde 100% */
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4e0c9; /* Verde 40% */
}

.sidebar-list {
    list-style: none;
}

.sidebar-item {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.sidebar-item::before {
    content: '■';
    color: #8b7355; /* Tierra 100% */
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.sidebar-link {
    color: #2d5016; /* Verde 100% */
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.sidebar-link:hover {
    color: #8b7355; /* Tierra 100% */
}

.prominent-links {
    margin-bottom: 25px;
}

.prominent-link {
    display: block;
    background: #f0f4ed; /* Verde 20% */
    color: #8b7355; /* Tierra 100% */
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid #8b7355; /* Tierra 100% */
}

.prominent-link:hover {
    background: #e1e8d9; /* Verde 30% */
    transform: translateX(5px);
    color: #6b5b47; /* Tierra 80% */
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.1);
        margin-top: 10px;
        border-radius: 8px;
    }

    .dropdown-menu a {
        color: white;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.2);
        color: white;
        border-left-color: white;
    }

    .dropdown-menu i {
        color: rgba(255,255,255,0.8);
    }

    .contact-box {
        flex-direction: column;
        text-align: center;
    }

    .banner-content {
        flex-direction: column;
        gap: 10px;
    }

    .main-title h1 {
        font-size: 2rem;
    }

    .main-title h2 {
        font-size: 1.5rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Variables CSS para la paleta de colores */
:root {
    /* Paleta Verde */
    --green-100: #2d5016;
    --green-90: #3a5f1e;
    --green-80: #4a7c59;
    --green-70: #5a7a3a;
    --green-60: #6b8a5b;
    --green-50: #7c9a7c;
    --green-40: #d4e0c9;
    --green-30: #e1e8d9;
    --green-20: #f0f4ed;
    --green-10: #f7f9f4;

    /* Paleta Tierra */
    --earth-100: #8b7355;
    --earth-90: #9a825f;
    --earth-80: #6b5b47;
    --earth-70: #a99169;
    --earth-60: #b8a073;
    --earth-50: #c7af7d;
    --earth-40: #d6be87;
    --earth-30: #e5cd91;
    --earth-20: #f4dc9b;
    --earth-10: #f3e5a5;
}

/* Footer Styles */
#footer {
    margin-top: 60px;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* Sección de Aniversario */
.footer-anniversary {
    background-color: #8B8B4C; /* Color dorado/verde oliva */
    padding: 15px 0;
    text-align: center;
}

.footer-anniversary p {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Sección Institucional */
.footer-institutional {
    background-color: #2D5016; /* Color verde oscuro */
    padding: 25px 0 15px 0;
}

.footer-institutional-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.institutional-info h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.institutional-info p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
    text-align: left;
}

/* Créditos del Footer */
.footer-credits p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
    text-align: left;
    line-height: 1.4;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-anniversary p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .institutional-info h3 {
        font-size: 1.2rem;
    }

    .institutional-info p {
        font-size: 0.9rem;
        text-align: center;
    }

    .footer-credits p {
        font-size: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-anniversary p {
        font-size: 0.9rem;
    }

    .institutional-info h3 {
        font-size: 1.1rem;
    }

    .institutional-info p {
        font-size: 0.85rem;
    }

    .footer-credits p {
        font-size: 0.7rem;
    }
}


.espaciado{
    /*white-space: pre-line; */
    margin: 0 0 1rem;
    text-align: justify;
}

/* Estilos para enlaces de temas ICI */
.espaciado a {
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    color: #2d5016;
    transition: color 0.3s ease;
    text-align: justify;
}

.espaciado a:hover {
    color: #8b7355;
    text-decoration: none;
}
ol{
    margin-left: 40px;
}

/*Estilos de Tabals */
table.greyGridTable {
    border: 2px solid #FFFFFF;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
  }
  table.greyGridTable td, table.greyGridTable th {
    border: 1px solid #FFFFFF;
    padding: 3px 4px;
  }
  table.greyGridTable tbody td {
    font-size: 13px;
  }
  table.greyGridTable td:nth-child(even) {
    background: #EBEBEB;
  }
  table.greyGridTable thead {
    background: #FFFFFF;
    border-bottom: 4px solid #333333;
  }
  table.greyGridTable thead th {
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    border-left: 2px solid #333333;
  }
  table.greyGridTable thead th:first-child {
    border-left: none;
  }
  
  table.greyGridTable tfoot {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    border-top: 4px solid #333333;
  }
  table.greyGridTable tfoot td {
    font-size: 14px;
  }

  table.greyGridTable2 {
    border: 2px solid #FFFFFF;
    width: 100%;
    /*text-align: justify;*/
    border-collapse: collapse;
  }
  table.greyGridTable2 td, table.greyGridTable2 th {
    border: 1px solid #FFFFFF;
    padding: 3px 4px;
  }
  table.greyGridTable2 tbody td {
    font-size: 13px;
  }
  table.greyGridTable2 td:nth-child(even) {
    background: #EBEBEB;
  }
  table.greyGridTable2 thead {
    background: #FFFFFF;
    border-bottom: 4px solid #333333;
  }
  table.greyGridTable2 thead th {
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    border-left: 2px solid #333333;
  }
  table.greyGridTable2 thead th:first-child {
    border-left: none;
  }
  
  table.greyGridTable2 tfoot {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    border-top: 4px solid #333333;
  }
  table.greyGridTable2 tfoot td {
    font-size: 14px;
  }