.vl-blog-1-area{background-color:#EFF1FF;padding: 40px 0px;}
.vl-blog-1-area .vl-blog-1-item {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 30px;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-thumb {
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.4s;
  position: relative;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-thumb img {
  height: 350px;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.4s;
}
.vl-blog-1-area .vl-blog-1-item:hover .vl-blog-1-thumb img {
  transform: scale(1.1) rotate(-4deg);
  transition: all 0.4s;
  filter: grayscale(1);
}

.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content {
  position: absolute;
  z-index: 2;
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  bottom: 24px;
  left: 32px;
  right: 36px;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content ul li {
  display: inline-block;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content ul li a {
  color: #050734;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight:600;
  line-height: 18px;
  display: inline-block;
  transition: all 0.4s;
}

.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content ul li a img {
  margin: -5px 4px 0 0;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content ul li a span {
  color: #E6E6EB;
  display: inline-block;
  margin: 0 8px 0;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content h4 a {
  color: #4e32b1;
  font-family: "Poppins", sans-serif;
  font-size: 23px; 
  font-style: normal;
  font-weight:600;
  line-height: 30px;
  display: inline-block;
  transition: all 0.4s;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content p {
  color: #37385C;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content .vl-blog-1-icon {
  position: absolute;
  right: -20px;
  top: -20px;
}

.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content .vl-blog-1-icon a {
  height: 56px;
  width: 56px;
  text-align: center;
  line-height: 56px;
  border-radius: 50%;
  transition: all 0.4s;
  background: linear-gradient(90deg, #2E0797 0%, #726EFC 100%);
  color: #fff;
  display: inline-block;
  font-size: 24px;
  transform: rotate(-45deg);
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content .vl-blog-1-icon a {
  text-align: center;
  line-height: 56px;
  color: #fff;
  font-size:24px;
}




@media (min-width:320px) and (max-width:640px) {
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content p {
  color: #37385C;
  font-family: "Poppins", sans-serif;
  font-size: 14px !important;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;text-align: justify;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content h4 a { 
  font-size: 18px; 
  font-weight: 600;
  line-height: 20px; 
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content { 
  padding: 12px 12px; 
  bottom: 10px;
  left: 15px;
  right: 15px;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content ul li a {
  color: #050734;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  display: inline-block;
  transition: all 0.4s;
}
    .vl-blog-1-area .vl-blog-1-item .vl-blog-1-content .vl-blog-1-icon a { 
  line-height: 43px; 
  font-size: 19px;
}
.vl-blog-1-area .vl-blog-1-item .vl-blog-1-content .vl-blog-1-icon a {
  height: 40px;
  width: 40px; 
  line-height: 56px; 
  font-size: 24px; 
}
}

/* ==========================================================================
   Modern Blog Card Design System (Shared across blog.php and index.php)
   ========================================================================== */
.home-blog-section {
    background-color: #f8fafc;
    padding: 60px 0 65px 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
}

.home-blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.home-blog-badge {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.home-blog-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.home-blog-subtitle {
    color: #64748b;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

.blog-card-col {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 28px;
    display: flex;
}

/* Modern Blog Card */
.modern-blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modern-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 28px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    border-color: #cbd5e1;
}

/* Card Media & Badges */
.blog-card-media {
    position: relative;
    width: 100%;
    height: 205px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.modern-blog-card:hover .blog-card-img {
    transform: scale(1.06);
}

.blog-date-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    border-radius: 8px;
    padding: 5px 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 2;
    min-width: 44px;
    line-height: 1;
}

.blog-date-chip .chip-day {
    font-size: 16px;
    font-weight: 700;
    display: block;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.blog-date-chip .chip-my {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-top: 3px;
    display: block;
    font-weight: 600;
}

.blog-cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(2, 132, 199, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
    z-index: 2;
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-cat-badge i {
    margin-right: 4px;
    font-size: 9px;
}

/* Card Body */
.blog-card-body {
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta span i {
    color: #94a3b8;
    font-size: 12px;
}

/* Post Title Form & Button */
.blog-title-form {
    margin: 0 0 8px 0;
    padding: 0;
}

.blog-title-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    cursor: pointer;
    color: #0f172a;
    font-family: 'Poppins', sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.blog-title-btn:hover {
    color: #0284c7;
    text-decoration: none;
}

/* Excerpt */
.blog-card-excerpt {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

/* Card Footer */
.blog-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-read-form {
    margin: 0;
    padding: 0;
}

.blog-read-btn {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0284c7;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.blog-read-btn i {
    transition: transform 0.2s ease;
    font-size: 11px;
}

.blog-read-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.blog-read-btn:hover i {
    transform: translateX(3px);
}

.blog-bookmark-icon {
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.2s ease;
}

.modern-blog-card:hover .blog-bookmark-icon {
    color: #94a3b8;
}

/* View All CTA Button */
.blog-viewall-container {
    text-align: center;
    margin-top: 15px;
}

.blog-viewall-btn {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.blog-viewall-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
    color: #ffffff !important;
}

.blog-viewall-btn i {
    transition: transform 0.2s ease;
    font-size: 13px;
}

.blog-viewall-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .home-blog-section {
        padding: 40px 0 45px 0;
    }
    .home-blog-title {
        font-size: 24px;
    }
    .home-blog-subtitle {
        font-size: 13.5px;
    }
    .blog-card-media {
        height: 185px;
    }
}