/* Door Type Cards — structural styles only.
   Colours, spacing and typography come from Style-tab controls; the two values
   set here (card background, overlay) are the design's own and are exposed as
   controls with the same defaults. */

.dtc-28256 {
  --dtc-ar-16-9: 16 / 9;
  --dtc-ar-4-3: 4 / 3;
  --dtc-ar-3-2: 3 / 2;
  --dtc-ar-1-1: 1 / 1;
}

.dtc-28256 .dtc-28256__header {
  margin-bottom: 32px;
}

.dtc-28256 .dtc-28256__heading {
  margin: 0 0 12px;
}

.dtc-28256 .dtc-28256__intro > *:first-child {
  margin-top: 0;
}

.dtc-28256 .dtc-28256__intro > *:last-child {
  margin-bottom: 0;
}

.dtc-28256 .dtc-28256__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.dtc-28256 .dtc-28256__card {
  --dtc-overlay: rgba(0, 0, 0, 0.75);
  --dtc-overlay-height: 45%;
  display: flex;
  flex-direction: column;
  background-color: #f4f4f4;
  overflow: hidden;
}

.dtc-28256 .dtc-28256__media {
  position: relative;
  aspect-ratio: var(--dtc-ar-16-9);
  overflow: hidden;
}

.dtc-28256 .dtc-28256__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient from transparent to the overlay colour, so an overlaid title stays
   readable whatever the photo does behind it. */
.dtc-28256 .dtc-28256__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: var(--dtc-overlay-height);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    var(--dtc-overlay) 100%
  );
  pointer-events: none;
}

.dtc-28256 .dtc-28256__title {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 700;
}

.dtc-28256 .dtc-28256__body {
  flex: 1 1 auto;
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
}

.dtc-28256 .dtc-28256__text {
  margin: 0 0 24px;
}

.dtc-28256 .dtc-28256__text:last-child {
  margin-bottom: 0;
}

.dtc-28256 .dtc-28256__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.dtc-28256 .dtc-28256__points:last-child {
  margin-bottom: 0;
}

.dtc-28256 .dtc-28256__point {
  margin: 0;
  min-width: 0;
}

/* ------------------------------------------------------------- CTA Button */

.dtc-28256 .dtc-28256__action {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 24px;
}

.dtc-28256 .dtc-28256__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid #2F7FE0;
  background-color: transparent;
  color: #1A6FD4;
  border-radius: 2px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.dtc-28256 .dtc-28256__button:hover,
.dtc-28256 .dtc-28256__button:focus {
  background-color: #1A6FD4;
  color: #FFFFFF;
  border-color: #1A6FD4;
}

@media (max-width: 1024px) {
  .dtc-28256 .dtc-28256__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .dtc-28256 .dtc-28256__points {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}
