/* ========================================= */
/* 1. REGULI PENTRU DESKTOP (Ecrane mari)    */
/* ========================================= */
@media (min-width: 783px) {
    .doar-mobil {
        display: none !important;
    }
}

/* ========================================= */
/* 2. REGULI PENTRU MOBIL (Telefon)          */
/* ========================================= */
@media (max-width: 782px) {
    
    /* Ascundem elementele de desktop */
    .doar-desktop {
        display: none !important;
    }

    /* Setări pentru videourile de mobil (Shadow Layout) */
    .doar-mobil {
        display: block !important;
        width: 100% !important;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    
    .doar-mobil video {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Suprascriem bariera temei DOAR pe mobil */
    /* Aici am pus 20px cum am stabilit ultima oară, să fie editorial */
    body .is-layout-constrained > *,
    body .is-layout-flow > * {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Ne asigurăm că blocurile interioare nu adaugă spațiu în plus */
    .wp-block-columns, 
    .wp-block-column,
    .wp-block-group {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* FIX PENTRU SHOWREEL: Dacă este un Custom HTML direct în pagină, 
       îi scoatem padding-ul ca să rămână FULL */
    body .is-layout-constrained > .wp-block-html,
    body .is-layout-flow > .wp-block-html {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* Ascunde pe Desktop */
@media (min-width: 768px) {
  .ascunde-desktop {
    display: none !important;
  }
}

/* Ascunde pe Mobil */
@media (max-width: 767px) {
  .ascunde-mobil {
    display: none !important;
  }
}