/*
	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
*/
.projects-featured header {
  margin-bottom: 3.125rem;
}

@media screen and (min-width: 1000px) {
  .projects-featured header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.projects-featured .description {
  max-width: 28.125rem;
}

@media screen and (max-width: 999px) {
  .projects-featured .description {
    margin-top: 1.25rem;
  }
}
.projects-featured article {
  display: flex;
  background-color: var(--color__blue-dark);
  color: var(--color__white);
  overflow: hidden;
  margin-top: 3.125rem;
}

@media screen and (min-width: 1000px) {
  .projects-featured article:nth-child(2n) .image-wrapper {
    order: 2;
  }
  .projects-featured article:nth-child(2n) .content-wrapper {
    order: 1;
  }
}
@media screen and (max-width: 999px) {
  .projects-featured article {
    flex-direction: column;
  }
}
@media screen and (max-width: 999px) {
  .projects-featured .content-wrapper {
    padding: 3.75rem 2.5rem;
  }
}
@media screen and (min-width: 1000px) {
  .projects-featured .image-wrapper {
    width: 65%;
  }
  .projects-featured .content-wrapper {
    width: 45%;
    padding: 5rem;
  }
}
.projects-featured img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.projects-featured dl > div {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 0.0625rem solid var(--color__white);
}

.projects-featured dl > div:last-child {
  border-bottom: unset;
}

.projects-featured dt {
  font-weight: bold;
}

.projects-featured dd {
  margin: 0;
}

.projects-featured dl,
.projects-featured .stm-button {
  margin-top: 1.875rem;
}
