/*
	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
*/
/** Side margins for content blocks (hero-text, key-figures, etc.) */
/*
	Variables for legacy dc plugins
*/
.block-section.key-figures.ready-to-animate li strong {
  overflow: hidden;
}

.block-section.key-figures.ready-to-animate li .number {
  display: block;
  transform: translateY(100px);
  transition: all 50ms ease-out;
}

.block-section.key-figures .key-figures__header {
  margin-bottom: 32px;
  display: block;
}

.block-section.key-figures .key-figures__header > h1 {
  margin: 0 0 12px;
  padding-right: 0;
  min-width: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.block-section.key-figures .key-figures__header > :not(h1) {
  margin: 0;
  max-width: 520px;
}

@media (min-width: 900px) {
  .block-section.key-figures .key-figures__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    -moz-column-gap: 64px;
         column-gap: 64px;
    align-items: start;
  }
  .block-section.key-figures .key-figures__header > h1 {
    margin: 0;
  }
}
.block-section.key-figures ul {
  list-style: none;
  margin: 48px 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .block-section.key-figures ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}
@media (min-width: 1200px) {
  .block-section.key-figures ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
.block-section.key-figures li {
  border: 2px solid var(--color__blue-dark);
  border-radius: 8px;
  padding: 48px 28px;
  text-align: center;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  justify-items: center;
  row-gap: 12px;
  font-size: 18px;
}

.block-section.key-figures li .key-figures__number {
  display: block;
  font-weight: 700;
  line-height: 1;
  min-height: 56px;
}

@media (min-width: 1200px) {
  .block-section.key-figures li .key-figures__number {
    min-height: 72px;
  }
}
.block-section.key-figures li .key-figures__body {
  justify-self: stretch;
  text-align: center;
}

.block-section.key-figures li strong {
  display: block;
  font-weight: 700;
  line-height: 1;
}

.block-section.key-figures li .number {
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.02em;
}

@media (min-width: 1200px) {
  .block-section.key-figures li .number {
    font-size: clamp(48px, 5.5vw, 72px);
  }
}
.block-section.key-figures li .text-size-small {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  opacity: 0.85;
}
