.new-resources-w,
.resourceBannerContainer {
  max-width: calc(100% - 200px);
}
.new-resources-w {
  margin: 0 auto;
  padding: 100px 0;
}
.new-resources-w .page-title {
  color: #253074;
  margin-bottom: 30px;
  padding-bottom: 10px;
  font-size: 32px;
  font-weight: 600;
}
.new-resources-w .tab-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.banner-single .slide-content {
  left: unset;
}
.new-resources-w .tabs {
  display: flex;
  border: 1px solid #e5e5e5;
  padding: 5px;
  border-radius: 5px;
}
.new-resources-w .tab-btn {
  padding: 16px 20px;
  background: 0;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  color: #565656;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.new-resources-w .tab-btn:hover {
  color: #253074;
}
.new-resources-w .tab-btn.active {
  color: #fff;
  background: #253074;
  border-radius: 5px;
}
.new-resources-w .category-filter select {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  color: #495057;
  cursor: pointer;
  outline: 0;
  min-width: 120px;
}
.new-resources-w .tab-content {
  display: none;
}
.mar-btos {
  margin-bottom: 16px;
}
.new-resources-w .tab-content.active {
  display: flex;
}
.new-resources-w .card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.new-resources-w .card-grid.for-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.new-resources-w .card,
.publication-card {
  background-color: #f4f9ff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.new-resources-w .card .wrap-it-all {
  width: 100%;
}
.new-resources-w .card-date {
  color: #565656;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.new-resources-w .card-date .cal-icon-svg {
  width: 20px;
}
.new-resources-w .card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #253074;
  line-height: 1.4;
}
.new-resources-w .card-title.smaller-s {
  font-size: 18px;
  font-weight: 400;
}
.new-resources-w .card-description {
  font-size: 16px;
  color: #253074;
  line-height: 1.5;
}
.new-resources-w .card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.calendarDetails,
.videoViews {
  align-items: center;
  display: flex;
}
.new-resources-w .category-tag {
  background-color: #fff;
  border: 1px solid #253074;
  color: #253074;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.new-resources-w .card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.new-resources-w .card,
.new-resources-w .publication-card {
  padding: 20px;
}
.new-resources-w .card .card-image {
  position: relative;
  width: 100%;
  padding-top: calc(353 / 650 * 100%);
  overflow: hidden;
  margin-bottom: 16px;
}
.new-resources-w .card .card-image.for-white-img {
  padding-top: calc(283 / 344 * 100%);
  margin-bottom: 0;
}
.new-resources-w .card .card-image img,
.new-resources-w .publication-logo img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}
.new-resources-w .publication-desc {
  font-size: 18px;
  font-weight: 500;
  color: #253074;
}
.new-resources-w .publication-logo {
  position: relative;
  width: 100%;
  padding-top: calc(152 / 344 * 100%);
  overflow: hidden;
  margin-bottom: 16px;
}
.banner-single .main-heading p {
  margin-left: 0;
}
.videoSection {
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 24px 0 #0000000f;
  border-radius: 4px;
  background-color: #f4f9ff;
}
.videoSection .col-40 {
  width: 40%;
}
.videoSection .col-60 {
  width: 60%;
}
.videoRow {
  max-width: 1240px;
  margin: auto;
}
.VideoImg {
  min-height: 300px;
  height: 100%;
  width: 100%;
  position: relative;
}
.VideoImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.VideoImg .youtubeIcon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
}
.calendarDetails {
  gap: 10px;
}
.calendarDetails span {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0;
  color: #565656;
}
.descParent {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.videoDetails {
  padding: 20px 162px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 55px;
}
.videoDesc p {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0;
  color: #253074;
  transition: 0.3s ease-in-out;
}
.videoBtn a,
.videoViews span {
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
}
.videoDesc p:hover {
  text-decoration: underline;
}
.videoViews {
  gap: 8px;
}
.videoBtn a {
  max-width: 224px;
  width: 100%;
  background-color: red;
  padding: 10px 14px;
  border-radius: 57px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  color: #fff;
}
.videoViews span {
  font-weight: 500;
  color: #565656;
}
.tab-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 991px) and (max-width: 1500px) {
  .banner-single {
    min-height: 583px;
  }
  .banner-single .slide-content {
    bottom: 100px;
    left: 92px;
  }
}
@media (max-width: 992px) {
  .new-resources-w .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-single .main-heading p {
    font-size: 16px;
    line-height: 180% !important;
  }
  .new-resources-w .card-description {
    font-size: 16px;
    line-height: 180%;
    font-weight: 400;
  }
  .new-resources-w {
    max-width: calc(100% - 40px);
  }
  .banner-single .slide-content {
    left: 20px;
  }
  .banner-single .slide-content .main-heading h1::before {
    content: none;
  }
  .videoSection {
    flex-direction: column;
  }
  .videoSection .col-40,
  .videoSection .col-60 {
    width: 100%;
  }
  .VideoImg {
    min-height: unset;
  }
  .videoDetails {
    padding: 20px;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .new-resources-w .card-title {
    font-size: 18px;
  }
  .new-resources-w .card-grid,
  .new-resources-w .card-grid.for-three {
    grid-template-columns: 1fr;
  }
  .new-resources-w .tab-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .new-resources-w .category-filter {
    margin-top: 15px;
    width: 100%;
  }
  .new-resources-w .tab-btn {
    padding: 10px 16px;
  }
  .new-resources-w .category-filter select {
    width: auto;
  }
}
