/* content.css - Diseño mejorado */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
:root {
    --primary-color: #69aeb6;
    --secondary-color: #3a7bd5;
    --accent-color: #e0cf9d; 
    --danger-color: #d32f2f;
    
    --text-color: #333333;
    --text-color-header: #ffffff;
    --text-light: #ffffff;
    --bg-color: #f5f9ff;
    --card-bg: #ffffff;
    
    --border-color: #e0e0e0;
    --header-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --even-row-bg: #f7f9fc;
    --hover-row-bg: #e9f3f7;
    
    --shadow-light: rgba(0, 0, 0, 0.1); 
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    --input-border: #dddddd;
    --input-bg: #f7f7f7;
    --transition-speed: 0.3s;
}

.content {
    padding: 0;
    transition: filter 0.3s ease;
}

section {
    padding: 40px 20px;
    background-color: var(--bg-color);
    box-shadow: 0 8px 30px var(--shadow-light);
    border-radius: 12px;
    margin: 30px;
    flex: 1;
}

section ul {
    padding-left: 20px;
}

section ol {
    padding-left: 20px;
}

section h2 {
    color: var(--text-color);
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    text-align: center;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

h3 {
    color: #333;
    margin-top: 20px;
}

p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--color-text);
    text-align: justify;
    padding: 0 5px;

}

p:first-line {
    font-weight: 500;
}

ul {
    margin-top: 10px;
}

ul li {
    margin-bottom: 5px;
}

ol {
    margin-top: 10px;
}

ol li {
    margin-bottom: 5px;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.news-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    animation: fadeIn 0.3s ease;
}

.news-modal-content {
    background: #ffffff;
    margin: 8% auto;
    padding: 0;
    max-width: 680px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: slideDown 0.35s ease;
}

.news-modal-header {
    background: #b71c1c;
    color: #fff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-modal-badge {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.news-modal-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

#modalTitle {
    padding: 18px 20px 10px;
    margin: 0;
    font-size: 1.4rem;
}

.news-modal-text {
    padding: 0 20px 22px;
    font-size: 1rem;
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); }
    to { transform: translateY(0); }
}
