/*
Theme Name: 백도사 포털
Author: 백도사 프로젝트
Description: 시니어에게 편안한 화면과 전국 생활정보 검색을 제공하는 백도사 전용 워드프레스 테마. 백도사 코어 플러그인과 함께 사용합니다.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: baekdosa-portal
License: GPL v2 or later
*/
:root {
  --ink: #163e3b; --deep: #104a46; --teal: #11796c; --teal-dark: #0b5e54;
  --yellow: #f9b955; --cream: #fffaf0; --beige: #f7f5ef;
  --text: #263e3c; --muted: #667671; --line: #e5eae4; --white: #fff;
  --shadow: 0 12px 36px rgba(12, 61, 56, .07); --radius: 24px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;font-size:17px;line-height:1.68;word-break:keep-all;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit} button,select{cursor:pointer} a{color:inherit;text-decoration:none} img{max-width:100%;height:auto} p{margin:0 0 1em} h1,h2,h3,h4{color:var(--ink);line-height:1.33;margin:0;font-weight:800;letter-spacing:-.055em} h1{font-size:clamp(38px,4.15vw,62px)} h2{font-size:clamp(29px,3vw,42px)} h3{font-size:22px}
:focus-visible{outline:3px solid #e89e28;outline-offset:3px}
.container{width:min(1180px,calc(100% - 48px));margin:0 auto}
.sr-only,.skip-link:not(:focus){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link:focus{position:fixed;z-index:999;top:8px;left:8px;background:var(--deep);color:#fff;padding:12px 18px;border-radius:8px}
.site-header{height:90px;position:relative;z-index:30;background:#fff;border-bottom:1px solid #e9eee8}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:22px}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
.brand-avatar{display:block;width:51px;height:51px;object-fit:cover;border-radius:50%;background:#f7e6bd}
.brand-text{display:flex;flex-direction:column;line-height:1.17}
.brand-name,.footer-logo{font-weight:900;letter-spacing:-.08em;color:#113f3b;font-size:32px}
.brand-name span,.footer-logo span{color:#dc8c29}
.brand-sub{font-size:10.5px;font-weight:700;color:#6d7b75;letter-spacing:-.025em;margin-top:3px}
.main-nav{display:flex;align-items:center;gap:24px}.nav-list{display:flex;align-items:center;gap:27px;list-style:none;margin:0;padding:0}.nav-list a{font-size:15px;font-weight:800;color:#354c49;white-space:nowrap}.nav-list a:hover,.footer-links a:hover{color:var(--teal)}
.nav-cta{background:var(--deep);color:#fff;font-weight:800;font-size:14px;padding:12px 18px;border-radius:40px;white-space:nowrap;transition:transform .2s,background .2s}.nav-cta:hover{background:var(--teal);transform:translateY(-1px)}
.mobile-toggle{display:none}
/* Hero */
.hero{background:radial-gradient(circle at 84% 25%,rgba(255,220,149,.45),transparent 31%),linear-gradient(104deg,#fff9e9 0%,#fffdf8 58%,#f7fbf4 100%);overflow:hidden}
.hero-grid{min-height:558px;display:grid;grid-template-columns:minmax(0,1.28fr) minmax(350px,.82fr);gap:36px;align-items:center;position:relative;padding-top:66px;padding-bottom:62px}
.hero-copy{position:relative;z-index:3}.eyebrow{display:inline-flex;align-items:center;gap:9px;background:#e8f5e9;color:#167365;border-radius:90px;padding:7px 15px;font-weight:800;font-size:14px;line-height:1.5;margin-bottom:24px}.eyebrow-dot{display:inline-block;background:#22a07a;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #cef1d9}
.hero h1{line-height:1.26}.hero h1 em{font-style:normal;color:#087d70;white-space:nowrap}.hero-lead{color:#66736e;font-size:18px;line-height:1.78;margin:23px 0 29px}
.hero-search{width:min(690px,100%);display:grid;grid-template-columns:1fr 165px 125px;min-height:70px;align-items:stretch;border-radius:18px;background:#fff;box-shadow:0 11px 32px rgba(32,61,48,.12);padding:7px;gap:0;border:1px solid #eef1e8}
.hero-search-main{display:flex;align-items:center;min-width:0;padding-left:14px}.search-icon{font-size:35px;color:var(--teal);font-weight:600;margin-right:12px;line-height:1;transform:rotate(-12deg)}.hero-search input{appearance:none;width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:15px;font-weight:600}.hero-search input::placeholder{color:#88948f;font-weight:500}
.hero-search-region{border-left:1px solid #e8ede7;margin:10px 0;display:flex;align-items:center;padding-left:7px}.hero-search select{width:100%;color:#3f5b55;border:0;background:#fff;outline:0;font-size:13px;font-weight:700;padding:9px 3px;white-space:nowrap}
.search-button{border:0;border-radius:13px;background:var(--deep);color:#fff;font-size:16px;font-weight:850;padding:0 10px;white-space:nowrap}.search-button span{font-weight:900;margin-left:3px}.search-button:hover{background:var(--teal)}
.popular-queries{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px;font-size:13px}.popular-queries>span{font-weight:800;color:#6f7d76;margin-right:3px}.popular-queries a{border:1px solid #dfe7dc;padding:5px 11px;border-radius:25px;color:#536960;background:#fffaf5;font-weight:700}.popular-queries a:hover{border-color:var(--teal);color:var(--teal)}
.hero-visual{height:440px;position:relative;align-self:center;display:flex;align-items:center;justify-content:center}.hero-sun{position:absolute;width:390px;height:390px;border-radius:50%;background:linear-gradient(125deg,#f7d48b,#e8f5df);right:0;bottom:0;opacity:.8}
.hero-mascot{z-index:1;position:relative;object-fit:cover;object-position:30% 50%;width:365px;height:426px;border-radius:36% 36% 32% 32%;box-shadow:0 21px 31px rgba(13,73,54,.12);transform:rotate(-2deg)}
.mascot-speech{position:absolute;z-index:2;right:-12px;top:19px;background:#fff;padding:15px 21px;border-radius:24px 24px 24px 5px;box-shadow:var(--shadow);font-size:15px;line-height:1.55;font-weight:650;color:#38554c;transform:rotate(4deg)}.mascot-speech strong{font-size:20px;color:#087b6a}.speech-star{color:#f3a23d;margin-right:3px}.hero-sticker{position:absolute;z-index:2;left:-8px;bottom:18px;background:#ffe5aa;border:3px solid #fff;border-radius:23px;padding:15px 19px;transform:rotate(-8deg);box-shadow:0 6px 18px #a3793829;font-weight:700;font-size:14px;line-height:1.6;color:#745322}.hero-sticker strong{color:#9b5816;font-size:19px}
.trust-bar{background:#0c554c;color:#f2fffa}.trust-inner{min-height:66px;display:flex;justify-content:space-around;align-items:center;gap:14px}.trust-inner>div{display:flex;align-items:center;gap:10px;font-weight:760;font-size:14px}.trust-symbol{border:1.5px solid #acdbbc;background:#267869;color:#e8fff4;border-radius:50%;font-size:12px;font-weight:900;display:grid;place-items:center;width:23px;height:23px}
/* home categories */
.section{padding:85px 0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:33px}.section-kicker{display:block;color:#148476;font-size:15px;font-weight:850;margin-bottom:10px;letter-spacing:-.03em}.section-heading p{margin:11px 0 0;color:#72807b;font-size:16px}.section-counter{align-self:center;color:var(--teal);background:#eaf7f1;padding:10px 15px;border-radius:30px;font-size:13px;font-weight:850;white-space:nowrap}
.topic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.topic-card{position:relative;display:flex;flex-direction:column;min-height:191px;border-radius:22px;padding:22px 17px 19px;border:1px solid rgba(47,80,65,.07);transition:transform .2s,box-shadow .2s,border .2s}.topic-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #123c3012;border-color:#99cabc}.topic-icon{font-size:38px;width:62px;height:62px;display:flex;align-items:center;justify-content:center;border-radius:19px;background:#ffffff9a;margin-bottom:17px;line-height:1}.topic-card strong{font-size:17px;line-height:1.35;color:#233a34;letter-spacing:-.06em}.topic-desc{font-size:12.5px;color:#6b7a73;margin-top:6px;font-weight:650;letter-spacing:-.04em}.topic-arrow{position:absolute;right:16px;top:19px;color:#718c82;font-weight:850;font-size:21px}.tone-peach{background:#fff0e4}.tone-pink{background:#fff0f1}.tone-mint{background:#eaf8f1}.tone-yellow{background:#fff5d9}.tone-blue{background:#edf5ff}.tone-purple{background:#f3efff}.tone-green{background:#edf7e9}.tone-lime{background:#f6f8e3}.tone-rose{background:#fff0ec}.tone-sky{background:#edf8fc}
.how-section{background:#f8faf7}.how-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center}.how-intro h2{line-height:1.33}.how-intro h2 span{color:#168879}.how-intro p{font-size:16px;color:#70827a;line-height:1.8;margin-top:20px;max-width:360px}.text-link,.small-link{color:#087366;font-weight:850;font-size:15px;display:inline-flex;align-items:center;gap:13px}.text-link{margin-top:10px;border-bottom:2px solid #0e8171;padding-bottom:5px}.text-link:hover,.small-link:hover{color:#cc8316}
.steps{display:grid;gap:13px}.step{display:flex;align-items:center;gap:21px;border:1px solid #e5eee7;background:#fff;border-radius:18px;padding:19px 25px;box-shadow:0 5px 17px #1b544308}.step-number{font-weight:900;color:#178373;font-size:17px;background:#e9f7ee;display:grid;place-items:center;width:45px;height:45px;border-radius:15px;flex:none}.step>div{flex:1}.step strong{font-size:17px;color:#304b43}.step p{font-size:13.5px;color:#71857b;margin:4px 0 0}.step-emoji{font-size:27px}
.updates-section{background:#fff}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.resource-card{background:#fff;border:1px solid #e5ece7;border-radius:20px;padding:23px;display:flex;flex-direction:column;min-height:236px;box-shadow:0 4px 16px #174c3208}.resource-card:hover{box-shadow:var(--shadow)}.resource-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;margin-bottom:16px}.resource-pill{background:#e9f5eb;color:#167b6a;border-radius:90px;padding:3px 10px;font-weight:800}.resource-region{color:#71827b}.resource-card h3{font-size:20px;line-height:1.45;margin-bottom:9px}.resource-card h3 a:hover{color:#0d8575}.resource-card>p{font-size:14px;color:#708079;line-height:1.7;flex:1;margin-bottom:22px}.resource-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#82928b;border-top:1px solid #edf1ec;padding-top:13px}.resource-card-bottom a{color:#147c70;font-size:13px;font-weight:800}
.empty-updates{display:flex;align-items:center;gap:20px;padding:27px 32px;border:1px dashed #c5d8cc;background:#f7fbf5;border-radius:22px}.empty-illustration{font-size:37px;width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:#eaf6ea;border-radius:22px;flex:none}.empty-updates>div:nth-child(2){flex:1}.empty-updates strong{font-size:19px;color:#355b4b}.empty-updates p{font-size:14px;color:#708278;margin:7px 0 0;line-height:1.7}.outline-button{border:1px solid #92c2ac;color:#11796c;padding:11px 18px;border-radius:100px;white-space:nowrap;font-weight:850;font-size:14px}.outline-button:hover{background:#eaf7ed}
.cta-section{background:var(--deep);color:#fff;padding:47px 0}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.cta-section h2{font-size:31px;color:#fff;margin:6px 0 12px}.cta-section p{font-size:15px;color:#d0e6df;margin:0}.cta-eyebrow{font-size:13px;font-weight:800;color:#eec480}.cta-button{background:#ffca72;border-radius:12px;padding:16px 23px;color:#3b4b34;font-weight:900;white-space:nowrap;font-size:15px}.cta-button span{margin-left:10px}
.site-footer{background:#f5f7f2;border-top:1px solid #e4eae3}.footer-top{display:grid;grid-template-columns:2.6fr 1fr 1fr;gap:50px;padding-top:54px;padding-bottom:45px}.footer-logo{font-size:31px}.footer-about p{font-size:13px;color:#718078;line-height:1.9;margin-top:14px}.footer-links{display:flex;flex-direction:column;gap:9px}.footer-links strong{font-size:15px;color:#425951;margin-bottom:7px}.footer-links a{color:#74837c;font-size:13px}.footer-bottom{border-top:1px solid #e0e7df;display:flex;justify-content:space-between;gap:25px;align-items:center;padding:20px 0 28px}.footer-bottom p{color:#829187;font-size:12px;margin:0;max-width:850px;line-height:1.65}.footer-bottom span{font-size:12px;color:#84938a;white-space:nowrap}.back-to-top{position:fixed;bottom:25px;right:25px;border:1px solid #d4e4d9;background:#fff;color:var(--teal);width:45px;height:45px;border-radius:14px;box-shadow:0 5px 15px #28534420;font-size:24px;display:none;z-index:20}.back-to-top.visible{display:block}
/* Inner pages */
.inner-hero{background:linear-gradient(110deg,#f0f9f1,#fffaf0);padding:62px 0 53px;border-bottom:1px solid #eaf0e5}.inner-hero .section-kicker{margin-bottom:12px}.inner-hero h1{font-size:clamp(33px,4.5vw,49px)}.inner-hero p{color:#61756c;margin:17px 0 0;font-size:17px;line-height:1.75;max-width:800px}.breadcrumbs{font-size:13px;color:#759086;margin:0 0 19px}.breadcrumbs a:hover{text-decoration:underline}.breadcrumbs span{margin:0 8px;color:#9dac9f}
.inner-body{padding:50px 0 95px;min-height:360px}.results-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.results-head h2{font-size:25px}.results-count{font-size:14px;color:#6e8177}.filter-form{display:flex;gap:10px;align-items:center;margin-bottom:27px;flex-wrap:wrap}.filter-form select,.filter-form input{min-height:49px;border-radius:11px;border:1px solid #dbe5dc;padding:0 15px;color:#415d52;background:#fff;min-width:190px}.filter-form button{min-height:49px;border:0;background:var(--deep);border-radius:11px;color:#fff;padding:0 25px;font-weight:800}.filter-form button:hover{background:var(--teal)}
.no-results{padding:48px 25px;text-align:center;border:1px dashed #d2e0d7;background:#fafdf9;border-radius:23px}.no-results .no-results-icon{font-size:49px;margin-bottom:12px}.no-results h2{font-size:25px}.no-results p{color:#708278;margin:13px 0 23px}.no-results a{display:inline-block;background:#0d7268;color:#fff;padding:11px 19px;border-radius:11px;font-weight:800}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:35px}.pagination .page-numbers{border:1px solid #dbe6de;padding:8px 14px;border-radius:9px;font-weight:700}.pagination .page-numbers.current{background:var(--teal);color:#fff;border-color:var(--teal)}
.article-wrap{width:min(900px,calc(100% - 48px));margin:0 auto;padding:60px 0 95px}.article-head{border-bottom:1px solid #e5ede7;padding-bottom:30px;margin-bottom:35px}.article-head h1{font-size:clamp(30px,4vw,47px);margin:14px 0 18px}.article-sub{font-size:14px;color:#84948b;display:flex;gap:13px;flex-wrap:wrap}.article-body{font-size:17px;line-height:1.92;color:#3c534a;overflow-wrap:anywhere}.article-body h2{font-size:27px;margin:33px 0 14px}.article-body h3{font-size:22px;margin:28px 0 12px}.article-body a{color:var(--teal);text-decoration:underline}.article-body p{margin:0 0 22px}.article-body ul,.article-body ol{padding-left:23px;margin-bottom:22px}.article-body img{border-radius:15px}.article-note{background:#f4f9f4;border:1px solid #d9e8dc;padding:22px 24px;border-radius:17px;margin:35px 0}.article-note h2{font-size:19px;margin:0 0 12px}.article-note dl{display:grid;grid-template-columns:100px 1fr;gap:7px 15px;margin:0;font-size:15px}.article-note dt{color:#77897d;font-weight:750}.article-note dd{margin:0;color:#405a50;word-break:break-word}.article-note a{color:var(--teal);text-decoration:underline}.official-button{display:inline-block;background:var(--teal);color:#fff!important;padding:13px 20px;border-radius:11px;font-weight:800;text-decoration:none!important;margin-top:8px}.official-button:hover{background:var(--teal-dark)}.article-disclaimer{font-size:13px;color:#76867e;line-height:1.8;background:#fffaf0;padding:14px 17px;border-radius:11px}
/* WordPress editor alignments and embeds */
.aligncenter{margin-left:auto;margin-right:auto;display:block}.alignright{float:right;margin-left:20px}.alignleft{float:left;margin-right:20px}.wp-block-image img{height:auto}.wp-block-embed{max-width:100%}figure{max-width:100%;margin:0 0 20px}
@media(max-width:1070px){.nav-list{gap:14px}.nav-list a{font-size:13px}.hero-grid{grid-template-columns:1.2fr .8fr;gap:15px}.hero-visual{height:370px}.hero-mascot{width:305px;height:365px}.mascot-speech{right:-12px}.topic-grid{gap:12px}.topic-card{padding:18px 13px}.topic-card strong{font-size:15px}.topic-desc{font-size:12px}.how-grid{gap:45px}}
@media(max-width:800px){body{font-size:16px}.container{width:min(100% - 32px,680px)}.site-header{height:76px}.brand-name{font-size:28px}.brand-sub{font-size:9.5px}.brand-avatar{width:44px;height:44px}.mobile-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:43px;height:43px;border:1px solid #e1eae3;background:#fff;border-radius:12px;align-items:center}.mobile-toggle span{width:20px;height:2px;background:#325d54;border-radius:5px}.main-nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;padding:18px 22px 24px;box-shadow:0 13px 18px #153d3719;border-top:1px solid #eaf1eb}.main-nav.open{display:block}.nav-list{display:flex;flex-direction:column;align-items:stretch;gap:0}.nav-list li{border-bottom:1px solid #edf2ed}.nav-list a{display:block;padding:11px 6px;font-size:16px}.nav-cta{display:block;margin-top:18px;text-align:center;padding:12px}.hero-grid{min-height:0;grid-template-columns:1fr;gap:16px;padding-top:45px;padding-bottom:47px}.hero h1{font-size:clamp(34px,7vw,49px)}.hero h1 em{white-space:normal}.hero-visual{height:290px;width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;margin:0 auto;max-width:500px}.hero-sun{width:275px;height:275px;right:10%;bottom:-25px}.hero-mascot{width:245px;height:300px;border-radius:34% 34% 30% 30%;object-position:32% 55%;transform:rotate(-2deg)}.mascot-speech{right:4%;top:12px;padding:10px 12px;font-size:12px}.mascot-speech strong{font-size:16px}.hero-sticker{left:3%;bottom:13px;padding:8px 12px;font-size:11px}.hero-sticker strong{font-size:15px}.trust-inner{justify-content:center;flex-wrap:wrap;gap:11px 27px;padding:17px 0}.trust-inner>div{font-size:12px}.trust-symbol{width:20px;height:20px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topic-card{min-height:170px;padding:17px}.topic-icon{font-size:33px;width:53px;height:53px;margin-bottom:12px}.topic-card strong{font-size:16px}.section{padding:60px 0}.section-heading{align-items:flex-start}.section-counter{display:none}.how-grid{grid-template-columns:1fr;gap:25px}.how-intro h2{font-size:33px}.how-intro p{max-width:100%}.resource-grid{grid-template-columns:1fr}.empty-updates{flex-direction:column;text-align:center;padding:25px 19px;gap:12px}.cta-inner{flex-direction:column;align-items:flex-start}.footer-top{grid-template-columns:1fr 1fr;gap:29px}.footer-about{grid-column:1 / -1}.footer-bottom{flex-direction:column;align-items:flex-start;gap:7px}.inner-hero{padding:42px 0}.inner-body{padding:39px 0 70px}.results-head h2{font-size:23px}}
@media(max-width:560px){.hero-grid{padding-top:35px}.eyebrow{font-size:12px;padding:6px 11px;margin-bottom:19px}.hero h1{font-size:34px;letter-spacing:-.07em}.hero-lead{font-size:15px;margin:18px 0 22px}.hero-search{display:grid;grid-template-columns:1fr 112px;grid-template-rows:57px 47px;min-height:0;padding:6px;gap:5px;border-radius:16px}.hero-search-main{grid-column:1 / -1;padding:0 8px;border-bottom:1px solid #e9eee7}.search-icon{font-size:28px;margin-right:7px}.hero-search input{font-size:14px}.hero-search-region{grid-column:1;grid-row:2;margin:0;border-left:0;padding:0 9px}.hero-search select{font-size:13px}.search-button{grid-column:2;grid-row:2;font-size:14px}.popular-queries{font-size:12px;margin-top:15px}.popular-queries a{padding:4px 10px}.hero-visual{height:251px}.hero-mascot{height:245px;width:210px}.hero-sun{width:240px;height:240px;right:7%}.hero-sticker{left:0}.mascot-speech{right:-1%;top:15px}.trust-inner{display:grid;grid-template-columns:1fr;justify-items:center;gap:8px}.trust-inner>div{width:232px;font-size:12px}.section{padding:51px 0}.section-heading h2{font-size:29px}.section-heading p{font-size:14px}.topic-card{min-height:158px;border-radius:17px}.topic-card strong{font-size:15px}.topic-card .topic-desc{font-size:11px}.topic-icon{font-size:30px}.topic-arrow{font-size:17px;right:13px;top:13px}.steps .step{padding:15px;gap:12px}.step-number{width:36px;height:36px;font-size:14px}.step strong{font-size:15px}.step p{font-size:12px}.step-emoji{font-size:22px}.cta-section{padding:36px 0}.cta-section h2{font-size:25px}.footer-top{padding-top:42px}.footer-logo{font-size:28px}.article-wrap{width:calc(100% - 32px);padding:41px 0 65px}.article-note dl{grid-template-columns:80px 1fr}.filter-form>*{flex:1 1 100%}.results-head{align-items:flex-start}.results-head h2{font-size:21px}.results-count{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
