/*
	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.4s;
}

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.quotes {
  margin: 60px 0;
}

section.quotes .block-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  align-items: flex-start;
  gap: 120px;
}

section.quotes .block-section-wrapper .quote-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  flex-shrink: 0;
}

section.quotes .block-section-wrapper .quote-card .quote-icon img {
  width: 20px;
  height: 16px;
  aspect-ratio: 20/16.25;
}

section.quotes .block-section-wrapper .quote-card .quote-text {
  font-size: 28px;
  line-height: 128%;
}

section.quotes .block-section-wrapper .quote-card .quote-author-details {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

section.quotes .block-section-wrapper .quote-card .quote-author-details .quote-author .name {
  font-size: 20px;
  font-weight: 700;
}

section.quotes .block-section-wrapper .quote-card .quote-author-details .quote-author .designation,
section.quotes .block-section-wrapper .quote-card .quote-author-details .quote-author .company-name {
  font-size: 20px;
  font-weight: 200;
  padding-bottom: 20px;
}

section.quotes .block-section-wrapper .quote-card .quote-author-details .quote-thumbnail {
  margin-bottom: 21px;
}

section.quotes .block-section-wrapper .quote-card .quote-author-details .quote-thumbnail img {
  width: 110px;
  height: 110px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 74px;
}

@media screen and (max-width: 768px) {
  section.quotes .block-section-wrapper {
    padding: 0 55px;
  }
  section.quotes .block-section-wrapper .quote-card .quote-text {
    font-size: 20px;
    margin-bottom: 0;
  }
  section.quotes .block-section-wrapper .quote-card .quote-author-details {
    flex-direction: column;
  }
  section.quotes .block-section-wrapper .quote-card .quote-author-details .quote-thumbnail {
    margin-top: 30px;
  }
}
