
:root{--navy:#142e63;--navy2:#244f99;--ink:#20314c;--muted:#596b82;--border:#e6eaf2;--bg:#f7f9fd}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,"Malgun Gothic",system-ui,sans-serif;line-height:1.65;padding-bottom:90px}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #efae48;outline-offset:3px}.container{width:min(1200px,calc(100% - 36px));margin:auto}.topbar{background:#fff;border-bottom:1px solid var(--border)}.top-inner{max-width:1250px;margin:auto;padding:16px 24px;display:flex;justify-content:space-between;align-items:center;gap:14px}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);font-size:23px;font-weight:900}.brand img{display:block;height:52px;max-width:min(42vw,320px);object-fit:contain}.top-links{display:flex;gap:20px;font-weight:800;color:#152e63;font-size:14px}.top-links a:hover{text-decoration:underline}.hero{background:linear-gradient(115deg,#112b61,#244f99);color:#fff;border-radius:20px;padding:38px 42px;margin:28px 0 36px}.kicker{font-size:13px;letter-spacing:1.5px;font-weight:800;color:#c8daff}.hero h1{font-size:clamp(27px,3vw,40px);line-height:1.35;letter-spacing:-1px;margin:12px 0}.hero p{color:#e5edff;margin:0;font-size:14px;line-height:1.9}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:32px 0 18px}.section-title h2{font-size:24px;color:var(--navy);margin:0}.section-title span{color:var(--muted);font-size:13px}.video-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.video-card{min-width:0}.video-image{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/10;background:linear-gradient(145deg,#dceaff,#e4d9fa);border-radius:12px;overflow:hidden}.video-image img{width:100%;height:100%;object-fit:cover}.play{position:absolute;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#fff;color:#ec3e85;font-weight:900;font-size:22px;box-shadow:0 5px 22px #0002}.video-card h3{font-size:14px;color:var(--navy);line-height:1.5;margin:10px 0}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{min-width:0;overflow:hidden;border:1px solid #e9edf5;border-radius:16px;background:#fff;box-shadow:0 5px 22px #102c6512}.post-image{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;background:linear-gradient(145deg,#d9e7ff,#f7faff);color:var(--navy);font-size:clamp(20px,2.3vw,29px);font-weight:900}.post-card:nth-child(2) .post-image{background:linear-gradient(145deg,#e0f7ed,#d2eaf5)}.post-card:nth-child(3) .post-image{background:linear-gradient(145deg,#ffebf3,#f1e6ff)}.post-content{padding:16px 18px 22px}.post-content h3{font-size:17px;color:var(--navy);margin:0 0 8px;line-height:1.45}.post-content p{color:#52637d;font-size:14px;line-height:1.65;margin:0}.info{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px 26px;margin:35px 0}.info h2{color:var(--navy)}.info p{margin:0 0 10px;color:var(--muted)}.fixed-contact{position:fixed;z-index:10;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:14px;align-items:center;justify-content:center;width:min(520px,calc(100% - 30px));padding:15px 22px;color:#fff;border-radius:50px;background:#142e63;box-shadow:0 8px 26px #071d4466;font-size:17px;font-weight:800}.fixed-contact strong{color:#ffe270;font-size:21px}footer{text-align:center;font-size:12px;color:#6b7890;padding:30px 0}.article{max-width:850px;margin:30px auto;background:white;border:1px solid var(--border);padding:clamp(22px,5vw,52px);border-radius:16px}.article h1{font-size:clamp(27px,4vw,38px);color:var(--navy);line-height:1.3}.article h2{color:var(--navy);margin-top:32px}.article p,.article li{line-height:1.9}.back{color:var(--navy2);font-weight:800}.article aside{background:#f2f6ff;padding:18px;border-radius:12px}.notice{font-size:13px;color:#61718a}@media(max-width:760px){.top-inner{padding:14px 16px;flex-direction:column}.brand img{height:40px;max-width:72vw}.top-links{gap:10px;font-size:12px;flex-wrap:wrap;justify-content:center}.hero{padding:24px 22px}.hero h1{font-size:25px}.section-title h2{font-size:20px}.video-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:12px}.video-card{flex:0 0 62%;scroll-snap-align:start}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fixed-contact{bottom:8px;padding:12px;font-size:14px}.fixed-contact strong{font-size:17px}}@media(max-width:450px){.post-grid{grid-template-columns:1fr}.section-title span{font-size:11px}}

.detail-thumbnail{display:block;width:100%;max-height:500px;object-fit:contain;background:#f1f5fc;border-radius:12px;border:1px solid var(--border);margin:20px 0}.kicker-alt{font-size:13px;font-weight:800;color:#244f99;letter-spacing:.08em}

/* 직접 호스팅하는 신비머니 영상 플레이어 */
.video-player{width:100%;margin:22px 0 10px;background:#0a1b2c;border-radius:15px;overflow:hidden;box-shadow:0 10px 30px rgba(5,24,50,.12)}
.video-player video{display:block;width:100%;height:auto;max-height:70vh;aspect-ratio:16/9;object-fit:contain;background:#081522}
.video-caption{font-size:14px;color:#526575;margin:0 0 25px}

/* 홈 화면에서 썸네일 클릭 즉시 동영상 재생 */
.inline-player{width:100%;aspect-ratio:16/10;background:#071b39;border-radius:12px;overflow:hidden}
.inline-player video{display:block;width:100%;height:100%;object-fit:contain;background:#071b39;cursor:pointer}
.top-links a{display:inline-block;padding:9px 14px;border:1px solid #d7e2f5;border-radius:999px;background:#f2f6ff;color:#142e63}
.top-links a:hover{background:#e6eefc;text-decoration:none}

/* Blogger 스타일: 썸네일 + 중앙 분홍 재생 버튼 + 아래 제목 */
.video-frame {position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;border-radius:12px;background:#071b39}
.video-start {display:block;position:relative;width:100%;height:100%;padding:0;border:0;background:#071b39;cursor:pointer;overflow:hidden;text-align:center}
.video-start img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.video-start:hover img {transform:scale(1.025)}
.video-start .play {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#ef3f86;font-size:22px;line-height:1;box-shadow:0 4px 16px #0002;padding-left:3px;pointer-events:none}
.video-start:focus-visible {outline:3px solid #fa4a8e;outline-offset:-3px}
.video-frame video {width:100%;height:100%;object-fit:contain;display:block;background:#071b39}
.video-card h3 {font-size:14px;font-weight:600;line-height:1.4;margin:8px 1px 0;color:#142e63}
@media (prefers-reduced-motion:reduce){.video-start img{transition:none}}

/* 썸네일 재생 클릭 시 화면 중앙에 띄우는 영상 팝업 */
.video-modal[hidden]{display:none!important}
.video-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}
.video-modal-backdrop{position:absolute;inset:0;background:rgba(4,14,34,.84);cursor:pointer}
.video-modal-panel{position:relative;z-index:1;width:min(920px,100%);overflow:hidden;border-radius:16px;background:#0c1935;box-shadow:0 28px 85px rgba(0,0,0,.38)}
.video-modal-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;color:white}
.video-modal-toolbar h2{font-size:16px;line-height:1.45;margin:0;color:white}
.video-modal-close{background:#fff;border:0;border-radius:50%;width:36px;height:36px;cursor:pointer;color:#1d315b;font-size:17px;font-weight:bold}
.video-modal video{display:block;width:100%;height:auto;max-height:calc(100dvh - 120px);aspect-ratio:16/9;object-fit:contain;background:#000}
body.modal-open{overflow:hidden}
@media(max-width:600px){.video-modal{padding:12px}.video-modal-toolbar{padding:10px 12px}.video-modal-toolbar h2{font-size:14px}}
