/*
Individual Gnuboard Theme Profile: 074
Header: 박스형 포털 헤더
Main: 컴팩트 포럼 허브
SEO rules: internal board links, post detail pages, 4:3 images, collected community feed, schema ItemList remain enabled.
*/

body.hm-profile-074 {
    --hm-font: 'Roboto', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    --hm-profile-accent: hsl(229 72% 38%);
    --hm-profile-accent-2: hsl(336 68% 42%);
    --hm-profile-accent-3: hsl(238 70% 44%);
    --hm-profile-soft: hsl(229 86% 95%);
    --hm-profile-page: linear-gradient(166deg, hsl(229 74% 97%) 0%, hsl(336 76% 98%) 48%, hsl(238 76% 96%) 100%);
    --hm-profile-surface: hsl(237 38% 99%);
    --hm-profile-surface-alt: hsl(336 58% 95%);
    --hm-profile-text: hsl(91 34% 13%);
    --hm-profile-muted: hsl(79 18% 42%);
    --hm-profile-border: hsl(336 42% 82%);
    --hm-profile-line: hsl(229 56% 84%);
    --hm-profile-shadow: 0 10px 24px hsl(229 50% 28% / 0.12);
    --hm-profile-radius: 12px;
    --hm-profile-card-radius: 10px;
    --hm-profile-shell: 1102px;
    --hm-profile-rail: 310px;
    --hm-profile-side: 344px;
    --hm-profile-content: 838px;
    --hm-profile-gap: 24px;
    --hm-profile-pad: 32px;
    --hm-profile-row: 58px;
    --hm-profile-card: 324px;
    --hm-profile-gallery-min: 256px;
    background: var(--hm-profile-page) !important;
    color: var(--hm-profile-text) !important;
    font-family: var(--hm-font) !important;
}
body.hm-profile-074 *:not(i):not([class^="fa"]):not([class*=" fa-"]):not(.material-icons):not(.xi) {
    font-family: var(--hm-font) !important;
}
body.hm-profile-074 .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: 4px !important;
    box-shadow: var(--hm-profile-shadow) !important;
}
body.hm-profile-074 .hm-header-inner {
    width: min(var(--hm-profile-shell), calc(100% - 32px)) !important;
    min-height: 84px !important;
    gap: var(--hm-profile-gap) !important;
}
body.hm-profile-074 .hm-site-brand {
    color: var(--hm-profile-text) !important;
    letter-spacing: 0 !important;
}
body.hm-profile-074 .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-074 .hm-primary-nav a,
body.hm-profile-074 .hm-auth-link {
    color: var(--hm-profile-muted) !important;
}
body.hm-profile-074 .hm-primary-nav a:hover,
body.hm-profile-074 .hm-auth-link:hover {
    color: var(--hm-profile-accent) !important;
    background: var(--hm-profile-soft) !important;
}
body.hm-profile-074 .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-074 .hm-site-header {
        top: 10px !important;
        width: min(calc(100% - 34px), calc(var(--hm-profile-shell) + 42px)) !important;
        margin: 0 auto 12px !important;
        border: 1px solid var(--hm-profile-border) !important;
        border-radius: calc(var(--hm-profile-radius) + 14px) !important;
    }
    body.hm-profile-074 .hm-header-inner { width: min(var(--hm-profile-shell), calc(100% - 28px)) !important; }
}


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

@media (min-width: 861px) {
    body.hm-profile-074 .hm-main-board-preview { padding-block: 92px 30px !important; }
    body.hm-profile-074 .hm-preview-head { display: grid !important; grid-template-columns: 1fr auto !important; width: 100% !important; }
    body.hm-profile-074 .hm-board-nav { padding-bottom: 8px !important; }
    body.hm-profile-074 .hm-preview-carousel { grid-auto-columns: minmax(210px, 250px) !important; }
    body.hm-profile-074 .hm-board-panel { padding: 12px !important; }
}

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