/* Prezentace projektu oEkoplan BV – analogie ke stylu radixal.net/nestor/ */
.oeko-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.oeko-hero__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.oeko-hero__logo {
    height: 28px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.oeko-hero__frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 60px rgba(8, 22, 39, 0.38);
}

.oeko-hero__frame img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.oeko-hero__caption {
    padding: 0.75rem 1rem;
    background: #0f2438;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.oeko-hero__caption span {
    opacity: 0.78;
    font-size: 0.82rem;
}

.oeko-showcase {
    display: grid;
    gap: 1.5rem;
}

.oeko-showcase__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
    background: #ffffff;
    border: 1px solid var(--border, #dce4ec);
    border-radius: 16px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: 0 12px 32px rgba(15, 36, 56, 0.06);
}

.oeko-showcase__panel[hidden] {
    display: none;
}

.oeko-showcase__media {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d9e2ec;
    background: #f8fafc;
}

.oeko-showcase__media img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.oeko-showcase__media img:hover {
    transform: scale(1.01);
}

.oeko-showcase__copy h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.oeko-showcase__copy p {
    margin-bottom: 1rem;
}

.oeko-showcase__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.oeko-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #edf3f8;
    color: #16324f;
    font-size: 0.82rem;
    font-weight: 600;
}

.oeko-video-note {
    margin-top: 1.25rem;
    padding: 0.9rem 1.15rem;
    border-radius: 10px;
    background: rgba(22, 50, 79, 0.06);
    border-left: 3px solid #1e5f4c;
    font-size: 0.94rem;
    color: #243b53;
}

.oeko-lightbox {
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    max-width: 94vw;
    max-height: 92vh;
    overflow: visible;
}

.oeko-lightbox::backdrop {
    background: rgba(8, 22, 39, 0.82);
    backdrop-filter: blur(4px);
}

.oeko-lightbox__inner {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.oeko-lightbox__inner img {
    display: block;
    max-width: 92vw;
    max-height: 82vh;
    width: auto;
    height: auto;
}

.oeko-lightbox__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    background: #0f2438;
    color: #ffffff;
    font-size: 0.9rem;
    gap: 1rem;
}

.oeko-lightbox__close {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
}

.oeko-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 960px) {
    .oeko-hero__grid,
    .oeko-showcase__panel {
        grid-template-columns: 1fr;
    }
}
