/* ========== BLOG SECTION ========== */
.posts_grid_area {
    padding: 80px 0;
}

.posts_grid_wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
    margin-bottom: 40px;
}

/* ========== POST CARD ========== */
.post_grid_item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease;
}

.post_grid_item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

/* ========== IMAGE ========== */
.post_image_box {
    position: relative;
    overflow: hidden;
}

.post_thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.post_grid_item:hover .post_thumbnail {
    transform: scale(1.03);
}

/* ========== CATEGORY TAG (replaces date badge) ========== */
.post_category_tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #009DFF;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
}

/* ========== DATE BADGE (kept compact, moved to content) ========== */
.post_date_badge {
    display: none; /* hidden — date shown in meta instead */
}

/* ========== CONTENT BOX ========== */
.post_content_box {
    padding: 30px 30px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-top: 3px solid #009DFF;
}

.post_content_box h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.45;
    letter-spacing: -0.2px;
}

.post_content_box a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post_content_box a:hover {
    color: #009DFF;
}

.post_excerpt_text {
    color: #555;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.75;
    font-size: 15px;
}

/* ========== META ROW ========== */
.post_meta_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #999;
}

.post_meta_left {
    display: flex;
    gap: 18px;
}

.post_meta_info a {
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.post_meta_info a:hover {
    color: #009DFF;
}

.post_meta_info i {
    font-size: 12px;
}

/* Read More link */
.post_read_more {
    font-size: 13px;
    font-weight: 700;
    color: #009DFF !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease !important;
}

.post_read_more:hover {
    gap: 10px !important;
}

/* ========== TABLET - still 2 col ========== */
@media (min-width: 768px) and (max-width: 991px) {
    .posts_grid_wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    .post_thumbnail {
        height: 220px;
    }
}

/* ========== MOBILE - 1 col ========== */
@media (max-width: 767px) {
    .posts_grid_wrapper {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .post_content_box {
        padding: 22px 20px 18px;
    }
    .post_thumbnail {
        height: 220px;
    }
}


.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  background: #ffffff;
  width: 95%;
  max-width: 1000px;
  border-radius: 16px;
  padding: 40px 30px 30px;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  animation: popupScale 0.35s ease;
}

@keyframes popupScale {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.close-btn:hover {
  color: #000;
  transform: rotate(90deg);
}
.section-heading h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-marker {
  color: #ff6b35;
  font-weight: 900;
  margin-right: 6px;
}

.section-subtitle {
  font-size: 15px;
  color: #777;
  margin-bottom: 35px;
}
.event-card {
  background: #f9f9f9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}
.event-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.event-category {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin: 18px 15px 6px;
  color: #111;
}
.event-button {
  padding: 0 20px 24px;
}

.event-button a {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b35, #ff914d);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.45);
}
