/*
Theme Name: Super FACUA Theme
Theme URI: https://pruebasuper.facua.org
Author: FACUA
Description: Tema completo adaptado de la web estática original (public_html), incluyendo hojas de estilo completas, menú de navegación, integración de cookies y lógica dinámica.
Version: 1.0.0
Text Domain: super-facua
*/

/* Reset y Estilos Globales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: #333333;
    background-color: #f4f6f9;
    line-height: 1.6;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #003d82;
    text-decoration: underline;
}

/* Cabecera Estilo FACUA */
.site-header {
    background-color: #ffffff;
    border-bottom: 3px solid #d9534f;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.site-branding .site-title {
    font-size: 26px;
    font-weight: 800;
}

.site-branding .site-title a {
    color: #d9534f;
}

/* Navegación Principal */
.main-nav-container {
    background-color: #333333;
}

.main-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.main-navigation li a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
    background-color: #d9534f;
    text-decoration: none;
}

/* Contenido Principal */
.site-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.entry-header {
    border-bottom: 2px solid #eeeeee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.entry-title {
    font-size: 28px;
    color: #222222;
}

.entry-content {
    font-size: 15px;
    color: #444444;
}

/* Estilos de Tablas (Simulando productos_tabla original) */
.facua-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.facua-table th, .facua-table td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
    text-align: left;
}

.facua-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.facua-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* Aviso de Cookies integrado */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    font-size: 13px;
    z-index: 99999;
}

.cookie-banner button {
    background: #d9534f;
    color: #fff;
    border: none;
    padding: 6px 15px;
    margin-left: 15px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 14px;
}

.footer-content p {
    margin-bottom: 10px;
}
