/*
 * "An open seat is a meter running" callout on /hire/ -- links to the
 * instant Open Role Cost calculator. Scoped under .cost-callout.
 * Dark-green card (--secondary-color) reads the same in light and dark theme.
 */

.cost-callout-inner {
  position: relative;
  background: var(--secondary-color, #26472B);
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
}

/* soft brand-green glow in the corner */
.cost-callout-inner:before {
  position: absolute;
  content: '';
  width: 420px;
  height: 420px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 235, 84, 0.22) 0%, rgba(120, 235, 84, 0) 70%);
  pointer-events: none;
}

.cost-callout-image {
  position: relative;
  margin-right: 10px;
}

.cost-callout-image figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}

.cost-callout-image img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.cost-callout-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cost-callout-badge span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c7686;
}

.cost-callout-badge strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
  color: #111;
}

.cost-callout-badge small {
  font-size: 14px;
  font-weight: 500;
  color: #6c7686;
}

.cost-callout-content {
  position: relative;
  padding-left: 20px;
}

.cost-callout-content .sub-title {
  display: inline-block;
  color: var(--theme-color, #78EB54);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.cost-callout-content h2 {
  color: #fff;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cost-callout-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  margin-bottom: 20px;
}

.cost-callout-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.cost-callout-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  padding: 6px 16px;
}

@media only screen and (max-width: 991px) {
  .cost-callout-image {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .cost-callout-content {
    padding-left: 0;
  }
}

@media only screen and (max-width: 767px) {
  .cost-callout-inner {
    padding: 22px;
  }

  .cost-callout-image img {
    height: 220px;
  }

  .cost-callout-content h2 {
    font-size: 30px;
  }
}
