/*
	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.contact-person {
  margin: 60px 0;
}

section.contact-person .block-section-wrapper .profile-card {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

section.contact-person .block-section-wrapper .profile-card .profile-image {
  flex-shrink: 0;
}

section.contact-person .block-section-wrapper .profile-card .profile-image img, section.contact-person .block-section-wrapper .profile-card .profile-image picture {
  width: 294px;
  height: 320px;
  -o-object-fit: cover;
     object-fit: cover;
}

section.contact-person .block-section-wrapper .profile-card .profile-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.contact-person .block-section-wrapper .profile-card .profile-details .profile-department {
  font-size: 20px;
  color: rgba(55, 81, 114, 0.5);
  margin-bottom: 46px;
}

@media screen and (max-width: 768px) {
  section.contact-person .block-section-wrapper .profile-card {
    flex-direction: column;
    max-width: 320px;
  }
  section.contact-person .block-section-wrapper .profile-card .profile-details .profile-department {
    margin-bottom: 20px;
  }
}
