/* Copyright (c) 2026 by twinkle (https://codepen.io/twinkle_s/pen/mdqEXGy)  */
.dflex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.section-inner .hero-left {
  width: 30%;
  margin-right: 5%;
}
.section-inner .hero-right {
  width: 65%;
}
.section-inner .hero-right ul li {
  display: inline-block;
  padding: 15px;
  border-radius: 10px;
  height: 400px;
  cursor: pointer;
  transition: all 0.5s ease-out;
  width: 15%;
}
.section-inner .hero-right ul li img {
  height: 100%;
  object-fit: contain;
}
.section-inner .hero-right ul li:nth-child(3) {
  width: 55%;
}
.section-inner .hero-right ul li:hover {
  width: 55%;
  transition: all 0.5s ease-out;
}
.section-inner .hero-right ul li:hover ~ li {
  width: 15%;
}
.section-inner .hero-right ul li img {
  display: block;
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Responsive */
@media screen and (max-width: 999px) {
.section-inner .hero-right ul li:nth-child(3) {
  width: 45%;
}
.section-inner .hero-right ul li:hover {
  width: 45%;
  transition: all 0.5s ease-out;
}
.section-inner .hero-right ul li:hover ~ li {
  width: 10%;
}
}
/* Responsive */
@media screen and (max-width: 720px) {
  .section-inner {
    display: block;
  }

  .section-inner .hero-left,
  .section-inner .hero-right {
    width: 100%;
    margin-right: 0;
  }

  .section-inner .hero-right ul {
    display: block;
  }

  .section-inner .hero-right ul li,
  .section-inner .hero-right ul li:nth-child(3),
  .section-inner .hero-right ul li:hover,
  .section-inner .hero-right ul li:hover ~ li {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px 0;
    cursor: default;
    transition: none;
  }

  .section-inner .hero-right ul li img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
}