/*
	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
*/
/*
	Variables for legacy dc plugins
*/
.projects-featured-slider {
  margin-bottom: 220px;
}

.projects-featured-slider header {
  margin-bottom: 1.875rem;
}

@media screen and (min-width: 1000px) {
  .projects-featured-slider header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.projects-featured-slider .description {
  max-width: 28.125rem;
}

.projects-featured-slider .see-project-btn {
  margin-bottom: 40px;
}

.projects-featured-slider .project-title {
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 60px;
}

@media screen and (max-width: 999px) {
  .projects-featured-slider .project-title {
    font-size: 22px;
    margin-bottom: 30px;
  }
}
.projects-featured-slider .pfs-card {
  display: flex;
  align-items: stretch;
  background-color: var(--color__blue-dark);
  color: var(--color__blue-light);
  border-radius: 0.75rem;
  overflow: hidden;
}

@media screen and (max-width: 999px) {
  .projects-featured-slider .pfs-card {
    flex-direction: column;
  }
}
@media screen and (min-width: 1000px) {
  .projects-featured-slider .pfs-card .image-wrapper {
    width: 60%;
  }
}
@media screen and (max-width: 999px) {
  .projects-featured-slider .pfs-card .image-wrapper {
    width: 100%;
  }
}
.projects-featured-slider .pfs-card .image-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.projects-featured-slider .pfs-card .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 30rem;
}

@media screen and (min-width: 1000px) {
  .projects-featured-slider .pfs-card .content-wrapper {
    width: 40%;
    padding-inline: 30px;
    padding-top: 60px;
  }
}
@media screen and (max-width: 999px) {
  .projects-featured-slider .pfs-card .content-wrapper {
    width: 100%;
    padding: 2.5rem;
  }
}
@media screen and (max-width: 999px) {
  .projects-featured-slider .pfs-card .content-wrapper {
    height: auto;
  }
}
.projects-featured-slider .pfs-card .content-wrapper dl {
  margin: 0 0 1.75rem;
}

.projects-featured-slider .pfs-card .content-wrapper dl > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.875rem 0;
  border-bottom: 0.125rem solid rgba(255, 255, 255, 0.35);
}

.projects-featured-slider .pfs-card .content-wrapper dl > div:last-child {
  border-bottom: 0;
}

.projects-featured-slider .pfs-card .content-wrapper dt {
  font-weight: 600;
}

.projects-featured-slider .pfs-card .content-wrapper dd {
  margin: 0;
  opacity: 0.95;
}

.projects-featured-slider .pfs-card .content-wrapper .stm-button {
  align-self: flex-end;
  margin-top: auto;
  border-color: var(--color__blue-light);
  color: var(--color__blue-light);
}

.projects-featured-slider .swiper-slide {
  padding: 1.25rem 0;
}

.projects-featured-slider .pfs-swiper {
  position: relative;
  padding-bottom: 3.5rem;
}

.projects-featured-slider .pfs-controls {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0;
  z-index: 2;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.projects-featured-slider .pfs-controls .pfs-fraction,
.projects-featured-slider .pfs-controls .pfs-nav {
  pointer-events: auto;
}

.projects-featured-slider .pfs-fraction,
.projects-featured-slider .swiper-pagination.pfs-fraction {
  position: static !important;
  width: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  font-weight: 600;
  opacity: 0.7;
  text-align: left;
  margin: 0;
}

.projects-featured-slider .pfs-fraction span,
.projects-featured-slider .swiper-pagination.pfs-fraction span {
  min-width: 2ch;
  display: inline-block;
}

.projects-featured-slider .swiper-pagination-current {
  font-weight: 700;
}

.projects-featured-slider .pfs-nav {
  display: flex;
  gap: 0.75rem;
}

.projects-featured-slider .pfs-nav button {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: transparent;
  border: 0.0625rem solid var(--color__blue-dark);
  color: var(--color__blue-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.projects-featured-slider .pfs-nav button:hover {
  opacity: 0.8;
}

.projects-featured-slider .heading-size-small {
  font-size: 2.25rem;
  line-height: 1.15;
}
