/*=== CabinetShop 45 Compact Hero Styles ===*/
.cabinetshop45-hero {
  padding: 20px 0 25px 0; /* reduced bottom padding */
  text-align: center;
  background-color: #1b1b1b; /* optional, keep consistent with bg-color-darker */
  margin-bottom: 0;
}

/* Bordered Heading */
.cabinetshop45-hero .bordered-heading {
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding: 7px 0;
  text-shadow: 2px 2px #000000;
  margin-bottom: 8px; /* reduced */
}

/* Subtitles */
.cabinetshop45-hero .hero-subtitle {
  text-shadow: 1px 1px #000000;
  margin-bottom: 6px; /* reduced spacing */
  font-size: 18px;
  line-height: 26px;
  color: #f0f0f0; /* ensures readability */
}

/* Buttons */
.cabinetshop45-hero .hero-buttons {
  margin-top: 8px; /* reduced */
}

/* Content immediately below hero */
.cabinetshop45-content,
.content-md {
  margin-top: 10px; /* pulled up closer to hero */
  padding: 20px 0;
  background-color: #f8f8f8;
}

/*=== Responsive Styles ===*/
@media (max-width: 991px) {
  .cabinetshop45-hero {
    padding: 15px 0 20px 0;
  }
  .cabinetshop45-hero .bordered-heading {
    font-size: 40px;
    line-height: 50px;
  }
  .cabinetshop45-hero .hero-subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .cabinetshop45-hero .hero-buttons {
    margin-top: 6px;
  }
}

@media (max-width: 767px) {
  .cabinetshop45-hero {
    padding: 15px 0 15px 0;
  }
  .cabinetshop45-hero .bordered-heading {
    font-size: 32px;
    line-height: 40px;
    padding: 5px 0;
    margin-bottom: 6px;
  }
  .cabinetshop45-hero .hero-subtitle {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 6px;
  }
  .cabinetshop45-hero .hero-buttons {
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
  }
  .cabinetshop45-content {
    padding: 15px 0;
  }
}
/* === Center Entire Action Center Section === */
.action-center-container {
    display: flex;
    flex-direction: column;
    align-items: center;  /* center horizontally */
    justify-content: center; /* center vertically */
    text-align: center;
    margin: 40px 0; /* optional vertical spacing */
}

/* Action Center Button Adjustments */
.btn-half-width {
    display: inline-block;
    width: 50%;
    min-width: 200px;
    text-align: center;
}

/* Primary CTA Wrapper */
.primary-cta-wrapper {
    margin-bottom: 30px;
}

/* Product Downloads Card */
.action-card {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .btn-half-width {
        width: 70%;
    }
    .action-card {
        width: 70%;
    }
}

@media (max-width: 767px) {
    .btn-half-width {
        width: 90%;
    }
    .action-card {
        width: 90%;
    }
}

/* Centered benefit row container with responsive width */
.benefit-row-container {
    max-width: 900px;       /* default max width for large screens */
    width: 100%;
    padding: 0 20px;        /* space on left/right */
    text-align: center;
    margin: 0 auto;         /* ensures container is horizontally centered */
}

/* Responsive adjustments for tablets and smaller devices */
@media (max-width: 991px) {
    .benefit-row-container {
        max-width: 700px;
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .benefit-row-container {
        max-width: 100%;
        padding: 0 10px;
    }
}
