/* Hero */
.hero-container {
  position: relative;
  height: 0;
  padding-top: 140%;
  /* margin-bottom: 1rem; */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-title, .hero-text {
  padding: 1.2rem 2rem;
  color: var(--color-white);
}

.hero-title {
  position: absolute;
  top: 0;
  text-transform: uppercase;
  word-break: break-word;
}

.hero-text_wrapper {
  position: absolute;
  bottom: 0;
}

.hero-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.5rem 1rem;
  text-align: center;
  border-radius: 25px;
  z-index: 1;
  background-color: var(--color-green);
}

@media screen and (min-width: 1024px) {
  .hero-container {
    padding-top: 56.25%;
    margin-bottom: 0;
  }

  .hero-text {
    width: 50%;
  }

  .hero-cta {
    width: 50%;
  }
}

@media screen and (min-width: 1440px) {
  .hero-container {
    padding-top: 35%;
  }

  .hero-title, .hero-text {
    padding: 3rem 2rem;
  }

  .hero-title {
    width: 100%;
    max-width: 1500px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-text_wrapper {
    width: 100%;
    max-width: 1500px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-text {
    max-width: 1500px;
    font-size: 1.5rem;
    font-weight: 400;
  }
}

@media screen and (min-width: 1920px) {
  .hero-container {
    padding-top: 30%;
  }
}

/* Text Block */
.text_block {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem 0.8rem;
}

.text-block_title {
  margin-bottom: 3rem;
  font-weight: 700;
  text-transform: capitalize;
}

.text-block_items {
  list-style: none;
}

.text-block_item {
  padding: 5rem 1rem 2.5rem;
  border-top: 3px solid var(--color-dark);
}

.text-block_item:last-child {
  border-bottom: 3px solid var(--color-dark);
}

.block-item_counter-heading {
  display: flex;
  align-items: flex-start;
  justify-content:flex-start;
  font-weight: 500;
}

.block-item_heading {
  width: 80%;
  margin-bottom: 1.6rem;
  text-align: start;
  font-weight: 500;
}

.block-item_counter {
  display: flex;
  font-weight: 500;
  align-items: center;
}

.block-item_counter .arrow {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.block-item_download {
  display: flex;
}

.block-item_download .circle-arrow {
  margin-right: 1rem;
}

.block-item_buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
}

.block-item_buttons span {
  font-size: 1rem;
}

.block-item_show {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.block-item_show svg {
  transform: rotate(-135deg);
}

.block-item_image {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw - 2rem);
  aspect-ratio: 9 / 5;
}

.block-item_image.show {
  display: block;
}

.block-item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-block_items.dark-bg {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.text-block_items.dark-bg .block-item_counter-heading h4, .text-block_items.dark-bg .block-item_text.wysiwyg p {
  color: var(--color-white);
}

.text-block_items.dark-bg .text-block_item {
  border-top: 3px solid var(--color-white);
}

.text-block_items.dark-bg .text-block_item:first-child {
  border-top: none;
}

.text-block_items.dark-bg .circle-arrow path, .text-block_items.dark-bg .circle-arrow circle {
  stroke: var(--color-white);
}

@media screen and (min-width: 1024px) {
  .text_block {
    padding: 5rem 3rem;
  }

  .text-block_item {
    position: relative;
    display: flex;
    padding: 3rem 1rem 1.875rem;
  }

  .block-item_text {
    margin-bottom: 2.8rem;
  }

  .block-item_counter-heading {
    flex: 0 0 40%;
  }

  .block-item_buttons {
    position: absolute;
    gap: 3rem;
    bottom: 1.875rem;
  }

  .block-item_buttons span {
    font-size: 1.2rem;
  }

  .block-item_image {
    width: 70%;
  }
}

/* Text Image */
.text_image_block {
  max-width: 1500px;
  margin: 0 auto;
  background-color: var(--color-white);
}

.text_image_block .headline {
  padding: 1.2rem 1rem;
}

.text-image_container {
  padding: 1rem 0 3rem 1rem;
  background-color: var(--color-white);
}

.text-image_container .text-title {
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.text-image_container .image-content {
  position: relative;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
}

.text-image_container .image-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-image_container .text-paragraph {
  margin-bottom: 2rem;
  white-space: pre-line;
}

@media screen and (min-width: 1024px) {
  .text_image_block .headline {
    padding: 5rem 2rem;
    padding-top: 0;
  }

  .text_image_block .headline.text-right {
    margin-left: 60%;
  }

  .text_image_block .headline h6 {
    font-size: 1.125rem;
  }

  .text-image_container {
    display: flex;
    justify-content: space-between;
    padding: 0;
    padding-bottom: 3rem;
  }

  .text-image_container.text-right {
    flex-direction: row-reverse;
  }

  .text-image_container .text-content {
    flex: 0 0 40%;
    padding: 0 2rem;
  }

  .text-image_container .image-content {
    flex: 0 0 50%;
    padding-top: 28.125%;
    margin-top: 3rem;
  }
}

@media screen and (min-width: 1440px) {
  .text_image_block .headline {
    padding: 5rem 4rem;
    padding-top: 0;
  }

  .text-image_container .text-content {
    padding: 0 4rem;
  }
}

/* Categories */
.categories {
  max-width: 1500px;
  margin: 0 auto;
}

.categories-container {
  position: relative;
}

.categories-title {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.category-item {
  position: relative;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.category-name {
  position: absolute;
  bottom: 1rem;
  left: 2rem;
  width: 30%;
  color: var(--color-white);
  z-index: 1;
  font-weight: 100;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-green);
  mix-blend-mode: multiply;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.category-item:hover .category-overlay {
  opacity: 1;
}

.category-image {
  position: relative;
  height: 0;
  padding-top: 100%;
  overflow: hidden;
}

.category-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  object-fit: cover;
  z-index: -1;
}

.category-plus, .category-item svg.arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-white);
  z-index: 1;
}

.category-item svg.arrow {
  margin-bottom: 0.4rem;
  opacity: 0;
}

.category-item svg.arrow path {
  fill: var(--color-white);
}

.category-item:hover .category-plus {
  opacity: 0;
}

.category-item:hover svg.arrow {
  opacity: 1;
}

@media screen and (min-width: 1024px) {
  .categories-title {
    position: relative;
    top: unset;
    left: unset;
    padding: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 2rem;
  }

  .categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
  }

  .category-item {
    flex: 1 1 calc(50% - 0.2rem);
    margin: 0;
  }
}

/* Headline */
.headline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 2rem 1rem;
  max-width: 1500px;
  margin: 0 auto;
  margin-top: 0 !important;
}

.headline h6 {
  font-weight: 300;
}

svg.arrow {
  width: 1.5rem;
  height: 1.2rem;
}

@media screen and (min-width: 1024px) {
  .headline {
    padding: 3.5rem;
    padding-top: 0;
  }

  .headline h6 {
    font-size: 1.5rem;
  }
}

/* Products pullup */
.products-pullup .pullup-title_container, .body-text_title {
  background-color: var(--color-dark);
}

.products-pullup .pullup-title, .body-text_title {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem;
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 500;
}

.products-pullup .body-text {
  padding: 1rem;
}

.products-pullup .pullup-items {
  max-width: 1500px;
  margin: 0 auto;
}

.products-pullup .pullup-item {
  position: relative;
  padding: 0.2rem;
}

.products-pullup .pullup-image {
  position: relative;
  height: 0;
  padding-top: 140%;
  overflow: hidden;
}

.products-pullup .product-title {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-weight: 500;
}

.products-pullup .pullup-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
}

.products-pullup .product-excerpt {
  position: absolute;
  bottom: 5rem;
  left: 1rem;
  margin-right: 1rem;
}

.products-pullup .read-more-button {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 10rem;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.products-pullup .read-more-button:hover {
  background-color: var(--color-green);
  color: var(--color-dark);
}

@media screen and (min-width: 1024px) {
  .products-pullup .pullup-title, .body-text_title {
    padding: 2rem;
  }

  .products-pullup .body-text {
    padding: 2rem;
  }

  .products-pullup .pullup-items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  .products-pullup .pullup-item {
    flex: 0 0 50%;
  }

  .products-pullup .product-title {
    left: 2rem;
    top: 2rem;
  }

  .products-pullup .product-excerpt {
    left: 2rem;
  }

  .products-pullup .read-more-button {
    left: 2rem;
  }
}

@media screen and (min-width: 1440px) {
  .products-pullup .body-text {
    max-width: 1500px;
    margin: 0 auto;
  }

  .products-pullup .pullup-title, .body-text_title {
    padding: 4rem 2.6rem 4rem 3.5rem;
  }

  .products-pullup .product-title {
    left: 3.5rem;
    top: 2.5rem;
  }

  .products-pullup .pullup-image {
    padding-top: 100%;
  }

  .products-pullup .product-excerpt {
    bottom: 8rem;
    left: 3.5rem;
  }

  .products-pullup .read-more-button {
    width: 15rem;
    bottom: 3rem;
    left: 3.5rem;
  }
}

/* Posts pullup */
.posts_pullup {
  max-width: 1500px;
  margin: 0 auto;
}

.posts-pullup {
  max-width: 1500px;
  margin: 0 auto;
  margin-bottom: 0.2rem;
}

.posts-pullup .pullup-title {
  padding: 1rem;
}

.posts-pullup .pullup-item {
  position: relative;
  cursor: pointer;
}

.posts-pullup .post-content {
  position: absolute;
  bottom: 0;
  padding: 1rem;
  z-index: 1;
}

.posts-pullup .post-title, .posts-pullup .post-excerpt, .posts-pullup .post-category {
  color: var(--color-white);
}

.posts-pullup .post-title {
  font-weight: 400;
}

.posts-pullup .pullup-item .arrow {
  width: 1.5rem;
  height: 1rem;
  position: absolute;
  right: 1rem;
  bottom: 1.5rem;
  transform: translateX(-20px);
  transition: transform 0.3s ease-in-out;
  z-index: 1;
}

.posts-pullup .pullup-item .arrow path {
  fill: var(--color-white);
}

.post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-green);
  mix-blend-mode: multiply;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.posts-pullup .pullup-item:hover .post-overlay {
  opacity: 1;
}

.posts-pullup .pullup-item:hover .arrow {
  transform: translateX(0);
}

@media screen and (min-width: 1024px) {
  .posts-pullup .pullup-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
  }

  .posts-pullup .pullup-item {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 0.2rem);
  }

  .posts-pullup .pullup-item a {
    background-color: var(--color-light-gray);
  }

  .posts-pullup .pullup-content {
    height: calc(100% - 0.2rem);
  }

  .posts-pullup .pullup-item .arrow {
    width: 2.5rem;
  }
}

/* Floating images */
.floating_images {
  max-width: 1500px;
  margin: 0 auto;
}

.floating-images-container {
  position: relative;
  width: 100%;
  height: 200vh;
  min-height: 80vh;
  overflow: hidden;
}

.floating-text {
  visibility: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  z-index: -1;
}

.floating-images {
  position: relative;
  width: 100%;
  height: 100%;
  display: none;
}

.floating-image {
  position: absolute;
}

.floating-images_mobile .floating-image {
  max-width: 30%;
  overflow: hidden;
}

.floating-images_mobile .floating-image img {
  width: 100%;
  object-fit: cover;
}

.floating-images_mobile .floating-image:nth-child(odd) {
  right: 0;
}
.floating-images_mobile .floating-image:nth-child(even) {
  left:0%;
}
.floating-images_mobile .floating-image:nth-child(2) {
  top: 15%
}
.floating-images_mobile .floating-image:nth-child(3) {
  top: 30%;
}
.floating-images_mobile .floating-image:nth-child(4) {
  top: 38%;
  left: 10%;
}
.floating-images_mobile .floating-image:nth-child(5) {
  top: 50%;
}
.floating-images_mobile .floating-image:nth-child(6) {
  top: 65%;
}
.floating-images_mobile .floating-image:nth-child(7) {
  top: 80%;
}
.floating-images_mobile .floating-image:nth-child(8) {
  top: 90%;
  left: 15%;
}

@media screen and (min-width: 1024px) {
  .floating-text {
    font-size: 30px;
  }

  .floating-images_mobile {
    display: none;
  }

  .floating-images {
    display: block;
  }
}
/* Team */
.team {
  max-width: 1500px;
  margin: 0 auto;
  background-color: var(--color-white);
}

.team-member {
  margin-bottom: 0.2rem;
}

.team-member-details {
  padding: 1rem 1.2rem;
  background-color: var(--color-neutral-grey);
}

.team-member-name {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.team-member-description > h6:first-child {
  font-weight: 600;
}

.team-member-description {
  font-weight: 300;
}

.team-member-description p {
  display: block;
  margin-bottom: 0.5rem;
}

.team-member-description h6 {
  font-weight: 500;
}

@media screen and (min-width: 1024px) {
  .team-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.2rem;
  }

  .team-member {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 0.2rem);
    padding: 2rem;
  }

  .team-member-details {
    flex-grow: 1;
  }
}

/* posts-pullup page */
.posts-pullup .pullup-content {
  padding: 1rem;
  background-color: var(--color-neutral-grey);
}

.posts-pullup .pullup-date, .posts-pullup .pullup-excerpt {
  font-weight: 300;
}

.posts-pullup .pullup-title {
  padding: 0.4rem 0;
}

.single-post .posts-pullup .pullup-title {
  padding: 1rem;
  font-weight: 700;
}

.insights {
  max-width: 1500px;
  margin: 0 auto;
}

.posts-filters {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem;
  overflow-x: scroll;
}

.posts-filters .filter-list_items {
  display: flex;
  gap: 0.5rem;
}

.posts-filters .filter-item {
  min-width: 8rem;
  border-radius: 25px;
  border: 1px solid var(--color-dark);
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.posts-filters .filter-item:hover {
  background-color: var(--color-green);
  color: var(--color-dark);
}

.posts-filters .filter-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.2rem 0.5rem;
  font-family: 'Trim Mono';
}

.posts-filters .filter-item a.active {
  background-color: var(--color-dark);
  color: var(--color-white);
}

@media screen and (min-width: 1024px) {
  .posts-filters {
    padding: 2.5rem;
  }
  .single-post .posts-pullup .pullup-title {
    padding: 3rem 5rem;
  }

  .posts-pullup .pullup-content {
    padding: 1.4rem;
  }
}

/* Gallery */
.gallery {
  margin: 1rem 0;
}

.gallery .gallery-images {
  display: flex;
  gap: 0.8rem;
}

.gallery .gallery-images.multiple-images {
  margin: 0.8rem;
  margin-right: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery .gallery-images.multiple-images .gallery-item:last-child {
  margin-right: 0.8rem;
}

.gallery .gallery-item {
  flex-grow: 1;
  min-width: 80%;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  overflow: hidden;
}

.gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 1024px) {
  .gallery .gallery-images.multiple-images {
    margin: 0 auto;
  }

  .gallery .multiple-images .gallery-item {
    min-width: calc(25% - 0.8rem);
    max-width: calc(50% - 0.8rem);
  }
}

/* Rich text */
.rich_text {
  padding: 1rem;
  margin: 1rem 0;
}

@media screen and (min-width: 1024px) {
  .rich_text {
    max-width: 60%;
    flex: 0 0 50%;
    padding: 0;
  }
}

/* CTA */
.cta {
  max-width: 1500px;
  margin: 0 auto;
}

.cta-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.cta-button, .cta-link {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background-color: var(--color-green);
  font-family: 'Trim Mono', serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

.cta-button:hover, .cta-link:hover {
  background-color: #009918;
}

.cta-heading {
  padding: 2rem 0;
  text-align: center;
  text-transform: uppercase;
}

.cta-sub-heading {
  margin-right: auto;
  text-transform: uppercase;
}

.cta .contact-form_container {
  visibility: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -160%);
  transition: transform 0.3s ease-in-out, visibility 0.5s ease-in;
  width: 70vw;
  min-height: 80vh;
  margin: 0 auto;
  padding: 1rem;
  background-color: var(--color-white);
  z-index: 12;
}

.cta .contact-form_title {
  margin-bottom: 1rem;
}

.cta .contact-form_title, .contact-form_description {
  font-weight: 400;
}

.cta .contact-form_container.show {
  visibility: visible;
  transform: translate(-50%, -50%);
}

.cta .contact-form_close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1rem;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.cta .contact-form_close svg {
  width: 100%;
  height: 100%;
}

.cta .contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
}

.cta .contact-form .wpforms-container {
  width: 100%;
}

.cta .contact-form .wpforms-title {
  font-size: 1rem;
}

.cta .contact-form .wpforms-description {
  font-size: 0.6rem;
  font-weight: 400;
}

.cta .contact-form input, textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-dark);
  padding: 0.5rem 0;
}

.cta .contact-form button {
  width: 100%;
  padding: 0.5rem;
  margin-top: 1rem;
  border-radius: 25px;
  background-color: var(--color-dark);
  color: var(--color-white);
  font-family: 'Trim Mono';
  transition: background-color 0.3s ease-in;
  cursor: pointer;
}

.cta .contact-form button:hover {
  background-color: var(--color-green);
  color: var(--color-white);
}

.cta .contact-form_container .wpforms-container .wpforms-field-label {
  font-weight: 400;
}

.wpforms-field-radio ul {
  display: flex;
  gap: 1rem;
}

.cta .contact-form_overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in;
  z-index: 10;
}

.cta .contact-form_overlay.show {
  opacity: 1;
  visibility: visible;
} 

@media screen and (min-width: 1024px) {
  .cta .cta-container {
    padding: 5rem;
  }
  .cta .cta-button, .hero .hero-cta, .cta .cta-link {
    max-width: 40%;
  }

  .cta .contact-form .wpforms-title {
    font-size: 1.8rem;
  }
  
  .cta .contact-form .wpforms-description {
    font-size: 1rem;
  }

  .contact-form_container {
    padding: 3rem;
  }

  .cta .contact-form .wpforms-submit-container {
    width: 50%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1440px) {
  .cta .contact-form_container {
    padding: 5rem;
  }
}

/* Y-tunnus */
.y-tunnus_container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background-color: var(--color-white);
  margin-bottom: auto;
}

.u-line_right {
  transform: rotate(180deg) translateY(-0.6rem);
}

.y-tunnus {
  margin: 0 -0.6rem;
}

@media screen and (min-width: 1024px) {
  .y-tunnus_container {
    padding: 3rem;
  }
}

/* Clients */
.clients {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.clients-container {
  padding: 3rem 1rem;
}

.clients-list {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--color-white);
  border-bottom: 1px solid var(--color-white);
}

.clients-title {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.client-item {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

@media screen and (min-width: 1024px) {
  .clients-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    padding: 0.8rem;
  }

  .client-item {
    margin: 0;
    padding: 1rem;
    text-align: center;
  }
}

/* Post download */
.post_with_download {
  max-width: 1500px;
  margin: 0 auto;
}

.post-download_container {
  display: flex;
  flex-direction: column;
}

.post-download_container .post-content .post-excerpt {
  font-weight: 100;
}

.post-download_container .post-content .post-title {
  margin-bottom: 1rem;
  font-weight: 400;
}

.post-download_container .pullup-item .pullup-link {
  position: relative;
}

.post-download_container .pullup-item .arrow path {
  fill: var(--color-white);
}

.post-download_container .download-section .download-text {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 50%;
  color: var(--color-white);
  font-weight: 100;
  z-index: 1;
}

.post-download_container .pullup-item .download-link {
  position: relative;
}

.post-download_container .download-section .download-icon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--color-white);
  z-index: 1;
}

.post-download_container .download-section .download-link h4 {
  color: var(--color-white);
  font-weight: 100;
}

.post-download_container .download-section .download-link .arrow {
  position: relative;
  right: unset;
  bottom: unset;
  margin-left: 0.5rem;
  transform: rotate(90deg) translateX(0px);
}

.post-download_container .download-section .download-link:hover .arrow {
  transform: rotate(90deg) translateX(10px);
}

.post-download_container .download-section .download-link .arrow path {
  fill: var(--color-white);
}

@media screen and (min-width: 1024px) {
  .post-download_container {
    flex-direction: row;
    /* gap: 0.2rem; */
    padding-bottom: 0.2rem;
    margin-bottom: 0;
  }

  .post-download_container .post-content .post-title {
    margin-bottom: 2rem;
  }

  .post-download_container .pullup-item {
    flex: 0 0 50%;
    padding: 0.2rem;
  }

  .post-download_container .download-section .download-link .arrow {
    width: 1.5rem;
    height: 1rem;
  }
}

/* Body text */
.body-text_wrapper {
  background-color: var(--color-dark);
}

.body-text {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem;
}

@media screen and (min-width: 1024px) {
  .body-text {
    padding: 2rem;
  }

  .body-text > * {
    width: 50%;
  }
}

.hubspot_form_embed {
  width: 80%;
  margin: 0 auto;
  max-width: 1440px;
}

/* Text cards */
.text-cards {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem 0.8rem;
}

.text-cards__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.text-cards__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: pointer;
  background-color: var(--color-light-gray);
  transition: background-color 0.3s ease-in;
}

.text-cards__headline, .text-cards__body {
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .text-cards__card {
    height: 50vh;
    min-height: 50vh;
    padding: 1rem 2rem;
  }
}

@media screen and (min-width: 1280px) {
  .text-cards__list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .text-cards__card {
    flex: 0 0 calc(50% - 0.5rem);
    padding: 4rem 5rem;
  }

  .text-cards__card:hover {
    background-color: var(--color-green);
  }

  .text-cards__list .text-cards__card:only-child {
    flex: 0 0 100%;
  }

  .text-cards__headline {
    font-size: 2rem;
  }
}

/* Anchor nav */
.anchor_nav {
  position: sticky;
  top: 90.5px;
  padding: 1rem;
  border-top: 0.5px solid var(--color-dark);
  background-color: var(--color-white);
  z-index: 2;
  overflow-x: auto;
}

.anchor-nav_title {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Trim';
  text-transform: uppercase;
}

.anchor-nav_wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.anchor-nav__list {
  display: flex;
  gap: 0.5rem;
}

.anchor-nav__item {
  border: 1px solid var(--color-dark);
  border-radius: 25px;
  font-size: 0.8rem;
  text-transform: capitalize;
  transition: all 0.2s ease-in;
  cursor: pointer;
}

.anchor-nav__item:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.anchor-nav__item:hover .anchor-nav__link {
  color: var(--color-white);
}

.anchor-nav__link {
  display: block;
  padding: 0.25rem 1rem;
  text-decoration: none;
  color: var(--color-dark);
  font-family: 'Trim Mono';
}

@media only screen and (min-width: 1024px) {
  .anchor_nav {
    top: 72px;
    padding: 2rem;
  }

  .anchor-nav_wrapper {
    flex-direction: row;
  }

  .anchor-nav__list {
    gap: 1rem;
  }

  .anchor-nav_title, .anchor-nav__item {
    font-size: 1rem;
  }
}

.anchor {
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
  pointer-events: none;
}

.form .form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem
}

.form .form-container input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-dark);
  padding: 0.5rem 0;
}

.form .form-container .wpforms-title {
  text-align: center;
}

.form .form-container .wpforms-submit-container {
  text-align: center;
}

.form .form-container .wpforms-submit {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
}

@media only screen and (min-width: 1024px) {
  .form .form-container {
    width: 50%;
    margin: 0 auto;
  }


}