*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Pretendard,sans-serif;
}

body{
    background:#f7f7f4;
    color:#222;
    line-height:1.6;
}

.wrap{
    width:min(94%,1200px);
    margin:50px auto;
}

h1{
    font-size:42px;
    margin-bottom:28px;
    font-weight:800;
    letter-spacing:-1px;
    color:#222;
}

.write{
    padding:14px 28px;
    margin-bottom:34px;
    background:#2d7cff;
    color:#fff;
    text-decoration:none;
    border-radius:12px;
    font-size:32px;
    font-weight:700;
    transition:.2s;
}

.write:hover{
    background:#1f68de;
    transform:translateY(-2px);
}

.cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

.card{
    display:block;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
    color:#222;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    transition:.25s;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 36px rgba(0,0,0,.14);
}

.card img{
    display:block;
    width:100%;
    height:180px;
    object-fit:cover;
}

.title{
    padding:18px 20px 8px;
    font-size:23px;
    font-weight:700;
    line-height:1.4;
}

.meta{
    padding:0 20px 8px;
    font-size:19px;
    font-weight:600;
    color:#444;
    line-height:1.6;
}

.date{
    padding:6px 20px 20px;
    color:#888;
    font-size:16px;
}

.view{
    background:#fff;
    border-radius:18px;
    padding:40px;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.view .date{
    padding:0;
    margin-bottom:25px;
}

.view-image{
    display:block;
    width:auto;
    max-width:100%;
    max-height:520px;
    height:auto;
    margin:0 auto 30px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.content{
    margin-top:20px;
    line-height:1.9;
    font-size:32px;
    line-height:2;
    white-space:pre-wrap;
    color:#333;
}

.back{
    margin-top:40px;
}

.back a{
    font-size:48px !important;


    text-decoration:none;
    color:#2d7cff;
    font-weight:700;
}

.back a:hover{
    text-decoration:underline;
}

label{
    display:block;
    margin:20px 0 8px;
    font-weight:700;
}

input[type=text],
textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid #d8d8d8;
    border-radius:10px;
    font-size:22px;
    transition:.2s;
    outline:none;
    background:#fff;
}

input[type=text]:focus,
textarea:focus{
    border-color:#2d7cff;
    box-shadow:0 0 0 4px rgba(45,124,255,.12);
}

textarea{
    min-height:220px;
    resize:vertical;
}

button{
    margin-top:25px;
    padding:14px 30px;
    border:0;
    border-radius:10px;
    background:#2d7cff;
    color:#fff;
    font-size:22px;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
}

button:hover{
    background:#1f68de;
    transform:translateY(-2px);
}

@media (max-width:700px){
    .wrap{
        width:94%;
        margin:30px auto;
    }

    .cards{
        grid-template-columns:1fr;
    }

    h1{
        font-size:32px;
    }

    .title{
        font-size:20px;
    }

    .view{
        padding:24px;
    }

    .content{
        font-size:32px;
    line-height:1.9;
    }
}

.excerpt{
    margin:10px 0 14px;
    color:#555;
    font-size:22px;
    line-height:1.6;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}


/* ---------- Mobile ---------- */
@media (max-width:700px){

    .wrap{
        width:92%;
        margin:24px auto;
    }

    .cards{
        grid-template-columns:1fr;
    }

    h1{
        text-align:center;
        line-height:1.3;
        margin-bottom:24px;
    }

    .title{
        font-size:20px;
    }

    .view{
        padding:24px;
    }

    .content{
        font-size:32px;
    line-height:1.9;
    }

    .write{
        display:block;
        width:100%;
        text-align:center;
        font-size:22px;
        font-weight:700;
        padding:18px 0;
        margin:0 auto 30px;
        border-radius:14px;
    }

    button{
        font-size:22px;
        padding:18px 34px;
    }
}

/* 본문 최종 강제 적용 */
.view .content{
    font-size: 32px !important;
    line-height: 2 !important;
}
