<style>
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.wp-block-button__link {
  font-family: 'Figtree', sans-serif !important;
  font-weight: 600 !important;
}

/* ---- Page Header ---- */
.page-header--image .page-header__figure,
.page-header--video .page-header__figure,
.page-header--image .page-header__wrap,
.page-header--video .page-header__wrap,
.page-header.page-header--image {
  min-height: 300px !important;
  max-height: 300px !important;
}

.page-header--image .page-header__wrap,
.page-header--video .page-header__wrap {
  position: relative !important;
  z-index: 3 !important;
}

div.page-header--image div.page-header__figure::after,
div.page-header--video div.page-header__figure::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(240, 240, 240, 0.97) !important;
  opacity: .9 !important;
  z-index: 1 !important;
}

h1:not(#ccc-notify-title) {
    font-size: 2.7em !important;
}
@media (max-width: 1279px) {
	h1:not(#ccc-notify-title) {
    font-size: 2em !important;
 }
}
	
.page-header__title {
  font-weight: 800;
}

.page-header--image .page-header__content {
  position: relative;
  color: #003060 !important;
  margin-left: 10%;
  margin-bottom: 70px;
  z-index: 3;
}
@media (max-width: 1280px) {
.page-header--image .page-header__content {
  position: relative;
  color: #003060 !important;
  margin-left: 10%;
  margin-bottom: 80px;
  z-index: 3;
 }
}
@media (min-width: 2000px) {
.page-header--image .page-header__content {
  position: relative;
  color: #003060 !important;
  margin-left: 10%;
  margin-bottom: 60px;
  z-index: 3;
 }
}

.breadcrumbs {
  display: block;
  width: 100%;
  position: absolute;
  color: #777 !important;
  z-index: 999;
  margin-top: -300px !important;
}

.breadcrumbs {
  display: block;
  width: 100%;
  position: absolute;
  color: #777 !important;
  font-weight: 500;
  z-index: 999;
  margin-top: -270px !important;
}

.breadcrumbs a {
  color: #777 !important;
  text-decoration: none !important;
  font-weight: 500;
  margin: 0 5px;
}

a.bold {
  font-weight: 800 !important;
}

.featuredLinks {
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 999;
  margin-top: -60px !important;
}

.featuredLinks a {
  color: #003060 !important;
  text-decoration: none !important;
  font-weight: 600;
  margin: 0 20px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  background-image: linear-gradient(to right, #003060 100%, #003060 100%);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 0% 2px;
  transition: background-size 250ms ease;
}

.featuredLinks a:hover,
.featuredLinks a:focus {
  background-size: 100% 2px;
}

/* ---- Column Alignments ---- */
.wp-block-columns.alignfull.top-blue-container {
  height: 60px;
  display: flex;
  align-items: center;
}

.wp-block-columns.alignfull.top-blue-container .wp-block-column {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Make the container control vertical centering */
.top-underline {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

/* Your existing link styles (no flex here) */
.top-underline a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  background-image: linear-gradient(to right, #fff 100%, #fff 100%);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 0% 2px;
  transition: background-size 250ms ease;
}

.top-underline a:hover,
.top-underline a:focus {
  background-size: 100% 2px;
}

.top-underline a::after {
  content: " →";
  color: #fff;
  font-weight: 600;
  margin-left: 5px;
}


/* ---- Text + Spacing ---- */
p {
  margin-top: 20px;
  margin-bottom: 30px;
}

.wp-block-columns {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

p.mt-mb-0 {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

p.mt-mb-5 {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}

h2.mt-mb-0 {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

h2.mt-mb-5 {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}

p.mt-30 {
  margin: 0 0 30px 0 !important;
}

h2.m-0 {
  margin: 0 !important;
}

/* ---- Backgrounds ---- */
.slider-background {
  background-image: url('https://www.gtweed.com/wp-content/uploads/2025/08/product-background-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  color: #003560 !important;
}

.slider-background a {
  color: #003560 !important;
  position: relative;
}

.slider-background a::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 3px;
  bottom: 0;
  left: 0;
  border-bottom: 3px solid var(--wp--preset--color--light-blue);
}

.product-resources-background {
  background-image: url('https://www.gtweed.com/wp-content/uploads/2025/08/product-resources-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
}

.wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal {
  display: none;
}

/* ---- Tabs ---- */
.tab-container {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: nowrap;
  border-bottom: 5px solid transparent;
  transition: border-color 0.3s ease;
}

.tab-container.top.tab-1-active {
  border-bottom-color: #003060;
}

.tab-container.top.tab-2-active {
  border-bottom-color: #d9e8f4;
}

.tab-container.bottom.tab-3-active {
  border-bottom-color: #025FA9;
}

.tab-container.bottom.tab-4-active {
  border-bottom-color: #001933;
}

.tab-toggle {
  width: 50%;
  text-align: center;
  font-weight: bold;
  padding: 1.2rem 0;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

.tab-toggle.active {
  filter: brightness(1.05);
}

/* ---- Tab Arrows (MATCH PRODUCT SLIDER STYLE) ---- */
.tab-rail,
.tab-content {
  position: relative;
  overflow: visible !important;
}

.tab-prev,
.tab-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #4193D47D;
  color: #fff;
  border: none;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.tab-prev:hover,
.tab-next:hover {
  opacity: 1;
}

/* Arrow icons */
.tab-prev::before {
  content: "\25C0";
  /* ◀ */
  font-size: 18px;
  line-height: 1;
}

.tab-next::before {
  content: "\25B6";
  /* ▶ */
  font-size: 18px;
  line-height: 1;
}

.tab-prev {
  left: 10px;
}

.tab-next {
  right: 10px;
}

/* ---- Top and Bottom Tab Colors ---- */
.tab-container.top .tab-1 {
  background: #003060;
  color: #fff;
}

.tab-container.top .tab-2 {
  background: #d9e8f4;
  color: #003060;
}

.tab-container.bottom .tab-3 {
  background: #025FA9;
  color: #fff;
}

.tab-container.bottom .tab-4 {
  background: #001933;
  color: #fff;
}

/* ---- Tab Content ---- */
.tab-content {
  display: none;
  margin-top: 20px;
  min-height: 400px;
}

.tab-content.visible {
  display: block;
}

.tab-content .wp-block-columns.alignfull {
  position: relative;
  min-height: 500px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	
	
  .main__wrap > .alignfull,
  .entry-content > .alignfull,
  .wp-block-group__inner-container > .alignfull {
  margin-right: 0 !important;
  margin-left: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  box-sizing: border-box;
}

  .page-header--image .page-header__figure,
  .page-header--video .page-header__figure,
  .page-header--image .entry-header__figure,
  .page-header--video .entry-header__figure,
  .page-header--image .page-header__wrap,
  .page-header--video .page-header__wrap,
  .page-header.page-header--image {
  margin-right: 0 !important;
  margin-left: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
  .page-header__excerpt p {
    min-width: 100%;
  }

  .breadcrumbs,
  .featuredLinks,
  .tab-prev {
    display: none !important;
  }

  p,
  h2 {
    max-width: 70% !important;
    margin: auto !important;
  }

  h3 {
    max-width: 90% !important;
    margin: auto !important;
  }

  .page-header--image .page-header__content {
  position: relative;
  color: #003060 !important;
  margin-left: 10%;
  margin-bottom: 60px;
  z-index: 3;
  }

  .custom-card {
    max-width: 90% !important;
    margin: auto;
  }

  .tab-container {
    flex-direction: column;
    border-bottom: 5px solid #fff;
    width: 100%;
    box-sizing: border-box;
  }

  .tab-content {
    padding-bottom: 50px;
  }

  .tab-toggle {
    width: 100%;
    text-align: center;
    padding: 1.2rem 0;
  }

  .tab-content .wp-block-buttons {
    display: flex;
    justify-content: center;
  }

  .main__wrap,
  .wp-block-columns.alignfull,
  .wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    display: block !important;
  }

  .swiper-button-next:after {
    content: "→" !important;
    font-size: 28px !important;
    font-weight: bold !important;
    color: #fff !important;
    background: #4193D47D !important;
    padding: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .wp-block-columns.alignfull.top-blue-container {
    min-height: 80px !important;
  }

  .top-underline a {
    display: flex;
    align-items: center;
    margin-top: 7px;
    font-size: 17px !important;
  }

  .mt-mb-20 {
    font-size: 22px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
}

/* ---- Misc ---- */
.sticky-on-scroll {
  position: relative;
  transition: all 0.2s ease;
}

.sticky-on-scroll.fixed-to-top {
  position: fixed;
  top: 0;
  z-index: 9999;
  background: white;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  .page-header__excerpt p {
    margin-top: -25px !important;
  }

  .wp-block-columns .wp-block-column.desktop-margin-l-r-1_5 {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
  }
}

.page-header--image .page-header__content {
  overflow: visible !important;
}

:where(.wp-block-columns.has-background) {
  padding: 0 !important;
}

div.tab-content ul {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  line-height: 1.2 !important;
}

@media only screen and (max-width: 768px) {
  div.tab-content ul {
    max-width: 80% !important;
    margin: auto;
  }

  .tab-content img {
    margin-bottom: 20px !important;
    display: block;
  }

  .tab-content {
    display: block !important;
    opacity: 1 !important;
    height: auto !important;
    visibility: visible !important;
  }

  /* Remove desktop sliding/hidden classes */
  .tab-content.visible {
    display: block !important;
  }

  /* Hide the left/right arrow buttons on mobile */
  .tab-prev,
  .tab-next {
    display: none !important;
  }
  
  .hide-on-mobile {
    display: none !important;
  }
}

@media only screen and (min-width: 769px) {
  .hide-on-desktop {
    display: none !important;
  }
}

</style>