/* ========================== */
/* PÁGINA DE ARCHIVOS         */
/* ========================== */

.guapacho-archive-wrap {
  max-width: 72rem;
  margin: 0 auto;
}

.guapacho-archive-intro {
  max-width: 42rem;
}

.guapacho-archive-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guapacho-archive-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* secciones destacadas */

.guapacho-featured-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .guapacho-featured-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.guapacho-featured-cat {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  padding: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guapacho-featured-cat:hover {
  border-color: #60a5fa;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

.guapacho-featured-cat-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 0.35rem;
}

.guapacho-featured-cat-count {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
}

/* calendario */

#wp-calendar {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  color: #374151;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
}

#wp-calendar caption {
  caption-side: top;
  padding: 14px 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  text-transform: capitalize;
}

#wp-calendar th,
#wp-calendar td {
  text-align: center;
  padding: 12px 10px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

#wp-calendar th:last-child,
#wp-calendar td:last-child {
  border-right: none;
}

#wp-calendar tr:last-child td {
  border-bottom: none;
}

#wp-calendar th {
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
  font-size: 13px;
}

#wp-calendar td {
  color: #334155;
  background: #ffffff;
}

#wp-calendar td.pad {
  background: #f9fafb;
}

#wp-calendar td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

#wp-calendar td a:hover {
  background: #2563eb;
  color: #ffffff;
}

#wp-calendar tfoot {
  display: none;
}

/* meses recientes */

.guapacho-archive-months {
  border-top: 1px solid #e5e7eb;
  padding-top: 18px;
  margin-top: 18px;
}

.guapacho-archive-months-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.guapacho-archive-months-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guapacho-archive-month-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.guapacho-archive-month-link:hover {
  background: #dbeafe;
  color: #1d4ed8;
}