/* ---------------------------------
   TYPOGRAPHY SYSTEM – Pelagus 3D
   Font Families: Oswald (H1), Roboto (All else)
   --------------------------------- */


/* Heading Styles */

/* --- H1: no hyphenation / no mid-word splits --- */
h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 110px;          /* desktop */
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #033c4d;

  /* prevent ugly splits */
  word-break: normal !important;
  overflow-wrap: normal !important;   /* aka word-wrap */
  hyphens: none !important;
  white-space: normal;                 /* allow wrapping at spaces only */
}

/* Mobile: keep impact but avoid cramming */
@media (max-width: 500px) {
  h1 {
    font-size: 5rem;        /* ~80px if root is 16px */
    max-width: 22ch;        /* tidy 2–3 lines, no squish */
    margin-left: auto;
    margin-right: auto;
    /* keep the same no-break rules on mobile */
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}



h2 {
  font-family: 'Oswald', sans-serif;
  color: #033c4d;
  font-size: 60px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 0.5em;
}

h3 {
  font-family: 'Roboto', sans-serif;
  color: #033c4d;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 0.5em;
}

h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 0.5em;
}

h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 0.5em;
}

h6 {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5em;
  
  
}

//////////////////////////////////////////////////

.pwr-post-item__date, .pwr-post-item__name {

    display: none;
}
//////////////////////////////////////////////////

hs-button_widget_1757511739549 {
  border-radius: 100px !important;
  }
//////////////////////////////////////////////////

.pwr-accordion__title {
    cursor: pointer;
    display: block;
  }
   
.pwr-accordion .pwr-accordion__title {
    font-family: var(--ff-heading) !important;
    font-size: var(--fs-h5) !important;
    font-weight: var(--fw-h5) !important;
    text-transform: none !important;
}
.pwr-step__count {
    background-color: #1e8294;
}

.pwr-stat__title.pwr-stat__title--normal{
    line-height: 1;
  margin-top: 1em;
}

/* blog post formatting */

.pwr-post-header__title {
  color: #ffffff !important;
  line-height: 1 !important;
  max-width: 800px;     
  display: block;       /* ensure it can be centered */
  text-align: left;     /* keep text aligned left */
}
.pwr-services-item__title {
font-family: Roboto, sans-serif;
  text-transform: none;
  font-weight: 400;
    font-size: 24px;
  
  }

/* Teams section type */

.pwr-team-member--style-reduced .pwr-team-member__job-title {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1em;
  text-transform: none;
}
////////////////////////////////////////////
/* Blog grid featured images */
/* Featured image wrapper (pick the selector that matches your theme) */
.pwr-blog-listing .pwr-card__media,
.pwr-blog-card .pwr-blog-card__image,
.blog-index .post-card__media {
  aspect-ratio: 3 / 2;    /* 6:4 simplified */
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Make the image fill the box cleanly */
.pwr-blog-listing .pwr-card__media img,
.pwr-blog-card .pwr-blog-card__image img,
.blog-index .post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* crops without distortion */
  display: block;
}

/* Fallback for older browsers (no aspect-ratio support) */
@supports not (aspect-ratio: 3 / 2) {
  .pwr-blog-listing .pwr-card__media,
  .pwr-blog-card .pwr-blog-card__image,
  .blog-index .post-card__media {
    position: relative;
  }
  .pwr-blog-listing .pwr-card__media::before,
  .pwr-blog-card .pwr-blog-card__image::before,
  .blog-index .post-card__media::before {
    content: "";
    display: block;
    padding-top: 66.6667%; /* 3:2 ratio */
  }
  .pwr-blog-listing .pwr-card__media img,
  .pwr-blog-card .pwr-blog-card__image img,
  .blog-index .post-card__media img {
    position: absolute;
    inset: 0;
  }
}