/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-break: keep-all;
    line-break: strict;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #111827;
}

/* News List Container */
.news-list {
    background-color: #ffffff;
}

.news-list__container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 16px;
}

.news-list__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .news-list__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-list__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* News Card */
.news-card {
    cursor: pointer;
    border: 1px solid #DBE4FB;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s ease;
    border-radius: 16px;
    box-shadow: 0px 16px 20px rgba(78, 123, 233, 0.06);
}

.news-card:hover {
    border-color: #4e7be9;
}

.news-card__content {
    padding: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
    position: relative;
    min-height: 200px;
}

.news-card__type {
    font-size: 1rem;
    color: rgba(78, 123, 233, 0.7);
    margin-bottom: 12px;
}

.news-card__title {
    color: #000000;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 64px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.375;
}
