.home-expertise-section {
  padding-top: 120px;
  padding-bottom: 120px;
}


.home-expertise-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.home-expertise-section .section-title {
  margin: 0;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px; /* 112.5% */
  color: var(--e-global-brand-white);
}

.home-expertise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-expertise-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 421 / 560;
  padding: 32px;
  overflow: hidden;
  border-radius: 12px;
}

.home-expertise-item::before {
  position: absolute;
  bottom: -2px;
  left: 50%;
  z-index: 0;
  width: 105%;
  height: 25%;
  content: "";
  background: linear-gradient(180deg, rgb(1 4 10 / 0%) 0%, rgb(1 4 10 / 70%) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 0 0 12px 12px;
  -webkit-mask-image: linear-gradient(to top, black 50%, transparent 100%);
  mask-image: linear-gradient(to top, black 50%, transparent 100%);
  transform: translateX(-50%);
}

.home-expertise-item-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  border-radius: 12px;
  transition-duration: 0.5s;
}

.home-expertise-item-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .home-expertise-item:hover .home-expertise-item-background {
    transform: scale(1.1);
  }
}

.expertise-item-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  aspect-ratio: 1 / 1;
  background: var(--e-global-opacity-black-080);
  backdrop-filter: blur(40px);
  border-radius: 12px;
}

.expertise-item-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.expertise-item-title {
  margin: 0;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px; /* 120% */
  color: var(--e-global-brand-white);
}

.expertise-item-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  aspect-ratio: 1 / 1;
  color: var(--e-global-color-bg);
  background: var(--e-global-brand-white);
  border-radius: 50%;
}

@media screen and (max-width: 1360px) {
  .home-expertise-section {
    padding-top: var(--fluid-40-120);
    padding-bottom: var(--fluid-40-120);
  }

  .home-expertise-section .section-title {
    font-size: var(--fluid-40-64);
    line-height: 112.5%;
  }

  .expertise-item-icon-wrapper {
    width: clamp(50px, 40.2px + 1.75vw, 64px);
  }

  .expertise-item-btn-wrapper {
    width: clamp(48px, 42.4px + 1vw, 56px);
  }

  .home-expertise-item {
    padding: clamp(20px, 11.6px + 1.5vw, 32px);
  }

  .expertise-item-title {
    font-size: var(--fluid-28-40);
    line-height: 1.2;
  }
}

@media screen and (max-width:998px) {
  .home-expertise-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-expertise-item:first-child {
    grid-column: span 2;
    height: clamp(296px, 111.8904px + 32.8767vw, 440px);
    aspect-ratio: initial;
  }
}

@media screen and (max-width: 560px) {
  .home-expertise-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .home-expertise-section .section-title {
    font-size: 40px;
    line-height: 112.5%;
  }

  .expertise-item-icon-wrapper {
    width: 50px;
  }

  .expertise-item-btn-wrapper {
    width: 48px;
  }

  .home-expertise-list {
     grid-template-columns: 1fr;
  }

  .home-expertise-item {
    padding: 20px;
  }

  .home-expertise-item:first-child {
    grid-column: span 1;
    height: auto;
    aspect-ratio: 421 / 560;
  }

  .expertise-item-title {
    font-size: 28px;
    line-height: 36px;
  }
}
