/**
 * Co-working Widget Styles
 *
 * @package BongoHive
 */

.bh-coworking {
  --bh-cw-font-heading: "PT Sans", "Lato", Arial, sans-serif;
  --bh-cw-font-body: "Noto Sans", "Ubuntu", Arial, sans-serif;
  --bh-cw-muted: #606469;
  --bh-cw-gold: #f0af24;
  --bh-cw-divider: #f2f2f2;

  align-items: stretch;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  width: 100%;
}

.bh-coworking--image-right {
  flex-direction: row-reverse;
}

.bh-coworking__media {
  align-self: stretch;
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.bh-coworking__image {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.bh-coworking__content {
  align-items: flex-start;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 60px;
  justify-content: center;
  min-width: 0;
  padding: 80px 120px 80px 70px;
}

.bh-coworking__heading {
  color: #000000;
  font-family: var(--bh-cw-font-heading);
  font-size: clamp(28px, 2.5vw + 12px, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.bh-coworking__heading-main,
.bh-coworking__heading-highlight {
  display: block;
}

.bh-coworking__heading-highlight {
  color: var(--bh-cw-gold);
}

.bh-coworking__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.bh-coworking__row {
  align-items: flex-start;
  border-bottom: 1px solid var(--bh-cw-divider);
  display: flex;
  gap: 28px;
  padding: 24px 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bh-coworking__row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.bh-coworking__number {
  color: var(--bh-cw-muted);
  flex-shrink: 0;
  font-family: var(--bh-cw-font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.bh-coworking__body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.bh-coworking__title {
  color: #000000;
  font-family: var(--bh-cw-font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.bh-coworking__desc {
  color: #444444;
  font-family: var(--bh-cw-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .bh-coworking__content {
    gap: 40px;
    padding: 64px 40px;
  }
}

@media (max-width: 768px) {
  .bh-coworking,
  .bh-coworking--image-right {
    flex-direction: column;
  }

  .bh-coworking__media {
    flex: 0 0 auto;
    height: 320px;
    max-width: 100%;
  }

  .bh-coworking__content {
    gap: 32px;
    padding: 48px 24px;
  }

  .bh-coworking__row {
    gap: 16px;
    padding: 20px 0;
  }

  .bh-coworking__number {
    font-size: 22px;
  }

  .bh-coworking__title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .bh-coworking__content {
    padding: 32px 16px;
  }

  .bh-coworking__number {
    font-size: 18px;
  }

  .bh-coworking__title {
    font-size: 16px;
  }

  .bh-coworking__desc {
    font-size: 14px;
  }
}
