.hib-insights {
  --insights-dark: #0C1E21;
  --insights-primary: #1E8A8A;
  --insights-light: #D8E5E5;
  padding: clamp(22px, 3vw, 38px) 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.hib-insights__header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  margin-bottom: 42px;
}

.hib-insights__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--insights-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hib-insights__title {
  max-width: 18ch;
  margin: 0;
  color: var(--insights-dark);
  font-size: var(--hib-section-title-size, clamp(26px, 2vw, 32px));
  font-weight: var(--hib-section-title-weight, 650);
  line-height: var(--hib-section-title-line-height, 1.2);
  letter-spacing: -0.035em;
}

.hib-insights__intro {
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--insights-primary);
  color: rgba(12, 30, 33, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.hib-insights__categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.hib-insights__category {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(30, 138, 138, 0.14);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}

.hib-insights__category--knowledge {
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(30, 138, 138, 0.35), transparent 35%),
    linear-gradient(145deg, #0C1E21, #174b4e);
}

.hib-insights__category--activity {
  color: var(--insights-dark);
  background: linear-gradient(145deg, #D8E5E5, #f0f6f6);
}

.hib-insights__category-header {
  min-height: 145px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.hib-insights__category--activity .hib-insights__category-header {
  border-bottom-color: rgba(12, 30, 33, 0.12);
}

.hib-insights__category-number {
  min-width: 44px;
  padding-top: 4px;
  color: #7ac8c8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hib-insights__category--activity .hib-insights__category-number {
  color: var(--insights-primary);
}

.hib-insights__category-header h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 24px;
  font-weight: 650;
}

.hib-insights__category-header p {
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.76;
}

.hib-insights__slider-nav {
  width: max-content;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-self: end;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
}

.hib-insights__category--activity .hib-insights__slider-nav {
  border-color: rgba(12, 30, 33, 0.1);
  background: rgba(255, 255, 255, 0.48);
}

.hib-insights__slider-nav button {
  width: 32px;
  height: 32px;
  min-width: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  color: inherit;
  background: transparent;
  box-shadow: none;
  appearance: none;
  font-size: 14px;
  line-height: 1;
  transition: color 0.22s ease, background-color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.hib-insights__slider-nav button:hover:not(:disabled) {
  color: #ffffff;
  background: var(--insights-primary);
  transform: translateY(-1px);
}

.hib-insights__category--activity .hib-insights__slider-nav button:hover:not(:disabled) {
  color: #ffffff;
  background: var(--insights-primary);
}

.hib-insights__slider-nav button:disabled {
  cursor: default;
  opacity: 0.28;
}

.hib-insights__slider-nav button:focus {
  outline: none;
}

.hib-insights__slider-nav button:focus-visible {
  outline: 2px solid #8bd1d1;
  outline-offset: 1px;
}

.hib-insights__slider-shell {
  position: relative;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.hib-insights__slider {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}

.hib-insights__slider-shell.is-ready .hib-insights__slider {
  opacity: 1;
  visibility: visible;
}

.hib-insights__skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
}

.hib-insights__slider-shell.is-ready .hib-insights__skeleton {
  opacity: 0;
  visibility: hidden;
}

.hib-insights__skeleton-card {
  min-width: 0;
  border: 1px solid rgba(30, 138, 138, 0.11);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.hib-insights__skeleton-media,
.hib-insights__skeleton-line {
  display: block;
  background: linear-gradient(
    100deg,
    rgba(216, 229, 229, 0.72) 28%,
    rgba(245, 249, 249, 0.96) 42%,
    rgba(216, 229, 229, 0.72) 58%
  );
  background-size: 220% 100%;
  animation: hib-insights-skeleton 1.25s ease-in-out infinite;
}

.hib-insights__skeleton-media {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.hib-insights__skeleton-line {
  height: 10px;
  margin-right: 18px;
  margin-left: 18px;
  border-radius: 999px;
}

.hib-insights__skeleton-line--meta {
  width: 28%;
  margin-top: 20px;
}

.hib-insights__skeleton-line--title {
  width: calc(100% - 36px);
  height: 15px;
  margin-top: 16px;
}

.hib-insights__skeleton-line--title-short {
  width: 68%;
  height: 15px;
  margin-top: 8px;
}

.hib-insights__skeleton-line--text {
  width: 78%;
  margin-top: 18px;
}

.hib-insights__skeleton-line--action {
  width: calc(100% - 36px);
  margin-top: 30px;
  margin-bottom: 20px;
}

@keyframes hib-insights-skeleton {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.hib-insights__slider .swiper-wrapper {
  align-items: stretch;
}

.hib-insights__slider .swiper-slide {
  height: auto;
}

.hib-insights__slider .hib-insights__post {
  height: 100%;
}

.hib-insights__category-button {
  min-height: 46px;
  margin-top: 20px;
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.hib-insights__category-button:hover {
  color: var(--insights-dark);
  background: #ffffff;
}

.hib-insights__category--activity .hib-insights__category-button:hover {
  color: #ffffff;
  background: var(--insights-dark);
}

.hib-insights__post {
  min-width: 0;
  margin: 0;
}

.hib-insights__post-link {
  height: 100%;
  border: 1px solid rgba(30, 138, 138, 0.13);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--insights-dark);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(12, 30, 33, 0.055);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hib-insights__post-link:hover {
  color: var(--insights-dark);
  border-color: rgba(30, 138, 138, 0.36);
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(12, 30, 33, 0.11);
}

.hib-insights__post-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--insights-light);
}

.hib-insights__post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hib-insights__post-link:hover .hib-insights__post-media img {
  transform: scale(1.045);
}

.hib-insights__placeholder {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(145deg, rgba(30, 138, 138, 0.92), rgba(12, 30, 33, 0.98)),
    var(--insights-dark);
}

.hib-insights__placeholder span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hib-insights__placeholder strong {
  font-size: 44px;
  font-weight: 500;
  line-height: 0.85;
  opacity: 0.34;
}

.hib-insights__post-content {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.hib-insights__post-content time {
  margin-bottom: 10px;
  color: var(--insights-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hib-insights__post-content h4 {
  min-height: 2.9em;
  margin: 0 0 10px;
  color: var(--insights-dark);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.hib-insights__post-content p {
  min-height: 3.2em;
  margin: 0 0 18px;
  color: rgba(12, 30, 33, 0.64);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.6;
}

.hib-insights__read-more {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(30, 138, 138, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--insights-primary);
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .hib-insights__header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hib-insights__intro {
    max-width: 720px;
  }

  .hib-insights__categories {
    grid-template-columns: 1fr;
  }

  .hib-insights__category-header {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .hib-insights__category {
    padding: 22px;
  }
}

@media (max-width: 549px) {
  .hib-insights {
    padding: 24px 0;
  }

  .hib-insights__title {
    font-size: var(--hib-section-title-size, 26px);
  }

  .hib-insights__skeleton {
    grid-template-columns: minmax(0, 1fr);
  }

  .hib-insights__skeleton-card:nth-child(n + 2) {
    display: none;
  }

  .hib-insights__intro {
    padding-left: 16px;
    font-size: 14px;
  }

  .hib-insights__category-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hib-insights__slider-nav {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hib-insights__skeleton-media,
  .hib-insights__skeleton-line {
    animation: none;
  }
}
