/*
|---------------------------------------------------------------
| ec-connector-2025 Work case css
|---------------------------------------------------------------
*/
body.page-work-case .work-heading__layout__image {
  display: none;
}
body.page-work-case .work-archive .ecc-page__header {
  padding: 70px 0 50px;
}
@media (min-width: 750.02px) {
  body.page-work-case .work-archive .ecc-page__header {
    padding: 100px 0;
  }
}

.case-posts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 40px 20px;
}
@media (min-width: 750.02px) {
  .case-posts {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    grid-gap: 60px 2.67%;
  }
}

.case-post {
  width: 100%;
  display: flex;
  flex-direction: column;
  color: #000000;
  background: #ffffff;
  text-decoration: none !important;
}
.case-post__header {
  display: block;
  width: 100%;
  flex-shrink: 0;
  position: relative;
}
.case-post__body {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 10px;
}
@media (min-width: 750.02px) {
  .case-post__body {
    padding: 25px 20px;
  }
}
.case-post__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 345/345;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--ecc-box-shadow);
}
.case-post__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.case-post__category {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-gap: 0.25em;
}
@media (min-width: 750.02px) {
  .case-post__category {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25em 0.5em;
  }
}
.case-post .ecc-ct-badge {
  font-size: 10px;
  line-height: 1.5;
  padding: 0.13em 0.5em;
}
@media (min-width: 750.02px) {
  .case-post .ecc-ct-badge {
    font-size: 14px;
    line-height: 1.5;
    padding: 0.32em 1em;
  }
}

.case-post-title {
  display: block;
  width: 100%;
  margin: 0 0 0.75em;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}
@media (min-width: 750.02px) {
  .case-post-title {
    font-size: 18px;
  }
}

.case-post-services {
  display: block;
}

.case-post-hashtag {
  display: block;
  font-size: 10px;
}
@media (min-width: 750.02px) {
  .case-post-hashtag {
    font-size: 14px;
  }
}
.case-post-hashtag__list {
  list-style: none;
  padding-left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.case-post-hashtag__list__item {
  display: block;
}
.case-post-hashtag__list__item:nth-child(n+3) {
  display: none;
}

.work-article-related .case-posts .case-post:nth-child(n+7) {
  display: none;
}
