/* ==========================================================================
   JOURNAL PAGE — grid of articles (2 per row, text below image)
   ========================================================================== */
.journal-page {
    padding: 10vh 0 12vh 0;
}

/* Wider container override — globální 1600px nechával na 27" full-screen
   moc prázdného místa po stranách, takže obrázky vycházely malé. Journal
   jede téměř edge-to-edge stejně jako MAD News (i-mad.com/articles):
   fixní 12px gutter z obou stran + 12px gap mezi sloupci. */
.journal-page > .container {
    max-width: none;
    padding-left: 36px;
    padding-right: 36px;
}

.journal-header {
    margin-bottom: 6vh;
}

.journal-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
    max-width: 64ch;
}

.journal-intro {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
    font-weight: 300;
    color: var(--text-muted);
    margin: 0;
    max-width: 64ch;
}

.journal-empty {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.journal-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6vh 12px;
}

.journal-entry {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    scroll-margin-top: calc(var(--header-height) + 4vh);
    transition: var(--transition-fast);
}

.journal-entry:hover .entry-title {
    color: var(--text-muted);
}

.journal-entry .entry-image img {
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.journal-entry:hover .entry-image img {
    transform: scale(1.03);
}

.entry-image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f6f6f6;
    margin-bottom: 1.6rem;
}

.entry-image.is-pending {
    background-image: linear-gradient(135deg, #f0f0f0 0%, #f8f8f8 100%);
}

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

.entry-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    line-height: 1;
}

.entry-excerpt {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    margin: 0;
    padding: 0.85rem 1.1rem;
    background-color: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.45;
    transform: translateY(calc(100% + 1rem));
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.journal-entry:hover .entry-excerpt {
    transform: translateY(0);
}

.entry-text {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.entry-title {
    font-size: clamp(1.3rem, 1.9vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
    transition: color 0.3s ease;
}

.entry-date {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .journal-page {
        padding: 6vh 0 8vh 0;
    }
    .journal-list {
        grid-template-columns: 1fr;
        gap: 5vh 0;
    }
    .entry-image {
        margin-bottom: 1rem;
    }
}
