/* ===================================================
   Layout: Work-banner
   File:   template-parts/flexible/work_banner/work_banner.css
=================================================== */

/* CaseStudyAnamala/02-banner/style.css - Section-specific styles */

/* 02 PROJECT BANNER */
.csx-ban {
  position: relative;
  overflow: hidden;
  margin-top: clamp(36px, 4cqi, 56px);
  aspect-ratio: 1232 / 400;
  border-radius: clamp(22px, 2.4cqi, 34px);
  background: radial-gradient(60% 90% at 100% 0%, rgba(237, 157, 33, .28), rgba(237, 157, 33, 0) 65%), radial-gradient(55% 85% at 0% 100%, rgba(206, 196, 234, .7), rgba(206, 196, 234, 0) 70%), #F6F0EC;
  display: grid;
  place-items: center;
}

.csx-ban-g {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(92, 72, 156, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 72, 156, .07) 1px, transparent 1px);
  background-size: 36px 36px;
}

.csx-ban-q {
  position: absolute;
  right: 7%;
  bottom: 12%;
  width: 11%;
  aspect-ratio: 1;
}

.csx-ban-q i {
  position: absolute;
  border-radius: 10px;
}

.csx-ban-q .a { right: 0; top: 0; width: 46%; aspect-ratio: 1; background: var(--amber); }
.csx-ban-q .b { left: 8%; top: 30%; width: 40%; aspect-ratio: 1; background: var(--lav2); }
.csx-ban-q .c { right: 20%; bottom: 0; width: 30%; aspect-ratio: 1; background: var(--olive); }
.csx-ban-q .d { left: -40%; bottom: 6%; width: 22%; aspect-ratio: 1; background: #FBFAF2; }

.csx-ban-l {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, .45);
  letter-spacing: .02em;
}

/* Responsive adjustments */
@container page (max-width: 640px) {
  .csx-ban {
    aspect-ratio: 1.3;
  }
}

@media (max-width: 640px) {
  .csx-ban {
    aspect-ratio: 1.3;
  }
}

