@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.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
*/
section.news {
  --text-color: var(--color__dark-grey);
  --accent-color: var(--color__dark-grey);
  --grid-border-clr: var(--color__light-grey);
}

section.news.border-top .block-section-wrapper {
  border-top: 1px solid var(--grid-border-clr);
  padding-top: var(--spacing-content-small);
}

section.news .block-section-wrapper {
  display: flex;
}

@media screen and (max-width: 1000px) {
  section.news .block-section-wrapper {
    flex-direction: column;
    gap: var(--spacing-content);
  }
}
section.news .block-section-wrapper .text-content {
  width: 34%;
}

@media screen and (max-width: 1000px) {
  section.news .block-section-wrapper .text-content {
    width: 100%;
  }
}
section.news .block-section-wrapper .text-content .category-dot::before {
  background-color: var(--accent-color);
}

section.news .block-section-wrapper .text-content .news-header {
  font-weight: 300;
  max-width: 80%;
  text-wrap: balance;
  margin: 0 0 2.5rem !important;
}

section.news .block-section-wrapper .text-content .news__cta-button {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

section.news .block-section-wrapper .news-grid {
  width: 66%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  row-gap: var(--spacing-block-small);
}

@media screen and (max-width: 1460px) {
  section.news .block-section-wrapper .news-grid {
    grid-template-rows: repeat(3, auto);
  }
}
@media screen and (max-width: 1000px) {
  section.news .block-section-wrapper .news-grid {
    width: 100%;
    gap: 0;
    row-gap: var(--spacing-content);
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    row-gap: 1rem;
  }
}
section.news .block-section-wrapper .news-grid .featured-transaction .post-date {
  display: none;
}

section.news .block-section-wrapper .news-grid .news-item:first-of-type .link-card .post-date {
  display: none;
}

section.news .block-section-wrapper .news-grid .featured-transaction,
section.news .block-section-wrapper .news-grid .news-item {
  grid-column: 1/5;
  grid-row: 1;
  border-right: 1px solid var(--grid-border-clr);
  padding-right: 1rem;
}

section.news .block-section-wrapper .news-grid .featured-transaction .post-date,
section.news .block-section-wrapper .news-grid .news-item .post-date {
  color: var(--color__grey);
  margin-bottom: 0.75rem;
}

@media screen and (max-width: 1460px) {
  section.news .block-section-wrapper .news-grid .featured-transaction,
section.news .block-section-wrapper .news-grid .news-item {
    grid-column: 1/6;
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .featured-transaction,
section.news .block-section-wrapper .news-grid .news-item {
    grid-column: auto;
    grid-row: auto;
    border-right: none;
    padding-right: 0;
    margin-bottom: 1.5rem;
  }
}
section.news .block-section-wrapper .news-grid .featured-transaction .link-card:hover .card-thumbnail .image-container,
section.news .block-section-wrapper .news-grid .news-item .link-card:hover .card-thumbnail .image-container {
  overflow: hidden;
}

section.news .block-section-wrapper .news-grid .featured-transaction .link-card:hover .card-thumbnail .image-container img,
section.news .block-section-wrapper .news-grid .news-item .link-card:hover .card-thumbnail .image-container img {
  transform: scale(1.025);
  transition: transform 0.3s ease-in-out;
}

section.news .block-section-wrapper .news-grid .featured-transaction .link-card:hover .card-thumbnail .arrow-circle,
section.news .block-section-wrapper .news-grid .news-item .link-card:hover .card-thumbnail .arrow-circle {
  background-color: var(--color__blue);
}

section.news .block-section-wrapper .news-grid .featured-transaction .link-card:hover .card-thumbnail .arrow-circle::after,
section.news .block-section-wrapper .news-grid .news-item .link-card:hover .card-thumbnail .arrow-circle::after {
  color: var(--color__white);
}

section.news .block-section-wrapper .news-grid .featured-transaction .link-card .card-thumbnail,
section.news .block-section-wrapper .news-grid .news-item .link-card .card-thumbnail {
  position: relative;
}

section.news .block-section-wrapper .news-grid .featured-transaction .link-card .card-thumbnail .image-container,
section.news .block-section-wrapper .news-grid .news-item .link-card .card-thumbnail .image-container {
  overflow: hidden;
  border-radius: 0.375rem;
}

section.news .block-section-wrapper .news-grid .featured-transaction .link-card .card-thumbnail .image-container img,
section.news .block-section-wrapper .news-grid .news-item .link-card .card-thumbnail .image-container img {
  height: 31.25rem;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .featured-transaction .link-card .card-thumbnail .image-container img,
section.news .block-section-wrapper .news-grid .news-item .link-card .card-thumbnail .image-container img {
    height: 15.625rem;
  }
}
section.news .block-section-wrapper .news-grid .featured-transaction .link-card .card-thumbnail .arrow-circle,
section.news .block-section-wrapper .news-grid .news-item .link-card .card-thumbnail .arrow-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color__white);
  position: absolute;
  bottom: 1.375rem;
  right: 1.375rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

section.news .block-section-wrapper .news-grid .featured-transaction .link-card .card-thumbnail .arrow-circle::after,
section.news .block-section-wrapper .news-grid .news-item .link-card .card-thumbnail .arrow-circle::after {
  content: "А";
  font-family: "icon";
  color: var(--color__dark-grey);
}

section.news .block-section-wrapper .news-grid .news-item {
  min-height: -webkit-fit-content;
  min-height: -moz-fit-content;
  min-height: fit-content;
}

section.news .block-section-wrapper .news-grid .news-item:first-child .card-title {
  font-size: clamp(1.5rem, 2vw, 2.375rem) !important;
}

section.news .block-section-wrapper .news-grid .news-item:nth-child(2) {
  grid-column: 5/7;
  grid-row: 1;
  border-right: 1px solid var(--grid-border-clr);
  padding-right: 1rem;
}

@media screen and (max-width: 1460px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(2) {
    grid-column: 6/9;
    border-right: none;
    padding-right: 0;
  }
}
@media screen and (max-width: 1000px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(2) {
    padding-left: 1rem;
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
    padding-left: 0;
  }
}
section.news .block-section-wrapper .news-grid .news-item:nth-child(2) .link-card .card-thumbnail .image-container img {
  height: 15.625rem;
}

section.news .block-section-wrapper .news-grid .news-item:nth-child(3) {
  grid-column: 7/9;
  grid-row: 1;
  border-right: none;
  padding-right: 0;
}

@media screen and (max-width: 1460px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(3) {
    grid-column: 1/5;
    grid-row: 2;
    border-right: 1px solid var(--grid-border-clr);
    padding-right: 1rem;
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
    border-right: none;
    padding-right: 0;
  }
}
section.news .block-section-wrapper .news-grid .news-item:nth-child(3) .link-card .card-thumbnail .image-container img {
  height: 15.625rem;
}

@media screen and (max-width: 1000px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(3) .link-card .card-thumbnail .image-container img {
    height: 21.875rem;
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(3) .link-card .card-thumbnail .image-container img {
    height: 15.625rem;
  }
}
section.news .block-section-wrapper .news-grid .news-item:nth-child(4) {
  grid-column: 1/4;
  grid-row: 2;
  border-right: 1px solid var(--grid-border-clr);
  padding-right: 1rem;
}

@media screen and (max-width: 1460px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(4) {
    grid-column: 5/9;
    border-right: none;
    padding-right: 0;
  }
}
@media screen and (max-width: 1000px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(4) {
    padding-left: 1rem;
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    padding-left: 0;
  }
}
section.news .block-section-wrapper .news-grid .news-item:nth-child(4) .link-card .card-thumbnail .image-container img {
  height: 21.875rem;
}

@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(4) .link-card .card-thumbnail .image-container img {
    height: 15.625rem;
  }
}
section.news .block-section-wrapper .news-grid .news-item:nth-child(5) {
  grid-column: 4/7;
  grid-row: 2;
  border-right: 1px solid var(--grid-border-clr);
  padding-right: 1rem;
}

@media screen and (max-width: 1460px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(5) {
    grid-column: 1/5;
    grid-row: 3;
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    border-right: none;
    padding-right: 0;
  }
}
section.news .block-section-wrapper .news-grid .news-item:nth-child(5) .link-card .card-thumbnail .image-container img {
  height: 21.875rem;
}

@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(5) .link-card .card-thumbnail .image-container img {
    height: 15.625rem;
  }
}
section.news .block-section-wrapper .news-grid .news-item:nth-child(6) {
  grid-column: 7/9;
  grid-row: 2;
  border-right: none;
  padding-right: 0;
}

@media screen and (max-width: 1460px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(6) {
    grid-column: 5/9;
    grid-row: 3;
  }
}
@media screen and (max-width: 1000px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(6) {
    padding-left: 1rem;
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    padding-left: 0;
  }
}
section.news .block-section-wrapper .news-grid .news-item:nth-child(6) .link-card .card-thumbnail .image-container img {
  height: 15.625rem;
}

@media screen and (max-width: 1000px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(6) .link-card .card-thumbnail .image-container img {
    max-height: 21.875rem;
  }
}
@media screen and (max-width: 850px) {
  section.news .block-section-wrapper .news-grid .news-item:nth-child(6) .link-card .card-thumbnail .image-container img {
    height: 15.625rem;
  }
}
