.ezcheckin-recent-checkins {
    --ezc-border: #e5e7eb;
    --ezc-muted: #6b7280;
    --ezc-text: #111827;
    --ezc-bg: #ffffff;
    --ezc-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    --ezc-shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 18px;
}

.ezcheckin-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px 18px;
    align-items: start;
    padding: 16px;
    background: var(--ezc-bg);
    border: 1px solid var(--ezc-border);
    border-radius: 14px;
    box-shadow: var(--ezc-shadow);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.ezcheckin-item:hover {
    box-shadow: var(--ezc-shadow-hover);
    transform: translateY(-2px);
}

.ezcheckin-thumbnail,
.ezcheckin-thumb-image {
    flex: 0 0 140px;
    max-width: 140px;
    grid-row: 1 / span 4;
}

.ezcheckin-thumbnail img,
.ezcheckin-thumb-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.ezcheckin-item h2,
.ezcheckin-item h3 {
    margin: 0 0 6px 0;
    color: var(--ezc-text);
    line-height: 1.25;
    grid-column: 2;
}

.ezcheckin-item p {
    margin: 6px 0;
    color: var(--ezc-muted);
    line-height: 1.55;
    grid-column: 2;
}

.ezcheckin-item > :not(.ezcheckin-thumbnail):not(.ezcheckin-thumb-image) {
    grid-column: 2;
}

.ezcheckin-item a {
    color: inherit;
    text-decoration: none;
}

.ezcheckin-item a:hover {
    text-decoration: underline;
}

.ezcheckin-breadcrumbs {
    margin: 0 0 18px 0;
    font-size: 0.95rem;
    color: var(--ezc-muted);
}

.ezcheckin-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.ezcheckin-breadcrumbs a:hover {
    text-decoration: underline;
}

.ezcheckin-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: var(--ezc-shadow);
}

@media (max-width: 640px) {
    .ezcheckin-item {
        grid-template-columns: 1fr;
    }

    .ezcheckin-thumbnail,
    .ezcheckin-thumb-image {
        max-width: 100%;
        width: 100%;
        grid-row: auto;
    }

    .ezcheckin-item > * {
        grid-column: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ezcheckin-item {
        transition: none;
    }

    .ezcheckin-item:hover {
        transform: none;
    }
}
