/*
Individual Gnuboard Theme Profile: 070
Header: 카테고리 스트립 헤더
Main: 모자이크 수집글 허브
SEO rules: internal board links, post detail pages, 4:3 images, collected community feed, schema ItemList remain enabled.
*/

body.hm-profile-070 {
    --hm-font: 'Roboto', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    --hm-profile-accent: hsl(81 72% 38%);
    --hm-profile-accent-2: hsl(168 68% 42%);
    --hm-profile-accent-3: hsl(62 70% 44%);
    --hm-profile-soft: hsl(81 86% 95%);
    --hm-profile-page: linear-gradient(50deg, hsl(81 74% 97%) 0%, hsl(168 76% 98%) 48%, hsl(62 76% 96%) 100%);
    --hm-profile-surface: hsl(89 38% 99%);
    --hm-profile-surface-alt: hsl(168 58% 95%);
    --hm-profile-text: hsl(303 34% 13%);
    --hm-profile-muted: hsl(291 18% 42%);
    --hm-profile-border: hsl(168 42% 82%);
    --hm-profile-line: hsl(81 56% 84%);
    --hm-profile-shadow: 0 18px 24px hsl(81 50% 28% / 0.12);
    --hm-profile-radius: 14px;
    --hm-profile-card-radius: 8px;
    --hm-profile-shell: 1190px;
    --hm-profile-rail: 322px;
    --hm-profile-side: 366px;
    --hm-profile-content: 950px;
    --hm-profile-gap: 14px;
    --hm-profile-pad: 28px;
    --hm-profile-row: 62px;
    --hm-profile-card: 248px;
    --hm-profile-gallery-min: 268px;
    background: var(--hm-profile-page) !important;
    color: var(--hm-profile-text) !important;
    font-family: var(--hm-font) !important;
}
body.hm-profile-070 *:not(i):not([class^="fa"]):not([class*=" fa-"]):not(.material-icons):not(.xi) {
    font-family: var(--hm-font) !important;
}
body.hm-profile-070 .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-070 .hm-header-inner {
    width: min(var(--hm-profile-shell), calc(100% - 32px)) !important;
    min-height: 82px !important;
    gap: var(--hm-profile-gap) !important;
}
body.hm-profile-070 .hm-site-brand {
    color: var(--hm-profile-text) !important;
    letter-spacing: 0 !important;
}
body.hm-profile-070 .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-070 .hm-primary-nav a,
body.hm-profile-070 .hm-auth-link {
    color: var(--hm-profile-muted) !important;
}
body.hm-profile-070 .hm-primary-nav a:hover,
body.hm-profile-070 .hm-auth-link:hover {
    color: var(--hm-profile-accent) !important;
    background: var(--hm-profile-soft) !important;
}
body.hm-profile-070 .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-070 .hm-header-inner { align-items: stretch !important; }
    body.hm-profile-070 .hm-site-brand { align-self: center !important; }
    body.hm-profile-070 .hm-primary-nav { height: auto !important; align-self: stretch !important; margin-left: auto !important; }
    body.hm-profile-070 .hm-primary-nav a {
        align-self: stretch !important;
        border-left: 1px solid var(--hm-profile-border) !important;
        border-radius: 0 !important;
    }
    body.hm-profile-070 .hm-auth-nav { align-self: center !important; }
}


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

@media (min-width: 861px) {
    body.hm-profile-070 .hm-external-carousel {
        grid-auto-flow: row !important;
        grid-auto-columns: unset !important;
        grid-template-columns: 1.4fr 1fr 1fr !important;
        overflow: visible !important;
    }
    body.hm-profile-070 .hm-external-carousel .hm-preview-card:nth-child(1) { grid-row: span 2 !important; }
    body.hm-profile-070 .hm-board-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; }
}

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