@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400&display=swap');
/* === dewmorning.com — 듀모닝 · 새벽 이슬 아침 루틴 노트 (2026-12-05 신설) ===
   은유: 새벽 이슬. 새벽남(#2B3A67) 바탕 · 보라(#7E6BA8) · 새벽 분홍(#F4A6A0) · 이슬 흰빛. 얇은 Pretendard, 영문 표기는 Josefin Sans.
   짙은 바탕 위 반투명 카드. dewy(밝은 하늘빛)와 반대로 «어두운 새벽» 쪽에 둔다. */
.skin-dewm {
    --dw-night: #1b2547;
    --dw-navy: #2b3a67;
    --dw-violet: #7e6ba8;
    --dw-pink: #f4a6a0;
    --dw-peach: #ffd9c8;
    --dw-mist: #e9ecf8;
    --dw-sub: #b9c1dd;
    --dw-lat: 'Josefin Sans', 'Pretendard Variable', Pretendard, sans-serif;
    background: var(--dw-night);
    background-image: radial-gradient(ellipse 90% 60% at 50% 110%, rgba(244, 166, 160, .22), transparent 70%), linear-gradient(180deg, #1b2547 0%, #2b3a67 55%, #3a3f72 100%);
    background-attachment: fixed;
    color: var(--dw-mist);
    font-weight: 300;
}
.skin-dewm a { text-decoration: none; color: inherit; }

/* 머리 — 투명한 새벽 */
.skin-dewm .main-header { background: rgba(27, 37, 71, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 217, 200, .25); padding: 16px 0; }
.skin-dewm .containerHeader { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
.skin-dewm .main-header .brand-logo,
.skin-dewm .main-header .brand-logo a { font-size: 1.45rem; margin: 0; color: #fff; letter-spacing: 1px; font-weight: 300 !important; display: flex; align-items: center; }
.skin-dewm .main-header .brand-logo a::before {
    content: ''; flex: 0 0 auto; width: 18px; height: 18px; margin-right: 12px;
    border-radius: 0 50% 50% 50%; transform: rotate(45deg);
    background: linear-gradient(135deg, #fff, var(--dw-pink));
    box-shadow: 0 0 12px rgba(244, 166, 160, .7);
}
.skin-dewm .main-header nav { width: auto; border-top: 0; padding-top: 0; }
.skin-dewm .main-header nav ul { gap: 2px; margin: 0; justify-content: flex-end; }
.skin-dewm header nav ul li a { color: var(--dw-mist); font-weight: 300; font-size: .92rem; padding: 8px 12px; text-transform: none; letter-spacing: .3px; border-bottom: 1px solid transparent; }
.skin-dewm header nav ul li a:hover { color: #fff; border-bottom-color: var(--dw-pink); }
.skin-dewm .dropdown { background: var(--dw-night); }
.skin-dewm .menu-toggle { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; font-size: 1.2rem; }
.skin-dewm .close-menu { background: var(--dw-pink); color: var(--dw-night); border-radius: 999px; }
.skin-dewm .mobile-menu-overlay { background: var(--dw-night); }
.skin-dewm .mobile-menu-header { background: var(--dw-night); border-bottom-color: rgba(255, 255, 255, .15); }
.skin-dewm .mobile-menu-header .logo { color: #fff; font-weight: 300; }
.skin-dewm .mobile-menu-overlay a { color: var(--dw-mist); border-bottom-color: rgba(255, 255, 255, .12); font-weight: 300; }

/* 첫 화면 — 새벽 하늘 */
.skin-dewm .dw-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 10px; margin: 26px 0 0; padding: 60px 0 0 56px; border-radius: 6px 6px 0 0; overflow: hidden;
    background: linear-gradient(180deg, #2b3a67 0%, #55507f 38%, #a77d9c 68%, #f4a6a0 100%); }
.skin-dewm .dw-hero-text { padding-bottom: 64px; min-width: 0; }
.skin-dewm .dw-kicker { display: inline-block; font-family: var(--dw-lat); font-size: .8rem; letter-spacing: 3px; color: var(--dw-peach); margin: 0 0 22px; font-weight: 300; }
.skin-dewm .dw-hero h2 { font-size: 3rem; line-height: 1.3; letter-spacing: -1.5px; margin: 0 0 20px; font-weight: 200; color: #fff; }
.skin-dewm .dw-hero h2 b { font-weight: 500; }
.skin-dewm .dw-hero-text p { margin: 0; max-width: 27em; font-size: 1.02rem; line-height: 1.85; color: #f3eaf2; font-weight: 300; }
.skin-dewm .dw-dawn { display: block; width: 100%; height: auto; }

/* 아침 루틴 순서 — 가는 선 위 이슬 */
.skin-dewm .dw-routine { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-top: 0; border-radius: 0 0 6px 6px; padding: 22px 26px 26px; }
.skin-dewm .dw-routine-label { margin: 0 0 14px; font-size: .82rem; letter-spacing: 2px; color: var(--dw-sub); }
.skin-dewm .dw-routine ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.skin-dewm .dw-routine ol::before { content: ''; position: absolute; left: 0; right: 0; top: 37px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .1), var(--dw-pink), rgba(255, 255, 255, .1)); }
.skin-dewm .dw-routine li { min-width: 0; position: relative; }
.skin-dewm .dw-routine a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 6px 4px; border-radius: 8px; transition: background .2s; }
.skin-dewm .dw-routine a:hover { background: rgba(255, 255, 255, .07); }
.skin-dewm .dw-step-n { font-family: var(--dw-lat); font-size: .78rem; letter-spacing: 1px; color: var(--dw-sub); }
.skin-dewm .dw-routine .dw-drop { width: 16px; height: 16px; margin: 2px 0 8px; }
.skin-dewm .dw-routine em { font-style: normal; font-size: .76rem; color: var(--dw-peach); }
.skin-dewm .dw-routine strong { font-weight: 500; font-size: .98rem; color: #fff; }
.skin-dewm .dw-routine small { font-size: .74rem; color: var(--dw-sub); }

/* 이슬방울 */
.skin-dewm .dw-drop { display: inline-block; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: linear-gradient(135deg, #fff 10%, var(--dw-pink)); box-shadow: 0 0 8px rgba(244, 166, 160, .8); vertical-align: middle; }

/* 목록 — 반투명 카드, 가운데 줄이 내려앉는 계단 */
.skin-dewm .dw-list { margin: 64px 0 40px; }
.skin-dewm .dw-h { display: flex; flex-direction: column; gap: 6px; font-size: 1.7rem; font-weight: 200; letter-spacing: -0.8px; margin: 0 0 26px; color: #fff; }
.skin-dewm .dw-h span { font-size: .8rem; letter-spacing: 3px; color: var(--dw-pink); font-weight: 400; }
.skin-dewm .dw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 24px; padding-bottom: 40px; }
.skin-dewm .dw-card { min-width: 0; }
.skin-dewm .dw-card:nth-child(3n+2) { transform: translateY(40px); }
.skin-dewm .dw-card a { display: flex; flex-direction: column; height: 100%; padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-sizing: border-box; transition: background .2s, border-color .2s; }
.skin-dewm .dw-card a:hover { background: rgba(255, 255, 255, .14); border-color: rgba(244, 166, 160, .6); }
.skin-dewm .dw-card-thumb { aspect-ratio: 4 / 3; border-radius: 16px; background-size: cover; background-position: center; background-color: #3a4577; }
.skin-dewm .dw-card-body { padding: 16px 10px 8px; min-width: 0; display: flex; flex-direction: column; flex: 1; }
.skin-dewm .dw-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--dw-peach); font-weight: 400; }
.skin-dewm .dw-card h3 { font-size: 1.06rem; line-height: 1.5; font-weight: 500; color: #fff; margin: 10px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.skin-dewm .dw-card p { font-size: .86rem; line-height: 1.65; color: var(--dw-sub); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.skin-dewm .dw-card time { margin-top: auto; }
.skin-dewm time { font-family: var(--dw-lat); font-size: .8rem; letter-spacing: 1px; color: var(--dw-sub); }
.skin-dewm .dw-empty { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px 20px; border-radius: 22px; border: 1px dashed rgba(255, 255, 255, .3); color: var(--dw-mist); text-align: center; }

/* 공식 창구 */
.skin-dewm .dw-official { margin: 10px 0 56px; }
.skin-dewm .dw-official .dw-h { font-size: 1.3rem; }
.skin-dewm .dw-official-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.skin-dewm .dw-official-row a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255, 217, 200, .35); background: linear-gradient(160deg, rgba(126, 107, 168, .25), rgba(244, 166, 160, .12)); min-width: 0; }
.skin-dewm .dw-official-row a:hover { border-color: var(--dw-pink); }
.skin-dewm .dw-official-row strong { font-size: 1rem; font-weight: 500; color: #fff; }
.skin-dewm .dw-official-row span { font-size: .84rem; color: var(--dw-sub); }

/* 분류 첫머리 */
.skin-dewm .dw-cat-head { display: flex; align-items: center; gap: 28px; margin: 26px 0 0; padding: 40px 44px; border-radius: 6px; background: linear-gradient(120deg, #2b3a67, #6a5a8f 60%, #d38f96); }
.skin-dewm .dw-cat-n { flex: 0 0 auto; font-family: var(--dw-lat); font-weight: 200; font-size: 4.6rem; line-height: 1; color: var(--dw-peach); }
.skin-dewm .dw-cat-head .dw-kicker { margin: 0 0 8px; letter-spacing: 1px; }
.skin-dewm .dw-cat-head h1 { margin: 0 0 6px; font-size: 2.1rem; font-weight: 300; color: #fff; letter-spacing: -1px; }
.skin-dewm .dw-cat-head p { margin: 0; color: #f0e6ef; }

/* 글 */
.skin-dewm .dw-post-top { max-width: 820px; margin: 0 auto; padding: 56px 20px 40px; text-align: center; }
.skin-dewm .dw-post-top h1 { font-size: 2.2rem; line-height: 1.4; font-weight: 300; letter-spacing: -1px; color: #fff; margin: 16px 0 14px; }
.skin-dewm .dw-post { max-width: 840px; margin: 0 auto 40px; background: rgba(250, 248, 252, .97); color: #262c45; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); box-sizing: border-box; min-width: 0; }
.skin-dewm .dw-post .post-thumb-full { border-radius: 16px; margin: 0 0 32px; }
.skin-dewm .dw-post .post-body { font-size: 1.06rem; line-height: 1.9; color: #262c45; font-weight: 400; }
.skin-dewm .dw-post .post-body h2 { font-size: 1.4rem; font-weight: 600; color: var(--dw-navy); padding-left: 16px; border-left: 3px solid var(--dw-pink); }
.skin-dewm .dw-post .post-body h3 { font-size: 1.14rem; font-weight: 600; color: var(--dw-violet); }
.skin-dewm .dw-post .post-body a { color: #5a4b8c; border-bottom: 1px solid rgba(126, 107, 168, .4); }
.skin-dewm .dw-post .post-body strong { font-weight: 700; background: linear-gradient(transparent 64%, #fde0db 64%); }
.skin-dewm .dw-post .post-body th { background: #eceaf5; }
.skin-dewm .dw-notice { display: flex; align-items: flex-start; gap: 12px; margin: 34px 0 0; padding: 16px 20px; border-radius: 14px; background: #eef0f8; color: #3b4470; font-size: .9rem; line-height: 1.65; }
.skin-dewm .dw-notice .dw-drop { margin-top: 6px; }
.skin-dewm .dw-related { max-width: 1000px; margin: 30px auto 40px; }

.skin-dewm footer { background: transparent; color: var(--dw-sub); border-top: 1px solid rgba(255, 255, 255, .14); }
.skin-dewm footer a { color: var(--dw-mist); }
.skin-dewm .site-guide, .skin-dewm .home-guide { color: var(--dw-mist); }
.skin-dewm h1, .skin-dewm h2, .skin-dewm h3, .skin-dewm p, .skin-dewm li { word-break: keep-all; overflow-wrap: break-word; }
.skin-dewm .post-body { width: 100%; min-width: 0; box-sizing: border-box; }
.skin-dewm .post-body table { display: block; max-width: 100%; overflow-x: auto; }
.skin-dewm .post-body img { max-width: 100%; height: auto; }

@media (max-width: 960px) {
    .skin-dewm .dw-hero { padding-left: 36px; }
    .skin-dewm .dw-hero h2 { font-size: 2.4rem; }
    .skin-dewm .dw-routine ol { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
    .skin-dewm .dw-routine ol::before { display: none; }
    .skin-dewm .dw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .skin-dewm .dw-card:nth-child(3n+2) { transform: none; }
    .skin-dewm .dw-card:nth-child(2n) { transform: translateY(32px); }
}
@media (max-width: 768px) {
    .skin-dewm .main-header { padding: 10px 0; }
    .skin-dewm .main-header .brand-logo, .skin-dewm .main-header .brand-logo a { font-size: 1.25rem; }
    .skin-dewm .dw-hero { grid-template-columns: minmax(0, 1fr); padding: 34px 22px 0; margin-top: 14px; gap: 0; }
    .skin-dewm .dw-hero-text { padding-bottom: 6px; }
    .skin-dewm .dw-kicker { letter-spacing: 1.5px; margin-bottom: 14px; font-size: .72rem; }
    .skin-dewm .dw-hero h2 { font-size: 1.9rem; letter-spacing: -1px; }
    .skin-dewm .dw-hero-text p { font-size: .94rem; }
    .skin-dewm .dw-dawn { margin: 0 -22px; width: calc(100% + 44px); max-width: none; }
    .skin-dewm .dw-routine { padding: 18px 14px 20px; }
    .skin-dewm .dw-routine ol { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .skin-dewm .dw-routine li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
    .skin-dewm .dw-routine a { flex-direction: row; text-align: left; gap: 10px; padding: 10px 4px; }
    .skin-dewm .dw-routine .dw-drop { margin: 0; width: 12px; height: 12px; }
    .skin-dewm .dw-routine em { order: 5; margin-left: auto; }
    .skin-dewm .dw-routine small { display: none; }
    .skin-dewm .dw-list { margin: 44px 0 30px; }
    .skin-dewm .dw-h { font-size: 1.4rem; }
    .skin-dewm .dw-cards { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 0; }
    .skin-dewm .dw-card:nth-child(n) { transform: none; }
    .skin-dewm .dw-card a { flex-direction: row; gap: 14px; align-items: stretch; }
    .skin-dewm .dw-card-thumb { flex: 0 0 auto; width: 104px; aspect-ratio: auto; min-height: 104px; border-radius: 14px; }
    .skin-dewm .dw-card-body { padding: 4px 4px 4px 0; }
    .skin-dewm .dw-card h3 { font-size: .98rem; margin: 6px 0 6px; }
    .skin-dewm .dw-card p { display: none; }
    .skin-dewm .dw-official-row { grid-template-columns: minmax(0, 1fr); }
    .skin-dewm .dw-cat-head { padding: 26px 20px; gap: 16px; margin-top: 14px; }
    .skin-dewm .dw-cat-n { font-size: 3rem; }
    .skin-dewm .dw-cat-head h1 { font-size: 1.5rem; }
    .skin-dewm .dw-post-top { padding: 32px 4px 24px; }
    .skin-dewm .dw-post-top h1 { font-size: 1.45rem; }
    .skin-dewm .dw-post { border-radius: 16px; }
    .skin-dewm .dw-post .post-thumb-full { border-radius: 12px; margin: 0 0 22px; }
    .skin-dewm .dw-post .post-body { font-size: 1rem; }
}
