/* ===============================
   Dailywork Full Width Iframe
   Dark background integration
================================ */

.dw-jobs-full {
    position: relative;
}

/* wrapper centrale con contrasto */
.dw-iframe-wrap{
  position: relative;
  width: 100%;
  overflow: visible;      /* importante */
  background: transparent;/* importante */
  border-radius: 0;       /* se vuoi “unica pagina” */
  box-shadow: none;       /* niente “card” separata */
  padding: 0;             /* niente cornice */
  min-height: 600px;      /* fallback minimo, poi lo script lo sostituisce */
  height: auto;           /* NO height fissa */
}

.dw-iframe-wrap iframe{
  width: 100%;
  border: 0;
  display: block;
  background: transparent;
  height: 600px;          /* solo fallback iniziale, poi lo script lo sostituisce */
}

/* loader */
.dw-iframe-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 600;
    color: #6b7280;
    background: #ffffff;
    z-index: 2;
}

.dw-iframe-placeholder.is-hidden {
    display: none;
}

/* responsive */
/* responsive: niente height fisse */
@media (max-width: 992px) {
  .dw-iframe-wrap iframe{
    height: 900px;     /* fallback più realistico */
  }
}

@media (max-width: 640px) {
  .dw-iframe-wrap iframe{
    height: 1100px;    /* fallback mobile */
  }
}
@media (max-width: 640px) {
  .dw-iframe-wrap{
    min-height: 900px;
  }
}
