/* ─── Blog Articles Section ─── */
.insight-blog {
    padding: 0 20px 4rem;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .insight-blog__heading {
    font-size: 2rem;
    color: #00d4ff;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* ─── Filters and Search ─── */
  .insight-blog__tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .insight-search input[type="search"] {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    background-color: #002b5b;
    color: #d1f0ff;
    outline: none;
    min-width: 200px;
  }
  
  .insight-search button {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    background-color: #00d4ff;
    border: none;
    border-radius: 8px;
    color: #001a33;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .insight-search button:hover {
    background-color: #00b8e6;
  }
  
  /* ─── Category Dropdown Styles ─── */
  .insight-category-dropdown {
    position: relative;
    display: inline-block;
  }

  .insight-category-dropdown .dropdown-toggle {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    background-color: #003566;
    border: none;
    border-radius: 8px;
    color: #d1f0ff;
    cursor: pointer;
    min-width: 140px;
    text-align: left;
    transition: background-color 0.3s ease;
  }

  .insight-category-dropdown .dropdown-toggle:hover,
  .insight-category-dropdown .dropdown-toggle:focus {
    background-color: #00b8e6;
    color: #001a33;
    outline: none;
  }

  .insight-category-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    background-color: #003566;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    min-width: 140px;
    z-index: 10;
  }

  .insight-category-dropdown.open .dropdown-menu {
    display: block;
  }
  

  .insight-category-dropdown .dropdown-item {
    display: block;
    padding: 0.6rem 1rem;
    color: #d1f0ff;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
  }

  .insight-category-dropdown .dropdown-item:hover,
  .insight-category-dropdown .dropdown-item.active {
    background-color: #00d4ff;
    color: #001a33;
    font-weight: bold;
  }
  
  /* ─── Grid layout ─── */
  .insight-blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, auto));
    justify-content: center;
    gap: 1rem;
  }
  
  /* ─── Card container ─── */
  .blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #002b5b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 360px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  }
  
  .blog-card__image,
  .blog-card__body,
  .blog-card__meta {
    pointer-events: none;
  }
  
  .blog-card__image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
  }
  .blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* ─── Filters and Category Tags (if still needed) ─── */
  .insight-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .insight-category-tags .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #003566;
    color: #d1f0ff;
    border-radius: 999px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .insight-category-tags .tag:hover {
    background: #00b8e6;
    color: #001a33;
  }
  
  .insight-category-tags .tag.active {
    background: #00d4ff;
    color: #001a33;
    font-weight: bold;
    border-color: #00a8cc;
  }
  
  .blog-card__body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .blog-card__date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
  }
  .blog-card__title {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
  }
  .blog-card__title a {
    color: #00d4ff;
    text-decoration: none;
  }
  .blog-card__excerpt {
    flex: 1;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
  }
  
  .blog-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
  }
  .blog-card__author {
    font-style: italic;
  }
  .blog-card__comments,
  .blog-card__likes {
    display: flex;
    align-items: center;
  }
  .blog-card__comments .dashicons,
  .blog-card__likes .dashicons {
    margin-right: 0.25rem;
    vertical-align: middle;
  }
  
    /* ─── Icon Colors ─── */
  /* Comment icon = blue */
  .blog-card__comments .dashicons-admin-comments {
    color: #007aff;
  }

  /* Heart icon = red */
  .blog-card__likes .dashicons-heart {
    color: #e74c3c;
  }
    /* ─── Pagination ─── */
  .insight-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .insight-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background-color: #003566;
    color: #d1f0ff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
  }
  
  .insight-pagination .page-numbers.current,
  .insight-pagination .page-numbers:hover {
    background-color: #00d4ff;
    color: #001a33;
  }
  
  /* ─── Archive Link ─── */
/* ─── Modernized Archive Button ─── */
.insight-archive-link {
    text-align: center;
    margin-top: 2rem;
  }
  
  .insight-archive-link a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #00d4ff;
    color: #001a33;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .insight-archive-link a:hover {
    background-color: #00b8e6;
    transform: translateY(-2px);
  }
  
  
  /* ─── Responsive tweaks ─── */
  @media (max-width: 600px) {
    .insight-blog__grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .insight-blog__tools {
      flex-direction: column;
      align-items: stretch;
    }
  
    .insight-search input[type="search"],
    .insight-filter select,
    .insight-search button,
    .insight-category-dropdown .dropdown-toggle {
      width: 100%;
    }
  }
