/*
	Abstracts are helpers, variables and functions
	for scss compliation.
*/
/*
	@TODO: Add to theme: new division fix for updated sass package.
*/
/**==================================================================================================================================
BREAKPOINT
@TODO: remove? What is use case?? either use simple global points or write custom line. why does first breakpoint have to be 0?
 ==================================================================================================================================*/
/**==================================================================================================================================
BREAKPOINT ENDS
==================================================================================================================================*/
span.edit-link {
  display: inline-block;
  background-color: yellow;
  font-weight: 700;
  position: fixed;
  left: 0;
  bottom: 3.125rem;
  transform: translateX(-45px);
  transition: all 0.2s;
}

span.edit-link a {
  display: block;
  padding: 0.9375rem;
}

span.edit-link:hover {
  transform: translateX(0);
}

/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * Block section background colors.
 * Include the background options ACF fields group to use these.
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
section.hero {
  overflow: visible;
  padding-bottom: 3rem;
  padding-top: 2rem;
}

section.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background-color: var(--color__grey);
  z-index: 1;
}

section.hero .block-section-wrapper {
  z-index: 2;
  position: relative;
}

section.hero .block-section-wrapper .hero__left {
  z-index: 3;
  position: relative;
}

section.hero .block-section-wrapper .hero__left .hero__title {
  font-weight: 400;
  max-width: 1000px;
}

section.hero .block-section-wrapper .hero__left .hero__title * {
  margin: 0;
}

section.hero .block-section-wrapper .hero__left .hero__title strong {
  font-weight: inherit;
  color: var(--color__teal);
  text-decoration: underline;
}

section.hero .block-section-wrapper .hero__left .hero__subtitle {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.8;
}

section.hero .block-section-wrapper .hero__left .hero__subtitle::after {
  content: "";
  display: block;
  height: 3px;
  width: 80px;
  background-color: var(--color__orange);
  margin-top: 2rem;
}

section.hero .block-section-wrapper .hero__left .the-button {
  margin-top: 4rem;
}

section.hero .block-section-wrapper .hero__right {
  display: flex;
  justify-content: flex-end;
  margin-top: -10.4rem;
  z-index: 1;
  position: relative;
}

section.hero .block-section-wrapper .hero__right .hero__img {
  width: 70%;
  position: relative;
}

section.hero .block-section-wrapper .hero__right .hero__img img {
  width: 100%;
  border-radius: var(--element-border-radius);
  height: auto;
  display: block;
  z-index: 2;
  position: relative;
}

section.hero .block-section-wrapper .hero__right .hero__decor {
  position: absolute;
  bottom: 0;
  transform: translate(-30%, 30%);
}

section.hero .block-section-wrapper .hero__right .testimonial {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  z-index: 2;
}

section.hero .block-section-wrapper .hero__nav {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

section.hero .block-section-wrapper .hero__nav span {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background-color: #fff;
  display: block;
  opacity: 0.5;
}

section.hero .block-section-wrapper .hero__nav span.current {
  opacity: 1;
}
