/* ==========================================================
   ELTOM d.o.o. Mostar — javna stranica
   ========================================================== */

:root {
    --ink-0: #0f0f0f;
    --ink-1: #161616;           /* ista boja kao pozadina logotipa */
    --ink-2: #1d1d1d;
    --ink-3: #262626;
    --line: #2b2b2b;
    --line-strong: #3d3d3d;

    --text: #edebe6;
    --text-2: #a8a59e;
    --text-3: #77746e;

    --accent: #fac60e;          /* žuta iz logotipa */
    --accent-hover: #ffd53d;
    --on-accent: #161616;

    --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --header-h: 72px;
    --gutter: clamp(16px, 4vw, 48px);
    --wrap: 1280px;
    --section-y: clamp(72px, 9vw, 128px);

    --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--ink-1);
    color: var(--text);
    font-family: var(--f-sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body.is-locked {
    overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

img,
svg,
canvas,
iframe {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--accent);
    color: var(--on-accent);
}

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 200;
    padding: 10px 14px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
    transform: translateY(-200%);
}

.skip:focus {
    transform: none;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ---------- Dugmad ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .2s, border-color .2s, color .2s;
}

.btn--primary {
    background: var(--accent);
    color: var(--on-accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
}

.btn--ghost {
    border-color: rgba(237, 235, 230, .28);
}

.btn--ghost:hover {
    border-color: var(--text);
}

.btn--sm {
    height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

.btn__meta {
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-3);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
}

.link-arrow::after {
    content: "→";
    color: var(--accent);
    transition: transform .2s var(--ease);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ==========================================================
   Zaglavlje
   ========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: var(--ink-1);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.brand img {
    width: 158px;
    height: 44px;
}

.nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav__list {
    display: flex;
    gap: 4px;
}

.nav__list a {
    position: relative;
    display: block;
    padding: 8px 12px;
    font-size: 15px;
    color: var(--text-2);
    transition: color .2s;
}

.nav__list a:hover,
.nav__list a[aria-current="true"] {
    color: var(--text);
}

.nav__list a[aria-current="true"]::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -15px;
    height: 2px;
    background: var(--accent);
}

.nav__aside {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__phone {
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    color: var(--text-2);
    transition: color .2s;
}

.nav__phone:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 12px;
    height: 44px;
    margin-left: auto;
    padding: 0 4px;
    font-size: 15px;
}

.menu-toggle__icon {
    position: relative;
    width: 22px;
    height: 12px;
}

.menu-toggle__icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s var(--ease), top .25s var(--ease);
}

.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: 10.5px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child {
    top: 5.25px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child {
    top: 5.25px;
    transform: rotate(-45deg);
}

@media (max-width: 1080px) {
    .nav__phone {
        display: none;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 0;
        padding: 16px var(--gutter) 32px;
        background: var(--ink-1);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
    }

    .nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity .2s, transform .25s var(--ease);
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav__list a {
        padding: 18px 0;
        font-size: 28px;
        color: var(--text);
        border-bottom: 1px solid var(--line);
    }

    .nav__list a[aria-current="true"]::after {
        display: none;
    }

    .nav__aside {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-top: 32px;
    }

    .nav__phone {
        display: block;
        font-size: 18px;
        color: var(--text);
    }
}

/* ==========================================================
   Hero
   ========================================================== */

.hero {
    position: relative;
    isolation: isolate;
    min-height: min(calc(100vh - var(--header-h)), 960px);
    min-height: min(calc(100svh - var(--header-h)), 960px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #000;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Animacija logotipa stoji desno od naslova da se ne preklapaju. */
.hero__canvas {
    position: absolute;
    top: 50%;
    right: -4%;
    width: 62%;
    height: auto;
    aspect-ratio: 16 / 9;
    transform: translateY(-62%);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero__canvas.is-ready {
    opacity: 1;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.hero__content {
    padding-top: 120px;
    padding-bottom: clamp(40px, 6vw, 72px);
}

.hero__title {
    max-width: 13ch;
    margin-top: 20px;
    font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.hero__lead {
    max-width: 40ch;
    margin-top: 24px;
    font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem);
    color: var(--text-2);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(237, 235, 230, .16);
}

.facts__item {
    padding: 22px 24px 28px;
    border-left: 1px solid rgba(237, 235, 230, .16);
}

.facts__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.facts dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
}

.facts dd {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-2);
}

.facts strong {
    display: block;
    margin-bottom: 2px;
    font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

@media (max-width: 1100px) {
    .hero__canvas {
        top: 0;
        right: auto;
        left: 50%;
        width: 130%;
        transform: translateX(-50%);
    }

    .hero__content {
        padding-top: 42vw;
    }
}

@media (max-width: 700px) {
    .hero__canvas {
        width: 210%;
    }

    .hero__content {
        padding-top: 64vw;
    }

    .facts {
        grid-template-columns: 1fr 1fr;
    }

    .facts__item:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .facts__item:nth-child(n + 3) {
        border-top: 1px solid rgba(237, 235, 230, .16);
    }
}

/* ==========================================================
   Sekcije — zajedničko
   ========================================================== */

.section {
    padding-block: var(--section-y);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 48px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head__title {
    position: relative;
    padding-top: 22px;
    font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.01em;
    text-wrap: balance;
}

/* Kratka žuta crta iznad naslova — jedini ukras sekcije. */
.section-head__title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--accent);
}

.section-head__intro {
    max-width: 44ch;
    color: var(--text-2);
}

@media (max-width: 760px) {
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================
   O nama
   ========================================================== */

.about__lead {
    font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem);
    line-height: 1.4;
    color: var(--text);
    text-wrap: pretty;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
}

.about__figure {
    grid-column: 1 / span 7;
    align-self: center;
    background: var(--ink-2);
}

.about__figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 1016 / 583;
    object-fit: cover;
}

.about__text {
    grid-column: 8 / span 5;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    color: var(--text-2);
}

.checklist {
    width: 100%;
    border-bottom: 1px solid var(--line);
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    color: var(--text);
}

.checklist li::before {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 900px) {
    .about__grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .about__figure,
    .about__text {
        grid-column: 1 / -1;
    }
}

/* ==========================================================
   Usluge
   ========================================================== */

.services {
    background: var(--ink-0);
}

.services__list {
    border-bottom: 1px solid var(--line);
}

.service {
    display: grid;
    grid-template-columns: 44px minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 28px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.service__icon {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    color: var(--accent);
}

.service__icon svg {
    width: 20px;
    height: 20px;
}

.service__title {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.service__text {
    grid-column: 3;
    grid-row: 1;
    color: var(--text-2);
}

@media (max-width: 760px) {
    .service {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 18px;
        row-gap: 6px;
        align-items: start;
    }

    .service__icon { grid-row: 1 / 3; }
    .service__title { padding-top: 8px; }
    .service__text { grid-column: 2; grid-row: 2; }
}

/* ==========================================================
   Radovi
   ========================================================== */

.tabs {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
}

.tabs__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 2px;
    font-size: 15px;
    color: var(--text-2);
    white-space: nowrap;
    transition: background-color .2s, color .2s;
}

.tabs__btn:hover {
    color: var(--text);
}

.tabs__btn[aria-selected="true"] {
    background: var(--ink-3);
    color: var(--text);
}

.tabs__count {
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    color: var(--text-3);
}

.tabs__btn[aria-selected="true"] .tabs__count {
    color: var(--accent);
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 24px;
}

.work__link {
    display: block;
    width: 100%;
    text-align: left;
}

.work__link:disabled {
    cursor: default;
}

.work__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink-2);
}

.work__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.work__meta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 16px;
}

.work__count {
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    line-height: 1.9;
    color: var(--text-3);
}

.work__count {
    white-space: nowrap;
}

.work__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.work__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: text-decoration-color .2s;
}

.work__desc {
    font-size: 15px;
    color: var(--text-2);
}

.work__link:not(:disabled):hover .work__media img {
    transform: scale(1.035);
}

.work__link:not(:disabled):hover .work__title {
    text-decoration-color: var(--accent);
}

.works__more {
    display: flex;
    justify-content: center;
    margin-top: 72px;
}

.empty {
    padding: 48px 0;
    color: var(--text-3);
}

@media (max-width: 1080px) {
    .works__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .works__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .works__more {
        margin-top: 48px;
    }

    .works__more .btn {
        width: 100%;
        justify-content: center;
    }

    .tabs {
        display: flex;
        width: 100%;
    }

    .tabs__btn {
        flex: 1;
        justify-content: center;
        padding: 0 8px;
        font-size: 14px;
    }
}

/* ==========================================================
   Partneri
   ========================================================== */

.partners {
    background: var(--ink-0);
}


.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 70s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
    padding-right: clamp(40px, 6vw, 80px);
}

.marquee__group img {
    width: 150px;
    height: 56px;
    object-fit: contain;
}

.marquee__group a {
    display: block;
    transition: opacity .2s;
}

.marquee__group a:hover {
    opacity: .75;
}

@keyframes marquee {
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================
   Kontakt
   ========================================================== */

.contact__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 56px;
}

.contact__info {
    grid-column: 1 / span 6;
}

.contact__info .section-head {
    display: block;
    margin-bottom: 48px;
}

.contact__info .section-head__intro {
    margin-top: 16px;
}

.contact__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.contact__details dt {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
}

.contact__details dd {
    font-size: 17px;
    color: var(--text);
    overflow-wrap: anywhere;
}

.contact__details a {
    border-bottom: 1px solid var(--line-strong);
    transition: border-color .2s, color .2s;
}

.contact__details a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.contact__map {
    grid-column: 8 / span 5;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact__map iframe {
    width: 100%;
    flex: 1;
    min-height: 420px;
    border: 0;
    background: var(--ink-2);
}

.contact__map-link {
    align-self: flex-start;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    color: var(--text-2);
    border-bottom: 1px solid var(--line-strong);
}

.contact__map-link:hover {
    color: var(--text);
}

@media (max-width: 900px) {
    .contact__info,
    .contact__map {
        grid-column: 1 / -1;
    }

    .contact__map iframe {
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .contact__details {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   Podnožje
   ========================================================== */

.site-footer {
    border-top: 1px solid var(--line);
    padding-block: 32px;
    font-size: 14px;
    color: var(--text-3);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}

.site-footer__inner img {
    width: 115px;
    height: 32px;
}

.site-footer__links {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.site-footer__links a {
    color: var(--text-2);
}

.site-footer__links a:hover {
    color: var(--text);
}

/* ==========================================================
   Lightbox
   ========================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: #0a0a0a;
    animation: fade .2s ease;
}

@keyframes fade {
    from { opacity: 0; }
}

.lightbox__bar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--line);
}

.lightbox__heading {
    min-width: 0;
}

.lightbox__title {
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox__desc {
    font-size: 14px;
    color: var(--text-3);
}

.lightbox__counter {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    color: var(--text-2);
    white-space: nowrap;
}

.lightbox__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
}

.lightbox__close:hover {
    border-color: var(--text);
}

.lightbox__close svg {
    width: 20px;
    height: 20px;
}

.lightbox__stage {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

/* Apsolutno pozicionirana: slika uvijek stane cijela u prostor između trake i sličica. */
.lightbox__img {
    position: absolute;
    top: 24px;
    left: 88px;
    width: calc(100% - 176px);
    height: calc(100% - 48px);
    object-fit: contain;
    user-select: none;
    transition: opacity .2s;
}

.lightbox__img.is-loading {
    opacity: .3;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    background: rgba(22, 22, 22, .7);
    transition: border-color .2s;
}

.lightbox__nav:hover {
    border-color: var(--text);
}

.lightbox__nav svg {
    width: 22px;
    height: 22px;
}

.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }

.lightbox__thumbs {
    display: flex;
    gap: 8px;
    padding: 16px var(--gutter);
    overflow-x: auto;
    border-top: 1px solid var(--line);
    scrollbar-width: thin;
}

.lightbox__thumbs button {
    flex: none;
    width: 76px;
    height: 56px;
    opacity: .4;
    transition: opacity .2s;
}

.lightbox__thumbs button:hover {
    opacity: .8;
}

.lightbox__thumbs button[aria-current="true"] {
    opacity: 1;
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}

.lightbox__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .lightbox__img {
        top: 12px;
        left: 0;
        width: 100%;
        height: calc(100% - 84px);
    }

    .lightbox__nav {
        top: auto;
        bottom: 16px;
        margin-top: 0;
        width: 44px;
        height: 44px;
    }

    .lightbox__desc {
        display: none;
    }
}

/* ==========================================================
   Smanjeno kretanje
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .marquee__track {
        animation: none;
        width: auto;
    }

    .marquee__group {
        flex-wrap: wrap;
        justify-content: center;
        padding-inline: var(--gutter);
    }

    .marquee__group[aria-hidden="true"] {
        display: none;
    }
}
