/*
Individual Gnuboard Theme Profile: 055
Header: 검색형 넓은 내비게이션
Main: 포털형 보드 내비게이션
SEO rules: internal board links, post detail pages, 4:3 images, collected community feed, schema ItemList remain enabled.
*/

body.hm-profile-055 {
    --hm-font: 'Roboto', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    --hm-profile-accent: hsl(246 72% 38%);
    --hm-profile-accent-2: hsl(258 68% 42%);
    --hm-profile-accent-3: hsl(122 70% 44%);
    --hm-profile-soft: hsl(246 86% 95%);
    --hm-profile-page: linear-gradient(155deg, hsl(246 74% 97%) 0%, hsl(258 76% 98%) 48%, hsl(122 76% 96%) 100%);
    --hm-profile-surface: hsl(254 38% 99%);
    --hm-profile-surface-alt: hsl(258 58% 95%);
    --hm-profile-text: hsl(108 34% 13%);
    --hm-profile-muted: hsl(96 18% 42%);
    --hm-profile-border: hsl(258 42% 82%);
    --hm-profile-line: hsl(246 56% 84%);
    --hm-profile-shadow: 0 23px 41px hsl(246 50% 28% / 0.12);
    --hm-profile-radius: 17px;
    --hm-profile-card-radius: 17px;
    --hm-profile-shell: 1065px;
    --hm-profile-rail: 271px;
    --hm-profile-side: 339px;
    --hm-profile-content: 915px;
    --hm-profile-gap: 17px;
    --hm-profile-pad: 23px;
    --hm-profile-row: 59px;
    --hm-profile-card: 245px;
    --hm-profile-gallery-min: 235px;
    background: var(--hm-profile-page) !important;
    color: var(--hm-profile-text) !important;
    font-family: var(--hm-font) !important;
}
body.hm-profile-055 *:not(i):not([class^="fa"]):not([class*=" fa-"]):not(.material-icons):not(.xi) {
    font-family: var(--hm-font) !important;
}
body.hm-profile-055 .hm-site-header {
    background: color-mix(in srgb, var(--hm-profile-surface) 94%, transparent) !important;
    border-color: var(--hm-profile-line) !important;
    border-bottom-width: 3px !important;
    box-shadow: var(--hm-profile-shadow) !important;
}
body.hm-profile-055 .hm-header-inner {
    width: min(var(--hm-profile-shell), calc(100% - 32px)) !important;
    min-height: 83px !important;
    gap: var(--hm-profile-gap) !important;
}
body.hm-profile-055 .hm-site-brand {
    color: var(--hm-profile-text) !important;
    letter-spacing: 0 !important;
}
body.hm-profile-055 .hm-brand-mark {
    background: linear-gradient(135deg, var(--hm-profile-accent), var(--hm-profile-accent-2)) !important;
    border-radius: var(--hm-profile-radius) !important;
}
body.hm-profile-055 .hm-primary-nav a,
body.hm-profile-055 .hm-auth-link {
    color: var(--hm-profile-muted) !important;
}
body.hm-profile-055 .hm-primary-nav a:hover,
body.hm-profile-055 .hm-auth-link:hover {
    color: var(--hm-profile-accent) !important;
    background: var(--hm-profile-soft) !important;
}
body.hm-profile-055 .hm-auth-button {
    border-color: var(--hm-profile-accent) !important;
    background: var(--hm-profile-accent) !important;
    color: #fff !important;
}

@media (min-width: 861px) {
    body.hm-profile-055 .hm-header-inner {
        display: grid !important;
        grid-template-columns: minmax(190px, .8fr) minmax(420px, 1.6fr) auto !important;
    }
    body.hm-profile-055 .hm-primary-nav {
        margin-left: 0 !important;
        justify-content: center !important;
        background: var(--hm-profile-soft) !important;
        border: 1px solid var(--hm-profile-border) !important;
        border-radius: 999px !important;
        padding: 4px !important;
    }
}


body.hm-profile-055 .hm-main-board-preview {
    background:
        linear-gradient(56deg, hsl(246 74% 97%) 0%, hsl(254 38% 99%) 48%, hsl(122 76% 96%) 100%) !important;
    padding-top: clamp(86px, 8vw, 123px) !important;
}
body.hm-profile-055 .hm-community-shell {
    width: min(var(--hm-profile-shell), 100%) !important;
    max-width: var(--hm-profile-shell) !important;
}
body.hm-profile-055 .hm-preview-head,
body.hm-profile-055 .hm-board-chip,
body.hm-profile-055 .hm-preview-card,
body.hm-profile-055 .hm-board-panel {
    border-radius: var(--hm-profile-card-radius) !important;
    border-color: var(--hm-profile-border) !important;
    box-shadow: var(--hm-profile-shadow) !important;
}
body.hm-profile-055 .hm-preview-carousel {
    gap: var(--hm-profile-gap) !important;
    grid-auto-columns: minmax(var(--hm-profile-card), calc(var(--hm-profile-card) + 44px)) !important;
    scrollbar-width: none !important;
}
body.hm-profile-055 .hm-board-nav {
    scrollbar-width: none !important;
}
body.hm-profile-055 .hm-preview-carousel::-webkit-scrollbar,
body.hm-profile-055 .hm-board-nav::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
body.hm-profile-055 .hm-preview-media,
body.hm-profile-055 .hm-preview-thumb,
body.hm-profile-055 .hm-post-thumb {
    aspect-ratio: 4 / 3 !important;
}
body.hm-profile-055 .hm-preview-media img,
body.hm-profile-055 .hm-preview-thumb img,
body.hm-profile-055 .hm-post-thumb img {
    filter: saturate(1.20) brightness(1.01) !important;
    object-fit: cover !important;
}

@media (min-width: 861px) {
    body.hm-profile-055 .hm-board-nav {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        overflow: visible !important;
    }
    body.hm-profile-055 .hm-preview-head { width: 100% !important; text-align: center !important; }
    body.hm-profile-055 .hm-board-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    body.hm-profile-055 .hm-post-row { grid-template-columns: 1fr !important; }
}

@media (max-width: 860px) {
    body.hm-profile-055 .hm-community-shell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    body.hm-profile-055 .hm-preview-head {
        width: min(100%, calc(100vw - 28px)) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    body.hm-profile-055 .hm-board-nav {
        flex-direction: row !important;
        overflow-x: auto !important;
    }
    body.hm-profile-055 .hm-preview-carousel {
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(238px, 78vw) !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
    body.hm-profile-055 .hm-preview-card-link {
        flex-direction: column !important;
    }
    body.hm-profile-055 .hm-preview-media {
        width: 100% !important;
        flex-basis: auto !important;
    }
    body.hm-profile-055 .hm-board-grid {
        grid-template-columns: 1fr !important;
    }
}
