.wp-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 3fr));
    gap: 20px;
    padding: 10px 0;
    max-width: 100%;
}

/* Individual Post Card Card Setup */
.grid-post-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Image Formatting */
.post-card-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Card Content Details */
.post-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-date {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.post-card-title {
    font-size: 1.35rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.post-card-title a {
    color: #222222;
    text-decoration: none;
}

.post-card-title a:hover {
    color: #0073aa; /* Default WordPress Blue */
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read More Button Link styling */
.post-card-permalink {
    margin-top: auto;
    font-weight: bold;
    color: #0073aa;
    text-decoration: none;
    font-size: 0.9rem;
}

.post-card-permalink:hover {
    text-decoration: underline;
}

/* Pagination container */
.wp-grid-pagination {
    text-align: center;
    margin-top: 40px;
}
 .wp-grid-pagination a{
    display: inline-block;
    padding: 8px 16px;
    min-width: 40px;
    height: 40px;
    line-height: 24px;
    text-decoration: none;
    color: #333333;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}
/* CSS Styling */
.cta-button {
  /* Layout & Sizing */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  
  /* Typography */
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  
  /* Aesthetics */
  background-color: #0066cc;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
  
  /* Animation */
  transition: all 0.25s ease;
  cursor: pointer;
}

/* Hover State */
.cta-button:hover {
  background-color: #0052a3;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
  transform: translateY(-2px);
}

/* Active/Click State */
.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

/* Arrow Icon Animation */
.cta-arrow {
  transition: transform 0.25s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}
    