/* General Reset */
body.page-title-ctm-gift-guide {
  background-color: #1A294E;
}

header.site-header, .top-bar {
  background-color: #fff;
}

/* Hero Section */
.hero, .ctm-infographic-wrapper .hero {
  margin-top: 0;
}

/* 
.ctm-infographic-form {
  margin-bottom: 100px !important;
}

.ctm-infographic-form h1 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: Montserrat, sans-serif;
  font-size: 2.3rem;
  line-height: 110%;
  font-weight: 700;
} */

/* Buttons */
.gform_button.button {
  width: fit-content;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 80px;
  background-color: #1A294E;
  color: #fff;
  font-weight: 600;
  transition: 0.3s all;
}

.gform_button.button:hover {
  background-color: #16294F;
}

.gift-thumbnail {
  margin-bottom: 7px;
}
.courtesy-of{
  margin-bottom: 20px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: #b7b7b7;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: "obviously", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 120%;
  color: #6d6d6d;
  text-wrap: pretty;
}

h1 {
  font-size: 2rem;
  color: #fff;
  @media screen and (min-width: 650px) {
    font-size: 3rem;
  }

  @media screen and (min-width: 950px) {
    font-size: 3.6rem;
  }
}

h2 {
  font-size: 42px;
  margin-top: 0;
  margin-bottom: 30px;
  color: #fff;
}

h4{
  color: #1A294E;
  font-size: 1.4rem;
}
h5 {
  margin-bottom: 30px;
  line-height: 140%;
  color: #4d4d4d;
  text-wrap: pretty;
}

p {
  color: #4d4d4d;
  line-height: 170%;
  text-wrap: pretty;
}

/* Narrow Text Column */
.narrow-text-column-wrapper {
  background-color: #def0fb;
}

.narrow-text-column {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

@media screen and (min-width: 1080px) {
  .narrow-text-column {
    padding: 0 30px;
  }
}

.narrow-text-column h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #f1d0a2;
}

/* .category-wrapper{
  padding: 50px;
  border: 1px #01BDF6 solid;
} */

/* Sections */
#sec-1 {
  margin-top: -60px;
}

#sec-1 .narrow-text-column,
#sec-final .narrow-text-column {
  max-width: 850px;
  position: relative;
  top: 30px;
  padding: 270px 30px 76px;
  opacity: 1;
}

#sec-1 .sub-hl, #sec-final .sub-hl {
  max-width: 700px;
}

/* Gift Guide Styles */
.gifts-loop-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto 130px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;

  .cat-label {
    /* max-height: 100px; */
    margin: 0 auto 0;
  }
}

.gifts-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 130px;

  @media screen and (min-width: 650px) {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 130px;
  }
  @media screen and (min-width: 950px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gift-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  @media screen and (min-width: 950px) {
    padding: 30px;
  }

  @media screen and (min-width: 1200px) {
    padding: 30px;
  }
}

.gift-item img {
  border-radius: 12px;
}

/* Top Gift Headline */
.top-gift-headline {
  text-align: center;

  p{
    color: #fff;
  }
  hr{
    background-color: #01BDF6;
    height: 4px;
    max-width: 170px;
    margin-top: 60px;
  }


}

.top-gift-headline h3 {
  margin: 0 auto;
  font-weight: 300;
  margin-bottom: 30px;
}

/* Gift Wrap Section */
.gift-wrap-section {
  margin-top: -140px;
}

/* Media Queries */
@media screen and (min-width: 1080px) {
  h2 {
    font-size: 52px;
    margin: 2rem 0 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(2, 185, 241);
  }

  h5 {
    color: #4d4d4d;
    margin-bottom: 30px;
    line-height: 140%;
    text-wrap: pretty;
  }
}

.cat-label-wrapper{
  display: flex;
  justify-content: space-between;
    align-items: center;
    height: 100px;
    margin-bottom: 50px;
}

.cat-label-image{
  /* width: 36%; */
  width: clamp(114.875rem, 0rem + 100vw, 31.5rem);

  @media screen and (min-width: 650px) {
    width: clamp(34.875rem, 0rem + 100vw, 31.5rem);
  }
}
.cat-label-line{
  /* border-bottom: 1px solid #f1d0a2; */
    /* width: 100%; */
    /* border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, #f1d0a2 80%, #1A294E 20%);
    border-image-slice: 1;*/
    position: relative; 

    width: 32%;
    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px; /* Adjust thickness of the border */
      background: linear-gradient(to right, rgba(241, 208, 162, 0) 0%, rgba(241, 208, 162, 0) 80%, rgba(241, 208, 162, 0) 100%);
      @media screen and (min-width: 650px) {
        background: linear-gradient(to right, #f1d0a2 0%, #f1d0a2 80%, rgba(241, 208, 162, 0) 100%);
      }
  }



    &.top {
      right: -8px;
      position: relative;

      &::after {
        background: linear-gradient(to right, rgba(241, 208, 162, 0) 0%, rgba(241, 208, 162, 0) 80%, rgba(241, 208, 162, 0) 100%);
        @media screen and (min-width: 650px) {
        background: linear-gradient(to right, transparent 0%, rgba(241, 208, 162, 0) 0%, #f1d0a2 20%);
        }
      }
    }

    &.bottom {
      left: -8px;
      position: relative;
    }
}