.hero-section {
  
    background: linear-gradient(rgb(12 22 43 / 0%), rgb(12 22 43 / 0%)), url(https://ufg-consulting.forge99.com/wp-content/uploads/2026/03/corp-1.png) center center / cover no-repeat;
height:350px;
    min-height: 350px;
}

@media (max-width: 480px) {
 .hero-section {
    background: linear-gradient(rgb(12 22 43 / 0%), rgb(12 22 43 / 0%)), url(https://ufg-consulting.forge99.com/wp-content/uploads/2026/03/corp-1.png) center center / cover no-repeat;
    height: 270px;
    min-height: 270px;
}
    .hero-section {
        min-height: auto;
        padding: 110px 0 0;
    }
}

  .ufg-resources-section {
    padding: 70px 20px;
    background: #f5f5f5;
  }

  .ufg-resources-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .ufg-resources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .ufg-resources-title {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    color: #1e2a78;
  }

  .ufg-resources-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 500px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }

  .ufg-resources-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 16px;
    color: #333;
    background: #fff;
  }

  .ufg-resources-search input::placeholder {
    color: #8b8b8b;
  }

  .ufg-resources-search button {
    border: none;
    outline: none;
    background: #1e2a78;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 0 28px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
  }

  .ufg-resources-search button:hover {
    background: #16205c;
  }

  .ufg-resources-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 100px;
  }

  .ufg-resource-card {
    display: flex;
    align-items: stretch;
    gap: 60px;
    padding: 0 0 22px;
    border-bottom: 0px dashed #b9c7ff;
  }

  .ufg-resource-image-wrap {
    width: 360px;
    min-width: 360px;
    border-radius: 12px;
    overflow: hidden;
    background: #ddd;
    height: 180px;
    display: block;
  }

  .ufg-resource-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
  }

  .ufg-resource-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ufg-resource-card-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #3F3F3F;
    width: 100% !important;
    max-width: 100%;
  }

  .ufg-resource-card-title a {
    color: inherit;
    text-decoration: none;
  }

  .ufg-resource-card-title a:hover {
    color: #1e2a78;
  }

  .ufg-resource-excerpt {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.55;
    color: #505050;
  }

  .ufg-resource-date {
    margin: 0;
	padding-top:20px;
    font-size: 15px;
    line-height: 1.4;
    color: #8a8a8a;
  }

  .ufg-no-posts {
    padding: 30px 0;
    font-size: 18px;
    color: #555;
  }

  .ufg-pagination {
    margin-top: 40px;
  }

  .ufg-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .ufg-pagination a,
  .ufg-pagination span {
    display: inline-block;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #1e2a78;
    font-weight: 600;
  }

  .ufg-pagination .current {
    background: #1e2a78;
    color: #fff;
    border-color: #1e2a78;
  }

  /* Tablet */
  @media (max-width: 991px) {
    .ufg-resources-section {
      padding: 56px 18px;
    }

    .ufg-resources-title {
      font-size: 40px;
    }

    .ufg-resources-header {
      align-items: flex-start;
      flex-direction: column;
    }

    .ufg-resources-search {
      max-width: 100%;
    }

    .ufg-resource-card {
      gap: 18px;
    }

    .ufg-resource-image-wrap {
      width: 240px;
      min-width: 240px;
    }

    .ufg-resource-card-title {
      font-size: 26px;
    }

    .ufg-resource-excerpt {
      font-size: 16px;
    }
  }

  /* Mobile */
  @media (max-width: 767px) {
    .ufg-resources-section {
      padding: 40px 16px;
    }

    .ufg-resources-list {
      display: flex;
      flex-direction: column;
      gap: 22px;
      margin-top: 50px !important;
    }

    .ufg-resources-title {
      font-size: 30px;
    }

    .ufg-resources-header {
      gap: 16px;
      margin-bottom: 28px;
    }

    .ufg-resources-search {
      max-width: 100%;
    }

    .ufg-resources-search input {
      padding: 12px 14px;
      font-size: 14px;
    }

    .ufg-resources-search button {
      padding: 0 18px;
      font-size: 14px;
      white-space: nowrap;
    }

    .ufg-resource-card {
      flex-direction: column;
      gap: 14px;
      padding-bottom: 20px;
    }

    .ufg-resource-image-wrap {
      width: 100%;
      min-width: 100%;
    }

    .ufg-resource-image-wrap img {
      min-height: 190px;
    }

    .ufg-resource-card-title {
      font-size: 22px;
      margin-bottom: 10px;
    }

    .ufg-resource-excerpt {
      font-size: 15px;
      line-height: 1.5;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .ufg-resource-date {
      font-size: 14px;
    }
  }