.letterboxd {
    display: grid;
    /* Column 1 fits the image, Column 2 takes the rest */
    grid-template-columns: min-content 1fr;
    column-gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

/* 1. Position the Image (the first <p> tag) */
.letterboxd p:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
    /* Spans both the title and date rows */
    margin: 0;
}

/* 2. Position the Title (h3) */
.letterboxd h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 0.5rem;
    /* Space below title */
    font-size: 1.2rem;
}

/* 3. Position the Watch Date (the second <p> tag) */
.letterboxd p:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: #666;
    /* Optional: makes the date look like a sub-caption */
}

/* Ensure images don't overflow */
.letterboxd img {
    display: block;
    height: 100px;
    /* Adjust size as needed */
    width: auto;
    border-radius: 4px;
}

.gunpla-hangar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
}

.kit-card {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    color: #2d2d2d;
    border-left: 5px solid #7751A8;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    min-height: 200px;
}

.gunpla-hangar::-webkit-scrollbar {
    height: 8px;
}

.gunpla-hangar::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 10px;
}

.kit-card:hover {
    transform: translateY(-5px);
}

.kit-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Grade Badges */
.badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
}

.MG {
    background: #d4af37;
    color: black;
}

.RG {
    background: #b11e31;
    color: white;
}

.HG {
    background: #0055a4;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.SD {
    background: #f1c40f;
    color: #333;
    border: 1px solid #d4ac0d;
}

.EG {
    background: #95a5a6;
    color: white;
}
