/*
	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
*/
/*
	Variables for legacy dc plugins
*/
section.countdown-hero {
  display: grid;
  grid-template-rows: 1fr auto;
  height: max(100vh, 600px);
  color: var(--color__white);
  place-items: center;
  position: relative;
}

section.countdown-hero figure.countdown-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

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

section.countdown-hero figure.countdown-hero__bg:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 34, 41, 0.3) 70%, var(--color__gray) 100%);
}

section.countdown-hero .countdown-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
}

section.countdown-hero .countdown-hero__countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block: 2rem;
}

section.countdown-hero .countdown-hero__countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media screen and (min-width: 850px) {
  section.countdown-hero .countdown-hero__countdown div {
    gap: 1rem;
  }
}
section.countdown-hero .countdown-hero__countdown hr {
  border: none;
  border-right: 1px solid var(--color__white);
  opacity: 0.3;
  height: 6.25rem;
  margin-block: 0;
  margin-inline: 1rem;
}

@media screen and (min-width: 850px) {
  section.countdown-hero .countdown-hero__countdown hr {
    margin-inline: 2.25rem;
    height: 12.1875rem;
  }
}
section.countdown-hero .countdown-hero__countdown__value {
  font-size: 2rem;
  font-weight: 200;
  line-height: 1;
}

@media screen and (min-width: 850px) {
  section.countdown-hero .countdown-hero__countdown__value {
    font-size: 6rem;
  }
}
@media screen and (min-width: 1000px) {
  section.countdown-hero .countdown-hero__countdown__value {
    font-size: 8rem;
  }
}
section.countdown-hero .countdown-hero__countdown__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

section.countdown-hero .countdown-hero__scroll-down {
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.5625rem;
}
