:root {
  /* Brand Colors */
  --color-primary: #1d6ff0;
  --color-dark-blue: #154a7a;
  --color-deep-navy: #0b2943;
  --color-bg-light: #eaf1f7;
  --color-text-body: #3d3d3d;
  --text-white: #ffffff;

  /* Typography */
  --font-main: "Open Sans", sans-serif;
  --font-heading: "Grundfos TheSans", sans-serif;

  --weight-black: 900;
  --weight-normal: 400;
}

/* Search Page */

body.search,
.page-template-page-piu-letti {
  background: #f8f8fc;
}

.page-template-page-piu-letti section.newsletter-section,
body.search section.newsletter-section {
  background: #fff;
}

.search-results article.post-card,
.piu-letti-margin article.post-card {
  background: #fff;
  padding-bottom: 20px;
}

.search-results .text-standard,
.piu-letti-margin .text-standard {
  margin: 0 0 10px;
  padding: 0 15px;
}

.search-results .text-standard-desc,
.piu-letti-margin .text-standard-desc {
  padding: 0 15px;
}

.search-results .grid-layout,
.piu-letti-margin .grid-layout {
  gap: 30px;
}

.search-results section.newsletter-section {
  margin-top: 60px;
}

.search .archive-breadcrumb {
  margin-bottom: 50px;
}

/* End Search Page */

/* Start Single Post */

.single-post .wp-block-media-text p {
  font-size: 14px;
  line-height: 23px;
}

.single-post .wp-block-media-text__content {
  padding-left: 0 !important;
  padding-right: 30px !important;
}

.single-post .wp-block-heading {
  font-size: 25px;
  color: #154a7a;
  font-family: "GrundfosTheSans";
  font-weight: 900;
  margin-top: 30px;
  line-height: 32px;
}

article.prose p {
  font-size: 14px;
  line-height: 23px;
}

.wp-block-quote {
  margin: 0;
  background: #f8f8fc;
  padding: 26px 60px;
  position: relative;
  margin-top: 40px;
}

.wp-block-quote:before {
  content: "“";
  font-family: "GrundfosTheSans";
  font-size: 90px;
  font-weight: 900;
  color: #154a7a;
  position: absolute;
  top: 67%;
  transform: translateY(-50%);
  line-height: normal;
  left: 50px;
}

.wp-block-quote:after {
  content: "”";
  font-family: "GrundfosTheSans";
  font-size: 90px;
  font-weight: 900;
  color: #154a7a;
  position: absolute;
  top: 67%;
  transform: translateY(-50%);
  line-height: normal;
  right: 50px;
}

.wp-block-quote > * {
  font-size: 25px !important;
  text-align: center;
  width: 400px;
  font-weight: 900;
  color: #154a7a;
  line-height: 32px !important;
  margin: auto;
  font-family: "GrundfosTheSans";
  max-width: 100%;
}

figure.wp-block-gallery {
  margin-top: 34px;
  margin-bottom: 30px;
}

.wp-block-gallery {
  --wp--style--unstable-gallery-gap: 30px !important;
  gap: 30px !important;
}

.current-post-ancestor {
  border-bottom: 5px solid var(--color-primary);
}

.current-post-ancestor a {
  font-weight: 700;
}

.single-post .archive-breadcrumb {
  background: #eaf1f7;
  padding: 50px 0;
}

.single-post .archive-breadcrumb nav.breadcrumb-nav {
  gap: 10px;
}

.single-post .archive-breadcrumb nav.breadcrumb-nav .cat-c a {
  font-size: 14px;
  color: #3d3d3d;
  font-weight: 400;
}

.single-post .archive-breadcrumb span.breadcrumb-current {
  font-weight: 700;
  color: #11497c;
  font-size: 14px;
}

.single-post .heading-main {
  font-size: 30px;
  color: #154a7a;
  width: 65%;
  line-height: 39px;
  margin-top: 20px;
}

.single-post .post-excerpt.text-standard-desc {
  font-size: 18px;
  line-height: 26px;
  width: 80%;
  margin-bottom: 0;
}

.single-post .post-excerpt.text-standard-desc p {
  margin-bottom: 0;
}

.single-post .archive-breadcrumb {
  margin-bottom: 30px;
}

.archive-breadcrumb nav.breadcrumb-nav span.homeurl svg {
  width: 17px;
  height: 17px;
}

.archive-breadcrumb nav.breadcrumb-nav span.slash svg {
  width: 8px;
}

.single-post section.post-grid-3.container:after {
  background-color: #f8f8fc;
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 1;
  box-sizing: border-box;
  content: "";
  background-size: 100%;
  background-position: bottom center;
}

.single-post section.post-grid-3.container {
  position: relative;
  padding: 60px 0;
  margin-top: 50px;
  background: #eaf1f7;
}

.single-post section.post-grid-3.container > * {
  z-index: 1;
  position: relative;
}

.single-post .related-title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 900;
  color: #0b2943;
  margin-top: 0;
}

.single-post .text-standard {
  margin-top: 0;
  margin-bottom: 5px;
}

.single-post section.newsletter-section {
  background: #f8f8fc47;
}

/* End Single Post */

.piu-letti-margin {
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Start Responsive */

@media (max-width: 1024px) {
  nav.main-navigation {
    position: fixed;
    left: -100%;
    top: 65px;
    width: 100vw;
    height: 100vh;
    background: #0b2943;
    z-index: 90;
    transition: 300ms ease-in;
    border-top: 1px solid;
  }

  .related-posts {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .social-header .social-links {
    display: none;
  }

  .branding {
    flex: 0 0 50%;
    width: 50%;
  }

  .header-actions {
    flex: 0 0 50%;
    width: 50%;
    justify-content: flex-end;
  }

  .branding img.second-logo {
    display: none;
  }

  .header-actions .menu-toggle {
    width: 35px;
    height: 35px;
    display: block !important;
    border-radius: 50%;
    border: 0;
    font-size: 19px;
  }

  header.site-header {
    padding: 15px 0;
  }

  .social-header {
    gap: 15px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  * {
    box-sizing: border-box;
  }
  .hero-post .hero-flex {
    padding: 20px 0;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .hero-text {
    padding: 0;
  }

  .hero-image img {
    min-height: unset;
  }

  .hero-post .hero-flex .heading-main {
    font-size: 25px;
    line-height: 32px;
  }

  .text-standard {
    margin: 0;
    font-size: 18px;
  }

  main.homepage-content {
    gap: 30px;
  }

  .grid-layout {
    gap: 25px;
  }

  section.sectors-section,
  section.piscine-mid {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  section.sectors-section .heading-main {
    font-size: 22px;
    line-height: 26px;
  }

  .split-row {
    gap: 4px;
  }

  span.cat-label {
    margin-bottom: 10px;
  }

  section.piscine-mid .split-row.reverse {
    flex-direction: column-reverse;
  }

  .heading-main-padding {
    padding: 0;
    font-size: 18px;
  }

  section.sectors-section .text-standard {
    width: max-content;
  }

  section.sectors-section .sector-card .sector-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .grid-4 {
    gap: 20px;
  }

  section.infographics-section .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 50px;
    gap: 15px;
  }

  section.infographics-section {
    padding: 50px 0;
  }

  .info-val {
    font-size: 30px;
  }

  .info-sub {
    font-size: 16px;
  }

  .info-item img {
    margin-bottom: 5px;
  }

  .last-section .split-row {
    flex-direction: column-reverse !important;
  }

  section.last-section {
    padding: 50px 0;
  }

  .newsletter-section .heading-main {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 20px;
  }

  .newsletter-form-wrapper .newsletter p {
    margin: 0;
  }

  .newsletter-form-wrapper .newsletter {
    margin-top: 20px;
  }
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  footer.site-footer {
    padding: 30px 0;
  }

  .site-footer .header-actions.footer-actions {
    flex: 0 0 100%;
    width: 100%;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer .branding.footer-banding {
    flex: 0 0 100%;
    width: 100%;
  }

  .footer-nav-list {
    flex-direction: column;
    gap: 10px;
  }

  hr.footer-divider {
    margin: 15px 0;
  }

  .powered-by {
    flex: 0 0 43%;
  }

  section.newsletter-section {
    padding: 50px 0 30px 0;
  }
  .search-content {
    width: 95%;
  }

  form.search-form {
    padding: 0;
  }

  input.search-field {
    height: 50px;
  }

  input.search-submit {
    height: 50px;
  }
  nav.main-navigation.active {
    left: 0;
    transition: 300ms ease-in;
  }
  .site-header .header-actions > nav .nav-list {
    flex-direction: column;
    gap: 20px;
    padding: 40px 15px;
  }

  .nav-list li {
    padding: 0;
  }

  .nav-list a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
  }
  .site-header .header-actions > nav .social-links {
    display: flex !important;
    padding: 0 15px;
  }

  .social-links img {
    width: 30px;
  }

  .archive-breadcrumb .heading-main {
    font-size: 30px;
    line-height: 40px;
  }

  section.sectors-section .grid-4 {
    grid-template-columns: 1fr;
  }

  section.sectors-section .sector-card .sector-footer .arrow-link {
    flex: 0 0 46px;
  }

  .single-post .heading-main {
    width: 100%;
  }

  .single-post .post-excerpt.text-standard-desc {
    width: 100%;
  }

  .wp-block-quote:after {
    right: 5px;
  }

  .wp-block-quote:before {
    left: 5px;
  }

  .wp-block-quote > * {
    font-size: 20px !important;
    line-height: 30px !important;
  }

  .single-post span.breadcrumb-current {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .single-post .wp-block-media-text__content {
    padding: 0 !important;
  }

  .sector-img {
    height: 225px;
  }

  .sectors-section a.sector-card:hover .arrow-link {
    transform: none;
  }

  .home .newsletter-section {
    padding-top: 50px !important;
  }

  .archive.category section.newsletter-section {
    padding-top: 0 !important;
  }
  .nav-list li.current-menu-item {
    border: 0 !important;
  }
  .current-post-ancestor {
    border: 0 !important;
  }
  section.most-read-section span.cat-label {
    margin-bottom: 0;
  }
}

/* End Responsive */
