/*
 * Local shared stylesheet placeholder.
 * The published snapshot referenced /custom.css, but the file was missing.
 * Keep this file lightweight until we intentionally move shared styles here.
 */

:root {
  --artime-content-edge: 90px;
  --artime-inner-gutter: 60px;
  --artime-section-gap: 104px;
  --artime-heading-gap: 48px;
  --artime-intro-section-gap: var(--artime-section-gap);
}

html,
body,
.t-records {
  background: #fff;
}

@media (min-width: 981px) {
  #rec1164224911 .t228__maincontainer {
    box-sizing: border-box;
    padding-left: var(--artime-inner-gutter) !important;
    padding-right: var(--artime-inner-gutter) !important;
  }

  #rec1164224911 .t228__padding40px {
    display: none !important;
  }

  #rec1164224911 .t228__leftside {
    flex: 0 0 180px;
    min-width: 180px;
  }

  #rec1164224911 .t228__centerside {
    flex: 1 1 auto;
    min-width: 0;
  }

  #rec1164224911 .t228__rightside {
    flex: 0 0 auto;
    margin-left: 24px;
  }

  #rec1164224911 .t228__rightcontainer,
  #rec1164224911 .t228__right_langs,
  #rec1164224911 .t228__right_buttons_wrap {
    display: flex;
    align-items: center;
  }

  #rec1164224911 .t228__right_buttons_wrap {
    gap: 18px;
  }

  .t228__maincontainer {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) auto !important;
    column-gap: 24px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: var(--artime-inner-gutter) !important;
    padding-right: var(--artime-inner-gutter) !important;
  }

  .t228__padding40px {
    display: none !important;
  }

  .t228__leftside {
    flex: none !important;
    min-width: 180px !important;
    width: auto !important;
  }

  .t228__centerside {
    flex: none !important;
    min-width: 0 !important;
    width: auto !important;
  }

  .t228__rightside {
    flex: none !important;
    justify-self: end !important;
    min-width: 0 !important;
    width: auto !important;
    margin-left: 0 !important;
  }

  .t228__rightcontainer,
  .t228__right_langs,
  .t228__right_buttons_wrap {
    display: flex !important;
    align-items: center !important;
  }

  .t228__centercontainer,
  .t228__rightcontainer {
    width: auto !important;
    max-width: 100% !important;
  }

  .t228__list {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    white-space: nowrap !important;
  }

  .t228__list_item {
    white-space: nowrap !important;
  }

  .t228__rightcontainer,
  .t228__right_langs {
    justify-content: flex-end !important;
    white-space: nowrap !important;
  }

  .t228__right_buttons_wrap {
    gap: 18px !important;
  }

  .t228__right_langs_lang a {
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .tmenu-mobile__container {
    padding-left: var(--artime-inner-gutter) !important;
    padding-right: var(--artime-inner-gutter) !important;
  }
}

.artime-zero-spacer {
  display: block;
  height: var(--artime-spacer-height, 0px);
  min-height: 0 !important;
  overflow: hidden;
}

.artime-zero-spacer__inner {
  display: block;
  height: 100%;
}

.artime-html-module {
  display: block;
}

.artime-static-text,
.artime-static-layout {
  display: block;
}

.artime-static-artboard {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.artime-static-carrier,
.artime-static-filter {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
}

.artime-static-elem {
  position: absolute;
  box-sizing: border-box;
}

.artime-static-elem .tn-atom {
  box-sizing: border-box;
}

.artime-static-elem .tn-atom__img {
  display: block;
  width: 100%;
  height: auto;
}

.artime-static-elem.artime-static-elem--anim-hidden {
  opacity: 1 !important;
}

.artime-static-elem[data-animate-sbs-event="hover"] .tn-atom {
  transform-origin: center;
  transition: transform 0.2s ease;
}

.artime-static-elem[data-animate-sbs-event="hover"]:hover .tn-atom {
  transform: scale(1.1);
}

.artime-contact-layout {
  display: block;
  padding-bottom: 24px;
}

.artime-contact-layout .artime-static-artboard {
  overflow: visible !important;
  height: auto !important;
  min-height: 650px;
}

.artime-contact-layout .artime-static-carrier,
.artime-contact-layout .artime-static-filter {
  height: auto !important;
  min-height: 650px;
}

.artime-contact-layout .artime-static-elem[data-elem-id="1758785622764"] {
  display: none !important;
}

@media (min-width: 960px) {
  .artime-contact-layout .artime-static-elem[data-elem-id="1758781836158"] {
    top: 30px !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="175878224832653840"] {
    top: 86px !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1758782644037"] {
    top: 38px !important;
  }
}

.artime-contact-form-host,
.artime-contact-form {
  width: 100%;
  font-family: var(--t-text-font, "Nekst", Arial, sans-serif);
}

.artime-contact-form {
  margin: 0;
}

.artime-contact-fields {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.artime-contact-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 60px;
  margin: 0 0 30px;
  padding: 0 16px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: 400 22px/1.2 var(--t-text-font, "Nekst", Arial, sans-serif);
  outline: none;
}

.artime-contact-input::placeholder {
  color: #000;
  opacity: 1;
}

.artime-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  color: #000;
  font: 400 16px/1.35 var(--t-text-font, "Nekst", Arial, sans-serif);
}

.artime-contact-consent span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.25ch;
  row-gap: 2px;
}

.artime-contact-layout .artime-contact-consent a,
.artime-contact-layout .artime-contact-consent a:link,
.artime-contact-layout .artime-contact-consent a:visited,
.artime-contact-layout .artime-contact-consent a:active {
  color: #000 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.artime-contact-layout .artime-contact-consent a:hover,
.artime-contact-layout .artime-contact-consent a:focus-visible {
  color: #ed2224 !important;
}

.artime-contact-consent a[data-artime-consent-link="1"] {
  margin-left: 5px;
}

.artime-contact-consent input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: #000;
}

.artime-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: 400 22px/1 var(--t-text-font, "Nekst", Arial, sans-serif);
  cursor: pointer;
}

.artime-contact-submit:hover,
.artime-contact-submit:focus-visible {
  background: #000;
  color: #fff;
}

.artime-contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.artime-static-layout .artime-static-elem[data-elem-id="175992357383462590"] .tn-atom,
.artime-static-layout .artime-static-elem[data-elem-id="175992357383721620"] .tn-atom,
.artime-static-layout .artime-static-elem[data-elem-id="175992357383157070"] .tn-atom,
.artime-static-layout .artime-static-elem[data-elem-id="175992357382736820"] .tn-atom {
  display: block;
  width: 100%;
  height: 100%;
}

.artime-static-layout .artime-static-elem[data-elem-id="175992357383462590"] .tn-atom__img,
.artime-static-layout .artime-static-elem[data-elem-id="175992357383721620"] .tn-atom__img,
.artime-static-layout .artime-static-elem[data-elem-id="175992357383157070"] .tn-atom__img,
.artime-static-layout .artime-static-elem[data-elem-id="175992357382736820"] .tn-atom__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.artime-static-layout:has(.rt-footer) .artime-static-artboard,
.artime-static-layout:has(.rt-footer) .artime-static-carrier,
.artime-static-layout:has(.rt-footer) .artime-static-filter {
  height: 155px !important;
}

.artime-static-layout:has(.rt-footer) .artime-static-elem[data-elem-id="1756142755492"] {
  height: auto !important;
}

[data-artime-contact-status="1"] {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 1200px) {
  :root {
    --artime-content-edge: 70px;
    --artime-inner-gutter: 40px;
  }
}

@media (max-width: 980px) {
  :root {
    --artime-content-edge: 62px;
    --artime-inner-gutter: 32px;
    --artime-section-gap: 80px;
    --artime-heading-gap: 40px;
  }

  .artime-contact-layout .artime-static-artboard,
  .artime-contact-layout .artime-static-carrier,
  .artime-contact-layout .artime-static-filter {
    min-height: 740px;
  }
}

@media (max-width: 640px) {
  :root {
    --artime-content-edge: 24px;
    --artime-inner-gutter: 24px;
    --artime-section-gap: 56px;
    --artime-heading-gap: 32px;
  }

  .artime-contact-layout {
    padding-bottom: 18px;
  }

  .artime-contact-layout .artime-static-artboard,
  .artime-contact-layout .artime-static-carrier,
  .artime-contact-layout .artime-static-filter {
    min-height: 780px;
  }

  .artime-contact-input {
    height: 30px;
    margin-bottom: 30px;
    padding: 0 10px;
    font-size: 18px;
  }

  .artime-contact-consent {
    gap: 7px;
    margin-bottom: 18px;
    font-size: 10px;
    line-height: 1.3;
  }

  .artime-contact-consent input {
    width: 12px;
    height: 12px;
    margin-top: 1px;
  }

  .artime-contact-submit {
    width: 280px;
    max-width: 100%;
    height: 50px;
    font-size: 22px;
  }

  [data-artime-contact-status="1"] {
    font-size: 12px;
  }

  .artime-static-layout:has(.rt-footer) .artime-static-artboard,
  .artime-static-layout:has(.rt-footer) .artime-static-carrier,
  .artime-static-layout:has(.rt-footer) .artime-static-filter {
    height: 300px !important;
  }
}

/* Homepage cover: align the first large video to the same visible grid as the content below. */
#rec1162157501 .t-cover {
  width: auto !important;
  height: auto !important;
  aspect-ratio: 2.55 / 1;
  margin-left: var(--artime-inner-gutter) !important;
  margin-right: var(--artime-inner-gutter) !important;
  position: relative !important;
  overflow: hidden !important;
  background-color: #000 !important;
}

#rec1162157501 .t-cover__carrier,
#rec1162157501 .t-cover__filter,
#rec1162157501 .t-cover__wrapper {
  height: auto !important;
  min-height: 0 !important;
}

#rec1162157501 .t-cover__carrier {
  background-image: none !important;
}

#rec1162157501 .artime-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  background: #000;
}

@media (max-width: 1200px) {
  #rec1162157501 .t-cover {
    aspect-ratio: 2.2 / 1;
  }
}

@media (max-width: 980px) {
  #rec1162157501 .t-cover {
    aspect-ratio: 16 / 9;
  }

  #rec1162157501 .artime-hero-video {
    object-position: center;
  }
}

#rec1162157501 .t-cover__filter,
#rec1162157501 .t891 {
  position: relative;
  z-index: 1;
}

/* Video policy: portfolio media must show the full frame, not a cropped preview. */
#rec1452992451 .rt-videos3 .media video {
  object-fit: contain !important;
  background: #000 !important;
}

#rec1452992451 .rt-videos3 .rt-modal video {
  object-fit: contain !important;
  background: #000 !important;
}

/* The CG Art preview has a tiny dark edge in the source/painted frame; a 1% overscan hides it without changing the layout. */
#rec1452992451 .rt-videos3 .row:nth-child(3) .media video {
  top: -1% !important;
  bottom: auto !important;
  height: 102% !important;
  transform: translateZ(0) !important;
}

.zb-project-2col-743 .zb-video video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
  pointer-events: none;
  /* Hide subpixel black seams that can appear on resize in some browsers. */
  transform: translateZ(0) scale(1.006);
  transform-origin: center;
  will-change: transform;
}

.zb-project-qiwi-1 .qiwi-media:has(video) {
  padding-top: 56.25% !important;
  background: transparent !important;
}

.zb-project-qiwi-1 .qiwi-media .square:has(video) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding-top: 0 !important;
  top: 0 !important;
  transform: none !important;
}

.zb-project-qiwi-1 .qiwi-media .square:has(video) video {
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  -webkit-transform: none !important;
  background: transparent !important;
}

#rec1529942181 .zb-3videos .item--center .media video {
  top: -1% !important;
  height: 102% !important;
}

.artime-case-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0 !important;
}

.artime-case-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
  border-radius: 0 !important;
}

/* Qiwi case opener is wider than 16:9, so match its native ratio instead of letterboxing it. */
#rec1408004581 .artime-case-video-wrap {
  aspect-ratio: 1920 / 932;
  overflow: hidden !important;
  background: #fff !important;
}

#rec1408004581 .artime-case-video {
  width: calc(100% + 4px) !important;
  max-width: none !important;
  object-fit: fill !important;
  background: #fff !important;
}

/* Inner pages: use the same visible gutters as the homepage without changing the homepage. */
.artime-inner-page {
  --artime-page-content-edge: var(--artime-inner-gutter);
  --artime-page-static-edge: var(--artime-inner-gutter);
  --artime-page-shell-edge: var(--artime-page-content-edge);
  --artime-page-content-width: calc(100vw - (var(--artime-page-content-edge) * 2));
  --artime-page-shell-width: var(--artime-page-content-width);
  --artime-case-hero-max-height: min(56vh, 620px);
}

.artime-inner-page .t121 .t-width,
.artime-inner-page .t121 .t-width_100,
.artime-inner-page .t121__wrap-video,
.artime-inner-page .t661__container,
.artime-inner-page .t667__container {
  box-sizing: border-box;
  width: var(--artime-page-content-width) !important;
  max-width: var(--artime-page-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.artime-inner-page .t121__wrap-video {
  border-radius: 0 !important;
  overflow: visible !important;
}

.artime-inner-page .zb-project-2col-743,
.artime-inner-page .zb-project-qiwi-1,
.artime-inner-page .zb-3videos > .wrap,
.artime-inner-page .rt-clients > .wrap,
.artime-inner-page .rt-footer > .wrap,
.artime-inner-page .rt-gif1 > .wrap,
.artime-inner-page .rt-gif2 > .wrap,
.artime-inner-page .rt-media2 > .wrap,
.artime-inner-page .rt-services > .wrap,
.artime-inner-page .rt-text1 > .wrap,
.artime-inner-page .rt-text2 > .wrap,
.artime-inner-page .rt-videos3 > .wrap {
  box-sizing: border-box;
  width: var(--artime-page-shell-width) !important;
  max-width: var(--artime-page-shell-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.artime-inner-page .zb-project-2col-743 > .zb-grid-743 {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.artime-inner-page .t661__row,
.artime-inner-page .t667__row {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.artime-inner-page .t661__container_indent,
.artime-inner-page .t667__container_indent {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.artime-inner-page .rt-clients .wrap,
.artime-inner-page .rt-footer .wrap,
.artime-inner-page .rt-gif1 .wrap,
.artime-inner-page .rt-gif2 .wrap,
.artime-inner-page .rt-media2 .wrap,
.artime-inner-page .rt-services .wrap,
.artime-inner-page .rt-text1 .wrap,
.artime-inner-page .rt-text2 .wrap,
.artime-inner-page .rt-videos3 .wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.artime-inner-page .artime-case-video-wrap {
  width: min(100%, calc(var(--artime-case-hero-max-height) * 16 / 9));
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: auto !important;
  max-height: var(--artime-case-hero-max-height);
}

.artime-inner-page .artime-case-video-wrap[data-artime-video-aspect] {
  width: min(100%, calc(var(--artime-case-hero-max-height) * var(--artime-video-aspect))) !important;
  max-height: var(--artime-case-hero-max-height);
  aspect-ratio: var(--artime-video-aspect) / 1;
}

.artime-inner-page .artime-case-video-wrap[data-artime-video-orientation="narrow"] {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.artime-inner-page .artime-case-video-wrap[data-artime-video-orientation="wide"] {
  margin-left: 0 !important;
  margin-right: auto !important;
}

@media (min-width: 981px) {
  .artime-inner-page #rec1525950891 .rt-media2 > .wrap {
    width: min(var(--artime-page-content-width), var(--artime-case-hero-max-height)) !important;
    max-width: min(var(--artime-page-content-width), var(--artime-case-hero-max-height)) !important;
    margin-left: var(--artime-page-content-edge) !important;
    margin-right: auto !important;
  }

  .artime-inner-page #rec1529556031 .rt-media2 > .wrap {
    width: min(var(--artime-page-content-width), calc(var(--artime-case-hero-max-height) * 1.47)) !important;
    max-width: min(var(--artime-page-content-width), calc(var(--artime-case-hero-max-height) * 1.47)) !important;
    margin-left: var(--artime-page-content-edge) !important;
    margin-right: auto !important;
  }
}

.artime-inner-page .rt-media2 .media video,
.artime-inner-page .rt-media2 .media img,
.artime-inner-page .rt-media2 .frame video,
.artime-inner-page .rt-media2 .frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.artime-inner-page .rt-media2 .frame {
  position: relative;
  overflow: hidden;
}

.artime-inner-page .artime-static-elem[data-elem-id="1759226643355"],
.artime-inner-page .artime-static-elem[data-elem-id="175922804365773290"],
.artime-inner-page .artime-static-layout .artime-static-elem[data-field-axisx-value="left"][data-field-left-value="50"] {
  left: var(--artime-page-static-edge) !important;
}

.artime-inner-page .artime-static-elem[data-elem-id="175922705540695750"],
.artime-inner-page .artime-static-layout .artime-static-elem[data-field-axisx-value="right"][data-field-left-value="-50"],
.artime-inner-page .artime-static-layout .artime-static-elem[data-field-axisx-value="right"][data-field-left-value="-70"] {
  left: auto !important;
  right: var(--artime-page-static-edge) !important;
}

.artime-inner-page .artime-static-elem[data-elem-id="175922705540695750"] {
  width: 48% !important;
}

.artime-inner-page .artime-static-layout .artime-static-elem[data-elem-id="175923352562460830"] {
  transform: translateY(-3px) !important;
}

@media (max-width: 980px) {
  .artime-inner-page .artime-static-elem[data-elem-id="1759226643355"],
  .artime-inner-page .artime-static-elem[data-elem-id="175922804365773290"],
  .artime-inner-page .artime-static-elem[data-elem-id="175922705540695750"] {
    left: var(--artime-page-static-edge) !important;
    right: auto !important;
    width: calc(100% - (var(--artime-page-static-edge) * 2)) !important;
  }
}

/* Homepage intro: keep the greeting and supporting text as one compact block. */
#rec1241912786,
#rec1241927436 {
  margin: 0 !important;
  padding: 0 !important;
}

#rec1241912786 .t396,
#rec1241912786 .t396__artboard,
#rec1241912786 .t396__carrier,
#rec1241912786 .t396__filter,
#rec1241927436 .t396,
#rec1241927436 .t396__artboard,
#rec1241927436 .t396__carrier,
#rec1241927436 .t396__filter {
  height: auto !important;
  min-height: 0 !important;
}

#rec1241912786 .t396__elem,
#rec1241927436 .t396__elem {
  position: static !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  transform: none !important;
}

#rec1241912786 .tn-atom,
#rec1241927436 .tn-atom {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
}

#rec1241977871 .t396,
#rec1241977871 .t396__artboard,
#rec1241977871 .t396__carrier,
#rec1241977871 .t396__filter {
  height: 0 !important;
  min-height: 0 !important;
}

#rec1241977871.artime-zero-spacer {
  height: 0 !important;
  min-height: 0 !important;
}

#rec1241927436 {
  margin-top: 16px !important;
}

#rec1242201506 .t396,
#rec1242201506 .t396__artboard,
#rec1242201506 .t396__carrier,
#rec1242201506 .t396__filter {
  height: var(--artime-intro-section-gap) !important;
  min-height: 0 !important;
}

#rec1242201506.artime-zero-spacer {
  height: var(--artime-intro-section-gap) !important;
  min-height: 0 !important;
}

@media (max-width: 980px) {
  #rec1241927436 {
    margin-top: 14px !important;
  }
}

@media (max-width: 640px) {
  #rec1241927436 {
    margin-top: 12px !important;
  }
}

/* Homepage semantic section rhythm. */
#rec1453051811,
#rec1468584011,
#rec1403340321 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

#rec1453051811 .t396,
#rec1453051811 .t396__artboard,
#rec1453051811 .t396__carrier,
#rec1453051811 .t396__filter,
#rec1468584011 .t396,
#rec1468584011 .t396__artboard,
#rec1468584011 .t396__carrier,
#rec1468584011 .t396__filter,
#rec1403340321 .t396,
#rec1403340321 .t396__artboard,
#rec1403340321 .t396__carrier,
#rec1403340321 .t396__filter {
  height: auto !important;
  min-height: 0 !important;
}

#rec1453051811 .t396__elem,
#rec1468584011 .t396__elem,
#rec1403340321 .t396__elem {
  position: static !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  transform: none !important;
}

#rec1453051811 .tn-atom,
#rec1468584011 .tn-atom,
#rec1403340321 .tn-atom {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
}

#rec1242133511 .t396,
#rec1242133511 .t396__artboard,
#rec1242133511 .t396__carrier,
#rec1242133511 .t396__filter {
  height: var(--artime-section-gap) !important;
  min-height: 0 !important;
}

#rec1242133511.artime-zero-spacer {
  height: var(--artime-section-gap) !important;
  min-height: 0 !important;
}

#rec1242133601 .t396,
#rec1242133601 .t396__artboard,
#rec1242133601 .t396__carrier,
#rec1242133601 .t396__filter {
  height: 0 !important;
  min-height: 0 !important;
}

#rec1242133601.artime-zero-spacer {
  height: 0 !important;
  min-height: 0 !important;
}

#rec1453051811,
#rec1403340321 {
  margin-bottom: var(--artime-heading-gap) !important;
}

/* all_project heading ("Все проекты"): remove oversized white gap and keep the same rhythm as homepage headings */
#rec1453150581 .t396,
#rec1453150581 .t396__artboard,
#rec1453150581 .t396__carrier,
#rec1453150581 .t396__filter {
  height: auto !important;
  min-height: 0 !important;
}

#rec1453150581 .t396__elem {
  position: static !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  transform: none !important;
}

#rec1453150581 .tn-atom {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
}

#rec1453150581 {
  padding-bottom: 0 !important;
  margin-bottom: var(--artime-heading-gap) !important;
}

#rec1403340321 {
  margin-top: var(--artime-section-gap) !important;
}

#rec1468584011 {
  margin-top: var(--artime-section-gap) !important;
  margin-bottom: var(--artime-section-gap) !important;
}

#rec1349709471 {
  margin-top: var(--artime-section-gap) !important;
}

@media (max-width: 980px) {
  #rec1468584011 {
    margin-bottom: var(--artime-section-gap) !important;
  }

  #rec1403340321 {
    margin-top: var(--artime-section-gap) !important;
  }
}

@media (max-width: 640px) {
  #rec1468584011 {
    margin-bottom: var(--artime-section-gap) !important;
  }

  #rec1403340321 {
    margin-top: var(--artime-section-gap) !important;
  }
}

/* Local image zoom overlay. */
.artime-local-zoomable {
  cursor: zoom-in;
}

body.artime-lightbox-open {
  overflow: hidden;
}

.artime-lightbox[hidden] {
  display: none !important;
}

.artime-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.92);
}

.artime-lightbox__figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.artime-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 128px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.artime-lightbox__caption {
  max-width: 960px;
  color: #ffffff;
  font-family: var(--font-main, "Nekst", Arial, sans-serif);
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}

.artime-lightbox__button {
  position: absolute;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--font-main, "Nekst", Arial, sans-serif);
  cursor: pointer;
}

.artime-lightbox__button:hover,
.artime-lightbox__button:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.artime-lightbox__close {
  top: 24px;
  right: 24px;
  padding: 12px 18px;
  font-size: 16px;
}

.artime-lightbox__prev,
.artime-lightbox__next {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 28px;
  line-height: 48px;
}

.artime-lightbox__prev {
  left: 24px;
}

.artime-lightbox__next {
  right: 24px;
}

@media (max-width: 640px) {
  .artime-lightbox {
    padding: 56px 16px 24px;
  }

  .artime-lightbox__image {
    max-height: calc(100vh - 112px);
  }

  .artime-lightbox__close {
    top: 14px;
    right: 14px;
    padding: 10px 14px;
  }

  .artime-lightbox__prev,
  .artime-lightbox__next {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

/* Mobile layout: shared contact and footer records use the same structure on every page. */
@media (max-width: 640px) {
  #rec1162157501 .t-cover,
  #rec1162157501 #recorddiv1162157501 {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    margin-left: var(--artime-inner-gutter) !important;
    margin-right: var(--artime-inner-gutter) !important;
  }

  #rec1162157501 .t-cover__carrier,
  #rec1162157501 .t-cover__filter,
  #rec1162157501 .t-cover__wrapper {
    height: 100% !important;
    min-height: 0 !important;
  }

  #rec1162157501 .artime-hero-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .artime-contact-layout {
    padding-top: 72px !important;
  }

  .artime-contact-layout .artime-static-artboard,
  .artime-contact-layout .artime-static-carrier,
  .artime-contact-layout .artime-static-filter {
    height: 690px !important;
    min-height: 690px !important;
    overflow: visible !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1770115563846000001"],
  .artime-contact-layout .artime-static-elem[data-elem-id="1758784248294"],
  .artime-contact-layout .artime-static-elem[data-elem-id="1758781836158"],
  .artime-contact-layout .artime-static-elem[data-elem-id="175878224832653840"],
  .artime-contact-layout .artime-static-elem[data-elem-id="1758782644037"] {
    right: auto !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1770115563846000001"] {
    top: 0 !important;
    left: var(--artime-inner-gutter) !important;
    width: calc(100% - (var(--artime-inner-gutter) * 2)) !important;
    height: auto !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1770115563846000001"] .tn-atom {
    white-space: normal !important;
    font-size: clamp(38px, 12vw, 52px) !important;
    line-height: 1.12 !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1758784248294"] {
    top: 150px !important;
    left: var(--artime-inner-gutter) !important;
    width: calc(100% - (var(--artime-inner-gutter) * 2)) !important;
    height: auto !important;
  }

  .artime-contact-layout .artime-contact-input,
  .artime-contact-layout .artime-contact-submit {
    width: 100% !important;
  }

  .artime-contact-layout .artime-contact-submit {
    box-sizing: border-box !important;
    max-width: none !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1758781836158"] {
    top: 500px !important;
    left: var(--artime-inner-gutter) !important;
    width: 130px !important;
    height: auto !important;
    z-index: 5 !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1758781836158"] .tn-atom {
    white-space: nowrap !important;
    font-size: clamp(40px, 13vw, 56px) !important;
    line-height: 1.05 !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="175878224832653840"] {
    top: 575px !important;
    left: var(--artime-inner-gutter) !important;
    width: calc(100% - (var(--artime-inner-gutter) * 2)) !important;
    height: auto !important;
    z-index: 5 !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="175878224832653840"] .tn-atom {
    font-size: 15px !important;
    line-height: 1.22 !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1758782644037"] {
    top: 508px !important;
    left: calc(var(--artime-inner-gutter) + 132px) !important;
    width: 30px !important;
    height: 38px !important;
    z-index: 6 !important;
  }

  .artime-contact-layout .artime-static-elem[data-elem-id="1758782644037"] .tn-atom {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] {
    padding-top: 36px !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-artboard,
  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-carrier,
  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-filter {
    height: 250px !important;
    min-height: 250px !important;
    overflow: visible !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="1756142755492"] {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .rt-footer .wrap {
    padding-left: var(--artime-inner-gutter) !important;
    padding-right: var(--artime-inner-gutter) !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .rt-footer .top {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 0 !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .rt-footer .col {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="175992357383721620"],
  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="175992357383462590"],
  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="175992357383157070"],
  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="175992357382736820"] {
    top: 196px !important;
    right: auto !important;
    width: 29px !important;
    height: 29px !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="175992357383721620"] {
    left: var(--artime-inner-gutter) !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="175992357383462590"] {
    left: calc(var(--artime-inner-gutter) + 40px) !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="175992357383157070"] {
    left: calc(var(--artime-inner-gutter) + 80px) !important;
  }

  .artime-static-layout[data-artime-role="footer-contacts"] .artime-static-elem[data-elem-id="175992357382736820"] {
    left: calc(var(--artime-inner-gutter) + 120px) !important;
  }

  .artime-html-module[data-artime-role="footer-legal"] {
    padding-top: 24px !important;
  }
}
