
/* =========================================
   BLOG PAGE
========================================= */

.migrated .blog-page {
  --blog-black: #111111;
  --blog-primary-color: #00a7e1;
  --blog-dark: #032352;
  --blog-gray: #707070;
  --blog-light: #f5f5f3;
  --blog-white: #ffffff;
  --blog-border: #e5e5e5;

  margin: 0;
}

/* =========================================
   SECTION HEADERS
========================================= */

.migrated .blog-section-header {
  margin-bottom: 35px;
}

.migrated .blog-section-header__eyebrow {
  margin: 0 0 8px;
  color: var(--blog-gray);
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.migrated .blog-section-header__title {
  margin: 0 !important;
  color: var(--blog-black);
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
  font-weight: 700;
  line-height: 1.05;
}

/* =========================================
   VIDEOS SECTION
========================================= */

.migrated .blog-videos {
  padding: 50px 0 20px;
  overflow: hidden;
}

.migrated .blog-videos .container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.migrated .blog-videos__swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* .blog-videos__swiper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50px;
  z-index: 2;
  background-image: linear-gradient(90deg, #fbfbfd -43%, transparent);
}

.blog-videos__swiper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 100%;
  z-index: 2;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(251, 251, 253, 0.3) 35%,
    rgba(251, 251, 253, 0.75) 70%,
    #fbfbfd 100%
  );
} */

.migrated .blog-videos__track {
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
}

.migrated .blog-video-card {
  box-sizing: border-box;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 24px;
  background: var(--blog-dark);
}

/* VIDEO */

.migrated .blog-video-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #000;
}

.migrated .blog-video-card__embed {
  position: absolute;
  inset: 0;
}

.migrated .blog-video-card__embed iframe,.migrated .blog-video-card__embed video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* CONTENT */

.migrated .blog-video-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* gap: 8px; */
  padding: 22px 25px 26px;
  margin: 0 !important;
}

.migrated .blog-video-card__category {
  color: #999;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.migrated .blog-video-card__title {
  margin: 0 !important;
  color: #fff;
  font-size: 1.15em !important;
  line-height: 1.25;
  font-weight: 400 !important;
}

.migrated .blog-video-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.migrated .blog-video-card__link i {
  transition: transform 0.2s ease;
}

.migrated .blog-video-card__link:hover i {
  transform: translateX(4px);
}

/* =========================================
   VIDEO QUERY LOOP
========================================= */

.migrated .blog-videos__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* =========================================
   VIDEO CARD
========================================= */

.migrated .blog-video-card {
  position: relative;

  flex: 0 0 min(400px, 72vw);

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;

  border-radius: 24px;
  background: var(--blog-dark);
}

/* =========================================
   VIDEO MEDIA
========================================= */

.migrated .blog-video-card__media {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;

  background: #000;
}

.migrated .blog-video-card__embed {
  position: absolute;
  inset: 0;
}

.migrated .blog-video-card__embed iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}

/* =========================================
   VIDEO CONTENT
========================================= */

.migrated .blog-video-card__content {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */

  padding: 22px 25px 26px;

  margin: 0 !important;
}

.migrated .blog-video-card__title {
  margin: 0 !important;

  color: var(--blog-white) !important;

  font-size: 1.35em !important;
  font-weight: 500;
  line-height: 1.25;
}

.migrated .blog-video-card__title a {
  color: inherit;
  text-decoration: none;
}

.migrated .blog-video-card__category,.migrated .blog-video-card__link {
  color: color-mix(in srgb, var(--blog-white), black 40%);
  font-size: 1.2em;
  font-weight: 600;
}

.migrated .blog-video-card__link {
  width: fit-content;
}
.migrated .blog-video-card__link:hover {
  color: var(--blog-white) !important;
}

/* =========================================
   GENERIC TYPE
========================================= */

.migrated .blog-card__type {
  margin: 0 !important;
  color: var(--blog-white);
  font-size: 0.92em;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  background-color: var(--blog-primary-color);
  padding: 8px 15px;
  border-radius: 90px;
}

/* =========================================
   VIDEO CONTROLS
========================================= */

.migrated .blog-videos__controls {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-top: 28px;
}

.migrated .blog-videos__controls button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  padding: 0;

  border: 1px solid var(--blog-border);
  border-radius: 50%;

  background: var(--blog-white);
  color: var(--blog-black);

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.migrated .blog-videos__controls button:hover {
  background: var(--blog-black);
  color: var(--blog-white);
  transform: translateY(-2px);
}

.migrated .blog-videos__progress {
  width: 100px;
  height: 2px;

  overflow: hidden;

  background: var(--blog-border);
}

.migrated .blog-videos__progress span {
  --video-progress: 0%;
  display: block;
  width: var(--video-progress);
  height: 100%;
  transition: all ease 0.25s;

  background: var(--blog-black);
}

/* =========================================
   BLOG CONTENT
========================================= */

.migrated .blog-content {
  padding: 40px 0 120px;
  background: var(--blog-light);
}

.migrated .blog-content .container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.migrated .blog-section-header--content {
  margin-bottom: 45px;
}

/* =========================================
   BLOG GRID
========================================= */

.migrated .blog-content__grid {
  display: grid !important;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 32px;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none;
}

/* =========================================
   BLOG CARD
========================================= */

.migrated .blog-card {
  display: flex;
  flex-direction: column;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;

  border-radius: 18px;

  background: var(--blog-white);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.migrated .blog-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* =========================================
   BLOG IMAGE
========================================= */

.migrated .blog-card__image {
  display: block;

  width: 100%;
  aspect-ratio: 16 / 10;

  margin: 0 !important;

  overflow: hidden;
}

.migrated .blog-card__image a {
  display: block;

  width: 100%;
  height: 100%;
}

.migrated .blog-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.migrated .blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

/* =========================================
   BLOG CARD CONTENT
========================================= */

.migrated .blog-card__content {
  display: flex;
  flex: 1;

  flex-direction: column;

  align-items: flex-start;

  padding: 24px 25px 28px;

  margin: 0 !important;
}

/* =========================================
   META
========================================= */

.migrated .blog-card__meta {
  display: flex;
  /* flex-direction: column; */
  align-items: start;
  gap: 10px;

  width: 100%;

  margin: 0 0 13px !important;
}

.migrated .blog-card__meta .blog-card__date {
  margin: 0 !important;

  color: var(--blog-gray);

  /* font-size: 0.78rem; */
}

/* =========================================
   TITLE
========================================= */

.migrated .blog-card__title {
  margin: 0 0 12px !important;
  color: var(--blog-black);
  font-size: 2em !important;
  font-weight: 700;
  line-height: 1.2;
}

.migrated .blog-card__title a {
  color: inherit;

  text-decoration: none;

  transition: opacity 0.2s ease;
}

.migrated .blog-card__title a:hover {
  opacity: 0.65;
}

/* =========================================
   EXCERPT
========================================= */

.migrated .blog-card__excerpt {
  margin: 0 0 22px !important;

  color: var(--blog-gray);

  font-size: 0.95em;
  line-height: 1.6;
}

/* =========================================
   READ MORE
========================================= */

.migrated .blog-card__link {
  display: inline-flex;

  align-items: center;
  gap: 8px;

  margin-top: auto;

  color: var(--blog-black);

  font-size: 0.82em;
  font-weight: 700;

  letter-spacing: 0.05em;

  text-decoration: none;
  text-transform: uppercase;
}

.migrated .blog-card__link i {
  transition: transform 0.2s ease;
}

.migrated .blog-card:hover .blog-card__link i {
  transform: translateX(4px);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .migrated .blog-content__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .migrated .blog-video-card {
    /* flex-basis: 78vw; */
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
  .migrated .blog-videos {
    padding: 65px 0 75px;
  }

  .migrated .blog-content {
    padding: 70px 0 80px;
  }

  .migrated .blog-videos .container,.migrated .blog-content .container {
    width: min(100% - 30px, 1200px);
  }

  .migrated .blog-section-header {
    margin-bottom: 25px;
  }

  .migrated .blog-section-header__title {
    font-size: 2.25rem !important;
  }

  .migrated .blog-video-card {
    /* flex-basis: 88vw; */
    border-radius: 18px;
  }

  .migrated .blog-video-card__play {
    left: 18px;
    bottom: 18px;

    width: 48px;
    height: 48px;
  }

  .migrated .blog-video-card__content {
    padding: 18px 20px 22px;
  }

  .migrated .blog-content__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .migrated .blog-card {
    border-radius: 15px;
  }
}

.migrated h1,.migrated h2 {
 color: #0f163e !important;
}
