  /* ========== ESTILOS GENERALES DEL BLOG ========== */
  .am-blog-landing {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 1.5rem 3rem;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
  }

  /* ========== HERO ========== */
  .am-blog-hero {
    background: linear-gradient(145deg, #0d1b2a, #1b3a4b);
    color: #f0f6fc;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .am-blog-hero::after {
    content: "✍️";
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 12rem;
    opacity: 0.06;
    transform: rotate(-10deg);
  }
  .am-blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    letter-spacing: -0.5px;
  }
  .am-blog-hero h1 span {
    color: #f4a261;
  }
  .am-blog-hero p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto 0.5rem;
  }
  .am-blog-hero .hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.7;
    margin-top: 1rem;
  }
  .am-blog-hero .hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  /* ========== FILTROS ========== */
  .am-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2.5rem;
    justify-content: center;
  }
  .am-blog-filters .filter-btn {
    background: #f0f4f8;
    border: none;
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a4a6a;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .am-blog-filters .filter-btn:hover {
    background: #e0e8f0;
    transform: translateY(-1px);
  }
  .am-blog-filters .filter-btn.active {
    background: #0d1b2a;
    color: #fff;
  }

  /* ========== GRID DE ARTÍCULOS ========== */
  .am-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  /* ========== TARJETA DE ARTÍCULO ========== */
  .am-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #edf0f7;
    display: flex;
    flex-direction: column;
  }
  .am-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  }

  /* Imagen / ícono de la tarjeta */
  .am-blog-card-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: #f8faff;
    color: #f4a261;
    border-bottom: 1px solid #edf0f7;
    position: relative;
  }
  .am-blog-card-image .card-number {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(13,27,42,0.08);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6c6c8a;
    letter-spacing: 0.5px;
  }
  .am-blog-card-image .card-badge {
    position: absolute;
    bottom: 12px;
    left: 16px;
    background: #0d1b2a;
    color: #fff;
    padding: 0.2rem 0.9rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Contenido de la tarjeta */
  .am-blog-card-body {
    padding: 1.5rem 1.5rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .am-blog-card-body .card-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #f4a261;
    margin-bottom: 0.4rem;
  }
  .am-blog-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #0d1b2a;
    line-height: 1.3;
  }
  .am-blog-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .am-blog-card-body h3 a:hover {
    color: #f4a261;
  }
  .am-blog-card-body .card-excerpt {
    font-size: 0.9rem;
    color: #5a5a7a;
    margin: 0 0 0.8rem;
    flex: 1;
    line-height: 1.5;
  }
  .am-blog-card-body .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #8a8aaa;
    border-top: 1px solid #edf0f7;
    padding-top: 0.8rem;
    margin-top: auto;
  }
  .am-blog-card-body .card-meta .tools-count {
    background: #f0f4f8;
    padding: 0.15rem 0.7rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.7rem;
    color: #4a4a6a;
  }
  .am-blog-card-body .read-more {
    font-weight: 600;
    color: #0d1b2a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
  }
  .am-blog-card-body .read-more:hover {
    color: #f4a261;
  }
  .am-blog-card-body .read-more i {
    transition: transform 0.2s;
  }
  .am-blog-card-body .read-more:hover i {
    transform: translateX(4px);
  }

  /* ========== SIDEBAR (opcional) ========== */
  .am-blog-layout {
    
    gap: 2.5rem;
  }
  .am-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .am-blog-sidebar .sidebar-card {
    background: #f8faff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #edf0f7;
  }
  .am-blog-sidebar .sidebar-card h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #4a4a6a;
    margin: 0 0 1rem;
  }
  .am-blog-sidebar .sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .am-blog-sidebar .sidebar-card ul li {
    margin-bottom: 0.5rem;
  }
  .am-blog-sidebar .sidebar-card ul li a {
    color: #1a1a2e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .am-blog-sidebar .sidebar-card ul li a:hover {
    color: #f4a261;
  }
  .am-blog-sidebar .sidebar-card ul li .cat-count {
    background: #edf0f7;
    padding: 0.05rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    color: #6c6c8a;
    margin-left: auto;
  }
  .am-blog-sidebar .sidebar-card .featured-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #edf0f7;
  }
  .am-blog-sidebar .sidebar-card .featured-item:last-child {
    border-bottom: none;
  }
  .am-blog-sidebar .sidebar-card .featured-item .fi-icon {
    font-size: 1.4rem;
    color: #f4a261;
    flex-shrink: 0;
  }
  .am-blog-sidebar .sidebar-card .featured-item .fi-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.1rem;
  }
  .am-blog-sidebar .sidebar-card .featured-item .fi-title a {
    color: #0d1b2a;
    text-decoration: none;
  }
  .am-blog-sidebar .sidebar-card .featured-item .fi-title a:hover {
    color: #f4a261;
  }
  .am-blog-sidebar .sidebar-card .featured-item .fi-cat {
    font-size: 0.7rem;
    color: #8a8aaa;
  }

  /* ========== NEWSLETTER (opcional) ========== */
  .am-blog-newsletter {
    background: #f0f4f8;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
  }
  .am-blog-newsletter h3 {
    font-size: 1.3rem;
    margin: 0 0 0.3rem;
  }
  .am-blog-newsletter p {
    color: #5a5a7a;
    margin: 0 0 1rem;
    font-size: 0.95rem;
  }
  .am-blog-newsletter .newsletter-form {
    display: flex;
    max-width: 420px;
    margin: 0 auto;
    gap: 0.5rem;
  }
  .am-blog-newsletter .newsletter-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #d0d7de;
    border-radius: 30px;
    font-size: 0.9rem;
    outline: none;
  }
  .am-blog-newsletter .newsletter-form input:focus {
    border-color: #f4a261;
  }
  .am-blog-newsletter .newsletter-form button {
    background: #0d1b2a;
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
  }
  .am-blog-newsletter .newsletter-form button:hover {
    background: #f4a261;
  }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 900px) {
    .am-blog-layout {
      grid-template-columns: 1fr;
    }
    .am-blog-sidebar {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 1.5rem;
    }
  }
  @media (max-width: 600px) {
    .am-blog-hero h1 { font-size: 2rem; }
    .am-blog-hero { padding: 2rem 1.5rem; }
    .am-blog-grid { grid-template-columns: 1fr; }
    .am-blog-newsletter .newsletter-form { flex-direction: column; }
    .am-blog-newsletter .newsletter-form button { width: 100%; }
    .am-blog-hero .hero-meta { gap: 1rem; font-size: 0.8rem; }
  }
