@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');
/* === dodamspring.com — 도담스프링 · 자라는 가족 건강 (2026-12-05 신설) ===
   은유: 벽 키재기 눈금자. 새순 연두(#6BAA3A) · 짙은 줄기(#2E5A17) · 해바라기(#FFC93C) · 복숭아(#F4A48A), 크림 바탕.
   분야 = 키가 자라는 성장 막대 7칸, 목록 = 왼쪽 세로 눈금 띠 + 둥근 2열 카드. 제목 글꼴 Jua. */
.skin-dodam {
    --dd-green: #6baa3a;
    --dd-stem: #2e5a17;
    --dd-sun: #ffc93c;
    --dd-peach: #f4a48a;
    --dd-cream: #fbfbef;
    --dd-ink: #1f2a17;
    --dd-sub: #5a6650;
    --dd-jua: 'Jua', 'Pretendard Variable', Pretendard, sans-serif;
    background: var(--dd-cream);
    color: var(--dd-ink);
}
.skin-dodam a { text-decoration: none; color: inherit; }
.skin-dodam .dd-t0 { --c: #4f8f25; --cl: #e4f3d6; }
.skin-dodam .dd-t1 { --c: #c98a00; --cl: #fff3c9; }
.skin-dodam .dd-t2 { --c: #2f7f8f; --cl: #dcf1f3; }
.skin-dodam .dd-t3 { --c: #c0563b; --cl: #fde4dc; }
.skin-dodam .dd-t4 { --c: #b8507a; --cl: #fbe3ed; }
.skin-dodam .dd-t5 { --c: #5b6ab8; --cl: #e5e8f8; }
.skin-dodam .dd-t6 { --c: #6b7a2a; --cl: #eef2d2; }

/* 머리 — 연두 띠 + 아래쪽 눈금 */
.skin-dodam .main-header { background: var(--dd-green); border-bottom: 0; padding: 14px 0 22px; position: sticky;
    background-image: repeating-linear-gradient(90deg, var(--dd-stem) 0 3px, transparent 3px 14px);
    background-size: 100% 8px; background-repeat: no-repeat; background-position: bottom left; background-color: var(--dd-green); }
.skin-dodam .containerHeader { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
.skin-dodam .main-header .brand-logo,
.skin-dodam .main-header .brand-logo a { font-family: var(--dd-jua) !important; font-weight: 400; font-size: 1.75rem; margin: 0; color: #fff; display: flex; align-items: center; letter-spacing: 0; }
.skin-dodam .main-header .brand-logo a::before {
    content: ''; flex: 0 0 auto; width: 14px; height: 30px; margin-right: 10px; border-radius: 4px;
    background: #fff8db repeating-linear-gradient(180deg, var(--dd-stem) 0 2px, transparent 2px 6px) left / 7px 100% no-repeat;
    border: 2px solid var(--dd-stem);
}
.skin-dodam .main-header nav { width: auto; border-top: 0; padding-top: 0; }
.skin-dodam .main-header nav ul { gap: 4px; justify-content: flex-end; }
.skin-dodam header nav ul li a { color: #fff; font-weight: 700; font-size: .92rem; padding: 7px 12px; border-radius: 14px; text-transform: none; }
.skin-dodam header nav ul li a:hover { background: #fff; color: var(--dd-stem); }
.skin-dodam .menu-toggle { background: #fff; color: var(--dd-stem); border-radius: 14px; }
.skin-dodam .close-menu { background: var(--dd-green); color: #fff; border-radius: 14px; }
.skin-dodam .mobile-menu-overlay { background: var(--dd-cream); }
.skin-dodam .mobile-menu-header .logo { color: var(--dd-stem); font-family: var(--dd-jua); font-weight: 400; }
.skin-dodam .mobile-menu-overlay a { border-bottom: 2px dashed #cfe7b4; }

/* 첫 화면 */
.skin-dodam .dd-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: end; margin: 22px 0 0; padding: 48px 48px 0; border-radius: 36px; background: #e4f3d6; overflow: hidden; }
.skin-dodam .dd-hero-text { padding-bottom: 52px; min-width: 0; }
.skin-dodam .dd-kicker { display: inline-block; font-family: var(--dd-jua); font-size: 1rem; background: var(--dd-sun); color: var(--dd-stem); padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.skin-dodam .dd-hero h2 { font-family: var(--dd-jua); font-weight: 400; font-size: 2.9rem; line-height: 1.25; margin: 0 0 18px; color: var(--dd-stem); }
.skin-dodam .dd-hero-text p { margin: 0; max-width: 30em; font-size: 1.05rem; line-height: 1.75; color: #3c4a33; }
.skin-dodam .dd-art { display: block; width: 100%; max-width: 380px; height: auto; justify-self: center; }

/* 분야 — 성장 막대 */
.skin-dodam .dd-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; margin: 26px 0 0; padding: 0 0 6px; border-bottom: 4px solid var(--dd-stem); }
.skin-dodam .dd-bar { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; text-align: center; }
.skin-dodam .dd-bar strong { font-family: var(--dd-jua); font-weight: 400; font-size: 1.02rem; color: var(--c); line-height: 1.25; word-break: keep-all; }
.skin-dodam .dd-bar em { font-style: normal; font-size: .78rem; color: var(--dd-sub); margin: 2px 0 20px; }
.skin-dodam .dd-bar-fill { display: block; border-radius: 16px 16px 0 0; background: var(--c); position: relative; transition: transform .15s; transform-origin: bottom; }
.skin-dodam .dd-bar-fill::before { content: ''; position: absolute; left: 50%; top: -14px; width: 18px; height: 12px; margin-left: -9px; border-radius: 12px 0 12px 0; background: var(--dd-green); }
.skin-dodam .dd-bar:hover .dd-bar-fill { transform: scaleY(1.12); }

/* 목록 — 세로 눈금 띠 + 2열 카드 */
.skin-dodam .dd-list { margin: 44px 0 36px; }
.skin-dodam .dd-h { font-family: var(--dd-jua); font-weight: 400; font-size: 1.75rem; color: var(--dd-stem); margin: 0 0 20px; }
.skin-dodam .dd-board { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 24px; }
.skin-dodam .dd-ruler { border-radius: 14px; border: 3px solid var(--dd-stem); background-color: #fff8db;
    background-image: repeating-linear-gradient(180deg, var(--dd-stem) 0 3px, transparent 3px 60px), repeating-linear-gradient(180deg, var(--dd-stem) 0 2px, transparent 2px 12px);
    background-size: 30px 100%, 16px 100%; background-repeat: no-repeat; background-position: left top; }
.skin-dodam .dd-board-body { min-width: 0; }
.skin-dodam .dd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.skin-dodam .dd-card { min-width: 0; }
.skin-dodam .dd-card a { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; height: 100%; box-sizing: border-box; padding: 14px; background: #fff; border-radius: 28px; border: 3px solid var(--cl); transition: border-color .15s, transform .15s; }
.skin-dodam .dd-card a:hover { border-color: var(--c); transform: translateY(-3px); }
.skin-dodam .dd-card-thumb { border-radius: 22px; min-height: 140px; background-size: cover; background-position: center; background-color: var(--cl); }
.skin-dodam .dd-card-info { min-width: 0; display: flex; flex-direction: column; padding: 4px 6px 4px 0; }
.skin-dodam .dd-leaf { align-self: flex-start; display: inline-block; font-size: .78rem; font-weight: 800; color: #fff; background: var(--c); padding: 4px 12px; border-radius: 12px 0 12px 0; }
.skin-dodam .dd-card-info h3 { font-family: var(--dd-jua); font-weight: 400; font-size: 1.18rem; line-height: 1.4; margin: 10px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.skin-dodam .dd-card-info p { font-size: .88rem; line-height: 1.6; color: var(--dd-sub); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.skin-dodam .dd-card-info time { margin-top: auto; }
.skin-dodam time { font-size: .8rem; color: #7a8670; font-weight: 600; }
.skin-dodam .dd-empty { margin: 0; padding: 34px; border-radius: 28px; background: #fff; border: 3px dashed #cfe7b4; text-align: center; color: var(--dd-sub); font-family: var(--dd-jua); font-size: 1.15rem; }

.skin-dodam .dd-official { margin: 0 0 48px; }
.skin-dodam .dd-official .dd-h { font-size: 1.4rem; }
.skin-dodam .dd-official-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.skin-dodam .dd-official-row a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 18px 26px; border-radius: 22px; background: #fff; border: 3px solid #e4f3d6; position: relative; }
.skin-dodam .dd-official-row a::before { content: ''; position: absolute; left: 10px; top: 18px; bottom: 18px; width: 6px; border-radius: 3px; background: var(--dd-green); }
.skin-dodam .dd-official-row a:hover { border-color: var(--dd-green); }
.skin-dodam .dd-official-row strong { font-size: 1rem; color: var(--dd-stem); }
.skin-dodam .dd-official-row span { font-size: .85rem; color: var(--dd-sub); }

/* 분류 머리 */
.skin-dodam .dd-cat-head { display: flex; align-items: center; gap: 22px; margin: 22px 0 0; padding: 28px 32px; border-radius: 30px; background: var(--cl); }
.skin-dodam .dd-cat-bar { flex: 0 0 auto; width: 40px; height: 96px; border-radius: 12px; border: 3px solid var(--dd-stem); background: #fff8db; display: flex; align-items: flex-end; overflow: hidden; }
.skin-dodam .dd-cat-bar span { display: block; width: 100%; background: var(--c); }
.skin-dodam .dd-cat-head h1 { font-family: var(--dd-jua); font-weight: 400; margin: 0 0 6px; font-size: 2.1rem; color: var(--c); }
.skin-dodam .dd-cat-head p { margin: 0; color: var(--dd-sub); }

/* 글 화면 */
.skin-dodam .dd-post-top { max-width: 860px; margin: 22px auto 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 22px; padding: 30px 34px; border-radius: 30px; background: var(--cl); box-sizing: border-box; }
.skin-dodam .dd-post-top .dd-ruler { min-height: 120px; background-size: 22px 100%, 12px 100%; }
.skin-dodam .dd-post-top-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.skin-dodam .dd-post-top h1 { font-family: var(--dd-jua); font-weight: 400; font-size: 2.2rem; line-height: 1.35; margin: 12px 0 10px; color: var(--dd-ink); }
.skin-dodam .dd-post { max-width: 860px; margin: 18px auto 36px; border-radius: 30px; box-shadow: none; border: 3px solid #e4f3d6; box-sizing: border-box; min-width: 0; }
.skin-dodam .dd-post .post-thumb-full { border-radius: 24px; margin-bottom: 32px; }
.skin-dodam .dd-post .post-body { font-size: 1.06rem; line-height: 1.88; color: #2b3324; }
.skin-dodam .dd-post .post-body h2 { font-family: var(--dd-jua); font-weight: 400; font-size: 1.5rem; color: var(--dd-stem); margin-top: 2em; padding-left: 16px; border-left: 8px solid var(--dd-green); border-radius: 2px; }
.skin-dodam .dd-post .post-body h3 { font-size: 1.15rem; color: #4f8f25; }
.skin-dodam .dd-post .post-body a { color: #3f7a1a; border-bottom-color: #b5d99a; }
.skin-dodam .dd-post .post-body strong { background: linear-gradient(transparent 60%, #fff0b3 60%); }
.skin-dodam .dd-post .post-body table { border-collapse: collapse; }
.skin-dodam .dd-post .post-body th, .skin-dodam .dd-post .post-body td { border: 1px solid #cfe7b4; padding: 8px 10px; }
.skin-dodam .dd-post .post-body th { background: #e4f3d6; }
.skin-dodam .dd-notice { margin: 32px 0 0; padding: 16px 20px; border-radius: 18px; background: #fff8db; border: 2px dashed var(--dd-sun); color: #5b4a12; font-size: .9rem; line-height: 1.65; }
.skin-dodam .dd-related { max-width: 860px; margin: 0 auto 44px; }

.skin-dodam footer { background: var(--dd-stem); color: #dbeacb; border-top: 8px solid var(--dd-green); }
.skin-dodam h1, .skin-dodam h2, .skin-dodam h3, .skin-dodam p, .skin-dodam li { word-break: keep-all; overflow-wrap: break-word; }
.skin-dodam .post-body { width: 100%; min-width: 0; box-sizing: border-box; }
.skin-dodam .post-body table { display: block; max-width: 100%; overflow-x: auto; }
.skin-dodam .post-body img { max-width: 100%; height: auto; }

@media (max-width: 1000px) {
    .skin-dodam .dd-card a { grid-template-columns: minmax(0, 1fr); }
    .skin-dodam .dd-card-thumb { min-height: 160px; }
}
@media (max-width: 768px) {
    .skin-dodam .main-header { padding: 10px 0 18px; }
    .skin-dodam .main-header .brand-logo, .skin-dodam .main-header .brand-logo a { font-size: 1.4rem; }
    .skin-dodam .dd-hero { grid-template-columns: minmax(0, 1fr); padding: 28px 22px 0; border-radius: 26px; gap: 4px; margin-top: 14px; }
    .skin-dodam .dd-hero-text { padding-bottom: 0; }
    .skin-dodam .dd-hero h2 { font-size: 1.9rem; }
    .skin-dodam .dd-hero-text p { font-size: .95rem; }
    .skin-dodam .dd-art { max-width: 260px; margin-top: 8px; }
    .skin-dodam .dd-bars { display: flex; overflow-x: auto; gap: 8px; padding-top: 16px; -webkit-overflow-scrolling: touch; }
    .skin-dodam .dd-bar { flex: 0 0 84px; }
    .skin-dodam .dd-bar strong { font-size: .92rem; }
    .skin-dodam .dd-list { margin: 32px 0 28px; }
    .skin-dodam .dd-h { font-size: 1.4rem; }
    .skin-dodam .dd-board { grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
    .skin-dodam .dd-ruler { border-width: 2px; border-radius: 8px; background-size: 14px 100%, 8px 100%; }
    .skin-dodam .dd-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .skin-dodam .dd-card a { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 22px; }
    .skin-dodam .dd-card-thumb { min-height: 104px; border-radius: 16px; }
    .skin-dodam .dd-card-info h3 { font-size: 1.05rem; margin: 8px 0 4px; }
    .skin-dodam .dd-card-info p { display: none; }
    .skin-dodam .dd-official-row { grid-template-columns: minmax(0, 1fr); }
    .skin-dodam .dd-cat-head { padding: 20px 18px; gap: 14px; border-radius: 22px; }
    .skin-dodam .dd-cat-bar { width: 30px; height: 70px; }
    .skin-dodam .dd-cat-head h1 { font-size: 1.6rem; }
    .skin-dodam .dd-post-top { grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 22px 18px; border-radius: 22px; margin-top: 14px; }
    .skin-dodam .dd-post-top .dd-ruler { background-size: 14px 100%, 8px 100%; }
    .skin-dodam .dd-post-top h1 { font-size: 1.5rem; }
    .skin-dodam .dd-post { border-radius: 22px; margin-top: 14px; }
    .skin-dodam .dd-post .post-thumb-full { border-radius: 0; }
}
