  @charset "UTF-8";
/*
	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-big {
  margin: 5rem 0;
}

section.quotes-big .quotes-big-layout {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  max-width: 43.75rem;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  section.quotes-big .quotes-big-layout.image-left {
    flex-direction: row-reverse;
  }
}
section.quotes-big .quotes-big-content {
  flex: 1;
}

section.quotes-big .quotes-big-content .quotes-body-text {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

section.quotes-big .quotes-big-content .quotes-body-text p:first-of-type {
  margin-top: 0;
}

section.quotes-big .quotes-big-content .person-details {
  margin-top: 2.5rem;
}

section.quotes-big .quotes-big-content .person-details .person-name {
  font-weight: 600;
  font-size: 1rem;
}

section.quotes-big .quotes-big-content .person-details .person-title {
  font-size: 1rem;
  margin: 0.625rem 0 0 0;
}

section.quotes-big .quotes-big-image {
  flex: 0 0 auto;
  width: 352px;
  position: relative;
}

section.quotes-big .quotes-big-image img {
  width: calc(100% - 40px);
  height: auto;
  display: block;
  float: right;
}

section.quotes-big .quotes-big-image:before {
  content: "Н";
  font-family: "icon";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: #293d56;
  color: #b2d9d0;
  text-align: center;
  line-height: 2.5rem;
}

@media screen and (max-width: 767px) {
  section.quotes-big {
    margin: 5rem 0 3.125rem;
    overflow: visible;
  }
  section.quotes-big .quotes-big-layout {
    flex-direction: column;
    max-width: 100%;
    padding: 0 1.25rem;
  }
  section.quotes-big .quotes-big-content {
    order: 2;
  }
  section.quotes-big .quotes-big-content .person-details {
    margin-top: 1.5625rem;
  }
  section.quotes-big .quotes-big-image {
    width: 100%;
    margin-bottom: 0.9375rem;
    order: 0;
  }
  section.quotes-big .quotes-big-image img {
    width: 100%;
  }
  section.quotes-big .quotes-big-image:before {
    left: 0;
    top: -40px;
  }
}
