/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Variables CSS para temas */
  :root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    --card-bg: #ffffff;
    --accent-color: #8b1538;
    --accent-hover: #a01a42;
    --shadow: rgba(0, 0, 0, 0.1);
  }
  
  [data-theme="dark"] {
    --bg-color: #0f0f0f;
    --text-color: #f5f5f5;
    --text-muted: #a0a0a0;
    --border-color: #333333;
    --card-bg: #1a1a1a;
    --accent-color: #c41e3a;
    --accent-hover: #d63851;
    --shadow: rgba(0, 0, 0, 0.3);
  }
  
  /* Tipografía */
  body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .gothic-title {
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
  
  /* Layout */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Header */
  .site-header {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
  }
  
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }
  
  .brand-link {
    font-family: "Cinzel", serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: 0.1em;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--accent-color);
  }
  
  /* Theme Toggle */
  .theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .theme-toggle:hover {
    background-color: var(--card-bg);
    border-color: var(--accent-color);
  }
  
  .sun-icon,
  .moon-icon {
    position: absolute;
    transition: all 0.3s ease;
  }
  
  [data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
  }
  
  [data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  
  :root .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
  }
  
  :root .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  
  /* Main Content */
  .main-content {
    padding: 2rem 0;
  }
  
  .section-title {
    font-family: "Cinzel", serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    letter-spacing: 0.05em;
  }
  
  /* Featured Article */
  .featured-section {
    margin-bottom: 4rem;
  }
  
  .featured-article {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow);
  }
  
  .featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  
  .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .featured-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .category-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    width: fit-content;
  }
  
  .article-title {
    font-family: "Cinzel", serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }
  
  .article-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  .article-meta {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  .read-more-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: fit-content;
  }
  
  .read-more-btn:hover {
    background-color: var(--accent-hover);
  }
  
  /* Articles Grid */
  .articles-section {
    margin-bottom: 4rem;
  }
  
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .article-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px var(--shadow);
  }
  
  .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-title {
    font-family: "Cinzel", serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
  
  .card-title a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
  }
  
  .card-title a:hover {
    color: var(--accent-color);
  }
  
  .card-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
  
  .card-date {
    color: var(--text-muted);
    font-size: 0.875rem;
  }
  
  /* Gothic Border Effect */
  .gothic-border {
    position: relative;
    border: 1px solid var(--border-color);
  }
  
  .gothic-border::before,
  .gothic-border::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--border-color);
    opacity: 0.6;
    z-index: 1;
  }
  
  .gothic-border::before {
    top: -6px;
    left: -6px;
    border-right: none;
    border-bottom: none;
  }
  
  .gothic-border::after {
    bottom: -6px;
    right: -6px;
    border-left: none;
    border-top: none;
  }
  
  /* Footer */
  .site-footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .footer-links {
    display: flex;
    gap: 2rem;
  }
  
  .footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--accent-color);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav {
      flex-wrap: wrap;
      gap: 1rem;
    }
  
    .nav-links {
      order: 3;
      width: 100%;
      justify-content: center;
      gap: 1rem;
    }
  
    .featured-content {
      grid-template-columns: 1fr;
    }
  
    .articles-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-content {
      flex-direction: column;
      text-align: center;
    }
  
    .section-title {
      font-size: 1.5rem;
    }
  
    .article-title {
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 0 15px;
    }
  
    .featured-text {
      padding: 1.5rem;
    }
  
    .card-content {
      padding: 1rem;
    }
  }
  