.onix-novinki { max-width: 1200px; margin: 12px auto 64px; color: #4b1d08; font: 17px/1.6 'Gilroy-Medium', Arial, sans-serif; }
.onix-novinki *, .onix-novinki *::before, .onix-novinki *::after { box-sizing: border-box; }
.novinki-hub .navi { margin-bottom: 6px; }
.onix-novinki.novinki-hub h1 { margin: 4px 0 12px; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; }
.onix-novinki-eyebrow { display: block; margin-bottom: 12px; color: #9e442f; font: 12px/1.5 'Gilroy-Bold', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.onix-novinki h1 { margin: 0 0 16px; color: #4b1d08; font: 52px/1.2 'Appetite', Arial, sans-serif; }
.onix-novinki h2 { margin: 0; color: #4b1d08; font: 32px/1.3 'Appetite', Arial, sans-serif; }
.onix-novinki-section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.onix-novinki-section-heading>a { color: #a43e20; font-family: 'Gilroy-Bold', Arial, sans-serif; }
.novinki-works-nav { margin: 0 0 36px; }
.novinki-works-nav a { display: flex; min-height: 150px; border-radius: 18px; overflow: hidden; background: #613322; color: #fff8ef; text-decoration: none; }
.novinki-works-nav a:hover { background: #79432d; }
.works-nav-copy { display: flex; flex: 2; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(20px, 3vw, 36px); }
.works-nav-copy strong { font: clamp(23px, 2.5vw, 34px)/1.2 'Appetite', Arial, sans-serif; }
.works-nav-action { font: 16px/1.4 'Gilroy-Semibold', Arial, sans-serif; }
.novinki-works-nav a:hover .works-nav-action { text-decoration: underline; }
.works-strip { display: flex; position: relative; flex: 3; min-width: 0; gap: 3px; }
.works-strip img { flex: 1; min-width: 0; width: 0; height: clamp(170px, 19vw, 240px); object-fit: cover; }
.works-strip img:only-child { object-fit: contain; background: #fff1df; }
.works-strip small { position: absolute; bottom: 8px; right: 8px; padding: 3px 8px; border-radius: 5px; color: white; background: #321c13db; font: 12px/1.4 'Gilroy-Medium', Arial, sans-serif; }
.works-page h1 { margin-top: 24px; }
.works-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin: 28px 0; }
.works-gallery figure { min-width: 0; width: 100%; max-width: 540px; margin: 0; }
.works-slides:not(.slick-initialized) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.works-slides > a { flex: 0 0 100%; scroll-snap-align: start; }
.works-slides button { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fffaf4; color: #53281a; opacity: .65; cursor: pointer; transition: opacity .18s ease; }
.works-slides button::before { content: ""; width: 9px; height: 16px; background: currentColor; clip-path: polygon(0 10%, 18% 0, 100% 50%, 18% 100%, 0 90%, 65% 50%); }
.works-slides .slick-prev::before { transform: rotate(180deg); }
@media (hover: hover) {
  .works-slides:hover button:not(.slick-disabled) { opacity: .9; }
  .works-slides button:not(.slick-disabled):hover { opacity: 1; }
}
.works-slides .slick-prev { left: 8px; }
.works-slides .slick-next { right: 8px; }
.works-slides .slick-disabled { opacity: .32; cursor: default; }
.works-slides button:focus-visible { opacity: 1; outline: 3px solid #9e442f; }
.works-viewer { padding: 52px 12px 12px; border: 0; background: transparent; color: white; margin: auto; }
.works-viewer::backdrop { background: rgba(29, 16, 10, .9); }
.works-viewer:not([open]) { display: none; }
.works-viewer img { display: block; width: auto; height: auto; max-width: calc(100vw - 48px); max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); object-fit: contain; }
.works-viewer button { position: absolute; top: 3px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fffaf4; color: #53281a; font: 30px/1 Arial, sans-serif; cursor: pointer; }
html:has(.works-viewer[open]) { overflow: hidden; }
.works-slide-count { position: absolute; bottom: 10px; right: 12px; border-radius: 12px; padding: 2px 9px; background: #402415df; color: white; font: 14px/1.5 'Gilroy-Semibold', Arial, sans-serif; pointer-events: none; }
.works-gallery figure a { display: block; border-radius: 12px; overflow: hidden; background: #fff8ef; }
.works-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.works-gallery figcaption { padding: 10px 2px; overflow-wrap: anywhere; color: #4b1d08; font: clamp(21px, 2vw, 25px)/1.35 'Appetite', Arial, sans-serif; }
.works-back { display: inline-block; margin-top: 15px; color: #714735; }
.onix-novinki .catalog-page .item .novinki-category { margin-top: 4px; color: #714735; font: 14px/1.45 'Gilroy-Medium', Arial, sans-serif; text-decoration: underline; text-underline-offset: 2px; }
.onix-novinki a:focus-visible { outline: 3px solid #c66636; outline-offset: 4px; }
.onix-novinki-editorial { margin-bottom: 44px; padding: 32px; background: #fffaf4; border: 1px solid #ecdcc8; border-radius: 18px; }
.onix-novinki-story { margin-top: 20px; overflow-wrap: anywhere; }
.onix-novinki-story img, .onix-novinki-story video { max-width: 100%; height: auto; border-radius: 12px; }
.onix-novinki-story iframe { max-width: 100%; }
.onix-novinki-story p:last-child { margin-bottom: 0; }
.onix-novinki-empty { padding: 30px; border: 1px solid #ecdcc8; border-radius: 18px; background: #fffaf4; }
@media (max-width: 575px) {
  .novinki-works-nav a { flex-direction: column; }
  .works-nav-copy { gap: 8px; }
  .works-strip img { height: clamp(105px, 32vw, 160px); }
  .onix-novinki { margin-bottom: 40px; }
  .novinki-hub .works-strip { order: -1; }
  .onix-novinki h1 { font-size: 38px; }
  .onix-novinki h2 { font-size: 27px; }
  .onix-novinki-editorial { padding: 24px 20px; }
}
