/*
	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.logo-slider {
  --text-color: var(--color__dark-grey);
  --border-color: var(--color__grey);
  --accent-color: var(--color__dark-grey);
  overflow: hidden;
}

section.logo-slider .content-wrapper {
  margin-bottom: 6.25rem;
}

@media screen and (max-width: 850px) {
  section.logo-slider .content-wrapper {
    margin-bottom: 3.75rem;
  }
}
section.logo-slider .content-wrapper .section-category {
  font-weight: 400;
}

section.logo-slider .content-wrapper .section-category::before {
  background-color: var(--accent-color);
}

section.logo-slider .content-wrapper .section-header {
  font-weight: 300;
  max-width: 60%;
  text-wrap: balance;
}

@media screen and (max-width: 850px) {
  section.logo-slider .content-wrapper .section-header {
    max-width: 100%;
  }
}
section.logo-slider .logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

section.logo-slider .logo-slider .logos-wrapper {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  will-change: transform;
}

section.logo-slider .logo-slider .logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid grey;
  height: 10rem;
  min-width: 15.625rem;
  padding: 2rem 3.75rem;
}

@media screen and (max-width: 850px) {
  section.logo-slider .logo-slider .logo-slide {
    height: 8.75rem;
    min-width: 14.375rem;
    padding: 1.625rem 3.25rem;
  }
}
section.logo-slider .logo-slider .logo-slide img {
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 300px;
}
