/* ==============================
   Web Fonts
   ============================== */
@font-face {
  font-family: "Montserrat";
  src: url("/wp-content/themes/klugcustomtheme/assets/fonts/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/wp-content/themes/klugcustomtheme/assets/fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/wp-content/themes/klugcustomtheme/assets/fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roc Grotesk";
  src: url("/wp-content/themes/klugcustomtheme/assets/fonts/RocGroteskWideLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roc Grotesk";
  src: url("/wp-content/themes/klugcustomtheme/assets/fonts/RocGroteskWideMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roc Grotesk";
  src: url("/wp-content/themes/klugcustomtheme/assets/fonts/RocGroteskWideBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #EFE5DE;
}

#page {
  max-width: 1920px;
  margin: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roc Grotesk", Helvetica, Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #16325C;
}
h1.small_heading span,
h2.small_heading span,
h3.small_heading span,
h4.small_heading span,
h5.small_heading span,
h6.small_heading span {
  font-weight: 300 !important;
  font-size: 60%;
}

/* Ensure semantic bold text renders with a real bold weight */
strong, b {
  font-weight: 700;
}

/* Utility: force bold weight on any element */
.bold_text {
  font-weight: 700 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roc Grotesk", Helvetica, Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #16325C;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roc Grotesk", Helvetica, Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #16325C;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  font-weight: 500 !important;
}

h1 {
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.5rem);
}

h2 {
  font-size: clamp(1.375rem, 1.1rem + 1.8vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 1.05rem + 1.2vw, 1.25rem);
}

h4 {
  font-size: clamp(1rem, 1rem + 0.8vw, 1rem);
}

h5 {
  font-size: clamp(0.83rem, 0.95rem + 0.6vw, 0.83rem);
}

h6 {
  font-size: clamp(0.67rem, 0.9rem + 0.2vw, 0.67rem);
}

p {
  margin-bottom: 1.2rem;
  color: #16325C;
  max-width: 70ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1rem);
  line-height: 1.6;
}
p.large_text {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  line-height: 1.4;
}
p.medium_text {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.25rem);
}

ul.wp-block-list {
  margin-bottom: 20px;
}

.main li {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1rem);
  color: #16325C;
  max-width: 70ch;
}

.primary_btn a {
  background-color: transparent;
  border: 1px solid #ED1C24;
  border-radius: 5px;
  color: #ED1C24;
  padding: 8px 12px;
}
.primary_btn a:hover {
  background-color: #ED1C24;
  color: #EFE5DE;
}

.blue_section {
  background-color: #16325C;
}

.white_section {
  background-color: #fff;
}

.no_padding_top {
  padding-top: 0 !important;
}

.no_padding_bottom {
  padding-bottom: 0 !important;
}

.site-header {
  background-color: #fff;
  color: #fff;
  padding: 0.5rem 1rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  flex-wrap: wrap;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .nav-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .nav-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.site-branding a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Responsive logo sizing */
.site-branding img,
.site-branding .custom-logo {
  display: block;
  height: auto;
  width: auto;
  max-width: clamp(120px, 35vw, 220px);
}

@media (min-width: 768px) {
  .site-branding img,
  .site-branding .custom-logo {
    max-width: clamp(140px, 18vw, 260px);
  }
}
.menu-toggle {
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle .hamburger {
  width: 25px;
  height: 3px;
  background-color: #16325C;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.menu-toggle.active .hamburger:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .hamburger:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-navigation {
  display: block;
  width: 100%;
  flex-basis: 100%;
  order: 3;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  padding: 0 1rem;
  transition: max-height 0.9s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease, transform 0.6s ease, padding 0.3s ease;
  will-change: max-height, opacity, transform;
  background-color: #fff;
}
.main-navigation.active {
  max-height: 80vh;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  padding: 1rem;
}
.main-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.main-navigation ul li a {
  display: block;
  padding: 12px 0;
  color: #16325C;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  font-family: "Roc Grotesk", Helvetica, Arial, sans-serif;
}

.menu-toggle {
  display: flex;
}

@media (min-width: 1440px) {
  .nav-container {
    flex-wrap: nowrap;
    align-items: center;
  }
  .main-navigation {
    display: flex;
    width: auto;
    flex-basis: auto;
    order: 2;
    margin-left: auto;
    max-height: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
  }
  .main-navigation ul {
    display: flex;
    flex-direction: row;
    gap: 3rem;
  }
  .main-navigation ul li a {
    padding: 0 12px;
  }
  .menu-toggle {
    display: none;
  }
  .site-branding {
    order: 1;
  }
  .main-navigation {
    order: 2;
  }
}
@media (min-width: 1440px) {
  .section_number_text {
    padding: 90px 40px;
    gap: 30px;
    background-color: #16325C;
  }
  .section_number_text .card_number_text {
    background-color: #ED1C24;
    border-radius: 50%;
    aspect-ratio: 1/1;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 1.5%;
    text-align: center;
  }
  .section_number_text .card_number_text p:first-of-type {
    color: #EFE5DE !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0px !important;
  }
  .section_number_text .card_number_text p:nth-of-type(2) {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0px !important;
  }
  .nav-container {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
  }
  .main-navigation ul {
    gap: 2rem;
  }
}
.site-branding {
  order: 1;
}

.menu-toggle {
  order: 2;
}

.main-navigation {
  order: 3;
}

/* ==============================
   Footer Styles
   ============================== */
.site-footer {
  background-color: #16325C;
  color: #fff;
  padding: 3rem 1rem;
  min-height: 371px;
}
.site-footer .footer-widgets__inner {
  margin: 0 auto;
}
.site-footer .footer-widgets__inner p,
.site-footer .footer-widgets__inner a,
.site-footer .footer-widgets__inner li,
.site-footer .footer-widgets__inner h1,
.site-footer .footer-widgets__inner h2,
.site-footer .footer-widgets__inner h3,
.site-footer .footer-widgets__inner h4,
.site-footer .footer-widgets__inner h5,
.site-footer .footer-widgets__inner h6 {
  color: #fff;
}
.site-footer .footer-widgets__inner a {
  text-decoration: none;
}
.site-footer .footer-widgets__inner a:hover {
  text-decoration: underline;
}

/* Ensure footer sticks to bottom when content is short */
html,
body {
  height: 100%;
  margin: 0 !important;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

/* ==============================
   Gutenberg Social Links Custom Styles
   ============================== */
.wp-block-social-links {
  gap: 0.75rem;
}
.wp-block-social-links .wp-social-link {
  background-color: #EFE5DE !important;
  border-radius: 0;
}
.wp-block-social-links .wp-social-link svg {
  fill: #16325C !important;
}

/* ==============================
   Spacing between logo and social links
   ============================== */
.wp-block-image + .wp-block-social-links {
  margin-top: 60px;
}

/* ==============================
   Equal-height columns in footer
   ============================== */
.site-footer .wp-block-columns {
  align-items: stretch;
}
.site-footer .wp-block-column {
  display: flex;
  flex-direction: column;
}
.site-footer .wp-block-column .stk-block-map {
  height: 250px;
  overflow: hidden;
}
.site-footer .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ==============================
   Footer Separator Styling
   ============================== */
.site-footer .wp-block-separator {
  border-color: #2D6CB2;
  background-color: #2D6CB2;
  height: 2px;
  opacity: 1;
  margin: 2rem auto;
  width: 100%;
}

/* ==============================
   Stacable Carousel Text Overlay (Cover Block inside)
   ============================== */
.default_carousel.stk-block-carousel .wp-block-cover__inner-container {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  text-align: left !important;
  margin: 0 3rem;
  border-radius: 4px;
  display: inline-block;
  color: #fff;
  width: 50%;
}
.default_carousel.stk-block-carousel .wp-block-cover__inner-container h2 {
  font-size: 48px !important;
  font-weight: 800 !important;
  text-align: left !important;
}
.default_carousel.stk-block-carousel .wp-block-cover__inner-container p {
  font-size: 30px !important;
  font-weight: 700 !important;
  text-align: left !important;
}

.default_carousel.stk-block-carousel .default_carousel_section_clear .wp-block-cover__inner-container {
  background-color: transparent;
  text-shadow: 0 0 10px #000;
}

/* ==============================
   Carousel Banner Image Height
   ============================== */
.default_carousel.stk-block-carousel .wp-block-cover,
.default_carousel.stk-block-carousel .wp-block-cover__image-background {
  height: calc(100vh - 80px) !important;
  object-fit: cover;
  justify-content: flex-start;
}

.default_carousel.stk-block-carousel .stk-block-carousel__dots {
  display: none;
}

.default_carousel.stk-block-carousel {
  margin-bottom: 0;
}

/* ==============================
   Mobile adjustments for Carousel Text & Layout
   ============================== */
@media (max-width: 767px) {
  /* Make hero image responsive on mobile */
  .default_carousel.stk-block-carousel .wp-block-cover,
  .default_carousel.stk-block-carousel .wp-block-cover__image-background {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
  }
  /* Make hero have a reliable height with responsive ratio */
  .default_carousel.stk-block-carousel .wp-block-cover {
    position: relative;
    width: 100% !important;
    /* allow aspect ratio to determine height */
    height: 100vw !important;
    overflow: hidden;
    /* keep text inside the image */
  }
  /* Make the cover image fill the box */
  .default_carousel.stk-block-carousel .wp-block-cover__image-background {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    object-fit: inherit;
    height: 100vw !important;
  }
  /* Pin overlay text inside the image at bottom-left */
  .default_carousel.stk-block-carousel .wp-block-cover__inner-container {
    position: absolute;
    left: 1rem;
    right: 1rem;
    margin: 0;
    /* prevent pushing outside */
    padding: 0.75rem 0.9rem;
    /* comfortable touch spacing */
    max-width: none;
    width: auto;
    display: block;
    background-color: rgba(0, 0, 0, 0.3);
    /* improve legibility on mobile */
    border-radius: 4px;
    overflow-wrap: anywhere;
  }
  .default_carousel.stk-block-carousel .wp-block-cover__inner-container h2 {
    font-size: clamp(22px, 4.8vw, 28px) !important;
    line-height: 1.2 !important;
    margin: 0 0 6px 0 !important;
    text-align: left !important;
  }
  .default_carousel.stk-block-carousel .wp-block-cover__inner-container h2 br {
    display: none;
  }
  .default_carousel.stk-block-carousel .wp-block-cover__inner-container p {
    font-size: clamp(15px, 4vw, 18px) !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    text-align: left !important;
  }
  /* Keep controls tucked into the bottom-left with smaller gaps */
  .default_carousel.stk-block-carousel .stk-block-carousel__buttons {
    top: 75vw;
    left: 14px;
    gap: 8px;
  }
  /* Smaller arrow icons but big touch targets */
  .default_carousel.stk-block-carousel .stk-block-carousel__button {
    padding: 8px;
    /* increase tappable area */
  }
  .default_carousel.stk-block-carousel .stk-block-carousel__button svg {
    width: 24px;
    height: 24px;
  }
}
/* ==============================
   Section Number Text
   ============================== */
/* Numbers section: two cards per row, full-width container */
.section_number_text {
  padding: 70px 16px;
  background-color: #16325C;
}
.section_number_text .number_text_wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  /* Card styling (circle fills the column width) */
}
.section_number_text .number_text_wrapper .card_number_text {
  padding: 8px;
  display: flex;
  justify-content: center;
  background-color: #ED1C24;
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1/1;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section_number_text .number_text_wrapper .card_number_text p:first-of-type {
  color: #EFE5DE !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 0 !important;
}
.section_number_text .number_text_wrapper .card_number_text p:nth-of-type(2) {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

/* Specific: force exactly two card_number_text columns per row for this block on mobile only */
.section_number_text.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns {
  flex-wrap: wrap !important;
  /* ensure wrapping */
  justify-content: center;
  /* keep centered like global rule */
}
.section_number_text.wp-container-core-columns-is-layout-9d6595d7 > .wp-block-column.card_number_text {
  box-sizing: border-box;
  /* ensure padding is included in width */
  flex: 0 0 calc(50% - 16px) !important;
  /* 8px left + 8px right padding */
  max-width: calc(50% - 16px) !important;
  padding: 8px;
  /* match existing mobile spacing */
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) and (max-width: 1439px) {
  .section_number_text {
    padding-left: 32px;
    padding-right: 32px;
  }
  .section_number_text .number_text_wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 800px;
    margin: auto;
    /* Circle card styles */
  }
  .section_number_text .number_text_wrapper .card_number_text p:first-of-type {
    color: #EFE5DE !important;
    font-size: 28px !important;
  }
  .section_number_text .number_text_wrapper .card_number_text p:nth-of-type(2) {
    font-size: 18px !important;
  }
}
@media (min-width: 1440px) {
  .section_number_text {
    padding-left: 40px;
    padding-right: 40px;
  }
  .section_number_text .number_text_wrapper {
    display: flex !important;
    /* Circle card styles */
  }
  .section_number_text .number_text_wrapper .card_number_text p:first-of-type {
    color: #EFE5DE !important;
    font-size: 28px !important;
  }
  .section_number_text .number_text_wrapper .card_number_text p:nth-of-type(2) {
    font-size: 18px !important;
  }
}
/* ==============================
   Four Card Section
   ============================== */
.four_card_section {
  background-color: #EFE5DE;
  padding: 90px 16px;
}
.four_card_section .four_card_section_text {
  color: #16325C !important;
  text-align: center;
  justify-items: center;
}
.four_card_section .four_cards_wrapper {
  display: grid;
  gap: 24px 12px;
  grid-template-columns: 2fr 2fr;
  grid-template-rows: 2fr;
}
.four_card_section .four_cards_wrapper .single_card {
  margin: 30px 0 0 0;
  text-align: left;
  background-color: white;
  clip-path: polygon(100% 0, 100% 100% 75%, 65% 100%, 0 100%, 0 0);
  -webkit-clip-path: polygon(100% 0, 100% 75%, 65% 100%, 0 100%, 0 0);
  padding: 12px 10px 20px 10px;
  color: #ED1C24 !important;
}
.four_card_section .four_cards_wrapper .single_card p {
  font-size: 14px !important;
  font-weight: 300;
  color: #ED1C24 !important;
}
.four_card_section .four_cards_wrapper .single_card h3 {
  font-weight: 500;
}

@media (min-width: 789px) and (max-width: 1439px) {
  .four_card_section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .four_card_section .four_cards_wrapper {
    max-width: 800px !important;
    margin: auto !important;
  }
}
@media (min-width: 1440px) {
  .four_card_section {
    padding-left: 40px;
    padding-right: 40px;
    flex: 100% !important;
  }
  .four_card_section .four_cards_wrapper {
    display: grid;
    gap: 24px 12px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .four_card_section .four_cards_wrapper .single_card {
    margin: 100px 0 0 0;
    padding: 30px 20px 50px 20px;
  }
  .four_card_section .four_cards_wrapper .single_card p {
    font-size: 24px !important;
  }
}
/* ==============================
   Section Image Text
   ============================== */
.section_image_text {
  padding: 90px 16px;
  background-color: #EFE5DE;
  color: #16325C;
  flex-direction: column-reverse;
}
.section_image_text.image_right {
  flex-direction: column !important;
}
.section_image_text.first_inner_section {
  padding-bottom: 0 !important;
}
.section_image_text .image_text_right {
  text-align: center;
  justify-items: center;
}
.section_image_text .image_text_right .image_text_right_icon_container {
  justify-content: center;
}
.section_image_text .image_text_right .image_text_right_icon_container .image_text_icon_card {
  max-width: 50%;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}
.section_image_text .image_text_right .image_text_right_icon_container img {
  margin: 16px auto;
}
.section_image_text .image_text_right .image_text_right_icon_container h3 {
  font-size: 1.1em;
  font-weight: 500;
}

@media (min-width: 768px) {
  .section_image_text {
    padding-left: 32px;
    padding-right: 32px;
    flex-direction: row;
  }
  .section_image_text.image_right {
    flex-direction: row !important;
  }
  .section_image_text .image_text_right {
    text-align: left;
    justify-items: left;
  }
}
@media (min-width: 1440px) {
  .section_image_text {
    padding-left: 40px;
    padding-right: 40px;
  }
}
/* ==============================
   Section Certification
   ============================== */
.section_certificate {
  position: relative;
  display: block;
  padding: 70px 16px;
  text-align: center;
  overflow: hidden;
  background-color: #fff;
}
.section_certificate .certificate_image {
  justify-content: center;
}
.section_certificate .certificate_image img {
  width: 250px;
  position: relative;
  z-index: 999;
}
.section_certificate .certificate_pattern {
  height: 300px;
  overflow: hidden;
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: -20px;
  right: -20px;
  padding: 0;
}

@media (min-width: 768px) {
  .section_certificate {
    color: #16325C;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 0;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0px 0px;
    grid-template-areas: "area_text area_certificate" "area_pattern area_certificate";
  }
  .section_certificate .certificate_text {
    grid-area: area_text;
    text-align: left;
  }
  .section_certificate .certificate_pattern {
    grid-area: area_pattern;
    position: relative;
    width: 100%;
  }
  .section_certificate .certificate_image {
    grid-area: area_certificate;
    justify-items: start;
  }
  .section_certificate .certificate_image img {
    width: 300px;
  }
}
@media (min-width: 1440px) {
  .section_certificate {
    padding-left: 40px;
    padding-right: 40px;
  }
}
/* ==============================
   Section Testimonial
   ============================== */
.section_testimonial {
  padding: 70px 16px;
  background-color: #EFE5DE;
  color: #16325C;
}

.testimonial_carousel {
  margin-top: 100px !important;
}
.testimonial_carousel .stk-row.stk-inner-blocks {
  flex-direction: column;
}
.testimonial_carousel .stk-block-carousel__dot::before {
  background: transparent;
  border: 1px solid #ED1C24;
}
.testimonial_carousel .stk-block-carousel__dot--active::before {
  background: #ED1C24;
}
.testimonial_carousel .stk-block-carousel__buttons {
  position: relative !important;
  justify-content: start;
  margin-top: 30px;
}
.testimonial_carousel .stk-block-carousel__button {
  background: transparent !important;
}
.testimonial_carousel .stk-block-carousel__button svg {
  fill: #ED1C24;
  height: 50px !important;
  width: 50px !important;
}
.testimonial_carousel .testimonial_content div {
  max-width: 800px;
  margin: auto !important;
}

@media (min-width: 768px) {
  .section_testimonial {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .section_testimonial {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.secondary_banner {
  padding: 70px 16px;
  background-image: url(/wp-content/uploads/2025/09/bg-triangle-pattern-white.svg);
}
.secondary_banner h1 {
  max-width: 916px;
}
.secondary_banner p {
  max-width: 620px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .secondary_banner {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .secondary_banner {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.three_products_group {
  padding: 70px 16px;
}
.three_products_group .three_products_intro {
  max-width: 916px;
  padding: 30px;
}
.three_products_group .section_three_products {
  /* correct padding order: Y X */
  text-align: center;
  /* Make the Stackable row a grid so per-column inline flex widths (33.33%) are ignored */
  /* Ensure each card fills the grid cell and doesn't try to act like a flex item */
  /* Equal height cards and distribute content vertically */
}
.three_products_group .section_three_products .stk-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr; /* mobile: one card per row */
  gap: 24px 16px;
  align-items: stretch;
  justify-items: stretch;
}
.three_products_group .section_three_products .three_product_card,
.three_products_group .section_three_products .stk-block-column {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}
.three_products_group .section_three_products .three_product_card {
  display: flex !important; /* ensure the column itself stretches */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2745098039);
  transition: all 0.3s ease;
}
.three_products_group .section_three_products .three_product_card:hover {
  border-color: #bbb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  cursor: pointer;
}
.three_products_group .section_three_products .three_product_card > .stk-column-wrapper {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.three_products_group .section_three_products .three_product_card > .stk-column-wrapper > .stk-block-content {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: space-between; /* stretch content across the full height */
  height: 100%;
}
.three_products_group .section_three_products .three_product_card h2 {
  margin: 0; /* tidy heading spacing at top */
}
.three_products_group .section_three_products .three_product_card figure {
  margin: 0; /* remove default figure margin to help vertical rhythm */
}
.three_products_group .section_three_products .three_product_card img {
  width: 100%;
  height: auto;
  object-fit: contain; /* keep aspect ratio without cropping */
}

@media (min-width: 768px) {
  .three_products_group {
    padding-left: 32px;
    padding-right: 32px;
  }
  .three_products_group .section_three_products .stk-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .three_products_group .section_three_products .stk-row .three_product_card {
    padding: 30px;
  }
}
@media (min-width: 1440px) {
  .three_products_group {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.klug-latestnews {
  padding: 70px 16px;
}
.klug-latestnews__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .klug-latestnews__grid {
    padding-left: 16px;
    padding-right: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .klug-latestnews__grid .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: calc(1000px + 6rem); /* 4 columns + 3 gaps */
    margin: 0 auto;
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  [data-cols="3"] .klug-latestnews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  [data-cols="2"] .klug-latestnews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.klug-latestnews__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.klug-latestnews__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.klug-latestnews__thumb {
  display: block;
  aspect-ratio: 16/9;
  background: #f5f5f5;
}
.klug-latestnews__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.klug-latestnews__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f2f2f2, #e9e9e9);
}
.klug-latestnews__body {
  padding: 1rem 1rem 1.25rem;
}
.klug-latestnews__title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  line-height: 1.25;
}
.klug-latestnews__title a {
  color: inherit;
  text-decoration: none;
}
.klug-latestnews__title a:hover {
  text-decoration: underline;
}
.klug-latestnews__date {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.klug-latestnews__excerpt {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.75rem;
}
.klug-latestnews__readmore {
  margin-top: auto;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.klug-latestnews__empty {
  grid-column: 1/-1;
  color: #666;
  padding: 1rem 0;
}
.klug-latestnews__pagination {
  margin-top: 2rem;
}
.klug-latestnews__pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.klug-latestnews__pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  text-decoration: none;
  line-height: 1;
}
.klug-latestnews__pagination .page-numbers.current {
  background: #111;
  color: #fff;
  border-color: #111;
}
.klug-latestnews__pagination .page-numbers:not(.current):hover {
  background: #f5f5f5;
}

.section_image_text.blue_section {
  background-color: #16325C;
  align-items: center !important;
  /* On mobile, stack in source order: LEFT first then RIGHT */
  flex-direction: column;
}
.section_image_text.blue_section h1, .section_image_text.blue_section h2, .section_image_text.blue_section h3, .section_image_text.blue_section h4, .section_image_text.blue_section h5, .section_image_text.blue_section h6 {
  color: #ED1C24;
}
.section_image_text.blue_section p {
  color: #fff;
}

@media (min-width: 768px) {
  .section_image_text.blue_section {
    flex-direction: row;
  }
}
.text_text_section {
  padding: 70px 16px;
}

@media (min-width: 768px) {
  .text_text_section {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .text_text_section {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.four_text_section {
  padding: 70px 16px;
}
.four_text_section .four_text_card.top_red_border {
  padding-top: 30px;
  border-top: 1px solid #ED1C24;
}
.four_text_section .four_text_card.top_red_border h3 {
  font-size: 20px;
}

@media (min-width: 768px) {
  .four_text_section {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .four_text_section {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.icon_text_group {
  padding: 70px 16px;
  /* Optional: constrain icon size a bit on tablet+ */
}
.icon_text_group .icon_text_section .stk-row.stk-inner-blocks {
  gap: 30px 30px;
}
.icon_text_group .icon_text_card .stk-block-content {
  display: grid !important;
  grid-template-columns: auto 1fr; /* icon | text */
  grid-auto-rows: auto;
  column-gap: 16px;
  align-items: start;
}
.icon_text_group .icon_text_card figure {
  grid-column: 1;
  grid-row: 1/span 2; /* occupy both rows beside h3 and p */
  margin: 0; /* remove default spacing */
}
.icon_text_group .icon_text_card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 6px 0;
}
.icon_text_group .icon_text_card p {
  grid-column: 2;
}
.icon_text_group .icon_text_card figure img {
  max-width: 106px;
  height: auto;
}

@media (min-width: 768px) {
  .icon_text_group {
    padding-left: 32px;
    padding-right: 32px;
  }
  .icon_text_group .icon_text_section .stk-row.stk-inner-blocks {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px 20px;
  }
}
@media (min-width: 1440px) {
  .icon_text_card {
    padding-left: 40px;
    padding-right: 40px;
  }
  .icon_text_card .icon_text_section .stk-row.stk-inner-blocks {
    gap: 40px 40px;
  }
}
.text_form_section {
  padding: 70px 16px;
}
.text_form_section .text_form_body {
  margin: 60px 0 0 0;
}
.text_form_section .text_form_body .stk-row.stk-inner-blocks {
  gap: 40px 40px;
}

@media (min-width: 768px) {
  .text_form_section {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .text_form_section {
    padding-left: 40px;
    padding-right: 40px;
  }
}
/* ==============================
   Global Form Controls
   - 100% width fields
   - Blue borders
   - Beige placeholders
   ============================== */
.klug-form label,
.text_form_section label,
.wpcf7 form label,
.gform_wrapper form label {
  display: block;
  margin: 0 0 8px 0;
  font-weight: 600;
  color: #16325C;
}
.klug-form input[type=text],
.klug-form input[type=email],
.klug-form input[type=tel],
.klug-form input[type=url],
.klug-form input[type=number],
.klug-form input[type=search],
.klug-form input[type=password],
.klug-form select,
.klug-form textarea,
.text_form_section input[type=text],
.text_form_section input[type=email],
.text_form_section input[type=tel],
.text_form_section input[type=url],
.text_form_section input[type=number],
.text_form_section input[type=search],
.text_form_section input[type=password],
.text_form_section select,
.text_form_section textarea,
.wpcf7 form input[type=text],
.wpcf7 form input[type=email],
.wpcf7 form input[type=tel],
.wpcf7 form input[type=url],
.wpcf7 form input[type=number],
.wpcf7 form input[type=search],
.wpcf7 form input[type=password],
.wpcf7 form select,
.wpcf7 form textarea,
.gform_wrapper form input[type=text],
.gform_wrapper form input[type=email],
.gform_wrapper form input[type=tel],
.gform_wrapper form input[type=url],
.gform_wrapper form input[type=number],
.gform_wrapper form input[type=search],
.gform_wrapper form input[type=password],
.gform_wrapper form select,
.gform_wrapper form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #2D6CB2;
  border-radius: 6px;
  background-color: #EFE5DE;
  padding: 12px 14px;
  font-family: "Roc Grotesk", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #16325C;
  appearance: none;
}
.klug-form textarea,
.text_form_section textarea,
.wpcf7 form textarea,
.gform_wrapper form textarea {
  height: 120px;
  min-height: 96px;
  resize: vertical;
  overflow: auto;
}
.klug-form input::placeholder,
.klug-form textarea::placeholder,
.text_form_section input::placeholder,
.text_form_section textarea::placeholder,
.wpcf7 form input::placeholder,
.wpcf7 form textarea::placeholder,
.gform_wrapper form input::placeholder,
.gform_wrapper form textarea::placeholder {
  color: #838b9d !important;
  opacity: 1;
  font-weight: 300 !important;
}
.klug-form input::-webkit-input-placeholder,
.klug-form textarea::-webkit-input-placeholder,
.text_form_section input::-webkit-input-placeholder,
.text_form_section textarea::-webkit-input-placeholder,
.wpcf7 form input::-webkit-input-placeholder,
.wpcf7 form textarea::-webkit-input-placeholder,
.gform_wrapper form input::-webkit-input-placeholder,
.gform_wrapper form textarea::-webkit-input-placeholder {
  color: #EFE5DE;
}
.klug-form input::-moz-placeholder,
.klug-form textarea::-moz-placeholder,
.text_form_section input::-moz-placeholder,
.text_form_section textarea::-moz-placeholder,
.wpcf7 form input::-moz-placeholder,
.wpcf7 form textarea::-moz-placeholder,
.gform_wrapper form input::-moz-placeholder,
.gform_wrapper form textarea::-moz-placeholder {
  color: #EFE5DE;
}
.klug-form input:-ms-input-placeholder,
.klug-form textarea:-ms-input-placeholder,
.text_form_section input:-ms-input-placeholder,
.text_form_section textarea:-ms-input-placeholder,
.wpcf7 form input:-ms-input-placeholder,
.wpcf7 form textarea:-ms-input-placeholder,
.gform_wrapper form input:-ms-input-placeholder,
.gform_wrapper form textarea:-ms-input-placeholder {
  color: #EFE5DE;
}
.klug-form input:-moz-placeholder,
.klug-form textarea:-moz-placeholder,
.text_form_section input:-moz-placeholder,
.text_form_section textarea:-moz-placeholder,
.wpcf7 form input:-moz-placeholder,
.wpcf7 form textarea:-moz-placeholder,
.gform_wrapper form input:-moz-placeholder,
.gform_wrapper form textarea:-moz-placeholder {
  color: #EFE5DE;
}
.klug-form input:focus,
.klug-form select:focus,
.klug-form textarea:focus,
.text_form_section input:focus,
.text_form_section select:focus,
.text_form_section textarea:focus,
.wpcf7 form input:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus,
.gform_wrapper form input:focus,
.gform_wrapper form select:focus,
.gform_wrapper form textarea:focus {
  outline: none;
  border-color: #2D6CB2;
  box-shadow: 0 0 0 3px rgba(22, 50, 92, 0.12);
}
.klug-form .gfield input,
.klug-form .gfield select,
.klug-form .gfield textarea,
.text_form_section .gfield input,
.text_form_section .gfield select,
.text_form_section .gfield textarea,
.wpcf7 form .gfield input,
.wpcf7 form .gfield select,
.wpcf7 form .gfield textarea,
.gform_wrapper form .gfield input,
.gform_wrapper form .gfield select,
.gform_wrapper form .gfield textarea {
  width: 100%;
}
.klug-form input[type=submit],
.klug-form button[type=submit],
.text_form_section input[type=submit],
.text_form_section button[type=submit],
.wpcf7 form input[type=submit],
.wpcf7 form button[type=submit],
.gform_wrapper form input[type=submit],
.gform_wrapper form button[type=submit] {
  width: auto;
  cursor: pointer;
  background-color: #ED1C24;
  color: #EFE5DE;
  padding: 8px 12px;
  font-family: "Roc Grotesk", Helvetica, Arial, sans-serif;
  border: 0;
  padding: 6px 12px;
}
.klug-form input[type=submit]:hover,
.klug-form button[type=submit]:hover,
.text_form_section input[type=submit]:hover,
.text_form_section button[type=submit]:hover,
.wpcf7 form input[type=submit]:hover,
.wpcf7 form button[type=submit]:hover,
.gform_wrapper form input[type=submit]:hover,
.gform_wrapper form button[type=submit]:hover {
  border: 1px solid #ED1C24;
  border-radius: 5px;
  background-color: transparent;
  color: #ED1C24;
}

.wpcf7-response-output {
  color: #16325C;
}

/* Make YouTube embeds full width and responsive */
.single_video_section {
  padding: 70px 16px;
}
.single_video_section .single_video_wrapper .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
}
.single_video_section .single_video_wrapper .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 786px) {
  .single_video_section {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .single_video_section {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.contact_details_section {
  padding: 70px 16px;
  align-items: center !important;
}
.contact_details_section a {
  color: #16325C;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.25rem);
  text-decoration: none;
}

@media (min-width: 768px) {
  .contact_details_section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .contact_details_section > .wp-block-column:nth-of-type(1) {
    flex-basis: 40% !important;
    justify-content: end;
  }
  .contact_details_section > .wp-block-column:nth-of-type(2) {
    flex-basis: 60% !important;
  }
}
@media (min-width: 1440px) {
  .contact_details_section {
    padding-left: 40px;
    padding-right: 40px;
  }
  .contact_details_section > .wp-block-column:nth-of-type(1) {
    flex-basis: 33.33% !important;
  }
  .contact_details_section > .wp-block-column:nth-of-type(2) {
    flex-basis: 66.66% !important;
  }
}
.products_breadcrump {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 70px;
}
.products_breadcrump a {
  text-decoration: none;
  display: flex;
  gap: 16px;
}
.products_breadcrump a .products_back_arrow path {
  fill: #16325C !important;
}
.products_breadcrump a .products_back_arrow > svg[viewBox] {
  width: 20px !important;
}
.products_breadcrump a p {
  align-content: center;
}

@media (min-width: 768px) {
  .products_breadcrump {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .products_breadcrump {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.products_banner {
  padding: 0 16px;
  border-bottom: 1px solid #fff;
}
.products_banner .products_back_section .stk-block-content.stk-inner-blocks {
  flex-direction: row !important;
  gap: 16px;
}
.products_banner .products_back_section .stk-block-icon {
  margin: 0 !important;
}
.products_banner .products_back_section .stk-block-icon .stk--inner-svg > svg[viewBox] {
  width: 20px !important;
}
.products_banner .products_back_section .stk-block-icon path {
  fill: #16325C !important;
}
.products_banner .products_back_section .stk-block-content.stk-inner-blocks {
  align-items: center;
}
.products_banner .section_image_text {
  flex-direction: row;
}
.products_banner .section_image_text .info_card {
  border: 1px solid #ED1C24;
  margin-bottom: 30px;
}
.products_banner .section_image_text .info_card p:nth-child(1) {
  position: relative;
  left: 20px;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-50%);
  background-color: #ED1C24;
  width: fit-content;
  padding: 8px 16px;
  color: #EFE5DE;
  margin: 0;
  font-family: "Roc Grotesk";
  line-height: 1;
}
.products_banner .section_image_text .info_card .image_text_right_icon_container {
  padding: 0 40px 40px 40px;
}
.products_banner .section_image_text .info_card .image_text_right_icon_container > .stk-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
}
.products_banner .section_image_text .info_card .image_text_right_icon_container .image_text_icon_card {
  text-align: center;
  align-items: center;
  max-width: 100%;
}
.products_banner .section_image_text .info_card .image_text_right_icon_container .image_text_icon_card img {
  height: 60px !important;
  width: auto;
}

@media (min-width: 768px) {
  .products_banner {
    padding-left: 32px;
    padding-right: 32px;
  }
  .products_banner .section_image_text .info_card p:nth-child(1) {
    left: 40px;
    font-size: 16px;
  }
  .products_banner .section_image_text .info_card .image_text_right_icon_container {
    padding: 0 40px 40px 40px;
  }
}
@media (min-width: 1440px) {
  .products_banner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .products_banner .section_image_text .info_card .image_text_right_icon_container > .stk-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
.products_details {
  padding: 0 16px;
  border-bottom: 1px solid #fff;
}
.products_details .products_back_section .stk-block-content.stk-inner-blocks {
  flex-direction: row !important;
  gap: 16px;
}
.products_details .products_back_section .stk-block-icon {
  margin: 0 !important;
}
.products_details .products_back_section .stk-block-icon .stk--inner-svg > svg[viewBox] {
  width: 20px !important;
}
.products_details .products_back_section .stk-block-icon path {
  fill: #16325C !important;
}
.products_details .products_back_section .stk-block-content.stk-inner-blocks {
  align-items: center;
}
.products_details .section_image_text {
  flex-direction: row;
}
.products_details .section_image_text tbody {
  vertical-align: sub;
  text-align: left;
}
.products_details .section_image_text tbody tr td {
  border: 0 !important;
}
.products_details .section_image_text tbody tr td:first-child {
  color: #005198;
  font-weight: 500 !important;
}
.products_details .section_image_text .info_card {
  border: 1px solid #ED1C24;
  margin-bottom: 30px;
}
.products_details .section_image_text .info_card p:nth-child(1) {
  position: relative;
  left: 20px;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-50%);
  background-color: #ED1C24;
  width: fit-content;
  padding: 8px 16px;
  color: #EFE5DE;
  margin: 0;
  font-family: "Roc Grotesk";
  line-height: 1;
}
.products_details .section_image_text .info_card .image_text_right_icon_container {
  padding: 0 40px 40px 40px;
}
.products_details .section_image_text .info_card .image_text_right_icon_container > .stk-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
}
.products_details .section_image_text .info_card .image_text_right_icon_container .image_text_icon_card {
  text-align: center;
  align-items: center;
  max-width: 100%;
}
.products_details .section_image_text .info_card .image_text_right_icon_container .image_text_icon_card img {
  height: 60px !important;
  width: auto;
}

@media (min-width: 768px) {
  .products_details {
    padding-left: 32px;
    padding-right: 32px;
  }
  .products_details .section_image_text .info_card p:nth-child(1) {
    left: 40px;
    font-size: 16px;
  }
  .products_details .section_image_text .info_card .wp-block-table {
    padding: 0 40px 40px 40px;
  }
  .products_details .section_image_text .info_card .image_text_right_icon_container {
    padding: 0 40px 40px 40px;
  }
}
@media (min-width: 1440px) {
  .products_details {
    padding-left: 40px;
    padding-right: 40px;
  }
  .products_details .section_image_text .info_card .image_text_right_icon_container > .stk-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
.main-post-body article.post {
  padding: 70px 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}
.main-post-body article.post figure {
  padding-bottom: 30px;
}

@media (min-width: 768px) {
  .main-post-body article.post {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .main-post-body article.post {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/*# sourceMappingURL=style.css.map */
