  /*
	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.4s;
}

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
*/
.block-section.article {
  max-width: 46.25rem;
  overflow: visible;
  margin: 4.375rem auto 6rem auto;
}

.block-section.article .button-item {
  width: 100%;
}

.block-section.article h2.wp-block-heading {
  margin-bottom: 2.1875rem;
  position: relative;
  display: block;
  overflow: visible;
}

.block-section.article h2.wp-block-heading:before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 130%;
  width: 125rem;
  height: 0.0625rem;
  background-color: #d3dbe8;
  z-index: 100;
}

@media screen and (max-width: 1379px) {
  .block-section.article h2.wp-block-heading:before {
    right: 110%;
  }
}
@media screen and (max-width: 899px) {
  .block-section.article h2.wp-block-heading:before {
    right: 102%;
  }
}
@media screen and (768px) {
  .block-section.article h2.wp-block-heading {
    margin-bottom: 1.5625rem;
  }
}
.block-section.article h2.wp-block-heading + p {
  margin-top: 0;
}

.block-section.article p + h2.wp-block-heading {
  margin-top: 3.125rem;
}

@media screen and (max-width: 767px) {
  .block-section.article p + h2.wp-block-heading {
    margin-top: 1.875rem;
  }
}
.block-section.article .wp-block-image {
  margin: 3.125rem 0;
}

.block-section.article .wp-block-image .wp-element-caption {
  font-size: 1.125rem;
}

.block-section.article p {
  line-height: 140%;
}

.block-section.article p strong {
  font-size: 1.75rem;
  line-height: 2.25rem;
}

.block-section.article p a:hover {
  color: #ad5156;
}

.block-section.article .block-section {
  margin: 3.75rem 0;
}

.block-section.article .block-section .block-section-wrapper {
  padding-left: 0;
  padding-right: 0;
}

.block-section.article .block-section.buttons-group .buttons-grid {
  grid-template-columns: 1fr !important;
}

.block-section.article .block-section.buttons-group h2 {
  font-size: 1.75rem;
  margin-bottom: 0.625rem;
}

.block-section.article .block-section .element-width--full, .block-section.article .block-section .element-width--wide {
  width: 100%;
  max-width: 100%;
}

.acf-block-preview .block-section.article {
  background: #ebf3f0;
  border: #adb2ad solid 1px;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.acf-block-preview .block-section.article .acf-block-component .acf-block-fields {
  background: #dae6e3;
}
