/* NL-BRAND text-justify standard */
article p,  main p,  section p, 
.cv-rev__sec p,  .container p,  .wrap p{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
@media (max-width: 768px) {
  article p,  main p,  section p{
    text-align: left;
    hyphens: none;
  }
}

/* ---- boundary ---- */

/* ---- boundary ---- */

/* Mobile: показать кнопки в шапке + сделать их компактными */
@media (max-width: 768px) {
  .hdr {
    position: sticky !important;
    top: 0;
    z-index: 100;
    background: rgba(12,10,22,.95);
    backdrop-filter: blur(12px);
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .hdr__actions {
    display: flex !important;
    visibility: visible !important;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
  }
  .hdr__actions .btn {
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 34px !important;
    min-width: 0 !important;
    white-space: nowrap;
  }
  .hdr__actions .btn--ghost {
    padding: 6px 10px !important;
  }
  .hdr__logo {
    max-width: 90px !important;
    height: auto;
    flex-shrink: 1;
  }
  .hdr__logo img {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 380px) {
  .hdr__actions .btn {
    padding: 5px 8px !important;
    font-size: 12px !important;
    height: 32px !important;
  }
  .hdr__logo {
    max-width: 70px !important;
  }
}

/* ---- boundary ---- */

/* === Mobile layout fix === */
@media (max-width: 768px) {
  /* H1 standalone block */
  
  
  /* Скрыть bottom bar */
  
  /* Бургер в header */
  .hdr {
    gap: 6px !important;
  }
  .hdr__burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }
  .hdr__burger::before {
    content: "";
    display: block;
    width: 18px;
    height: 12px;
    background:
      linear-gradient(#fff, #fff) top/100% 2px no-repeat,
      linear-gradient(#fff, #fff) center/100% 2px no-repeat,
      linear-gradient(#fff, #fff) bottom/100% 2px no-repeat;
  }
  /* shelf__head на mobile: вертикальная компоновка чтобы карусель не ломалась */
  .shelf__head {
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* ---- boundary ---- */

.hdr__actions{margin-left:auto;justify-content:flex-end;text-align:right}

/* ---- boundary ---- */

@media(max-width:768px){.hdr{display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0!important;gap:0!important;}.hdr__bar{flex:1 1 auto!important;width:auto!important;max-width:none!important;margin:0!important;display:flex!important;align-items:center;justify-content:flex-start;gap:10px!important;padding:0 14px!important;}.hdr__burger{display:inline-flex!important;flex:0 0 auto;margin:0;}.hdr__logo{flex:0 0 auto;display:inline-flex;align-items:center;}.hdr__logo img{height:28px!important;width:auto!important;}.hdr__actions{display:flex!important;margin-left:auto!important;gap:8px!important;flex:0 0 auto;}.hdr__actions .btn{height:34px!important;padding:0 13px!important;font-size:12.5px!important;border-radius:100px!important;white-space:nowrap;}.hdr__sat{display:none!important;}body{padding-bottom:0!important;}}@media(max-width:360px){.hdr__bar{gap:7px!important;padding:0 10px!important;}.hdr__logo img{height:24px!important;}.hdr__actions{gap:6px!important;}.hdr__actions .btn{height:32px!important;padding:0 10px!important;font-size:11.5px!important;}}

/* ---- boundary ---- */

