.post-hero-image {
    display: none;
}

.post-hero-image--visible {
    display: block;
}

.blog-lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.blog-lightbox-trigger:focus-visible {
    outline: 3px solid #111827;
    outline-offset: 3px;
}

.blog-lightbox-trigger img,
.post-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 180ms ease, opacity 180ms ease;
}

.post-content .blog-lightbox-trigger {
    width: 100%;
    max-width: none;
    margin: 2rem 0;
}

.post-infographic {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0 2.5rem;
    overflow: hidden;
}

.post-infographic img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.prose {
    min-width: 0;
    overflow-wrap: anywhere;
}

.prose a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.prose table {
    width: 100%;
    max-width: 500px;
    margin: 1.5rem 0 2rem;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #2c2c2a;
}

.prose table th,
.prose table td {
    padding: 0.625rem 0.5rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 0.5px solid #d3d1c7;
}

.prose table th {
    font-family: inherit;
    font-weight: 500;
    border-bottom: 1px solid #2c2c2a;
}

.prose table th:last-child,
.prose table td:last-child {
    text-align: right;
}

.prose table th:nth-child(1),
.prose table td:nth-child(1) {
    width: 46%;
}

.prose table th:nth-child(2),
.prose table td:nth-child(2) {
    width: 34%;
}

.prose table th:nth-child(3),
.prose table td:nth-child(3) {
    width: 20%;
}

.prose table tbody tr:last-child td {
    border-bottom: 0;
}

.prose table .industrija,
.prose table .industry {
    font-family: inherit;
    font-weight: 500;
}

.prose table .kompanija,
.prose table .company {
    color: #5f5e5a;
    font-size: 0.75rem;
}

.blog-lightbox-trigger:hover img {
    transform: scale(1.01);
    opacity: 0.96;
}

.blog-lightbox[hidden] {
    display: none;
}

.blog-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.blog-lightbox__viewport {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-x pan-y;
}

.blog-lightbox__viewport.is-zoomed {
    display: block;
}

.blog-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 7, 18, 0.92);
    cursor: zoom-out;
}

.blog-lightbox__image {
    position: relative;
    z-index: 1;
    display: block;
    max-width: min(96vw, 1600px);
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.25rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    cursor: zoom-in;
}

.blog-lightbox__viewport.is-zoomed .blog-lightbox__image {
    width: min(300vw, 3000px);
    max-width: none;
    max-height: none;
    height: auto;
    margin: 0;
    cursor: zoom-out;
}

.blog-lightbox__zoom {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    min-width: 4rem;
    height: 2.75rem;
    padding: 0 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.8);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.blog-lightbox__zoom[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
}

.blog-lightbox__zoom:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.blog-lightbox__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.8);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.blog-lightbox__close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .blog-lightbox-trigger img {
        transition: none;
    }
}