/* Source: post 3711 content, style 1 */

/* =========================================
   GLASS FILMS ULTRAGREEN CATEGORY PAGE
   FULL-WIDTH COMPACT HERO
========================================= */

/* HIDE ORIGINAL CATEGORY TITLE BANNER */
body.tax-product_cat.term-ultragreen-window-film
.wd-page-title,
body.tax-product_cat.term-ultragreen-window-film
.page-title.title-shop {
  display: none !important;
}

/* REMOVE DEFAULT PAGE SPACING */
body.tax-product_cat.term-ultragreen-window-film
.main-page-wrapper {
  padding-top: 0 !important;
}

/* =========================================
   FULL-WIDTH HERO
========================================= */

.gf-ultragreen-hero {
  display: grid;
  grid-template-columns: 55% 45%;

  /* FULL BROWSER WIDTH */
  width: 100vw;
  max-width: none;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: #f4f4f4;
  overflow: hidden;
  align-items: stretch;

  font-family: inherit;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
}

/* REMOVE WHITE GAP ABOVE HERO */
body.tax-product_cat.term-ultragreen-window-film
.gf-ultragreen-hero {
  margin-top: -40px !important;
}

/* =========================================
   LEFT TEXT AREA
========================================= */

.gf-ultragreen-content {
  padding: 28px 6%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  box-sizing: border-box;
}

/* HEADING */
.gf-ultragreen-heading {
  text-align: center;
  margin-bottom: 18px;
}

.gf-ultragreen-heading h1 {
  font-size: 25px;
  font-weight: 400;
  color: #777;
  margin: 0;
  line-height: 1.3;
}

.gf-ultragreen-line {
  width: 55px;
  height: 2px;
  background: #777;
  margin: 12px auto 0;
}

/* =========================================
   OFFICIAL SOLYX ULTRAGREEN LOGO
========================================= */

.gf-ultragreen-logo {
  margin-bottom: 16px;
}

.gf-ultragreen-logo img {
  display: block;
  width: 280px;
  max-width: 85%;
  height: auto;
}

/* =========================================
   DESCRIPTION TEXT
========================================= */

.gf-ultragreen-content p {
  font-size: 13px;
  line-height: 1.65;
  color: #333;
  margin: 0 0 12px;
}

.gf-ultragreen-content p:last-child {
  margin-bottom: 0;
}

/* =========================================
   RIGHT PROJECT IMAGE
========================================= */

.gf-ultragreen-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.gf-ultragreen-image img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: left center;

  display: block;
}

/* =========================================
   ULTRAGREEN GRADIENT OVERLAY
   COLOUR: #266238
========================================= */

.gf-ultragreen-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    110deg,
    rgba(38, 98, 56, 0.45) 0%,
    rgba(38, 98, 56, 0.30) 50%,
    rgba(38, 98, 56, 0.15) 100%
  );

  pointer-events: none;
}

/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1024px) {

  .gf-ultragreen-hero {
    grid-template-columns: 55% 45%;
  }

  .gf-ultragreen-content {
    padding: 25px 5%;
  }

  .gf-ultragreen-heading h1 {
    font-size: 22px;
  }

  .gf-ultragreen-heading {
    margin-bottom: 16px;
  }

  .gf-ultragreen-logo {
    margin-bottom: 14px;
  }

  .gf-ultragreen-logo img {
    width: 260px;
  }

  .gf-ultragreen-content p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .gf-ultragreen-image {
    min-height: 380px;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 767px) {

  .gf-ultragreen-hero {
    grid-template-columns: 1fr;

    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .gf-ultragreen-content {
    padding: 30px 25px;
  }

  .gf-ultragreen-heading {
    margin-bottom: 20px;
  }

  .gf-ultragreen-heading h1 {
    font-size: 22px;
  }

  .gf-ultragreen-logo {
    margin-bottom: 18px;
  }

  .gf-ultragreen-logo img {
    width: 250px;
    max-width: 100%;
  }

  .gf-ultragreen-content p {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 13px;
  }

  .gf-ultragreen-image {
    min-height: 280px;
  }

  .gf-ultragreen-image img {
    object-position: left center;
  }
}

