.showcase-page {
    width: min(1240px, calc(100% - 32px));
}

.showcase-page .online-hero {
    max-width: 920px;
}

.showcase-section {
    margin-top: 52px;
}

.showcase-heading {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.showcase-heading .eyebrow {
    color: #4f80ff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.2px;
    margin-bottom: 7px;
}

.showcase-heading h2 {
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.3;
    margin-bottom: 7px;
}

.showcase-heading p:last-child {
    color: #7a8493;
    font-size: 13px;
    line-height: 1.6;
}

.showcase-heading > a {
    color: #3a6dec;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.showcase-heading > a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.showcase-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(44, 49, 61, 0.04);
    color: inherit;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}

.showcase-card:hover {
    border-color: #c9d6f8;
    box-shadow: 0 13px 32px rgba(44, 49, 61, 0.1);
    transform: translateY(-3px);
}

.showcase-thumbnail {
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 78% 25%, rgba(78, 223, 190, 0.52), transparent 28%),
        linear-gradient(135deg, #315fd4, #684bdc);
    overflow: hidden;
    position: relative;
}

.showcase-thumbnail img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.showcase-thumbnail img.is-hidden {
    display: none;
}

.showcase-room-badge {
    background: rgba(35, 40, 51, 0.88);
    border-radius: 999px;
    bottom: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    left: 12px;
    padding: 5px 9px;
    position: absolute;
}

.showcase-like-badge {
    background: rgba(35, 40, 51, 0.88);
    border-radius: 999px;
    bottom: 12px;
    color: #ff8aa5;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 9px;
    position: absolute;
    right: 12px;
}

.showcase-card-body {
    display: grid;
    gap: 9px;
    padding: 18px 20px 20px;
}

.showcase-card-title {
    display: -webkit-box;
    font-size: 17px;
    line-height: 1.45;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.showcase-card-description {
    color: #7a8493;
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.55;
    min-height: 37px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.showcase-owner {
    align-items: center;
    color: #586273;
    display: flex;
    font-size: 12px;
    gap: 7px;
    min-width: 0;
}

.showcase-owner::before {
    background: #edf2ff;
    border-radius: 50%;
    color: #3a6dec;
    content: '$';
    display: grid;
    flex: 0 0 24px;
    font-size: 12px;
    font-weight: bold;
    height: 24px;
    place-items: center;
}

.showcase-owner span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.showcase-status {
    background: #fff;
    border: 1px dashed #d8dde5;
    border-radius: 14px;
    color: #8a93a0;
    font-size: 13px;
    grid-column: 1 / -1;
    padding: 42px 20px;
    text-align: center;
}

.showcase-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.showcase-more.is-hidden {
    display: none;
}

.showcase-more-button {
    background: #fff;
    border: 1px solid #cfd8ea;
    border-radius: 999px;
    color: #3a6dec;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: bold;
    min-width: 160px;
    padding: 11px 18px;
    transition: background 0.16s, border-color 0.16s, transform 0.16s;
}

.showcase-more-button:hover {
    background: #f6f8ff;
    border-color: #9fb5f4;
    transform: translateY(-1px);
}

@media (max-width: 1040px) {
    .showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .showcase-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}
