/*
Theme Name: Transparencia Theme
Theme URI: https://example.com/transparencia-theme
Author: Antigravity
Author URI: https://example.com
Description: Un tema limpio y accesible enfocado en portales de transparencia.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transparencia-theme
*/

:root {
    --primary-color: #0056b3;
    --secondary-color: #003d82;
    --text-color: #333;
    --bg-color: #f4f6f9;
    --white: #ffffff;
    --border-color: #e1e4e8;
    --spacing-unit: 1rem;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-title a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Hero Search */
.hero-search {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.hero-search h2 {
    margin-top: 0;
}

.search-form-wrapper input[type="search"] {
    padding: 0.8rem;
    width: 60%;
    max-width: 600px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.search-form-wrapper button {
    padding: 0.8rem 1.5rem;
    border: none;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.dashboard-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid var(--primary-color);
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.dashboard-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Archive List */
.archive-list {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.archive-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-item:last-child {
    border-bottom: none;
}

.archive-item-title a {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.archive-meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.btn-download {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background: #333;
    color: #ccc;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

