/*
	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: 500;
  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);
}

.grid-container {
  max-width: 70.625rem;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-column-gap: 1.875rem;
}

@media screen and (max-width: 1280px) {
  .grid-container {
    padding: 0 0.9375rem;
  }
}
/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * $size: font-size in number
 * $line-height: line-height in percentage
 * $weight: font-weight
 * $family: font-family
 * $color: font-color
 */
/**
 * 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 {
  color: var(--color__white);
}

section.hero .hero__wrapper {
  position: relative;
  overflow: hidden;
  height: 80vh;
  width: 100%;
  border-radius: var(--border-radius-biggest);
}

section.hero .hero__wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1;
  opacity: 0.34;
}

section.hero .hero__wrapper .hero__text {
  padding: var(--element-box-padding-big);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

section.hero .hero__wrapper .hero__text > * {
  width: 100%;
  flex: 1 1 100%;
  display: flex;
  align-items: flex-end;
}

section.hero .hero__wrapper .hero__text > *:first-child {
  flex: 0 0 70%;
  display: flex;
  align-items: center;
}

section.hero .hero__wrapper .hero__text.has-text > *:first-child {
  padding-top: 7%;
}

section.hero .hero__wrapper .hero__text h1 {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

section.hero .hero__wrapper .hero__text p {
  max-width: 575px;
}

section.hero figure {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

section.hero figure img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

section.hero .hero__tabs {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-flow: row;
  gap: 1rem;
}

section.hero .hero__tabs .hero__tab-button {
  border-radius: 30px 30px 0 0;
  background: #D5D3C7;
  height: 5.125rem;
  padding: 1.875rem 0.75rem;
  text-decoration: none;
  color: var(--color__text-color);
  min-width: 15.375rem;
  text-align: center;
  font-size: 1.125rem;
  transition: background 0.3s;
}

section.hero .hero__tabs .hero__tab-button:hover, section.hero .hero__tabs .hero__tab-button.active {
  background: var(--color__white);
}

@media screen and (max-width: 1100px) {
  section.hero .hero__tabs .hero__tab-button {
    height: 3.875rem;
    padding: 1.25rem 0.3125rem;
    min-width: 10.625rem;
    border-radius: 17px 17px 0 0;
  }
}
@media only screen and (max-width: 600px) {
  section.hero .hero__wrapper {
    height: initial;
  }
  section.hero .hero__wrapper .hero__text {
    position: relative;
    gap: 3rem;
  }
}
.tab-content-container .tab-content {
  display: none;
}

.tab-content-container .tab-content.active {
  display: block;
}
