.elementor-101234 .elementor-element.elementor-element-f50e023{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-391ae5e4 *//* FIX: WP Gallery thumbnails become "thin strips" */
#gallery-1.gallery{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
}

#gallery-1 .gallery-item{
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

#gallery-1 .gallery-icon{
  border-radius: 18px;
  overflow: hidden;
  background: #0b0f12;
  /* нормальный размер плитки: выбирай один вариант ниже */
  aspect-ratio: 3 / 4;        /* вертикальная плитка (как у тебя по стилю) */
  /* aspect-ratio: 4 / 3; */  /* горизонтальная плитка */
  /* aspect-ratio: 1 / 1; */  /* квадрат */
}

#gallery-1 .gallery-icon a{
  display: block;
  width: 100%;
  height: 100%;
}

#gallery-1 .gallery-icon img{
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}/* End custom CSS */