﻿/*
Theme Name: ShutterNews
Theme URI: https://shutternews.com
Description: ShutterNews Child Theme - ëŒ€í•œë¯¼êµ­ ì…”í„°ì‚°ì—… ì „ë¬¸ ì¸í„°ë„·ì‹ ë¬¸
Author: ShutterNews Team
Author URI: https://shutternews.com
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shutternews
*/

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SHUTTERNEWS â€” Editorial News Portal
   Brand: Navy #1B2A4A Â· Orange #E67E22
   Tone: Professional Korean News Editorial
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

:root {
    --navy: #1B2A4A;
    --navy-deep: #0F1A2E;
    --navy-mid: #243656;
    --navy-light: #2E4A6E;
    --orange: #E67E22;
    --orange-hover: #D35400;
    --orange-light: #F39C12;
    --orange-glow: rgba(230,126,34,0.12);
    --red-breaking: #E74C3C;
    --bg-page: #F0F2F5;
    --bg-card: #FFFFFF;
    --bg-section: #F7F8FA;
    --text-primary: #1A1A1A;
    --text-secondary: #4A5568;
    --text-caption: #718096;
    --text-light: #A0AEC0;
    --border: #E2E8F0;
    --border-light: #EDF2F7;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-card: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --max-width: 1280px;
    --header-height: 52px;
    --gnb-height: 48px;
    --sn-font-heading: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --sn-font-primary: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOP BAR â€” ë‚ ì§œ, ë¡œê·¸ì¸, íšŒì›ê°€ìž…
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.top-bar {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    height: 32px;
    display: flex;
    align-items: center;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.top-bar-right { display: flex; align-items: center; gap: 12px; }
.top-bar a { color: rgba(255,255,255,0.7); font-size: 12px; }
.top-bar a:hover { color: var(--orange-light); }
.top-bar .divider { width: 1px; height: 12px; background: rgba(255,255,255,0.2); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HEADER â€” ë¡œê³  + ê²€ìƒ‰
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.logo-icon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: var(--orange);
    border-radius: 0 0 6px 6px;
}
.logo-icon svg {
    position: relative;
    z-index: 1;
}
.logo-text {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.5px;
    line-height: 1;
}
.logo-text span { color: var(--orange); }
.logo-sub {
    font-size: 10px;
    color: var(--text-caption);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-box {
    position: relative;
    width: 280px;
}
.search-box form {
    display: flex;
    align-items: center;
}
.search-box input {
    width: 100%;
    height: 36px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 0 40px 0 16px;
    font-size: 13px;
    font-family: inherit;
    background: var(--bg-section);
    transition: all 0.2s;
    color: var(--text-primary);
}
.search-box input:focus {
    outline: none;
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 0 0 3px var(--orange-glow);
}
.search-box input::placeholder { color: var(--text-light); }
.search-box button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: var(--orange);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.search-box button:hover { background: var(--orange-hover); }
.search-box button svg { width: 14px; height: 14px; stroke: #fff; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-login, .btn-signup {
    height: 32px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}
.btn-login {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-login:hover { border-color: var(--navy); color: var(--navy); }
.btn-signup {
    background: var(--navy);
    color: #fff;
}
.btn-signup:hover { background: var(--navy-light); color: #fff; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GNB â€” 6ëŒ€ ë©”ë‰´ + ë“œë¡­ë‹¤ìš´
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gnb {
    background: var(--navy);
    height: var(--gnb-height);
    position: sticky;
    top: var(--header-height);
    z-index: 99;
}
.gnb .container {
    display: flex;
    align-items: center;
    height: 100%;
}
.gnb-menu {
    display: flex;
    height: 100%;
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}
.gnb-item {
    position: relative;
    height: 100%;
    list-style: none;
}
.gnb-item > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}
.gnb-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 2px 2px 0 0;
    transition: width 0.25s ease;
}
.gnb-item:hover > a { color: #fff; }
.gnb-item:hover > a::after { width: 80%; }
.gnb-item.active > a { color: #fff; }
.gnb-item.active > a::after { width: 80%; }

/* Dropdown */
.gnb-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    border-top: 2px solid var(--orange);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    padding: 6px 0;
    z-index: 200;
}
.gnb-item:hover .gnb-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.gnb-dropdown a {
    display: block;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.gnb-dropdown a:hover {
    color: var(--orange);
    background: var(--orange-glow);
    padding-left: 24px;
}

.gnb-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.gnb-newsletter {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--orange-light);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid rgba(243,156,18,0.3);
    border-radius: 20px;
    transition: all 0.2s;
}
.gnb-newsletter:hover {
    background: rgba(243,156,18,0.1);
    border-color: var(--orange-light);
    color: var(--orange-light);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BREAKING NEWS TICKER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.ticker {
    background: #fff;
    border-bottom: 1px solid var(--border);
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ticker .container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    overflow: hidden;
}
.ticker-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--red-breaking);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    animation: ticker-pulse 2s ease infinite;
}
@keyframes ticker-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.ticker-badge svg { width: 12px; height: 12px; }
.ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ticker-items {
    display: flex;
    gap: 60px;
    animation: ticker-scroll 40s linear infinite;
    white-space: nowrap;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    font-size: 13px;
    color: var(--text-secondary);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.ticker-item strong {
    color: var(--text-primary);
    font-weight: 600;
}
.ticker-item .ticker-time {
    color: var(--text-light);
    font-size: 11px;
    margin-left: 6px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MAIN LAYOUT â€” Content + Sidebar
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.main {
    padding: 24px 0 60px;
}
.main .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}
.content-area { min-width: 0; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO SECTION â€” ëŒ€í˜• ìŠ¬ë¼ì´ë” + ì„œë¸Œ ê¸°ì‚¬
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* ── 히어로: 좌측(메인+하단2개) + 우측(서브3개) ── */
.hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
/* hero-has-bottom일 때 좌측을 hero-left wrapper로 감쌈 */
.hero-left {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 12px;
    min-height: 0;
}
.hero-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    display: block;
    min-height: 0;
}
/* hero-bottom이 없을 때 메인에 aspect-ratio 부여 */
.hero:not(.hero-has-bottom) .hero-main {
    aspect-ratio: 16/10;
}
.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #3A5A7C 100%);
    transition: transform 0.5s ease;
}
.hero-main:hover .hero-main-img { transform: scale(1.03); }
.hero-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
}
.hero-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    color: #fff;
}
.hero-category {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}
.hero-main-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-main-excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-meta .author { color: var(--orange-light); font-weight: 500; }

/* ── 좌측 하단: 헤드라인 서브 2개 가로 배치 ── */
.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero-bottom-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    display: block;
    aspect-ratio: 16/9;
}
.hero-bottom-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hero-bottom-card:hover .hero-bottom-card-img { transform: scale(1.04); }
.hero-bottom-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
}
.hero-bottom-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    color: #fff;
}
.hero-bottom-content .hero-category { font-size: 10px; padding: 2px 8px; margin-bottom: 5px; }
.hero-bottom-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 우측: 서브 카드 3개 세로 ── */
.hero-sub {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-sub-card {
    flex: 1;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    display: block;
}
.hero-sub-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hero-sub-card:hover .hero-sub-card-img { transform: scale(1.04); }
.hero-sub-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.hero-sub-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: #fff;
}
.hero-sub-content .hero-category { font-size: 10px; padding: 2px 8px; margin-bottom: 6px; }
.hero-sub-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AD BANNER â€” ê°€ë¡œ ë°°ë„ˆ
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.ad-banner {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}
.ad-banner:hover { transform: translateY(-1px); }
.ad-banner::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(230,126,34,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.ad-banner-text {
    color: #fff;
}
.ad-banner-label {
    font-size: 10px;
    color: var(--orange-light);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.ad-banner-title {
    font-size: 16px;
    font-weight: 700;
}
.ad-banner-cta {
    background: var(--orange);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: background 0.2s;
}
.ad-banner-cta:hover { background: var(--orange-hover); color: #fff; }

/* ── 상단 배너 바 (5개 동시 노출 + 무한 마퀴 롤링) ── */
.sn-top-banner-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    overflow: hidden;
    height: 70px;
    position: relative;
}
.sn-top-banner-bar::after { display: none; }
.sn-top-banner-label {
    flex-shrink: 0;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 14px;
    z-index: 2;
}
.sn-top-banner-track {
    flex: 1;
    overflow: hidden;
    margin: 0 8px;
    height: 100%;
}
.sn-top-banner-marquee {
    display: flex;
    align-items: center;
    height: 100%;
    animation: snMarquee 20s linear infinite;
    width: max-content;
}
.sn-top-banner-marquee:hover {
    animation-play-state: paused;
}
@keyframes snMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.sn-top-banner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 8px 10px;
}
.sn-top-banner-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}
.sn-top-banner-item img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.2s;
}
.sn-top-banner-item img:hover {
    opacity: 0.85;
}
/* 광고문의 버튼 */
.sn-top-banner-cta-wrap {
    flex-shrink: 0;
    margin-right: 14px;
    z-index: 2;
}
.sn-top-banner-cta-btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s;
}
.sn-top-banner-cta-btn:hover {
    background: var(--orange-hover);
    color: #fff;
}
/* 배너 없을 때 */
.sn-top-banner-empty {
    justify-content: center;
    gap: 16px;
}
.sn-top-banner-placeholder {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

/* ── 사이드바 배너 롤링 ── */
.sn-sidebar-rolling {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.sn-sidebar-slide {
    width: 100%;
}
.sn-sidebar-slide a {
    display: block;
}
.sn-sidebar-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.sn-sidebar-banner-placeholder {
    background: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
}
.sn-sidebar-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
}
.sn-sidebar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s;
}
.sn-sidebar-dot.active {
    background: var(--orange);
}

/* -- sidebar bottom banner (max 2 visible + rolling) -- */
.sn-sidebar-bottom-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sn-sidebar-bottom-slide {
    border-radius: 8px;
    overflow: hidden;
}
.sn-sidebar-bottom-slide a { display: block; }
.sn-sidebar-bottom-slide .sn-sidebar-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.sn-sidebar-bottom-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 4px 0;
}
/* sidebar-ad height override: auto height when banner image exists */
.sidebar-ad.sn-sidebar-rolling,
.sidebar-ad.sn-single-sidebar-rolling {
    height: auto;
    border: none;
    background: none;
}
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION HEADER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--navy);
    position: relative;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--orange);
}
.section-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}
.section-title .icon {
    width: 24px;
    height: 24px;
    background: var(--orange);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-title .icon svg { width: 14px; height: 14px; fill: #fff; }
.section-more {
    font-size: 13px;
    color: var(--text-caption);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
}
.section-more:hover { color: var(--orange); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CATEGORY TABS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.category-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    background: var(--bg-section);
    border-radius: var(--radius-md);
    padding: 4px;
}
.cat-tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-caption);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.cat-tab:hover { color: var(--text-primary); }
.cat-tab.active {
    background: #fff;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ARTICLE CARD â€” 3 Column Grid
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid var(--border-light);
}
.article-card > a {
    display: block;
    color: inherit;
}
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.article-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #dfe6ed 0%, #c8d6e5 100%);
}
.article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.article-card:hover .article-thumb-img { transform: scale(1.06); }
.article-thumb .cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
}
.article-card .article-body {
    padding: 14px 16px 16px;
}
.article-card .article-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.2px;
}
.article-card:hover .article-title { color: var(--orange); }
.article-excerpt {
    font-size: 13px;
    color: var(--text-caption);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-light);
}
.article-date { display: flex; align-items: center; gap: 4px; }
.article-views { display: flex; align-items: center; gap: 3px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LIST ARTICLE â€” ê°€ë¡œí˜• ê¸°ì‚¬
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.article-list-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border-light);
}
.article-list-item > a {
    display: contents;
    color: inherit;
}
.article-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(3px);
}
.article-list-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #dfe6ed 0%, #c8d6e5 100%);
}
.article-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.article-list-item:hover .article-list-thumb img { transform: scale(1.05); }
.article-list-body {
    padding: 14px 16px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-list-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 4px;
}
.article-list-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-list-item:hover .article-list-title { color: var(--orange); }
.article-list-excerpt {
    font-size: 13px;
    color: var(--text-caption);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.article-list-meta {
    font-size: 11.5px;
    color: var(--text-light);
    display: flex;
    gap: 10px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DUAL COLUMN SECTIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.dual-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}
.dual-block {}

/* Mini article list */
.mini-list {
    display: flex;
    flex-direction: column;
}
.mini-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.15s;
}
.mini-item:last-child { border-bottom: none; }
.mini-item:hover .mini-title { color: var(--orange); }
.mini-num {
    width: 24px;
    height: 24px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 1px;
}
.mini-num.orange { background: var(--orange); }
.mini-content { flex: 1; min-width: 0; }
.mini-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.mini-meta {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 3px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SIDEBAR
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.sidebar-header {
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sidebar-title svg { width: 16px; height: 16px; }
.sidebar-body { padding: 8px 18px 14px; }

/* Popular articles */
.popular-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
}
.popular-item:last-child { border-bottom: none; }
.popular-item:hover .popular-title { color: var(--orange); }
.popular-rank {
    font-size: 16px;
    font-weight: 900;
    color: var(--orange);
    width: 22px;
    flex-shrink: 0;
    line-height: 1.3;
}
.popular-rank.low { color: var(--text-light); }
.popular-title {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--text-primary);
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Newsletter */
.newsletter-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(230,126,34,0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.newsletter-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.newsletter-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}
.newsletter-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
    line-height: 1.5;
}
.newsletter-form {
    display: flex;
    gap: 6px;
}
.newsletter-form input {
    flex: 1;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    color: #fff;
    font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus {
    outline: none;
    border-color: var(--orange);
}
.newsletter-form button {
    height: 38px;
    padding: 0 16px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    white-space: nowrap;
}
.newsletter-form button:hover { background: var(--orange-hover); }

/* Sidebar Ad */
.sidebar-ad {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AI CHATBOT FLOATING BUTTON
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.chatbot-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
}
.chatbot-btn {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(230,126,34,0.4), 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}
.chatbot-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(230,126,34,0.5), 0 4px 12px rgba(0,0,0,0.2);
}
.chatbot-btn svg { width: 28px; height: 28px; }
.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--red-breaking);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: chatbot-bounce 2s ease infinite;
}
@keyframes chatbot-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.chatbot-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s;
    pointer-events: none;
}
.chatbot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: var(--navy);
}
.chatbot-fab:hover .chatbot-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.6);
    padding: 40px 0 24px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}
.footer-brand .logo-text { color: #fff; font-size: 20px; margin-bottom: 10px; }
.footer-brand .logo-text span { color: var(--orange); }
.footer-brand-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
}
.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--orange-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.7;
}
.footer-info { color: rgba(255,255,255,0.4); }
.footer-legal {
    display: flex;
    gap: 16px;
}
.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
}
.footer-legal a:hover { color: var(--orange-light); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero { animation: fadeInUp 0.5s ease; }
.article-grid { animation: fadeInUp 0.5s ease 0.1s both; }
.dual-section { animation: fadeInUp 0.5s ease 0.2s both; }
.sidebar-card { animation: fadeInUp 0.4s ease both; }
.sidebar-card:nth-child(1) { animation-delay: 0.1s; }
.sidebar-card:nth-child(2) { animation-delay: 0.2s; }
.sidebar-card:nth-child(3) { animation-delay: 0.3s; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCREEN READER TEXT (Accessibility)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   WORDPRESS SPECIFIC STYLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.news-section {
    margin-bottom: 32px;
}

/* Post Thumbnail fallback */
.article-thumb-img.wp-post-image,
.hero-main-img.wp-post-image,
.hero-sub-card-img.wp-post-image,
.hero-bottom-card-img.wp-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1024px) {
    .main .container { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
    .hero { grid-template-columns: 1fr; }
    .hero-left { gap: 10px; }
    .hero-main { aspect-ratio: 16/8 !important; }
    .hero-bottom { grid-template-columns: 1fr 1fr; }
    .hero-bottom-card { aspect-ratio: 16/9; }
    .hero-sub { flex-direction: row; }
    .hero-sub-card { aspect-ratio: 16/10; }
}
@media (max-width: 768px) {
    :root { --header-height: 48px; --gnb-height: 44px; }
    .top-bar { display: none; }
    .header .container { padding: 0 12px; }
    .logo-text { font-size: 18px; }
    .search-box { width: 160px; }
    .header-actions { display: none; }
    .gnb-menu { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .gnb-item > a { padding: 0 14px; font-size: 14px; }
    .gnb-right { display: none; }
    .gnb-dropdown { display: none; }
    .hero-main-title { font-size: 20px; }
    .hero-main-content { padding: 20px; }
    .hero-bottom { grid-template-columns: 1fr 1fr; gap: 8px; }
    .hero-bottom-card { aspect-ratio: 16/10; }
    .hero-bottom-title { font-size: 13px; }
    .hero-bottom-content { padding: 10px; }
    .article-grid { grid-template-columns: 1fr 1fr; }
    .dual-section { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .article-list-item { grid-template-columns: 140px 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 480px) {
    .article-grid { grid-template-columns: 1fr; }
    .hero-sub { flex-direction: column; }
    .hero-sub-card { aspect-ratio: 16/8; }
    .hero-bottom { grid-template-columns: 1fr; gap: 8px; }
    .hero-bottom-card { aspect-ratio: 16/8; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .newsletter-form { flex-direction: column; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SINGLE ARTICLE PAGE STYLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Breadcrumb */
.breadcrumb-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
}
.breadcrumb-bar .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { font-size: 10px; color: var(--text-caption); }
.breadcrumb .current { color: var(--text-secondary); font-weight: 500; }

/* Article Layout */
.article-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 20px 60px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}
.article-main { min-width: 0; }

/* Article Header */
.article-header {
    margin-bottom: 28px;
}
.article-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}
.article-category .cat-badge {
    display: inline-block;
    background: var(--orange);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: -0.02em;
}
.article-category .cat-sub {
    font-size: 12px;
    color: var(--text-light);
    padding: 4px 10px;
    background: var(--bg-section);
    border-radius: 4px;
    font-weight: 500;
}

.single-title {
    font-family: var(--sn-font-heading);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.35;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    word-break: keep-all;
}

.article-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 20px;
    word-break: keep-all;
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.meta-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.meta-author-info { display: flex; flex-direction: column; }
.meta-author-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.meta-author-role { font-size: 12px; color: var(--text-light); }
.meta-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}
.meta-info {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--text-light);
}
.meta-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.meta-info-item svg { width: 14px; height: 14px; fill: var(--text-caption); }
.meta-share {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.share-btn:hover {
    border-color: var(--orange);
    background: var(--orange-glow);
}
.share-btn svg { width: 16px; height: 16px; fill: var(--text-light); }
.share-btn:hover svg { fill: var(--orange); }

/* 대표 이미지 - 본문 칼럼 폭(740px)에 맞춤 */
.article-featured-image {
    max-width: 740px;
    margin: 0 auto 28px auto;
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    position: relative;
}
.article-featured-image img,
.article-featured-image .featured-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md, 8px);
}
.article-featured-image .img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 50%, var(--navy) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 8px;
}
.img-placeholder svg {
    width: 48px;
    height: 48px;
    fill: rgba(255,255,255,0.4);
}
.img-placeholder span {
    font-size: 13px;
    opacity: 0.5;
}
.image-caption {
    padding: 10px 16px;
    background: var(--bg-section);
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}
.image-caption svg { width: 14px; height: 14px; fill: var(--text-caption); flex-shrink: 0; }

/* ===================================================================
   기사 상세 페이지 - 모든 요소 740px 통일
   =================================================================== */
.article-single .article-header,
.article-single .single-title,
.article-single .single-subtitle,
.article-single .article-lead,
.article-single .article-meta,
.article-single .article-featured-image,
.article-single .article-video,
.article-single .article-body,
.article-single .article-tags,
.article-single .article-share-bar,
.article-single .article-source {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

/* Article Body â€" Single Page */
.article-single .article-body,
.article-main > .article-single .article-body {
    max-width: 740px;
    padding: 0;
}
/* 본문 소제목 H2 - 주황색 좌측선 + ■ 마커 */
.article-body h2,
.article-body h2.wp-block-heading,
.article-body .wp-block-heading.has-large-font-size {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    margin: 32px 0 16px 0;
    padding: 12px 0 12px 16px;
    border-left: 4px solid var(--orange);
    background: linear-gradient(to right, rgba(230,126,34,0.06), transparent);
}
.article-body h2::before {
    content: "■ ";
    color: var(--orange);
    font-size: 14px;
}

/* 본문 소제목 H3 */
.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 24px 0 12px 0;
    padding-left: 12px;
    border-left: 3px solid var(--orange);
}
.article-body h3::before {
    content: "▸ ";
    color: var(--orange);
}
.article-body p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 18px;
    word-break: keep-all;
    letter-spacing: -0.01em;
}
.article-body strong {
    color: var(--text-primary);
    font-weight: 700;
}
/* 본문 인용문 */
.article-body blockquote {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    border-left: 4px solid #ddd;
    background: #f9f9f9;
    margin: 24px 0;
    padding: 16px 20px;
    font-style: normal;
    border-radius: 0 6px 6px 0;
}
.article-body blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-light);
    font-style: normal;
    font-weight: 600;
}
.article-body ul, .article-body ol {
    margin: 16px 0;
    padding-left: 24px;
    list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.article-body .info-box,
.article-body .wp-block-group {
    margin: 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.03), rgba(27, 42, 74, 0.06));
    border: 1px solid rgba(27, 42, 74, 0.1);
    border-radius: var(--radius-md);
}
/* ===================================================================
   기사 본문 표(Table) 스타일
   =================================================================== */

/* ===================================================================
   기사 본문 표(Table) - 슬림/컴팩트 스타일
   =================================================================== */
.article-body table,
.article-body table.sn-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.4;
    word-break: keep-all;
    border: 1px solid #ddd;
}

.article-body table th {
    background: #f5f5f5;
    font-weight: 600;
    color: var(--navy, #1B2A4A);
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}

.article-body table td {
    font-size: 13px;
    color: #333;
    padding: 6px 10px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}

/* 짝수 행 배경 (줄무늬) */
.article-body table tr:nth-child(even) td {
    background: #fafafa;
}

/* 호버 효과 */
.article-body table tr:hover td {
    background: #f0f7ff;
}

/* 브랜드 표 (네이비 헤더) */
.article-body table.sn-table-brand th {
    background: var(--navy, #1B2A4A);
    color: #fff;
    font-weight: 700;
    padding: 7px 10px;
}

/* 줄무늬 표 */
.article-body table.sn-table-striped tr:nth-child(even) td {
    background: #f5f5f5;
}

/* 표 반응형 (모바일) */
@media (max-width: 768px) {
    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 12px;
    }
    .article-body table th,
    .article-body table td {
        padding: 5px 8px;
        white-space: nowrap;
    }
}

/* ===================================================================
   본문 문단 정렬 지원
   =================================================================== */
.article-body p[style*="text-align: center"],
.article-body p[style*="text-align:center"] {
    text-align: center !important;
}
.article-body p[style*="text-align: right"],
.article-body p[style*="text-align:right"] {
    text-align: right !important;
}
.article-body p[style*="text-align: justify"],
.article-body p[style*="text-align:justify"] {
    text-align: justify !important;
}

/* ===================================================================
   본문 글자 색상 지원
   =================================================================== */
/* 기자가 지정한 글자 색상 유지 */

/* 폰트 크기/패밀리는 고정 (통일성 유지) */
.article-body span[style*="font-size"] {
    font-size: 16px !important;
}
.article-body span[style*="font-family"] {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
}
/* ===================================================================
   기사 본문 이미지 - 기사 칼럼 폭에 맞춤
   =================================================================== */
.article-body img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-sm, 4px);
    margin: 20px 0;
    display: block;
}

/* WordPress 정렬 클래스 지원 */
.article-body .aligncenter {
    display: block;
    margin: 20px auto;
}
.article-body .alignleft {
    float: left;
    margin: 8px 20px 8px 0;
    max-width: 50% !important;
    width: auto !important;
}
.article-body .alignright {
    float: right;
    margin: 8px 0 8px 20px;
    max-width: 50% !important;
    width: auto !important;
}
.article-body .alignnone {
    display: block;
    width: 100% !important;
    margin: 20px 0;
}

/* 본문 이미지 캡션 */
.article-body figure,
.article-body .wp-caption {
    max-width: 100% !important;
    width: 100% !important;
    margin: 24px 0;
    padding: 0;
    background: transparent;
}
.article-body .wp-caption img {
    margin-bottom: 0;
}
.article-body figure img {
    width: 100% !important;
}
.article-body figcaption,
.article-body .wp-caption-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    color: var(--text-light, #999);
    text-align: center;
    padding: 10px 0;
    line-height: 1.5;
    border-bottom: 1px solid #eee;
}
/* 빈 캡션은 숨김 */
.article-body figcaption:empty {
    display: none;
}

/* 인라인 style로 height가 고정된 이미지도 강제 오버라이드 */
.article-body img[style*="height"],
.article-body img[height] {
    height: auto !important;
}
.article-body img[width],
.article-body img[style*="width"] {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}
.article-body a {
    color: var(--orange);
    text-decoration: underline;
}
.article-body a:hover {
    color: var(--orange-hover);
}

/* Article Tags */
.article-tags {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    margin-right: 4px;
}
.tag-item {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.2s;
}
.tag-item:hover {
    background: var(--orange-glow);
    border-color: var(--orange);
    color: var(--orange);
}

/* Share Bar */
.article-share-bar {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--bg-section);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.share-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.share-bar-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}
.share-bar-btns {
    display: flex;
    gap: 8px;
}
.share-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 700;
}
.share-social-btn:hover { transform: translateY(-2px); }
.share-kakao { background: #FEE500; color: #3C1E1E; }
.share-facebook { background: #1877F2; }
.share-x { background: #000000; }
.share-link { background: var(--navy); }
.share-social-btn svg { width: 18px; height: 18px; fill: currentColor; }

.share-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.reaction-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.reaction-btn:hover {
    color: var(--orange);
    border-color: var(--orange);
    background: var(--orange-glow);
}
.reaction-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* Related Articles */
.related-articles {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--navy);
}
.related-title {
    font-family: var(--sn-font-heading);
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-title svg { width: 22px; height: 22px; fill: var(--orange); }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.25s;
    display: block;
}
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}
.related-card-thumb {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #34495E, #2C3E50);
    position: relative;
    overflow: hidden;
}
.related-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-card-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
}
.related-card-body { padding: 14px 16px; }
.related-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    word-break: keep-all;
}
.related-card:hover .related-card-title { color: var(--orange); }
.related-card-meta {
    font-size: 12px;
    color: var(--text-caption);
}

/* Comments Section */
.comments-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.comments-title,
.comments-section h2 {
    font-family: var(--sn-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.comments-count {
    font-size: 14px;
    color: var(--orange);
    font-weight: 700;
}
.comment-form,
.comments-section .comment-respond {
    background: var(--bg-section);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}
.comment-form textarea,
.comments-section textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 14px;
    font-family: var(--sn-font-primary);
    color: var(--text-primary);
    resize: vertical;
    outline: none;
    background: var(--bg-card);
    transition: border-color 0.2s;
}
.comment-form textarea::placeholder,
.comments-section textarea::placeholder { color: var(--text-caption); }
.comment-form textarea:focus,
.comments-section textarea:focus { border-color: var(--orange); }
.comment-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.btn-comment-submit,
.comments-section input[type="submit"] {
    background: var(--navy);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-comment-submit:hover,
.comments-section input[type="submit"]:hover { background: var(--navy-light); }

.comment-item,
.comments-section .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    list-style: none;
}
.comment-item:last-child,
.comments-section .comment:last-child { border-bottom: none; }
.comment-header,
.comments-section .comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.comment-avatar,
.comments-section .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-section);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    flex-shrink: 0;
    object-fit: cover;
}
.comment-author,
.comments-section .fn { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.comment-date,
.comments-section .comment-metadata { font-size: 12px; color: var(--text-caption); }
.comment-text,
.comments-section .comment-content { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-caption);
}
.comment-action {
    cursor: pointer;
    transition: color 0.2s;
}
.comment-action:hover { color: var(--orange); }

/* Sidebar for Single Page */
.article-layout .sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}
.article-layout .sidebar .sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}
.article-layout .sidebar .sidebar-card.newsletter-card,
.sidebar .newsletter-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%) !important;
    border: none !important;
    color: #fff;
}
.sidebar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-card-title {
    font-family: var(--sn-font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card-title svg { width: 18px; height: 18px; fill: var(--orange); }
.sidebar-card-body { padding: 0; }

/* Sidebar More Link */
.sidebar-more {
    font-size: 12px;
    color: var(--text-caption);
    transition: color 0.2s;
    text-decoration: none;
    cursor: pointer;
}
.sidebar-more:hover { color: var(--orange); }

/* Reaction Button Active State */
.reaction-btn.active {
    color: var(--orange);
    border-color: var(--orange);
    background: var(--orange-glow);
}

/* Popular List in Sidebar */
.popular-list { list-style: none; margin: 0; padding: 0; }
.popular-list .popular-item {
    display: block;
    padding: 0;
    border-bottom: 1px solid var(--border-light);
}
.popular-list .popular-item:last-child { border-bottom: none; }
.popular-list .popular-item a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    transition: background 0.2s;
}
.popular-list .popular-item a:hover { background: var(--bg-section); }
.popular-list .popular-rank {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}
.popular-list .popular-rank.top { background: var(--orange); color: white; }
.popular-list .popular-rank.normal { background: var(--bg-section); color: var(--text-light); border: 1px solid var(--border); }
.popular-list .popular-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.popular-list .popular-item a:hover .popular-title { color: var(--orange); }

/* Same Category List */
.same-cat-list { list-style: none; margin: 0; padding: 0; }
.same-cat-item {
    border-bottom: 1px solid var(--border-light);
}
.same-cat-item:last-child { border-bottom: none; }
.same-cat-item a {
    display: block;
    padding: 12px 20px;
    transition: background 0.2s;
}
.same-cat-item a:hover { background: var(--bg-section); }
.same-cat-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.same-cat-item a:hover .same-cat-title { color: var(--orange); }
.same-cat-meta {
    font-size: 11px;
    color: var(--text-caption);
}

/* Single Page Responsive */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-layout .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        position: static;
    }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .article-layout { padding: 20px 16px 40px; gap: 24px; }
    .single-title { font-size: 24px; }
    .article-subtitle { font-size: 15px; }
    .article-body p { font-size: 15px; }
    .article-meta { flex-wrap: wrap; gap: 12px; }
    .meta-share { margin-left: 0; width: 100%; justify-content: flex-start; margin-top: 8px; }
    .article-layout .sidebar { grid-template-columns: 1fr; position: static; }
    .related-grid { grid-template-columns: 1fr; }
    .article-share-bar { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 480px) {
    .single-title { font-size: 22px; }
    .share-bar-btns { flex-wrap: wrap; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADDTOANY PLUGIN HIDE (ì»¤ìŠ¤í…€ ê³µìœ  ë²„íŠ¼ ì‚¬ìš©)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.article-single .addtoany_share_save_container,
.article-body .addtoany_share_save_container {
    display: none !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SINGLE PAGE ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.article-header { animation: fadeInUp 0.5s ease both; }
.article-featured-image { animation: fadeInUp 0.5s ease 0.1s both; }
.article-single .article-body { animation: fadeInUp 0.5s ease 0.2s both; }

/* ═══════════════════════════════════════════════
   ARCHIVE / CATEGORY PAGE STYLES
   ═══════════════════════════════════════════════ */

/* ─── Archive Header Section ─── */
.archive-header-section {
    background: linear-gradient(135deg, var(--navy) 0%, #2a3f6b 100%);
    padding: 32px 0 0;
    color: #fff;
}
.archive-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 20px;
}
.archive-header-left { flex: 1; }
.archive-parent-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.archive-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    font-family: var(--sn-font-heading, 'Pretendard', 'Noto Sans KR', sans-serif);
}
.archive-desc {
    margin: 8px 0 0;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}
.archive-header-right { flex-shrink: 0; margin-left: 24px; }
.archive-count {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.archive-count strong {
    color: var(--orange);
    font-weight: 700;
}

/* ─── Sub-category Tabs ─── */
.archive-sub-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.archive-sub-tabs::-webkit-scrollbar { display: none; }
.archive-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
}
.archive-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}
.archive-tab.active {
    color: #fff;
    border-bottom-color: var(--orange);
    font-weight: 600;
}
.tab-count {
    font-size: 11px;
    background: rgba(255,255,255,0.15);
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 400;
}
.archive-tab.active .tab-count {
    background: var(--orange);
    color: #fff;
}

/* ─── Archive Layout ─── */
.archive-layout {
    background: var(--bg-section, #f5f6f8);
    padding: 30px 0 60px;
}
.archive-content-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

/* ─── Toolbar ─── */
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: #fff;
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.archive-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sort-label {
    font-size: 12px;
    color: var(--text-light, #888);
    font-weight: 500;
}
.sort-btn {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 16px;
    color: var(--text-secondary, #666);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.sort-btn:hover { color: var(--navy); background: rgba(27,42,74,0.06); }
.sort-btn.active {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
}
.archive-view-toggle {
    display: flex;
    gap: 4px;
}
.view-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: var(--text-light, #888);
    cursor: pointer;
    transition: all 0.2s;
}
.view-btn:hover { border-color: var(--navy); color: var(--navy); }
.view-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* ─── Grid View (default) ─── */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.archive-grid .article-card {
    background: #fff;
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.archive-grid .article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ─── List View ─── */
.archive-grid.list-view {
    grid-template-columns: 1fr;
    gap: 12px;
}
.archive-grid.list-view .article-card > a {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    height: 160px;
}
.archive-grid.list-view .article-thumb {
    height: 160px;
    aspect-ratio: auto;
    max-width: 100%;
    border-radius: var(--radius-md, 8px) 0 0 var(--radius-md, 8px);
}
.archive-grid.list-view .article-card .article-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 24px 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.archive-grid.list-view .article-title {
    font-size: 16px;
    font-weight: 700;
    -webkit-line-clamp: 1;
    margin-bottom: 6px;
    line-height: 1.4;
}
.archive-grid.list-view .article-excerpt {
    -webkit-line-clamp: 2;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.55;
    color: #444;
    margin-bottom: 6px;
}
.archive-grid.list-view .article-content-preview {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.4;
    color: #999;
    margin-bottom: 0;
}

/* 그리드 뷰에서는 본문 미리보기 숨김 */
.article-content-preview {
    display: none;
}

/* ─── Pagination ─── */
.archive-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}
.pagination-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}
.pagination-nav a,
.pagination-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}
.pagination-nav a {
    color: var(--text-secondary, #555);
    background: #fff;
    border: 1px solid #e0e0e0;
}
.pagination-nav a:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.pagination-nav .current {
    background: var(--navy);
    color: #fff;
    border: 1px solid var(--navy);
    font-weight: 700;
}
.pagination-nav .dots {
    border: none;
    background: none;
    color: var(--text-light, #888);
}
.pagination-nav .prev,
.pagination-nav .next {
    font-weight: 600;
    gap: 3px;
}
.pagination-nav .prev svg,
.pagination-nav .next svg {
    flex-shrink: 0;
}

/* ─── Empty State ─── */
.archive-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: var(--radius-md, 8px);
}
.empty-icon { margin-bottom: 20px; opacity: 0.5; }
.empty-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px;
}
.empty-desc {
    font-size: 14px;
    color: var(--text-light, #888);
    line-height: 1.6;
    margin: 0 0 24px;
}
.empty-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--orange);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}
.empty-btn:hover { background: #d35400; }

/* ─── Archive Responsive ─── */
@media (max-width: 1024px) {
    .archive-content-wrap {
        grid-template-columns: 1fr;
    }
    .archive-content-wrap .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        position: static;
    }
}
@media (max-width: 768px) {
    .archive-page-title { font-size: 22px; }
    .archive-header-content { flex-direction: column; align-items: flex-start; gap: 8px; }
    .archive-header-right { margin-left: 0; }
    .archive-grid { grid-template-columns: 1fr; }
    .archive-grid.list-view .article-card > a {
        grid-template-columns: 120px 1fr;
    }
    .archive-grid.list-view .article-thumb { height: 100px; }
    .archive-toolbar { flex-direction: column; gap: 10px; align-items: flex-start; }
    .archive-content-wrap .sidebar {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .archive-header-section { padding: 24px 0 0; }
    .archive-page-title { font-size: 20px; }
    .archive-sub-tabs { gap: 0; }
    .archive-tab { padding: 8px 14px; font-size: 12px; }
    .archive-grid.list-view .article-card > a {
        grid-template-columns: 1fr;
    }
    .archive-grid.list-view .article-thumb {
        height: 180px;
        border-radius: var(--radius-md, 8px) var(--radius-md, 8px) 0 0;
    }
}


/* ═══════════════════════════════════════════════
   ARTICLE BLUR (비회원 열람 제한)
   ═══════════════════════════════════════════════ */

/* ─── Blur Overlay Container ─── */
.article-blur-overlay {
    position: relative;
    margin-top: -60px;
    padding-top: 80px;
}
.article-blur-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    right: -40px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #fff);
    z-index: 1;
    pointer-events: none;
}

/* ─── Blurred Content (티저) ─── */
.article-blur-content {
    filter: blur(6px);
    -webkit-filter: blur(6px);
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    opacity: 0.45;
    max-height: 200px;
    overflow: hidden;
}

/* ─── CTA Card ─── */
.article-blur-cta {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 44px 36px 36px;
    background: linear-gradient(135deg, var(--navy, #1B2A4A) 0%, #2a3f6b 100%);
    border-radius: 16px;
    margin-top: -40px;
    box-shadow: 0 8px 32px rgba(27, 42, 74, 0.25);
}

.blur-cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.blur-cta-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--orange, #E67E22);
}

.blur-cta-title {
    font-family: var(--sn-font-heading, 'Pretendard', 'Noto Sans KR', sans-serif);
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.4;
}

.blur-cta-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 20px;
    line-height: 1.7;
}

/* ─── Benefits List ─── */
.blur-cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-bottom: 28px;
}
.benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}
.benefit-item svg {
    flex-shrink: 0;
    color: var(--orange, #E67E22);
}

/* ─── CTA Buttons ─── */
.blur-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange, #E67E22);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
}
.btn-cta-primary:hover {
    background: #d35400;
    transform: translateY(-1px);
    color: #fff;
}
.btn-cta-primary svg {
    flex-shrink: 0;
}
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    padding: 13px 24px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-cta-secondary:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.06);
}

.blur-cta-note {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ─── Comments Login Prompt ─── */
.comments-login-prompt {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-section, #f5f6f8);
    border-radius: 12px;
    border: 1px dashed #d0d5dd;
}
.comments-login-prompt svg {
    margin-bottom: 12px;
    opacity: 0.5;
}
.comments-login-prompt p {
    font-size: 15px;
    color: var(--navy, #1B2A4A);
    margin: 0 0 16px;
}
.comments-login-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-comment-login {
    display: inline-block;
    padding: 9px 24px;
    background: var(--navy, #1B2A4A);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-comment-login:hover {
    background: #2a3f6b;
    color: #fff;
}
.btn-comment-register {
    display: inline-block;
    padding: 9px 24px;
    border: 1px solid var(--navy, #1B2A4A);
    color: var(--navy, #1B2A4A);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-comment-register:hover {
    background: var(--navy, #1B2A4A);
    color: #fff;
}

/* ─── Blur Responsive ─── */
@media (max-width: 768px) {
    .blur-cta-title { font-size: 18px; }
    .article-blur-cta { padding: 32px 20px 28px; }
    .blur-cta-actions { flex-direction: column; gap: 8px; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; justify-content: center; }
    .blur-cta-benefits { flex-direction: column; align-items: center; gap: 6px; }
    .article-blur-overlay::before { left: -20px; right: -20px; }
}
@media (max-width: 480px) {
    .blur-cta-title { font-size: 17px; }
    .btn-cta-primary { font-size: 14px; padding: 12px 24px; }
}

/* ─── Blur CTA Animation ─── */
.article-blur-cta {
    animation: fadeInUp 0.6s ease 0.3s both;
}


/* ═══════════════════════════════════════════════
   SEARCH AUTOCOMPLETE & HIGHLIGHT
   ═══════════════════════════════════════════════ */

/* ─── Autocomplete Dropdown ─── */
.search-box {
    position: relative;
}
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
    border-top: none;
    z-index: 1000;
    max-height: 420px;
    overflow: hidden;
}
.autocomplete-results {
    max-height: 340px;
    overflow-y: auto;
}

/* ─── Autocomplete Item ─── */
.ac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary, #1a1a1a);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.ac-item:hover,
.ac-item.ac-selected {
    background: #f5f6f8;
}
.ac-item:last-child { border-bottom: none; }

.ac-item-main { flex: 1; min-width: 0; }

.ac-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #1a1a1a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}
.ac-title mark {
    background: rgba(230, 126, 34, 0.2);
    color: var(--orange, #E67E22);
    font-weight: 700;
    padding: 0 1px;
    border-radius: 2px;
}

.ac-meta {
    display: block;
    font-size: 12px;
    color: var(--text-light, #888);
    margin-top: 2px;
}

/* ─── Empty State ─── */
.ac-empty {
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light, #888);
}

/* ─── View All Footer ─── */
.autocomplete-footer {
    border-top: 1px solid #e8e8e8;
}
.ac-viewall {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy, #1B2A4A);
    text-decoration: none;
    transition: background 0.15s;
}
.ac-viewall:hover {
    background: #f5f6f8;
    color: var(--orange, #E67E22);
}

/* ─── Search Highlight (검색 결과 페이지) ─── */
mark.search-highlight,
.archive-grid mark,
.article-title mark,
.article-excerpt mark {
    background: rgba(230, 126, 34, 0.2);
    color: var(--orange, #E67E22);
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 2px;
}

/* ─── Search Autocomplete Responsive ─── */
@media (max-width: 768px) {
    .search-autocomplete {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
        margin-top: 4px;
    }
}

/* ═══════════════════════════════════════════════
   AUTH PAGES (Login / Register)
   ═══════════════════════════════════════════════ */

.sn-auth-page {
    min-height: calc(100vh - var(--header-height, 60px) - var(--gnb-height, 44px));
    background: #f5f6f8;
}
.sn-auth-container {
    display: flex;
    max-width: 1080px;
    margin: 0 auto;
    min-height: 700px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-top: 40px;
    margin-bottom: 60px;
}

/* ─── Left: Brand Panel ─── */
.sn-auth-brand {
    width: 420px;
    flex-shrink: 0;
    background: linear-gradient(160deg, var(--navy, #1B2A4A) 0%, #243656 40%, #2a3f6b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}
.sn-auth-brand::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.1);
}
.sn-auth-brand::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.sn-auth-brand-inner { position: relative; z-index: 1; }

.sn-auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
}
.sn-auth-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.sn-auth-logo-icon svg { width: 100%; height: 100%; }
.sn-auth-logo strong {
    font-size: 20px;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}
.sn-auth-logo span {
    font-size: 9px;
    letter-spacing: 1px;
    opacity: 0.6;
}

.sn-auth-brand-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
}
.sn-auth-brand-desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Brand Features */
.sn-auth-brand-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sn-auth-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    opacity: 0.85;
}
.sn-auth-feature svg { opacity: 0.7; flex-shrink: 0; }
.sn-auth-brand-note {
    margin-top: 18px;
    font-size: 12.5px;
    opacity: 0.7;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

/* Registration Steps */
.sn-auth-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}
.sn-auth-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange, #E67E22);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sn-auth-step strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}
.sn-auth-step p {
    font-size: 12px;
    opacity: 0.6;
    margin: 0;
}

/* ─── Right: Form Panel ─── */
.sn-auth-form-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}
.sn-auth-form-inner {
    width: 100%;
    max-width: 440px;
}

.sn-auth-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy, #1B2A4A);
    margin-bottom: 8px;
}
.sn-auth-subtitle {
    font-size: 14px;
    color: var(--text-light, #888);
    margin-bottom: 28px;
}

/* ─── Alerts ─── */
.sn-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.sn-auth-alert svg { flex-shrink: 0; margin-top: 1px; }
.sn-auth-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.sn-auth-alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.sn-error-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sn-error-list li + li { margin-top: 4px; }

/* ─── Form Fields ─── */
.sn-auth-form { margin-bottom: 20px; }

.sn-form-group {
    margin-bottom: 18px;
}
.sn-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 6px;
}
.sn-form-group label .required { color: var(--orange, #E67E22); }

.sn-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sn-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.sn-input-icon {
    position: absolute;
    left: 14px;
    color: #bbb;
    pointer-events: none;
    z-index: 1;
}
.sn-input-wrap input {
    padding-left: 42px !important;
}

.sn-form-group input[type="text"],
.sn-form-group input[type="email"],
.sn-form-group input[type="password"],
.sn-form-group input[type="tel"],
.sn-input-wrap input {
    width: 100%;
    height: 44px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary, #1a1a1a);
    background: #fff;
    transition: all 0.2s;
}
.sn-form-group input:focus,
.sn-input-wrap input:focus {
    outline: none;
    border-color: var(--orange, #E67E22);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}
.sn-form-group input::placeholder { color: #bbb; }

/* Password Toggle */
.sn-pw-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light, #888);
    padding: 4px;
}
.sn-pw-toggle:hover { color: var(--text-primary); }

/* ─── Checkbox ─── */
.sn-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.sn-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary, #555);
    cursor: pointer;
}
.sn-checkbox input { display: none; }
.sn-checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.sn-checkbox input:checked + .sn-checkmark {
    background: var(--orange, #E67E22);
    border-color: var(--orange, #E67E22);
}
.sn-checkbox input:checked + .sn-checkmark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}
.sn-forgot-link {
    font-size: 13px;
    color: var(--text-light, #888);
}
.sn-forgot-link:hover { color: var(--orange, #E67E22); }

.sn-agree-group {
    margin-bottom: 20px;
}
.sn-agree-group .sn-checkbox { font-size: 12.5px; }
.sn-agree-group a { color: var(--navy, #1B2A4A); font-weight: 600; text-decoration: underline; }

/* ─── Payment Notice ─── */
.sn-payment-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #fffbf5;
    border: 1px solid #fde8c8;
    border-radius: 10px;
    margin-bottom: 24px;
}
.sn-payment-notice svg { color: var(--orange, #E67E22); flex-shrink: 0; margin-top: 2px; }
.sn-payment-notice strong { font-size: 13px; display: block; color: var(--text-primary); margin-bottom: 4px; }
.sn-payment-notice p { font-size: 12px; color: var(--text-secondary, #555); margin: 0; line-height: 1.5; }
.sn-bank-info {
    font-weight: 600 !important;
    color: var(--navy, #1B2A4A) !important;
    margin-top: 6px !important;
}

/* ─── Buttons ─── */
.sn-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: var(--orange, #E67E22);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
.sn-btn-primary:hover { background: var(--orange-hover, #d35400); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(230,126,34,0.3); }

.sn-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    background: transparent;
    color: var(--navy, #1B2A4A);
    border: 1.5px solid var(--navy, #1B2A4A);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.sn-btn-outline:hover { background: var(--navy, #1B2A4A); color: #fff; }

/* ─── Divider ─── */
.sn-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}
.sn-auth-divider::before,
.sn-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}
.sn-auth-divider span { font-size: 12px; color: #bbb; }

/* ─── Footer ─── */
.sn-auth-footer {
    text-align: center;
}
.sn-auth-footer p {
    font-size: 13px;
    color: var(--text-light, #888);
    margin-bottom: 12px;
}
.sn-auth-footer a { color: var(--orange, #E67E22); font-weight: 600; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .sn-auth-container { flex-direction: column; margin: 20px 16px; }
    .sn-auth-brand { width: 100%; padding: 32px 28px; }
    .sn-auth-brand-title { font-size: 22px; }
    .sn-auth-form-wrap { padding: 32px 28px; }
}
@media (max-width: 600px) {
    .sn-auth-brand { padding: 24px 20px; }
    .sn-auth-brand-features,
    .sn-auth-steps { display: none; }
    .sn-auth-form-wrap { padding: 24px 20px; }
    .sn-form-row { grid-template-columns: 1fr; }
    .sn-auth-title { font-size: 24px; }
}

/* ═══════════════════════════════════════════════
   MY PAGE
   ═══════════════════════════════════════════════ */

.sn-mypage {
    background: #f5f6f8;
    min-height: 80vh;
    padding: 32px 0 60px;
}
.sn-mypage-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

/* ─── Sidebar ─── */
.sn-mypage-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height, 60px) + var(--gnb-height, 44px) + 20px);
}
.sn-mypage-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.sn-mypage-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.sn-mypage-userinfo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sn-mypage-userinfo strong { font-size: 15px; color: var(--navy, #1B2A4A); }
.sn-mypage-userinfo span { font-size: 12px; color: #888; }
.sn-status-pending { color: #dc2626 !important; font-weight: 600; }
.sn-status-approved { color: #16a34a !important; font-weight: 600; }

.sn-mypage-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sn-mypage-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #555);
    transition: all 0.15s;
}
.sn-mypage-nav a:hover { background: #f5f6f8; color: var(--navy, #1B2A4A); }
.sn-mypage-nav a.active {
    background: var(--orange, #E67E22);
    color: #fff;
}
.sn-mypage-nav a.active svg { fill: #fff; }
.sn-mypage-nav a svg { fill: currentColor; flex-shrink: 0; }

/* ─── Main Content ─── */
.sn-mypage-main {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.sn-mypage-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy, #1B2A4A);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange, #E67E22);
}
.sn-mypage-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 12px;
}
.sn-mypage-hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 24px 0;
}

/* Form in MyPage */
.sn-mypage-form .sn-form-group { margin-bottom: 16px; }
.sn-mypage-form .sn-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 6px;
}
.sn-mypage-form input[type="text"],
.sn-mypage-form input[type="email"],
.sn-mypage-form input[type="tel"],
.sn-mypage-form input[type="password"] {
    width: 100%;
    height: 42px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}
.sn-mypage-form input:focus {
    outline: none;
    border-color: var(--orange, #E67E22);
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
}
.sn-input-disabled {
    background: #f5f5f5 !important;
    color: #888 !important;
    cursor: not-allowed;
}

/* ─── List Items ─── */
.sn-mypage-list {
    display: flex;
    flex-direction: column;
}
.sn-mypage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-primary, #1a1a1a);
    transition: background 0.15s;
}
.sn-mypage-item:hover { background: #fafafa; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 6px; }
.sn-mypage-item-cat {
    font-size: 11px;
    font-weight: 600;
    color: var(--orange, #E67E22);
    background: rgba(230,126,34,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}
.sn-mypage-item-title { flex: 1; font-size: 14px; font-weight: 500; }
.sn-mypage-item-date { font-size: 12px; color: #888; flex-shrink: 0; }

/* Comments */
.sn-mypage-comment {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sn-mypage-comment-post {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy, #1B2A4A);
    display: block;
    margin-bottom: 6px;
}
.sn-mypage-comment-post:hover { color: var(--orange, #E67E22); }
.sn-comment-pending {
    font-size: 11px;
    background: #fef2f2;
    color: #dc2626;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
}
.sn-mypage-comment-text {
    font-size: 13px;
    color: var(--text-secondary, #555);
    line-height: 1.5;
    margin: 0;
}
.sn-mypage-comment-date {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
    display: block;
}

/* Newsletter */
.sn-newsletter-card {
    text-align: center;
    padding: 40px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #eee;
}
.sn-newsletter-card h3 { font-size: 18px; margin: 16px 0 8px; }
.sn-newsletter-card p { font-size: 14px; color: #666; }
.sn-newsletter-email { margin-top: 16px; font-size: 14px; }

/* Empty */
.sn-mypage-empty {
    text-align: center;
    padding: 48px 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .sn-mypage-layout { grid-template-columns: 1fr; }
    .sn-mypage-sidebar { position: static; }
    .sn-mypage-nav { flex-direction: row; overflow-x: auto; }
    .sn-mypage-nav a { white-space: nowrap; padding: 8px 16px; }
    .sn-mypage-main { padding: 20px; }
}

/* ─── 기사작성 버튼 (기자용) ─── */
.btn-write {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 16px;
    background: var(--orange, #E67E22);
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-write:hover {
    background: var(--orange-hover, #d35400);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(230,126,34,0.3);
}

/* ═══════════════════════════════════════════════
   AI ENGINE CHATBOT — 크기/위치/레이아웃만 조정
   Timeless 테마 기본 색상 유지
   업데이트: 2026-02-12
   ═══════════════════════════════════════════════ */
/* ── 1. 팝업 아이콘 크기 ─── */
.mwai-window .mwai-icon {
    width: 64px !important;
    height: 64px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.mwai-window .mwai-icon:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3) !important;
}
.mwai-window .mwai-icon svg {
    width: 30px !important;
    height: 30px !important;
}
/* ── 1-1. 챗봇 창 크기 확보 ─── */
.mwai-chatbot-container {
    height: auto !important;
}
.mwai-window .mwai-chat {
    height: auto !important;
    max-height: none !important;
}
.mwai-window .mwai-conversation {
    height: 55vh !important;
    max-height: 55vh !important;
    min-height: 300px !important;
    overflow-y: auto !important;
}
/* ── 2. 챗봇 창 외형 (JS 리사이즈 핸들 사용) ─── */
.mwai-window .mwai-chat {
    width: 420px !important;
    min-width: 320px !important;
    max-width: 700px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2) !important;
}
/* ── 4. 사용자 말풍선 파란 바 문제 수정 ─── */
.mwai-window .mwai-ask {
    border-left: none !important;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.mwai-window .mwai-ask .mwai-text {
    border-left: none !important;
    border-right: none !important;
}
/* ── 5. 전송 버튼 Orange 유지 ─── */
.mwai-window .mwai-input .mwai-send-button,
.mwai-window .mwai-input button[type="submit"] {
    background: #E67E22 !important;
    border: none !important;
    border-radius: 10px !important;
    transition: background 0.2s ease !important;
}
.mwai-window .mwai-input .mwai-send-button:hover,
.mwai-window .mwai-input button[type="submit"]:hover {
    background: #d35400 !important;
}
/* ── 6. 스크롤바 ─── */
.mwai-window .mwai-conversation::-webkit-scrollbar {
    width: 6px;
}
.mwai-window .mwai-conversation::-webkit-scrollbar-track {
    background: transparent;
}
.mwai-window .mwai-conversation::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}
/* ── 7. 뉴스레터 겹침 방지 ─── */
.mwai-window {
    z-index: 9999 !important;
}
/* ── 8. 기존 커스텀 FAB 숨김 ─── */
.chatbot-fab {
    display: none !important;
}
/* ── 9. 반응형 — 모바일 ─── */
@media (max-width: 768px) {
    .mwai-window .mwai-chat {
        width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
    }
    .mwai-window .mwai-conversation {
        max-height: calc(100vh - 140px) !important;
    }
    .mwai-window .mwai-icon {
        width: 54px !important;
        height: 54px !important;
    }
}
/* ═══════════════════════════════════════════════════════════════
   셔터뉴스 기사 에디터 연동 CSS 패치
   이 코드를 style.css 맨 하단에 추가하세요
   ═══════════════════════════════════════════════════════════════ */


/* ─── 기사 본문 커스텀 스타일 (TinyMCE style_formats 연동) ─── */

.article-body .article-highlight-box {
    background: linear-gradient(135deg, rgba(27,42,74,0.03), rgba(27,42,74,0.06));
    border: 1px solid rgba(27,42,74,0.1);
    border-left: 4px solid var(--navy);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.article-body .photo-caption {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

.article-body .article-source {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}


/* ─── 부제목 (single.php 기사 상세) ─── */

.single-subtitle {
    font-family: var(--sn-font-primary);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: -4px 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    word-break: keep-all;
}

/* 발문 (기사 요약/리드) */
.article-lead {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
    color: #333;
    margin: 16px 0 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--orange);
    background: linear-gradient(to right, rgba(230,126,34,0.05), transparent);
    border-radius: 0 6px 6px 0;
    word-break: keep-all;
}


/* ─── 기자 정보 (single.php 기사 상세) ─── */

.reporter-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.reporter-info .reporter-name {
    font-weight: 600;
    color: var(--text-primary);
}

.reporter-info .reporter-email {
    color: var(--text-caption);
    text-decoration: none;
}

.reporter-info .reporter-email:hover {
    color: var(--orange);
}

.reporter-info .reporter-divider {
    color: var(--text-light);
}


/* ─── 기자 정보 박스 (single.php 하단) ─── */

.reporter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    margin-top: 8px;
    border-top: 1px solid #e8e8e8;
}

.reporter-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reporter-box .reporter-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.reporter-box .reporter-avatar--initial {
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.reporter-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reporter-details .reporter-media {
    font-size: 12px;
    color: var(--text-caption, #999);
    letter-spacing: 0.02em;
}

.reporter-details .reporter-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #222);
}

.reporter-details .reporter-email {
    font-size: 13px;
    color: var(--text-secondary, #666);
    text-decoration: none;
}

.reporter-details .reporter-email:hover {
    color: var(--orange);
}

.reporter-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.reporter-more-btn:hover {
    background: var(--orange);
    color: #fff;
}

@media (max-width: 768px) {
    .reporter-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .reporter-more-btn {
        align-self: stretch;
        justify-content: center;
    }
}


/* ─── 히어로 등급 뱃지 ─── */

.hero-grade-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-left: 6px;
    vertical-align: middle;
}

.hero-grade-badge.headline {
    background: rgba(231,76,60,0.9);
    color: #fff;
}

.hero-grade-badge.important {
    background: rgba(230,126,34,0.9);
    color: #fff;
}


/* ─── 뉴스 그리드 카드 등급 뱃지 ─── */

.article-card .card-grade-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
}

.card-grade-badge.important {
    background: rgba(230,126,34,0.9);
    color: #fff;
}

.card-grade-badge.headline {
    background: rgba(231,76,60,0.9);
    color: #fff;
}


/* ─── 관련기사 (수동 연결) ─── */

.manual-related-articles {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.manual-related-articles .related-title {
    font-family: var(--sn-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 4px solid var(--orange);
}

.manual-related-articles .related-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.manual-related-articles .related-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s;
}

.manual-related-articles .related-item:hover {
    background: var(--orange-glow);
}

.manual-related-articles .related-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.manual-related-articles .related-item-date {
    font-size: 12px;
    color: var(--text-caption);
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   YouTube / 영상 iframe - 기사 칼럼 폭 100% 맞춤 (모든 구조 대응)
   ═══════════════════════════════════════════════════════════════ */

/* 방법: article-body 내 모든 YouTube iframe을 반응형 16:9로 */
.article-body iframe[src*="youtube"],
.article-body iframe[src*="youtu.be"] {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border: none;
    border-radius: var(--radius-md, 8px);
    margin: 24px 0;
    display: block;
}

/* video-wrapper가 있는 경우 (기존 자동 변환) */
.article-body .video-wrapper,
.article-video .video-wrapper,
.article-video-inline .video-wrapper {
    position: relative;
    width: 100% !important;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md, 8px);
    background: #000;
    margin: 24px 0;
}
.article-body .video-wrapper iframe,
.article-video .video-wrapper iframe,
.article-video-inline .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* 대표 YouTube 영상 - 본문 칼럼 폭에 맞춤 */
.article-video {
    max-width: 740px;
    width: 100%;
    margin: 0 auto 28px auto;
}

/* 본문 내 YouTube 인라인 영상 */
.article-video-inline {
    width: 100% !important;
    margin: 24px 0;
}

/* WordPress embed 래퍼 */
.article-body .wp-block-embed,
.article-body .wp-block-embed__wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

/* 기사 본문 내 모든 embed/object/video */
.article-body iframe,
.article-body embed,
.article-body object,
.article-body video {
    max-width: 100% !important;
    width: 100% !important;
}

/* ═══════════════════════════════════════════════════════════════
   약관/정책 페이지 (이용약관, 개인정보처리방침, 청소년보호정책 등)
   ═══════════════════════════════════════════════════════════════ */
.sn-policy-page {
    background: var(--bg-page, #F0F2F5);
    min-height: 60vh;
    padding: 40px 20px 60px;
}
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow-md, 0 2px 12px rgba(0,0,0,0.08));
    padding: 48px 48px 56px;
}
.policy-header {
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--navy, #1B2A4A);
}
.policy-title {
    font-family: var(--sn-font-heading, 'Pretendard', 'Noto Sans KR', sans-serif);
    font-size: 28px;
    font-weight: 800;
    color: var(--navy, #1B2A4A);
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}
.policy-updated {
    font-size: 13px;
    color: #888;
    margin: 0;
}
.policy-intro {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--navy, #1B2A4A);
}
.policy-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.policy-article {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}
.policy-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.policy-article h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy, #1B2A4A);
    margin: 0 0 12px;
    padding-left: 14px;
    border-left: 4px solid var(--orange, #E67E22);
}
.policy-article p {
    margin: 0 0 10px;
    line-height: 1.8;
}
.policy-article ul,
.policy-article ol {
    margin: 10px 0 10px 20px;
    padding: 0;
}
.policy-article li {
    margin-bottom: 6px;
    line-height: 1.7;
}
.policy-article strong {
    color: var(--navy, #1B2A4A);
}

/* 약관 테이블 */
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.policy-table th {
    background: var(--navy, #1B2A4A);
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    font-size: 13px;
}
.policy-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}
.policy-table tr:nth-child(even) td {
    background: #f8f9fa;
}
.policy-table a {
    color: var(--orange, #E67E22);
    text-decoration: none;
}
.policy-table a:hover {
    text-decoration: underline;
}

/* 이메일무단수집거부 특수 스타일 */
.policy-highlight {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
}
.policy-highlight p {
    font-size: 16px;
    font-weight: 500;
    color: #e65100;
    line-height: 1.7;
}
.policy-law-box {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 16px 0;
    border-left: 4px solid #666;
}
.policy-law-box p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.policy-penalty {
    background: #fbe9e7;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
    text-align: center;
}
.policy-penalty p {
    font-size: 15px;
    font-weight: 600;
    color: #c62828;
}

/* 약관 페이지 반응형 */
@media (max-width: 768px) {
    .sn-policy-page { padding: 20px 12px 40px; }
    .policy-container { padding: 28px 20px 36px; border-radius: 8px; }
    .policy-title { font-size: 22px; }
    .policy-article h3 { font-size: 16px; }
    .policy-content { font-size: 14px; }
    .policy-table { font-size: 13px; }
    .policy-table th,
    .policy-table td { padding: 8px 10px; }
}
@media (max-width: 480px) {
    .policy-container { padding: 20px 16px 28px; }
    .policy-title { font-size: 20px; }
    .policy-intro { padding: 16px; font-size: 14px; }
}

/* ===============================================
   CONTACT FORM PAGES (광고문의, 기사제보, 구독신청)
   =============================================== */

/* Container override */
.sn-contact-page .contact-container {
    max-width: 720px;
}

/* Privacy Notice Box */
.sn-privacy-notice {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 28px;
}
.sn-privacy-notice h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy, #1B2A4A);
    margin: 0 0 12px;
}
.sn-privacy-notice-content {
    margin-bottom: 16px;
}
.sn-privacy-notice-content p {
    font-size: 13px;
    color: var(--text-secondary, #555);
    line-height: 1.6;
    margin: 0 0 12px;
}
.sn-privacy-notice .policy-table {
    font-size: 13px;
    margin: 12px 0 0;
}

/* Contact Form */
.sn-contact-form {
    margin-top: 8px;
}
.sn-contact-form .sn-form-group {
    margin-bottom: 18px;
}
.sn-contact-form .sn-form-actions {
    margin-top: 8px;
}
.sn-contact-form textarea {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary, #1a1a1a);
    background: #fff;
    resize: vertical;
    min-height: 160px;
    transition: all 0.2s;
    box-sizing: border-box;
}
.sn-contact-form textarea:focus {
    outline: none;
    border-color: var(--orange, #E67E22);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}
.sn-contact-form textarea::placeholder { color: #bbb; }

/* File input */
.sn-contact-form input[type="file"] {
    width: 100%;
    height: 44px;
    border: 1.5px dashed #d0d0d0;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text-secondary, #555);
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}
.sn-contact-form input[type="file"]:hover {
    border-color: var(--orange, #E67E22);
    background: #fffbf5;
}
.sn-form-hint {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}

/* Contact Info Box (기사제보 페이지) */
.sn-contact-info-box {
    margin-top: 32px;
    padding: 20px 24px;
    background: #f0f4f8;
    border-radius: 10px;
    border-left: 4px solid var(--navy, #1B2A4A);
}
.sn-contact-info-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy, #1B2A4A);
    margin: 0 0 8px;
}
.sn-contact-info-box p {
    font-size: 13px;
    color: var(--text-secondary, #555);
    margin: 0 0 4px;
    line-height: 1.6;
}
.sn-contact-info-box a {
    color: var(--orange, #E67E22);
    font-weight: 600;
}

/* Subscribe Page Special */
.subscribe-container {
    max-width: 560px !important;
    text-align: center;
}
.subscribe-container .policy-header {
    border-bottom: none;
}
.subscribe-container .sn-privacy-notice,
.subscribe-container .sn-contact-form {
    text-align: left;
}
.subscribe-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy, #1B2A4A) 0%, #2a3f6b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.subscribe-icon svg {
    width: 32px;
    height: 32px;
}
.sn-subscribe-success {
    text-align: center;
    padding: 40px 0;
}
.sn-subscribe-success .success-icon {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.sn-subscribe-success h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy, #1B2A4A);
    margin: 0 0 8px;
}
.sn-subscribe-success p {
    font-size: 14px;
    color: var(--text-secondary, #555);
    margin: 0 0 24px;
}

/* Newsletter AJAX Message (sidebar) */
.sn-newsletter-msg {
    font-size: 12px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
}
.sn-newsletter-msg.success {
    background: rgba(255,255,255,0.15);
    color: #a3e4a7;
}
.sn-newsletter-msg.error {
    background: rgba(255,255,255,0.1);
    color: #fca5a5;
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .sn-contact-page .contact-container { padding: 28px 20px 36px; }
    .sn-privacy-notice { padding: 16px; }
    .sn-contact-form .sn-form-row { grid-template-columns: 1fr; }
    .subscribe-container { max-width: 100% !important; }
}
@media (max-width: 480px) {
    .sn-contact-page .contact-container { padding: 20px 16px 28px; }
    .sn-privacy-notice h4 { font-size: 14px; }
    .subscribe-icon { width: 52px; height: 52px; }
    .subscribe-icon svg { width: 26px; height: 26px; }
}

/* ===============================================
   ABOUT PAGE (매체소개)
   =============================================== */

.about-container {
    max-width: 800px;
}

/* Greeting Section */
.about-greeting {
    margin-bottom: 40px;
}
.about-greeting-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.about-greeting-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy, #1B2A4A) 0%, #2a3f6b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.about-greeting-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy, #1B2A4A);
    margin: 0;
}
.about-greeting-content p {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
    margin: 0 0 16px;
}

/* Values List */
.about-values {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.about-values li {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px 18px;
    border-left: 3px solid var(--orange, #E67E22);
}
.about-values li strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy, #1B2A4A);
    margin-bottom: 4px;
}
.about-values li span {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* Greeting Sign & Author */
.about-greeting-sign {
    font-size: 15px;
    color: #333;
    margin: 24px 0 16px;
}
.about-greeting-author {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.about-author-info {
    text-align: right;
}
.about-author-media {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}
.about-author-name {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy, #1B2A4A);
    letter-spacing: 6px;
}

/* Section Title */
.about-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy, #1B2A4A);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--navy, #1B2A4A);
}

/* Info Table */
.about-info-section {
    margin-bottom: 40px;
}
.about-info-table a {
    color: var(--orange, #E67E22);
    font-weight: 600;
}

/* Map Section */
.about-map-section {
    margin-bottom: 20px;
}
.about-map-address {
    font-size: 14px;
    color: #333;
    margin: 0 0 16px;
    font-weight: 600;
}
.about-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.about-map-note {
    font-size: 12px;
    color: #999;
    margin: 10px 0 0;
    font-style: italic;
}

/* Ethics Preamble */
.ethics-preamble {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 32px;
    border-left: 4px solid var(--navy, #1B2A4A);
}
.ethics-preamble h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy, #1B2A4A);
    margin: 0 0 12px;
}
.ethics-preamble p {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
    margin: 0;
}

/* About Page Responsive */
@media (max-width: 768px) {
    .about-values { grid-template-columns: 1fr; }
    .about-greeting-header h2 { font-size: 18px; }
    .about-author-name { font-size: 18px; letter-spacing: 4px; }
    .ethics-preamble { padding: 20px; }
}
@media (max-width: 480px) {
    .about-greeting-icon { width: 40px; height: 40px; }
    .about-greeting-icon svg { width: 22px; height: 22px; }
    .about-greeting-content p { font-size: 14px; }
    .about-values li { padding: 12px 14px; }
}

/* ═══════════════════════════════════════════════════════════
   BLOCK 2: 헤더 로고 이미지 + 아카이브 리스팅 여백 개선
   ═══════════════════════════════════════════════════════════ */

/* 헤더 로고 이미지 */
.site-logo-link { display: flex; align-items: center; }
.site-logo-img { height: 45px; width: auto; }
@media (max-width: 768px) { .site-logo-img { height: 36px; } }

/* 아카이브 기사 카드 그리드뷰 텍스트 영역 개선 */
.archive-grid .article-card .article-body {
    padding: 16px 20px;
}
.archive-grid .article-card .article-title {
    margin-bottom: 8px;
    line-height: 1.5;
}
.archive-grid .article-card .article-excerpt {
    -webkit-line-clamp: 3;
    line-height: 1.65;
    color: #555;
    font-size: 13.5px;
}

/* ═══════════════════════════════════════════════════════════
   BLOCK 3: 회원 유형 선택 카드 (회원가입 폼)
   ═══════════════════════════════════════════════════════════ */
.sn-member-type-options { display: flex; gap: 12px; margin-top: 8px; }
.sn-radio-card { flex: 1; cursor: pointer; }
.sn-radio-card input { display: none; }
.sn-radio-card-inner {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s;
}
.sn-radio-card input:checked + .sn-radio-card-inner {
    border-color: var(--navy);
    background: rgba(27,42,74,0.03);
}
.sn-radio-card-inner strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}
.sn-radio-card-inner p {
    font-size: 13px;
    color: #888;
    margin: 0;
}
@media (max-width: 640px) {
    .sn-member-type-options { flex-direction: column; }
}

/* ===============================================
   COMMUNITY BOARD (archive-community.php)
   archive.php 레이아웃 구조 재사용
   =============================================== */

/* -- Toolbar -- */
.board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 10px 16px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* -- Table Wrap -- */
.board-table-wrap {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* -- Empty Wrap -- */
.board-empty-wrap {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 60px 20px;
    text-align: center;
    color: var(--text-light);
}
.board-count {
    font-size: 14px;
    color: #888;
}
.board-count strong {
    color: var(--navy);
}
.btn-write {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--navy);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-write:hover { background: var(--navy-light, #2a3d66); }
.btn-write.disabled {
    background: #ccc;
    color: #888;
    cursor: default;
}
.btn-write svg { flex-shrink: 0; }

/* -- Table -- */
.board-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.board-table thead {
    background: #f4f6f9;
}
.board-table th {
    padding: 10px 16px;
    font-weight: 700;
    color: var(--navy);
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.board-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}
.col-num {
    width: 60px;
    text-align: center;
    color: #888;
    font-size: 13px;
}
.col-title {
    text-align: left;
}
.col-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s;
}
.col-title a:hover {
    color: var(--orange);
}
.col-author {
    width: 100px;
    text-align: center;
    font-size: 13px;
    color: #555;
}
.col-date {
    width: 90px;
    text-align: center;
    font-size: 13px;
    color: #888;
}
.col-views {
    width: 60px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* -- Badges & Icons -- */
.badge-new {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1.4;
}
.icon-secret {
    margin-right: 4px;
    font-size: 13px;
}
.icon-image {
    margin-left: 4px;
    font-size: 12px;
}
.secret-post {
    background: #fafafa;
}
.secret-title {
    color: #bbb;
    font-style: italic;
}

/* -- Empty & Blocked -- */
.board-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #fafafa;
}
.secret-blocked {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-size: 16px;
}
.secret-blocked p {
    margin-bottom: 20px;
}
.btn-back {
    display: inline-block;
    padding: 10px 24px;
    background: var(--navy);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-back:hover { background: var(--navy-light, #2a3d66); }

/* -- Pagination -- */
.board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
}
.board-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
    color: #555;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
}
.board-pagination .page-numbers:hover {
    background: #f4f6f9;
    border-color: var(--navy);
    color: var(--navy);
}
.board-pagination .page-numbers.current {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    font-weight: 700;
}

/* ===============================================
   COMMUNITY MINI-BOARD (front-page.php)
   =============================================== */
.section-community-mini {
    margin-top: 40px;
}
.community-mini-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.mini-tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    background: #f4f6f9;
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.mini-tab:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.mini-tab.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.mini-board {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mini-board li {
    border-bottom: 1px solid var(--border-light);
}
.mini-board li:last-child {
    border-bottom: none;
}
.mini-board li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.15s;
}
.mini-board li a:hover {
    color: var(--orange);
}
.mini-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    margin-right: 12px;
}
.mini-date {
    flex-shrink: 0;
    width: 50px;
    text-align: right;
    font-size: 12px;
    color: #888;
}
.mini-empty {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 13px;
}

/* ── Community Responsive ── */
@media (max-width: 768px) {
    .col-num, .col-views {
        display: none;
    }
    .board-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
    .board-table th {
        padding: 8px;
        font-size: 12px;
    }
    .col-author {
        width: 70px;
    }
    .col-date {
        width: 70px;
    }
    .community-mini-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .mini-tab {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ===============================================
   COMMUNITY WRITE FORM (page-community-write.php)
   =============================================== */
.write-form-wrap {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}
.write-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
}
.community-write-form .form-group { margin-bottom: 24px; }
.community-write-form label {
    display: block; font-weight: 600; font-size: 15px;
    color: var(--text-primary); margin-bottom: 8px;
}
.community-write-form .required { color: #e74c3c; }
.community-write-form .form-help-inline { font-weight: 400; font-size: 13px; color: var(--text-light); }
.community-write-form input[type="text"],
.community-write-form textarea {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--border); border-radius: var(--radius-md);
    font-size: 15px; font-family: inherit;
    transition: border-color 0.2s;
}
.community-write-form input[type="text"]:focus,
.community-write-form textarea:focus {
    outline: none; border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(27,42,74,0.08);
}
.community-write-form textarea { resize: vertical; line-height: 1.7; }
.community-write-form input[type="file"] { font-size: 14px; padding: 8px 0; }
.form-help { font-size: 13px; color: var(--text-light); margin-top: 6px; }

/* 체크박스 */
.sn-checkbox-label {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; font-size: 15px; font-weight: 500;
}
.sn-checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy); }

/* 이미지 미리보기 */
.image-preview { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.preview-item { width: 120px; }
.preview-item img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border-light); }
.preview-item span { display: block; font-size: 11px; color: var(--text-light); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 버튼 */
.form-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }
.btn-cancel {
    padding: 12px 32px; border: 1px solid var(--border); border-radius: var(--radius-md);
    color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500;
    transition: background 0.2s;
}
.btn-cancel:hover { background: var(--bg-section); }
.btn-submit {
    padding: 12px 40px; background: var(--navy); color: #fff; border: none;
    border-radius: var(--radius-md); font-size: 15px; font-weight: 600; cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover { background: var(--navy-light); }

/* 커뮤니티 갤러리 */
.community-gallery {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.community-gallery .gallery-item {
    margin: 0;
}

/* ─── 고객센터 폼 카드 (subscribe/ad-inquiry/tip-off) ─── */
.sn-form-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 40px 36px;
}
@media (max-width: 768px) {
    .sn-form-card { padding: 24px 16px; }
}

/* ─── 커뮤니티 글 수정/삭제 버튼 (상세글) ─── */
.community-post-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin: 20px 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.btn-community-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    color: var(--text-secondary);
}
.btn-community-action:hover { background: var(--bg-section); }
.btn-community-action.btn-edit:hover { color: var(--navy); border-color: var(--navy); }
.btn-community-action.btn-delete { color: #dc2626; }
.btn-community-action.btn-delete:hover { background: #fef2f2; border-color: #dc2626; }
.btn-community-action.btn-list { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-community-action.btn-list:hover { background: var(--navy-light); }

/* ─── 목록 수정/삭제 아이콘 ─── */
.post-manage-icons {
    display: inline-flex;
    gap: 6px;
    margin-left: 8px;
    vertical-align: middle;
}
.manage-icon {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s;
}
.manage-icon:hover { background: var(--bg-section); color: var(--navy); }
.manage-icon.delete:hover { color: #dc2626; background: #fef2f2; }

/* 반응형 */
@media (max-width: 768px) {
    .write-form-wrap { padding: 20px 16px; }
    .form-actions { flex-direction: column; }
    .btn-cancel, .btn-submit { width: 100%; text-align: center; }
}
