/**
 * Home standalone — Premium Addons widget base + featured strip.
 * Matches Jetpack critical CSS on mckeeutility.com (premium-dual-header + premium-image-button).
 */
@media all {
  .premium-dual-header-first-header,
  .premium-dual-header-second-header {
    position: relative;
    padding: 0;
    margin: 0;
    display: inline-block;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

@media (max-width: 500px) {
  .premium-dual-header-first-header,
  .premium-dual-header-second-header {
    word-wrap: break-word;
  }
}

@media all {
  .premium-image-button {
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
    background-color: #eee;
  }

  .premium-image-button-text-icon-wrapper {
    width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 3;
  }

  .premium-btn-lg {
    background-color: #eee;
    color: #042551;
    margin: 0;
    text-decoration: none;
  }

  div[class*="elementor-widget-premium"] .premium-btn-lg {
    padding: 16px 28px;
    font-size: 18px;
    line-height: 1.3333;
  }
}

@media all {
  .premium-image-button:not(.premium-button-style8) {
    overflow: hidden;
  }
}

/* Featured projects white band + CTA widths (same as live header.css mirror) */
@media all {
  .custom-btn {
    transform: translateY(0);
  }

  .featured-projects-main-sec.e-flex.e-con-boxed.e-con.e-parent {
    position: relative;
    z-index: 1;
  }

  .featured-projects-main-sec.e-flex.e-con-boxed.e-con.e-parent::after {
    background: #fff;
    width: 100%;
    height: 258px;
    content: "";
    z-index: -1;
    bottom: 0;
    position: absolute;
  }
}

@media (max-width: 1700px) {
  .custom-btn .premium-image-button {
    width: 280px !important;
  }

  .featured-projects-main-sec.e-flex.e-con-boxed.e-con.e-parent::after {
    height: 240px;
  }
}

@media (max-width: 1500px) {
  .custom-btn .premium-image-button {
    width: 220px !important;
  }

  .featured-projects-main-sec.e-flex.e-con-boxed.e-con.e-parent::after {
    height: 210px;
  }
}

@media (max-width: 1199px) {
  .featured-projects-main-sec.e-flex.e-con-boxed.e-con.e-parent::after {
    height: 150px;
    left: 0;
  }
}

@media (max-width: 767px) {
  .custom-btn .premium-image-button {
    width: 200px !important;
  }

  .featured-projects-main-sec.e-flex.e-con-boxed.e-con.e-parent::after {
    display: none;
  }
}
