/* Layout 1 - Página Inicial (Minimalista elegante) */
:root {
    --navy: #0f3460;
    --navy-light: #1a4a7a;
    --gold: #c9a227;
    --gold-light: #e5c44a;
    --bg: #f8fafc;
    --card-bg: #fff;
    --text: #1e293b;
    --text-muted: #64748b;
}

* {
    box-sizing: border-box;
}

body.layout-1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: var(--card-bg);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: inline-block;
}

.logo {
    display: block;
    height: 40px;
    width: auto;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Grid temas */
.temas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.tema-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.tema-card:hover {
    border-color: var(--navy-light);
    box-shadow: 0 4px 12px rgba(15, 52, 96, 0.08);
}

.tema-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
}

.tema-card .meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.page-title {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    color: var(--navy);
}

.site-footer {
    background: var(--card-bg);
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    font-size: 1.25rem;
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.4);
    color: white;
}

.footer-dev {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-dev strong {
    color: var(--navy);
    font-weight: 600;
}

@media (min-width: 640px) {
    .logo { height: 48px; }
    .page-title { font-size: 1.75rem; }
}
