/**
 * Editor's Choice Component Styles
 * Seoul Curator Theme
 */

.editors-choice {
    padding: 6rem 1.5rem;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

.editors-choice__container {
    max-width: 1920px;
    margin: 0 auto;
}

.editors-choice__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 1rem;
}

@media (min-width: 768px) {
    .editors-choice__header {
        flex-direction: row;
        align-items: flex-end;
        gap: 1rem;
    }
}

.editors-choice__title {
    font-family: var(--font-headline);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.editors-choice__subtitle {
    color: rgba(242, 232, 255, 0.9);
    font-family: var(--font-body);
}

.editors-choice__archive-link {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.editors-choice__archive-link:hover {
    gap: 1rem;
}

.editors-choice__arrow {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.editors-choice__archive-link:hover .editors-choice__arrow {
    transform: translateX(4px);
}

.editors-choice__carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.editors-choice__carousel::-webkit-scrollbar {
    display: none;
}

.editors-choice__card {
    flex-shrink: 0;
    width: 300px;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .editors-choice__card {
        width: 450px;
    }
}

.editors-choice__card:hover {
    transform: translateY(-10px);
}

.editors-choice__image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.editors-choice__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.editors-choice__card:hover .editors-choice__image {
    transform: scale(1.1);
}

.editors-choice__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 16, 36, 0.9), transparent);
}

.editors-choice__card-content {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}

.editors-choice__category {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.editors-choice__card-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
}

.editors-choice__description {
    color: rgba(242, 232, 255, 0.9);
    line-height: 1.6;
    font-family: var(--font-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category color variants */
.editors-choice__category.bg-primary {
    background-color: var(--primary);
    color: var(--on-surface);
}

.editors-choice__category.bg-secondary {
    background-color: var(--secondary);
    color: #151024;
}

.editors-choice__category.bg-tertiary {
    background-color: #7D5BA6;
    color: #E8DEFB;
}
/* Card link wrapper */
.editors-choice__card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.editors-choice__card-link:hover {
    text-decoration: none;
    color: inherit;
}
