/*
Individual Gnuboard Theme Profile: 021
Header: 좌측 브랜드 + 우측 메뉴
Main: 대시보드 카드 허브
SEO rules: internal board links, post detail pages, 4:3 images, collected community feed, schema ItemList remain enabled.
*/

body.hm-profile-021 {
    --hm-font: 'Roboto', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    --hm-profile-accent: hsl(68 72% 38%);
    --hm-profile-accent-2: hsl(270 68% 42%);
    --hm-profile-accent-3: hsl(66 70% 44%);
    --hm-profile-soft: hsl(68 86% 95%);
    --hm-profile-page: linear-gradient(69deg, hsl(68 74% 97%) 0%, hsl(270 76% 98%) 48%, hsl(66 76% 96%) 100%);
    --hm-profile-surface: hsl(76 38% 99%);
    --hm-profile-surface-alt: hsl(270 58% 95%);
    --hm-profile-text: hsl(290 34% 13%);
    --hm-profile-muted: hsl(278 18% 42%);
    --hm-profile-border: hsl(270 42% 82%);
    --hm-profile-line: hsl(68 56% 84%);
    --hm-profile-shadow: 0 21px 41px hsl(68 50% 28% / 0.12);
    --hm-profile-radius: 7px;
    --hm-profile-card-radius: 11px;
    --hm-profile-shell: 1163px;
    --hm-profile-rail: 309px;
    --hm-profile-side: 307px;
    --hm-profile-content: 957px;
    --hm-profile-gap: 13px;
    --hm-profile-pad: 29px;
    --hm-profile-row: 57px;
    --hm-profile-card: 257px;
    --hm-profile-gallery-min: 285px;
    background: var(--hm-profile-page) !important;
    color: var(--hm-profile-text) !important;
    font-family: var(--hm-font) !important;
}
body.hm-profile-021 *:not(i):not([class^="fa"]):not([class*=" fa-"]):not(.material-icons):not(.xi) {
    font-family: var(--hm-font) !important;
}
body.hm-profile-021 .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: 2px !important;
    box-shadow: var(--hm-profile-shadow) !important;
}
body.hm-profile-021 .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-021 .hm-site-brand {
    color: var(--hm-profile-text) !important;
    letter-spacing: 0 !important;
}
body.hm-profile-021 .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-021 .hm-primary-nav a,
body.hm-profile-021 .hm-auth-link {
    color: var(--hm-profile-muted) !important;
}
body.hm-profile-021 .hm-primary-nav a:hover,
body.hm-profile-021 .hm-auth-link:hover {
    color: var(--hm-profile-accent) !important;
    background: var(--hm-profile-soft) !important;
}
body.hm-profile-021 .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-021 .hm-header-inner { justify-content: space-between !important; }
    body.hm-profile-021 .hm-primary-nav { margin-left: auto !important; }
}


body.hm-profile-021 .hm-main-board-preview {
    background:
        linear-gradient(34deg, hsl(68 74% 97%) 0%, hsl(76 38% 99%) 48%, hsl(66 76% 96%) 100%) !important;
    padding-top: clamp(86px, 8vw, 139px) !important;
}
body.hm-profile-021 .hm-community-shell {
    width: min(var(--hm-profile-shell), 100%) !important;
    max-width: var(--hm-profile-shell) !important;
}
body.hm-profile-021 .hm-preview-head,
body.hm-profile-021 .hm-board-chip,
body.hm-profile-021 .hm-preview-card,
body.hm-profile-021 .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-021 .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-021 .hm-board-nav {
    scrollbar-width: none !important;
}
body.hm-profile-021 .hm-preview-carousel::-webkit-scrollbar,
body.hm-profile-021 .hm-board-nav::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
body.hm-profile-021 .hm-preview-media,
body.hm-profile-021 .hm-preview-thumb,
body.hm-profile-021 .hm-post-thumb {
    aspect-ratio: 4 / 3 !important;
}
body.hm-profile-021 .hm-preview-media img,
body.hm-profile-021 .hm-preview-thumb img,
body.hm-profile-021 .hm-post-thumb img {
    filter: saturate(1.10) hue-rotate(3deg) !important;
    object-fit: cover !important;
}

@media (min-width: 861px) {
    body.hm-profile-021 .hm-community-shell { display: grid !important; grid-template-columns: 1.35fr .75fr !important; gap: calc(var(--hm-profile-gap) + 6px) !important; }
    body.hm-profile-021 .hm-preview-head { grid-column: 1 / -1 !important; width: 100% !important; }
    body.hm-profile-021 .hm-board-nav { grid-column: 1 / -1 !important; }
    body.hm-profile-021 .hm-external-feed-block { grid-column: 1 !important; }
    body.hm-profile-021 .hm-preview-carousel:not(.hm-external-carousel) { grid-column: 1 !important; }
    body.hm-profile-021 .hm-board-grid { grid-column: 2 !important; grid-row: 3 / span 2 !important; grid-template-columns: 1fr !important; margin-top: 0 !important; }
}

@media (max-width: 860px) {
    body.hm-profile-021 .hm-community-shell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    body.hm-profile-021 .hm-preview-head {
        width: min(100%, calc(100vw - 28px)) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    body.hm-profile-021 .hm-board-nav {
        flex-direction: row !important;
        overflow-x: auto !important;
    }
    body.hm-profile-021 .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-021 .hm-preview-card-link {
        flex-direction: column !important;
    }
    body.hm-profile-021 .hm-preview-media {
        width: 100% !important;
        flex-basis: auto !important;
    }
    body.hm-profile-021 .hm-board-grid {
        grid-template-columns: 1fr !important;
    }
}
