/* lithosshop.com: design polish on top of the Elementor output (spacing, alignment, mobile). Loaded last on every page. */

html, body { overflow-x: clip; }

h1, h2, h3, h4, h5, h6, .elementor-heading-title { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: #88e285; color: #0a0a0a; }

/* kontakt: product photo was tiling behind the form; give the form room */
.elementor-7 .elementor-element-f9a320a { background-size: cover !important; background-repeat: no-repeat !important; background-position: center !important; --padding-bottom: 96px !important; }
.elementor-element-2ee7b92 { margin-bottom: 8px; }

/* benefit cards: body text starts on one line when a heading wraps; readable size */
@media (min-width: 1025px) {
  .elementor-7 .e-con.e-child .elementor-heading-title { min-height: 40px; display: flex; align-items: center; justify-content: center; }
}
.elementor-7 .e-con.e-child .elementor-widget-text-editor { font-size: 15px !important; }

/* PDF buttons: equal widths, closer together */
.elementor-element-40a6d04 .elementor-button, .elementor-element-81935a1 .elementor-button,
.elementor-element-b9df0a5 .elementor-button, .elementor-element-b96cde4 .elementor-button { min-width: 300px; justify-content: center; }
.elementor-element-40a6d04, .elementor-element-81935a1, .elementor-element-b9df0a5, .elementor-element-b96cde4 { margin-block: 8px !important; }

/* logo hub (/): footer at the bottom, rows centred, logos in one box */
.elementor-17 { min-height: 100svh; display: flex; flex-direction: column; }
.elementor-element-6d48e6a, .elementor-element-e665438, .elementor-element-37eb772 { --flex-grow: 1 !important; flex-grow: 1 !important; justify-content: center !important; }
.elementor-element-6d48e6a > .e-con-inner, .elementor-element-e665438 > .e-con-inner { justify-content: center; align-items: center; }
.elementor-17 .elementor-widget-image img { max-height: 140px; max-width: 190px; width: auto !important; height: auto; object-fit: contain; }

.elementor-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; line-height: 1.25 !important; }
a.abk-priv { display: inline-block; padding: 14px 8px; }

@media (max-width: 767px) {
  .e-con.e-parent { --padding-left: 20px !important; --padding-right: 20px !important; }
  .animated.fadeInRight, .animated.fadeInLeft { animation-name: fadeIn !important; }
  .elementor-7 .elementor-widget-text-editor { font-size: 16px !important; line-height: 1.55 !important; }
  .elementor-7 .elementor-element-f9a320a { --padding-bottom: 56px !important; }
  .abk-lithos { margin-inline: auto !important; }

  /* hero: kicker sits close to the headline, headline lines don't collide */
  .elementor-element-53ab5d6 { margin-bottom: 16px !important; }
  .elementor-element-53ab5d6 :is(p, span, h1, h2, h3, h4, h5, h6) { font-size: 14px !important; }
  .elementor-element-779ffed :is(h1, h2) { line-height: 1.05 !important; }

  /* three product logos in one row instead of a 640px stack */
  .elementor-element-cb5891d > .e-con-inner { flex-direction: row !important; flex-wrap: nowrap !important; gap: 8px; }
  .elementor-element-5d14579, .elementor-element-7e35f32, .elementor-element-3358270 { width: 33% !important; --width: 33%; --padding-left: 0px !important; --padding-right: 0px !important; }
  .elementor-element-cb5891d { --padding-top: 40px !important; --padding-bottom: 40px !important; }

  .elementor-element-aad5649 img { width: 96px !important; height: auto; }
  .elementor-element-40a6d04 .elementor-button, .elementor-element-81935a1 .elementor-button,
  .elementor-element-b9df0a5 .elementor-button, .elementor-element-b96cde4 .elementor-button { min-width: 0; width: 100%; }

  .elementor-17 .elementor-widget-image img { max-height: 96px; max-width: 130px; }

  #trp-floater-ls { right: 12px !important; left: auto !important; bottom: 12px !important; width: auto !important; min-width: 0 !important; }
  #trp-floater-ls-current-language a, #trp-floater-ls-language-list a { font-size: 0 !important; padding: 10px 12px !important; }
  #trp-floater-ls img.trp-flag-image { margin: 0 !important; }
}
