/*
	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.
 */
/**
 *	Fluid sized fonts
 *	Read more here:
 *	https://css-tricks.com/snippets/css/fluid-typography/
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/*
	Variables for legacy dc plugins
*/
.block-section.features-list {
  background-color: var(--color__purple-light);
  position: relative;
}

.block-section.features-list .screen-toggler-wrapper {
  position: sticky;
}

.block-section.features-list .screen-toggler {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 2.5rem;
  border-radius: 2.5rem;
  background-color: var(--color__white);
}

.block-section.features-list .screen-toggler button {
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 2.5rem;
  background-color: var(--color__white);
  color: var(--color__grey-dark);
  cursor: pointer;
  transition: ease-in-out 0.3s;
}

.block-section.features-list .screen-toggler button.active {
  background-color: var(--color__purple-medium);
  color: var(--color__grey-dark);
}

.block-section.features-list .screen-content-wrapper {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: var(--spacing-grid-gap);
}

.block-section.features-list .screen-content-wrapper.active {
  display: grid;
}

.block-section.features-list .screen-content-wrapper h1.heading-size-large {
  margin-bottom: 5rem;
}

.block-section.features-list .screen-content-wrapper h2.heading-size-normal {
  margin-bottom: 2.5rem;
}

.block-section.features-list .screen-content-wrapper em {
  font-style: normal;
  color: var(--color__purple-medium);
}

.block-section.features-list .screen-content-wrapper .list-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.block-section.features-list .screen-content-wrapper .list-items > li {
  display: block;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: solid 1px var(--color__grey);
}

.block-section.features-list .screen-content-wrapper .list-items > li .item-text-content {
  padding-top: 1.25rem;
}

.block-section.features-list .screen-content-wrapper .list-items > li .link-text-content {
  margin-bottom: 0;
}

.block-section.features-list .screen-content-wrapper .list-items > li ul {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  list-style-type: disc;
}

.block-section.features-list .screen-content-wrapper .list-items > li ul li {
  width: 100%;
  padding: 0 0;
}

.block-section.features-list .screen-content-wrapper .list-items > li ul li::marker {
  color: var(--color__purple-medium);
}

.block-section.features-list .screen-content-wrapper .list-items > li:last-child {
  border-bottom: none !important;
}
