@charset "UTF-8";
/* CSS Document */

/* 
 * Theme Name: Isla Mae
 * Theme URI: https://www.apcinet.com
 * Description: A custom WordPress theme created for American Pharmacy Cooperative, Inc.
 * Version: 1.2.11
 * Last Updated: May 13, 2026, 16:19
 * Author: A. Richard Kirby
 * Author URI: https://www.apcinet.com
 * Site Design: David Alexander, APCI
 * Site Photography: Edward Badham
 * License: GNU General Public License v2.0 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 */

html {
	font-size: 16px;
	scroll-padding-top: 75px; /* <-- adjust to your fixed header height */
}

/* ============================
   Fix in-page anchor offsets
   (for fixed-top navbar)
   ============================ */

/* 1) Tell the browser to keep this much space at the top when scrolling to anchors */

/* [id]{
  scroll-margin-top: 75px; 
}
*/

body {
	background-color: #f8f9fa;
}

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.page-content {
	padding-bottom: 2.5rem;
	background-image: url("/wp-content/themes/IslaMae/img/footer-border.png");
	background-position: bottom;
	background-repeat: repeat-x;
}
footer {
	background-color: #016aab;
}

/* Typefaces */

.benton { /* Display font for h1, etc. */
	font-family: "benton-modern-display", serif;
	font-weight: 900;
	font-style: normal;	
}
.avant-garde { /* Display font for h1 small */
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: 300;
	font-style: normal;	
}
.minion { /* Body copy */
	font-family: "minion-pro", serif;
	font-weight: 400;
	font-style: normal;
}

/* Font Sizing */

.x-small {
	font-size: .75rem;
}
/* Content */


/* Page Header Titles */

h1.page-header {
	line-height: .93;
}
h1 > .apci-large {
	font-size: 5rem;
}
h1 > .apci-small {
	font-size: 2rem;
}
h2.avant-garde.display-6 {
	line-height: .55;
}
span.membership-subhead {
	margin-left: 32%;
}

.page-intro {
  min-height: clamp(260px, 28vh, 420px);
  display: flex;
  align-items: center;
}

.page-intro .row {
  display: flex;
  align-items: center;   /* Vertically center SVG + paragraph */
}

/* Prevent hero SVG from being cropped */


.hero-decorative {
	margin-right: 1rem;
	/* height: 394px; */
}

.hero-decorative img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
img.hero-line-5 {
	max-height: 372px;
}

img.hero-line-4 {
	max-height: 297px;
}

img.hero-line-3 {
	max-height: 223px;
}

img.hero-line-2 {
	max-height: 149px;
}

/* Let the left column grow naturally instead of being flex-aligned */
/* .page-intro .row.d-flex.align-items-center {
  align-items: flex-start;
} */

/* ----------------------------------------------------------
 * Shared content page section rhythm
 * ---------------------------------------------------------- */

.content-section {
  margin-top: 2.5rem;
}

.content-section h2 {
  margin-bottom: 1rem;
}

.content-section .why-section {
  margin-bottom: 1rem;
}

.content-section .cta-row {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.content-section-intro {
  margin-top: 3rem;
}

.closing-cta-section {
  margin-top: 3rem;
}	
	


/* Typography */

.lead,
p,
li {
	font-family: "minion-pro", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.5rem;
}

#hero-section p.lead {
	margin-bottom: 0;	
}
.navbar li,
.navbar li a,
.nav-link.active {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: bold;
	color: #fff !important;
	font-size: 1rem;
}
ul.dropdown-menu,
.dropdown-item:hover {
	background-color: #016aab;
}
.dropdown-item:hover {
	text-decoration: underline;
}

.news-byline {
	font-size: 1rem;
}

blockquote p {
	font-size: 3.25rem;
	line-height: 1.2;
}

.cta-row {
	margin-top: 1rem;
	margin-bottom: 2rem;
}

p.cta-container {
	margin-top: 0;
	margin-bottom: 0;
}
.cta-row + .row h2.mt-5 {
	margin-top: 2rem !important;
}

.cta {
	text-decoration: none;
	border: 1px solid #313f57;
	padding: .25rem .75rem;
	letter-spacing: 2%;
	font-weight: bold;
	background-color: #fff;
	border-radius: 4px;
}

.cta::after {
	content: url("/wp-content/themes/IslaMae/img/caret-right.svg");
	padding-left: .5rem;
}

.cta:hover {
	background-color: #c3d5d9;
}

strong, b {
	font-weight: 700;
}

/* Colors */

.light-blue {
	color: #c3d5d9;
}

.medium-blue {
	color: #506e8c;
}

.dark-blue {
	color: #313f57;
}

/* Background Colors */
.bg-lt-blue {
	background-color: #c3d5d9;
}
.bg-med-blue {
	background-color: #506e8c;
}
.bg-dk-blue {
	background-color: #313f57;
}

picture img {
	max-width: 100%;
}

/* ELEMENTS */

/* Navigation */

/* div#main-navigation {
	background-color: #016aab;
} /*


#main-navigation {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  background-color: #016aab;
}

/* Navbar brand logo */
.navbar-brand img {
  width: 75px;
}

/* Navbar link appearance */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: bold;
  text-transform: none;
  padding: 0.75rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  text-decoration: underline;
}

/* Dropdown menu styling */
.dropdown-menu {
  background-color: #016aab;
  border: none;
}

.dropdown-item {
  color: #fff !important;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: #015b92;
  text-decoration: underline;
}

/* Toggler (hamburger) */
.navbar-toggler {
  border: none;
}

.navbar-dark .navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
}

.navbar-dark .navbar-toggler-icon {
	width: 1.5em;
	height: 1.5em;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	background-size: contain;
}


/* Adjust spacing for page content below fixed nav */
/* body {
  padding-top: 90px;
} */

/* Make WP submenus behave like Bootstrap dropdowns */
/* #navbarSupportedContent .menu-item-has-children { position: relative; }
#navbarSupportedContent .menu-item-has-children > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  margin: 0;
  padding: .5rem 0;
  list-style: none;
  background-color: #016aab; 
  border: 0;
  z-index: 1000;
}
*/

/* Make submenu items look like Bootstrap dropdown items */
#navbarSupportedContent .menu-item-has-children > .sub-menu > li > a {
  display: block;
  padding: .25rem 1rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
#navbarSupportedContent .menu-item-has-children > .sub-menu > li > a:hover {
  text-decoration: underline;  /* matches your :hover intent */
}

/* ----------------------------------------------------------
 * Mobile nav dropdown styling
 * ---------------------------------------------------------- */

@media (max-width: 991.98px) {
  #navbarSupportedContent .dropdown {
    width: 100%;
  }

	#navbarSupportedContent .dropdown > .d-flex {
		width: auto;
		justify-content: flex-start;
		gap: 0.35rem;
	}
	
  #navbarSupportedContent .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0.25rem 0 0;
    padding: 0.35rem 0;
    border: 0;
    border-radius: 0;
    background-color: #015b92;
    box-shadow: none;
  }

  #navbarSupportedContent .dropdown-menu.show {
    display: block;
  }

  #navbarSupportedContent .dropdown-menu .nav-link {
    padding: 0.55rem 1.25rem;
    color: #fff !important;
    font-size: 0.95rem;
  }

  #navbarSupportedContent .dropdown-menu .nav-link:hover,
  #navbarSupportedContent .dropdown-menu .nav-link:focus {
    background-color: #014f80;
    text-decoration: underline;
  }

	#navbarSupportedContent .dropdown-toggle {
	  min-width: 36px;
	  min-height: 36px;
	  padding: 0 !important;
	  margin-left: 0.25rem;
	  color: #fff !important;
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	}

	#navbarSupportedContent .dropdown-toggle::after {
	  border-top-width: 0.45em;
	  border-right-width: 0.45em;
	  border-left-width: 0.45em;
	  vertical-align: middle;
	}
}

/* Buttons */
.btn-success-apci {
  background-color: #4caa47;
  color: #fff;
  font-weight: bold;
}

/* Staff Photos */
.staff-photo {
	text-align: center;
}
.headshot {
	width: 100%;
	max-width: 312px;
	border-radius: 50%;
	border: 6px solid #c3d5d9;
}
.btn-success-apci:hover {
	background-color: #A6D5A3;
}

/* FORMS */

.form-fillable {
	width: 50%;
	margin: 1rem auto;
	padding: 1rem;
	border: 1px solid #313f57;
	border-radius: .5rem;
	background-color: #c3d5d9;
}
.form-fillable#form-contact,
.form-fillable#form-membership {
	width: 100%;
	padding: 1.5rem 1.75rem 1.75rem;
}
.form-field {
	padding: .5rem 0;
	text-align: start;
}
.form-field label {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: 700;
	margin-bottom: .5rem;
}
.form-field input:not([type="radio"]):not([type="checkbox"]),
.form-field select,
textarea.form-textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	font-size: 1.1rem;
	line-height: 1.35;
	border: 1px solid #7f8896;
	border-radius: 6px;
	background-color: #fff;
	color: #313f57;
	box-sizing: border-box;
}
.form-field input:not([type="radio"]):not([type="checkbox"]):focus,
.form-field select:focus,
textarea.form-textarea:focus {
	outline: none;
	border-color: #506e8c;
	box-shadow: 0 0 0 3px rgba(80, 110, 140, 0.18);
}
.contact-fields,
.membership-fields {
	margin-bottom: 0.75rem;
}

#fillable-contact-form textarea.form-textarea {
	min-height: 180px;
	line-height: 1.5;
	resize: vertical;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.submit#membership-submit,
.submit#contact-submit {
	margin: 0 auto;
	text-align: center;
}

.submit#membership-submit input,
.submit#contact-submit input {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: 700;
	padding: 0.7rem 1.5rem;
	margin-top: 1rem;
	color: #fff;
	background-color: #313f57;
	border: 1px solid #313f57;
	border-radius: 6px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
	transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.submit#membership-submit input:hover,
.submit#contact-submit input:hover {
	background-color: #506e8c;
	box-shadow: 0 3px 10px rgba(49, 63, 87, 0.18);
}

.submit#membership-submit input:active,
.submit#contact-submit input:active {
	transform: translateY(1px);
}
/* ----------------------------------------------------------
 * Membership page structure
 * ---------------------------------------------------------- */

.membership-section {
  margin-top: 2.5rem;
}

.membership-section h2 {
  margin-bottom: 1rem;
}

.membership-section .why-section {
  margin-bottom: 1rem;
}

.membership-section .cta-row {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

#membership-leadin {
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.membership-form-section {
  margin-top: 3rem;
}

#membership-form {
  max-width: 100%;
}

#form-membership {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 390px) {
  .form-fillable#form-contact,
  .form-fillable#form-membership {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .h-captcha {
    display: block;
    width: 302px;
    max-width: 302px;
    margin-left: auto;
    margin-right: auto;
    transform: scale(0.88);
    transform-origin: center top;
  }

  .h-captcha iframe {
    max-width: 100%;
  }
/* ----------------------------------------------------------
 * Membership form – responsive containment
 * ---------------------------------------------------------- */

@media (max-width: 575.98px) {
  .form-fillable#form-membership {
    width: 100%;
    max-width: 100%;
    padding: 1rem 0.85rem;
    overflow: hidden;
  }

  #form-membership .row {
    margin-left: 0;
    margin-right: 0;
  }

  #form-membership [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  #form-membership input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
  #form-membership select,
  #form-membership textarea {
    max-width: 100%;
    box-sizing: border-box;
  }

  .submit#membership-submit input {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 355px) {
  .form-fillable#form-membership {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .submit#membership-submit input {
    font-size: 0.95rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
}
@media (max-width: 355px) {
  .form-fillable#form-contact,
  .form-fillable#form-membership {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .h-captcha {
    transform: scale(0.78);
    transform-origin: center top;
    margin-bottom: -0.9rem;
  }
}

/* =========================================================
   Popup Form / APCI Lead Capture
   Popup Maker ID: 816
   ========================================================= */

#popmake-816 {
  max-width: 960px !important;
  width: calc(100% - 2rem) !important;
  border-radius: 0.5rem;
  padding: 0 !important;
  background: #fff;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.35);
}

#popmake-816 .pum-content {
  padding: 2rem 2.25rem 1.75rem;
}

/* Close Button */

#popmake-816 .pum-close {
  top: 1rem;
  right: 1rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #174a75;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.08rem 0;
  border: 0;
}

#popmake-816 .pum-close:hover,
#popmake-816 .pum-close:focus {
  background: #123a5c;
  color: #fff;
}

/* Main Popup Layout */

.apci-lead-popup {
  color: #222;
  font-family: "minion-pro", serif;
  font-weight: 400;
  font-style: normal;
}

.apci-lead-popup-copy {
  --popup-knockout-color: #edf2f3;
  background: rgba(195, 213, 217, 0.28);
  border-radius: 0.45rem;
  padding: 1.35rem;
}

/* Icon */

.apci-popup-icon {
  width: 68px;
  margin-bottom: 0.85rem;
}

.apci-popup-checklist-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Text */

.apci-popup-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #15803d;
  margin-bottom: 0.7rem;
}

.apci-lead-popup h3 {
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  margin-bottom: 0.85rem;
  color: #1f3556;
}

.apci-lead-popup p {
  font-family: "minion-pro", serif;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.apci-lead-popup p:last-child {
  margin-bottom: 0;
}

.apci-popup-lead {
  font-weight: 400;
}

/* Form Column */

.apci-lead-popup-form {
  padding-top: 0.25rem;
}

.apci-lead-popup-form h4 {
  text-align: left;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #456481;
}

/* MC4WP Form Typography */

.apci-lead-popup .mc4wp-form {
  font-family: "minion-pro", serif;
}

.apci-lead-popup .mc4wp-form-fields p {
  margin-bottom: 0.85rem;
}

.apci-lead-popup .mc4wp-form label {
  display: block;
  font-family: "minion-pro", serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #222;
}

/* Form Fields */

.apci-lead-popup .mc4wp-form input[type="text"],
.apci-lead-popup .mc4wp-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cfd6df;
  border-radius: 0.4rem;
  font-family: "minion-pro", serif;
  font-size: 1rem;
  font-weight: 400;
  color: #222;
  background: #fff;
}

.apci-lead-popup .mc4wp-form input[type="text"]:focus,
.apci-lead-popup .mc4wp-form input[type="email"]:focus {
  border-color: #174a75;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(23, 74, 117, 0.15);
}

.apci-lead-popup .mc4wp-form input::placeholder {
  font-family: "minion-pro", serif;
  color: #6f7782;
  opacity: 1;
}

/* Submit Button */

.apci-lead-popup .mc4wp-form input[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 0.4rem;
  padding: 0.85rem 1rem;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  background: #15803d;
  color: #fff;
  cursor: pointer;
}

.apci-lead-popup .mc4wp-form input[type="submit"]:hover,
.apci-lead-popup .mc4wp-form input[type="submit"]:focus {
  background: #116832;
  color: #fff;
}

/* Privacy Note */

.apci-popup-privacy {
  font-family: "minion-pro", serif;
  font-size: 0.8rem !important;
  color: #555;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Desktop Layout */

@media (min-width: 992px) {
  .apci-lead-popup-copy {
    padding: 1.35rem;
  }

  .apci-lead-popup-form {
    border-left: none;
    padding-top: 2.25rem;
    padding-left: 2.25rem;
  }
}

/* Mobile Layout */

@media (max-width: 767px) {
  #popmake-816 {
    width: calc(100% - 1.25rem) !important;
    top: 1rem !important;
  }

  #popmake-816 .pum-content {
    padding: 1.35rem 1.4rem 1.25rem;
  }

  .apci-lead-popup-copy {
    padding: 1.15rem;
  }

  .apci-popup-icon {
    width: 58px;
    margin-bottom: 0.7rem;
  }

  .apci-popup-kicker {
    margin-bottom: 0.6rem;
  }

  .apci-lead-popup h3 {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
  }

  .apci-lead-popup p {
    margin-bottom: 0.75rem;
  }

  .apci-lead-popup-form {
    margin-top: 1rem;
  }
}


/* Images */

.inline-image {
	width: 33%;
}

/* Page Structure */

.page-intro {
	padding: 1rem 2rem 2rem;
}
.page-intro#intro-home {
	padding: 1rem 2rem 4rem;
}
section.page-intro {
	background-color: #c3d5d9;
}

/* Footer */

footer {
  text-align: center;
}

footer .row {
  justify-content: center;
}

footer [class*="col-"] {
  text-align: center;
}

.footer-social-icons {
  justify-content: center;
}

#footer-social img {
  width: clamp(16px, 2vw, 20px);
  height: auto;
  padding: 0;
}

.footer-social-icons {
  display: grid;
  grid-template-columns: repeat(2, 20px);
  gap: 0.35rem 0.65rem;
  align-items: center;
  justify-content: center;
  justify-items: center;
  margin: 0 auto;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------------
 * Footer phone layout
 * ---------------------------------------------------------- */

@media (max-width: 575.98px) {
  footer {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  footer .row > [class*="col-"] {
    margin-bottom: 1.15rem;
  }

  footer .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  footer p {
    margin-bottom: 0.25rem;
    line-height: 1.35;
  }

  footer a {
    overflow-wrap: anywhere;
  }

  #footer-social {
    margin-top: 0.25rem;
  }

  .footer-social-icons {
    margin-top: 0.35rem;
  }

  footer .copyright,
  footer .footer-copyright {
    margin-top: 1.25rem;
    line-height: 1.35;
  }
}

/* ----------------------------------------------------------
 * Cookie Banner
 * ---------------------------------------------------------- */

.apci-cookie-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 9999;
  max-width: 768px;
  margin: 0 auto;
  background: #ffffff;
  border: 3px solid rgba(1, 106, 171, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18);
}

.apci-cookie-notice__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.apci-cookie-notice p {
  margin: 0;
  color: #263238;
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
}

.apci-cookie-notice a {
  color: #016aab;
  font-weight: 700;
  text-decoration: underline;
}

.apci-cookie-notice__button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #016aab;
  color: #ffffff;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
}

.apci-cookie-notice__button:hover,
.apci-cookie-notice__button:focus {
  background: #004f80;
}

@media (max-width: 575.98px) {
  .apci-cookie-notice {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .apci-cookie-notice__inner {
    display: block;
  }

  .apci-cookie-notice__button {
    width: 100%;
    margin-top: 0.75rem;
  }
}

/* Home page picture with overlay */

.section-image {
  overflow: hidden;
}

.section-image__content {
  max-width: 90%;
}

.mt-6 {
	margin-top: 5rem !important;
}

.why-section {
	margin-bottom: 3rem;
}

/* Navigation */

.custom-nav {
	background-color: #016aab !important;
}

.dropdown-menu {
	font-size: small;
}

.navbar-brand img {
	width: 75px;
}

.border-footer {
	border: 1px solid #AEAEAE;
}
a.nav-link:hover,
a.nav-link:active {
	text-decoration: underline;
}
/* Modal */

.modal-logo {
  width: 25%;
  height: auto;
}

.main-content img {
	max-width: 100%;
	height: auto;
}
section.page-intro > p {
    display: none !important;
}

/* Page Specific Styles */

/* HOME */

span#home-owned,
span#home-serving {
  margin-left: 15%;
}

/* ----------------------------------------------------------
 * HOME – "For Pharmacists" section
 * Background image with preserved hand overlap
 * ---------------------------------------------------------- */

#for-pharmacists.for-pharmacists {
	position: relative;
	background-color: #c3d5d9;
	background-image: url("/wp-content/themes/IslaMae/img/home-woman-reaching-lg.webp");
	background-size: auto 100%;
	background-position: calc(100% + 140px) top;
	background-repeat: no-repeat;
	color: #313f57;
	overflow: visible;
	min-height: clamp(430px, 42vw, 560px);
	padding: clamp(3.25rem, 5vw, 5rem) 0 clamp(2.25rem, 4vw, 4rem);
	margin-top: -3rem;
	z-index: 2;
	}

/* Do not use a full-section overlay here.
   It interferes with the hand/top-band effect. */
#for-pharmacists.for-pharmacists::before {
  content: none;
}

#for-pharmacists .for-pharmacists__content {
  position: relative;
  z-index: 1;
  width: min(52%, 650px);
  margin-left: clamp(2rem, 6vw, 5rem);
}

#for-pharmacists h2 {
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  line-height: 1;
  margin-bottom: 1rem;
}

#for-pharmacists p {
  font-size: clamp(1rem, 1vw + 0.75rem, 1.5rem);
  line-height: 1.55;
}

/* Keep the CTA arrow from breaking to the next line */
#for-pharmacists .cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #313f57;
  background-color: #fff;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

#for-pharmacists .cta::after {
  padding-left: 0;
  flex: 0 0 auto;
}

#for-pharmacists .cta:hover {
  background-color: #c3d5d9;
}

/* FOR PHARMACISTS RESPONSIVE CONTENT */

@media (min-width: 1100px) and (max-width: 1199.98px) {
  #for-pharmacists .for-pharmacists__content {
    width: 60%;
    max-width: 620px;
  }

  #for-pharmacists h2 {
    font-size: clamp(2.5rem, 3.1vw, 3.2rem);
  }
}

/* 992px–1399px: keep the image tall enough and move text safely */
@media (min-width: 992px) and (max-width: 1399.98px) {
  #for-pharmacists.for-pharmacists {
	min-height: clamp(390px, 43vw, 500px);
	background-size: auto 100%;
	background-position: calc(100% + 220px) top;
	padding-top: 3rem;
	padding-bottom: 2.5rem;
  }

  #for-pharmacists .for-pharmacists__content {
    width: min(54%, 620px);
    margin-left: clamp(2rem, 5vw, 4rem);
  }
}

/* 768px–991px: treat this as tablet, not desktop */
@media (min-width: 768px) and (max-width: 991.98px) {
  #for-pharmacists.for-pharmacists {
    min-height: 440px;
    background-image: url("/wp-content/themes/IslaMae/img/home-woman-reaching-md.webp");
	background-size: cover;
	background-position: 65% top;
	margin-top: -2.5rem;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  #for-pharmacists .for-pharmacists__content {
    width: 58%;
    max-width: 560px;
    margin-left: 2rem;
  }

  #for-pharmacists h2 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
}

/* Upper tablet edge: 871px–991px */
@media (min-width: 871px) and (max-width: 991.98px) {
  #for-pharmacists.for-pharmacists {
    min-height: 450px;
    background-size: auto 100%;
    background-position: calc(100% + 245px) top;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  #for-pharmacists .for-pharmacists__content {
    width: 46%;
    max-width: 430px;
    margin-left: 2.25rem;
  }

  #for-pharmacists h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 0.95;
    margin-bottom: 0.85rem;
  }

  #for-pharmacists p {
    font-size: 1.3rem;
    line-height: 1.45;
  }

  #for-pharmacists-copy {
    position: relative;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
  }

  #for-pharmacists-copy::before {
    content: "";
    position: absolute;
    inset: 0 -0.5rem;
    z-index: -1;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.82) 45%,
      rgba(255, 255, 255, 0.45) 78%,
      rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
  }
}


/* 576px–767px: small tablet / large phone landscape */
@media (min-width: 576px) and (max-width: 767.98px) {
  #for-pharmacists.for-pharmacists {
    min-height: 560px;
    background-image: url("/wp-content/themes/IslaMae/img/home-woman-reaching-md.webp");
    background-size: auto 100%;
    background-position: calc(100% + 245px) top;
    margin-top: -2.25rem;
    padding: 2.75rem 1.5rem 2.5rem;
  }

  #for-pharmacists .for-pharmacists__content {
    width: 58%;
    max-width: 360px;
    margin-left: 0;
  }

  #for-pharmacists h2 {
    display: inline-block;
    position: relative;
    z-index: 1;
    font-size: clamp(1.9rem, 4.2vw, 2.35rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
  }

  #for-pharmacists h2::before {
    content: "";
    position: absolute;
    inset: 0 -0.35rem;
    z-index: -1;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.78) 65%,
      rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
  }

  #for-pharmacists h2 span {
    display: inline;
  }

  #for-pharmacists p {
    font-size: 1.25rem;
    line-height: 1.45;
  }

  #for-pharmacists-copy {
    width: 100%;
    position: relative;
    font-size: 1.12rem;
    line-height: 1.48;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
  }

  #for-pharmacists-copy::before {
    content: "";
    position: absolute;
    inset: 0 -0.5rem;
    z-index: -1;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.84) 55%,
      rgba(255, 255, 255, 0.50) 82%,
      rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
  }

  #for-pharmacists .cta {
    font-size: 1rem;
    padding: 0.5rem 0.85rem;
  }
}

@media (max-width: 575.98px) {

  #for-pharmacists.for-pharmacists {
    min-height: 690px;
    background-image: url("/wp-content/themes/IslaMae/img/home-woman-reaching-sm.webp");
    background-size: auto 100%;
    background-position: calc(100% + 80px) top;
    margin-top: -3rem;
    padding: 3.25rem 1rem 2.5rem;
  }

  #for-pharmacists .for-pharmacists__content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  #for-pharmacists h2 {
    display: inline-block;
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 8.5vw, 2.7rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
  }

  #for-pharmacists h2::before {
    content: "";
    position: absolute;
    inset: 0 -0.35rem;
    z-index: -1;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.78) 68%,
      rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
  }

  #for-pharmacists h2 span {
    display: inline;
  }

  #for-pharmacists h2 span:last-child {
    display: block;
  }

  #for-pharmacists-copy {
    width: min(62%, 18rem);
    position: relative;
    font-size: 1.1rem;
    line-height: 1.48;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
  }

  #for-pharmacists-copy::before {
    content: "";
    position: absolute;
    inset: 0 -0.5rem;
    z-index: -1;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.88) 60%,
      rgba(255, 255, 255, 0.50) 86%,
      rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
  }

  #for-pharmacists .cta {
    font-size: 0.95rem;
    padding: 0.45rem 0.75rem;
  }
}

@media (max-width: 480px) {
  #for-pharmacists.for-pharmacists {
    min-height: 685px;
    background-position: calc(100% + 115px) top;
  }

  #for-pharmacists h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  #for-pharmacists-copy {
    width: min(66%, 17.5rem);
    font-size: 1.05rem;
  }
}

/* SERVICES */

#services-header,
#faq-header-text {
	line-height: 145%;
}
#services-comp,
#services-that,
#faq-frequently {
	margin-left: 6%;
}
/* SERVICES OVERVIEW – cleaner section rhythm */

.services-overview-intro {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.service-overview-section {
  margin-top: 2.5rem;
}

.service-overview-section h2 {
  margin-bottom: 1rem;
}

.service-overview-section .why-section {
  margin-bottom: 1rem;
}

.service-overview-section .cta-row {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.services-closing-cta {
  margin-top: 3rem;
}

/* FAQ */

.faq-top-cta {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.faq-section {
  margin-top: 2.5rem;
}

.faq-section h2 {
  margin-bottom: 1.25rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  font-size: clamp(1.45rem, 1.3vw + 1rem, 2rem);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.faq-item p {
  margin-bottom: 0;
}

.faq-item ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.faq-section .cta-row {
  margin-top: 1rem;
  margin-bottom: 0;
}

.faq-closing-cta {
  margin-top: 3rem;
}

/* NEWS */

#news-articles .list-group-item {
	border-bottom: 1px solid #313f57;
	border-right: none;
	border-left: none;
	border-top: none;
}
#news-articles .list-group-item:last-child {
	border-bottom: none;
}
.card.default_sidebar {
  padding: 1rem;
}

/* Disable Bootstrap list-group hover background on News page */
#news-articles .list-group-item {
  background-color: transparent !important;
}

#news-articles .list-group-item:hover,
#news-articles .list-group-item:focus {
  background-color: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
}
.wp-block-latest-posts.wp-block-latest-posts__list li,
.wp-block-categories-list.wp-block-categories li.cat-item {
	border-bottom: 1px solid #506e8c;
	line-height: 1.1;
	padding-top: .5rem;
	padding-bottom: .5rem;
	padding-left: 1rem;
}
.news-sidebar .wp-block-latest-posts__list li a::before,
.news-sidebar .wp-block-categories-list li a::before {
	content: url("/wp-content/themes/IslaMae/img/caret-right.svg");
	margin-right: 0.5rem;
	display: inline-block;
	vertical-align: middle;
	margin-left: -1.5rem;
}
.wp-block-latest-posts.wp-block-latest-posts__list li:last-child,
.wp-block-categories-list.wp-block-categories li.cat-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.wp-block-latest-posts.wp-block-latest-posts__list li a.wp-block-latest-posts__post-title,
.wp-block-categories-list.wp-block-categories li.cat-item a {
	text-decoration: none;
}
.wp-block-latest-posts.wp-block-latest-posts__list li a.wp-block-latest-posts__post-title:hover,
.wp-block-categories-list.wp-block-categories li.cat-item a:hover {
	text-decoration: underline;
}
.archive-thumb {
	display: flex;
    align-items: center;
    justify-content: center;
}
.news-thumb {
	max-height: 287px;
}
.archive-pagination {
	text-align: center;
	width: 100%;
}

.archive-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	width: 100%;
}
.archive-pagination .page-numbers {
	display: inline-block;
	padding: 0.65rem 0.95rem;
	border: 1px solid #d7e3ea;
	border-radius: 999px;
	background: #fff;
	color: #016aab;
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: 600;
	text-decoration: none;
	line-height: 1;
	transition: all 0.2s ease;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers:focus {
	background: #016aab;
	color: #fff;
	border-color: #016aab;
	text-decoration: none;
}

.archive-pagination .page-numbers.current {
	background: #4caa47;
	color: #fff;
	border-color: #4caa47;
}

.archive-pagination .page-numbers.dots {
	border: 0;
	background: transparent;
	padding-left: 0.2rem;
	padding-right: 0.2rem;
}
/* SINGLE POST */

.single-post-header {
    padding: 3rem 2rem;
    background: #c3d5d9;
}
.single-title-heading {
    max-width: 600px;
}
.single-post-header h1 {
	font-size: 2.75rem;
}
.post-dek {
    font-size: 1.5rem;
    line-height: 1.25;
    color: #506e8c;
    margin-top: 10px;
    max-width: 540px;
}
.fallback-logo {
    max-width: 300px;
    height: auto;
    opacity: 0.25;
    margin: 2rem auto;
    display: block;
}
.single-post-content {
    margin-top: 2rem;
}
.single-featured {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
}
.single-post-feature-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: clamp(260px, 32vw, 420px);
	margin: 0 auto;
}
.main-content::before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #4caa47;
    margin-bottom: 20px;
}
.post-cta-box {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem 2.25rem;
	margin: 2.5rem 0;
	border: 1px solid #bcc8d6;
	background: #f7f9fc;
}

.post-cta-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: #e8f0f8;
	flex-shrink: 0;
	color: #2f5d95;
}

.post-cta-icon {
	width: 42px;
	height: 42px;
	display: block;
}

.post-cta-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
	transform: translateY(-2px);
}

.post-cta-kicker {
	margin: 0;
	font-family: Georgia, serif;
	font-size: 1.05rem;
	line-height: 1.4;
	color: #2f5d95;
}

.post-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.75rem;
	min-height: 48px;
	background: #2f5d95;
	border: 2px solid #2f5d95;
	border-radius: 8px;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(47, 93, 149, 0.16);
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.post-cta-btn span {
	margin-left: 0.35rem;
}

.post-cta-btn:hover,
.post-cta-btn:focus {
	background: #244a77;
	border-color: #244a77;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(47, 93, 149, 0.22);
}

.post-cta-btn:active {
	transform: translateY(0);
	box-shadow: 0 6px 14px rgba(47, 93, 149, 0.16);
}

/* -------------------------------------------------------------
 * SINGLE POST – Embedded Video
 * ------------------------------------------------------------- */

.post-video-wrap {
  width: 100%;
  max-width: 800px;
  margin: 1.5rem 0;
}

.post-video {
  display: block;
  width: 100%;
  max-width: 936px;
  height: auto;
  background-color: #000;
}

@media (max-width: 767.98px) {
	.post-cta-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.5rem;
	}

	.post-cta-icon-wrap {
		width: 72px;
		height: 72px;
	}

	.post-cta-icon {
		width: 34px;
		height: 34px;
	}

	.post-cta-content {
		align-items: center;
		transform: none;
	}

	.post-cta-btn {
		width: 100%;
		max-width: 320px;
	}
  #news-articles .archive-thumb,
  #news-articles .news-thumb {
    margin-bottom: 0.75rem;
  }

}
@media (max-width: 991.98px) {
	.single-featured {
		margin-top: 1.5rem;
		min-height: auto;
	}
	.single-post-feature-img {
		max-height: 360px;
	}
}
	

/* -------------------------------------------------------------
 * HOMEPAGE TESTIMONIAL QUOTES
 * ------------------------------------------------------------- */

#testimonials .bg-lt-blue {
  padding: clamp(1.5rem, 3vw, 2.25rem) !important;
}

#testimonials figure.apci-quote {
  position: relative;
  width: min(86%, 980px);
  margin: 1.25rem auto 1.75rem;
  padding-bottom: 1.25rem;
}

#testimonials blockquote.apci-quote__body {
  position: relative;
  overflow: visible;
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.25rem);
  border: 4px solid #ffffff;
}

#testimonials blockquote.apci-quote__body::before,
#testimonials blockquote.apci-quote__body::after {
  --qsize: clamp(42px, 5vw, 64px);
  content: "";
  position: absolute;
  width: var(--qsize);
  height: var(--qsize);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: #c3d5d9;
  pointer-events: none;
}

#testimonials blockquote.apci-quote__body::before {
  background-image: url("/wp-content/themes/IslaMae/img/quote-open-white.svg");
  top: calc(var(--qsize) / -2);
  left: calc(var(--qsize) / -2);
}

#testimonials blockquote.apci-quote__body::after {
  background-image: url("/wp-content/themes/IslaMae/img/quote-close-white.svg");
  right: calc(var(--qsize) / -2);
  bottom: calc(var(--qsize) / -2);
}

#testimonials blockquote.apci-quote__body p {
  font-size: clamp(2rem, 2.4vw, 3.25rem);
  line-height: 1.22;
  margin: 0;
}

#testimonials .apci-quote__caption {
  position: absolute;
  right: 3.25rem;
  bottom: -0.375rem;
  z-index: 3;
  display: inline-block;
  padding: 0.25rem 1rem;
  background: #c3d5d9;
  font-size: clamp(1.1rem, 1.3vw, 1.75rem);
  line-height: 1;
  font-style: normal;
  text-align: right;
}

#testimonials .blockquote-footer::before {
  content: none;
}

/* -------------------------------------------------------------
 * TESTIMONIAL QUOTES
 * Used on Home, About, Audit Assistance, and Claims Management
 * ------------------------------------------------------------- */

.apci-testimonial-quote {
  position: relative;
  width: min(86%, 980px);
  margin: 1.25rem auto 1.75rem;
  padding-bottom: 1.25rem;
}

.apci-testimonial-quote__body {
  position: relative;
  overflow: visible;
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.25rem);
  border: 4px solid #ffffff;
}

.apci-testimonial-quote__body::before,
.apci-testimonial-quote__body::after {
  --qsize: clamp(42px, 5vw, 64px);
  content: "";
  position: absolute;
  width: var(--qsize);
  height: var(--qsize);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: #c3d5d9;
  pointer-events: none;
}

.apci-testimonial-quote__body::before {
  background-image: url("/wp-content/themes/IslaMae/img/quote-open-white.svg");
  top: calc(var(--qsize) / -2);
  left: calc(var(--qsize) / -2);
}

.apci-testimonial-quote__body::after {
  background-image: url("/wp-content/themes/IslaMae/img/quote-close-white.svg");
  right: calc(var(--qsize) / -2);
  bottom: calc(var(--qsize) / -2);
}

.apci-testimonial-quote__body p {
  font-family: "minion-pro", serif;
  font-weight: 300;
  font-size: clamp(2rem, 2.4vw, 3.25rem);
  line-height: 1.22;
  color: #313f57;
  text-align: left;
  margin: 0;
}

.apci-testimonial-quote__caption {
  position: absolute;
  right: 3.25rem;
  bottom: .5rem;
  z-index: 3;
  display: inline-block;
  padding: 0.25rem 1rem;
  background: #c3d5d9;
  font-family: "minion-pro", serif;
  font-size: clamp(1.1rem, 1.3vw, 1.75rem);
  line-height: 1;
  font-style: normal;
  text-align: right;
  color: #506e8c;
}

/* Mobile testimonial quote scaling */
@media (max-width: 575.98px) {
  .apci-testimonial-quote {
    width: 100%;
    margin: 1.1rem auto 1rem;
    padding: 0.5rem 0.5rem 0.75rem;
  }

  .apci-testimonial-quote__body {
    padding: 1.5rem 1.4rem;
  }

  .apci-testimonial-quote__body p {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    line-height: 1.35;
    margin: 0.25rem 0 0.5rem;
  }

  .apci-testimonial-quote__body::before,
  .apci-testimonial-quote__body::after {
    --qsize: 32px;
  }

  .apci-testimonial-quote__body::before {
    top: calc(var(--qsize) / -2.25);
    left: calc(var(--qsize) / -2.25);
  }

  .apci-testimonial-quote__body::after {
    bottom: calc(var(--qsize) / -2.25);
    right: calc(var(--qsize) / -2.25);
  }

  .apci-testimonial-quote__caption {
    position: static;
    display: block;
    margin-top: 0.45rem;
    text-align: right;
    font-size: 1.05rem;
    padding-right: 0.25rem;
    line-height: 1.2;
  }
}

/* Add breathing room after testimonial */

	#quote.testimonial-section,
	#claims-testimonials.testimonial-section,
	#audit-testimonials.testimonial-section {
  	margin-bottom: clamp(2rem, 4vw, 4rem);
}


/* -------------------------------------------------------------
 * SINGLE POST – Pull Quote
 * Supports existing <figure class="apci-quote apci-quote--post">
 * ------------------------------------------------------------- */

figure.apci-quote.apci-quote--post {
  position: relative;
  float: right;
  clear: right;
  width: min(42%, 420px);
  margin: 0.5rem 0 1.75rem 2rem;
  padding-bottom: 1.75rem;
}

.apci-quote--post .apci-quote__body {
  position: relative;
  margin: 0;
  padding: 1.6rem 1.5rem 5rem;
  background: linear-gradient(135deg, #eef4f7 0%, #dfeaf1 100%);
  border: 0;
  border-left: 5px solid #4caa47;
  box-shadow: 0 6px 18px rgba(49, 63, 87, 0.08);
}

.apci-quote--post .apci-quote__body::before {
  content: "“";
  position: absolute;
  top: 1.5rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  background: none;
  font-family: "benton-modern-display", serif;
  font-size: 3.5rem;
  line-height: 1;
  color: #4caa47;
  opacity: 0.28;
}

.apci-quote--post .apci-quote__body::after {
  content: none;
}

.apci-quote--post .apci-quote__body p {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  padding-left: 1.8rem;
  font-family: "minion-pro", serif;
  font-size: 1.8rem;
  line-height: 1.45;
  color: #313f57;
}

.apci-quote--post .apci-quote__caption {
  position: absolute;
  right: 0.5rem;
  bottom: 0.2rem;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  max-width: calc(100% - 1rem);
  padding: 0.5rem 0.8rem;
  background: #c3d5d9;
  color: #313f57;
  line-height: 1.1;
  text-align: right;
  white-space: normal;
  box-shadow: 0 2px 8px rgba(49, 63, 87, 0.08);
}

.apci-quote--post .apci-quote__name {
  font-family: "minion-pro", serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.05;
}

.apci-quote--post .apci-quote__title {
  font-family: "minion-pro", serif;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.15;
}

/* Give the next paragraph a little breathing room after the float */
figure.apci-quote.apci-quote--post + p {
  margin-top: 0.25rem;
}

/* Mid-size desktop refinement for long attributions */
@media (max-width: 1399.98px) {
  .apci-quote--post .apci-quote__body p {
    margin-bottom: 1.5rem;
  }

  .apci-quote--post .apci-quote__name {
    font-size: 1.25rem;
  }

  .apci-quote--post .apci-quote__title {
    max-width: 15rem;
    font-size: 0.9rem;
    text-wrap: balance;
  }
}

/* Tablet and below: stop floating and stack cleanly */
@media (max-width: 991.98px) {
  figure.apci-quote.apci-quote--post {
    position: relative;
    float: none;
    clear: both;
    width: 100%;
    max-width: none;
    margin: 1.75rem 0 2.75rem;
    padding-bottom: 2.25rem;
  }

  .apci-quote--post .apci-quote__body {
    padding: 1.5rem 1.35rem 4.75rem;
  }

  .apci-quote--post .apci-quote__body p {
    margin: 0;
    padding-left: 1.9rem;
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .apci-quote--post .apci-quote__body::before {
    top: 0.65rem;
    left: 0.7rem;
    font-size: 3rem;
  }

  .apci-quote--post .apci-quote__caption {
    position: absolute;
    right: 0.75rem;
    bottom: 0.35rem;
    display: inline-flex;
    width: fit-content;
    max-width: min(18rem, calc(100% - 1.5rem));
    margin: 0;
  }

  .apci-quote--post .apci-quote__name {
    font-size: 1.05rem;
  }

  .apci-quote--post .apci-quote__title {
    max-width: 15rem;
    font-size: 0.82rem;
  }
}

/* Small phones */
@media (max-width: 575.98px) {
  figure.apci-quote.apci-quote--post {
    margin: 1.5rem 0 2.5rem;
    padding-bottom: 2rem;
  }

  .apci-quote--post .apci-quote__body {
    padding: 1.25rem 1.1rem 4.75rem;
  }

  .apci-quote--post .apci-quote__body p {
    padding-left: 1.55rem;
    font-size: 1.15rem;
  }

  .apci-quote--post .apci-quote__body::before {
    top: 0.55rem;
    left: 0.6rem;
    font-size: 2.5rem;
  }

  .apci-quote--post .apci-quote__caption {
    right: 0.5rem;
    bottom: 0.25rem;
    max-width: calc(100% - 1rem);
    padding: 0.45rem 0.65rem;
  }

  .apci-quote--post .apci-quote__name {
    font-size: 0.95rem;
  }

  .apci-quote--post .apci-quote__title {
    max-width: 14rem;
    font-size: 0.76rem;
  }
}

/* -------------------------------------------------------------
 * SINGLE POST – Post Images and Captions
 * ------------------------------------------------------------- */

.post-image {
  margin: 1.5rem 0 2rem;
}

.post-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.post-image figcaption {
  margin-top: 0.5rem;
  font-family: "minion-pro", serif;
  font-size: 0.85rem;
  line-height: 1.3;
  font-style: italic;
  color: #506e8c;
}

.single-post-content hr.bluerule,
.single-post-content hr.greenrule,
.main-content hr.bluerule,
.main-content hr.greenrule {
  display: block;
  height: 3px;
  border: 0;
  opacity: 1;
  margin: 2.5rem auto;
}

.single-post-content hr.bluerule,
.main-content hr.bluerule {
  width: 80%;
  background-color: #016aab;
}

.single-post-content hr.greenrule,
.main-content hr.greenrule {
  width: 100%;
  background-color: #4caa47;
}

/* SIDEBAR */

.news-sidebar .card {
	border: 1px solid #506e8c;
	border-radius: 0px;
}

.card.default_sidebar {
	padding: 0;
}
.wp-block-search__inside-wrapper button.wp-block-search__button.wp-element-button {
	background: #506e8c;
	color: #fff;
}
.news-sidebar .wp-block-heading {
  display: block;
  background: #506e8c;
  border-radius: 0rem;
  font-family: "Avant Garde", sans-serif;
}

.card.default_sidebar form,
.news-sidebar .wp-block-heading {
  padding: .5rem 1rem;
}

.news-sidebar .card.default_sidebar h3,
.news-sidebar .card.default_sidebar ul li a {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;	
}

.news-sidebar .card.default_sidebar h3 {
	font-weight: 700;
	color: #fff;
	font-size: 1.4rem;
}
.news-sidebar .card.default_sidebar ul li a {
	font-weight: 550;
	font-size: 1.1rem;
	color: #506e8c;
}

.wp-block-latest-posts__list.wp-block-latest-posts,
.wp-block-categories-list.wp-block-categories {
	padding: 0 1rem;
}
.wp-block-categories-list.wp-block-categories,
.wp-block-categories-list.wp-block-categories li {
	list-style-type: none;
}
/* VIDEO */

section#video div.container {
	padding-left: 0;
	padding-right: 0;
}

video {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	height: auto;
}

/* ABOUT */

#about-header {
	margin-bottom: 2.5rem;
}

#about-our {
	margin-left: 10%;
}

/* SEARCH RESULTS */

.apci-news-item {
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #d6dde5;
	transition: background-color 0.15s ease;
}
.apci-news-item:hover {
	background-color: rgba(80, 110, 140, 0.05); /* your medium blue, very light */
}
.apci-news-item h3 {
	margin-bottom: 0.75rem;
}
.apci-news-item p {
	color: #555;
}
.apci-news-item a {
	color: inherit;
}

.apci-news-item a:hover h3 {
	text-decoration: underline;
}

.category-header {
	padding-top: 6rem;
	padding-bottom: 1rem;
}

.cat-header-text h1 {
	font-family: "benton-modern-display", serif;
	font-size: 3rem;
	line-height: 1.1;
	color: #313f57;
	margin: 0;
}

.news-result-title {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: 700;
	font-size: 1.9rem;
	line-height: 1.2;
	color: #506e8c; /* medium blue from your system */
	margin-bottom: 0.4rem;
}

.apci-news-item a {
	text-decoration: none;
	color: inherit;
}

.apci-news-item a:hover .news-result-title,
.apci-news-item a:focus .news-result-title {
	text-decoration: underline;
	color: #506e8c;
}

/* Category archive hero heading mobile scaling */
@media (max-width: 575.98px) {
  .cat-header-text h1,
  .cat-header-text h1 .apci-large,
  .cat-header-text h1 .apci-small {
    line-height: 0.95;
	margin-bottom: 1rem;
  }

  .cat-header-text h1 .apci-large {
    font-size: clamp(3.4rem, 14vw, 4.4rem);
  }

  .cat-header-text h1 .apci-small {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
}

@media (max-width: 424px) {
  .cat-header-text h1 .apci-large {
    font-size: clamp(3rem, 13.5vw, 3.7rem);
  }

  .cat-header-text h1 .apci-small {
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
  }
}

@media (max-width: 340px) {
  .cat-header-text h1 .apci-large {
    font-size: clamp(2.65rem, 12.5vw, 3.15rem);
  }
}

/* ==========================================
   APCI 404 - CLAIM REJECTED / STATIC TERMINAL
========================================== */

.apci-404 {
	padding: 4rem 0;
}

.apci-404-card {
	background: #ffffff;
	border: 1px solid rgba(1, 106, 171, 0.12);
	border-radius: 1.25rem;
	padding: 2.5rem 2rem;
}

/* HEADER */

.apci-404-header {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.apci-404-kicker {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #016aab;
}

.apci-404-title {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	color: #0b2f4a;
}

.apci-404-subtitle {
	font-size: 0.95rem;
	font-weight: 700;
	color: #4caa47;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* TERMINAL */

.apci-404-terminal {
	border-radius: 1rem;
	border: 1px solid #19352f;
	overflow: hidden;
	background: #0f1f1b;
	box-shadow: inset 0 0 0 1px rgba(122, 255, 185, 0.05);
}

.apci-404-terminal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1.25rem;
	background: #152a24;
	border-bottom: 1px solid #1f4339;
	font-family: "adaptive-mono", monospace;
}

.apci-404-terminal-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a7f3c5;
}

.apci-404-terminal-status {
	background: #b22222;
	color: #ffffff;
	font-family: "adaptive-mono", monospace;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.4rem 0.6rem;
	border-radius: 999px;
}

.apci-404-terminal-body {
	position: relative;
	padding: 1.5rem;
	background:
		linear-gradient(rgba(122, 255, 185, 0.025), rgba(122, 255, 185, 0.025)),
		linear-gradient(to bottom, #10241f, #0b1815);
	border-left: 4px solid #2db36d;
	color: #c9f7da;
}

.apci-404-terminal-body::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.02) 0px,
		rgba(255, 255, 255, 0.02) 1px,
		transparent 1px,
		transparent 3px
	);
	pointer-events: none;
	opacity: 0.12;
}

.apci-404-ascii {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0.15rem 0 0.25rem;
	font-family: "adaptive-mono", monospace;
	font-size: clamp(4rem, 13vw, 8rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-align: center;
	color: #8cffb5;
	text-shadow: 0 0 12px rgba(140, 255, 181, 0.22);
	overflow: hidden;
	white-space: nowrap;
}
/* TERMINAL ROWS */

.apci-404-line {
	position: relative;
	z-index: 1;
	padding: 0.45rem 0;
	border-bottom: 1px dotted rgba(122, 255, 185, 0.16);
	margin: 0;
	font-family: "adaptive-mono", monospace;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #d8ffe9;
}

.apci-404-line:last-child {
	border-bottom: none;
}

.apci-404-key {
	font-weight: 700;
	text-transform: uppercase;
	color: #b8ffd3;
}

.apci-404-value {
	font-weight: 400;
	color: #d8ffe9;
	word-break: break-word;
}

/* MESSAGE */

.apci-404-message {
	max-width: 42rem;
	margin: 0 auto;
}

.apci-404-message p {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #35566b;
}

/* BUTTONS */

.apci-404-actions .btn {
	min-width: 200px;
	padding: 0.85rem 1.4rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.apci-404-actions .btn-primary {
	background: #016aab;
	border-color: #016aab;
}

.apci-404-actions .btn-primary:hover,
.apci-404-actions .btn-primary:focus {
	background: #015486;
	border-color: #015486;
}

.apci-404-actions .btn-outline-primary {
	border: 2px solid #016aab;
	color: #016aab;
}

.apci-404-actions .btn-outline-primary:hover,
.apci-404-actions .btn-outline-primary:focus {
	background: #016aab;
	color: #fff;
}

.apci-404-actions .btn-outline-secondary {
	border: 2px solid #4caa47;
	color: #4caa47;
}

.apci-404-actions .btn-outline-secondary:hover,
.apci-404-actions .btn-outline-secondary:focus {
	background: #4caa47;
	color: #fff;
}

/* SEARCH */

.apci-404-search {
	padding-top: 2rem;
	border-top: 1px solid rgba(1, 106, 171, 0.12);
}

.apci-404-search-title {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #0b2f4a;
}

.apci-404-search-form form {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
}

.apci-404-search-form input[type="search"] {
	height: 52px;
	padding: 0 1rem;
	border-radius: 999px;
	border: 1px solid #c8d7df;
	flex: 1 1 320px;
	max-width: 520px;
}

.apci-404-search-form input[type="search"]:focus {
	outline: none;
	border-color: #016aab;
	box-shadow: 0 0 0 3px rgba(1, 106, 171, 0.12);
}

.apci-404-search-form input[type="submit"] {
	height: 52px;
	padding: 0 1.5rem;
	border-radius: 999px;
	background: #016aab;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	border: none;
}

.apci-404-search-form input[type="submit"]:hover,
.apci-404-search-form input[type="submit"]:focus {
	background: #015486;
}

/* MOBILE */

@media (max-width: 767.98px) {
	.apci-404 {
		padding: 3rem 0;
	}

	.apci-404-card {
		padding: 1.75rem 1.25rem;
	}

	.apci-404-terminal-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.apci-404-terminal-body {
		padding: 1.25rem;
	}

	.apci-404-ascii {
		font-size: clamp(3.75rem, 20vw, 6rem);
	}

	.apci-404-line {
		font-size: 0.85rem;
		line-height: 1.45;
	}

	.apci-404-message p {
		font-size: 1rem;
		line-height: 1.55;
	}

	.apci-404-actions .btn {
		width: 100%;
		min-width: 0;
		margin-right: 0 !important;
	}

	.apci-404-search-form form {
		flex-direction: column;
	}

	.apci-404-search-form input,
	.apci-404-search-form input[type="submit"] {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 575.98px) {
	.apci-404-title {
		font-size: clamp(2rem, 10vw, 2.75rem);
		line-height: 1.05;
	}

	.apci-404-subtitle {
		font-size: 0.85rem;
		line-height: 1.25;
	}

	.apci-404-terminal-label,
	.apci-404-terminal-status {
		font-size: 0.7rem;
	}

	.apci-404-ascii {
		font-size: clamp(3.25rem, 22vw, 5rem);
	}

	.apci-404-line .col-4 {
		width: 36%;
	}

	.apci-404-line .col-8 {
		width: 64%;
	}

	.apci-404-key {
		margin-bottom: 0;
		padding-right: 0.35rem;
	}

	.apci-404-value {
		padding-left: 0.35rem;
	}
}

/* ----------------------------------------------------------
 * Complianz Cookie Banner – APCI compact desktop layout
 * ---------------------------------------------------------- */

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "header buttons"
    "body buttons"
    "docs docs" !important;
  column-gap: 2rem !important;
  row-gap: 0.35rem !important;
  align-items: center !important;

  width: 100% !important;
  max-width: none !important;
  font-family: "minion-pro", serif !important;
  color: #313f57 !important;
  border-top: 4px solid #4caa47 !important;
  box-shadow: 0 -4px 18px rgba(49, 63, 87, 0.14) !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 0 !important;
}

/* Place sections in grid */

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-header {
  grid-area: header !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-body {
  grid-area: body !important;
  padding: 0 !important;
  margin: 0 !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-buttons {
  grid-area: buttons !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.6rem !important;
  margin: 0 !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-documents {
  grid-area: docs !important;
  margin-top: 0.35rem !important;
}

/* Clean up unused/clutter elements */

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-logo,
#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-close,
#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-divider,
#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-information {
  display: none !important;
}

/* Title and message */

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-title {
  font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #313f57 !important;
  text-align: left !important;
  margin: 0 0 0.2rem !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-message,
#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-message p {
  font-family: "minion-pro", serif !important;
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
  color: #313f57 !important;
  margin: 0 !important;
}

/* Buttons */

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-btn {
  font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  padding: 0.55rem 1.25rem !important;
  font-size: 0.9rem !important;
  line-height: 1.1 !important;
  min-width: 170px !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-accept {
  background-color: #016aab !important;
  border-color: #016aab !important;
  color: #ffffff !important;
}

/* Footer links */

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-documents ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-documents a {
  font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
  font-size: 0.7rem !important;
  color: #016aab !important;
  text-decoration: underline !important;
}

@media (max-width: 767.98px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner {
    padding: 0.85rem 1rem !important;
  }

  #cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-message,
  #cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-message p {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
  }

  #cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  #cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-btn {
    width: 100% !important;
    margin: 0 !important;
  }

  #cmplz-cookiebanner-container .cmplz-cookiebanner.apci-cookie-banner .cmplz-documents ul {
    justify-content: center !important;
  }
}

/* =========================================================
   Campaign Pages
   Used by template-campaign.php, header-campaign.php,
   and footer-campaign.php
   ========================================================= */


/* ---------------------------------------------------------
   Campaign Template Base
   --------------------------------------------------------- */

.campaign-template {
	background: #ffffff;
	color: #1f2933;
}

.campaign-template .campaign-page {
	min-height: 70vh;
}

.campaign-template .campaign-page-content {
	margin: 0;
	padding: 0;
}

.campaign-template .campaign-page-content > *:first-child {
	margin-top: 0;
}

.campaign-template .campaign-page-content > *:last-child {
	margin-bottom: 0;
}


/* ---------------------------------------------------------
   Campaign Header
   --------------------------------------------------------- */

.campaign-template .campaign-site-header {
	background: #ffffff;
	border-bottom: 1px solid rgba(1, 106, 171, 0.15);
	padding: 1rem 0;
	position: relative;
	z-index: 10;
}

.campaign-template .campaign-site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.campaign-template .campaign-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.campaign-template .campaign-logo {
	display: block;
	width: 100px;
	max-width: 100%;
	height: auto;
}

.campaign-template .campaign-header-link {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: #016aab;
	text-decoration: none;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.campaign-template .campaign-header-link:hover,
.campaign-template .campaign-header-link:focus {
	color: #4caa47;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}


/* ---------------------------------------------------------
   Campaign Footer
   --------------------------------------------------------- */

.campaign-template .campaign-site-footer {
	background: #f5f8fa;
	border-top: 1px solid rgba(1, 106, 171, 0.15);
	padding: 2rem 0;
	color: #44515c;
	font-size: 0.95rem;
}

.campaign-template .campaign-site-footer p {
	margin-bottom: 0.35rem;
}

.campaign-template .campaign-site-footer p:last-child {
	margin-bottom: 0;
}

.campaign-template .campaign-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.campaign-template .campaign-footer-links {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.campaign-template .campaign-site-footer a {
	color: #016aab;
	text-decoration: none;
	font-weight: 600;
}

.campaign-template .campaign-site-footer a:hover,
.campaign-template .campaign-site-footer a:focus {
	color: #4caa47;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}


/* ---------------------------------------------------------
   Campaign Common Elements
   --------------------------------------------------------- */

.campaign-template .campaign-section {
	padding: 4.5rem 0;
}

.campaign-template .campaign-section-sm {
	padding: 2rem 0;
}

.campaign-template .campaign-section-lg {
	padding: 6rem 0;
}

.campaign-template .campaign-kicker {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #4caa47;
	margin-bottom: 0.75rem;
}

.campaign-template .campaign-eyebrow {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: #016aab;
	margin-bottom: 0.75rem;
}

.campaign-template .campaign-heading {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: 700;
	color: #016aab;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.campaign-template .campaign-subhead {
	font-size: 1.25rem;
	line-height: 1.45;
	color: #374151;
	margin-bottom: 1.5rem;
}

.campaign-template .campaign-copy {
	font-size: 1.05rem;
	line-height: 1.65;
	color: #374151;
}

.campaign-template .campaign-copy p:last-child {
	margin-bottom: 0;
}

.campaign-template .campaign-card {
	background: #ffffff;
	border: 1px solid rgba(1, 106, 171, 0.12);
	border-radius: 1rem;
	box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.08);
	padding: 2rem;
}

.campaign-template .campaign-card-light {
	background: #edf2f3;
	border: 1px solid rgba(1, 106, 171, 0.1);
	border-radius: 1rem;
	padding: 2rem;
}

.campaign-template .campaign-button,
.campaign-template a.campaign-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.9rem 1.5rem;
	border: 2px solid transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.campaign-template .campaign-button:hover,
.campaign-template .campaign-button:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

.campaign-template .campaign-button-primary,
.campaign-template a.campaign-button-primary {
	background: #4caa47;
	border-color: #4caa47;
	color: #ffffff;
}

.campaign-template .campaign-button-primary:hover,
.campaign-template .campaign-button-primary:focus {
	background: #15803d;
	border-color: #15803d;
	color: #ffffff;
}

.campaign-template .campaign-button-secondary,
.campaign-template a.campaign-button-secondary {
	background: #016aab;
	border-color: #016aab;
	color: #ffffff;
}

.campaign-template .campaign-button-secondary:hover,
.campaign-template .campaign-button-secondary:focus {
	background: #00568c;
	border-color: #00568c;
	color: #ffffff;
}

.campaign-template .campaign-button-outline,
.campaign-template a.campaign-button-outline {
	background: transparent;
	border-color: #016aab;
	color: #016aab;
}

.campaign-template .campaign-button-outline:hover,
.campaign-template .campaign-button-outline:focus {
	background: #016aab;
	color: #ffffff;
}

/* =========================================================
   Self-Audit Hero Background Section
   ========================================================= */

.campaign-template .self-audit-hero-bg {
  position: relative;
  min-height: clamp(520px, 64vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("/wp-content/themes/IslaMae/img/home-woman-reaching-lg.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.campaign-template .self-audit-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(1, 64, 104, 0.98) 0%,
      rgba(1, 84, 136, 0.94) 32%,
      rgba(1, 106, 171, 0.82) 58%,
      rgba(1, 106, 171, 0.70) 78%,
      rgba(1, 106, 171, 0.58) 100%
    );
}
.campaign-template .self-audit-hero-bg .container {
	position: relative;
	z-index: 2;
}

.campaign-template .self-audit-hero-content {
	max-width: 520px;
	padding: clamp(3.25rem, 6vw, 5rem) 0;
}

.campaign-template .self-audit-hero-kicker {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: clamp(0.75rem, 1vw, 0.9rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
	margin-bottom: 0.85rem;
}

.campaign-template .self-audit-hero-title {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: 700;
	line-height: 0.65;
	color: #ffffff;
	margin: 0 0 1.35rem;
	text-transform: none;
}

.campaign-template .self-audit-hero-title span {
	display: block;
	margin: 0;
	padding: 0;
}

.campaign-template .self-audit-hero-title .hero-title-line-1 {
	font-size: clamp(3rem, 5.2vw, 5rem);
	font-weight: 700;
	margin-bottom: 0.1em;
}

.campaign-template .self-audit-hero-title .hero-title-line-2 {
	font-size: clamp(2.25rem, 3.9vw, 3.85rem);
	font-weight: 400;
	margin-bottom: 0.08em;
}

.campaign-template .self-audit-hero-title .hero-title-line-3 {
	font-size: clamp(3.35rem, 5.8vw, 5.65rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin-top: 0;
}

/* ---------------------------------------------------------
   Self-Audit Hero – XL desktop title wrap fix
   Prevent "Is Your Pharmacy's" overlap between 1287px–1399px
   --------------------------------------------------------- */

@media (min-width: 1287px) and (max-width: 1399.98px) {

	.campaign-template .self-audit-hero-title .hero-title-line-2 {
    font-size: clamp(2rem, 3.25vw, 3.35rem);
    white-space: nowrap;
  }
}

.campaign-template .self-audit-hero-lead,
.campaign-template .self-audit-hero-copy {
	font-family: "minion-pro", Georgia, serif;
	color: #ffffff;
	text-wrap: pretty;
}

.campaign-template .self-audit-hero-lead {
	font-size: clamp(1.25rem, 1.65vw, 1.75rem);
	line-height: 1.22;
	margin-bottom: 1.25rem;
	max-width: 500px;
}

.campaign-template .self-audit-hero-copy {
	font-size: clamp(1.05rem, 1.25vw, 1.35rem);
	line-height: 1.28;
	margin-bottom: 0;
	max-width: 500px;
}

.campaign-template .self-audit-hero-copy strong {
	font-weight: 700;
	color: #ffffff;
}

.campaign-template .self-audit-hero-actions {
	margin-top: 1.8rem;
	max-width: 440px;
}

.campaign-template .self-audit-hero-button,
.campaign-template a.self-audit-hero-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	background: #ffffff;
	color: #016aab;
	border: 2px solid #ffffff;
	border-radius: 0.45rem;
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: clamp(1.1rem, 1.6vw, 1.45rem);
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	padding: 0.65rem 1.25rem 0.7rem;
	box-shadow: 0 0.55rem 1.4rem rgba(15, 23, 42, 0.18);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.campaign-template .self-audit-hero-button:hover,
.campaign-template .self-audit-hero-button:focus {
	background: #4caa47;
	border-color: #4caa47;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
}

.campaign-template .self-audit-hero-note {
	font-family: "minion-pro", Georgia, serif;
	font-size: 0.85rem;
	line-height: 1.3;
	font-style: italic;
	color: rgba(255, 255, 255, 0.92);
	margin: 0.65rem 0 0;
	max-width: 20rem;
}

/* ---------------------------------------------------------
   Self-Audit Hero – Edge-safe desktop title handling
   Prevent "Is Your Pharmacy's" from wrapping/overlapping
   --------------------------------------------------------- */

@media (min-width: 992px) {
  .campaign-template .self-audit-hero-title {
    line-height: 0.5;
  }

  .campaign-template .self-audit-hero-title .hero-title-line {
    line-height: 0.9;
  }

  .campaign-template .self-audit-hero-title .hero-title-line-2 {
    white-space: nowrap;
    font-size: clamp(2rem, 3.25vw, 3.35rem);
    line-height: 0.95;
  }
}

/* ---------------------------------------------------------
   Self-Audit Hero Responsive Background Positioning
   --------------------------------------------------------- */

@media (max-width: 1399.98px) {
	.campaign-template .self-audit-hero-bg {
		background-position: calc(100% + 24vw) center;
	}

	.campaign-template .self-audit-hero-content {
		max-width: 500px;
	}
}

@media (max-width: 1199.98px) {
	.campaign-template .self-audit-hero-bg {
		min-height: clamp(500px, 62vh, 660px);
		background-position: calc(100% + 28vw) center;
	}

	.campaign-template .self-audit-hero-overlay {
		background:
			linear-gradient(
				90deg,
				rgba(1, 64, 104, 0.94) 0%,
				rgba(1, 84, 136, 0.88) 48%,
				rgba(1, 106, 171, 0.62) 78%,
				rgba(1, 106, 171, 0.38) 100%
			);
	}
}

@media (max-width: 991.98px) {
	.campaign-template .self-audit-hero-bg {
		min-height: clamp(520px, 68vh, 680px);
		background-position: calc(100% + 34vw) center;
		align-items: center;
	}

	.campaign-template .self-audit-hero-content {
		max-width: 470px;
		padding: 3.5rem 0;
	}

	.campaign-template .self-audit-hero-title .hero-title-line-1 {
		font-size: clamp(2.6rem, 7vw, 4rem);
	}

	.campaign-template .self-audit-hero-title .hero-title-line-2 {
		font-size: clamp(2rem, 5.25vw, 3.1rem);
	}

	.campaign-template .self-audit-hero-title .hero-title-line-3 {
		font-size: clamp(3rem, 7.8vw, 4.65rem);
	}

	.campaign-template .self-audit-hero-lead {
		font-size: clamp(1.2rem, 2.4vw, 1.55rem);
	}

	.campaign-template .self-audit-hero-copy {
		font-size: clamp(1rem, 2vw, 1.2rem);
	}
}

@media (max-width: 767.98px) {
	.campaign-template .self-audit-hero-bg {
		min-height: auto;
		background-position: calc(100% + 44vw) center;
	}

	.campaign-template .self-audit-hero-overlay {
		background:
			linear-gradient(
				90deg,
				rgba(1, 64, 104, 0.96) 0%,
				rgba(1, 84, 136, 0.92) 58%,
				rgba(1, 106, 171, 0.74) 100%
			);
	}

	.campaign-template .self-audit-hero-content {
		max-width: 420px;
		padding: 3.25rem 0;
	}

	.campaign-template .self-audit-hero-title {
		margin-bottom: 1.15rem;
	}

	.campaign-template .self-audit-hero-title .hero-title-line-1 {
		font-size: clamp(2.35rem, 9vw, 3.4rem);
	}

	.campaign-template .self-audit-hero-title .hero-title-line-2 {
		font-size: clamp(1.8rem, 7vw, 2.55rem);
	}

	.campaign-template .self-audit-hero-title .hero-title-line-3 {
		font-size: clamp(2.65rem, 10vw, 3.85rem);
	}

	.campaign-template .self-audit-hero-lead {
		font-size: 1.18rem;
		line-height: 1.25;
		margin-bottom: 1rem;
	}

	.campaign-template .self-audit-hero-copy {
		font-size: 1.02rem;
		line-height: 1.32;
	}

	.campaign-template .self-audit-hero-actions {
		margin-top: 1.5rem;
		max-width: 340px;
	}

	.campaign-template .self-audit-hero-button,
	.campaign-template a.self-audit-hero-button {
		font-size: 1.1rem;
		padding: 0.6rem 1rem 0.65rem;
	}
}

@media (max-width: 575.98px) {
	.campaign-template .self-audit-hero-bg {
		background-image: url("/wp-content/themes/IslaMae/img/home-woman-reaching-sm.webp");
		background-size: cover;
		background-position: 78% center;
	}

	.campaign-template .self-audit-hero-overlay {
		background:
			linear-gradient(
				90deg,
				rgba(1, 64, 104, 0.96) 0%,
				rgba(1, 84, 136, 0.92) 62%,
				rgba(1, 106, 171, 0.72) 100%
			);
	}

	.campaign-template .self-audit-hero-content {
		max-width: 78%;
		padding: 2.85rem 0 3rem;
	}

	.campaign-template .self-audit-hero-kicker {
		font-size: 0.72rem;
		margin-bottom: 0.7rem;
	}

	.campaign-template .self-audit-hero-title .hero-title-line-1 {
		font-size: clamp(2.15rem, 10vw, 3rem);
	}

	.campaign-template .self-audit-hero-title .hero-title-line-2 {
		font-size: clamp(1.6rem, 7.5vw, 2.25rem);
	}

	.campaign-template .self-audit-hero-title .hero-title-line-3 {
		font-size: clamp(2.4rem, 11vw, 3.35rem);
	}

	.campaign-template .self-audit-hero-lead {
		font-size: 1.05rem;
		line-height: 1.28;
	}

	.campaign-template .self-audit-hero-copy {
		font-size: 0.95rem;
		line-height: 1.32;
	}

	.campaign-template .self-audit-hero-actions {
		max-width: 100%;
	}

	.campaign-template .self-audit-hero-button,
	.campaign-template a.self-audit-hero-button {
		font-size: 1rem;
		width: auto;
		padding: 0.55rem 0.85rem 0.6rem;
	}

	.campaign-template .self-audit-hero-note {
		font-size: 0.78rem;
		max-width: 14rem;
	}
}

@media (max-width: 430px) {
	.campaign-template .self-audit-hero-bg {
		background-position: 90% center;
	}

	.campaign-template .self-audit-hero-content {
		max-width: 82%;
		padding-top: 2.5rem;
		padding-bottom: 2.75rem;
	}

	.campaign-template .self-audit-hero-title .hero-title-line-1 {
		font-size: 2.15rem;
	}

	.campaign-template .self-audit-hero-title .hero-title-line-2 {
		font-size: 1.6rem;
	}

	.campaign-template .self-audit-hero-title .hero-title-line-3 {
		font-size: 2.45rem;
	}

	.campaign-template .self-audit-hero-lead {
		font-size: 1rem;
	}

	.campaign-template .self-audit-hero-copy {
		font-size: 0.9rem;
	}
}

/* ---------------------------------------------------------
   Self-Audit Content Sections
   --------------------------------------------------------- */

/* ---------------------------------------------------------
   Self-Audit Intro Section
   --------------------------------------------------------- */

.campaign-template .self-audit-intro {
	background: #ffffff;
	padding-top: clamp(3.25rem, 5vw, 5rem);
	padding-bottom: clamp(3.5rem, 5vw, 5.25rem);
}

.campaign-template .self-audit-intro .campaign-heading {
	font-size: clamp(2rem, 3vw, 2.75rem);
	line-height: 1.08;
	margin-bottom: 1.25rem;
}

.campaign-template .self-audit-intro-copy {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.campaign-template .self-audit-intro-copy p {
	font-size: clamp(1.15rem, 1.35vw, 1.45rem);
	line-height: 1.55;
	color: #1f2933;
	margin-bottom: 1rem;
}

.campaign-template .self-audit-intro-copy p:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------
   Self-Audit Benefit Cards
   Bootstrap column version
   --------------------------------------------------------- */

.campaign-template .self-audit-benefits-row {
	max-width: 1120px;
	margin: 3rem auto 0;
}

.campaign-template .self-audit-benefits-row > [class*="col-"] {
	display: flex;
}

.campaign-template .self-audit-benefit-card {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	background: #ffffff;
	border: 1px solid rgba(1, 106, 171, 0.16);
	border-radius: 1rem;
	box-shadow: 0 0.65rem 1.75rem rgba(15, 23, 42, 0.07);
	padding: 2rem 1.75rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-template .self-audit-benefit-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 1rem 2.25rem rgba(15, 23, 42, 0.1);
}

.campaign-template .self-audit-benefit-icon {
	width: 4.75rem;
	height: 4.75rem;
	margin: 0 0 1.15rem;
	border-radius: 999px;
	background: rgba(1, 106, 171, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.campaign-template .self-audit-benefit-icon img {
	display: block;
	width: 2.35rem;
	height: 2.35rem;
	object-fit: contain;
}

.campaign-template .self-audit-benefit-card h3 {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.15;
	color: #016aab;
	margin-bottom: 0.75rem;
}

.campaign-template .self-audit-benefit-card p {
	font-size: 1.05rem;
	line-height: 1.45;
	color: #1f2933;
	margin-bottom: 0;
	max-width: 18rem;
}


/* ---------------------------------------------------------
   Self-Audit Form Section
   --------------------------------------------------------- */

.campaign-template .self-audit-form-section {
	background: #016aab;
	color: #ffffff;
	padding: 4.5rem 0;
}

.campaign-template .self-audit-form-section .campaign-kicker,
.campaign-template .self-audit-form-section .campaign-heading,
.campaign-template .self-audit-form-section .campaign-subhead,
.campaign-template .self-audit-form-section .campaign-copy {
	color: #ffffff;
}

.campaign-template .self-audit-form-wrap {
	background: #ffffff;
	color: #1f2933;
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.2);
}

.campaign-template .self-audit-form-wrap h2,
.campaign-template .self-audit-form-wrap h3 {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	color: #016aab;
	margin-bottom: 1rem;
}

.campaign-template .self-audit-form-wrap label {
	font-weight: 700;
	color: #1f2933;
}

.campaign-template .self-audit-form-wrap input[type="text"],
.campaign-template .self-audit-form-wrap input[type="email"],
.campaign-template .self-audit-form-wrap input[type="tel"],
.campaign-template .self-audit-form-wrap input[type="url"],
.campaign-template .self-audit-form-wrap select,
.campaign-template .self-audit-form-wrap textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 0.5rem;
	padding: 0.75rem 0.9rem;
	font-size: 1rem;
	line-height: 1.4;
}

.campaign-template .self-audit-form-wrap input[type="text"]:focus,
.campaign-template .self-audit-form-wrap input[type="email"]:focus,
.campaign-template .self-audit-form-wrap input[type="tel"]:focus,
.campaign-template .self-audit-form-wrap input[type="url"]:focus,
.campaign-template .self-audit-form-wrap select:focus,
.campaign-template .self-audit-form-wrap textarea:focus {
	border-color: #016aab;
	box-shadow: 0 0 0 0.2rem rgba(1, 106, 171, 0.18);
	outline: none;
}

.campaign-template .self-audit-form-wrap input[type="submit"],
.campaign-template .self-audit-form-wrap button[type="submit"],
.campaign-template .self-audit-form-wrap .mc4wp-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: #4caa47;
	border: 2px solid #4caa47;
	border-radius: 999px;
	color: #ffffff;
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.9rem 1.5rem;
	text-align: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.campaign-template .self-audit-form-wrap input[type="submit"]:hover,
.campaign-template .self-audit-form-wrap input[type="submit"]:focus,
.campaign-template .self-audit-form-wrap button[type="submit"]:hover,
.campaign-template .self-audit-form-wrap button[type="submit"]:focus,
.campaign-template .self-audit-form-wrap .mc4wp-form input[type="submit"]:hover,
.campaign-template .self-audit-form-wrap .mc4wp-form input[type="submit"]:focus {
	background: #15803d;
	border-color: #15803d;
	color: #ffffff;
	transform: translateY(-1px);
}

.campaign-template .self-audit-form-fine-print {
	font-size: 0.85rem;
	line-height: 1.45;
	color: #5b6670;
	margin-top: 1rem;
	margin-bottom: 0;
}

.campaign-template .self-audit-form-icon,
.campaign-template .self-audit-fine-print-icon {
	background: rgba(1, 106, 171, 0.08);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.campaign-template .self-audit-form-icon {
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 0.75rem;
}

.campaign-template .self-audit-form-icon img {
	width: 1.65rem;
	height: 1.65rem;
}

.campaign-template .self-audit-fine-print-icon {
	width: 1.75rem;
	height: 1.75rem;
	margin-right: 0.5rem;
}

.campaign-template .self-audit-fine-print-icon img {
	width: 0.9rem;
	height: 0.9rem;
}

/* ---------------------------------------------------------
   Self-Audit Form Card Final Polish
   --------------------------------------------------------- */

.campaign-template .self-audit-form-wrap {
	padding: clamp(1.75rem, 3vw, 2.25rem);
}

.campaign-template .self-audit-form-header {
	display: block;
	margin-bottom: 1.25rem;
}

.campaign-template .self-audit-form-icon {
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 0.9rem;
	background: rgba(1, 106, 171, 0.08);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.campaign-template .self-audit-form-icon img {
	width: 1.65rem;
	height: 1.65rem;
	display: block;
}

.campaign-template .self-audit-form-wrap h3 {
	margin-bottom: 0.9rem;
}

.campaign-template .self-audit-form-intro {
	max-width: 34rem;
	margin-bottom: 1.25rem;
}

.campaign-template .self-audit-form-shortcode {
	margin-top: 1.25rem;
}

.campaign-template .self-audit-form-shortcode form,
.campaign-template .self-audit-form-wrap form {
	margin-bottom: 0;
}

.campaign-template .self-audit-form-wrap input[type="text"],
.campaign-template .self-audit-form-wrap input[type="email"] {
	min-height: 3rem;
}

.campaign-template .self-audit-form-wrap input[type="submit"],
.campaign-template .self-audit-form-wrap button[type="submit"],
.campaign-template .self-audit-form-wrap .hf-form button,
.campaign-template .self-audit-form-wrap .hf-form input[type="submit"] {
	margin-top: 0.5rem;
	margin-bottom: 0;
	min-height: 3.25rem;
}

.campaign-template .self-audit-form-fine-print {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.85rem;
	line-height: 1.45;
	color: #5b6670;
	margin-top: 1.15rem;
	margin-bottom: 0;
}

.campaign-template .self-audit-fine-print-icon {
	flex: 0 0 auto;
	width: 1.75rem;
	height: 1.75rem;
	margin-top: 0.05rem;
	background: rgba(1, 106, 171, 0.08);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.campaign-template .self-audit-fine-print-icon img {
	width: 0.85rem;
	height: 0.85rem;
	display: block;
}

.campaign-template .self-audit-form-fine-print span:last-child {
	flex: 1 1 auto;
}

/* ---------------------------------------------------------
   Self-Audit Form Card Icons via CSS
   --------------------------------------------------------- */

.campaign-template .self-audit-form-header {
	margin-bottom: 1.25rem;
}

.campaign-template .self-audit-form-wrap h3 {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	color: #016aab;
	font-size: clamp(1.6rem, 2.3vw, 2.15rem);
	line-height: 1.12;
	margin-bottom: 0.9rem;
}

.campaign-template .self-audit-form-wrap h3::before {
	content: "";
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	background-color: rgba(1, 106, 171, 0.08);
	background-image: url("/wp-content/themes/IslaMae/img/svg/envelope.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.35rem 1.35rem;
}

.campaign-template .self-audit-form-intro {
	max-width: 34rem;
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.55;
	color: #44515c;
}

.campaign-template .self-audit-form-shortcode {
	margin-top: 1.25rem;
}

.campaign-template .self-audit-form-fine-print {
	position: relative;
	min-height: 1.75rem;
	padding-left: 2.5rem;
	font-size: 0.85rem;
	line-height: 1.45;
	color: #5b6670;
	margin-top: 1.15rem;
	margin-bottom: 0;
}

.campaign-template .self-audit-form-fine-print::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.05rem;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background-color: rgba(1, 106, 171, 0.08);
	background-image: url("/wp-content/themes/IslaMae/img/svg/lock.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.85rem 0.85rem;
}

@media (max-width: 575.98px) {
	.campaign-template .self-audit-form-wrap h3 {
		gap: 0.6rem;
		font-size: 1.45rem;
	}

	.campaign-template .self-audit-form-wrap h3::before {
		width: 2.4rem;
		height: 2.4rem;
		background-size: 1.15rem 1.15rem;
	}

	.campaign-template .self-audit-form-fine-print {
		padding-left: 2.25rem;
	}

	.campaign-template .self-audit-form-fine-print::before {
		width: 1.6rem;
		height: 1.6rem;
		background-size: 0.8rem 0.8rem;
	}
}

/* ---------------------------------------------------------
   What Happens Next
   --------------------------------------------------------- */

.campaign-template .self-audit-next-steps {
	background: #ffffff;
}

.campaign-template .self-audit-next-steps-card {
	position: relative;
	overflow: hidden;
	background: #edf2f3;
	border: 1px solid rgba(1, 106, 171, 0.16);
	border-radius: 1rem;
	padding: clamp(2rem, 4vw, 3rem);
}

.campaign-template .self-audit-next-steps-card::after {
	content: "";
	position: absolute;
	right: -3rem;
	bottom: -3rem;
	width: 10rem;
	height: 10rem;
	border-radius: 999px;
	background: rgba(76, 170, 71, 0.12);
	pointer-events: none;
}

.campaign-template .self-audit-next-steps-card .campaign-kicker,
.campaign-template .self-audit-next-steps-card .campaign-heading,
.campaign-template .self-audit-next-steps-card .campaign-copy {
	position: relative;
	z-index: 1;
}

.campaign-template .self-audit-next-steps-card .campaign-kicker {
	margin-bottom: 0.85rem;
}

.campaign-template .self-audit-next-steps-card .campaign-heading {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-size: clamp(2rem, 3.5vw, 3rem);
	line-height: 1.08;
	margin-bottom: 1.25rem;
	max-width: 50rem;
}

.campaign-template .self-audit-next-steps-card .campaign-heading::before {
	content: "";
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	background-color: rgba(1, 106, 171, 0.08);
	background-image: url("/wp-content/themes/IslaMae/img/svg/cloud-download.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.5rem 1.5rem;
}

.campaign-template .self-audit-next-steps-card .campaign-copy {
	max-width: 58rem;
}

.campaign-template .self-audit-next-steps-card .campaign-copy p {
	font-size: clamp(1.25rem, 1.6vw, 1.6rem);
	line-height: 1.55;
	color: #1f2933;
	margin-bottom: 0;
}

/* ---------------------------------------------------------
   APCI Credibility Section
   --------------------------------------------------------- */

.campaign-template .campaign-credibility {
	background: #ffffff;
	padding: 2rem 0;
}

.campaign-template .campaign-credibility-box {
	background: #edf2f3;
	border-left: 6px solid #4caa47;
	border-radius: 1rem;
	padding: 2rem;
}

.campaign-template .campaign-credibility-box h2,
.campaign-template .campaign-credibility-box h3 {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	color: #016aab;
	margin-bottom: 1rem;
}

.campaign-template .campaign-credibility-box p:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------
   Campaign Footer
   --------------------------------------------------------- */

.campaign-template .campaign-site-footer {
	background: #f5f8fa;
	border-top: 1px solid rgba(1, 106, 171, 0.15);
	padding: 1.25rem 0;
	color: #44515c;
}

.campaign-template .campaign-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.campaign-template .campaign-footer-copy p,
.campaign-template .campaign-site-footer p {
	font-size: 0.85rem;
	line-height: 1.35;
	margin-bottom: 0.2rem;
	color: #44515c;
}

.campaign-template .campaign-footer-copy p:last-child,
.campaign-template .campaign-site-footer p:last-child {
	margin-bottom: 0;
}

.campaign-template .campaign-footer-copy strong {
	font-size: 0.9rem;
	font-weight: 700;
}

.campaign-template .campaign-footer-links {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.campaign-template .campaign-site-footer a {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 0.8rem;
	line-height: 1.2;
	color: #016aab;
	text-decoration: none;
	font-weight: 700;
}

.campaign-template .campaign-site-footer a:hover,
.campaign-template .campaign-site-footer a:focus {
	color: #4caa47;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 575.98px) {
	.campaign-template .campaign-footer-inner {
		display: block;
		text-align: center;
	}

	.campaign-template .campaign-footer-links {
		justify-content: center;
		margin-top: 0.75rem;
	}

	.campaign-template .campaign-footer-copy p,
	.campaign-template .campaign-site-footer p {
		font-size: 0.8rem;
	}

	.campaign-template .campaign-site-footer a {
		font-size: 0.78rem;
	}
}

/* =========================================================
   Self-Audit Download Page
   ========================================================= */

.campaign-template .self-audit-download-hero {
	background:
		linear-gradient(135deg, rgba(237, 242, 243, 0.98), rgba(255, 255, 255, 0.98));
	padding: clamp(4rem, 7vw, 6.5rem) 0;
	overflow: hidden;
}

.campaign-template .self-audit-download-hero h1 {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: clamp(2.75rem, 5vw, 4.75rem);
	font-weight: 700;
	line-height: 1.02;
	color: #016aab;
	margin-bottom: 1.25rem;
}

.campaign-template .self-audit-download-lead {
	font-family: "minion-pro", Georgia, serif;
	font-size: clamp(1.3rem, 1.7vw, 1.75rem);
	line-height: 1.45;
	color: #1f2933;
	max-width: 42rem;
	margin-bottom: 0;
}

.campaign-template .self-audit-download-actions {
	margin-top: 2rem;
	max-width: 34rem;
}

.campaign-template .self-audit-download-button,
.campaign-template a.self-audit-download-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	background: #4caa47;
	color: #ffffff;
	border: 2px solid #4caa47;
	border-radius: 999px;
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	padding: 0.9rem 1.6rem;
	box-shadow: 0 0.65rem 1.5rem rgba(15, 23, 42, 0.14);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.campaign-template .self-audit-download-button::before {
	content: "";
	width: 1.15rem;
	height: 1.15rem;
	margin-right: 0.55rem;
	background-image: url("/wp-content/themes/IslaMae/img/svg/cloud-download.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter: brightness(0) invert(1);
}

.campaign-template .self-audit-download-button:hover,
.campaign-template .self-audit-download-button:focus {
	background: #15803d;
	border-color: #15803d;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
}

.campaign-template .self-audit-download-note {
	font-size: 0.9rem;
	line-height: 1.45;
	color: #5b6670;
	margin: 0.9rem 0 0;
}

.campaign-template .self-audit-download-preview {
	position: relative;
	max-width: 430px;
	margin-left: auto;
	margin-right: auto;
}

.campaign-template .self-audit-download-preview::before {
	content: "";
	position: absolute;
	inset: 10% -6% -6% 10%;
	background: rgba(1, 106, 171, 0.12);
	border-radius: 2rem;
	transform: rotate(-4deg);
	z-index: 0;
}

.campaign-template .self-audit-download-preview-inner {
	position: relative;
	z-index: 1;
	background: #ffffff;
	border: 1px solid rgba(1, 106, 171, 0.16);
	border-radius: 1.25rem;
	box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.16);
	padding: 1rem;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.campaign-template .self-audit-download-preview-inner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

.campaign-template .self-audit-download-preview-inner:has(img[src=""]) {
	background: #edf2f3;
}

.campaign-template .self-audit-download-preview-inner img[src=""] {
	display: none;
}

.campaign-template .self-audit-download-preview-inner::after {
	content: "Self-Audit Preview Image";
	display: none;
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-weight: 700;
	color: #016aab;
	text-align: center;
}

.campaign-template .self-audit-download-preview-inner:has(img[src=""])::after {
	display: block;
}

/* ---------------------------------------------------------
   Self-Audit Download Page – Mobile Preview Spacing
   Prevent oversized white card around PDF preview
   --------------------------------------------------------- */

@media (max-width: 430px) {
  .campaign-template .self-audit-download-preview-inner {
    min-height: 0;
    padding: 0.75rem;
    align-items: flex-start;
  }

  .campaign-template .self-audit-download-preview {
    max-width: 300px;
  }
}

@media (max-width: 375px) {
  .campaign-template .self-audit-download-preview {
    max-width: 280px;
  }

  .campaign-template .self-audit-download-preview-inner {
    padding: 0.65rem;
  }
}
/* ---------------------------------------------------------
   Self-Audit Intro / Benefit Cards Responsive
   Bootstrap column version
   --------------------------------------------------------- */

@media (max-width: 767.98px) {
	.campaign-template .self-audit-intro {
		padding-top: 3rem;
		padding-bottom: 3.25rem;
	}

	.campaign-template .self-audit-intro-copy {
		text-align: left;
		max-width: 100%;
	}

	.campaign-template .self-audit-intro .campaign-heading {
		text-align: left !important;
		font-size: clamp(1.85rem, 8vw, 2.35rem);
	}

	.campaign-template .self-audit-intro-copy p {
		font-size: 1.1rem;
		line-height: 1.5;
	}

	.campaign-template .self-audit-benefits-row {
		max-width: 620px;
		margin-top: 2.5rem;
	}

	.campaign-template .self-audit-benefit-card {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 1.25rem;
		align-items: center;
		text-align: left;
		padding: 1.5rem;
	}

	.campaign-template .self-audit-benefit-icon {
		grid-row: span 2;
		margin: 0;
		width: 4.25rem;
		height: 4.25rem;
	}

	.campaign-template .self-audit-benefit-icon img {
		width: 2.15rem;
		height: 2.15rem;
	}

	.campaign-template .self-audit-benefit-card h3 {
		margin-bottom: 0.35rem;
	}

	.campaign-template .self-audit-benefit-card p {
		max-width: none;
	}
}

@media (max-width: 575.98px) {
	.campaign-template .self-audit-benefits-row {
		margin-top: 2rem;
	}

	.campaign-template .self-audit-benefit-card {
		display: block;
		text-align: center;
		padding: 1.5rem;
	}

	.campaign-template .self-audit-benefit-icon {
		margin: 0 auto 1rem;
		width: 4rem;
		height: 4rem;
	}

	.campaign-template .self-audit-benefit-card h3 {
		font-size: 1.15rem;
		margin-bottom: 0.5rem;
	}

	.campaign-template .self-audit-benefit-card p {
		font-size: 1rem;
		line-height: 1.45;
	}
}


/* ---------------------------------------------------------
   Campaign Responsive Styles
   --------------------------------------------------------- */

@media (max-width: 991.98px) {
	.campaign-template .campaign-section {
		padding: 3.75rem 0;
	}

	.campaign-template .campaign-section-lg {
		padding: 4.5rem 0;
	}

	.campaign-template .self-audit-hero {
		padding: 4rem 0;
	}

	.campaign-template .self-audit-hero-image-wrap {
		margin-top: 2.5rem;
	}

	.campaign-template .self-audit-includes-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.campaign-template .self-audit-form-wrap {
		margin-top: 2rem;
	}
}

/* ---------------------------------------------------------
   Self-Audit Benefit Cards – Tablet Stacked Layout
   Stack cards from 768px–991px to avoid narrow text columns
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 991.98px) {
  .campaign-template .self-audit-benefits-row {
    max-width: 680px;
    margin-top: 2.5rem;
  }

  .campaign-template .self-audit-benefits-row > .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .campaign-template .self-audit-benefit-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.25rem;
    align-items: center;
    text-align: left;
    padding: 1.5rem 1.75rem;
  }

  .campaign-template .self-audit-benefit-icon {
    grid-row: span 2;
    margin: 0;
    width: 4.25rem;
    height: 4.25rem;
  }

  .campaign-template .self-audit-benefit-icon img {
    width: 2.15rem;
    height: 2.15rem;
  }

  .campaign-template .self-audit-benefit-card h3 {
    margin-bottom: 0.35rem;
  }

  .campaign-template .self-audit-benefit-card p {
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.45;
  }
}

@media (max-width: 767.98px) {
	.campaign-template .campaign-section {
		padding: 3rem 0;
	}

	.campaign-template .campaign-section-sm {
		padding: 2.5rem 0 1rem;
	}

	.campaign-template .campaign-section-lg {
		padding: 3.75rem 0;
	}

	.campaign-template .self-audit-hero {
		padding: 3.5rem 0;
		text-align: left;
	}

	.campaign-template .self-audit-hero-actions {
		align-items: stretch;
	}

	.campaign-template .self-audit-hero-actions .campaign-button {
		width: 100%;
	}

	.campaign-template .self-audit-includes-grid {
		grid-template-columns: 1fr;
	}

	.campaign-template .campaign-card,
	.campaign-template .campaign-card-light,
	.campaign-template .self-audit-form-wrap,
	.campaign-template .campaign-credibility-box {
		padding: 1.5rem;
	}

	.campaign-template .self-audit-thank-you {
		padding: 3.5rem 0;
	}

	.campaign-template .self-audit-thank-you-card {
		padding: 2rem 1.5rem;
	}
}

@media (max-width: 575.98px) {
	.campaign-template .campaign-site-header {
		padding: 0.75rem 0;
	}

	.campaign-template .campaign-logo {
		width: 100px;
	}
	
  .campaign-template .campaign-site-header {
    padding: 0.8rem 0;
  }

  .campaign-template .campaign-header-link {
    font-size: 0.75rem;
  }

	.campaign-template .campaign-header-link {
		font-size: 0.75rem;
	}

	.campaign-template .campaign-site-header-inner {
		gap: 0.75rem;
	}

	.campaign-template .self-audit-hero {
		padding: 3rem 0;
	}

	.campaign-template .self-audit-hero h1 {
		font-size: 2.25rem;
	}

	.campaign-template .self-audit-hero .lead {
		font-size: 1.08rem;
	}

	.campaign-template .campaign-subhead {
		font-size: 1.1rem;
	}

	.campaign-template .campaign-footer-inner {
		display: block;
		text-align: center;
	}

	.campaign-template .campaign-footer-links {
		justify-content: center;
		margin-top: 0.75rem;
	}

	.campaign-template .self-audit-download-actions .campaign-button {
		width: 100%;
	}
}

@media (max-width: 430px) {
  .campaign-template .campaign-logo {
    width: 85px;
  }

  .campaign-template .campaign-site-header-inner {
    align-items: center;
  }
}	
	


/* =========================================================
   Self-Audit Landing Page Enhancements
   ========================================================= */


/* ---------------------------------------------------------
   Hero Refinements
   --------------------------------------------------------- */

.campaign-template .self-audit-hero .campaign-copy {
	margin-bottom: 0;
	max-width: 36rem;
}

.campaign-template .self-audit-hero .campaign-button {
	min-width: 220px;
}

.campaign-template .self-audit-hero-note {
	max-width: 20rem;
	font-style: italic;
}

.campaign-template .self-audit-hero-image-wrap {
	padding: 1rem;
}

.campaign-template .self-audit-hero-image {
	border-radius: 0.75rem;
}


/* ---------------------------------------------------------
   Intro Section
   --------------------------------------------------------- */

.campaign-template .self-audit-intro-copy {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.campaign-template .self-audit-intro-copy p {
	margin-bottom: 1rem;
}

.campaign-template .self-audit-intro-copy p:last-child {
	margin-bottom: 0;
}


/* ---------------------------------------------------------
   Benefit Cards
   --------------------------------------------------------- */

.campaign-template .self-audit-benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 3rem;
}

.campaign-template .self-audit-benefit-card {
	background: #ffffff;
	border: 1px solid rgba(1, 106, 171, 0.12);
	border-radius: 1rem;
	box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.06);
	padding: 1.75rem;
	text-align: center;
}

.campaign-template .self-audit-benefit-icon {
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 1rem;
	border-radius: 999px;
	background: rgba(1, 106, 171, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.campaign-template .self-audit-benefit-icon img {
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	object-fit: contain;
}

.campaign-template .self-audit-benefit-card h3 {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #016aab;
	margin-bottom: 0.65rem;
}

.campaign-template .self-audit-benefit-card p {
	font-size: 0.98rem;
	line-height: 1.55;
	color: #44515c;
	margin-bottom: 0;
}

/* ---------------------------------------------------------
   What the Self-Audit Covers
   --------------------------------------------------------- */

.campaign-template .self-audit-includes .campaign-subhead {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------------------------------------------------------
   What the Self-Audit Covers
   --------------------------------------------------------- */

.campaign-template .self-audit-includes {
	background: #f8fafc;
	padding-top: clamp(3.75rem, 5vw, 5.5rem);
	padding-bottom: clamp(3.75rem, 5vw, 5.5rem);
}

.campaign-template .self-audit-includes .campaign-kicker {
	color: #4caa47;
	margin-bottom: 0.5rem;
}

.campaign-template .self-audit-includes .campaign-heading {
	font-size: clamp(2rem, 3vw, 2.75rem);
	line-height: 1.08;
	margin-bottom: 1rem;
}

.campaign-template .self-audit-includes .campaign-subhead {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	font-size: clamp(1.1rem, 1.3vw, 1.35rem);
	line-height: 1.45;
	color: #1f2933;
}

.campaign-template .self-audit-includes-row {
	max-width: 1120px;
	margin: 3rem auto 0;
}

.campaign-template .self-audit-includes-row > [class*="col-"] {
	display: flex;
}

.campaign-template .self-audit-include-item {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: #ffffff;
	border: 1px solid rgba(1, 106, 171, 0.16);
	border-radius: 1rem;
	box-shadow: 0 0.55rem 1.5rem rgba(15, 23, 42, 0.06);
	padding: 1.5rem;
}

.campaign-template .self-audit-include-icon {
	flex: 0 0 auto;
	width: 3.75rem;
	height: 3.75rem;
	border-radius: 999px;
	background: rgba(1, 106, 171, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.campaign-template .self-audit-include-icon img {
	display: block;
	width: 2rem;
	height: 2rem;
	object-fit: contain;
}

.campaign-template .self-audit-include-copy {
	flex: 1 1 auto;
}

.campaign-template .self-audit-include-item h3 {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.18;
	color: #016aab;
	margin-bottom: 0.45rem;
}

.campaign-template .self-audit-include-item p {
	font-size: 1rem;
	line-height: 1.45;
	color: #1f2933;
	margin-bottom: 0;
}

/* ---------------------------------------------------------
   What the Self-Audit Covers Responsive
   --------------------------------------------------------- */

@media (max-width: 991.98px) {
	.campaign-template .self-audit-includes-row {
		max-width: 760px;
		margin-top: 2.5rem;
	}
}

@media (max-width: 767.98px) {
	.campaign-template .self-audit-includes {
		padding-top: 3rem;
		padding-bottom: 3.25rem;
	}

	.campaign-template .self-audit-includes .text-center {
		text-align: left !important;
	}

	.campaign-template .self-audit-includes .campaign-heading {
		font-size: clamp(1.85rem, 8vw, 2.35rem);
	}

	.campaign-template .self-audit-includes .campaign-subhead {
		font-size: 1.1rem;
		line-height: 1.5;
	}

	.campaign-template .self-audit-include-item {
		padding: 1.35rem;
	}
}

@media (max-width: 575.98px) {
	.campaign-template .self-audit-includes-row {
		margin-top: 2rem;
	}

	.campaign-template .self-audit-include-item {
		display: block;
		text-align: center;
		padding: 1.5rem;
	}

	.campaign-template .self-audit-include-icon {
		margin: 0 auto 1rem;
		width: 4rem;
		height: 4rem;
	}

	.campaign-template .self-audit-include-icon img {
		width: 2.1rem;
		height: 2.1rem;
	}

	.campaign-template .self-audit-include-item h3 {
		font-size: 1.15rem;
		margin-bottom: 0.5rem;
	}

	.campaign-template .self-audit-include-item p {
		font-size: 1rem;
		line-height: 1.45;
	}
}

/* ---------------------------------------------------------
   Form Section
   --------------------------------------------------------- */

.campaign-template .self-audit-form-section .campaign-heading {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1rem;
}

.campaign-template .self-audit-form-section .campaign-copy {
	max-width: 38rem;
}

.campaign-template .self-audit-form-intro {
	font-size: 1rem;
	line-height: 1.55;
	color: #44515c;
	margin-bottom: 1.25rem;
}

.campaign-template .self-audit-form-wrap .hf-form,
.campaign-template .self-audit-form-wrap form {
	margin-top: 1.25rem;
}

.campaign-template .self-audit-form-wrap .hf-form-field,
.campaign-template .self-audit-form-wrap .form-group,
.campaign-template .self-audit-form-wrap p {
	margin-bottom: 1rem;
}

.campaign-template .self-audit-form-wrap p.self-audit-form-fine-print {
	margin-top: 1rem;
	margin-bottom: 0;
}

.campaign-template .self-audit-form-wrap input[type="checkbox"] {
	margin-right: 0.4rem;
}


/* ---------------------------------------------------------
   What Happens Next
   --------------------------------------------------------- */

.campaign-template .self-audit-next-steps {
	background: #ffffff;
}

.campaign-template .self-audit-next-steps-card {
	position: relative;
	overflow: hidden;
}

.campaign-template .self-audit-next-steps-card::after {
	content: "";
	position: absolute;
	right: -3rem;
	bottom: -3rem;
	width: 10rem;
	height: 10rem;
	border-radius: 999px;
	background: rgba(76, 170, 71, 0.12);
}

.campaign-template .self-audit-next-steps-card .campaign-heading {
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	margin-bottom: 1rem;
}

.campaign-template .self-audit-next-steps-card .campaign-copy {
	position: relative;
	z-index: 1;
	max-width: 48rem;
}


/* ---------------------------------------------------------
   Credibility Section
   --------------------------------------------------------- */

.campaign-template .self-audit-credibility-icon {
	display: inline-block;
	width: 5.5rem;
	height: 5.5rem;
	object-fit: contain;
}

.campaign-template .campaign-learn-more {
	display: inline-flex;
	align-items: center;
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: #016aab;
	text-decoration: none;
	margin-top: 0.5rem;
}

.campaign-template .campaign-learn-more:hover,
.campaign-template .campaign-learn-more:focus {
	color: #4caa47;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* ---------------------------------------------------------
   Responsive Adjustments
   --------------------------------------------------------- */

@media (max-width: 991.98px) {
	.campaign-template .self-audit-benefits-grid {
		grid-template-columns: 1fr;
		max-width: 640px;
		margin-left: auto;
		margin-right: auto;
	}

	.campaign-template .self-audit-benefit-card {
		text-align: left;
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 1rem;
		align-items: start;
	}

	.campaign-template .self-audit-benefit-icon {
		margin: 0;
		grid-row: span 2;
	}

	.campaign-template .self-audit-include-item-wide {
		grid-column: auto;
	}

	.campaign-template .self-audit-form-section {
		text-align: left;
	}
}

@media (max-width: 767.98px) {
	.campaign-template .self-audit-hero .campaign-copy {
		font-size: 1rem;
	}

	.campaign-template .self-audit-intro-copy {
		text-align: left;
	}

	.campaign-template .self-audit-benefits-grid {
		margin-top: 2rem;
	}

	.campaign-template .self-audit-form-section .campaign-heading {
		font-size: 2.1rem;
	}

	.campaign-template .self-audit-form-wrap h3 {
		font-size: 1.45rem;
	}

	.campaign-template .self-audit-next-steps-card::after {
		width: 7rem;
		height: 7rem;
		right: -2rem;
		bottom: -2rem;
	}

	.campaign-template .campaign-credibility-box {
		text-align: left;
	}

	.campaign-template .self-audit-credibility-icon {
		width: 4.5rem;
		height: 4.5rem;
		margin-bottom: 0.5rem;
	}
}

@media (max-width: 575.98px) {
	.campaign-template .self-audit-hero-actions {
		display: block;
	}

	.campaign-template .self-audit-hero-actions .campaign-button {
		width: 100%;
		min-width: 0;
	}

	.campaign-template .self-audit-hero-note {
		margin-top: 0.85rem;
		max-width: none;
	}

	.campaign-template .self-audit-benefit-card {
		display: block;
		text-align: center;
		padding: 1.5rem;
	}

	.campaign-template .self-audit-benefit-icon {
		margin: 0 auto 1rem;
	}

	.campaign-template .self-audit-form-section {
		padding: 3rem 0;
	}

	.campaign-template .self-audit-form-wrap {
		border-radius: 0.85rem;
	}

	.campaign-template .campaign-learn-more {
		width: 100%;
		justify-content: center;
		text-align: center;
		margin-top: 1rem;
	}
}

/* MEDIA QUERIES */

/* ============================================
 * RESPONSIVE – Bootstrap 5-aligned breakpoints
 * ============================================ */

/* 1) XXL desktops (≥1400px) */
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1280px;
  }
}

/* 2) XL & LG desktops (992px–1399.98px)
   Typography + hero scaling + spacing */
@media (min-width: 992px) and (max-width: 1399.98px) {

  /* Fluid root size and body type */
  html {
    font-size: clamp(14px, 1.1vw + 2px, 16px);
  }

  .lead,
  p,
  li {
    font-size: clamp(1.1rem, 0.35vw + 0.95rem, 1.5rem);
  }

  /* Quotes stay bold but not overwhelming */
  blockquote p {
    font-size: clamp(2rem, 1vw + 2rem, 3.25rem);
  }

  .blockquote-footer {
    font-size: clamp(1.125rem, 0.25vw + 1rem, 1.75rem);
  }

  /* Softer vertical rhythm on mid-sized screens */
 /*  section {
    padding-top: clamp(2rem, 4vh, 3rem);
    padding-bottom: clamp(2rem, 4vh, 3rem);
  }
*/

  /* Page-intro hero headline */
  h1.page-header .apci-large {
    font-size: clamp(4rem, 3.5vw + 1rem, 7.75rem);
    line-height: 0.95;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }

  h1.page-header .apci-small {
    font-size: clamp(1.6rem, 1.3vw + 0.5rem, 2rem);
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  h1.page-header {
    line-height: 1.05;
  }

  .page-intro h1.page-header {
    margin-bottom: 0;
  }

  .page-intro .lead {
    margin-top: 1rem;
  }

  /* Intro band spacing */
  section.page-intro {
    padding-top: clamp(2rem, 6vh, 3.5rem);
    padding-bottom: 0;
    margin-bottom: 0;
  }

  /* Shift "Owned / Serving" inward slightly */
  span#home-owned,
  span#home-serving {
    margin-left: clamp(6%, 1vw + 8%, 15%);
  }
}

/* 3) MD tablets (768px–991.98px)
   Uses the same scaling as 992–1399 for now so behavior matches
   your previous 768–1399px block, but can be tuned separately later. */
@media (min-width: 768px) and (max-width: 991.98px) {

  html {
    font-size: clamp(14px, 1.1vw + 2px, 16px);
  }

  .lead,
  p,
  li {
    font-size: clamp(1.1rem, 0.35vw + 0.95rem, 1.5rem);
  }

  blockquote p {
    font-size: clamp(2rem, 1vw + 2rem, 3.25rem);
  }

  .blockquote-footer {
    font-size: clamp(1.125rem, 0.25vw + 1rem, 1.75rem);
  }

 /*  section {
    padding-top: clamp(2rem, 4vh, 3rem);
    padding-bottom: clamp(2rem, 4vh, 3rem);
  }
*/
	
  h1.page-header .apci-large {
    font-size: clamp(4rem, 3.5vw + 1rem, 7.75rem);
    line-height: 0.95;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }

  h1.page-header .apci-small {
    font-size: clamp(1.6rem, 1.3vw + 0.5rem, 2rem);
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  h1.page-header {
    line-height: 1.05;
  }

  .page-intro h1.page-header {
    margin-bottom: 0;
  }

  .page-intro .lead {
    margin-top: 1rem;
  }

  section.page-intro {
    padding-top: clamp(2rem, 6vh, 3.5rem);
    padding-bottom: 0;
    margin-bottom: 0;
  }

  span#home-owned,
  span#home-serving {
    margin-left: clamp(6%, 1vw + 8%, 15%);
  }
}

@media (max-width: 767.98px) {
  .page-intro p.lead {
    font-size: clamp(1.25rem, 2.6vw + 0.55rem, 1.5rem);
    line-height: 1.35;
    margin-top: 1rem;
  }
}

/* 4) SM phones / small tablets (576px–767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {

  /* Slightly smaller base to keep everything readable but not huge */
  html {
    font-size: clamp(13px, 3vw + 7px, 14px);
  }

  .lead,
  p,
  li {
    font-size: 1.05rem;
  }

  /* Compact but strong hero headline on phones / small tablets */
  h1.page-header .apci-large {
    font-size: clamp(2.4rem, 4.5vw + 1.1rem, 3.2rem);
  }

  h1.page-header .apci-small {
    font-size: clamp(1.1rem, 2.75vw + 0.5rem, 1.6rem);
  }

  section.page-intro {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
    text-align: left;
  }

  /* Stack the "Owned / Serving" labels cleanly */
  span#home-owned,
  span#home-serving {
    display: block;
    margin-left: 0;
  }

  .why-section {
    margin-bottom: 2rem;
  }
}

/* 5) XS phones (<576px) */
@media (max-width: 575.98px) {

  html {
    font-size: clamp(14px, 3vw + 7px, 16px);
  }

  .lead,
  p,
  li {
    font-size: 1.05rem;
  }

  h1.page-header .apci-large {
	  font-size: clamp(3rem, 11.5vw + 0.5rem, 6rem);
	  line-height: 1.05;
  }

  h1.page-header .apci-small {
    font-size: clamp(1.1rem, 2.75vw + 0.5rem, 1.6rem);
  }

  section.page-intro {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
    text-align: left;
  }
.hero-decorative {
	margin-right: 0;
}
	
#for-pharmacists.for-pharmacists {
    position: relative;
    background-color: #c3d5d9;
    background-image: url(/wp-content/themes/IslaMae/img/home-woman-reaching-sm.webp);
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    color: #313f57;
    overflow: visible;
    padding: clamp(3rem, 6vw, 2.5rem) 0;
    margin-top: -3rem;
    z-index: 2;
}

/* --------------------------------------------------------------
 * Mobile-Only Gradient Overlay Behind Paragraph Text
 * -------------------------------------------------------------- */
#for-pharmacists-copy {
  position: relative;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
}

#for-pharmacists-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: -0.5rem;    /* lets gradient extend slightly outside text block */
  right: -0.5rem;
  bottom: 0;
  z-index: -1;

  /* Horizontal gradient: strong on left (behind text), clear on right */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.92) 0%,    /* fully readable area */
    rgba(255, 255, 255, 0.75) 30%,   /* starts reducing */
    rgba(255, 255, 255, 0.45) 55%,   /* gentle fade */
    rgba(255, 255, 255, 0.00) 85%    /* fully clear toward right side */
  );

  backdrop-filter: blur(2px);   /* softens busy shelves behind text */
  border-radius: 0.5rem;
}

#for-pharmacists .for-pharmacists__content {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
}

	
  span#home-owned,
  span#home-serving {
    display: block;
    margin-left: 0;
  }

  .why-section {
    margin-bottom: 2rem;
  }

  /* Home page section image text placement */
  .section-image__content {
    top: auto !important;
    bottom: 5%;
    transform: translateX(-50%);
    text-align: left;
  }

/* -------------------------------------------------------------
 * MOBILE – Homepage Testimonial Quote Scaling
 * ------------------------------------------------------------- */

#testimonials .col-md-12.bg-lt-blue {
  padding: 1.25rem !important;
}

#testimonials figure.apci-quote {
  width: 100%;
  margin: 1.1rem auto 1rem;
  padding: 0.5rem 0.5rem 0.75rem;
}
	
#testimonials blockquote {
  padding: 1.5rem 1.4rem;
}

#testimonials blockquote p {
  font-size: clamp(1.45rem, 6vw, 1.85rem);
  line-height: 1.35;
  text-align: left;
  margin: 0.25rem 0 0.5rem;
}

#testimonials blockquote::before,
#testimonials blockquote::after {
  --qsize: 32px;
  background-size: contain;
}

#testimonials blockquote::before {
  top: calc(var(--qsize) / -2.25);
  left: calc(var(--qsize) / -2.25);
}

#testimonials blockquote::after {
  bottom: calc(var(--qsize) / -2.25);
  right: calc(var(--qsize) / -2.25);
}

#testimonials .apci-quote__caption {
  position: static;
  display: block;
  margin-top: 0.45rem;
  text-align: right;
  font-size: 1.05rem;
  padding-right: 0.25rem;
  line-height: 1.2;
}

h2.avant-garde.display-6 {
    line-height: 1.05;
  }

h2.avant-garde.display-6 .display-4 {
line-height: 0.95;
  }
}

/* 6) Desktop nav hover behavior (LG and up: ≥992px) */
@media (min-width: 992px) {
  #navbarSupportedContent .menu-item-has-children:hover > .sub-menu {
    display: block;
  }

  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* -------------------------------------------------------------
 * VERY SMALL SCREENS – Homepage heading line-height cleanup
 * ------------------------------------------------------------- */
@media (max-width: 375.98px) {
  #home-tell,
  #home-faq {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
  }

  #home-tell .display-4,
  #home-faq .display-4 {
    display: block;
    font-size: clamp(2.2rem, 10vw, 2.7rem);
    line-height: 0.95;
    margin-top: 0.1rem;
  }

  #faq h3 {
    font-size: clamp(1.5rem, 7vw, 1.8rem);
    line-height: 1.08;
  }
}

/* -------------------------------------------------------------
 * VERY SMALL SCREENS – Prevent CTA caret/orphan wrapping
 * ------------------------------------------------------------- */
@media (max-width: 459.98px) {
  .cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.45rem 0.65rem;
    font-size: 0.95rem;
    line-height: 1.15;
    white-space: normal;
  }

  .cta::after {
    flex: 0 0 auto;
    padding-left: 0;
  }

  p.cta-container {
    max-width: 100%;
  }
}

/* -------------------------------------------------------------
 * VERY SMALL SCREENS – Testimonial heading cleanup
 * ------------------------------------------------------------- */
@media (max-width: 340px) {
  #home-feedback {
    font-size: 1.65rem;
    line-height: 1.02;
    margin-bottom: 1rem;
  }

  #home-feedback .medium-blue {
    display: block;
    line-height: 1.02;
    margin-bottom: 0.35rem;
  }

  #home-feedback .display-4 {
    display: block;
    font-size: 2rem;
    line-height: 0.95;
    margin-top: 0;
  }
}