.wgm-blogs {
  --wgm-blogs-blue: var(--wgm-theme-navy, #12364f);
  --wgm-blogs-yellow: var(--wgm-theme-accent, #ffc815);
  --wgm-blogs-white: #ffffff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 88px 0 78px;
  font-family: "Inter", sans-serif;
  background: var(--wgm-blogs-blue);
}

.wgm-blogs::before {
  position: absolute;
  top: 0;
  right: max(20px, calc((100% - 1300px) / 2));
  width: 210px;
  height: 7px;
  content: "";
  background: var(--wgm-blogs-yellow);
}

.wgm-blogs::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  content: "";
  background: rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.wgm-blogs__container,
.wgm-blogs__carousel-row,
.wgm-blogs__carousel-column {
  position: relative;
  z-index: 2;
}

.wgm-blogs__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.wgm-blogs__featured {
  min-width: 0;
  padding-top: 16px;
}

.wgm-blogs__featured-item,
.wgm-blogs__featured-item > a {
  display: block;
  width: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.wgm-blogs__supporting {
  min-width: 0;
}

.wgm-blogs .wgm-blogs__supporting .wgm-blogs__carousel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wgm-blogs .wgm-blogs__supporting .wgm-blogs__carousel .item {
  display: flex;
  min-width: 0;
  height: auto;
}

.wgm-blogs .wgm-blogs__supporting .wgm-blogs__carousel:not([data-wgm-blogs-ready]) .item:nth-child(n + 5) {
  display: none !important;
}

.wgm-blogs .wgm-blogs__supporting .wgm-blogs__carousel .item[hidden] {
  display: none !important;
}

.wgm-blogs .wgm-blogs__supporting .wgm-blogs__carousel .item > a {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.wgm-blogs__header-row {
  margin-bottom: 34px;
}

.wgm-blogs__header {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 108px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.wgm-blogs__heading {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 0 25px 24px;
  color: var(--wgm-blogs-white);
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: left;
}

.wgm-blogs__heading::before {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 7px;
  height: 43px;
  content: "";
  background: var(--wgm-blogs-yellow);
}

.wgm-blogs__heading span {
  color: inherit;
}

.wgm-blogs__watermark {
  position: absolute;
  right: 0;
  bottom: 7px;
  color: rgba(255, 255, 255, 0.045);
  font-family: "Manrope", sans-serif;
  font-size: clamp(68px, 8.5vw, 124px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}

.wgm-blogs .wgm-blogs__carousel .owl-stage {
  display: flex;
  padding: 16px 0 50px;
}

.wgm-blogs .wgm-blogs__carousel .owl-item {
  display: flex;
  height: auto;
}

.wgm-blogs .wgm-blogs__carousel .item {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
}

.wgm-blogs .wgm-blogs__carousel .item > a {
  display: block;
  width: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.wgm-blogs .card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 430px;
  overflow: hidden;
  background: var(--wgm-blogs-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0 24px 0 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.wgm-blogs .card:hover {
  border-color: var(--wgm-blogs-yellow);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.28);
  transform: translateY(-7px);
}

.wgm-blogs .wgm-blogs__featured .card {
  height: 610px;
}

.wgm-blogs .wgm-blogs__featured .card::before {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  padding: 9px 13px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.11em;
  content: "LATEST ARTICLE";
  background: var(--wgm-blogs-yellow);
  border-radius: 3px;
}

.wgm-blogs .wgm-blogs__featured .card-image {
  flex-basis: 402px;
  height: 402px;
}

.wgm-blogs .wgm-blogs__featured .card-content {
  padding-top: 26px;
  padding-right: 32px;
  padding-left: 32px;
}

.wgm-blogs .wgm-blogs__featured .card-content .card-title {
  max-width: 850px;
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 1.28;
}

.wgm-blogs .wgm-blogs__featured .card-content:last-child {
  padding-right: 86px;
  padding-left: 32px;
}

.wgm-blogs .wgm-blogs__featured .card-content:last-child .card-title {
  font-size: 13px;
}

.wgm-blogs .wgm-blogs__supporting .card {
  height: 270px;
  border-radius: 0 15px 0 15px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.wgm-blogs .wgm-blogs__supporting .card-image {
  flex-basis: 128px;
  height: 128px;
}

.wgm-blogs .wgm-blogs__supporting .card-content {
  padding: 14px 15px 0;
}

.wgm-blogs .wgm-blogs__supporting .card-content .card-title {
  font-size: 13px;
  line-height: 1.35;
}

.wgm-blogs .wgm-blogs__supporting .card-content:last-child {
  flex-basis: 42px;
  min-height: 42px;
  padding: 0 54px 11px 15px;
}

.wgm-blogs .wgm-blogs__supporting .card-content:last-child .card-title {
  font-size: 11px;
}

.wgm-blogs .wgm-blogs__supporting .card-content:last-child::after {
  right: 13px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.wgm-blogs__item--entering {
  animation: wgmBlogsReveal 460ms ease both;
}

@keyframes wgmBlogsReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wgm-blogs .card-image {
  position: relative;
  flex: 0 0 238px;
  height: 238px;
  overflow: hidden;
  background: #edf0f2;
}

.wgm-blogs .card-image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 76px;
  height: 6px;
  content: "";
  background: var(--wgm-blogs-yellow);
}

.wgm-blogs .card-image .wrap {
  width: 100%;
  height: 100%;
}

.wgm-blogs .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.wgm-blogs .card:hover .card-image img {
  transform: scale(1.045);
}

.wgm-blogs .card-content {
  position: static;
  display: block;
  margin: 0 !important;
  padding: 24px 25px 0;
  color: var(--wgm-blogs-blue) !important;
  background: transparent;
}

.wgm-blogs .card-content:first-of-type {
  flex: 1 1 auto;
}

.wgm-blogs .card-content .card-title {
  display: block;
  margin: 0;
  color: var(--wgm-blogs-blue);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.42;
}

.wgm-blogs .card-content:last-child {
  position: relative;
  flex: 0 0 54px;
  min-height: 54px;
  padding: 2px 76px 18px 25px;
}

.wgm-blogs .card-content:last-child .card-title {
  color: #71828d;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wgm-blogs .card-content:last-child::after {
  position: absolute;
  right: 22px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--wgm-blogs-blue);
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  content: "\2192";
  background: var(--wgm-blogs-yellow);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.wgm-blogs .card:hover .card-content:last-child::after {
  transform: translateX(4px);
}

.wgm-blogs .owl-theme .owl-nav {
  position: static;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 13px 0 0;
}

.wgm-blogs .owl-theme .owl-nav [class*="owl-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0 !important;
  color: var(--wgm-blogs-blue) !important;
  font-family: Arial, sans-serif;
  font-size: 23px !important;
  line-height: 1;
  background: var(--wgm-blogs-yellow) !important;
  border: 1px solid var(--wgm-blogs-yellow);
  border-radius: 50%;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.wgm-blogs .owl-theme .owl-nav [class*="owl-"]:hover {
  color: var(--wgm-blogs-white) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.wgm-blogs__nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  transform: translateY(-1px);
}

.wgm-blogs__navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 46px;
  margin-top: 14px;
  gap: 10px;
}

.wgm-blogs__navigation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 20px;
  background: var(--wgm-blogs-yellow);
  border: 1px solid var(--wgm-blogs-yellow);
  border-radius: 50%;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.wgm-blogs__navigation-button:hover,
.wgm-blogs__navigation-button:focus {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

.wgm-blogs__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  gap: 7px;
}

.wgm-blogs__pagination-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.36);
  border: 0;
  border-radius: 999px;
  transition: width 180ms ease, background-color 180ms ease;
}

.wgm-blogs__pagination-dot--active {
  width: 26px;
  background: var(--wgm-blogs-yellow);
}

.wgm-blogs .owl-theme .owl-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
}

.wgm-blogs .owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  transition: width 180ms ease, background-color 180ms ease;
}

.wgm-blogs .owl-theme .owl-dots .owl-dot.active span {
  width: 28px;
  background: var(--wgm-blogs-yellow);
  border-radius: 999px;
}

@media (max-width: 991px) {
  .wgm-blogs {
    padding: 72px 0 66px;
  }

  .wgm-blogs__watermark {
    font-size: 82px;
  }

  .wgm-blogs__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .wgm-blogs .wgm-blogs__featured .card {
    height: 510px;
  }

  .wgm-blogs .wgm-blogs__featured .card-image {
    flex-basis: 320px;
    height: 320px;
  }
}

@media (max-width: 767px) {
  .wgm-blogs {
    padding: 58px 0 54px;
  }

  .wgm-blogs::before {
    right: 15px;
    width: 105px;
    height: 5px;
  }

  .wgm-blogs::after {
    display: none;
  }

  .wgm-blogs__header-row {
    margin-bottom: 24px;
  }

  .wgm-blogs__header {
    min-height: 76px;
  }

  .wgm-blogs__heading {
    padding: 0 0 18px 18px;
    font-size: 36px;
  }

  .wgm-blogs__heading::before {
    bottom: 17px;
    width: 5px;
    height: 34px;
  }

  .wgm-blogs__watermark {
    bottom: 5px;
    font-size: 50px;
  }

  .wgm-blogs .card {
    height: 410px;
  }

  .wgm-blogs__featured {
    padding-top: 8px;
  }

  .wgm-blogs .wgm-blogs__featured .card {
    height: 450px;
  }

  .wgm-blogs .wgm-blogs__featured .card-image {
    flex-basis: 250px;
    height: 250px;
  }

  .wgm-blogs .wgm-blogs__featured .card-content {
    padding-right: 22px;
    padding-left: 22px;
  }

  .wgm-blogs .wgm-blogs__featured .card-content .card-title {
    font-size: 20px;
  }

  .wgm-blogs .wgm-blogs__featured .card-content:last-child {
    padding-right: 72px;
    padding-left: 22px;
  }

  .wgm-blogs .wgm-blogs__supporting .wgm-blogs__carousel {
    grid-template-columns: minmax(0, 1fr);
  }

  .wgm-blogs .card-image {
    flex-basis: 220px;
    height: 220px;
  }

  .wgm-blogs .card-content {
    padding-right: 22px;
    padding-left: 22px;
  }

  .wgm-blogs .card-content .card-title {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wgm-blogs *,
  .wgm-blogs *::before,
  .wgm-blogs *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}
