/*
	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
*/
/**
 *	Fluid sized fonts
 *	Read more here:
 *	https://css-tricks.com/snippets/css/fluid-typography/
 */
/*
	Variables for legacy dc plugins
*/
.services-list {
  --services-list-bg: var(--color__white);
  --services-text-color: var(--color__black, #232323);
  --services-blue-bg: var(--color__blue-light, #7ECBDA);
  --services-grey-bg: var(--color__grey-light, #f2f2f2);
  width: 100%;
  padding: 5rem 0rem;
  background-color: var(--services-list-bg);
}

@media screen and (max-width: 849px) {
  .services-list {
    /* 	padding: 2rem; */
  }
}
.services-list .content-wrapper {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 999px) {
  .services-list .content-wrapper {
    flex-direction: column;
  }
}
.services-list .column-left {
  flex: 0 0 33%;
}

@media (max-width: 1124px) {
  .services-list .column-left {
    flex: 0 0 25%;
  }
}
.services-list .column-left h1 {
  margin-top: 0;
  line-height: 1.2;
  color: var(--services-text-color);
  text-wrap: balance;
  font-weight: 300;
}

@media screen and (max-width: 999px) {
  .services-list .column-left h1 {
    margin-bottom: 2rem;
  }
}
@media (max-width: 768px) {
  .services-list .column-left {
    flex: 0 0 100%;
  }
}
.services-list .column-right {
  flex: 0 0 66%;
  /* 	@include breakpoint ( large down ) {
  		flex: 0 0 75%;
  	} */
}

@media screen and (max-width: 999px) {
  .services-list .column-right {
    flex: 0 0 100%;
  }
}
.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 30px;
  list-style: none;
}

@media screen and (max-width: 999px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.cards li {
  border-radius: 8px;
  padding: 25px;
  height: 110px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
}

@media (max-width: 996px) {
  .cards li {
    height: 96px;
  }
}
.cards li.card-color--grey {
  background-color: var(--services-grey-bg);
}

.cards li.card-color--blue {
  background-color: var(--services-blue-bg);
}

.cards li .max-width-col-2 {
  max-width: 100%;
}

.cards li h3.heading-size-small {
  margin-top: 0;
  /* font-size: rem-calc(20); */
  color: var(--services-text-color);
}

@media (max-width: 996px) {
  .cards li h3.heading-size-small {
    /* font-size:rem-calc(18); */
  }
}
