/* ==========================================================================
   NLINK BLOG - ULTRA-PREMIUM KOREAN TYPOGRAPHY & MODERN UI ENHANCEMENT
   Pretendard Font Stack, High Legibility, Optimized Layout, Elegant Cards
   ========================================================================== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-gov.min.css");

:root {
    --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif !important;
    --font-heading: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif !important;
    --color-primary-text: #0f172a;
    --color-body-text: #1e293b;
    --color-muted-text: #64748b;
    --color-border-clean: #e2e8f0;
    --color-card-bg: #ffffff;
    --color-page-bg: #f8fafc;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
}

/* 1. Global Reset & Typography Baseline */
html {
    font-size: 62.5% !important; /* 1rem = 10px */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    scroll-behavior: smooth !important;
}

body {
    font-family: var(--font-sans) !important;
    font-size: 1.8rem !important; /* 18px */
    line-height: 1.85 !important;
    color: var(--color-body-text) !important;
    background-color: var(--color-page-bg) !important;
    letter-spacing: -0.018em !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

/* 2. Top Navigation Bar */
#gh-head,
.gh-head {
    position: static !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--color-border-clean) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    width: 100% !important;
    height: auto !important;
}

#gh-head .gh-head-inner,
.gh-head-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 14px 24px !important;
    gap: 20px !important;
    height: auto !important;
    grid-template-columns: none !important;
}

.gh-head-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.gh-head-brand-wrapper {
    display: flex !important;
    align-items: center !important;
}

.gh-head-logo {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    letter-spacing: -0.03em !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.gh-head-logo::after {
    content: "BLOG";
    font-size: 1.1rem;
    font-weight: 800;
    padding: 2px 7px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

/* Navigation items: ALWAYS visible horizontally, disable Ghost's nav-more-toggle (...) */
.gh-head-menu {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 10px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gh-head-menu .nav {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gh-head-menu .nav > li {
    display: inline-flex !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gh-head-menu .nav > li a {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.gh-head-menu .nav > li a:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

.gh-head-menu .nav > li.nav-current a {
    color: #2563eb !important;
    background: #eff6ff !important;
    font-weight: 700 !important;
}

/* Hide Ghost's auto-collapsed "..." dropdown trigger */
.nav-more-toggle,
.gh-head-menu .nav-more-toggle {
    display: none !important;
}

.gh-head-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.gh-search {
    background: #f8fafc !important;
    border: 1px solid var(--color-border-clean) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.gh-search:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.gh-head-members a.gh-primary-btn {
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

.gh-head-members a.gh-primary-btn:hover {
    background: #1e293b !important;
}

/* 3. Homepage Hero Showcase */
.gh-about {
    background: #ffffff !important;
    border-bottom: 1px solid var(--color-border-clean) !important;
    padding: 48px 0 !important;
    width: 100% !important;
}

.gh-about-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 48px !important;
}

.gh-about-image {
    width: 320px !important;
    max-height: 200px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid var(--color-border-clean) !important;
}

.gh-about-content {
    flex: 1 !important;
}

.gh-about-primary {
    font-size: clamp(2.8rem, 3vw, 3.8rem) !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 12px !important;
}

.gh-about-secondary {
    font-size: 1.7rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

/* Quick Topic Pills in Hero */
.gh-hero-topics {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 16px !important;
}

.gh-hero-topic-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

.gh-hero-topic-pill:hover {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #2563eb !important;
    transform: translateY(-1px) !important;
}

.gh-subscribe-input {
    display: none !important;
}

/* 4. Post Feed Layout & Modern Cards */
.gh-main {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 24px 80px 24px !important;
    width: 100% !important;
}

.gh-feed {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.gh-card {
    background: var(--color-card-bg) !important;
    border: 1px solid var(--color-border-clean) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
}

.gh-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
}

.gh-card-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
}

.gh-card-image {
    position: relative !important;
    width: 100% !important;
    padding-top: 52% !important; /* 16:9 proportion */
    overflow: hidden !important;
    background: #f1f5f9 !important;
    margin: 0 !important;
}

.gh-card-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
}

.gh-card:hover .gh-card-image img {
    transform: scale(1.04) !important;
}

/* Placeholder banner for cards without feature image */
.gh-card-placeholder-image {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gh-placeholder-content {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.gh-placeholder-badge {
    background: rgba(37, 99, 235, 0.25) !important;
    border: 1px solid rgba(191, 219, 254, 0.4) !important;
    color: #93c5fd !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    letter-spacing: -0.01em !important;
}

.gh-placeholder-logo {
    color: rgba(255, 255, 255, 0.18) !important;
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
}

.gh-card-wrapper {
    padding: 24px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.gh-card-tag-wrap {
    margin-bottom: 10px !important;
}

.gh-card-tag {
    display: inline-block !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    letter-spacing: -0.01em !important;
}

.gh-card-title {
    font-size: 2.05rem !important; /* 20.5px */
    font-weight: 800 !important;
    line-height: 1.45 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.025em !important;
    word-break: keep-all !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.gh-card:hover .gh-card-title {
    color: #2563eb !important;
}

.gh-card-excerpt {
    font-size: 1.48rem !important; /* ~15px */
    line-height: 1.6 !important;
    color: #64748b !important;
    margin: 0 0 16px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.gh-card-meta {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1.3rem !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.gh-card-meta-dot {
    color: #cbd5e1 !important;
}

.gh-card-length {
    color: #64748b !important;
}

/* 5. Article Page - Reader Optimization (WIDTH & LAYOUT FULL FIX) */
.gh-article {
    position: relative !important;
    max-width: 940px !important;
    margin: 0 auto !important;
    padding: 24px 0 80px 0 !important;
    width: 100% !important;
}

.gh-canvas {
    display: block !important;
    max-width: 940px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Non-visual elements must NEVER be displayed */
.gh-canvas script,
.gh-canvas style,
.gh-canvas template,
.gh-canvas link,
.gh-content script,
.gh-content style,
.gh-content template,
.gh-content link {
    display: none !important;
}

.gh-canvas > *:not(script):not(style):not(template):not(link) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.gh-article-header {
    display: block !important;
    margin-bottom: 28px !important;
    text-align: left !important;
    width: 100% !important;
    position: static !important;
}

.gh-article-tag-wrap {
    margin-bottom: 14px !important;
}

.gh-article-tag {
    display: inline-block !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
}

.gh-article-title {
    font-size: clamp(2.8rem, 3.8vw, 4.2rem) !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.03em !important;
    color: #0f172a !important;
    margin: 0 0 16px 0 !important;
    word-break: keep-all !important;
}

.gh-article-excerpt {
    font-size: 1.85rem !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin: 0 0 20px 0 !important;
    word-break: keep-all !important;
}

.gh-article-meta,
.gh-article-header .gh-article-meta {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 16px 0 24px 0 !important;
    padding: 0 0 20px 0 !important;
    border-bottom: 1px solid var(--color-border-clean) !important;
    width: 100% !important;
}

.gh-article-meta-inner {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
}

.gh-author-image-list {
    margin: 0 !important;
    display: flex !important;
    flex-shrink: 0 !important;
}

.gh-author-image {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid #e2e8f0 !important;
    display: block !important;
    margin: 0 !important;
}

.gh-author-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.gh-author-icon {
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e2e8f0 !important;
    border-radius: 50% !important;
}

.gh-author-icon svg {
    width: 28px !important;
    height: 28px !important;
    fill: #64748b !important;
}

.gh-article-meta-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.gh-author-name-list {
    margin: 0 !important;
    line-height: 1.2 !important;
}

.gh-author-name-list a {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
}

.gh-article-meta-sub {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1.35rem !important;
    color: #64748b !important;
}

.gh-article-divider {
    display: none !important; /* Replaced by meta border-bottom */
}

/* Feature Image */
.gh-feature-image,
.gh-article-image {
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 24px 0 40px 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.gh-feature-image img,
.gh-article-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* 6. Post Content (Main Reading Typography) */
.gh-content {
    display: block !important;
    width: 100% !important;
    max-width: 940px !important;
    margin: 0 auto !important;
    font-family: var(--font-sans) !important;
    font-size: 1.85rem !important; /* 18.5px crisp reading size */
    line-height: 1.9 !important;
    letter-spacing: -0.018em !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    color: #1e293b;
}

.gh-content > p {
    margin: 0 0 24px 0 !important;
    font-size: 1.85rem !important;
    line-height: 1.9 !important;
    color: #1e293b;
}

.gh-content h1 {
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.03em !important;
    color: #0f172a !important;
    margin: 48px 0 20px 0 !important;
}

.gh-content h2 {
    font-size: 2.6rem !important; /* 26px */
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.025em !important;
    color: #0f172a !important;
    margin: 48px 0 18px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.gh-content h3 {
    font-size: 2.15rem !important; /* 21.5px */
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.02em !important;
    color: #1e293b !important;
    margin: 36px 0 14px 0 !important;
}

.gh-content h4 {
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin: 28px 0 12px 0 !important;
}

/* Strong tags: Bold and inherit parent color gracefully */
.gh-content strong,
.gh-content b {
    font-weight: 700 !important;
}

.gh-content ul,
.gh-content ol {
    margin: 0 0 24px 0 !important;
    padding-left: 28px !important;
    font-size: 1.8rem !important;
    line-height: 1.85 !important;
}

.gh-content li {
    margin-bottom: 10px !important;
}

.gh-content li::marker {
    color: #2563eb !important;
}

.gh-content a {
    color: #2563eb !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    font-weight: 600 !important;
    transition: color 0.2s !important;
}

.gh-content a:hover {
    color: #1d4ed8 !important;
}

/* Preserve inline colors inside custom banners / cards */
.gh-content [style*="color: #ffffff"],
.gh-content [style*="color:#ffffff"],
.gh-content [style*="color: #fff"],
.gh-content [style*="color:#fff"] {
    color: #ffffff !important;
}

.gh-content [style*="color: #ffffff"] strong,
.gh-content [style*="color:#ffffff"] strong,
.gh-content [style*="color: #fff"] strong,
.gh-content [style*="color:#fff"] strong {
    color: #ffffff !important;
}

.gh-content [style*="color: #cbd5e1"],
.gh-content [style*="color:#cbd5e1"] {
    color: #cbd5e1 !important;
}

.gh-content [style*="color: #cbd5e1"] strong,
.gh-content [style*="color:#cbd5e1"] strong {
    color: #ffffff !important;
}

/* Blockquotes */
.gh-content blockquote {
    margin: 32px 0 !important;
    padding: 20px 24px !important;
    background: #f8fafc !important;
    border-left: 4px solid #3b82f6 !important;
    border-radius: 0 12px 12px 0 !important;
    font-size: 1.75rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.gh-content blockquote p {
    margin: 0 !important;
    font-size: 1.75rem !important;
    line-height: 1.8 !important;
}

/* Inline Code & Code Blocks */
.gh-content :not(pre) > code {
    background: #f1f5f9 !important;
    color: #e11d48 !important;
    font-family: Menlo, Consolas, Monaco, monospace !important;
    font-size: 0.9em !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    font-weight: 600 !important;
}

.gh-content pre {
    background: #0f172a !important;
    color: #f8fafc !important;
    padding: 22px 24px !important;
    border-radius: 12px !important;
    font-size: 1.45rem !important;
    line-height: 1.65 !important;
    margin: 28px 0 !important;
    overflow-x: auto !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12) !important;
}

/* High-Quality Modern Table Styling */
.gh-content table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 32px 0 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    font-size: 1.5rem !important;
}

.gh-content table th {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 13px 16px !important;
    border-bottom: 1px solid #334155 !important;
    text-align: left !important;
    font-size: 1.5rem !important;
}

.gh-content table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 1.5rem !important;
    line-height: 1.55 !important;
}

.gh-content table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

.gh-content table tr:hover td {
    background-color: #f1f5f9 !important;
}

.gh-content table tr:last-child td {
    border-bottom: none !important;
}

/* Post Navigation (Prev/Next) */
.gh-navigation {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-top: 60px !important;
    padding-top: 32px !important;
    border-top: 1px solid var(--color-border-clean) !important;
}

.gh-navigation-link {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 20px !important;
    background: #ffffff !important;
    border: 1px solid var(--color-border-clean) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.gh-navigation-link:hover {
    border-color: #3b82f6 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06) !important;
}

.gh-nav-label {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #3b82f6 !important;
    margin-bottom: 6px !important;
}

.gh-nav-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 7. Footer & Legal Disclaimer */
.gh-foot {
    background: #ffffff !important;
    border-top: 1px solid var(--color-border-clean) !important;
    padding: 40px 0 !important;
}

.gh-foot-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    text-align: center !important;
}

.gh-foot-legal {
    font-size: 1.4rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
}

.gh-foot-legal a {
    color: #475569 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.gh-foot-legal a:hover {
    color: #0f172a !important;
}

.gh-copyright {
    font-size: 1.3rem !important;
    color: #94a3b8 !important;
}

/* 8. Mobile Responsiveness (Screen <= 768px) */
@media (max-width: 768px) {
    #gh-head,
    .gh-head {
        height: auto !important;
        position: static !important;
    }

    #gh-head .gh-head-inner,
    .gh-head-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px 0 !important;
        padding: 12px 16px 10px 16px !important;
        height: auto !important;
    }

    #gh-head .gh-head-brand,
    .gh-head-brand {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        order: 1 !important;
        flex-shrink: 0 !important;
    }

    #gh-head .gh-head-actions,
    .gh-head-actions {
        display: flex !important;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        gap: 8px !important;
        order: 2 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        flex-shrink: 0 !important;
    }

    #gh-head .gh-head-members a.gh-primary-btn,
    .gh-head-members a.gh-primary-btn {
        padding: 6px 12px !important;
        font-size: 1.25rem !important;
    }

    #gh-head .gh-head-menu,
    .gh-head-menu {
        display: flex !important;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        order: 3 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        transform: none !important;
        margin: 6px 0 0 0 !important;
        padding: 2px 0 !important;
    }

    #gh-head .gh-head-menu::-webkit-scrollbar,
    .gh-head-menu::-webkit-scrollbar {
        display: none !important;
    }

    #gh-head .gh-head-menu .nav,
    .gh-head-menu .nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        width: max-content !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #gh-head .gh-head-menu .nav > li,
    .gh-head-menu .nav > li {
        display: inline-flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #gh-head .gh-head-menu .nav > li a,
    .gh-head-menu .nav > li a {
        font-size: 1.35rem !important;
        padding: 5px 12px !important;
        white-space: nowrap !important;
        border-radius: 20px !important;
        background: #f1f5f9 !important;
        color: #334155 !important;
        border: 1px solid #e2e8f0 !important;
    }

    #gh-head .gh-head-menu .nav > li.nav-current a,
    .gh-head-menu .nav > li.nav-current a {
        background: #eff6ff !important;
        color: #2563eb !important;
        border-color: #bfdbfe !important;
        font-weight: 700 !important;
    }

    .gh-about-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
        padding: 0 16px !important;
    }

    .gh-about-image {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    .gh-hero-topics {
        justify-content: center !important;
    }

    .gh-main {
        padding: 24px 16px 60px 16px !important;
    }

    .gh-feed {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .gh-article {
        padding: 10px 0 40px 0 !important;
    }

    .gh-article-title {
        font-size: 2.5rem !important;
        line-height: 1.35 !important;
    }

    .gh-article-excerpt {
        font-size: 1.6rem !important;
        line-height: 1.6 !important;
    }

    .gh-content {
        font-size: 1.7rem !important; /* 17px on mobile */
        line-height: 1.82 !important;
    }

    .gh-content > p {
        font-size: 1.7rem !important;
    }

    .gh-content h1 {
        font-size: 2.6rem !important;
    }

    .gh-content h2 {
        font-size: 2.2rem !important;
        margin: 36px 0 14px 0 !important;
    }

    .gh-content h3 {
        font-size: 1.9rem !important;
        margin: 28px 0 12px 0 !important;
    }

    .gh-content table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .gh-content table th,
    .gh-content table td {
        padding: 10px 12px !important;
        font-size: 1.35rem !important;
    }

    .gh-navigation {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}
