/********************************************************
 * Movie Club Homepage
 ********************************************************/


 /********************************************************
 * Universal Homepage Search
 ********************************************************/
.mc-home-search-wrap
{
    position: relative;
    margin-bottom: 28px;
    max-width: 760px;
}

.mc-home-search-label
{
    display: block;
    margin-bottom: 8px;

    color: var(--default_table_text_color);
    font-size: 24px;
    font-weight: 700;
}

.mc-home-search-input
{
    width: 100%;
    padding: 14px 16px;

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;

    color: var(--default_table_text_color);
    font-size: 16px;

    background: rgba(255,255,255,0.07);
    outline: none;
}

.mc-home-search-input:focus
{
    border-color: rgba(255,255,255,0.42);
    background: rgba(255,255,255,0.1);
}

.mc-home-search-results
{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 50;

    display: none;
    flex-direction: column;

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    overflow: hidden;

    background: rgba(15,15,20,0.98);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.mc-home-search-results.is-visible
{
    display: flex;
}

.mc-home-search-result
{
    display: flex;
    gap: 12px;
    align-items: center;

    padding: 12px;
    color: inherit;
    text-decoration: none;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mc-home-search-result:last-child
{
    border-bottom: none;
}

.mc-home-search-result:hover
{
    background: rgba(255,255,255,0.08);
}

.mc-home-search-thumb
{
    width: 44px;
    height: 64px;
    min-width: 44px;

    border-radius: 8px;
    object-fit: cover;

    background: rgba(255,255,255,0.08);
}

.mc-home-search-result-title
{
    color: var(--default_table_text_color);
    font-size: 15px;
    font-weight: 700;
}

.mc-home-search-result-meta
{
    margin-top: 3px;
    color: rgba(255,255,255,0.66);
    font-size: 13px;
}

.mc-home-layout
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    width: 100%;
}

.mc-home-main
{
    min-width: 0;
}

.mc-home-section
{
    margin-bottom: 34px;
}

.mc-home-section-title,
.mc-home-sidebar-title
{
    margin: 0 0 14px 0;
    color: var(--default_table_text_color);
    font-size: 24px;
    font-weight: 700;
}

.mc-home-card
{
    flex: 0 0 170px;
    display: block;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
}

.mc-home-poster-wrap
{
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
}

.mc-home-poster
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.mc-home-poster-placeholder
{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    color: var(--default_table_text_color);
    background: rgba(255,255,255,0.05);
}

.mc-home-overlay
{
    position: absolute;
    inset: 0;
    opacity: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    text-align: center;

    transition: opacity 0.25s ease;
}

.mc-home-card:hover .mc-home-overlay
{
    opacity: 1;
}

.mc-home-card:hover .mc-home-poster
{
    transform: scale(1.05);
}

.mc-home-overlay-title
{
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.mc-home-overlay-rating
{
    margin-top: 8px;
    font-size: 24px;
    font-weight: 700;
}

.mc-home-overlay-meta
{
    margin-top: 5px;
    font-size: 13px;
    opacity: 0.9;
}

/********************************************************
 * Top Reviewers Sidebar
 ********************************************************/
.mc-home-sidebar
{
    position: sticky;
    top: 20px;
    align-self: start;

    padding: 16px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
}

.mc-top-reviewers-list
{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mc-top-reviewer
{
    display: flex;
    gap: 10px;
    align-items: center;

    padding: 10px;
    border-radius: 12px;
    background: rgba(0,0,0,0.18);
}

.mc-top-reviewer-rank
{
    width: 38px;
    min-width: 38px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.mc-top-reviewer-name
{
    color: var(--default_table_text_color);
    font-size: 15px;
    font-weight: 700;
}

.mc-top-reviewer-counts
{
    margin-top: 2px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.mc-home-error,
.mc-home-empty
{
    color: var(--default_table_text_color);
    padding: 14px;
}

/********************************************************
 * Responsive
 ********************************************************/
@media (max-width: 900px)
{
    .mc-home-layout
    {
        grid-template-columns: 1fr;
    }

    .mc-home-sidebar
    {
        position: static;
    }
}

@media (max-width: 767px)
{
    .mc-home-card
    {
        flex-basis: 135px;
    }

    .mc-home-section-title,
    .mc-home-sidebar-title
    {
        font-size: 20px;
    }

    .mc-home-overlay-title
    {
        font-size: 13px;
    }

    .mc-home-overlay-rating
    {
        font-size: 20px;
    }
}

.mc-home-activity-badge
{
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;

    padding: 5px 8px;
    border-radius: 999px;

    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    background: rgba(0,0,0,0.78);
    border: 1px solid rgba(255,255,255,0.25);
}

.mc-home-carousel-shell
{
    position: relative;
}

.mc-home-carousel
{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px 14px 2px;
    scroll-snap-type: x proximity;

    scrollbar-width: none;
    scroll-behavior: smooth;
}

.mc-home-carousel::-webkit-scrollbar
{
    display: none;
}

.mc-home-carousel-btn
{
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;

    color: #ffffff;
    font-size: 34px;
    line-height: 34px;

    background: rgba(0,0,0,0.72);
    cursor: pointer;

    transform: translateY(-50%);
}

.mc-home-carousel-prev
{
    left: -12px;
}

.mc-home-carousel-next
{
    right: -12px;
}