body {
    margin: 0;
    background: #090b10;
    color: #f2f2f2;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

.menu-page {
    min-height: calc(100vh - 170px);
    max-width: 1600px;
    margin: 0 auto;
    padding: 150px 80px 90px;
    box-sizing: border-box;
}

.magazine-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1), transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.magazine-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.magazine-heading {
    text-align: center;
}

.magazine-shape {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 20px;
}

.menu-page h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.6vw, 64px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.magazine-title-text {
    display: inline-block;
    background: linear-gradient(90deg, #3d4148 0%, #62666e 8%, #8a8d94 18%, #ffffff 34%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.menu-page h2 {
    margin: 0 0 14px;
    font-size: clamp(21px, 2.2vw, 30px);
    letter-spacing: -0.01em;
}

.menu-page p,
.menu-page li {
    margin: 0;
    font-size: clamp(15px, 1.3vw, 18px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.magazine-heading p {
    max-width: none;
    margin: 0 auto;
    white-space: nowrap;
}

.menu-page ul {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.menu-page section {
    margin-top: 42px;
}

.news-section {
    text-align: center;
}

#newsStatus {
    margin: 28px auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.news-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
    border-radius: 8px;
    padding: 24px 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.055);
}

.news-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
    text-align: left;
}

.news-title {
    margin: 0;
    font-size: clamp(24px, 1.8vw, 34px);
    line-height: 1.28;
    color: #fff;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-actions {
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: filter 0.15s ease;
}

.btn-link:hover {
    filter: brightness(1.08);
}

.btn-link.source {
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-link.detail {
    color: #fff;
    background: #ea4c38;
    border: 1px solid #ea4c38;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 34px 0 0;
}

.news-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font: inherit;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.news-pagination button:hover:not(:disabled),
.news-pagination button:focus-visible:not(:disabled) {
    border-color: #fff;
    color: #fff;
    outline: none;
}

.news-pagination button.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.news-pagination button:disabled {
    opacity: 0.45;
    cursor: default;
}

.newsletter-direction-card {
    margin-top: 58px !important;
    padding: 40px 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
}

.newsletter-direction-card h2 {
    margin-bottom: 16px;
}

.newsletter-direction-card p {
    max-width: 980px;
    margin: 0 auto;
}

.newsletter-direction-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.newsletter-direction-card li {
    min-height: 62px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.newsletter-direction-card li:hover {
    background: #fff;
    border-color: #fff;
    color: #090b10;
}

@keyframes menuFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .news-title {
        font-size: clamp(22px, 2.4vw, 30px);
    }

    .news-summary {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .menu-page {
        padding: 120px 20px 70px;
    }

    .menu-page h1 {
        font-size: clamp(32px, 10vw, 46px);
    }

    .magazine-heading p {
        white-space: normal;
    }

    .magazine-shape {
        height: 46px;
        margin-bottom: 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .news-card {
        border-radius: 8px;
        min-height: 250px;
        padding: 18px 16px;
        gap: 14px;
    }

    .news-title {
        font-size: clamp(19px, 6.4vw, 26px);
    }

    .news-summary {
        font-size: 16px;
        line-height: 1.62;
        -webkit-line-clamp: 6;
    }

    .newsletter-direction-card {
        padding: 30px 20px;
    }

    .newsletter-direction-card ul {
        grid-template-columns: 1fr;
    }
}
