/* ========================================
   Random Memory
   ======================================== */

.random-memory-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 142, 199, 0.12);
    border-radius: 20px;
    background: linear-gradient(135deg, #fff, #fff8fc);
}

.random-memory-image {
    min-height: 210px;
    background: linear-gradient(135deg, #fff0f6, #f3e5ff);
    overflow: hidden;
}

.random-memory-image img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    display: block;
}

.random-memory-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 3rem;
}

.random-memory-body {
    min-width: 0;
    padding: 22px 22px 22px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.random-memory-kicker {
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 900;
}

.random-memory-body h3 {
    color: var(--text-dark);
    font-size: 1.35rem;
    line-height: 1.45;
}

.random-memory-body p {
    color: var(--text-medium);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .random-memory-card {
        grid-template-columns: 1fr;
    }

    .random-memory-body {
        padding: 18px;
    }
}
