/*
	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
*/
.block-section.chapter-button {
  margin-top: 0;
}

.block-section.chapter-button .block-section-wrapper {
  display: flex;
  justify-content: center;
  place-items: center;
  align-items: center;
}

.block-section.chapter-button .block-section-wrapper .button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #323831;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  padding: 1rem 2rem;
}

.block-section.chapter-button .block-section-wrapper .button-icon {
  display: flex;
  align-items: center;
  fill: white;
}
