/*
Theme Name: Hyetaekday
Description: 혜택데이 생애주기 카드 테마 (시안 B)
Version: 1.9
Requires at least: 6.5
Text Domain: hyetaekday
*/
:root{--peach:#ff8a65;--sky:#8ec5ff;--lilac:#c9b6ff;--rose:#ffc2b0;--lemon:#ffd66b;--mint:#7fd1b9}
body{word-break:keep-all}
a{text-decoration:none}
.hd-header{max-width:1080px;margin:0 auto;padding:16px 20px;display:flex;justify-content:space-between;align-items:center}
.hd-logo{display:flex;gap:8px;align-items:center;font-weight:800;font-size:20px;color:var(--wp--preset--color--ink)}
.hd-logo i{width:30px;height:30px;border-radius:10px;background:var(--peach);display:grid;place-items:center;color:#fff;font-style:normal;font-size:15px}
.hd-nav{display:flex;gap:18px;font-size:14px}.hd-nav a{color:var(--wp--preset--color--sub)}
.hd-wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.hd-hero{background:linear-gradient(135deg,#ffe3d3,#fff1c9);border-radius:28px;padding:48px;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
.hd-hero h1{font-size:40px;line-height:1.3;margin:0 0 14px;letter-spacing:-.02em}
.hd-hero h1 span{background:linear-gradient(transparent 60%,#fff 60%)}
.hd-hero p{color:var(--wp--preset--color--sub);line-height:1.7;margin:0 0 20px}
.hd-q{background:#fff;border-radius:18px;padding:18px;box-shadow:0 6px 24px #e9b99a33}.hd-q b{display:block;margin-bottom:10px}
.hd-opts{display:flex;flex-wrap:wrap;gap:8px}.hd-opts a{background:var(--wp--preset--color--base);border-radius:12px;padding:10px 14px;font-size:14px;color:inherit}
.hd-trust{font-size:13px;color:var(--wp--preset--color--sub);margin-top:14px}
.hd-hero .wp-block-post-featured-image img{border-radius:20px;aspect-ratio:3/2;object-fit:cover}
.hd-hero .wp-block-post-title{font-size:15px;margin-top:10px}
.hd-h2{font-size:22px;margin:48px 0 16px}
.hd-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.hd-stage{border-radius:20px;padding:20px 16px;font-weight:600;min-height:120px;display:flex;flex-direction:column;justify-content:space-between;color:var(--wp--preset--color--ink)}
.hd-stage em{font-style:normal;font-size:28px}.hd-stage small{font-weight:400;font-size:13px;opacity:.75}
.hd-cards .wp-block-post{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 2px 12px #0000000a}
.hd-cards .wp-block-post-featured-image{margin:0}.hd-cards .wp-block-post-featured-image img{aspect-ratio:16/9;object-fit:cover}
.hd-card-body{padding:14px 18px 20px}
.hd-card-body .wp-block-post-terms a{display:inline-block;font-size:12px;border-radius:8px;padding:3px 8px;background:var(--wp--preset--color--base);color:var(--wp--preset--color--sub)}
.hd-card-body .wp-block-post-title{font-size:17px;line-height:1.45;margin:10px 0 6px}.hd-card-body .wp-block-post-title a{color:inherit}
.hd-card-body .wp-block-post-date{font-size:13px;color:var(--wp--preset--color--sub)}
.hd-footer{text-align:center;color:var(--wp--preset--color--sub);font-size:13px;padding:56px 20px 32px}.hd-footer a{color:inherit;margin:0 8px}
/* 글 본문 */
.hd-article{max-width:740px;margin:0 auto;padding:24px 20px}
.hd-article .wp-block-post-title{font-size:32px;line-height:1.35;letter-spacing:-.02em}
.hd-article .wp-block-post-featured-image img{border-radius:20px}
.hd-article .wp-block-post-content{font-size:17px;line-height:1.85}
.hd-article .wp-block-post-content h2{font-size:24px;margin-top:2.2em}
.hd-article .wp-block-post-content blockquote{background:#fff;border:0;border-left:4px solid var(--peach);border-radius:12px;padding:16px 20px;margin:1.5em 0}
.hd-article .wp-block-post-content table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;font-size:15px}
.hd-article .wp-block-post-content th{background:#ffe3d3;text-align:left}
.hd-article .wp-block-post-content th,.hd-article .wp-block-post-content td{padding:10px 12px;border-bottom:1px solid #f1e6dc}
@media(max-width:760px){.hd-hero{grid-template-columns:1fr;padding:28px}.hd-hero h1{font-size:30px}.hd-stages{grid-template-columns:repeat(2,1fr)}.hd-nav{display:none}.hd-article .wp-block-post-title{font-size:26px}}
.hd-article .wp-block-post-content figure.wp-block-image{margin:2em 0}
.hd-article .wp-block-post-content figure.wp-block-image img{width:100%;height:auto;border-radius:16px}
.hd-article .wp-block-post-content figure.hd-shot img{max-width:420px;display:block;margin:0 auto;border:1px solid #f1e6dc}
.hd-article .wp-block-post-content figcaption{text-align:center;font-size:14px;color:var(--wp--preset--color--sub);margin-top:8px}
.hd-author{margin-top:48px;background:#fff;border-radius:16px;padding:20px 22px;font-size:15px;line-height:1.7}
.hd-author .wp-block-post-author__name{font-weight:700}.hd-author .wp-block-post-author__bio{color:var(--wp--preset--color--sub);margin-top:6px}
.hd-finder{background:#fff;border-radius:20px;padding:20px;box-shadow:0 6px 24px #e9b99a33}
.hd-finder-opts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hd-finder fieldset{border:0;margin:0;padding:0}.hd-finder legend{font-weight:700;margin-bottom:6px}
.hd-finder label{display:flex;gap:6px;align-items:center;padding:6px 0;font-size:15px;cursor:pointer}
.hd-finder input{width:18px;height:18px;accent-color:var(--peach)}
.hd-finder-count{margin:14px 0 6px;font-weight:600}
.hd-finder ul{list-style:none;margin:0;padding:0}.hd-finder li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #f1e6dd}
.hd-finder li a{color:var(--wp--preset--color--ink);font-weight:500}.hd-finder li a:hover{text-decoration:underline}
.hd-finder li small{white-space:nowrap;color:var(--wp--preset--color--sub)}
.hd-finder-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 6px}.hd-finder-bar .hd-finder-count{margin:0}
.hd-finder-reset{background:none;border:1px solid #e9d8cb;border-radius:10px;padding:8px 12px;font:inherit;font-size:14px;color:var(--wp--preset--color--sub);cursor:pointer;min-height:40px}
@media(max-width:760px){.hd-finder-opts{grid-template-columns:1fr 1fr}.hd-finder label{min-height:44px;padding:0}.hd-finder li{flex-direction:column;gap:2px}}
.hd-finder li[hidden]{display:none}
.hd-check-form{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;background:#fff;border-radius:20px;padding:20px;box-shadow:0 6px 24px #e9b99a33}
.hd-check-form fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.hd-check-form legend{font-weight:700;margin-bottom:6px}
.hd-check-form label{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:15px;min-height:40px}
.hd-check-form input[type=number],.hd-check-form input[type=month],.hd-check-form select{box-sizing:border-box;font:inherit;font-size:16px;line-height:1.2;height:44px;padding:0 10px;border:1px solid #e3d2c4;border-radius:10px;background:#fff;color:inherit}.hd-check-form input[type=number]{width:7.5em}.hd-check-form input[type=month]{width:11em}
.hd-check-form input[type=checkbox]{width:18px;height:18px;accent-color:var(--peach)}
.hd-check-form [hidden]{display:none}
.hd-check-form button{grid-column:1/-1;font:inherit;font-weight:700;font-size:16px;padding:14px;border:0;border-radius:14px;background:var(--wp--preset--color--ink);color:#fff;cursor:pointer}
.hd-check-note{grid-column:1/-1;margin:0;font-size:13px;color:var(--wp--preset--color--sub)}
.hd-check-out{scroll-margin-top:20px}.hd-check-sum{font-weight:600;margin:24px 0 10px}
.hd-check-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hd-check-list>li{background:#fff;border-radius:16px;padding:16px}
.hd-check-list>li .hd-check-head span{border-radius:999px;padding:3px 10px;background:#f1e6dd;color:var(--wp--preset--color--ink)}.hd-check-list>li.is-yes .hd-check-head span{background:#d5f0e7}.hd-check-list>li.is-maybe .hd-check-head span{background:#ffefc2}
.hd-check-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.hd-check-head a{font-weight:700;font-size:17px;color:var(--wp--preset--color--ink);text-decoration:underline;text-underline-offset:3px}
.hd-check-head span{font-size:13px;white-space:nowrap;color:var(--wp--preset--color--sub)}
.hd-check-list p{margin:8px 0 0}.hd-check-list .why{color:#a2391b}.hd-check-list ul{margin:8px 0 0;padding-left:18px;font-size:14px;color:var(--wp--preset--color--sub)}
.hd-check details{margin-top:16px}.hd-check summary{cursor:pointer;font-weight:600;padding:10px 0}
@media(max-width:760px){.hd-check-form{grid-template-columns:1fr}.hd-check-head{flex-direction:column;gap:2px}}
.hd-check-cta{margin:12px 0 0}.hd-check-cta a{display:inline-block;font-weight:700;padding:12px 16px;border-radius:14px;background:var(--wp--preset--color--ink);color:#fff}
.hd-sub{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-radius:20px;padding:18px 20px;margin:28px 0;box-shadow:0 6px 24px #e9b99a33}
.hd-sub p{margin:0;display:flex;flex-direction:column;gap:4px}.hd-sub span{font-size:14px;color:var(--wp--preset--color--sub)}
.hd-sub a{flex:none;font-weight:700;padding:12px 16px;border-radius:14px;background:#1f6fb2;color:#fff;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
@media(max-width:760px){.hd-sub{flex-direction:column;align-items:stretch}.hd-sub a{justify-content:center}}
