/*
	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: 500;
  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);
}

.grid-container {
  max-width: 70.625rem;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-column-gap: 1.875rem;
}

@media screen and (max-width: 1280px) {
  .grid-container {
    padding: 0 0.9375rem;
  }
}
/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * $size: font-size in number
 * $line-height: line-height in percentage
 * $weight: font-weight
 * $family: font-family
 * $color: font-color
 */
/**
 * 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
*/
section.graphics-column .text-content__image figure picture,
section.graphics-column .text-content__image figure img {
  border-radius: var(--element-border-radius);
  overflow: hidden;
}

section.graphics-column .text-content__image img {
  width: 100%;
  height: auto;
  display: block;
}

section.graphics-column .text-content__image.side_right {
  text-align: right;
}

section.graphics-column .text-content__image.size-small figure {
  max-width: 60%;
  display: inline-block;
}

section.graphics-column .text-content__image.size-small figure picture,
section.graphics-column .text-content__image.size-small figure img {
  border-radius: var(--element-border-radius-small);
}

section.graphics-column .text-content__image.size-medium figure {
  max-width: 80%;
  display: inline-block;
}

section.graphics-column .text-content__image.size-medium figure picture,
section.graphics-column .text-content__image.size-medium figure img {
  border-radius: var(--element-border-radius-small);
}

section.graphics-column .text-content__image.place_low figure {
  margin-top: 15rem;
  margin-bottom: 4rem;
}

section.graphics-column .text-content__image.place_high figure {
  margin-top: -15rem;
  margin-bottom: 4rem;
}

@media only screen and (max-width: 900px) {
  section.graphics-column .text-content__image.size-small figure {
    max-width: 80%;
  }
}
@media only screen and (max-width: 600px) {
  section.graphics-column .text-content__image {
    order: -1;
  }
  section.graphics-column .text-content__image.place_low figure {
    margin-top: 10rem;
    transform: rotate(5deg);
  }
  section.graphics-column .text-content__image.place_high figure {
    transform: rotate(-3deg);
  }
}
section.graphics-column .content__quote-byline {
  display: block;
  margin-top: 1rem !important;
  font-style: italic;
}

section.graphics-column .content__quote {
  margin: 3rem 0;
  max-width: 450px;
}

section.graphics-column .content__highlight {
  padding: var(--element-box-padding-small);
  border-radius: var(--element-border-radius-small);
}

section.graphics-column .content__highlight .highlight__heading + .highlight__content {
  margin-top: 1em;
}

section.graphics-column .content__highlight .highlight__heading + .highlight__content a {
  font-weight: 500;
  color: var(--color_white) !important;
}

section.graphics-column .graphics_column_wrapper {
  display: flex;
  flex-flow: row wrap;
  gap: 2rem;
  justify-content: space-between;
}

section.graphics-column .graphics_column_wrapper > * {
  flex: 0 0 calc(50% - 2rem);
}

@media only screen and (max-width: 600px) {
  section.graphics-column .graphics_column_wrapper > * {
    flex: 0 0 100%;
  }
}
