@charset "utf-8";

/* 잠토 소식 · 미대입시정보 — 흰 바탕으로 한 번 숨을 돌린다.
   앞뒤가 전부 어두우면 눈이 피로하다 */
.nw-section {
    position: relative;
    padding: 120px 0 130px;
    background: #f4f8fa;
}

.nw-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.nw-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.nw-eyebrow {
    margin: 0 0 12px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--point-mint-deep);
}

.nw-title {
    margin: 0;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--text-dark);
}

.nw-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border: 1px solid #dfe5e8;
    border-radius: 999px;
    background: #fff;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .2s, background .2s, color .2s;
}

.nw-all::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--point-mint-deep);
    border-right: 2px solid var(--point-mint-deep);
    transform: rotate(45deg);
    transition: border-color .2s;
}

.nw-all:hover {
    border-color: var(--point-mint);
    background: var(--point-mint);
    color: #05221f;
}

.nw-all:hover::after { border-color: #05221f; }

/* 앞글 크게 + 나머지 목록 */
.nw-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 24px;
    align-items: start;
}

.nw-lead {
    display: block;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(15, 40, 55, .06);
    transition: transform .3s, box-shadow .3s;
}

.nw-lead:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 40, 55, .12);
}

.nw-lead-photo {
    display: block;
    height: 320px;
    background-size: cover;
    background-position: center;
}

.nw-lead-photo.is-empty {
    background: linear-gradient(140deg, rgba(0, 204, 198, .18), rgba(6, 127, 255, .12));
}

.nw-lead-body {
    display: block;
    padding: 28px 30px 32px;
}

.nw-date {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--point-mint-deep);
}

.nw-lead-title {
    display: block;
    margin-top: 10px;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.03em;
    color: var(--text-dark);
    word-break: keep-all;
}

.nw-lead-text {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--text-gray);
    word-break: keep-all;
}

.nw-list {
    display: grid;
    gap: 10px;
}

.nw-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}

.nw-item:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 26px rgba(15, 40, 55, .08);
}

.nw-item .nw-date { flex: 0 0 auto; }

.nw-item strong {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nw-go {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-top: 2px solid #c3ced4;
    border-right: 2px solid #c3ced4;
    transform: rotate(45deg);
    transition: border-color .2s;
}

.nw-item:hover .nw-go { border-color: var(--point-mint-deep); }

/* 미대입시정보 */
.nw-tips { margin-top: 90px; }

.nw-tip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.nw-tip {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 26px 28px;
    border: 1px solid #e5ebee;
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.nw-tip:hover {
    transform: translateY(-4px);
    border-color: var(--point-mint);
    box-shadow: 0 16px 34px rgba(15, 40, 55, .1);
}

/* 물음표를 크게 깔아 "궁금한 것"이라는 결을 준다 */
.nw-tip-mark {
    position: absolute;
    right: 14px;
    bottom: -14px;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 204, 198, .1);
}

.nw-tip strong {
    position: relative;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.03em;
    color: var(--text-dark);
    word-break: keep-all;
}

.nw-tip i {
    position: relative;
    font-style: normal;
    font-size: .88rem;
    line-height: 1.6;
    color: var(--text-gray);
    word-break: keep-all;
}

@media (max-width: 1080px) {
    .nw-inner { padding: 0 24px; }
    .nw-grid { grid-template-columns: 1fr; }
    .nw-lead-photo { height: 260px; }
}

@media (max-width: 640px) {
    .nw-section { padding: 80px 0 90px; }
    .nw-inner { padding: 0 16px; }
    .nw-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
    .nw-lead-photo { height: 200px; }
    .nw-lead-body { padding: 22px 20px 24px; }
    .nw-lead-title { font-size: 1.2rem; }
    .nw-item { padding: 18px 18px; gap: 12px; }
    .nw-item strong { font-size: .92rem; }
    .nw-tips { margin-top: 60px; }
}
