/* UpdatePress Archive Page Styles */
.updatepress-archive-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;           /* side padding for small screens */
    font-family: inherit;      /* use theme font */
    color: #333;
  }
  
  /* Archive Title */
  .updatepress-archive-container .updatepress-header h1 {
    font-size: 2rem;           /* 32px base */
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  /* Reset the list */
  .updatepress-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  /* Each item as a “card” */
  .updatepress-item {
    position: relative;        /* for absolute meta */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 20px;
    overflow: hidden;          /* contains any floats, if you still had them */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .updatepress-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }
  
  /* Tag badge */
  .updatepress-item .update-tag {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 0.75rem;        /* 12px */
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
  }
  
  /* Title */
  .updatepress-item h2 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;       /* 18px */
    color: #333;
  }
  
  /* Meta (date, etc.) */
  .updatepress-item .updatepress-meta {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.875rem;       /* 14px */
    color: #999;
  }
  
  /* Excerpt / Summary */
  .updatepress-item p {
    margin: 0 0 1rem;
    font-size: 0.875rem;       /* 14px */
    line-height: 1.6;
    color: #555;
  }
  
  /* Emoji sizing */
  .emoji {
    font-size: 1.25rem;         /* ~20px */
    vertical-align: middle;
    margin-right: 4px;
  }
  
  /* Pagination */
  .updatepress-pagination {
    text-align: center;
    margin-top: 30px;
  }
  .updatepress-pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
  }
  .updatepress-pagination a:hover,
  .updatepress-pagination a:focus {
    background: #f0f0f0;
    outline: none;
  }
  
  /* Mobile adjustments */
  @media (max-width: 500px) {
    .updatepress-archive-container {
      padding: 0 10px;
    }
    .updatepress-item {
      padding: 15px;
    }
    /* Move meta below the header on small screens */
    .updatepress-item .updatepress-meta {
      position: static;
      display: block;
      margin-top: 8px;
      text-align: right;
    }
  }
  