body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
  }
  
  .error-message {
      color: #dd0909;
      font-size: 14px;
      margin-top: 5px;
  }

  h5,
  h6 {
    font-weight: 600;
  }
  
  .card {
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  /* .card img {
    border-radius: 8px 8px 0 0;
  } */
  
  .card-title {
    font-size: 18px;
  }
  
  .card-text {
    color: #000;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
  }
  
  .username {
    margin-left: 10px;
    color: #747474;
    font-style: normal;
    font-weight: 500;
    line-height: 30px; /* 230.769% */
  }
  
  .custom-text-muted {
    color: #000;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 1.56px;
  }
  
  .article-image{
    width: 100%;
    height: 285px;
  }

  .text-primary-title {
    color: #000;
    font-style: normal;
    font-weight: 500;
    line-height: 33px; /* 150% */    
    display: inline-flex;
    align-items: center;
  }

  .title-clamp {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
      line-clamp: 1;
      overflow: hidden;
      text-overflow: ellipsis;
  }
  
  .text-primary-title {
    text-decoration: none;
  }
  
  .icon {
    width: 24px;
    height: 24px;
  }
  
  .share-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
  }
  
  .metadata {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .metadata .divider {
    width: 1px;
    height: 16px;
    background-color: #909090;
    margin: 0 10px;
  }
  
  .card-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .card-footer .username {
    display: flex;
    align-items: center;
  }
  
  .card-footer .username img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }
  
  .trending-article {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 18px;
  }
  
  .trending-article:last-child {
    border-bottom: none;
  }
  
  .trending-article img {
    width: 184px;
    height: 102px;
    border-radius: 0;
  }
  
  .trending-content {
    flex: 1;
  }

  .trending-content h6 {
    color: #000;
    font-family: 'Poppins';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    margin-bottom: 8px;
  }
  
  .trending-content-description {
    color: #505050;
    font-family: 'Poppins';
    font-weight: 400;
    font-style: normal;
    line-height: normal;
  }
  
  .trending-content .date-and-read {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
  }
  
  .trending-content .time-read {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .trending-content .read-icon {
    width: 12px;
    height: 12px;
    margin-right: 4px;
  }
  
  .trending-content .small {
    font-size: 12px;
    font-family: 'Poppins';
    color: #505050;
    font-weight: 300;
    font-style: normal;
    line-height: normal;
  }
  
  .header-metadata {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .find-us-on {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .find-us-on .title {
    font-weight: 400;
    line-height: 24px;
    color: #0b0b0b;
  }
  
  .social-icons {
    display: flex;
    gap: 25px;
  }
  
  .social-icons img {
    width: 20px;
    height: 20px;
  }
  
  .subscribe {
    margin-top: 40px;
    text-align: left;
  }
  
  .subscribe h5 {
    margin-bottom: 20px;
    color: #000;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  
  .subscribe p {
    color: #000;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
  }
  
  .subscribe-form-article {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    background-color: #f0f0f0;
  }
  
  .subscribe-form-article input[type="email"] {
    flex: 1;
    border: none;
    background-color: transparent;
    font-size: 14px;
  }
  
  .subscribe-form-article button {
    padding:7px 15px !important;
    border: none;
    background-color: #0040c3;
    color: white;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 400;
  }
  
  .subscribe-form-article input[type="email"]:focus,
  .subscribe-form-article button:focus {
    outline: none;
  }
  
  .subscribe-form-article input[type="email"]::placeholder {
    color: #999;
  }
  
  .instagram-section {
    width: 100%;
    max-width: 1225px;
    text-align: center;
  }
  
  .instagram-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 120%;
    color: #0e0e0e;
    margin-bottom: 20px;
  }
  
  .instagram-section p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 140%;
    color: #505050;
    max-width: 1090px;
    margin: 0 auto 50px;
  }
  
  .instagram-images {
    display: flex;
    justify-content: space-between;
  }
  
  .instagram-images img {
    width: calc(25% - 10px);
    height: 100%;
    object-fit: cover;
  }
  
  .all-articles-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #000000;

    text-align: center;
  }
  
  .category {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    padding: 0;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
  }
  
  .category.active {
    color: #0040c3;
    border-bottom-color: #0040c3;
  }

  .line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #000;
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
  line-height: normal;
}

.read-more-button {
  text-decoration: none;
  color: #0040C3;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 230.769% */
}

.pagination .page-link {
  font-size: 14px;
  border: none;
  box-shadow: none;
}

.trending-content-title{
  color: #000;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
}

/* Laptop/tablet specific styles */
@media screen and (max-width: 1024px) {
  .custom-text-muted {
    line-height: 15px;
    letter-spacing: -0.5px;
  }
  .date-and-read {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    width: 100%;
  }
  
  .time-read {
    white-space: nowrap;
  }
  
  .read-icon {
    min-width: 12px;
  }

  
}

/* Define a media query for mobile devices */
@media screen and (max-width: 480px) {
  .custom-text-muted {
    line-height: 30px;
    letter-spacing: 1.56px;
  }

  .card-text {
    line-height: 18px;
    font-size: 12px !important;
  }

  .username {
    line-height: 20px;
    font-size: 11px !important;
  }

  .read-more-button{
    font-size: 11px !important;
  }

  .trending-article-title{
    font-size: 14px !important;
  }

  .trending-article-description{
    font-size: 11px !important;
  }

  .find-us-on .title {
    font-size: 14px !important;
  }

  .subscribe h5 {
    font-size: 14px !important;
  }

  .subscribe p {
    font-size: 12px !important;
  }

  .subscribe-form-article button {
    padding:10px 15px !important;
  }

  .subscribe-form-article input[type="email"]{
    font-size: 12px !important;
  }

  .subscribe-form-article button {
    font-size: 12px !important;
  }
}

/* Define a media query for tablets */
@media screen and (min-width: 481px) and (max-width: 768px) {

}

/* Define a media query for desktop devices */
@media screen and (min-width: 769px) {
  
}

.card-wrapper {
  position: relative;
}
.hover-effect {
  transition: transform 0.2s ease;
  cursor: pointer;
}
.hover-effect:hover {
  transform: translateY(-5px);
}

.video-section {
    margin-bottom: 30px;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

.video-placeholder {
    width: 100%;
    height: 480px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Update media queries to handle responsive behavior */
@media screen and (max-width: 1400px) {
    .video-section {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .video-placeholder {
        height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .video-placeholder {
        height: 240px;
    }
}

.video-section + .row {
    margin-top: 3%;

}
@media screen and (max-width: 1200px) and (min-width: 769px) {
  .article-image {
      width: 100%;
      height: 165px; 
      object-fit: fill;
  }

  .custom-text-muted {
    letter-spacing: normal;
  }
}

@media screen and (max-width: 1301px) and (min-width: 1201px) {
  .article-image {
      width: 100%;
      height: 200px;
      object-fit: fill;
  }
}