/*
Theme Name: Warmazono Music Library
Theme URI: https://warmazono.com
Author: Warmazono
Description: Tema personalizado para Tu Biblioteca Musical Warmazono.
Version: 1.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warmazono-music-library
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #0d0d0d; color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

.site-header { background-color: #080808; border-bottom: 1px solid #1f1f1f; padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; }
.header-brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 36px; height: 36px; background-color: #2bbbad; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; }
.brand-title { font-size: 1.2rem; font-weight: 800; letter-spacing: 1px; color: #ffffff; }
.brand-subtitle { font-size: 0.75rem; color: #888888; }

.main-nav ul { display: flex; list-style: none; gap: 25px; }
.main-nav a { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #cccccc; padding-bottom: 5px; transition: color 0.2s; }
.main-nav a:hover, .main-nav .active a { color: #ffffff; border-bottom: 2px solid #2bbbad; }

.hero-section { background: radial-gradient(ellipse at top, #2d1e12 0%, #0d0d0d 70%); text-align: center; padding: 80px 20px 60px 20px; }
.hero-title { font-size: 3rem; font-weight: 800; margin-bottom: 10px; }
.hero-title span { color: #2bbbad; }
.hero-subtitle { color: #b0b0b0; font-size: 1.1rem; margin-bottom: 35px; }

.search-form-container { max-width: 650px; margin: 0 auto; }
.search-form { display: flex; background-color: #ffffff; border-radius: 8px; padding: 6px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.search-field { flex: 1; border: none; outline: none; padding: 12px 18px; font-size: 1rem; color: #333333; border-radius: 6px 0 0 6px; }
.search-submit { background-color: #2bbbad; border: none; width: 50px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #ffffff; transition: background-color 0.2s; }
.search-submit:hover { background-color: #249d91; }

.categories-section { padding: 60px 20px 80px 20px; text-align: center; background-color: #0d0d0d; }
.categories-title { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.categories-title span { color: #2bbbad; }
.categories-subtitle { color: #888888; font-size: 0.95rem; margin-bottom: 40px; }
.categories-grid { display: flex; justify-content: center; gap: 24px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; }
.category-card { flex: 1; min-width: 280px; max-width: 340px; border-radius: 12px; padding: 40px 25px 30px 25px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.card-mp3 { background-color: #143656; }
.card-flac { background-color: #be4827; }
.card-conciertos { background-color: #1f7a1f; }
.card-icon { width: 64px; height: 64px; background-color: #000000; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.card-icon svg { width: 30px; height: 30px; fill: #ffffff; }
.card-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; letter-spacing: 0.5px; }
.card-description { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 30px; }
.btn-explore { margin-top: auto; display: inline-block; padding: 10px 24px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 6px; color: #ffffff; font-size: 0.85rem; font-weight: 600; transition: background-color 0.2s, border-color 0.2s; }
.btn-explore:hover { background-color: rgba(255, 255, 255, 0.15); border-color: #ffffff; }

.archive-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px 80px 20px; }
.archive-header { text-align: center; margin-bottom: 40px; }
.archive-title { font-size: 2.2rem; font-weight: 800; letter-spacing: 0.5px; color: #ffffff; margin-bottom: 10px; }
.search-title { font-size: 2.2rem; font-weight: 800; text-align: center; color: #ffffff; margin-bottom: 30px; }
.archive-description { color: #888888; font-size: 0.95rem; }

.posts-5-col-grid { display: grid; grid-template-columns: repeat(5, 150px); gap: 20px; justify-content: center; }
.post-card-item { width: 150px; height: auto; background-color: #161616; border: 1px solid #262626; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s; }
.post-card-item:hover { transform: translateY(-4px); border-color: #2bbbad; }
.post-thumb-link { display: block; width: 150px; height: 150px; background-color: #222222; overflow: hidden; }
.post-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: #1f1f1f; color: #444444; }
.post-info { padding: 10px; display: flex; flex-direction: column; justify-content: flex-start; }
.post-item-title { font-size: 0.85rem; font-weight: 600; line-height: 1.3; color: #e0e0e0; margin: 0; word-break: break-word; }
.post-card-item:hover .post-item-title { color: #2bbbad; }
.no-posts-found { text-align: center; grid-column: 1 / -1; color: #888888; padding: 50px 0; }

.single-post-container { max-width: 800px; margin: 0 auto; padding: 60px 20px 80px 20px; text-align: center; }
.single-post-title { font-size: 2.2rem; font-weight: 800; color: #ffffff; margin-bottom: 30px; line-height: 1.25; }
.single-post-image-wrapper { margin: 0 auto 30px auto; width: 150px; }
.single-post-image { width: 150px; height: auto; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6); display: block; }

.single-post-meta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 30px; }
.meta-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.meta-label { font-weight: 700; color: #2bbbad; font-size: 0.95rem; }
.category-badge a { display: inline-block; background-color: #ff0000; color: #ffffff; font-weight: 700; font-size: 0.8rem; padding: 4px 12px; border-radius: 6px; transition: opacity 0.2s; }
.category-badge a:hover { opacity: 0.85; }
.tag-badge a { display: inline-block; background-color: #1f1f1f; border: 1px solid #333333; color: #ffffff; font-weight: 600; font-size: 0.8rem; padding: 4px 12px; border-radius: 6px; transition: background-color 0.2s; }
.tag-badge a:hover { background-color: #2a2a2a; }
.single-post-divider { border: 0; height: 1px; background-color: #1f1f1f; margin: 30px 0 40px 0; }

.single-post-content { text-align: left; color: #d0d0d0; font-size: 1rem; line-height: 1.7; }
.single-post-content p { margin-bottom: 20px; }
.single-post-content a { color: #2bbbad; font-weight: 700; transition: color 0.2s; }
.single-post-content a:hover { color: #249d91; text-decoration: underline; }

.pagination-container { text-align: center; margin-top: 50px; }
.pagination-container .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 4px; background-color: #1a1a1a; color: #cccccc; border-radius: 4px; font-size: 0.9rem; }
.pagination-container .page-numbers.current { background-color: #2bbbad; color: #ffffff; font-weight: 700; }

.site-footer { background-color: #050505; border-top: 1px solid #1a1a1a; padding: 30px 20px; text-align: center; color: #666666; font-size: 0.85rem; }

@media (max-width: 900px) { .posts-5-col-grid { grid-template-columns: repeat(auto-fill, 150px); } }
