/**
 * @file
 * Paragraph Bundle Card.
 *
 * Filename:     paragraph-bundle-image-section.css
 * Website:      https://www.flashwebcenter.com
 * Developer:    Alaa Haddad https://www.alaahaddad.com.
 */
.pb__card-image-section__inner > .pb__card-image a,
.pb__card-image-section__inner > .pb__card-image div:not(.field--name-pb-content-title) {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  align-items: end;
  justify-content: center;
}

.pb__card-image-section__inner > .pb__card-image {
  position: relative;
}

.pb__card-image-section__inner > .pb__card-image .pb__card-image-title {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  align-items: end;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1000;
}

.pb__card-image-section__inner > .pb__card-image .pb__card-image-title>* {
  width: 100%;
}

.pb__card-image-section__inner > .pb__card-image .field--name-pb-content-image {
  z-index: -1;
}

.pb__card-image-section__inner > .pb__card-image .field--name-pb-content-title {
  width: 100%;
  padding: var(--pb-px12);
}

.pb__card-image-section__inner > .pb__card-image > .pb__card-image-title,
.pb__card-image-section__inner > .pb__card-image > a > .pb__card-image-title {
  color: var(--pb-tx);
  background-color: var(--pb-bg);
}

.pb__card-image-section__inner > .pb__card-image:hover > .pb__card-image-title,
.pb__card-image-section__inner > .pb__card-image:hover > a > .pb__card-image-title {
  color: var(--pb-tx-h, var(--pb-tx));
  background-color: var(--pb-bg-h, var(--pb-bg));
}

.pb__card-image-section__inner > .pb__card-image:hover .field--name-pb-content-title {
  color: var(--pb-tx-h, var(--pb-tx));
  z-index: 1001;
}

.paragraph .pb__card-image-section__inner .pb__img-wrapper {
  width: 100%;
  display: block;
}
