/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[3]!./node_modules/@epegzz/sass-vars-loader/src/sassVarsLoader.js??ruleSet[1].rules[7].use[4]!./assets/components/react-article-item/scss/index.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* general mixins and helpers */
/*
    put mixins which have consistant styles for all designs
 */
.article-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  border: 1px solid #edebeb;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 316px;
}
@media screen and (min-width: 768px) {
  .article-item {
    width: 376px;
  }
}
.article-item:hover .article-item__image, .article-item:focus-within .article-item__image {
  transform: scale(1.1);
}
.article-item:hover .article-item__title, .article-item:focus-within .article-item__title {
  color: #ffffff;
}
.article-item:hover .article-item__info, .article-item:focus-within .article-item__info {
  opacity: 1;
  color: #ffffff;
}
.article-item:hover .article-item__info-item .icon, .article-item:focus-within .article-item__info-item .icon {
  stroke: #ffffff;
}
.article-item:hover .article-item__button::after, .article-item:focus-within .article-item__button::after {
  background-color: #e5ff66;
  background-position-x: 215%;
}
.article-item:hover .article-item__content, .article-item:focus-within .article-item__content {
  background-color: #004547;
}
.article-item:hover .article-item__content-inner, .article-item:focus-within .article-item__content-inner {
  transform: translateY(0);
}
.article-item__image {
  position: absolute;
  transition: transform 0.3s ease;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
}
.article-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.article-item__image::after {
  content: "";
  display: block;
  padding-top: 50%;
  position: relative;
}
.article-item__content {
  width: 100%;
  padding: 27px 100px 27px 22px;
  z-index: 2;
  background-color: #ffffff;
  transition: background-color 0.3s ease, height 0.3s ease;
  display: flex;
  align-items: flex-end;
  height: 55%;
}
@media screen and (min-width: 768px) {
  .article-item__content {
    height: 50%;
    padding: 36px 104px 36px 32px;
  }
}
@media screen and (min-width: 768px) {
  .article-item__content-inner {
    transform: translateY(40px);
    transition: transform 0.3s ease;
  }
}
.article-item__title {
  font-family: "roc-grotesk-compressed", -apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: bold;
  color: #004547;
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: -0.01em;
  font-size: 40px;
}
@media screen and (min-width: 1024px) {
  .article-item__title {
    font-size: 40px;
  }
}
.article-item__title {
  padding-top: 4px;
  overflow: hidden;
  display: block;
  display: -webkit-box;
  max-height: 85px;
  line-height: 0.72;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
}
.article-item__title > span {
  color: #80a2a3;
}
@media (max-width: 370px) {
  .article-item__title {
    height: 58px;
    -webkit-line-clamp: 2;
  }
}
.article-item__info {
  display: flex;
  margin-top: 17px;
  color: #004547;
  transition: color 0.3s ease;
}
@media screen and (min-width: 768px) {
  .article-item__info {
    opacity: 0;
    transition: color 0.3s ease, opacity 0.3s ease;
  }
}
.article-item__info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.article-item__info-item .icon {
  stroke: #004547;
  stroke-width: 2px;
  transition: stroke 0.3s ease;
}
.article-item__info-item:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding-right: 12px;
  margin-right: 12px;
}
.article-item__link {
  text-decoration: none;
}
.article-item__button:focus, .article-item__button:focus-visible {
  outline: none;
}
.article-item__button::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 37px;
  width: 48px;
  height: 48px;
  background-color: #edebeb;
  border-radius: 50%;
  background-image: url(/dist/images/right-angle-ef7a9faaa3f76aed73a9.svg);
  background-repeat: repeat-x;
  background-position: center center;
  background-size: 30px 15px;
  transition: background-color, background-position 0.3s ease;
}
