.dfghomeblocks {
  display: grid;
  grid-template-columns: repeat(var(--dfghb-per-row, 4), minmax(0, 1fr));
  gap: var(--dfghb-gap, 20px);
  width: 100%;
  margin: 28px 0 38px;
}

.dfghb-card {
  position: relative;
  display: block;
  text-decoration: none !important;
  color: #fff !important;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(0);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.dfghb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  border-color: rgba(208, 32, 39, 0.4);
}

.dfghb-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: #111;
}

.dfghb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease;
}

.dfghb-card:hover .dfghb-image {
  transform: scale(1.06);
}

.dfghb-placeholder {
  background:
    radial-gradient(circle at top right, rgba(208, 32, 39, 0.20), transparent 36%),
    linear-gradient(135deg, #111 0%, #1a1a1a 40%, #0b0b0b 100%);
}

.dfghb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.18) 32%, rgba(0,0,0,0.84) 100%);
  pointer-events: none;
}

.dfghb-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 18px 18px 18px;
}

.dfghb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .20em;
  color: #d7d2d2;
  text-transform: uppercase;
}

.dfghb-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #d02027;
  border-radius: 999px;
}

.dfghb-title {
  font-size: 28px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,.35);
  word-break: break-word;
}

.dfghb-subtitle {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #d3cece;
  word-break: break-word;
}


@media (max-width: 991px) {
  .dfghomeblocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dfghb-image-wrap {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767px) {
  .dfghomeblocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 26px;
  }

  .dfghb-card {
    border-radius: 14px;
  }

  .dfghb-content {
    padding: 14px 12px 14px 12px;
  }

  .dfghb-kicker {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: .16em;
  }

  .dfghb-kicker::before {
    width: 20px;
  }

  .dfghb-title {
    font-size: var(--dfghb-title-mobile, 18px);
    line-height: 1.08;
  }

  .dfghb-subtitle {
    display: none;
  }
}
