body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(to bottom right, #d0eaff, #f4f9ff);
    min-height: 100vh;
}
.card {
    transition: transform 0.2s ease-in-out;
}
.card:hover {
    transform: scale(1.05);
}


.uvod-logo {
    max-width: 200px;
}

@media (min-width: 992px) {
    .uvod-logo {
        max-width: 150px;
    }
}


.card-karta-uvod .card-img-top {
    width: 100% !important;
    height: 120px !important;
    object-fit: contain !important;
    object-position: center;
    background-color: #f8f9fa;
}


.fotomisto-detail-img {
    max-height: 85vh;
    object-fit: contain;
    background-color: #fff;
}


.exif-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}
.exif-item {
    font-size: 0.85rem;
    color: #555;
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}


.uvod-scroll-x {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

.uvod-scroll-item {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
}

.uvod-scroll-x::-webkit-scrollbar {
    height: 6px;
}
.uvod-scroll-x::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}


@media (min-width: 992px) {
    .uvod-responsive-strip.row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .uvod-responsive-strip {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.5rem;
        overflow-x: visible !important;
        overflow-y: visible !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        max-width: 100%;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        box-sizing: border-box;
    }

    .uvod-responsive-strip > .col {
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    
    .card-karta-uvod .card-img-top {
        height: clamp(100px, 22vw, 150px) !important;
    }

    .card-karta-uvod .card-body {
        padding-top: 0.45rem !important;
        padding-bottom: 0.45rem !important;
    }

    .card-karta-uvod .card-title {
        font-size: clamp(0.75rem, 1.1vw, 0.9rem);
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .card-karta-uvod .small {
        font-size: clamp(0.68rem, 1vw, 0.8rem);
    }
}

.lin {
    color: black;
    text-decoration: none;
    font-weight: bold;
}
