  /* --- OVERLAP FLEX LAYOUT (Same as Ministry) --- */
  .event-flex {
    display: flex;
    gap: 50px;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.07);
    margin-top: -80px; /* Floating overlap */
    position: relative
  }

  .main-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    line-height: 0;
  }

  .main-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
  }

  .content-area {
    flex: 1.2;
  }

  .badge {
    color: #ff5e14;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
  }

  /* --- INFO BOX --- */
  .meta-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #ff5e14;
    margin: 30px 0;
  }
.meta {
        font-size: 1.2rem;
    color: #ff5e14;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}
  .meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    /* font-size: 1.05rem; */
  }

  .meta-item:last-child { margin-bottom: 0; }

  .meta-item i {
    color: #ff5e14;
    /* font-size: 1.4rem; */
  }

  .event-description {
    line-height: 1.9;
    /* color: #555; */
  }


.title {
    font-weight: 800;
    color: #222;
    margin-bottom: 12px;
   
}
.excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
  }
  /* RESPONSIVE */
  @media (max-width: 991px) {
    .single-flex {
      flex-direction: column;
      padding: 30px 20px;
      margin-top: -40px;
    }
   
  }


  /* --- GRID CONTAINER OVERLAP --- */
  .grid-container {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    margin-top: -60px; /* Overlap effect */
    position: relative;
    z-index: 2;
  }

  /* --- FORCED SYMMETRY GRID --- */
  .row-custom {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
  }

  .col-custom {
    padding: 15px;
    flex: 0 0 33.333%; /* Forced 3 columns */
    max-width: 33.333%;
    display: flex;
  }

  /* --- FULL CLICKABLE CARD --- */
  .card-link {
    text-decoration: none !important;
    display: block;
    width: 100%;
    color: inherit;
  }

  .card-custom {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #ff5e14;
  }

  /* IMAGE SIZE NORMALIZATION */
  .card-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* Perfect rectangular ratio */
    overflow: hidden;
    position: relative;
  }

  .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    object-position: top center;
  }
  .card-image img.image-center {

    object-position: center center;

  }

  .card-custom:hover .card-image img {
    transform: scale(1.08);
  }

  .card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .metas-custom {
    color: #ff5e14;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .metas-custom span {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 1.5rem;
  }

  .btn-read-more {
    margin-top: auto;
    color: #ff5e14;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: margin-left 0.3s ease;
  }

  .card-custom:hover .btn-read-more span {
    margin-left: 12px !important;
  }


.hero-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    margin-top: -80px; /* Overlap with banner for modern look */
    position: relative;
    z-index: 2;
  }

  .hero-image {
    flex: 1.2;
    border-radius: 15px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }

  .hero-text {
    flex: 1;
  }

.col-custom a:hover{
    color: inherit;
}

.btn-orange {
    background: #ff5e14;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    padding: 12px;
  font-size: 1.6rem;

  }
.btn-orange:hover {
    background: #b53d06;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    padding: 12px;
  }

.pagination {
  display: flex;
  font-size: 3rem;
}

@media screen and (min-width: 56.3125em) {
  .pagination {
    font-size: 2rem;
  }
}

.pagination span {
  margin: 0 0.5rem;
  width: 4.5rem;
  height: 4.5rem;
  color: #274f73;
  cursor: pointer;
  border: 0.2rem solid #274f73;
  transition: all 0.3s ease-out;
}

.pagination span a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.pagination span:hover {
  border-color: #ead94c;
  color: #ead94c;
}

.pagination span.active {
  background-color: #ead94c;
  border-color: #ead94c;
}

.pagination span.active a {
  color: #ffffff;
}

.pagination .pagination__arrow:hover {
  background-color: transparent;
}

  /* RESPONSIVE */
@media (max-width: 991px) {
    .col-custom { flex: 0 0 50%; max-width: 50%; }
    .grid-container { margin-top: -45px; padding: 30px 20px; }
    .event-flex {
      flex-direction: column;
      padding: 30px 20px;
      margin-top: -40px;
    }
    .ministry-hero-flex {
      flex-direction: column;
      margin-top: 20px;
    }
    .ministry-hero-image img {
      height: 300px;
    }
    .detail-container { padding: 20px; margin-top: -40px; }
    iframe { height: 300px !important; }
  }
  
  @media (max-width: 767px) {
    .col-custom { flex: 0 0 100%; max-width: 100%; }
  }

 