/*
	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.outlined-title .block-section-wrapper {
  color: var(--color__dark-grey);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
}

section.outlined-title .block-section-wrapper .outlined-title-border {
  position: relative;
  border-radius: 30px 0;
  max-width: 600px;
  margin-bottom: 3rem;
}

section.outlined-title .block-section-wrapper .outlined-title-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--border-angle, 0deg), #388af5, #bdd8fc, #0b4a9d, #388af5);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  -webkit-animation: rotate-border 4s linear infinite;
          animation: rotate-border 4s linear infinite;
}

section.outlined-title .block-section-wrapper .outlined-title-border .outlined-h1 {
  text-wrap: balance;
  padding: 1.875rem 2.5rem;
  text-align: center;
}

section.outlined-title .block-section-wrapper .outlined-title-border .outlined-star-1,
section.outlined-title .block-section-wrapper .outlined-title-border .outlined-star-2 {
  position: absolute;
  transform: translate(-50%, -50%);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

section.outlined-title .block-section-wrapper .outlined-title-border .outlined-star-1 {
  top: 1px;
  right: -35px;
}

section.outlined-title .block-section-wrapper .outlined-title-border .outlined-star-2 {
  bottom: -43px;
  left: 0;
}

section.outlined-title .block-section-wrapper .outlined-text {
  text-align: center;
  max-width: 440px;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@-webkit-keyframes rotate-border {
  to {
    --border-angle: 360deg;
  }
}
@keyframes rotate-border {
  to {
    --border-angle: 360deg;
  }
}
