.lotteon-market {
    background: #fff;
    color: #202428;
    min-height: 60vh;
    padding: 72px 24px 96px;
}

.lotteon-market *,
.lotteon-market *::before,
.lotteon-market *::after {
    box-sizing: border-box;
}

.lotteon-market__container {
    margin: 0 auto;
    max-width: 1180px;
}

.lotteon-market__container--article {
    max-width: 860px;
}

.lotteon-market__header,
.lotteon-market-article__header {
    margin-bottom: 48px;
}

.lotteon-market__eyebrow {
    color: #e60012;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
}

.lotteon-market__title,
.lotteon-market-article__title {
    color: #16191c;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin: 0;
}

.lotteon-market__grid {
    display: grid;
    gap: 32px 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lotteon-market-card {
    border: 1px solid #e7e9eb;
    border-radius: 16px;
    margin: 0;
    overflow: hidden;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.lotteon-market-card:hover {
    box-shadow: 0 16px 36px rgba(18, 23, 28, 0.1);
    transform: translateY(-3px);
}

.lotteon-market-card__link {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

.lotteon-market-card__thumbnail {
    aspect-ratio: 16 / 9;
    background: #f3f4f5;
    overflow: hidden;
}

.lotteon-market-card__thumbnail img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lotteon-market-card__body {
    padding: 24px;
}

.lotteon-market-card__date,
.lotteon-market-article__date {
    color: #737a80;
    display: block;
    font-size: 14px;
}

.lotteon-market-card__title {
    font-size: 23px;
    letter-spacing: -0.03em;
    line-height: 1.4;
    margin: 10px 0 12px;
}

.lotteon-market-card__excerpt {
    color: #5a6167;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.lotteon-market__pagination {
    margin-top: 56px;
}

.lotteon-market__pagination .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.lotteon-market__pagination .page-numbers {
    align-items: center;
    border: 1px solid #dfe2e5;
    border-radius: 8px;
    color: #34393e;
    display: inline-flex;
    min-height: 40px;
    padding: 6px 13px;
    text-decoration: none;
}

.lotteon-market__pagination .page-numbers.current {
    background: #202428;
    border-color: #202428;
    color: #fff;
}

.lotteon-market__empty {
    border: 1px solid #e7e9eb;
    border-radius: 12px;
    color: #5a6167;
    padding: 48px 24px;
    text-align: center;
}

.lotteon-market-article__title {
    margin-bottom: 20px;
}

.lotteon-market-article__thumbnail {
    margin-bottom: 48px;
}

.lotteon-market-article__thumbnail img {
    border-radius: 16px;
    display: block;
    height: auto;
    width: 100%;
}

.lotteon-market-article__content {
    font-size: 18px;
    line-height: 1.85;
}

.lotteon-market-article__content img {
    height: auto;
    max-width: 100%;
}

.lotteon-market-article__back {
    border-top: 1px solid #e7e9eb;
    margin: 64px 0 0;
    padding-top: 28px;
}

.lotteon-market-article__back a {
    color: #202428;
    font-weight: 700;
}

@media (max-width: 900px) {
    .lotteon-market__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lotteon-market {
        padding: 48px 20px 72px;
    }

    .lotteon-market__header,
    .lotteon-market-article__header {
        margin-bottom: 36px;
    }

    .lotteon-market__grid {
        grid-template-columns: 1fr;
    }

    .lotteon-market-article__content {
        font-size: 16px;
    }
}
