/* Travelogues Listing Page - CSS */
/* Pixel-perfect match to Figma node 917:6616 */

/* Design Tokens */
:root {
    --bg-dark: #121212;
    --bg-body: #323232;
    --yellow: #ebe545;
    --text-light: #f9f9f9;
    --text-secondary: #8e8e8e;
}

/* Header Section */
.travelogues-head {
    background-color: var(--bg-dark);
    padding: 116px 80px 48px 80px;
}

.travelogues-head-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Breadcrumb */
.travelogues-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
}

.travelogues-breadcrumb .arrow {
    color: #ffffff;
    font-family: 'NB Architekt Std', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
}

.travelogues-breadcrumb .breadcrumb-text {
    color: var(--text-secondary);
    font-family: 'NB Architekt Std', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
}

/* Title */
.travelogues-title {
    font-family: 'NB Architekt Std', sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: var(--yellow);
    line-height: 58px;
    margin: 0;
}

/* Body Section */
.travelogues-body {
    background-color: var(--bg-body);
    padding: 120px 80px;
}

/* List Container */
.travelogues-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Entry */
.travelogue-entry {
    border-top: 1px solid var(--bg-dark);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Entry Header Row */
.travelogue-entry-header {
    display: flex;
    gap: 96px;
    align-items: center;
}

/* Entry Text Column */
.travelogue-entry-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Location Metadata */
.travelogue-entry-location {
    font-family: 'NB Typewriter Pro', monospace;
    font-weight: 700;
    font-size: 12px;
    color: var(--text-light);
    line-height: 15px;
}

/* Entry Title */
.travelogue-entry-title {
    font-family: 'NB Architekt Std', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-light);
    line-height: 25px;
    text-decoration: none;
}

.travelogue-entry-title:hover {
    color: var(--yellow);
}

/* Button */
.travelogue-entry-btn {
    background-color: var(--yellow);
    font-family: 'NB Architekt Std', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--bg-dark);
    padding: 8px 16px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.travelogue-entry-btn:hover {
    transform: translateX(4px);
}

/* Thumbnail Row */
.travelogue-entry-thumbs {
    display: flex;
    gap: 18px;
    height: 134px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show thumbnails on entry hover */
.travelogue-entry:hover .travelogue-entry-thumbs {
    opacity: 1;
}

/* Thumbnail Images */
.travelogue-entry-thumbs img {
    flex: 1;
    height: 100%;
    object-fit: cover;
    min-width: 0;
}

/* Single image: show one image at full width, no stretching */
.travelogue-entry-thumbs.thumbs-count-1 img {
    flex: none;
    width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: cover;
}

.travelogue-entry-thumbs.thumbs-count-1 {
    height: auto;
    max-height: 200px;
}

/* Two images: each takes half */
.travelogue-entry-thumbs.thumbs-count-2 img {
    flex: 1;
    max-width: 50%;
}

/* Three images: each takes a third */
.travelogue-entry-thumbs.thumbs-count-3 img {
    flex: 1;
    max-width: 33.333%;
}

/* Empty State */
.travelogues-empty {
    text-align: center;
    padding: 60px 20px;
    font-family: 'NB Architekt Std', sans-serif;
    font-size: 18px;
    color: var(--text-light);
}

/* Responsive: 1024px and down */
@media (max-width: 1024px) {
    .travelogues-head {
        padding: 116px 60px 48px 60px;
    }

    .travelogues-body {
        padding: 120px 60px;
    }

    .travelogue-entry-header {
        gap: 64px;
    }
}

/* Responsive: 768px and down */
@media (max-width: 768px) {
    .travelogues-head {
        padding: 80px 40px 40px 40px;
    }

    .travelogues-body {
        padding: 80px 40px;
    }

    .travelogues-list {
        gap: 32px;
    }

    .travelogue-entry-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .travelogue-entry-thumbs {
        opacity: 1;
    }

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

/* Responsive: 480px and down */
@media (max-width: 480px) {
    .travelogues-head {
        padding: 60px 24px 32px 24px;
    }

    .travelogues-body {
        padding: 60px 24px;
    }

    .travelogues-title {
        font-size: 36px;
        line-height: 44px;
    }

    .travelogue-entry-location {
        font-size: 11px;
    }

    .travelogue-entry-title {
        font-size: 18px;
        line-height: 22px;
    }

    .travelogue-entry-btn {
        font-size: 16px;
        padding: 6px 12px;
    }

    .travelogue-entry-thumbs {
        height: 100px;
        gap: 12px;
    }

    .travelogue-entry-thumbs.thumbs-count-1 {
        max-height: 150px;
    }
}