/* LIBAR "moderno": a light modern layer over the existing theme (w4w).
   Same colours (red #d62d1c, grey #545454), same fonts (Josefin Sans, Open Sans, Courgette), same content.
   Every rule is scoped to body.lm, so removing the body class restores the old look. */

body.lm {
  --lm-red: #d62d1c;
  --lm-red-d: #b52415;
  --lm-ink: #2b2f36;
  --lm-text: #454a52;
  --lm-mute: #6b717b;
  --lm-line: #e6e8ed;
  --lm-soft: #f6f7f9;
  --lm-r: 16px;
  --lm-sh: 0 10px 30px rgba(22, 28, 38, .07);
  --lm-sh2: 0 18px 44px rgba(22, 28, 38, .14);
  color: var(--lm-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lm *, body.lm *::before, body.lm *::after { box-sizing: border-box; }
body.lm img { max-width: 100%; height: auto; }
body.lm ::selection { background: var(--lm-red); color: #fff; }
body.lm :focus-visible { outline: 3px solid rgba(214, 45, 28, .45); outline-offset: 2px; }
.lm .lm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Headings ---------- */
.lm h1, .lm h2, .lm h3 { color: var(--lm-ink); letter-spacing: -.01em; }
.lm .content-area h1 { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.15; margin: 18px 0 26px; }
.lm .content-area h1::after, .lm .lm-h2line::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--lm-red); margin-top: 16px;
}
.lm .content-area h2 { font-size: 25px; margin: 38px 0 16px; }

/* ---------- Header ---------- */
.lm #masthead {
  position: sticky; top: 0; z-index: 1000; background: #fff;
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.lm.lm-scrolled #masthead { box-shadow: 0 8px 26px rgba(22, 28, 38, .09); border-bottom-color: var(--lm-line); }
.lm #masthead > .container-fluid { margin-top: 0 !important; padding-top: 8px; padding-bottom: 6px; }
.lm #masthead .logo { padding: 6px 15px; margin-top: 0; }
.lm #masthead .logo1 { height: 74px; width: auto; transition: height .25s; }
.lm.lm-scrolled #masthead .logo1 { height: 50px; }
.lm.lm-scrolled #masthead > .container-fluid { padding-top: 4px; padding-bottom: 0; }
.lm.lm-scrolled #masthead .logo { padding-top: 4px; padding-bottom: 4px; }
.lm.lm-scrolled #site-navigation { margin-top: 2px !important; }
.lm #site-navigation { margin-top: 6px !important; }
.lm #masthead .float-lr {
  float: none; width: auto; margin: 0 0 2px; padding: 0 15px; display: flex; align-items: center; justify-content: flex-end;
  gap: 4px; font-size: 15px; color: var(--lm-ink); white-space: nowrap;
}
.lm #masthead .float-lr > a[href^="tel:"] { font-weight: 700; margin-left: 4px; }
.lm #masthead .float-lr svg { margin: 0 0 0 8px !important; display: block; transition: transform .2s; }
.lm #masthead .float-lr a:hover svg { transform: translateY(-2px); }
.lm .lm-cta {
  display: inline-block; margin-left: 16px; padding: 9px 18px; border-radius: 10px; background: var(--lm-red); color: #fff !important;
  font: 700 14px/1.2 'Josefin Sans', serif; letter-spacing: .03em; text-transform: uppercase; text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(214, 45, 28, .28); transition: background .2s, transform .2s, box-shadow .2s;
}
.lm .lm-cta:hover { background: var(--lm-red-d); transform: translateY(-1px); box-shadow: 0 12px 22px rgba(214, 45, 28, .34); }
.lm .sm-mint a, .lm .sm-mint a:hover, .lm .sm-mint a:focus, .lm .sm-mint a:active { letter-spacing: .04em; transition: color .2s; }
.lm .sm-mint ul { border-radius: 12px !important; box-shadow: var(--lm-sh2) !important; padding: 8px 0; }
.lm .sm-mint ul a.current { background-color: #fbe9e7; }
@media (min-width: 1201px) {
  .lm #main-menu { margin-top: 8px; margin-bottom: 8px; }
  .lm.lm-scrolled #main-menu { margin-top: 0; margin-bottom: 4px; }
  .lm #main-menu > li > a { position: relative; }
  .lm #main-menu > li > a::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; border-radius: 2px;
    background: var(--lm-red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .lm #main-menu > li > a.has-submenu::after { right: 34px; }
  .lm #main-menu > li > a:hover::after, .lm #main-menu > li > a.current::after { transform: scaleX(1); }
  .lm #main-menu > li.menu-item-language > a::after { display: none; }
  .lm.lm-scrolled #main-menu > li > a { padding-top: 9px; padding-bottom: 9px; }
  .lm.lm-scrolled #main-menu > li > a::after { bottom: 2px; }
}

/* ---------- Buttons ---------- */
.lm .btn1, .lm .btn2, .lm .btn3, .lm .btn5, .lm .wpcf7 input[type="submit"] {
  border-radius: 10px; box-shadow: 0 8px 18px rgba(22, 28, 38, .12); letter-spacing: .03em;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.lm .btn1:hover, .lm .btn2:hover, .lm .btn3:hover, .lm .btn5:hover, .lm .wpcf7 input[type="submit"]:hover { transform: translateY(-1px); }
.lm .btn3, .lm .btn3:link, .lm .btn3:visited { box-shadow: none; padding: 11px 22px; }
.lm .btn3:hover, .lm .btn3:active { background: var(--lm-red); border-color: var(--lm-red); color: #fff; }
.lm .btn3:hover i, .lm .btn3:active i { color: #fff !important; }
.lm .btn5 { padding: 14px 22px; }
.lm .lm-btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px; border: 2px solid transparent; text-decoration: none !important;
  font: 700 15px/1.2 'Josefin Sans', serif; letter-spacing: .05em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.lm .lm-btn:hover { transform: translateY(-1px); }
.lm .lm-btn-light { background: #fff; color: var(--lm-ink) !important; }
.lm .lm-btn-light:hover { background: var(--lm-red); color: #fff !important; }
.lm .lm-btn-ghost { border-color: rgba(255, 255, 255, .65); color: #fff !important; }
.lm .lm-btn-ghost:hover { background: #fff; border-color: #fff; color: var(--lm-ink) !important; }

/* ---------- Home: hero with the order form ---------- */
.lm .lm-hero {
  position: relative; isolation: isolate; color: #fff;
  background: #1c1f25 url(/wp-content/themes/w4w/img/slider1.jpg) center / cover no-repeat;
}
.lm .lm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20, 22, 28, .88) 0%, rgba(20, 22, 28, .70) 48%, rgba(20, 22, 28, .42) 100%);
}
.lm .lm-hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); gap: 56px; align-items: start;
  padding-top: 40px; padding-bottom: 52px;
}
.lm .lm-hero-text { padding-top: 118px; }
/* Long German words must not widen the page on small phones. */
.lm .lm-hero { overflow-wrap: anywhere; }
.lm .lm-eyebrow {
  margin: 0 0 16px; font: 600 13px/1.5 'Josefin Sans', serif; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.lm .lm-hero h1 {
  color: #fff; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; margin: 0 0 22px; letter-spacing: -.02em;
}
.lm .lm-hero h1::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 5px; background: var(--lm-red); margin-top: 22px; }
.lm .lm-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, .92); margin: 0 0 24px; max-width: 36em; }
.lm .lm-points { list-style: none; margin: 0 0 32px; padding: 0; }
.lm .lm-points li { margin: 0 0 10px; font-size: 17px; color: rgba(255, 255, 255, .95); }
.lm .lm-points .fa { color: #ff6a5a; margin-right: 10px; font-size: 19px; }
.lm .lm-hero-btns { margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }

.lm .lm-order {
  background: #fff; color: var(--lm-text); border-radius: 20px; padding: 28px 28px 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
  border-top: 5px solid var(--lm-red); scroll-margin-top: 130px;
}
.lm .lm-order-head h2 { margin: 0 0 16px; font-size: 28px; line-height: 1.15; color: var(--lm-ink); font-weight: 700; }
.lm .lm-order div.wpcf7 { margin: 0; }
.lm .lm-order .hidden-fields-container { display: none; }
.lm .lm-order [hidden] { display: none !important; }
.lm .lm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lm .lm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 14px; }
.lm .lm-f { display: block; margin: 0; font-weight: 400; min-width: 0; }
.lm .lm-f-wide { grid-column: 1 / -1; }
.lm .lm-l { display: block; margin: 0 0 5px; font: 600 12px/1.3 'Josefin Sans', serif; letter-spacing: .07em; text-transform: uppercase; color: var(--lm-mute); }
.lm .lm-order .wpcf7-form-control-wrap { display: block; }
.lm .lm-order input[type="text"], .lm .lm-order input[type="email"], .lm .lm-order select, .lm .lm-order textarea {
  display: block; width: 100%; height: 46px; margin: 0; padding: 10px 13px; border: 1px solid #d6dae1; border-radius: 10px;
  background: #fff; color: var(--lm-ink); font: 400 16px/1.4 'Open Sans', sans-serif; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.lm .lm-order select {
  padding-right: 36px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b717b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 13px center no-repeat;
}
.lm .lm-order textarea { height: 68px; min-height: 46px; resize: vertical; }

/* Language fields: type to search or pick; a flag on the left */
.lm .lm-combo-box { position: relative; }
.lm .lm-order .lm-combo-box input { padding-right: 40px; text-overflow: ellipsis; }
.lm .lm-order .lm-has-flag .lm-combo-box input { padding-left: 48px; }
.lm .lm-combo-flag { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; }
.lm .lm-flag { display: block; flex: 0 0 auto; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(22, 28, 38, .16); }
.lm .lm-combo-btn {
  position: absolute; right: 0; top: 0; width: 40px; height: 46px; margin: 0; padding: 0; border: 0; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b717b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .2s;
}
.lm .lm-open .lm-combo-btn { transform: rotate(180deg); }
.lm .lm-order ul.lm-combo-list {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 40; width: 100%; min-width: 268px; max-height: 252px; margin: 0; padding: 6px;
  list-style: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: #fff; border: 1px solid #d6dae1; border-radius: 12px; box-shadow: var(--lm-sh2);
}
.lm .lm-order .lm-combo-to ul.lm-combo-list { left: auto; right: 0; }
.lm .lm-combo-list li {
  display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0; padding: 8px 10px; border-radius: 8px;
  font-size: 15px; line-height: 1.3; color: var(--lm-ink); cursor: pointer;
}
.lm .lm-combo-list li::before { display: none; }
.lm .lm-combo-list li[role="option"]:hover, .lm .lm-combo-list li.lm-active { background: #fbe9e7; }
.lm .lm-combo-list li[aria-selected="true"] .lm-combo-name { font-weight: 700; }
.lm .lm-combo-own { margin-left: -4px; color: var(--lm-mute); }
.lm .lm-combo-list li.lm-combo-none { cursor: default; color: var(--lm-mute); font-size: 14px; }

/* Documents: click to choose, or drop on the card */
.lm .lm-drop {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 62px; margin: 0; padding: 10px 14px;
  border: 1.5px dashed #c3c9d3; border-radius: 12px; background: #f8f9fb; font-weight: 400; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.lm .lm-drop:hover, .lm .lm-drop:focus-within, .lm .lm-drag .lm-drop { border-color: var(--lm-red); background: #fff7f6; }
.lm .lm-drop:focus-within, .lm .lm-drag .lm-drop { box-shadow: 0 0 0 4px rgba(214, 45, 28, .14); }
.lm .lm-drag .lm-drop { border-style: solid; }
.lm .lm-file-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; overflow: hidden; }
.lm .lm-drop-ico {
  flex: 0 0 40px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: #fff; border: 1px solid var(--lm-line); color: var(--lm-red);
}
.lm .lm-drop-text { min-width: 0; font-size: 12.5px; line-height: 1.45; color: var(--lm-mute); }
.lm .lm-drop-text strong { font-size: 15px; font-weight: 600; color: var(--lm-ink); }
.lm .lm-drop-drag { font-size: 14px; }
.lm .lm-drop-hint { display: block; }
@media (hover: none), (pointer: coarse) { .lm .lm-drop-drag { display: none; } }
.lm .lm-order ul.lm-file-list { list-style: none; margin: 0; padding: 0; }
.lm .lm-file {
  display: flex; align-items: center; gap: 10px; margin: 8px 0 0; padding: 5px 5px 5px 8px; border: 1px solid var(--lm-line);
  border-radius: 10px; background: #fff; font-size: 14px; line-height: 1.3; color: var(--lm-ink);
}
.lm .lm-file::before { display: none; }
.lm .lm-file-ico {
  flex: 0 0 auto; min-width: 40px; padding: 5px; border-radius: 6px; background: #fbe9e7; color: var(--lm-red-d);
  font: 700 10.5px/1.2 'Josefin Sans', serif; letter-spacing: .05em; text-align: center; text-transform: uppercase;
}
.lm .lm-file-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm .lm-file-size { flex: 0 0 auto; font-size: 13px; color: var(--lm-mute); }
.lm .lm-file-x {
  flex: 0 0 auto; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent;
  color: var(--lm-mute); font-size: 22px; line-height: 1; cursor: pointer;
}
.lm .lm-file-x:hover { background: #f3f4f7; color: var(--lm-red); }
.lm .lm-order .lm-file-error { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--lm-red-d); }
.lm .lm-order input:hover, .lm .lm-order select:hover, .lm .lm-order textarea:hover { border-color: #b9bfc9; background-color: #fff; }
.lm .lm-order input:focus, .lm .lm-order select:focus, .lm .lm-order textarea:focus {
  outline: 0; border-color: var(--lm-red); box-shadow: 0 0 0 4px rgba(214, 45, 28, .14);
}
.lm .lm-order .wpcf7-not-valid, .lm .lm-order .lm-invalid { border-color: var(--lm-red) !important; background-color: #fff7f6 !important; }
.lm .lm-order .wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; color: var(--lm-red-d); }
.lm .lm-submit { margin: 16px 0 0; position: relative; }
.lm .lm-order input[type="submit"] {
  width: 100%; height: 54px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--lm-red); color: #fff;
  font: 700 16px/1 'Josefin Sans', serif; letter-spacing: .08em; box-shadow: 0 12px 24px rgba(214, 45, 28, .30); cursor: pointer;
}
.lm .lm-order input[type="submit"]:hover { background: var(--lm-red-d); border: 0; }
/* While the inquiry and its documents are travelling, the button waits. */
.lm .lm-form[data-status="submitting"] input[type="submit"] { opacity: .65; cursor: progress; pointer-events: none; }
.lm .lm-order .wpcf7-spinner { position: absolute; right: 14px; top: 15px; margin: 0; }
.lm .lm-required { margin: 10px 0 0; font-size: 12.5px; color: var(--lm-mute); text-align: center; }
.lm .lm-order .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.lm .lm-order .wpcf7-response-output pre {
  margin: 8px 0 0; padding: 10px 12px; border: 0; border-radius: 8px; background: #f3f4f7; font: 13px/1.5 Consolas, monospace;
  white-space: pre-wrap; color: var(--lm-ink);
}
.lm .lm-alt {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--lm-line); font-size: 14px; color: var(--lm-mute);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
}
.lm .lm-alt > span { flex: 0 0 100%; }
.lm .lm-order .lm-alt a {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--lm-ink) !important; text-decoration: none !important;
}
.lm .lm-order .lm-alt a:hover { color: var(--lm-red) !important; }
.lm .lm-alt-viber svg { color: #7b519c; }
.lm .lm-alt-wa svg { color: #25a244; }
.lm .lm-alt-mail .fa { color: var(--lm-red); font-size: 17px; }

/* ---------- Home: slow strip of client logos under the hero ---------- */
.lm .lm-logos {
  position: relative; overflow: hidden; padding: 8px 0; background: #fff; border-bottom: 1px solid var(--lm-line);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.lm .lm-logos-track { display: flex; width: max-content; animation: lm-logos 110s linear infinite; }
.lm .lm-logos:hover .lm-logos-track { animation-play-state: paused; }
.lm .lm-logos-set { display: flex; flex: 0 0 auto; align-items: center; margin: 0; padding: 0; list-style: none; }
.lm .lm-logos-set li { flex: 0 0 auto; margin: 0; padding: 0 20px; }
.lm .lm-logos-set img { display: block; width: auto; height: 62px; max-width: none; opacity: .92; }
@keyframes lm-logos { to { transform: translateX(-50%); } }

/* ---------- Home: services ---------- */
.lm #info { margin: 0 !important; padding: 72px 20px 26px; }
.lm #info > .container-fluid { max-width: 1240px; margin: 0 auto; }
.lm #info h2.lm-h, .lm #info .text-center > h1, .lm .lm-clients-title {
  font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; line-height: 1.15; margin: 0 0 44px; text-align: center; color: var(--lm-ink);
}
.lm #info h2.lm-h::after, .lm #info .text-center > h1::after, .lm .lm-clients-title::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--lm-red); margin: 16px auto 0;
}
.lm #info .row + .row, .lm #info2 .row { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; }
.lm #info .row + .row::before, .lm #info .row + .row::after, .lm #info2 .row::before, .lm #info2 .row::after { display: none; }
.lm #info .hp-info {
  float: none; width: auto; flex: 1 1 240px; min-height: 0; margin: 0; padding: 34px 26px 28px; display: flex; flex-direction: column;
  align-items: center; text-align: center; color: var(--lm-text); background: #fff; border: 1px solid var(--lm-line);
  border-radius: var(--lm-r); box-shadow: var(--lm-sh); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.lm #info .hp-info:hover { transform: translateY(-6px); box-shadow: var(--lm-sh2); border-color: #f1c5c0; }
.lm #info .ikone-hp { margin: 0 0 18px; width: 88px; height: 88px; }
.lm #info .hp-info h3.lm-h, .lm #info .hp-info h1 { margin: 0 0 12px !important; font-size: 22px !important; line-height: 1.25; font-weight: 700; }
.lm #info .hp-info p { margin: 0 0 18px; font-size: 15.5px !important; line-height: 1.7 !important; color: var(--lm-text); }
.lm #info .hp-info p br { display: none; }
.lm #info .hp-info > a.a2 { margin-top: auto; display: inline-flex; transition: transform .2s; }
.lm #info .hp-info:hover > a.a2 { transform: translateX(4px); color: var(--lm-red); }

/* ---------- Home: photo tiles ---------- */
.lm #info2 { margin: 0 !important; padding: 30px 20px 76px; }
.lm #info2 > .container { width: auto; max-width: 1240px; padding: 0; }
.lm #info2 .hp-info {
  position: relative; float: none; width: auto; flex: 1 1 240px; min-height: 0; margin: 0; padding: 0 0 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-r); box-shadow: var(--lm-sh);
  transition: transform .25s, box-shadow .25s;
}
.lm #info2 .hp-info:hover { transform: translateY(-6px); box-shadow: var(--lm-sh2); }
.lm #info2 .foto-hp { position: static !important; display: block !important; margin: 0; border: 0; box-shadow: none; overflow: hidden; }
.lm #info2 .foto-hp a { display: block; color: transparent; }
.lm #info2 .foto-hp a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.lm #info2 .foto-hp img { display: block; width: 100%; height: 190px; object-fit: cover; transition: transform .6s; }
.lm #info2 .hp-info:hover .foto-hp img { transform: scale(1.06); }
.lm #info2 .thumb-box-overlay { display: none; }
.lm #info2 .hp-info h3.lm-h, .lm #info2 .hp-info h1 {
  margin: 20px 16px 0 !important; font-size: 15px !important; line-height: 1.5 !important; letter-spacing: .06em; font-weight: 700;
}
.lm #info2 .hp-info hr { margin: 14px auto 0; width: 44px; border-top-width: 3px; border-radius: 3px; }

/* ---------- Home: clients ---------- */
.lm #korisnici { background: var(--lm-soft); padding: 70px 0 64px; }
.lm #korisnici .col-md-12 { float: none; padding: 0 20px !important; }
.lm #korisnici .row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; }
.lm #korisnici .row::before, .lm #korisnici .row::after { display: none; }
.lm #korisnici .client_wrapper1 {
  float: none; width: auto; margin: 0; padding: 18px !important; min-height: 104px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--lm-line) !important; border-radius: 14px; transition: transform .25s, box-shadow .25s;
}
.lm #korisnici .client_wrapper1:hover { transform: translateY(-4px); box-shadow: var(--lm-sh); }
.lm #korisnici .client_wrapper1 img { max-height: 62px; width: auto; filter: grayscale(1); opacity: .78; transition: filter .3s, opacity .3s; }
.lm #korisnici .client_wrapper1:hover img { filter: none; opacity: 1; }

/* ---------- Note band ---------- */
.lm #kontakt > .container-fluid { position: relative; margin: 0 !important; background-position: center; }
.lm #kontakt > .container-fluid::before { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 28, .58); }
.lm #kontakt .container { position: relative; }
.lm .napomena { max-width: 900px; margin: 0 auto; float: none; padding: 76px 15px; font-size: 18px; line-height: 1.8; text-shadow: none; }
.lm .napomena > .fa { font-size: 52px !important; margin-bottom: 22px !important; color: #ff6a5a; }
.lm .napomena .slogan { color: #fff; font-size: clamp(28px, 3vw, 36px); margin: 8px 0 0; }

/* ---------- Footer ---------- */
.lm #footer1 > .container-fluid { padding: 56px 0 44px !important; border-top: 1px solid var(--lm-line); }
.lm #footer1 p { color: var(--lm-mute); }
.lm #footer1 p b { color: var(--lm-ink); font-size: 16px; }
.lm #footer1 img { transition: transform .25s; }
.lm #footer1 a:hover img { transform: translateY(-3px); }
.lm #libar-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Inner pages ---------- */
.lm .parallax {
  position: relative; isolation: isolate; height: auto !important; min-height: 0; margin-top: 0 !important; padding: 62px 20px !important;
  font-size: clamp(18px, 2vw, 25px) !important; color: #fff !important; letter-spacing: .01em;
}
.lm .parallax::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 22, 28, .78), rgba(20, 22, 28, .48)); }
.lm .parallax a { color: #fff !important; text-decoration: none; }
.lm .parallax a:hover { text-decoration: underline; text-underline-offset: 5px; }
/* Long links and runs of no-break spaces (texts copied from other sites) must not widen the page on phones. */
.lm .content-area { overflow-wrap: anywhere; }
.lm .content-area p { margin-bottom: 20px; }
.lm .content-area .margin-top p a:not(:has(button)):not(:has(img)), .lm .content-area .margin-top li a {
  color: var(--lm-red-d); text-decoration: underline; text-decoration-color: rgba(214, 45, 28, .35); text-underline-offset: 3px;
}
.lm .content-area .margin-top p a:not(:has(button)):not(:has(img)):hover, .lm .content-area .margin-top li a:hover { text-decoration-color: currentColor; }
.lm .content-area .margin-top > span[property] { font-size: 13.5px; color: var(--lm-mute); }
.lm .content-area img.alignleft, .lm .content-area img.alignright, .lm .content-area img.aligncenter, .lm .content-area p > img, .lm .novosti-foto img {
  border-radius: 12px;
}
.lm blockquote { border-left: 3px solid var(--lm-red); padding: 6px 0 6px 16px; margin: 0 0 14px; }
.lm #secondary h2 { font-size: 21px; margin: 0 0 14px; }
.lm #secondary > div {
  border: 1px solid var(--lm-line) !important; border-radius: var(--lm-r); padding: 20px !important; background: #fff; box-shadow: var(--lm-sh);
}
.lm #secondary .okvir { border: 0; margin-bottom: 12px; text-align: left; }
.lm #secondary a { color: var(--lm-red-d); font-weight: 600; }

/* Tables (price list) */
.lm .content-area table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--lm-line); border-radius: 14px; overflow: hidden; }
.lm .content-area th { background: var(--lm-ink); color: #fff; padding: 12px 14px; font-family: 'Josefin Sans', serif; letter-spacing: .03em; }
.lm .content-area tbody tr td { padding: 12px 14px !important; border-top: 1px solid var(--lm-line) !important; }
.lm .content-area tbody tr:hover td { background: #fdf3f2; }

/* Forms on inner pages (summer school). The inquiry card (.lm-wpcf7) has its own rules. */
.lm .content-area .wpcf7:not(.lm-wpcf7) input[type="text"], .lm .content-area .wpcf7:not(.lm-wpcf7) input[type="email"],
.lm .content-area .wpcf7:not(.lm-wpcf7) input[type="date"], .lm .content-area .wpcf7:not(.lm-wpcf7) select,
.lm .content-area .wpcf7:not(.lm-wpcf7) textarea {
  width: 100%; max-width: 620px; padding: 12px 14px; border: 1px solid #d6dae1; border-radius: 10px; background: #fff; color: var(--lm-ink);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.lm .content-area .wpcf7:not(.lm-wpcf7) textarea { height: 170px; }
.lm .content-area .wpcf7:not(.lm-wpcf7) input:focus, .lm .content-area .wpcf7:not(.lm-wpcf7) select:focus,
.lm .content-area .wpcf7:not(.lm-wpcf7) textarea:focus {
  outline: 0; border-color: var(--lm-red); box-shadow: 0 0 0 4px rgba(214, 45, 28, .14); background: #fff;
}
.lm .content-area .wpcf7:not(.lm-wpcf7) input[type="submit"] { padding: 18px 30px; box-shadow: 0 12px 24px rgba(214, 45, 28, .28); }

/* Contact page: the same inquiry card as on the home page */
.lm .content-area .lm-order {
  max-width: 680px; margin: 8px 0 36px; border: 1px solid var(--lm-line); border-top: 5px solid var(--lm-red); box-shadow: var(--lm-sh2);
}
.lm .content-area .lm-order p { margin-bottom: 0; }

/* ---------- Scroll-to-top and phone bar ---------- */
.lm #topcontrol img { border-radius: 12px; box-shadow: var(--lm-sh); }
.lm .lm-bar { display: none; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1200px) {
  .lm #masthead > .container-fluid { padding-top: 6px; padding-bottom: 0; }
  .lm #masthead .logo { padding: 4px 15px 2px; }
  .lm #masthead .logo1 { height: 60px; }
  .lm.lm-scrolled #masthead .logo1 { height: 48px; }
  .lm #masthead .visible-xs.text-right { padding-top: 14px; }
  .lm #site-navigation { margin-top: 4px !important; }
  .lm #masthead .float-lr { justify-content: flex-start; padding: 0; margin: 0 0 6px; }
  .lm #site-navigation > div:not(.float-lr) { position: relative; }
  .lm .main-menu-btn { position: absolute; right: 0; top: -40px; margin: 0; }
  .lm #main-menu { border-top: 1px solid var(--lm-line); }
  .lm .lm-hero-in { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 52px; }
  .lm .lm-hero-text { padding-top: 0; }
  .lm .lm-order { max-width: 560px; width: 100%; justify-self: center; }
  .lm #korisnici .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.lm { padding-bottom: 62px; }
  .lm .lm-cta { display: none; }
  .lm .lm-hero-in { display: flex; flex-direction: column; gap: 0; padding-top: 30px; padding-bottom: 44px; }
  .lm .lm-hero-text { display: contents; }
  .lm .lm-eyebrow { order: 1; margin-bottom: 12px; font-size: 11.5px; letter-spacing: .12em; }
  .lm .lm-hero h1 { order: 2; font-size: clamp(30px, 8.6vw, 40px); margin-bottom: 14px; }
  .lm .lm-hero h1::after { margin-top: 14px; width: 56px; height: 4px; }
  .lm .lm-lead { order: 3; font-size: 16.5px; margin-bottom: 22px; }
  .lm .lm-order { order: 4; }
  .lm .lm-points { order: 5; margin: 30px 0 22px; }
  .lm .lm-points li { font-size: 16px; }
  .lm .lm-hero-btns { order: 6; }
  .lm .lm-hero-btns .lm-btn { flex: 1 1 auto; text-align: center; padding: 13px 16px; font-size: 14px; }
  .lm .lm-order { padding: 22px 18px 18px; border-radius: 18px; }
  .lm .lm-order-head h2 { font-size: 25px; }
  .lm #info { padding: 52px 16px 20px; }
  .lm #info2 { padding: 24px 16px 56px; }
  .lm #info .hp-info, .lm #info2 .hp-info { flex-basis: 100%; }
  .lm #korisnici { padding: 52px 0 48px; }
  .lm #korisnici .row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .lm #korisnici .client_wrapper1 { min-height: 84px; padding: 12px !important; }
  .lm .napomena { padding: 56px 10px; font-size: 16.5px; }
  .lm .parallax { padding: 40px 16px !important; }
  .lm .lm-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr;
    background: #fff; border-top: 1px solid var(--lm-line); box-shadow: 0 -8px 24px rgba(22, 28, 38, .10);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .lm .lm-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; padding: 6px 4px;
    color: var(--lm-ink); text-decoration: none; font: 600 12px/1.2 'Josefin Sans', serif; letter-spacing: .04em; text-transform: uppercase;
  }
  .lm .lm-bar a + a { border-left: 1px solid var(--lm-line); }
  .lm .lm-bar .fa { font-size: 20px; color: var(--lm-red); }
  .lm .lm-bar-viber svg { color: #7b519c; }
  .lm .lm-bar-wa svg { color: #25a244; }
  .lm .lm-bar .lm-bar-main { background: var(--lm-red); color: #fff; }
  .lm .lm-bar .lm-bar-main .fa { color: #fff; }
  .lm #topcontrol { display: none; }
}
@media (max-width: 767px) {
  /* Price tables: keep words whole; a table that is still too wide scrolls sideways inside its own box. */
  .lm .content-area table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overflow-wrap: normal; font-size: 13.5px; }
  .lm .content-area tbody tr td, .lm .content-area th { padding: 9px 8px !important; }
  .lm .lm-logos { padding: 6px 0; }
  .lm .lm-logos-set li { padding: 0 12px; }
  .lm .lm-logos-set img { height: 50px; }
  .lm .lm-logos-track { animation-duration: 80s; }
  .lm .content-area .lm-order { margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .lm .lm-fields { grid-template-columns: 1fr; }
  .lm .lm-order ul.lm-combo-list { min-width: 0; }
  .lm #korisnici .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm #masthead .float-lr { font-size: 14px; }
}
@media (max-width: 480px) {
  /* One long word ("Übersetzungsdienste") must fit a small phone. */
  .lm #info h2.lm-h, .lm #info .text-center > h1, .lm .lm-clients-title { font-size: 26px; overflow-wrap: anywhere; }
}
@media (max-width: 359px) {
  .lm #masthead .float-lr { font-size: 12.5px; gap: 2px; }
  .lm #masthead .float-lr svg { width: 21px; height: 21px; margin-left: 5px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.lm *, body.lm *::before, body.lm *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .lm .lm-logos { overflow-x: auto; }
}
