/* =============================================
   Ink Drop Theme (vue-006) - CSS
   Style: Ink wash painting, brush strokes
   Font: Noto Serif KR, Noto Sans KR
   Accent: Vermilion (#E94560)
   ============================================= */

:root {
    --ink-deep: #1A1A2E;
    --ink-medium: #2C2C3E;
    --vermilion: #E94560;
    --vermilion-dark: #C73550;
    --bg-white: #FEFEFE;
    --surface: #F8F6F3;
    --border: #E8E4DF;
    --ink-splash: rgba(44, 44, 62, 0.06);
    --text-primary: #1A1A2E;
    --text-secondary: #5A5A6E;
    --text-light: #8A8A9E;
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Noto Sans KR', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   Brush Stroke Underline
   ============================================= */
.brush-underline {
    position: relative;
    display: inline-block;
}

.brush-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--vermilion);
    border-radius: 2px 4px 2px 4px;
    transform: scaleX(0) skewX(-10deg);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.brush-underline:hover::after,
.brush-underline.active::after {
    transform: scaleX(1) skewX(-10deg);
}

/* =============================================
   Header
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(26, 26, 46, 0.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ink-deep);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--vermilion);
    border-radius: 50%;
    margin-left: 2px;
    vertical-align: super;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--ink-deep);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-deep);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =============================================
   Buttons
   ============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--vermilion);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--vermilion-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: var(--ink-deep);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--ink-deep);
    background: var(--surface);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-ghost:hover {
    color: var(--ink-deep);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    background: var(--surface);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--border);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-ink-bg {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(26, 26, 46, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(26, 26, 46, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 30%, rgba(233, 69, 96, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--vermilion);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.hero-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.2rem;
    height: 2px;
    background: var(--vermilion);
    border-radius: 2px;
    transform: translateY(-50%) skewX(-15deg);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--ink-deep);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title-accent {
    position: relative;
    display: inline-block;
}

.hero-title-accent::before {
    content: '';
    position: absolute;
    bottom: 0.15em;
    left: -0.05em;
    right: -0.05em;
    height: 0.35em;
    background: rgba(233, 69, 96, 0.12);
    border-radius: 3px;
    z-index: -1;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-vertical {
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 0.3em;
    line-height: 2;
    padding-right: 1rem;
    border-right: 1px solid var(--border);
    opacity: 0.7;
}

/* =============================================
   Animations
   ============================================= */
.ink-reveal {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ink-reveal.visible {
    opacity: 1;
    transform: scale(1);
}

.ink-drop {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ink-drop.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* =============================================
   Features Section
   ============================================= */
.features {
    padding: 6rem 2rem;
    background: var(--surface);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: var(--vermilion);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--ink-deep);
    letter-spacing: -0.02em;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--ink-splash) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: scale(1.5);
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(26, 26, 46, 0.08);
    transform: translateY(-3px);
}

.feature-dot {
    width: 10px;
    height: 10px;
    background: var(--vermilion);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink-deep);
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-brush-line {
    width: 40px;
    height: 2px;
    background: var(--ink-deep);
    margin-top: 1.5rem;
    border-radius: 2px;
    transform: skewX(-20deg);
    opacity: 0.3;
}

/* =============================================
   Board Section (Timeline)
   ============================================= */
.board-section {
    padding: 6rem 2rem;
    position: relative;
}

.board-container {
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--ink-medium);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(232, 228, 223, 0.5);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--ink-medium);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--vermilion);
    border-color: var(--vermilion);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.timeline-category {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--vermilion);
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink-deep);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
}

.timeline-title:hover {
    color: var(--vermilion);
}

.timeline-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.timeline-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.timeline-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   Stats Section
   ============================================= */
.stats-section {
    padding: 5rem 2rem;
    background: var(--ink-deep);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.stat-number .accent {
    color: var(--vermilion);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0.5rem auto 0;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--ink-deep);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--vermilion);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    background: #fff;
    color: var(--ink-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    padding: 3rem 2rem;
    border-top: 2px solid var(--border);
    position: relative;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink-deep);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--ink-deep);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: var(--font-serif);
}

/* =============================================
   Mobile Nav
   ============================================= */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 254, 254, 0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    backdrop-filter: blur(10px);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--ink-deep);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--vermilion);
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--ink-deep);
    background: none;
    border: none;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

/* =============================================
   Board List (Skin)
   ============================================= */
.board-list-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.board-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--ink-deep);
}

.board-list-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink-deep);
}

.board-list-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.board-list-table-header {
    display: grid;
    grid-template-columns: 60px 1fr 100px 90px 70px;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

.board-list-table-header .col-subject {
    text-align: left;
    padding-left: 1rem;
}

.board-list-row {
    display: grid;
    grid-template-columns: 60px 1fr 100px 90px 70px;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(232, 228, 223, 0.5);
    align-items: center;
    font-size: 0.9rem;
    text-align: center;
    transition: background-color 0.2s ease;
}

.board-list-row:hover {
    background-color: var(--surface);
}

.board-list-row.is-notice {
    background-color: rgba(233, 69, 96, 0.03);
}

.board-list-row .col-subject {
    text-align: left;
    padding-left: 1rem;
}

.notice-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--vermilion);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 3px;
    font-family: var(--font-serif);
}

.subject-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.subject-link:hover {
    color: var(--vermilion);
}

.comment-count {
    color: var(--vermilion);
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.3rem;
}

.col-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.col-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.col-hit {
    font-size: 0.8rem;
    color: var(--text-light);
}

.board-list-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-light);
    font-family: var(--font-serif);
}

/* Pagination */
.board-list-pagination {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pg_wrap {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pg_wrap a,
.pg_wrap .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.pg_wrap a:hover {
    border-color: var(--vermilion);
    color: var(--vermilion);
}

.pg_wrap .pg_current {
    background: var(--vermilion);
    color: #fff;
    border-color: var(--vermilion);
    font-weight: 600;
}

/* Search & Footer */
.board-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.board-search-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.board-search-select {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: var(--bg-white);
    font-family: var(--font-sans);
}

.board-search-input {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
    min-width: 180px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: border-color 0.2s ease;
}

.board-search-input:focus {
    outline: none;
    border-color: var(--vermilion);
}

.board-search-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* =============================================
   Board View (Skin)
   ============================================= */
.board-view-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.board-view-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--ink-deep);
}

.board-view-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--ink-deep);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.board-view-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.board-view-separator {
    color: var(--border);
}

.board-view-author {
    font-weight: 500;
    color: var(--text-secondary);
}

/* Files */
.board-view-files {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.board-view-files-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.board-view-files-list {
    list-style: none;
}

.board-view-file-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.board-view-file-link:hover {
    color: var(--vermilion);
}

.file-download-count {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Content */
.board-view-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-primary);
    padding: 2rem 0;
    min-height: 200px;
    word-break: break-word;
}

.board-view-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.board-view-content a {
    color: var(--vermilion);
    text-decoration: underline;
}

/* Vote */
.board-view-vote {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border: 1.5px solid var(--border);
    border-radius: 30px;
    background: var(--bg-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.vote-btn:hover {
    transform: translateY(-2px);
}

.vote-good:hover {
    border-color: var(--vermilion);
    color: var(--vermilion);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.15);
}

.vote-nogood:hover {
    border-color: var(--ink-medium);
    color: var(--ink-medium);
}

/* Prev / Next */
.board-view-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.board-view-nav-item {
    display: block;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.board-view-nav-item:hover {
    border-color: var(--vermilion);
    background: rgba(233, 69, 96, 0.02);
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-subject {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-next {
    text-align: right;
}

/* Actions */
.board-view-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* =============================================
   Comments
   ============================================= */
#board-comment-wrap {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* =============================================
   Main Content (padding for fixed header)
   ============================================= */
main {
    padding-top: 0;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-vertical {
        writing-mode: horizontal-tb;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 0 0 1rem 0;
        letter-spacing: 0.2em;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-vertical {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .features {
        padding: 4rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .board-section {
        padding: 4rem 1.5rem;
    }

    .timeline {
        padding-left: 2.5rem;
    }

    .stats-section {
        padding: 4rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .cta-container {
        padding: 3rem 2rem;
        border-radius: 12px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Board List responsive */
    .board-list-table-header {
        display: none;
    }

    .board-list-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        border: 1px solid var(--border);
    }

    .board-list-row .col-num {
        display: none;
    }

    .board-list-row .col-subject {
        padding-left: 0;
        font-size: 0.95rem;
    }

    .board-list-row .col-name,
    .board-list-row .col-date,
    .board-list-row .col-hit {
        display: inline;
        font-size: 0.75rem;
    }

    .board-list-row .col-name::after,
    .board-list-row .col-date::after {
        content: ' | ';
        color: var(--border);
    }

    .board-list-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .board-search-form {
        flex-wrap: wrap;
    }

    .board-search-input {
        min-width: 120px;
        flex: 1;
    }

    /* Board View responsive */
    .board-view-nav {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

    .board-view-vote {
        gap: 0.75rem;
    }

    .vote-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0.8rem 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .timeline-meta {
        flex-direction: column;
        gap: 0.3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .board-list-container,
    .board-view-container {
        padding: 0 1rem;
    }
}
/* HM_THEME_OVERFLOW_GUARD */
html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
body,
body * {
    box-sizing: border-box;
}
img,
video,
canvas,
svg {
    max-width: 100%;
}
main,
#app,
#index-app,
.main-content,
.container,
.section,
.hero,
.hero-content,
.hero-title,
.hero-desc,
.hero-actions {
    max-width: 100% !important;
    min-width: 0 !important;
}
.hero-content,
.hero-title,
.hero-desc {
    overflow-wrap: anywhere;
}
/* END_HM_THEME_OVERFLOW_GUARD */

/* HM_STANDARD_LAYOUT_FIX_V2 */
html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
body.hm-gnuboard-site,
body.hm-gnuboard-site * {
    box-sizing: border-box;
}
body.hm-gnuboard-site {
    min-width: 0 !important;
    text-rendering: optimizeLegibility;
}
body.hm-menu-open {
    overflow: hidden !important;
}
body.hm-gnuboard-site img,
body.hm-gnuboard-site video,
body.hm-gnuboard-site canvas,
body.hm-gnuboard-site svg {
    max-width: 100%;
}
.hm-site-header,
.site-header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    z-index: 2147483000 !important;
    width: 100% !important;
    min-height: 72px !important;
    display: block !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #0f172a !important;
    border: 0 !important;
    border-bottom: 1px solid #dbe3ef !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08) !important;
    backdrop-filter: blur(14px);
    transform: none !important;
}
.hm-header-inner,
.site-header .header-inner {
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
}
.hm-site-brand,
.site-header .logo,
.site-header .site-brand {
    min-width: 0 !important;
    max-width: 38ch !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #0f172a !important;
    font-family: 'Noto Sans KR', Arial, sans-serif !important;
    font-size: clamp(16px, 1.4vw, 22px) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.hm-brand-mark {
    flex: 0 0 auto !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #2563eb, #22c55e) !important;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .12) !important;
}
.hm-primary-nav,
.site-header nav,
.site-header .nav-links {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
}
.site-header .nav-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.hm-primary-nav a,
.site-header nav a,
.site-header .nav-links a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    color: #334155 !important;
    background: transparent !important;
    font-family: 'Noto Sans KR', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
}
.hm-primary-nav a:hover,
.site-header nav a:hover,
.site-header .nav-links a:hover {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
}
.hm-auth-nav,
.site-header .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.hm-auth-link,
.hm-auth-button,
.site-header .btn-login,
.site-header .btn-register,
.site-header .btn-logout,
.site-header .btn-member {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    border-radius: 8px !important;
    border: 1px solid #dbe3ef !important;
    background: #fff !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
}
.hm-auth-button,
.site-header .btn-login {
    border-color: #2563eb !important;
    background: #2563eb !important;
    color: #fff !important;
}
.hm-mobile-toggle,
.site-header .mobile-toggle {
    display: none !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 8px !important;
    background: #fff !important;
    cursor: pointer !important;
}
.hm-mobile-toggle span,
.site-header .mobile-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
}
.hm-mobile-menu,
.mobile-nav {
    display: none !important;
}
.hm-mobile-menu:not([hidden]),
.mobile-nav.open {
    display: grid !important;
    gap: 8px !important;
    width: min(1180px, calc(100% - 32px)) !important;
    margin: 0 auto 12px !important;
    padding: 10px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .10) !important;
}
.hm-mobile-menu a,
.mobile-nav.open a {
    display: flex !important;
    min-height: 42px !important;
    align-items: center !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
.hm-site-main {
    width: 100% !important;
    min-height: 62vh !important;
    min-width: 0 !important;
    overflow: visible !important;
}
.hm-site-footer,
.site-footer {
    width: 100% !important;
    margin-top: 48px !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #475569 !important;
}
.hm-footer-inner,
.site-footer .footer-inner,
.site-footer-inner {
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}
.hm-site-footer a,
.site-footer a {
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}
body:has(.hm-board-page),
body:has(.hm-board-view) {
    background: #f8fafc !important;
    color: #111827 !important;
    background-image: none !important;
}
body:has(.hm-board-page) .hm-site-main,
body:has(.hm-board-view) .hm-site-main,
body:has(.hm-board-page) main,
body:has(.hm-board-view) main {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: transparent !important;
    min-width: 0 !important;
}
body:has(.hm-board-page)::before,
body:has(.hm-board-page)::after,
body:has(.hm-board-view)::before,
body:has(.hm-board-view)::after,
body:has(.hm-board-page) .hm-site-main::before,
body:has(.hm-board-page) .hm-site-main::after,
body:has(.hm-board-view) .hm-site-main::before,
body:has(.hm-board-view) .hm-site-main::after {
    display: none !important;
    content: none !important;
}
@media (max-width: 860px) {
    .hm-site-header,
    .site-header {
        min-height: 64px !important;
    }
    .hm-header-inner,
    .site-header .header-inner {
        min-height: 64px !important;
        width: min(100% - 24px, 1180px) !important;
    }
    .hm-site-brand,
    .site-header .logo,
    .site-header .site-brand {
        max-width: calc(100vw - 96px) !important;
        font-size: 16px !important;
    }
    .hm-primary-nav,
    .site-header nav,
    .site-header .nav-links,
    .hm-auth-nav,
    .site-header .header-actions {
        display: none !important;
    }
    .hm-mobile-toggle,
    .site-header .mobile-toggle {
        display: inline-flex !important;
        margin-left: auto !important;
    }
    .hm-mobile-menu:not([hidden]),
    .mobile-nav.open {
        width: min(100% - 24px, 1180px) !important;
    }
}
/* END_HM_STANDARD_LAYOUT_FIX_V2 */

/* HM_SITE_DESIGN_VARIANTS_V1 */
body.hm-gnuboard-site {
    --hm-font: 'Noto Sans KR', Arial, sans-serif;
    --hm-page-bg: #f8fafc;
    --hm-surface: #ffffff;
    --hm-surface-alt: #f1f5f9;
    --hm-text: #111827;
    --hm-muted: #64748b;
    --hm-border: #dbe3ef;
    --hm-accent: #2563eb;
    --hm-accent-2: #22c55e;
    --hm-accent-soft: #eff6ff;
    --hm-button-text: #ffffff;
    --hm-radius: 8px;
    --hm-card-radius: 8px;
    --hm-card-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    --hm-header-bg: rgba(255, 255, 255, .96);
    --hm-header-text: #0f172a;
    --hm-header-border: #dbe3ef;
    --hm-header-shadow: 0 10px 26px rgba(15, 23, 42, .08);
    --hm-preview-bg: #f6f8fb;
    --hm-hero-bg: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    background: var(--hm-page-bg) !important;
    color: var(--hm-text) !important;
    font-family: var(--hm-font) !important;
}
body.hm-style-01 {
    --hm-accent: #2563eb; --hm-accent-2: #14b8a6; --hm-accent-soft: #eff6ff;
    --hm-page-bg: #f8fafc; --hm-surface-alt: #eef2ff; --hm-border: #cbd5e1;
    --hm-preview-bg: linear-gradient(135deg, #eff6ff 0%, #f8fafc 48%, #ccfbf1 100%);
    --hm-hero-bg: linear-gradient(135deg, #f8fafc 0%, #dbeafe 58%, #ccfbf1 100%);
}
body.hm-style-02 {
    --hm-accent: #047857; --hm-accent-2: #ca8a04; --hm-accent-soft: #ecfdf5;
    --hm-page-bg: #f7fbf8; --hm-surface-alt: #f0fdf4; --hm-border: #bbf7d0;
    --hm-preview-bg: linear-gradient(135deg, #ecfdf5 0%, #ffffff 48%, #fef9c3 100%);
    --hm-hero-bg: linear-gradient(135deg, #f0fdf4 0%, #ffffff 46%, #fef9c3 100%);
}
body.hm-style-03 {
    --hm-font: 'IBM Plex Sans KR', 'Noto Sans KR', Arial, sans-serif;
    --hm-accent: #be123c; --hm-accent-2: #7c3aed; --hm-accent-soft: #fff1f2;
    --hm-page-bg: #fff8fb; --hm-surface-alt: #fdf2f8; --hm-border: #fecdd3;
    --hm-preview-bg: linear-gradient(135deg, #fff1f2 0%, #ffffff 50%, #f5f3ff 100%);
    --hm-hero-bg: linear-gradient(135deg, #fff1f2 0%, #ffffff 52%, #ede9fe 100%);
}
body.hm-style-04 {
    --hm-accent: #0891b2; --hm-accent-2: #f97316; --hm-accent-soft: #ecfeff;
    --hm-page-bg: #f6fbfd; --hm-surface-alt: #e0f2fe; --hm-border: #bae6fd;
    --hm-preview-bg: linear-gradient(135deg, #ecfeff 0%, #ffffff 46%, #ffedd5 100%);
    --hm-hero-bg: linear-gradient(135deg, #ecfeff 0%, #f8fafc 56%, #ffedd5 100%);
}
body.hm-style-05 {
    --hm-font: 'Gowun Dodum', 'Noto Sans KR', Arial, sans-serif;
    --hm-accent: #7c2d12; --hm-accent-2: #16a34a; --hm-accent-soft: #fff7ed;
    --hm-page-bg: #fcfaf7; --hm-surface-alt: #fef3c7; --hm-border: #fed7aa;
    --hm-preview-bg: linear-gradient(135deg, #fff7ed 0%, #ffffff 52%, #dcfce7 100%);
    --hm-hero-bg: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #dcfce7 100%);
}
body.hm-style-06 {
    --hm-accent: #4f46e5; --hm-accent-2: #eab308; --hm-accent-soft: #eef2ff;
    --hm-page-bg: #f8f7ff; --hm-surface-alt: #eef2ff; --hm-border: #c7d2fe;
    --hm-preview-bg: linear-gradient(135deg, #eef2ff 0%, #ffffff 50%, #fef3c7 100%);
    --hm-hero-bg: linear-gradient(135deg, #eef2ff 0%, #ffffff 46%, #fef3c7 100%);
}
body.hm-style-07 {
    --hm-accent: #0f766e; --hm-accent-2: #db2777; --hm-accent-soft: #ccfbf1;
    --hm-page-bg: #f5fbfa; --hm-surface-alt: #ccfbf1; --hm-border: #99f6e4;
    --hm-preview-bg: linear-gradient(135deg, #ccfbf1 0%, #ffffff 52%, #fce7f3 100%);
    --hm-hero-bg: linear-gradient(135deg, #ccfbf1 0%, #ffffff 52%, #fce7f3 100%);
}
body.hm-style-08 {
    --hm-accent: #111827; --hm-accent-2: #f59e0b; --hm-accent-soft: #f3f4f6;
    --hm-page-bg: #f6f7f9; --hm-surface-alt: #f3f4f6; --hm-border: #d1d5db;
    --hm-preview-bg: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 56%, #fef3c7 100%);
    --hm-hero-bg: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 62%, #fef3c7 100%);
}
body.hm-style-09 {
    --hm-accent: #0284c7; --hm-accent-2: #ea580c; --hm-accent-soft: #e0f2fe;
    --hm-page-bg: #f5fbff; --hm-surface-alt: #e0f2fe; --hm-border: #bae6fd;
    --hm-preview-bg: linear-gradient(135deg, #e0f2fe 0%, #ffffff 48%, #fed7aa 100%);
    --hm-hero-bg: linear-gradient(135deg, #e0f2fe 0%, #ffffff 48%, #ffedd5 100%);
}
body.hm-style-10 {
    --hm-accent: #15803d; --hm-accent-2: #2563eb; --hm-accent-soft: #dcfce7;
    --hm-page-bg: #f6fbf7; --hm-surface-alt: #dcfce7; --hm-border: #bbf7d0;
    --hm-preview-bg: linear-gradient(135deg, #dcfce7 0%, #ffffff 46%, #dbeafe 100%);
    --hm-hero-bg: linear-gradient(135deg, #dcfce7 0%, #ffffff 48%, #dbeafe 100%);
}
body.hm-style-11 {
    --hm-accent: #6d28d9; --hm-accent-2: #06b6d4; --hm-accent-soft: #f5f3ff;
    --hm-page-bg: #fbf8ff; --hm-surface-alt: #f5f3ff; --hm-border: #ddd6fe;
    --hm-preview-bg: linear-gradient(135deg, #f5f3ff 0%, #ffffff 50%, #cffafe 100%);
    --hm-hero-bg: linear-gradient(135deg, #f5f3ff 0%, #ffffff 54%, #cffafe 100%);
}
body.hm-style-12 {
    --hm-accent: #0f5132; --hm-accent-2: #b45309; --hm-accent-soft: #ecfdf5;
    --hm-page-bg: #f7faf8; --hm-surface-alt: #ecfdf5; --hm-border: #bfdbfe;
    --hm-preview-bg: linear-gradient(135deg, #ecfdf5 0%, #ffffff 48%, #dbeafe 100%);
    --hm-hero-bg: linear-gradient(135deg, #ecfdf5 0%, #ffffff 50%, #dbeafe 100%);
}
body.hm-style-03,
body.hm-style-06,
body.hm-style-11 {
    --hm-card-radius: 14px;
    --hm-card-shadow: 0 18px 38px rgba(67, 56, 202, .13);
}
body.hm-style-05,
body.hm-style-08 {
    --hm-card-radius: 4px;
    --hm-card-shadow: 0 8px 0 rgba(17, 24, 39, .08);
}
body.hm-gnuboard-site .hm-site-header,
body.hm-gnuboard-site .site-header {
    background: var(--hm-header-bg) !important;
    color: var(--hm-header-text) !important;
    border-bottom: 1px solid var(--hm-header-border) !important;
    box-shadow: var(--hm-header-shadow) !important;
}
body.hm-gnuboard-site .hm-header-inner,
body.hm-gnuboard-site .site-header .header-inner {
    width: min(1180px, calc(100% - 32px)) !important;
}
body.hm-gnuboard-site .hm-site-brand,
body.hm-gnuboard-site .site-header .logo,
body.hm-gnuboard-site .site-header .site-brand {
    color: var(--hm-header-text) !important;
    font-family: var(--hm-font) !important;
}
body.hm-gnuboard-site .hm-brand-mark {
    background: linear-gradient(135deg, var(--hm-accent), var(--hm-accent-2)) !important;
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--hm-accent) 16%, transparent) !important;
}
body.hm-gnuboard-site .hm-primary-nav a,
body.hm-gnuboard-site .site-header nav a,
body.hm-gnuboard-site .site-header .nav-links a {
    color: var(--hm-muted) !important;
    font-family: var(--hm-font) !important;
}
body.hm-gnuboard-site .hm-primary-nav a:hover,
body.hm-gnuboard-site .site-header nav a:hover,
body.hm-gnuboard-site .site-header .nav-links a:hover {
    color: var(--hm-accent) !important;
    background: var(--hm-accent-soft) !important;
}
body.hm-gnuboard-site .hm-auth-button,
body.hm-gnuboard-site .site-header .btn-login,
body.hm-gnuboard-site .btn-primary,
body.hm-gnuboard-site .btn-cta {
    border-color: var(--hm-accent) !important;
    background: var(--hm-accent) !important;
    color: var(--hm-button-text) !important;
}
body.hm-layout-02 .hm-site-header {
    border-top: 4px solid var(--hm-accent) !important;
    box-shadow: none !important;
}
body.hm-layout-02 .hm-primary-nav a {
    border: 1px solid var(--hm-border) !important;
    background: var(--hm-surface-alt) !important;
}
body.hm-layout-03 .hm-site-header {
    min-height: 96px !important;
}
body.hm-layout-03 .hm-header-inner {
    flex-wrap: wrap !important;
    align-content: center !important;
    gap: 8px 16px !important;
    min-height: 96px !important;
}
body.hm-layout-03 .hm-primary-nav {
    order: 5 !important;
    flex: 1 0 100% !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    padding-top: 8px !important;
    border-top: 1px solid var(--hm-border) !important;
}
body.hm-layout-04 .hm-header-inner {
    width: min(1080px, calc(100% - 48px)) !important;
}
body.hm-layout-04 .hm-site-brand {
    text-transform: uppercase !important;
}
body.hm-layout-04 .hm-site-header {
    background: var(--hm-page-bg) !important;
    box-shadow: inset 0 -3px 0 var(--hm-accent) !important;
}
body.hm-layout-05 .hm-header-inner {
    width: min(1040px, calc(100% - 32px)) !important;
}
body.hm-layout-05 .hm-brand-mark {
    border-radius: 3px !important;
    transform: rotate(45deg) !important;
}
body.hm-gnuboard-site .hero {
    background: var(--hm-hero-bg) !important;
    color: var(--hm-text) !important;
}
body.hm-layout-02 .hero,
body.hm-layout-02 .hm-main-board-preview {
    border-left: 8px solid var(--hm-accent) !important;
}
body.hm-layout-03 .hero {
    border-bottom: 1px solid var(--hm-border) !important;
}
body.hm-layout-04 .hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%) !important;
}
body.hm-layout-05 .hero .hero-content {
    width: min(1040px, calc(100% - 32px)) !important;
}
body.hm-gnuboard-site .section {
    background: transparent !important;
}
body.hm-gnuboard-site .feature-card,
body.hm-gnuboard-site .board-widget,
body.hm-gnuboard-site .stat-item,
body.hm-gnuboard-site .cta-card {
    border-color: var(--hm-border) !important;
    border-radius: var(--hm-card-radius) !important;
    background: var(--hm-surface) !important;
    box-shadow: var(--hm-card-shadow) !important;
}
body.hm-gnuboard-site .section-label,
body.hm-gnuboard-site .hero-badge,
body.hm-gnuboard-site .highlight {
    color: var(--hm-accent) !important;
}
body.hm-gnuboard-site .hm-main-board-preview {
    --hm-card-bg: var(--hm-preview-bg);
    --hm-card-text: var(--hm-text);
    --hm-card-muted: var(--hm-muted);
    --hm-card-line: var(--hm-border);
    padding: clamp(92px, 8vw, 144px) clamp(14px, 4vw, 56px) clamp(28px, 3.5vw, 52px) !important;
    background: var(--hm-preview-bg) !important;
    color: var(--hm-text) !important;
    position: relative !important;
}
body.hm-gnuboard-site .hm-preview-head {
    padding: 14px 16px !important;
    border: 1px solid color-mix(in srgb, var(--hm-border) 72%, transparent) !important;
    border-radius: var(--hm-card-radius) !important;
    background: color-mix(in srgb, var(--hm-surface) 78%, transparent) !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .06) !important;
}
body.hm-gnuboard-site .hm-preview-eyebrow,
body.hm-gnuboard-site .hm-preview-board,
body.hm-gnuboard-site .hm-board-panel-head p {
    color: var(--hm-accent) !important;
}
body.hm-gnuboard-site .hm-preview-card,
body.hm-gnuboard-site .hm-board-panel,
body.hm-gnuboard-site .hm-board-chip {
    border-color: var(--hm-border) !important;
    border-radius: var(--hm-card-radius) !important;
    background: var(--hm-surface) !important;
    box-shadow: var(--hm-card-shadow) !important;
}
body.hm-card-02 .hm-preview-card,
body.hm-card-02 .feature-card,
body.hm-card-02 .board-widget {
    border-radius: 3px !important;
    box-shadow: none !important;
}
body.hm-card-02 .hm-preview-media {
    border-bottom: 4px solid var(--hm-accent) !important;
}
body.hm-card-03 .hm-preview-card,
body.hm-card-03 .feature-card,
body.hm-card-03 .board-widget {
    border: 0 !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12) !important;
}
body.hm-card-03 .hm-preview-carousel {
    grid-auto-columns: minmax(288px, 336px) !important;
}
body.hm-card-04 .hm-preview-card,
body.hm-card-04 .feature-card,
body.hm-card-04 .board-widget {
    border-width: 2px !important;
    background: linear-gradient(180deg, var(--hm-surface), var(--hm-surface-alt)) !important;
}
body.hm-card-04 .hm-preview-card {
    padding: 8px !important;
}
body.hm-card-04 .hm-preview-media {
    border-radius: calc(var(--hm-card-radius) - 2px) !important;
}
body.hm-layout-04 .hm-preview-carousel {
    grid-auto-columns: minmax(280px, 330px) !important;
}
body.hm-layout-01 .hm-preview-carousel {
    grid-auto-columns: minmax(246px, 286px) !important;
}
body.hm-layout-02 .hm-preview-head {
    border-left: 8px solid var(--hm-accent) !important;
}
body.hm-layout-02 .hm-preview-carousel {
    grid-auto-columns: minmax(280px, 320px) !important;
}
body.hm-layout-03 .hm-main-board-preview {
    border-top: 6px solid var(--hm-accent) !important;
}
body.hm-layout-03 .hm-preview-carousel {
    grid-auto-columns: minmax(220px, 260px) !important;
}
body.hm-layout-04 .hm-preview-head {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}
body.hm-layout-05 .hm-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.hm-layout-05 .hm-preview-head {
    width: min(1040px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.hm-style-05 .hm-preview-head h2,
body.hm-style-08 .hm-preview-head h2 {
    font-family: 'Gowun Batang', 'Noto Sans KR', serif !important;
}
body.hm-style-03 .hm-preview-head,
body.hm-style-07 .hm-preview-head,
body.hm-style-11 .hm-preview-head {
    background: linear-gradient(135deg, color-mix(in srgb, var(--hm-surface) 88%, transparent), color-mix(in srgb, var(--hm-accent-soft) 70%, transparent)) !important;
}
body.hm-style-08 .hm-preview-card {
    border-color: var(--hm-accent) !important;
}
@media (max-width: 860px) {
    body.hm-layout-03 .hm-site-header {
        min-height: 64px !important;
    }
    body.hm-layout-03 .hm-header-inner {
        flex-wrap: nowrap !important;
        min-height: 64px !important;
    }
    body.hm-layout-03 .hm-primary-nav {
        border-top: 0 !important;
        padding-top: 0 !important;
    }
    body.hm-layout-04 .hm-header-inner,
    body.hm-layout-05 .hm-header-inner {
        width: min(100% - 24px, 1180px) !important;
    }
    body.hm-gnuboard-site .hm-main-board-preview {
        padding: 72px 14px 24px !important;
    }
    body.hm-layout-05 .hm-board-grid {
        grid-template-columns: 1fr !important;
    }
}
/* END_HM_SITE_DESIGN_VARIANTS_V1 */
