/*
Theme Name: Kodelr
Theme URI: https://kodelr.com/
Author: Kodelr
Author URI: https://kodelr.com/
Description: Tema minimalista limpio inspirado en el diseño moderno, enfocado en contenido y simplicidad.
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kodelr
Tags: minimal, clean, modern, white, content-focused
*/

/* ===========================
   RESET Y BASE
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #37352f;
  background: #ffffff;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===========================
   LAYOUT PRINCIPAL
   =========================== */
.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   HEADER
   =========================== */
header {
  padding: 40px 0 24px;
  border-bottom: 1px solid rgba(55, 53, 47, 0.09);
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  color: #37352f;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.header-nav {
  margin-left: auto;
}

.header-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu li {
  margin: 0;
}

.header-menu a {
  color: rgba(55, 53, 47, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.header-menu a:hover {
  color: #37352f;
}

.header-menu .current-menu-item a,
.header-menu .current_page_item a,
.header-menu .current-page-ancestor a {
  color: #37352f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   TIPOGRAFÍA
   =========================== */
h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 48px 0 8px;
  line-height: 1.2;
  color: #37352f;
}

.subtitle {
  font-size: 18px;
  color: rgba(55, 53, 47, 0.65);
  margin-bottom: 48px;
  font-weight: 400;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 48px 0 16px;
  color: #37352f;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 8px;
  color: #37352f;
}

hr {
  border: none;
  border-top: 1px solid rgba(55, 53, 47, 0.09);
  margin: 32px 0;
}

/* ===========================
   LISTAS
   =========================== */
ol, ul {
  margin: 24px 0;
  padding-left: 28px;
}

li {
  margin: 12px 0;
  color: #37352f;
  line-height: 1.7;
}

li strong {
  font-weight: 600;
  color: #37352f;
}

/* ===========================
   BLOCKQUOTE
   =========================== */
blockquote {
  border-left: 3px solid #37352f;
  padding: 16px 0 16px 20px;
  margin: 32px 0;
  font-size: 18px;
  font-style: italic;
  color: rgba(55, 53, 47, 0.75);
  background: rgba(55, 53, 47, 0.03);
  border-radius: 3px;
}

/* ===========================
   CARDS Y BOTONES
   =========================== */
.card {
  background: #ffffff;
  border: 1px solid rgba(55, 53, 47, 0.16);
  border-radius: 8px;
  padding: 24px;
  margin: 16px 0;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(55, 53, 47, 0.24);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: rgba(55, 53, 47, 0.75);
  margin: 12px 0 16px;
  line-height: 1.6;
}

.button {
  display: inline-block;
  padding: 8px 16px;
  background: #37352f;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button:hover {
  background: #2e2c28;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===========================
   FOOTER
   =========================== */
footer {
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid rgba(55, 53, 47, 0.09);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: rgba(55, 53, 47, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #37352f;
}

.footer-links .current-menu-item a,
.footer-links .current_page_item a,
.footer-links .current-page-ancestor a {
  color: #37352f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   CONTENT
   =========================== */
.entry-content {
  color: #37352f;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #37352f;
  margin-top: 32px;
  margin-bottom: 16px;
}

.entry-content p {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 640px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-nav {
    margin-left: 0;
    width: 100%;
  }

  .header-menu {
    flex-wrap: wrap;
    gap: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .container {
    padding: 0 16px;
  }

  .footer-links {
    align-items: center;
    gap: 0 16px;
  }
}

