/* ============================================================
   Woodmart Child — Banner Grid Widget (1 tall + 2 stacked)
   ============================================================ */

/* ── Grid ── */
.ps-bg__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 520px;
  width: 100%;
}

/* ── Right column stacks two cards vertically ── */
.ps-bg__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

/* ── Card base ── */
.ps-bg__card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  text-decoration: none;
  box-shadow: none !important;
  transition: transform 200ms ease;
}

.ps-bg__card:hover {
  transform: translateY(-2px);
}

/* Left card fills full grid height */
.ps-bg__card--left {
  height: 100%;
}

/* Right cards each take half */
.ps-bg__card--right {
  flex: 1;
  min-height: 0;
}

/* ── Overlay ── */
.ps-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 26, 0.35);
  pointer-events: none;
  z-index: 1;
}

/* ── Inner content layer ── */
.ps-bg__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

/* Content position variants */
.ps-bg__inner--top_left      { justify-content: flex-start;  align-items: flex-start; }
.ps-bg__inner--top_right     { justify-content: flex-start;  align-items: flex-end;   }
.ps-bg__inner--center_left   { justify-content: center;      align-items: flex-start; }
.ps-bg__inner--center_right  { justify-content: center;      align-items: flex-end;   }
.ps-bg__inner--bottom_left   { justify-content: flex-end;    align-items: flex-start; }
.ps-bg__inner--bottom_right  { justify-content: flex-end;    align-items: flex-end;   }
.ps-bg__inner--center_center { justify-content: center;      align-items: center;     }

/* ── Badge / title pill ── */
.ps-bg__badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  line-height: 1.3;
  max-width: 75%;
}

/* ── Subtitle ── */
.ps-bg__sub {
  font-size: 0.875rem;
  line-height: 1.35;
  margin: 0;
  max-width: 65%;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ps-bg__grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .ps-bg__card--left {
    height: 300px;
  }

  .ps-bg__card--right {
    height: 180px;
    flex: unset;
  }

  .ps-bg__sub {
    max-width: 90%;
  }
}
