.ecz-card-custom {
  position: relative;
  display: flex;
  flex-direction: column;
}

.ecz-card-body-outside {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  top: 0;
}

.ecz-card-custom.ecz-card .ecz-card-img {
  background-position: center;
}

.ecz-card-custom.ecz-card .ecz-card-body .ecz-card-title {
  font-size: 30px;
  letter-spacing: 1rem;
  padding-bottom: 0;
  padding-top: 0;
}

.ecz-card-custom.ecz-card .ecz-card-body .ecz-card-text {
  padding-right: 15px;
  font-size: 30px;
  font-family: 'IM Fell French Canon', serif;
  font-style: italic;
}

.ecz-card-custom.ecz-card .card-arrow {
  position: absolute;
  right: 30px;
  bottom: 30px;
  visibility: hidden;
}

.ecz-card-custom.ecz-card .card-arrow img {
  width: 80%;
}

.ecz-card-custom.ecz-card:hover .card-arrow {
  visibility: visible;
}

.ecz-card-custom.ecz-card:hover {
  cursor: pointer;
}

.ecz-card-custom.ecz-card .ecz-card-body {
  padding-bottom: 0px;
}

.ecz-header-bottom-info-custom > .ecz-header-bottom-2 > p.sub-history{
    font-size: 20px;
}

.ecz-page-history-3 .col-custom {
  margin-bottom: 48px;
  padding-left: 30px;
}

@media (max-width: 768px) {
  .ecs-search-main {
    display: none!important;
  }
  .ecz-page-history-3 .col-custom {
    margin-bottom: 24px;
    padding-left: 10px;
  }
  .ecz-header-bottom-info-custom  .ecz-header-bottom-2 {
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  .ecz-header-bottom-info-custom  p.sub-history {
    writing-mode: vertical-rl;
    padding-top: 0 !important;
    font-style: italic;
  }

  .ecz-card-custom.ecz-card .ecz-card-img {
    padding-top: calc(360 / 400 * 100%);
  }

  .ecz-card-custom.ecz-card .ecz-card-body .ecz-card-title {
    font-size: 25px;
    padding-left: 13px;
  }

  .ecz-card-custom.ecz-card .ecz-card-body .ecz-card-text {
    font-size: 20px;
    padding-right: 0;
  }

  .ecz-cate-menu-custom.ecz-cate-menu ul li {
    padding: 5px;
  }

  .ecz-cate-menu-custom.ecz-cate-menu ul li a {
    font-size: 13px;
    font-weight: 700;
  }
}
