/*
	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
*/
.posts__grid {
  display: flex;
  gap: var(--spacing-grid-gap);
}

.posts .post-item {
  flex: 1;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-flow: row wrap;
  gap: 2rem;
  justify-content: space-between;
}

.posts .post-item__content {
  flex: 1;
}

.posts .post-item__content::after {
  content: "";
  display: block;
  height: 3px;
  width: 55px;
  background-color: var(--color__orange);
  margin-top: 1.5rem;
}

.posts .post-item__title {
  font-weight: 600;
}

.posts .post-item img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--element-border-radius);
}

.posts .post-item svg {
  color: var(--color__orange);
}
