/* --- BASE LAYOUT --- */
.multicolumn {
  margin: 5rem 0;
}

.multicolumn .title {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  color: #111;
}

.blog-subtitle {
  text-align: center;
  color: #666;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.center { text-align: center; }

/* --- CARD STYLING (Figma Match) --- */
.blog-card {
  background: #fff;
  border-radius: 16px; /* Rounded corners */
  overflow: hidden;
  border: 1px solid #e5e7eb; /* Subtle gray border */
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Light shadow */
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Hover Effect: Lift and Deep Shadow */
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: transparent;
}

/* --- IMAGE AREA --- */
.blog-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background-color: #f3f4f6;
}

.blog-card__image-wrapper .media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Image Zoom on Hover */
.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

/* --- CATEGORY TAG --- */
.blog-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: #004EA8; /* Pikalula Blue */
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 2;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* --- CONTENT AREA --- */
.blog-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Meta: Date & Read Time */
.blog-card__meta {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #6b7280; /* Gray-500 */
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-card__separator {
  margin: 0 8px;
}

/* Title */
.blog-card__title {
  margin: 0 0 12px 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #111827;
}

.blog-card__title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.blog-card:hover .blog-card__title a {
  color: #004EA8; /* Blue on hover */
}

/* Description */
.blog-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563; /* Gray-600 */
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes button down */
}

/* Read More Link */
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #004EA8;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.blog-card__link svg {
  width: 16px;
  height: 16px;
}

.blog-card__link:hover {
  gap: 10px; /* Arrow moves slightly */
  text-decoration: underline;
}

/* --- BUTTONS & SLIDER --- */
.blog-btn-margin-top {
  margin-top: 3rem;
}

.blog-view-all-btn {
  border: 2px solid #004EA8;
  background: transparent;
  color: #004EA8;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.blog-view-all-btn:hover {
  background: #004EA8;
  color: #fff;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 749px) {
  .multicolumn-list {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .blog-card__title {
    font-size: 18px;
  }
}

@media screen and (min-width: 750px) {
  .multicolumn-list.slider {
    padding: 0;
  }
  .grid--3-col-tablet .grid__item {
    width: 33.33%;
    padding: 0 12px; /* Spacing between cards */
  }
  .multicolumn-list {
    margin-left: -12px;
    margin-right: -12px;
  }
}
