/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header y navegación */
header {
    background-color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    height: 50px;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #555;
}

.nav-actions {
    margin-left: 20px;
}

.nav-button {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-button.admin {
    background-color: #74cbc8;
    color: white;
    border: none;
}

.nav-button.logout {
    background-color: #ff6b6b;
    color: white;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
}

/* Contenido principal */
.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.divider {
    width: 100px;
    height: 3px;
    background-color: #74cbc8;
    margin: 0 auto 20px;
}

/* Alertas */
.alert {
    padding: 15px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 5px;
    font-weight: bold;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Tarjetas de miembros */
.members-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 15px;
}

.member-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-logo {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f5f5f5;
}

.member-category {
    color: #74cbc8;
    font-weight: bold;
    margin-bottom: 5px;
    width: 100%;
}

.member-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
    width: 100%;
}

.member-details {
    color: #666;
    margin-bottom: 15px;
    width: 100%;
}

.member-button {
    background-color: #74cbc8;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
    display: block;
    margin: 10px auto;
}

.member-button:hover {
    background-color: #5ab7b4;
}

.botones-contenedor {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

/* Filtros */
.filters-top-container {
    width: 100%;
    padding: 15px;
    background-color: #f8f9fa;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filters-title {
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.filter-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #74cbc8;
    color: white;
    border-color: #74cbc8;
}

.mobile-filter-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    display: none;
    background-color: white;
    font-size: 1rem;
}

/* Tabla de administración */
.admin-table-container {
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 800px;
}
/* Estilo para imágenes en tablas de administración */
.admin-table img.table-image {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

/* Estilo para imágenes en tarjetas de campañas */
.campaign-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 5px;
}
.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background-color: #74cbc8;
    color: white;
}

.table-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.table-actions {
    display: flex;
    gap: 10px;
}

.btn-table-edit, .btn-table-delete {
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    border: none;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-table-edit {
    background-color: #74cbc8;
}

.btn-table-delete {
    background-color: #ff6b6b;
}

/* Selector de ordenación */
.order-selector {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.order-selector label {
    font-weight: bold;
}

.order-selector select {
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* Formularios */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-submit {
    background-color: #74cbc8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #5ab7b4;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    text-align: center;
}

.footer-column img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-column p, .footer-column a {
    color: white;
    margin-bottom: 10px;
    display: block;
}

.footer-column a:hover {
    color: #74cbc8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #444;
}

/* Estilos específicos para campañas */
.campaigns-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.campaign-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.campaign-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 5px;
}

.campaign-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.campaign-alt-text {
    color: #74cbc8;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.campaign-content {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-read-more {
    display: inline-block;
    background-color: #74cbc8;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-read-more:hover {
    background-color: #5ab7b4;
}

/* Estilos para noticias */
.news-horizontal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.news-horizontal-card {
    display: flex;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-horizontal-card:hover {
    transform: translateY(-5px);
}

.news-horizontal-image-container {
    flex: 0 0 40%;
    max-width: 40%;
}

.news-horizontal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

.news-horizontal-content {
    flex: 1;
    padding: 25px;
}

.news-horizontal-date {
    color: #74cbc8;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.news-horizontal-title {
    font-size: 1.5em;
    margin: 0 0 10px 0;
    color: #333;
}

.news-horizontal-subtitle {
    color: #666;
    margin: 0 0 15px 0;
    font-size: 1.1em;
}

.news-horizontal-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-horizontal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-horizontal-author {
    font-style: italic;
    color: #888;
}

.news-horizontal-read-more {
    color: #74cbc8;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.news-horizontal-read-more:hover {
    color: #5ab7b4;
}

/* Estilos para carrusel */
.carrusel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.carrusel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel img {
    width: 100%;
    min-width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: fill;
}

.flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 18px;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.flecha:hover {
    background-color: rgba(0,0,0,0.8);
}

.flecha-izquierda {
    left: 10px;
}

.flecha-derecha {
    right: 10px;
}

.indicadores {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicador.activo {
    background-color: #74cbc8;
}

/* Estilos para login */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: #74cbc8;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #74cbc8;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #74cbc8;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #5ab7b4;
}

.error-message {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 1rem;
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 5px;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

/* Media Queries */
@media (max-width: 992px) {
    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-main {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        padding-top: 15px;
        gap: 10px;
    }
    
    .nav-main.active {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }
    
    .nav-link {
        padding: 10px 0;
        display: block;
    }
    
    .nav-actions {
        margin: 10px 0 0 0;
        width: 100%;
    }
    
    .filter-buttons-container {
        display: none;
    }
    
    .mobile-filter-select {
        display: block;
    }
    
    .admin-table th, 
    .admin-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .table-actions {
        flex-direction: column;
        gap: 5px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .section {
        padding: 15px 10px;
    }
    
    .section-title {
        margin-bottom: 20px;
    }
    
    .section-title h2 {
        margin-bottom: 5px;
        font-size: 1.5rem;
    }
    
    .divider {
        margin: 0 auto 10px;
    }
    
    .filters-top-container {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .members-container {
        gap: 15px;
        padding: 0;
    }
    
    .member-card {
        padding: 12px;
        margin-bottom: 0;
    }
    
    .order-selector {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 15px;
    }
    
    .news-horizontal-card {
        flex-direction: column;
    }
    
    .news-horizontal-image-container {
        flex: 1;
        max-width: 100%;
    }
    
    .news-horizontal-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (min-width: 769px) {
    .mobile-filter-select {
        display: none !important;
    }
    
    .filter-buttons-container {
        display: flex;
    }
}

@media (max-width: 480px) {
    .members-container {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .btn-submit,
    .btn-cancel {
        width: 100%;
        margin: 5px 0;
    }
    
    .section {
        padding: 10px 5px;
    }
    
    .member-card {
        padding: 10px;
    }
    
    .member-logo {
        height: 120px;
        margin-bottom: 10px;
    }
    
    .news-horizontal-content {
        padding: 15px;
    }
    
    .news-horizontal-title {
        font-size: 1.3em;
    }
    
    .news-horizontal-subtitle {
        font-size: 1em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header y navegación */
header {
    background-color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    height: 50px;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #555;
}

.nav-actions {
    margin-left: 20px;
}

.nav-button {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-button.admin {
    background-color: #74cbc8;
    color: white;
    border: none;
}

.nav-button.logout {
    background-color: #ff6b6b;
    color: white;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
}

/* Contenido principal */
.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.divider {
    width: 100px;
    height: 3px;
    background-color: #74cbc8;
    margin: 0 auto 20px;
}

/* Alertas */
.alert {
    padding: 15px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 5px;
    font-weight: bold;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos del carrusel */
.carrusel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.carrusel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel img {
    width: 100%;
    min-width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: fill;
}

.flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 18px;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.flecha:hover {
    background-color: rgba(0,0,0,0.8);
}

.flecha-izquierda {
    left: 10px;
}

.flecha-derecha {
    right: 10px;
}

.indicadores {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicador.activo {
    background-color: #74cbc8;
}

/* Sección Hero */
.hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    color: #74cbc8;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.hero-content h2 {
    font-weight: normal;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.hero-content p {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background-color: #74cbc8;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #5ab7b4;
}

/* Sección Sobre Nosotros */
.objectives {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.objectives > div:last-child {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.objective-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.objective-column img {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.objective-column img:hover {
    transform: scale(1.05);
}

.objective-column p {
    font-size: 1.05em;
    line-height: 1.6;
    padding: 0 10px;
}

/* Contenedor de campaña */
.campaign-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.campaign-title {
    font-size: 2em;
    margin: 0 0 10px 0;
    color: #333;
}

.campaign-alt-text {
    color: #74cbc8;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.campaign-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.campaign-content {
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
}

.campaign-content p {
    margin-bottom: 20px;
}

.campaign-divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 40px 0;
}

.back-button {
    display: inline-block;
    background-color: #74cbc8;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #5ab7b4;
}

/* Contenedor de noticia */
.news-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.news-date {
    display: block;
    color: #74cbc8;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.news-author {
    display: block;
    color: #888;
    margin-bottom: 20px;
    font-style: italic;
}

.news-title {
    font-size: 2em;
    margin: 0 0 10px 0;
    color: #333;
}

.news-subtitle {
    font-size: 1.3em;
    color: #666;
    margin: 0 0 30px 0;
}

.news-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.news-image-caption {
    display: block;
    text-align: center;
    color: #888;
    font-size: 0.9em;
    margin-bottom: 30px;
}

.news-content {
    line-height: 1.8;
    color: #555;
}

.news-content p {
    margin-bottom: 20px;
}

.news-divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 40px 0;
}

.news-participate {
    text-align: center;
    margin-bottom: 40px;
}

.news-participate h3 {
    margin-bottom: 20px;
}

.news-participate button {
    background-color: #74cbc8;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.news-participate button:hover {
    background-color: #5ab7b4;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    text-align: center;
}

.footer-column img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-column p, .footer-column a {
    color: white;
    margin-bottom: 10px;
    display: block;
}

.footer-column a:hover {
    color: #74cbc8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #444;
}

/* Media Queries */
@media (max-width: 992px) {
    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-main {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        padding-top: 15px;
        gap: 10px;
    }
    
    .nav-main.active {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }
    
    .nav-link {
        padding: 10px 0;
        display: block;
    }
    
    .nav-actions {
        margin: 10px 0 0 0;
        width: 100%;
    }
    
    .campaign-container,
    .news-container {
        padding: 15px;
    }
    
    .campaign-title,
    .news-title {
        font-size: 1.5em;
    }
    
    .news-subtitle {
        font-size: 1.1em;
    }
    
    .objective-column img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .objectives > div:last-child {
        grid-template-columns: 1fr;
    }
}