.card > .bg-image {
  border-radius: 0 !important;
}

.card > .bg-image {
  border-radius: 0 !important;
}

.card .card-img {
  background-position: center;
  background-size: cover;
  min-height: 225px;
}

.bg-image + .card-body {
  position: relative;
  z-index: 1;
}

.card-title-block {
  font-weight: 500;
  display: block;
}

.card-img-side {
  overflow: hidden;
}

.card {
  margin-bottom: 1.25rem;
  border-radius: 0;
  border: 0;
}

.row div[class^="col"] > .card {
  width: 100%;
}

.card .card-img,
.card .card-img-top,
.card .card-img-top-small {
  background-color: var(--light-gray);
  color: var(--white);
  background-size: cover;
  object-fit: cover;
  border-radius: 0;
  width: 100%;
}

.card.card-img-side:not(.masonry-right) .card-img {
  width: 100%;
  height: 100%;
  min-height: 325px;
}

.card.masonry-right .card-img {
  height: 100%;
}

.card:not(.card-img-side) .card-img {
  height: 350px;
  max-height: 350px;
  border-radius: 0;
}

.card .card-img-top-small {
  width: 100%;
  height: 250px;
  max-height: 250px;
  border-radius: 0;
}

.card a .card-body h3 {
  font-size: 18px;
}

.card a:hover .card-body h3,
.card a:focus.card-body h3 {
  text-decoration: underline;
}

.card .card-body h4 {
  font-weight: 900;
  color: #020202;
}

.card a {
  text-decoration: none;
}

.card a .card-body {
  text-decoration: none !important;
  color: #020202;
  line-height: 22px;
}

/* card highlight - start */
.card-highlight .card-img {
  border-radius: 0 !important;
}

/* card highlight - end */

/* cards beta */

.basic-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
  background-color: var(--white);
  margin-bottom: 26px;
  text-align: center;
}

.basic-cta-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.basic-cta-card .card-title,
.shadow-cta-card .card-title {
  color: var(--gray);
  font-size: 24px;
  line-height: 1.1;
  margin-top: 20px;
}

.basic-cta-card .card-text,
.shadow-cta-card .card-text {
  margin: 16px 0;
}

.shadow-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
  padding-bottom: 26px;
  margin-bottom: 26px;
  text-align: left;
  box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius-standard);
}

.shadow-cta-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-top);
}

.shadow-cta-card .card-title,
.shadow-cta-card .card-text,
.shadow-cta-card .card-cta {
  padding: 0 24px;
}

/* contact card */
.contact-card p * {
  margin-bottom: 5px;
}

/* cards beta end */

/* gallery-lightbox lightbox - start */
.gallery-lightbox {
  text-align: center;
}

.gallery-lightbox img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin: 10px auto;
  border: 1px solid var(--primary-color);
}

.gallery-lightbox h3 {
  font-size: 20px;
}

.gallery-lightbox a {
  text-decoration: none;
}

.gallery-lightbox a:hover {
  text-decoration: underline !important;
}

/* gallery-lightbox lightbox - end */

/* card list - start */
.card.card-list {
  border: none;
  background-color: var(--white);
}

.card.card-list .card-img-top {
  height: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.col-lg-6 .card.card-list .card-img-top {
  max-height: 320px;
}

.card.card-list .card-body {
  padding-top: 16px;
}

.card.card-list h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.card .list-unstyled ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.card .list-unstyled li {
  margin-bottom: 6px;
}

.card .list-unstyled li:last-child {
  margin-bottom: 0;
}

.card .list-unstyled .btn.btn-link {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
}

.card .list-unstyled .btn.btn-link:hover,
.card .list-unstyled .btn.btn-link:focus {
  text-decoration: underline;
}
/* card list - end */

/* card list section - start */
.card.card-list-section {
  border: none;
}

.card-list-section-image {
  height: 400px;
  width: 100%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card.card-list-section > .card-body {
  padding: 20px 24px 28px;
}

.card.card-list-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 16px;
}

.card.card-list-section .card.card-list {
  box-shadow: none;
  background: transparent;
}

.card.card-list-section .card.card-list .card-body {
  padding: 0;
}
/* card list section - end */

/* video cards lightbox - start */

.card.card-video {
  position: relative;
  border: 0;
  background: transparent;
}

.card.card-video .video-lightbox-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.card.card-video .video-lightbox-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card.card-video .video-lightbox-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card.card-video .video-lightbox-play .fa.fa-play-circle {
  position: absolute;
  color: var(--primary-color);
  opacity: 0.75;
  font-size: 120px;
}

.card.card-video .video-lightbox-play:hover .fa,
.card.card-video .video-lightbox-play:focus-visible .fa {
  opacity: 0.9;
}

.video-lightbox-modal .modal-content {
  background: transparent;
  border: 0;
}

.video-lightbox-modal .modal-body {
  padding: 0;
}

.video-lightbox-modal .modal-backdrop {
  --bs-backdrop-opacity: 0.85;
}

.video-lightbox-modal iframe {
  border: 0;
}

.video-lightbox-modal .btn-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999; /* above modal/backdrop */
  opacity: 0.9;
  filter: invert(1); /* ensures visibility on dark overlay */
}
/* video cards lightbox - end */

/* tiles-colors - start */
.tiles-colors .container {
  padding-left: 0;
  padding-right: 0;
}

.tiles-colors .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.tiles-colors .row > div[class^="col"] {
  padding-left: 0;
  padding-right: 0;
}

.tiles-colors-tile {
  width: 100%;
  display: flex;
  align-items: stretch;
}

.tiles-colors-inner {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 24px 32px;
  text-align: center;
}

.tiles-colors-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.tiles-colors-icon img {
  max-width: 124px;
  max-height: 124px;
  width: auto;
  height: auto;
}

.tiles-colors-actions,
.tiles-colors-copy {
  width: 100%;
}

.tiles-colors-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tiles-colors-action.btn {
  width: 100%;
  margin: 0;
  padding: 11px 14px;
  border: 0;
  border-radius: var(--border-radius-standard);
  background: var(--white);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.tiles-colors-action.btn:hover,
.tiles-colors-action.btn:focus {
  background: var(--lighter-gray);
  color: var(--primary-color);
}

.tiles-colors-copy {
  max-width: 480px;
}

.tiles-colors-title {
  margin-bottom: 16px;
  color: inherit;
}

.tiles-colors-text {
  margin-bottom: 0;
  color: inherit;
}
/* tiles-colors - end */

/* tiles-images - start */
.tiles-images .container-lg {
  padding-left: 0;
  padding-right: 0;
}

.tiles-images .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.tiles-images .row > div[class^="col"] {
  padding-left: 0;
  padding-right: 0;

  color: white;
}

.tiles-images-tile {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.tiles-images-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.tiles-no-overlay .tiles-images-overlay {
  display: none;
}

.tiles-images-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 22px 32px;
  text-align: center;
}

.tiles-images-content {
  width: 100%;
  max-width: min(100%, 430px);
  min-height: 220px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-items: center;
}

.tiles-images-icon {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  margin-top: 220px;
}

.tiles-images-icon img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.tiles-images-copy {
  width: 100%;
}

.tiles-images-copy .btn-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.tiles-images-copy .btn-link::after {
  color: var(--white);

  &:hover,
  &:focus-visible {
    color: white;
  }
}

.tiles-images-copy .btn-link:hover,
.tiles-images-copy .btn-link:focus {
  color: var(--white);
  text-decoration: underline;
}
/* tiles-images - end */

/* responsive */
/* XL Screens */
@media (min-width: 1400px) {
}

/* Landscape tablets and medium desktops: LG */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Small desktops and smaller: MD */
@media only screen and (max-width: 992px) {
  /* cta cards - start */
  .shadow-cta-card,
  .basic-cta-card {
    margin: 26px auto;
  }

  .basic-cta-card .card-title {
    font-size: 30px;
  }

  .basic-cta-card img,
  .shadow-cta-card img {
    height: 250px;
  }

  .col-lg-6 .card.card-list .card-img-top,
  .card.card-list .card-img-top {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: unset;
  }

  .card-list-section-image {
    height: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: unset;
  }
}

/* Only portrait tablets and small desktops: MD */
@media only screen and (min-width: 768px) and (max-width: 992px) {
}

/* Landscape phones and portrait tablets: SM */
@media only screen and (max-width: 767px) {
  .card.card-img-side .card-img {
    min-height: 275px;
  }

  .card-highlight .card-img {
    border-radius: var(--border-radius-top) !important;
  }

  .tiles-colors-inner {
    height: auto;
    padding: 32px 20px 28px;
  }

  .tiles-images-tile {
    min-height: max(50vh, 400px);
  }

  .tiles-images-inner {
    padding: 32px 24px 36px;
  }

  .tiles-images-content {
    min-height: 230px;
  }

  .tiles-images-content-no-icon {
    min-height: 190px;
  }
}

/* Portrait phones and smaller: XS */
@media only screen and (max-width: 480px) {
}
