/*!
Theme Name: Care After Prison
Theme URI: http://underscores.me/
Author: The Digital Department
Author URI: https://www.thedigitaldepartment.ie/
Description: The Digital Department is a full-service digital agency based in Cork and for 13 years has, specialised in high-performance website design, eCommerce development, and lead generation for home service and B2B businesses.
Version: 1.0.0
*/

/* FOOTER  */

.site-footer .elementor-nav-menu li {
  display: flex;
  align-items: center;
}

.site-footer .elementor-nav-menu li::before {
  content: "•";
  color: var(--e-global-color-af84a33);
  font-size: 20px;
}

/* GLOBAL HEADING SPAN  */

.elementor-heading-title > span {
  color: var(--e-global-color-af84a33);
}

/* CAROUSAL BANNER WIDTH  */

.slider-wrapper .e-con-inner .elementor-element {
  max-width: 54% !important;
}

/* STRIP SECTION  */

.strip-ribbon p::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background: url("/wp-content/uploads/2026/07/asterisk-icon.png") no-repeat
    center;
  background-size: contain;
  margin-right: 15px;
  vertical-align: middle;
}

/* EQUAL SPACING  */

.top-margin {
  margin-top: 100px;
}

.bottom-margin {
  margin-bottom: 100px;
}

.equal-margin {
  margin-top: 100px;
  margin-bottom: 100px;
}

.no-top-margin * {
  margin-top: 0 !important;
}

.no-bottom-margin * {
  margin-bottom: 0 !important;
}

/* CONTENT SECTION  */

.content-section h2 {
  font-size: clamp(25px, calc(20px + 1.2vw), 35px);
  font-weight: 600;
}

.content-section h3 {
  font-size: clamp(22px, calc(18px + 1vw), 30px);
  font-weight: 600;
}

.content-section h4 {
  font-size: clamp(20px, calc(17px + 0.9vw), 26px);
  font-weight: 500;
}

.content-section h5 {
  font-size: clamp(18px, calc(16px + 0.8vw), 24px);
  font-weight: 500;
}

.content-section h6 {
  font-size: clamp(16px, calc(14px + 0.7vw), 22px);
  font-weight: 500;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
}

.content-section ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.content-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url("/wp-content/uploads/2026/07/Vector.svg") no-repeat center;
  background-size: contain;
}

.content-section.home-content ul li::before {
  background: url("/wp-content/uploads/2026/07/light-Vector.svg") no-repeat
    center;
  background-size: contain;
}

/* Inline List  */

.inline-list ul {
  display: flex;
  justify-content: start;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

/* Inline Icon  */

.inline-icon .elementor-image-box-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

/* Double List Icon  */

.double-list-icon ul {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 30px !important;
}

.double-list-icon li {
  background: #fff;
  padding: 30px !important;
  border-radius: 5px;
}

/* Grey + White Inline Icon  */

.grey-icon-list ul {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

.grey-icon-list li {
  background: var(--e-global-color-e578ae8) !important;
  padding: 10px 15px !important;
}

.white-icon-list ul {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

.white-icon-list li {
  background: #fff !important;
  padding: 10px 15px !important;
}

/* Text BG  */

.gradient-text .elementor-heading-title {
  background: linear-gradient(
    180deg,
    rgba(0, 89, 46, 0.5) 50.25%,
    rgba(0, 89, 46, 0.3) 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Testimonial Section  */

.testimonial-image-box .elementor-image-box-content {
  display: flex;
  flex-direction: column;
}

/* Card  */

.training-card h3 {
  margin-top: 10px;
}

/* Italic  */

.italic * {
  font-style: italic !important;
}

@media (max-width: 1850px) {
  .strip-ribbon p::before {
    width: 22px;
    height: 22px;
    margin-right: 10px;
  }
  .top-margin {
    margin-top: 80px;
  }
  .bottom-margin {
    margin-bottom: 80px;
  }
  .equal-margin {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .double-list-icon ul {
    gap: 25px !important;
  }

  .double-list-icon li {
    padding: 25px !important;
  }
}

@media (max-width: 1439px) {
  .strip-ribbon p::before {
    width: 20px;
    height: 20px;
  }
  .slider-wrapper .e-con-inner .elementor-element {
    max-width: 56% !important;
  }
  .top-margin {
    margin-top: 70px;
  }
  .bottom-margin {
    margin-bottom: 70px;
  }
  .equal-margin {
    margin-top: 70px;
    margin-bottom: 70px;
  }
  .double-list-icon ul {
    gap: 20px !important;
  }

  .double-list-icon li {
    padding: 20px !important;
  }
}

@media (max-width: 1199px) {
  .slider-wrapper .e-con-inner .elementor-element {
    max-width: 64% !important;
  }
  .top-margin {
    margin-top: 60px;
  }
  .bottom-margin {
    margin-bottom: 60px;
  }
  .equal-margin {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .double-list-icon ul {
    gap: 15px !important;
  }

  .double-list-icon li {
    padding: 15px !important;
  }
}

@media (max-width: 1023px) {
  .slider-wrapper .e-con-inner .elementor-element {
    max-width: 100% !important;
  }
  .top-margin {
    margin-top: 50px;
  }
  .bottom-margin {
    margin-bottom: 50px;
  }
  .equal-margin {
    margin-top: 50px;
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .double-list-icon ul {
    grid-template-columns: 1fr !important;
  }
}
