/* Tickets listing — from Titanic Belfast /tickets/ */

.c-hero-subtitle {
  display: block;
  text-align: center;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 12px;
}

@media (min-width: 1200px) {
  .c-hero-subtitle {
    font-size: 1.125rem;
  }
}


.col-sm-6,
.col-xl-4 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 1200px) {
  .col-xl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

.c-btn-black {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.c-btn-black:hover {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

.c-btn-black::before,
.c-btn-black::after {
  filter: brightness(0) invert(1);
}

.c-listing-list {
  row-gap: 30px;
}

.c-listing-item-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.c-listing-item-header {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

@media (min-width: 576px) {
  .c-listing-item-header {
    min-height: 205px;
  }
}

@media (min-width: 992px) {
  .c-listing-item-header {
    min-height: 230px;
  }
}

.c-listing-item-header::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(transparent, #12141a);
}

.c-listing-item-image-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.c-listing-item-image-container::after {
  content: "";
  display: block;
  width: 100%;
  height: 40px;
  background-color: #fff;
  -webkit-mask-image: url("../images/mask-slant-left.svg");
  mask-image: url("../images/mask-slant-left.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
  position: absolute;
  bottom: -20px;
  left: 0;
  z-index: 1;
}

.c-listing-item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.c-listing-item-tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: #d8341e;
  color: #fff;
  text-transform: uppercase;
  padding: 6px;
  font-size: 12px;
  font-family: var(--font-medium);
}

@media (min-width: 576px) {
  .c-listing-item-tag {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .c-listing-item-tag {
    font-size: 14px;
    padding: 8px;
  }
}

.c-listing-item-info {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 45px 16px;
}

.c-listing-item-title {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  font-family: var(--font-bold);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .c-listing-item-title {
    font-size: 22px;
  }
}

@media (min-width: 992px) {
  .c-listing-item-title {
    font-size: 24px;
  }
}

.c-listing-item-title:only-child {
  margin-bottom: -20px;
}

.c-listing-item-floating-btn {
  position: absolute;
  left: auto;
  bottom: -15px;
  margin: 0;
  padding: 10px 14px;
  font-size: 12px;
}

@media (min-width: 768px) {
  .c-listing-item-floating-btn {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  .c-listing-item-floating-btn {
    font-size: 16px;
  }
}

.c-listing-item-body {
  background: #fff;
  padding: 16px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-items: flex-start;
  row-gap: 16px;
  flex: 1 1 0;
}

.c-listing-item-text {
  font-size: 15px;
  line-height: 1.5;
}

.c-listing-item-text > *:last-child {
  margin-bottom: 0;
}

.c-listing-item-price {
  display: flex;
  align-items: center;
}

.c-listing-item-price-icon {
  display: block;
  width: 22px;
  flex-shrink: 0;
}

.c-listing-item-price-label {
  margin-left: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.c-listing-item-price-text {
  font-family: var(--font-medium);
}

.c-listing-item-body .c-btn {
  margin: 0;
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.c-listing-item-body button.c-btn-ticket {
  cursor: pointer;
  pointer-events: auto;
}

.c-listing .c-btn.is-disabled {
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

.c-listing .c-listing-item-floating-btn.is-disabled {
  opacity: 1;
  cursor: default;
  pointer-events: none;
}
