/*
 * End-of-post offer CTA ([vc_post_cta], inc/post-cta.php).
 * Follows the legacy Elementor offer sections (e.g. template 36445): black
 * panel, gold icon on the right, white heading, grey line, gold pill button.
 *
 * The !important flags are deliberate and limited to text color, size and
 * spacing: theme.min.css styles single post bodies with
 * `body.single-post #single-wrapper .entry-content .container p:not(...)` and
 * `... a:not([class*=elementor])` (an id plus five classes), which outranks
 * any class selector here and turned the line black-on-black and the button
 * label gold-on-gold.
 */

.vc-post-cta {
  margin: 32px 0 24px;
  padding: 30px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  font-family: "Roboto", sans-serif;
  clear: both;
}

.vc-post-cta__inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.vc-post-cta__icon {
  order: 1;
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  background-color: #d4af65;
  -webkit-mask: var(--cta-icon) center / contain no-repeat;
  mask: var(--cta-icon) center / contain no-repeat;
}

.vc-post-cta__body {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.vc-post-cta .vc-post-cta__heading {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.vc-post-cta .vc-post-cta__line {
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: #c2c2c2 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0;
}

.vc-post-cta .vc-post-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 22px;
  border-radius: 35px;
  background: #d4af65;
  color: #000 !important;
  font-family: "Roboto", sans-serif;
  font-size: 18px !important;
  font-weight: 400;
  line-height: 1.4 !important;
  text-decoration: none;
  transition: color 0.2s;
}

.vc-post-cta .vc-post-cta__button:hover,
.vc-post-cta .vc-post-cta__button:focus {
  color: #fff !important;
  text-decoration: none;
}

.vc-post-cta .vc-post-cta__button svg {
  fill: currentColor;
}

@media (max-width: 767px) {
  .vc-post-cta__inner {
    flex-direction: column;
    gap: 20px;
  }

  .vc-post-cta__icon {
    order: 0;
    width: 104px;
    height: 104px;
  }

  .vc-post-cta__body {
    text-align: center;
  }

  .vc-post-cta .vc-post-cta__heading {
    font-size: 26px !important;
  }

  .vc-post-cta .vc-post-cta__line,
  .vc-post-cta .vc-post-cta__button {
    font-size: 16px !important;
  }
}
