/**
 * Generates a responsive font size using CSS clamp().
 *
 * @param {Number} $minFontSize - The minimum font size (e.g., 1rem or 16px).
 * @param {Number} $maxFontSize - The maximum font size (e.g., 3.5rem or 56px).
 * @param {Number} $minDeviceWidth - The minimum viewport width (e.g., 20rem or 320px).
 * @param {Number} $maxDeviceWidth - The maximum viewport width (e.g., 80rem or 1280px).
 * @return {String} A CSS clamp() function string.


// --- Usage Example ---
.hero-title {
  // Example: 1rem (16px) at 320px screen width up to 3.5rem (56px) at 1280px
  font-size: responsiveFontSize(1rem, 3.5rem, 20rem, 80rem);
}

.subtitle {
    // Another example using px values
    font-size: responsiveFontSize(14px, 24px, 400px, 1000px);
}

output

.hero-title {
  font-size: clamp(1rem, -0.875rem + 8.33333vw, 3.5rem);
}

.subtitle {
  font-size: clamp(14px, 5px + 2.5vw, 24px);
}

 */
@media print {
  body {
    font-size: 12pt;
  }
}
:root {
  interpolate-size: allow-keywords;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  scrollbar-color: var(--scrollbar_active) var(--scrollbar_track);
}

body {
  height: 100%;
  background-color: var(--primary_bg);
  color: var(--text_one);
  font-weight: 300;
  font-size: clamp(14px, 0.715rem + 0.64vw, 18px);
  shape-rendering: geometricPrecision;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body a {
  text-decoration: none;
  color: var(--text_one);
}

a {
  text-decoration: none;
  color: var(--text_one);
}

a:hover {
  color: var(--text_one);
}

::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--scrollbar_track);
  border-radius: 2px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--scrollbar_active);
  border-radius: 2px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar_active);
}

#main {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  min-height: 100vh;
}

div.gsap-marker-end,
div.gsap-marker-start,
div.gsap-marker-scroller-end,
div.gsap-marker-scroller-start {
  z-index: 100000 !important;
}

section.layout .btn,
footer .btn {
  width: fit-content;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
section.layout .btn a,
footer .btn a {
  border-radius: 2rem;
  display: flex;
  align-items: center;
  font-size: clamp(14px, 0.715rem + 0.64vw, 18px);
  font-weight: 320;
  transition: all 0.3s ease-in-out;
  color: rgb(16, 16, 20);
  font-weight: 400;
  line-height: 1.2;
  overflow: clip;
  column-gap: 0.5rem;
  padding: 0.5rem;
  text-decoration: none;
}
section.layout .btn a .icon.arrow,
section.layout .btn a .icon svg,
section.layout .btn a .icon.arrow svg,
footer .btn a .icon.arrow,
footer .btn a .icon svg,
footer .btn a .icon.arrow svg {
  width: 34px;
  height: 34px;
}
section.layout .btn a .icon.back svg,
section.layout .btn a .icon.forward svg,
footer .btn a .icon.back svg,
footer .btn a .icon.forward svg {
  width: 30px;
  height: 30px;
}
section.layout .btn a .icon.download svg,
footer .btn a .icon.download svg {
  width: 30px;
  height: 30px;
}
section.layout .btn a .icon.plus svg,
footer .btn a .icon.plus svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 4;
  opacity: 1;
}
section.layout .btn a span.link_text,
footer .btn a span.link_text {
  padding-left: 0.5rem;
  padding-left: 1rem;
  padding-right: 0.5rem;
}
section.layout .btn a:focus,
footer .btn a:focus {
  outline: none;
}
section.layout .btn a::after,
footer .btn a::after {
  display: none;
}
section.layout .btn.icon_left a,
footer .btn.icon_left a {
  flex-direction: row-reverse;
}
section.layout .btn.icon_left a .link_text,
footer .btn.icon_left a .link_text {
  margin-right: 16px;
  padding-right: 0;
}
section.layout .btn span,
footer .btn span {
  display: block;
}
section.layout .btn span.icon,
footer .btn span.icon {
  display: flex;
  background-color: #000;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  position: static;
  align-items: center;
  justify-content: center;
}
section.layout .btn span.icon:after,
footer .btn span.icon:after {
  display: none;
}
section.layout .btn .icon svg,
footer .btn .icon svg {
  stroke: #fff;
}
section.layout .btn .icon.forward svg, section.layout .btn .icon.back svg,
footer .btn .icon.forward svg,
footer .btn .icon.back svg {
  width: 24px;
  height: 24px;
}
section.layout .btn .icon.forward svg path, section.layout .btn .icon.back svg path,
footer .btn .icon.forward svg path,
footer .btn .icon.back svg path {
  stroke: #fff;
  fill: #fff;
}
section.layout .btn a .arrow.back svg,
section.layout .btn a .arrow.forward svg,
footer .btn a .arrow.back svg,
footer .btn a .arrow.forward svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 4;
  opacity: 1;
}
section.layout .btn a .arrow.back svg path,
section.layout .btn a .arrow.forward svg path,
footer .btn a .arrow.back svg path,
footer .btn a .arrow.forward svg path {
  fill: #ffffff;
  stroke: #ffffff;
}
section.layout .btn.icon_white a .icon,
section.layout .btn.icon_white a .icon.plus,
section.layout .btn.icon_white a .icon.arrow.back,
section.layout .btn.icon_white a .icon.arrow.forward,
footer .btn.icon_white a .icon,
footer .btn.icon_white a .icon.plus,
footer .btn.icon_white a .icon.arrow.back,
footer .btn.icon_white a .icon.arrow.forward {
  background-color: #fff;
}
section.layout .btn.icon_white a .icon svg,
section.layout .btn.icon_white a .icon.plus svg,
section.layout .btn.icon_white a .icon.arrow.back svg,
section.layout .btn.icon_white a .icon.arrow.forward svg,
footer .btn.icon_white a .icon svg,
footer .btn.icon_white a .icon.plus svg,
footer .btn.icon_white a .icon.arrow.back svg,
footer .btn.icon_white a .icon.arrow.forward svg {
  width: 26px;
  height: 26px;
  fill: #000;
  stroke: #000;
  stroke-width: 24px;
  opacity: 1;
}
section.layout .btn.icon_white a .icon svg path,
section.layout .btn.icon_white a .icon.plus svg path,
section.layout .btn.icon_white a .icon.arrow.back svg path,
section.layout .btn.icon_white a .icon.arrow.forward svg path,
footer .btn.icon_white a .icon svg path,
footer .btn.icon_white a .icon.plus svg path,
footer .btn.icon_white a .icon.arrow.back svg path,
footer .btn.icon_white a .icon.arrow.forward svg path {
  fill: #000;
  stroke: #000;
}
section.layout .btn.icon_black a .icon,
section.layout .btn.icon_black a .icon.plus,
section.layout .btn.icon_black a .icon.arrow.back,
section.layout .btn.icon_black a .icon.arrow.forward,
footer .btn.icon_black a .icon,
footer .btn.icon_black a .icon.plus,
footer .btn.icon_black a .icon.arrow.back,
footer .btn.icon_black a .icon.arrow.forward {
  background-color: #000;
}
section.layout .btn.icon_black a .icon svg,
section.layout .btn.icon_black a .icon.plus svg,
section.layout .btn.icon_black a .icon.arrow.back svg,
section.layout .btn.icon_black a .icon.arrow.forward svg,
footer .btn.icon_black a .icon svg,
footer .btn.icon_black a .icon.plus svg,
footer .btn.icon_black a .icon.arrow.back svg,
footer .btn.icon_black a .icon.arrow.forward svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 24px;
  opacity: 1;
}
section.layout .btn.icon_black a .icon svg path,
section.layout .btn.icon_black a .icon.plus svg path,
section.layout .btn.icon_black a .icon.arrow.back svg path,
section.layout .btn.icon_black a .icon.arrow.forward svg path,
footer .btn.icon_black a .icon svg path,
footer .btn.icon_black a .icon.plus svg path,
footer .btn.icon_black a .icon.arrow.back svg path,
footer .btn.icon_black a .icon.arrow.forward svg path {
  fill: #fff;
  stroke: #fff;
}
section.layout .btn.white span.link_text,
footer .btn.white span.link_text {
  color: #fff;
}
section.layout .btn.white:hover,
footer .btn.white:hover {
  color: #000;
}
section.layout .btn.white:hover span,
footer .btn.white:hover span {
  color: #000;
}
section.layout .btn.brd_white a,
footer .btn.brd_white a {
  outline: 1px solid rgb(245, 245, 245);
  box-shadow: 0 0 1px 0px white inset, 0 0 1px 0px white;
}
section.layout .btn.bg_grey a,
footer .btn.bg_grey a {
  background: rgba(16, 16, 20, 0.1);
}
section.layout .link_red a,
footer .link_red a {
  background: #fb471f;
  color: #000;
  font-weight: 400;
}
section.layout .link_red a span.link_text,
footer .link_red a span.link_text {
  color: #000;
}
section.layout .link_red a span.icon,
footer .link_red a span.icon {
  background-color: #000;
}
section.layout .link_red a svg,
footer .link_red a svg {
  stroke: #fff;
}
section.layout .link_red a:hover,
footer .link_red a:hover {
  color: #000;
  font-weight: 400;
}
section.layout .link_red a:hover span,
footer .link_red a:hover span {
  color: #000;
}
section.layout .link_red a.brd_white a:hover,
footer .link_red a.brd_white a:hover {
  outline: 1px solid #fff;
  box-shadow: 0 0 1px 0px #fff inset, 0 0 1px 0px #fff;
}
section.layout .link_red a::before,
footer .link_red a::before {
  content: "";
  position: absolute;
  display: block;
  bottom: 0%;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99) 0s;
  -webkit-transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99);
}
section.layout .link_red a:after,
footer .link_red a:after {
  display: none;
}
section.layout .link_red a:hover,
footer .link_red a:hover {
  transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99) 0.2s;
  -webkit-transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99) 0.2s;
}
section.layout .link_red a:hover::before,
footer .link_red a:hover::before {
  left: 0;
  width: 100%;
  opacity: 1;
  z-index: 0;
}
section.layout .link_red a:hover span,
footer .link_red a:hover span {
  z-index: 1;
}
section.layout .link_red.brdr_white a:hover,
footer .link_red.brdr_white a:hover {
  transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99) 0.2s;
  -webkit-transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99) 0.2s;
}
section.layout .link_white a,
footer .link_white a {
  background: rgba(16, 16, 20, 0.1);
  color: #000;
}
section.layout .link_white a span,
footer .link_white a span {
  color: #000;
}
section.layout .link_white a span.icon,
footer .link_white a span.icon {
  background-color: #000;
}
section.layout .link_white a svg,
footer .link_white a svg {
  stroke: #fff;
}
section.layout .link_white a:hover,
footer .link_white a:hover {
  color: #fff;
}
section.layout .link_white a:hover span.link_text,
footer .link_white a:hover span.link_text {
  color: #fff;
}
section.layout .link_white a::before,
footer .link_white a::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #fb471f;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99) 0s;
  -webkit-transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99);
}
section.layout .link_white a:after,
footer .link_white a:after {
  display: none;
}
section.layout .link_white a:hover::before,
footer .link_white a:hover::before {
  height: 100%;
  width: 100%;
  bottom: 0;
  opacity: 1;
}
section.layout .link_white.brdr_white a,
footer .link_white.brdr_white a {
  outline: 1px solid #fff;
}
section.layout .link_white.brdr_white a:hover,
footer .link_white.brdr_white a:hover {
  outline: 1px solid #fb471f;
  box-shadow: 0 0 1px 0px #fb471f inset, 0 0 1px 0px #fb471f;
  transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99) 0.2s;
  -webkit-transition: all 0.5s cubic-bezier(0.81, 0, 0.33, 0.99) 0.2s;
}
section.layout .hover_blue:hover a,
footer .hover_blue:hover a {
  color: #fff;
  font-weight: 400;
}
section.layout .hover_blue:hover a:hover,
footer .hover_blue:hover a:hover {
  color: #fff;
}
section.layout .hover_blue:hover a:hover span,
footer .hover_blue:hover a:hover span {
  color: #fff;
}
section.layout .hover_blue:hover a:hover::before,
footer .hover_blue:hover a:hover::before {
  background: #01344b;
}
section.layout.bg_grey,
footer.bg_grey {
  background-color: #212124;
}
section.layout.icon_left a span.link_text,
footer.icon_left a span.link_text {
  margin-right: 16px;
}

/********************************************************* 
  Single Posts / News Single
**********************************************************/
body.pt-post section.layout:first-child:not(.layout.hero-main) {
  padding-top: 12rem;
  padding-bottom: 2rem;
}
body.pt-post #poststuff section.layout:first-child:not(.layout.hero-main) {
  padding-top: 4rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
body.pt-post #poststuff section.layout:first-child:not(.layout.hero-main) + section.layout.white-bg,
body.pt-post section.layout:first-child:not(.layout.hero-main) + section.layout.white-bg {
  padding-top: 4rem;
}

@media (width >= 1025px) {
  /**
   * Generates a responsive font size using CSS clamp().
   *
   * @param {Number} $minFontSize - The minimum font size (e.g., 1rem or 16px).
   * @param {Number} $maxFontSize - The maximum font size (e.g., 3.5rem or 56px).
   * @param {Number} $minDeviceWidth - The minimum viewport width (e.g., 20rem or 320px).
   * @param {Number} $maxDeviceWidth - The maximum viewport width (e.g., 80rem or 1280px).
   * @return {String} A CSS clamp() function string.


  // --- Usage Example ---
  .hero-title {
    // Example: 1rem (16px) at 320px screen width up to 3.5rem (56px) at 1280px
    font-size: responsiveFontSize(1rem, 3.5rem, 20rem, 80rem);
  }

  .subtitle {
      // Another example using px values
      font-size: responsiveFontSize(14px, 24px, 400px, 1000px);
  }

  output

  .hero-title {
    font-size: clamp(1rem, -0.875rem + 8.33333vw, 3.5rem);
  }

  .subtitle {
    font-size: clamp(14px, 5px + 2.5vw, 24px);
  }

   */
  #poststuff .layout[data-layout],
  .layout[data-layout] {
    width: 100%;
    padding: 0;
  }
  #poststuff .layout[data-layout] section.layout[data-component],
  .layout[data-layout] section.layout[data-component] {
    width: 100%;
    max-width: 100%;
    border: none;
  }
  #poststuff .layout[data-layout] section.layout[data-component] > div:first-child,
  .layout[data-layout] section.layout[data-component] > div:first-child {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }
  #poststuff .layout[data-layout] section.layout[data-component] > div:first-child.full,
  .layout[data-layout] section.layout[data-component] > div:first-child.full {
    max-width: 100%;
  }
  #poststuff .layout[data-layout] section.layout[data-component=hero] > div:first-child,
  .layout[data-layout] section.layout[data-component=hero] > div:first-child {
    max-width: 100%;
  }
  #poststuff .layout[data-layout] section.layout[data-component=hero] > div:first-child > .content > .head,
  .layout[data-layout] section.layout[data-component=hero] > div:first-child > .content > .head {
    max-width: 90%;
    margin: 0 auto;
  }
}