/* #21406 (Andrés 22-10-2026): "Build your Dipol" bar on the home page with one photo panel per series and diagonal cuts.
   Colours as configurator-steps.css: navy #003459, accent #2F5D7C, ink #111827. --s = width of the diagonal, --g = dark gap. */
.dbb { --s: 46px; --g: 7px; position: relative; display: flex; height: 250px; border-radius: 8px; overflow: hidden;
  background: #111827; box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; }
.dbb a { text-decoration: none; }
.dbb .dbb-lead { position: relative; z-index: 2; flex: 0 0 24%; display: flex; align-items: flex-end; background: #2F5D7C; color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%); padding: 0 calc(var(--s) + 8px) 28px 30px; transition: background .25s ease; }
.dbb .dbb-lead:hover, .dbb .dbb-lead:focus-visible { background: #003459; }
.dbb .dbb-lead-in { display: flex; flex-direction: column; align-items: flex-start; }
.dbb .dbb-title { font-family: 'Decaydence Straight', Helvetica, Arial, sans-serif; font-size: 26px; font-weight: 800; line-height: 1.1; text-transform: uppercase; color: #fff; }
.dbb .dbb-text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.dbb .dbb-btn { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; background: #fff;
  color: #111827; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: transform .2s ease; }
.dbb .dbb-lead:hover .dbb-btn { transform: translateX(3px); }
.dbb .dbb-arrow { position: relative; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.dbb .dbb-arrow::after { content: ''; position: absolute; right: 0; top: -4px; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.dbb .dbb-panel { position: relative; flex: 1 1 0; min-width: 0; margin-left: calc(var(--g) - var(--s)); overflow: hidden; color: #fff;
  clip-path: polygon(var(--s) 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%); }
.dbb .dbb-panel:last-child { clip-path: polygon(var(--s) 0, 100% 0, 100% 100%, 0 100%); }
.dbb .dbb-media, .dbb .dbb-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dbb .dbb-media img { object-fit: cover; object-position: center; max-width: none; transition: transform .5s ease; }
.dbb .dbb-panel:hover .dbb-media img, .dbb .dbb-panel:focus-visible .dbb-media img { transform: scale(1.06); }
.dbb .dbb-media::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(17, 24, 39, .05) 30%, rgba(17, 24, 39, .78) 100%); transition: background .3s ease; }
.dbb .dbb-panel:hover .dbb-media::after { background: linear-gradient(180deg, rgba(0, 52, 89, .10) 20%, rgba(0, 52, 89, .85) 100%); }
.dbb .dbb-cap { position: absolute; z-index: 2; left: 18px; right: calc(var(--s) + 6px); bottom: 24px;
  display: flex; flex-direction: column; }
.dbb .dbb-count { font-size: 11px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; text-transform: uppercase; line-height: 1.3; color: rgba(255, 255, 255, .9); }
.dbb .dbb-name { margin-top: 4px; font-family: 'Decaydence Straight', Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.12;
  text-transform: uppercase; color: #fff; overflow-wrap: normal; word-break: keep-all; }
@media (max-width: 1200px) {
  .dbb { --s: 38px; }
  .dbb .dbb-title { font-size: 22px; }
  .dbb .dbb-name { font-size: 17px; }
  .dbb .dbb-count { font-size: 10px; letter-spacing: .05em; }
}
@media (max-width: 980px) {
  .dbb { --g: 4px; flex-wrap: wrap; height: auto; gap: var(--g); }
  .dbb .dbb-lead { flex: 1 1 100%; clip-path: none; padding: 26px 24px; }
  .dbb .dbb-panel { flex: 1 1 calc(50% - var(--g)); height: 170px; margin-left: 0; clip-path: none; }
  .dbb .dbb-panel:last-child { clip-path: none; }
  .dbb .dbb-cap { left: 16px; right: 16px; bottom: 16px; }
}
@media (max-width: 600px) {
  .dbb .dbb-panel { height: 140px; }
  .dbb .dbb-title { font-size: 22px; }
  .dbb .dbb-name { font-size: 15px; }
  .dbb .dbb-count { font-size: 10px; letter-spacing: .06em; }
  .dbb .dbb-len { display: none; }
  .dbb .dbb-cap { left: 12px; right: 12px; bottom: 12px; }
}
