/* assets/css/pages/about/overview.css */

.kiwi-aboutPageOverview{
  --about-text: var(--kiwi-text-strong);
  --about-soft: rgba(58,35,23,.04);
  --about-white: var(--kiwi-background);
  --about-white-92: rgba(254,255,251,.92);

  padding: 80px 0;
  position: relative;
}

.kiwi-aboutPageOverview__inner{
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-areas: "media content";
  align-items: center;
  gap: 28px;
}

.kiwi-aboutPageOverview__media{
  grid-area: media;
  display: flex;
  justify-content: flex-start;
}

.kiwi-aboutPageOverview__cards{
  --card-w: clamp(150px, 16vw, 220px);
  --card-h: clamp(190px, 22vw, 280px);

  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kiwi-aboutPageOverview__card{
  width: var(--card-w);
  height: var(--card-h);
  border-radius: 26px 0 26px 26px;
  overflow: hidden;
  border: 0;
}

.kiwi-aboutPageOverview__card--image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.kiwi-aboutPageOverview__card--stat{
  background: var(--kiwi-gold);
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
}

.kiwi-aboutPageOverview__cards > :nth-child(2){
  transform: translateY(14px);
}

.kiwi-aboutPageOverview__statBig{
  font-weight: 900;
  font-size: clamp(34px, 2.8vw, 52px);
  line-height: 1;
  color: var(--about-white);
  letter-spacing: .2px;
}

.kiwi-aboutPageOverview__statSmall{
  margin-top: 8px;
  font-weight: 800;
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--about-white-92);
}

.kiwi-aboutPageOverview__content{
  grid-area: content;
  text-align: start;
}

.kiwi-aboutPageOverview__title{
  margin: 0 0 12px;
  font-weight: 900;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.25;
  color: var(--kiwi-ink);
}

.kiwi-aboutPageOverview__brand{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
}

.kiwi-aboutPageOverview__kiwi{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;
  font-weight: 900;
  line-height: 1;
  color: var(--about-white);

  isolation: isolate;
  z-index: 0;

  --stroke-top: -0em;
  --stroke-bottom: -0.35em;
  --stroke-inline: -0.10em;
}

.kiwi-aboutPageOverview__kiwi::before{
  content: "";
  position: absolute;
  inset: var(--stroke-top) var(--stroke-inline) var(--stroke-bottom) var(--stroke-inline);
  background: url("/assets/images/pattern/Paint%20stroke%20underline2.svg") center/100% 100% no-repeat;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.kiwi-aboutPageOverview__text{
  margin: 0;
  font-weight: 600;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.95;
  color: var(--about-text);
  max-width: 60ch;
}

/* ===== LTR Fixes (English) ===== */
html[dir="ltr"] .kiwi-aboutPageOverview__media{
  justify-content: flex-end;
}

html[dir="ltr"] .kiwi-aboutPageOverview__card{
  border-radius: 0 26px 26px 26px;
}

html[dir="ltr"] .kiwi-aboutPageOverview__kiwi::before{
  transform: scaleX(-1);
  transform-origin: center;
}

@media (max-width: 980px){
  .kiwi-aboutPageOverview{
    padding: 56px 0;
  }

  .kiwi-aboutPageOverview__inner{
    grid-template-columns: 1fr;
    grid-template-areas: "content" "media";
    gap: 18px;
  }

  .kiwi-aboutPageOverview__cards{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .kiwi-aboutPageOverview__card{
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
  }

  .kiwi-aboutPageOverview__cards > :nth-child(2){
    transform: none;
  }
}

@media (max-width: 520px){
  .kiwi-aboutPageOverview__cards{
    grid-template-columns: 1fr;
  }
}
