/*
Theme Name: 이순신 런 페스타
Theme URI: https://yssmarathon.com/
Author: 포블룬
Description: 2026 이순신 런 페스타 공식 안내 및 참가 접수를 위한 반응형 워드프레스 테마.
Version: 1.0.4
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yss-marathon
License: GPL-2.0-or-later
*/

:root{--ink:#262626;--muted:#737373;--green:#28723f;--green-dark:#12532c;--gold:#d49d27;--line:#ddd;--panel:#f7f8f5;--wrap:1400px;--header:80px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;padding-top:var(--header);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","맑은 고딕",sans-serif;font-size:16px;line-height:1.65;background:#fff}body.menu-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}img{max-width:100%;height:auto}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3978c8;outline-offset:4px}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto;width:auto;height:auto;position:fixed;top:8px;left:8px;padding:10px 18px;margin:0;background:#fff;z-index:999999}.container{max-width:var(--wrap);margin:0 auto;padding:0 24px}.site-header{position:fixed;left:0;top:0;right:0;z-index:1000;height:var(--header);border-bottom:1px solid #e7e7e7;background:#fff}.admin-bar .site-header{top:32px}.header-inner{max-width:var(--wrap);height:80px;margin:auto;padding:0 22px;display:flex;align-items:center;gap:24px}.site-brand{display:flex;align-items:center;flex:none;max-width:260px}.site-brand img{width:250px;max-height:57px;object-fit:contain;object-position:left center}.brand-text{font-weight:900;font-size:22px;line-height:1.2;color:var(--green-dark)}.brand-text small{display:block;font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--muted);margin-bottom:3px}.desktop-nav{margin-left:auto;flex:1;min-width:0}.primary-menu{list-style:none;margin:0;padding:0;display:flex;justify-content:flex-end}.primary-menu>li{position:relative;flex:1;max-width:155px;text-align:center}.primary-menu>li>a{height:80px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;white-space:nowrap;padding:0 9px}.primary-menu>li>a:hover,.primary-menu>li.current-menu-item>a,.primary-menu>li.current-menu-ancestor>a{color:var(--green)}.primary-menu .sub-menu{position:absolute;top:80px;left:0;right:0;height:0;overflow:hidden;list-style:none;padding:0;margin:0;text-align:center;transition:height .2s ease,padding .2s ease}.primary-menu .sub-menu a{display:block;padding:8px 2px;font-size:14px;color:#555;line-height:1.4}.primary-menu .sub-menu a:hover,.primary-menu .sub-menu .current-menu-item>a{color:var(--green);text-decoration:underline}.site-header::before{content:"";position:absolute;left:0;top:79px;right:0;height:0;background:#fff;border-bottom:0 solid var(--line);z-index:-1;transition:height .2s}.site-header.mega-open::before{height:270px;border-bottom-width:1px}.site-header.mega-open .sub-menu{height:270px;padding-top:22px}.menu-toggle{flex:none;display:flex;justify-content:center;align-items:center;gap:8px;width:44px;height:44px;border:0;background:transparent;color:#333}.menu-lines,.menu-lines::before,.menu-lines::after{display:block;width:22px;height:2px;background:currentColor;position:relative;transition:transform .2s}.menu-lines::before,.menu-lines::after{content:"";position:absolute;left:0}.menu-lines::before{top:-7px}.menu-lines::after{top:7px}.mega-open .menu-lines{background:transparent}.mega-open .menu-lines::before{top:0;transform:rotate(45deg)}.mega-open .menu-lines::after{top:0;transform:rotate(-45deg)}.mobile-nav{display:none}
.home-hero{max-width:1400px;height:540px;position:relative;margin:0 auto;background:#edf0e7;overflow:hidden}.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease;isolation:isolate}.hero-slide.is-active{opacity:1;visibility:visible}.hero-photo{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;z-index:-2}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.88) 32%,rgba(255,255,255,.1) 71%);z-index:-1}.hero-content{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:34px 7%;max-width:920px}.hero-kicker{margin:0 0 9px;font-size:18px;letter-spacing:.1em;font-weight:700;color:var(--green)}.hero-content h1{font-size:58px;line-height:1.12;letter-spacing:-.06em;margin:0 0 22px;font-weight:900;word-break:keep-all}.hero-content h1 span{color:var(--green)}.hero-content .hero-lead{font-size:23px;font-weight:600;margin:0 0 24px;word-break:keep-all}.hero-facts{margin:0 0 26px;font-size:18px;line-height:1.8;font-weight:600}.hero-facts strong{display:inline-block;min-width:52px;color:var(--green)}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 25px;border:1px solid var(--green);color:#fff;background:var(--green);font-size:15px;font-weight:700;border-radius:0;line-height:1.5;text-align:center}.button:hover{background:var(--green-dark);border-color:var(--green-dark)}.button.secondary{color:var(--green);background:#fff}.button.secondary:hover{background:#eef5ef}.hero-controls{position:absolute;bottom:20px;left:7%;display:flex;align-items:center;gap:8px;z-index:2}.hero-dot{width:30px;height:5px;border:0;background:#b9c2b4;padding:0}.hero-dot.is-active{background:var(--green)}.hero-pause{width:34px;height:28px;background:rgba(255,255,255,.7);color:#333;border:1px solid #d3d7d0;margin-left:8px;font-size:12px}.hero-progress{position:absolute;left:0;bottom:0;height:3px;background:var(--green);width:0}.hero-progress.is-playing{animation:slide-progress 6s linear infinite}@keyframes slide-progress{from{width:0}to{width:100%}}.hero-slide.is-landscape .hero-shade{background:linear-gradient(90deg,rgba(13,47,25,.92) 0%,rgba(13,47,25,.75) 36%,rgba(13,47,25,.1) 100%)}.hero-slide.is-landscape .hero-content{color:#fff}.hero-slide.is-landscape .hero-kicker,.hero-slide.is-landscape h1 span{color:#efcb6c}.hero-slide.is-landscape .hero-lead{max-width:570px}
.home-info{padding-top:35px;padding-bottom:35px}.info-grid{display:grid;grid-template-columns:5fr 3fr 4fr;border:1px solid var(--line)}.info-card{padding:26px 30px;min-width:0}.info-card+.info-card{border-left:1px solid var(--line)}.card-heading{font-size:22px;font-weight:800;line-height:1.3;margin:0 0 21px;display:flex;justify-content:space-between;align-items:center}.card-heading .more{font-weight:400;font-size:24px;color:#999;display:flex;width:32px;height:32px;align-items:center;justify-content:center}.info-list{display:grid;grid-template-columns:78px 1fr;gap:6px 14px;margin:0;font-size:15px}.info-list dt{color:#666}.info-list dd{margin:0;font-weight:600;word-break:keep-all}.contact-number{font-size:27px;line-height:1.35;font-weight:800;color:var(--green);margin:4px 0 12px;overflow-wrap:anywhere}.small-text{font-size:14px;line-height:1.7;color:#707070;margin:8px 0}.status-pill{display:inline-block;font-size:12px;padding:3px 9px;background:#f0f4ea;color:#526c40;border:1px solid #dfe8d4;margin-left:7px;vertical-align:middle;white-space:nowrap}.bank-name{font-size:19px;font-weight:700;margin:0 0 8px}.bank-account{font-size:24px;font-weight:800;letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;color:var(--green-dark)}.home-boards{display:grid;grid-template-columns:1fr 1fr;gap:42px;padding-bottom:50px}.board-heading{margin-bottom:0;padding-bottom:14px;border-bottom:2px solid #444}.post-list{list-style:none;padding:0;margin:0}.post-list li{border-bottom:1px solid #e8e8e8;display:flex;align-items:center;gap:16px;min-height:47px;font-size:15px}.post-list li a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.post-list li a:hover{color:var(--green);text-decoration:underline}.post-list time{color:#888;flex:none;font-size:13px}.empty-posts{min-height:120px!important;justify-content:center;color:#888;font-size:14px!important}.sponsor-strip{border-top:1px solid var(--line);padding:27px 24px;display:flex;justify-content:center;align-items:center;gap:22px;flex-wrap:wrap;font-size:16px}.sponsor-strip span{font-size:13px;color:#888;margin-right:4px}.sponsor-strip strong{font-size:20px;color:#444}.site-footer{background:#4b4b4b;color:#ccc;font-size:13px;padding:39px 0 27px}.footer-inner{display:flex;align-items:flex-start;gap:45px}.footer-brand{width:240px;flex:none}.footer-brand img{width:220px;max-height:80px;object-fit:contain;background:#fff;padding:9px}.footer-brand .brand-text{color:#fff}.footer-copy{padding-top:1px;flex:1}.footer-copy p{margin:0 0 7px;line-height:1.8}.footer-copy strong{color:#fff;font-weight:600}.footer-links{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:16px}.footer-links a:hover{color:#fff;text-decoration:underline}.copyright{font-size:12px;color:#aaa;margin-top:17px!important}
.sub-banner{height:200px;position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden;background:var(--green-dark);color:#fff}.sub-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 54%;opacity:.35}.sub-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,38,25,.35),rgba(15,40,22,.05),rgba(12,38,25,.35))}.sub-banner h1{font-size:34px;font-weight:700;margin:0;z-index:1;letter-spacing:-.03em}.sub-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:50px;padding-top:45px;padding-bottom:65px}.side-nav h2{font-size:23px;line-height:1.3;margin:0;padding:22px 18px;background:var(--green);color:#fff}.side-nav ul{margin:0 0 25px;padding:0;list-style:none;border:1px solid var(--line);border-top:0}.side-nav li+li{border-top:1px solid #e6e6e6}.side-nav a{display:block;padding:13px 17px;font-size:15px;line-height:1.55}.side-nav a:hover,.side-nav a[aria-current=page]{background:#f2f6ed;color:var(--green);font-weight:700}.side-card{border:1px solid var(--line);padding:19px 17px;margin-bottom:15px}.side-card h3{margin:0 0 11px;font-size:17px}.side-card .bank-account{font-size:19px}.side-card .contact-number{font-size:20px}.page-heading{border-bottom:1px solid #444;display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:30px;padding:4px 0 18px}.page-heading h1{margin:0;font-size:29px;line-height:1.3;letter-spacing:-.03em}.breadcrumbs{font-size:12px;color:#888;white-space:nowrap}.entry-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.entry-content h2{font-size:24px;line-height:1.4;margin:32px 0 16px}.entry-content h3{font-size:19px;line-height:1.45;margin:25px 0 12px}.entry-content p{margin:0 0 17px}.entry-content ul,.entry-content ol{padding-left:24px}.entry-content .data-table{border-collapse:collapse;width:100%;border-top:2px solid var(--green);font-size:15px;margin:0 0 28px}.data-table th,.data-table td{border-bottom:1px solid var(--line);padding:16px 20px;vertical-align:top;text-align:left}.data-table th{background:#f5f7f2;width:145px;font-weight:600;color:#444}.notice-box{padding:25px 28px;border:1px solid #dfe4d7;background:#f8faf5;margin:22px 0;color:#536046}.notice-box strong{color:var(--green-dark)}.ready-panel{text-align:center;border:1px solid var(--line);padding:54px 25px;margin-bottom:26px;background:#fafbf8}.ready-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;border:2px solid #7f9c64;color:var(--green);font-size:26px;border-radius:50%}.ready-panel h2{font-size:25px;margin:0 0 12px}.ready-panel p{color:#777;margin:0 auto 24px;max-width:570px;line-height:1.85}.ready-panel .small-text{font-size:14px;margin-bottom:0}.course-visual{background:#f4f7f2;border:1px solid #dce5d6;min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px 20px;margin:20px 0}.course-visual strong{font-size:46px;color:var(--green);line-height:1.2}.course-visual span{font-size:18px;line-height:1.8;margin-top:8px}.location-link{display:inline-block;margin:0 8px 10px 0}.board-search{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin:0 0 20px}.board-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.board-search input,.board-search select{padding:9px 12px;min-height:43px;border:1px solid #ccc;background:#fff;border-radius:0;max-width:100%}.board-search button{min-height:43px;padding:8px 20px;background:#555;color:#fff;border:1px solid #555}.board-table{width:100%;border-collapse:collapse;font-size:14px;border-top:2px solid #444}.board-table th{background:#f6f6f6;font-weight:600}.board-table th,.board-table td{padding:13px 10px;border-bottom:1px solid #ddd;text-align:center}.board-table .board-title{text-align:left}.board-table a:hover{color:var(--green);text-decoration:underline}.board-table .board-empty{padding:50px 10px;color:#888}.pagination{display:flex;justify-content:center;gap:6px;margin-top:25px}.pagination .page-numbers{display:inline-flex;min-width:37px;height:37px;justify-content:center;align-items:center;padding:0 10px;border:1px solid #ddd;font-size:14px}.pagination .current{background:var(--green);border-color:var(--green);color:#fff}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}.gallery-card{border:1px solid #ddd}.gallery-card img,.gallery-placeholder{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.gallery-placeholder{background:#f4f5f2;display:flex;align-items:center;justify-content:center;font-size:14px;color:#777}.gallery-card h2{font-size:16px;margin:0;padding:13px 15px;line-height:1.5}.post-meta{font-size:13px;color:#888;border-bottom:1px solid #ddd;padding-bottom:15px;margin-bottom:24px}.post-footer{margin-top:35px;padding-top:20px;border-top:1px solid #ddd}.entry-content .wp-block-image{margin:20px 0}.entry-content iframe{max-width:100%}.entry-content input:not([type=checkbox]):not([type=radio]),.entry-content textarea,.entry-content select{max-width:100%}.entry-content pre{max-width:100%;overflow:auto}.entry-content .yss-form{max-width:100%}
@media(min-width:1600px){.header-inner,.container{padding-left:0;padding-right:0}}
@media(max-width:1220px){.header-inner{gap:10px}.site-brand{max-width:210px}.site-brand img{width:210px}.primary-menu>li>a{font-size:14px;padding:0 4px}.info-card{padding:25px 22px}.sub-layout{gap:30px}.hero-content h1{font-size:52px}}
@media(max-width:1024px){:root{--header:65px}.header-inner{height:65px;padding:0 20px}.site-brand img{width:225px;max-height:48px}.desktop-nav{display:none}.menu-toggle{margin-left:auto}.site-header.mega-open::before{display:none}.mobile-nav{position:fixed;display:block;top:65px;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;visibility:hidden;opacity:0;pointer-events:none;padding:18px 24px 40px;transition:opacity .2s}.admin-bar .mobile-nav{top:97px}.mega-open .mobile-nav{visibility:visible;opacity:1;pointer-events:auto}.mobile-menu,.mobile-menu .sub-menu{list-style:none;margin:0;padding:0}.mobile-menu>li{border-bottom:1px solid var(--line);position:relative}.mobile-menu>li>a{display:block;font-size:18px;font-weight:700;padding:17px 45px 17px 2px}.mobile-expand{position:absolute;right:0;top:7px;width:42px;height:46px;background:none;border:0;font-size:22px}.mobile-menu .sub-menu{display:none;padding:0 0 14px}.mobile-menu li.is-expanded .sub-menu{display:block}.mobile-menu .sub-menu a{display:block;padding:10px 15px;background:#f7f8f5;font-size:15px}.mobile-menu .sub-menu li+li a{border-top:1px solid #eceee8}.mobile-menu .current-menu-item>a{color:var(--green)}.mobile-copyright{font-size:12px;color:#999;margin-top:27px}.home-hero{height:490px}.hero-content{padding-left:6%;padding-right:5%}.hero-content h1{font-size:48px}.hero-content .hero-lead{font-size:21px}.hero-controls{left:6%}.info-grid{grid-template-columns:1.4fr 1fr}.info-card:last-child{grid-column:1/-1;border-top:1px solid var(--line);border-left:0;display:grid;grid-template-columns:1fr 1.5fr 1.5fr;gap:0 20px;align-items:center}.info-card:last-child .card-heading{grid-row:1/3;margin-bottom:0}.info-card:last-child .small-text{margin:5px 0;grid-column:2/-1}.home-boards{gap:30px}.footer-inner{gap:28px}.footer-brand{width:200px}.footer-brand img{width:190px}.sub-layout{grid-template-columns:200px minmax(0,1fr);gap:26px}.page-heading h1{font-size:26px}.side-nav h2{font-size:21px}}
@media(max-width:782px){.admin-bar .site-header{top:46px}.admin-bar .mobile-nav{top:111px}.container{padding:0 18px}.home-hero{height:500px}.hero-content{padding:35px 7% 55px;justify-content:center}.hero-kicker{font-size:14px;letter-spacing:.06em}.hero-content h1{font-size:42px;margin-bottom:19px}.hero-content .hero-lead{font-size:18px;max-width:390px;margin-bottom:20px}.hero-facts{font-size:16px;margin-bottom:20px}.hero-shade{background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.9) 48%,rgba(255,255,255,.35) 100%)}.hero-photo{object-position:63% center}.hero-slide.is-landscape .hero-shade{background:linear-gradient(90deg,rgba(13,47,25,.9),rgba(13,47,25,.68))}.hero-controls{left:7%;bottom:21px}.button{font-size:14px;padding:10px 18px;min-height:44px}.home-info{padding-top:23px;padding-bottom:25px}.info-grid{grid-template-columns:1fr}.info-card{padding:23px 22px}.info-card+.info-card{border-left:0;border-top:1px solid var(--line)}.info-card:last-child{display:block;grid-column:auto}.info-card:last-child .card-heading{margin-bottom:18px}.card-heading{font-size:20px;margin-bottom:18px}.info-list{grid-template-columns:72px 1fr;font-size:14px;gap:7px 12px}.contact-number{font-size:25px}.bank-account{font-size:23px}.home-boards{grid-template-columns:1fr;gap:30px;padding-bottom:35px}.post-list li{min-height:46px;font-size:14px}.post-list time{font-size:12px}.sponsor-strip{gap:13px 20px;padding:21px 18px;font-size:14px}.sponsor-strip strong{font-size:18px}.site-footer{padding:29px 0 25px}.footer-inner{display:block}.footer-brand{width:auto;margin-bottom:20px}.footer-brand img{width:200px;max-height:65px}.footer-links{margin-bottom:14px;gap:17px}.footer-copy p{font-size:12px}.sub-banner{height:150px}.sub-banner h1{font-size:28px}.sub-layout{display:block;padding-top:23px;padding-bottom:40px}.sidebar .side-card{display:none}.side-nav h2{display:none}.side-nav ul{display:flex;overflow-x:auto;border:1px solid var(--line);margin-bottom:28px;scrollbar-width:thin}.side-nav li{flex:none}.side-nav li+li{border-top:0;border-left:1px solid var(--line)}.side-nav a{padding:12px 15px;font-size:14px;white-space:nowrap}.page-heading{padding-bottom:15px;margin-bottom:24px}.page-heading h1{font-size:24px}.breadcrumbs{display:none}.entry-content{font-size:15px;line-height:1.85}.entry-content h2{font-size:22px}.entry-content h3{font-size:18px}.data-table th,.data-table td{padding:13px 12px}.data-table th{width:93px;font-size:14px}.notice-box{padding:20px 18px}.ready-panel{padding:38px 18px}.ready-panel h2{font-size:22px}.ready-panel p{font-size:14px}.board-search{justify-content:flex-start}.board-search input{flex:1;min-width:0;width:100px}.board-table th,.board-table td{padding:12px 6px}.board-table .board-author,.board-table .board-number{display:none}.board-table .board-title{font-size:13px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gallery-card h2{font-size:14px;padding:10px}.course-visual strong{font-size:40px}}
@media(max-width:380px){.site-brand img{width:200px}.header-inner{padding:0 14px}.hero-content h1{font-size:37px}.hero-content .hero-lead{font-size:16px}.hero-facts{font-size:14px}.hero-actions{gap:7px}.button{padding:9px 14px}.info-card{padding:22px 18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Remove generated canvas whitespace without clipping logo artwork. */
.site-brand img.yss-logo-clean,.footer-brand img.yss-logo-clean{aspect-ratio:5.58;height:auto;object-fit:cover;object-position:center;}

.yss-table-scroll{overflow-x:auto}.entry-content figure img{display:block;margin:24px auto;max-height:1100px;object-fit:contain}.plan-summary{background:#eef5ef;border-left:4px solid var(--green);padding:20px 24px;margin:24px 0}.plan-summary strong{color:var(--green-dark)}
