/* ============================================================
   AK SIDEBAR — Arca Kairos custom navigation (grouped)
   ============================================================ */

.gh-footer-copyright { display: none !important; }

/* === GHOST PORTAL HIDDEN === */
iframe[title="portal-popup"],
.gh-portal-popup-wrapper,
.gh-portal-popup-background,
.gh-portal-triggerbtn-wrapper { display: none !important; }

/* === ICONS === */
.ak-icon { width: 16px; height: 16px; stroke: #9a9a9a; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ak-lock { width: 13px; height: 13px; opacity: 0.35; }
.ak-lock svg { width: 13px; height: 13px; stroke: #9a9a9a; fill: none; stroke-width: 1.8; stroke-linecap: round; }

/* === LAYOUT === */
.ak-divider { height: 1px; background: #2a2a2e; margin: 6px 12px; }
.ak-spacer { flex: 1; }
.ak-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; margin: 1px 6px; cursor: pointer; text-decoration: none; transition: background 0.15s; }
.ak-item:hover { background: #2a2a2e; }
.ak-item.active { background: #2a2a2e; }
.ak-item span.ak-label { font-size: 14px; color: #d4d4d4; flex: 1; }
.ak-avatar { width: 28px; height: 28px; border-radius: 50%; background: #3a3a3e; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.ak-avatar svg { width: 14px; height: 14px; stroke: #9a9a9a; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.ak-bottom { padding: 8px 6px 16px; border-top: 1px solid #2a2a2e; }

/* === GROUP NAV === */
.ak-group { }

.ak-group-head {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; margin: 1px 6px;
    border-radius: 8px; cursor: pointer;
    text-decoration: none;
    background: none; border: none; width: calc(100% - 12px);
    transition: background 0.15s;
    font-family: inherit;
}
.ak-group-head:hover { background: #2a2a2e; }
.ak-group-head.active { background: #2a2a2e; }

.ak-grp-label {
    font-size: 11px; font-weight: 600; letter-spacing: 1.2px;
    color: #555; text-transform: uppercase; flex: 1;
    font-family: 'Fira Mono', monospace; text-align: left;
}

.ak-group-link { cursor: pointer; }
.ak-group-link .ak-grp-label { color: #888; }
.ak-group-link:hover .ak-grp-label { color: #d4d4d4; }
.ak-group-link:hover .ak-icon { stroke: #d4d4d4; }
.ak-group-head.active .ak-grp-label { color: #d4d4d4; }
.ak-group-head.active .ak-icon { stroke: #d4d4d4; }

.ak-chv {
    width: 14px; height: 14px; stroke: #333; fill: none;
    stroke-width: 2; stroke-linecap: round; flex-shrink: 0;
    transition: transform 0.2s ease;
}
.ak-group.open .ak-chv { transform: rotate(180deg); }
.ak-group.open .ak-chv { stroke: #555; }

.ak-group-items {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}
.ak-group.open .ak-group-items { max-height: 200px; }

.ak-sub {
    margin-left: 14px !important;
    padding: 6px 12px !important;
}
.ak-sub .ak-label { font-size: 13px; color: #888; }
.ak-sub:hover .ak-label { color: #d4d4d4; }
.ak-sub.active .ak-label { color: #d4d4d4; }

/* === SIDEBAR DESKTOP === */
#ak-sidebar { position: fixed; top: 0; left: 0; height: 100vh; width: 260px; background: #1c1c1e; display: flex; flex-direction: column; z-index: 9999; border-right: 1px solid #2a2a2e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
#ak-sidebar .ak-top { padding: 16px 12px 8px; }

/* === SEARCH === */
#ak-search-wrap { padding: 12px 12px 6px; position: relative; }
#ak-search-input { width: 100%; background: #111; border: 1px solid #2a2a2e; border-radius: 8px; color: #d4d4d4; font-size: 13px; padding: 7px 10px 7px 32px; outline: none; box-sizing: border-box; font-family: inherit; transition: border-color 0.15s; }
#ak-search-input:focus { border-color: #444; }
#ak-search-input::placeholder { color: #444; }
#ak-search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; stroke: #555; fill: none; stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
#ak-search-results { position: absolute; top: 100%; left: 12px; right: 12px; background: #1c1c1e; border: 1px solid #2a2a2e; border-radius: 8px; z-index: 100; max-height: 300px; overflow-y: auto; display: none; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.ak-search-item { padding: 10px 12px; cursor: pointer; border-bottom: 1px solid #222; transition: background 0.15s; text-decoration: none; display: block; }
.ak-search-item:last-child { border-bottom: none; }
.ak-search-item:hover { background: #2a2a2e; }
.ak-search-item-title { font-size: 13px; color: #d4d4d4; margin-bottom: 2px; }
.ak-search-item-excerpt { font-size: 11px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* === HISTORY === */
#ak-history-section { padding: 0 6px; }
.ak-history-title { font-size: 10px; color: #444; letter-spacing: 1px; text-transform: uppercase; padding: 6px 12px 4px; font-family: 'Fira Mono', monospace; }
#ak-history-list { max-height: 180px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #222 transparent; }
.ak-history-item { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; margin: 1px 0; cursor: pointer; text-decoration: none; transition: background 0.15s; }
.ak-history-item:hover { background: #2a2a2e; }
.ak-history-item svg { width: 12px; height: 12px; stroke: #444; fill: none; stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
.ak-history-item span { font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.ak-history-empty { font-size: 12px; color: #333; padding: 6px 12px; font-style: italic; }

/* === GHOST LAYOUT OVERRIDES === */
#gh-navigation, .gh-navigation, header#gh-navigation { left: 260px !important; width: calc(100% - 260px) !important; }
.gh-viewport { padding-left: 260px !important; padding-right: 0 !important; }
.gh-navigation-menu { display: none !important; }
.gh-navigation-actions { display: none !important; }
.gh-navigation-logo { display: none !important; }
.gh-footer { display: none !important; }
.page-template .gh-article-header,
.page-template .gh-article-title,
.page-template header.gh-article-header { display: none !important; }

/* === MOBILE === */
#ak-tabbar { display: none; }
#ak-mnav-overlay { display: none; }

@media (max-width: 768px) {
    #ak-sidebar { display: none !important; }
    #gh-navigation, .gh-navigation, header#gh-navigation { left: 0 !important; width: 100% !important; }
    .gh-viewport { padding-left: 0 !important; padding-right: 0 !important; padding-bottom: 70px !important; }
    .gh-navigation-menu { display: none !important; }
    .gh-navigation-actions { display: none !important; }
    .gh-navigation-logo { display: flex !important; }
    .gh-footer { display: none !important; }

    #ak-tabbar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 64px;
        background: #1c1c1e; border-top: 1px solid #2a2a2e; z-index: 9999;
        align-items: center; justify-content: space-around;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }
    .ak-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: 1; padding: 8px 4px; text-decoration: none; cursor: pointer; border: none; background: none; }
    .ak-tab svg { width: 20px; height: 20px; stroke: #9a9a9a; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .ak-tab span { font-size: 10px; color: #9a9a9a; letter-spacing: 0.3px; }
    .ak-tab.active svg { stroke: #ffffff; }
    .ak-tab.active span { color: #ffffff; }
    .ak-tab-av { width: 24px; height: 24px; border-radius: 50%; background: #3a3a3e; overflow: hidden; display: flex; align-items: center; justify-content: center; }
    .ak-tab-av img { width: 100%; height: 100%; object-fit: cover; }
    .ak-tab-av svg { width: 12px; height: 12px; stroke: #9a9a9a; }

    /* Mobile nav drawer */
    #ak-mnav-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.6);
        z-index: 9998; backdrop-filter: blur(4px);
    }
    #ak-mnav-overlay.open { display: block; }
    #ak-mnav-panel {
        position: absolute; bottom: 64px; left: 0; right: 0;
        background: #1c1c1e; border-top: 1px solid #2a2a2e;
        border-radius: 16px 16px 0 0;
        padding: 12px 8px 8px;
        animation: ak-slide-up 0.2s ease;
    }
    @keyframes ak-slide-up {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
    #ak-mnav-items { display: flex; flex-direction: column; gap: 2px; }
    .ak-mnav-item {
        display: flex; align-items: center; gap: 12px;
        padding: 12px 16px; border-radius: 10px;
        text-decoration: none; cursor: pointer;
        color: #d4d4d4; font-size: 15px;
        transition: background 0.15s;
    }
    .ak-mnav-item:hover, .ak-mnav-item.active { background: #2a2a2e; }
    .ak-mnav-item svg { width: 18px; height: 18px; stroke: #9a9a9a; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
    .ak-mnav-item.active svg { stroke: #ffffff; }
    .ak-mnav-item.active { color: #ffffff; }
}

/* === OVERLAYS === */
.ak-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.82); z-index: 999999; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.ak-overlay.open { display: flex; }
.ak-modal { background: #181818; border: 1px solid #2a2a2a; border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,0.6); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; padding: 36px 36px 40px; position: relative; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.ak-modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #222; border: 1px solid #333; border-radius: 8px; cursor: pointer; color: #888; font-size: 18px; transition: all 0.15s; line-height: 1; padding: 0; }
.ak-modal-close:hover { background: #2e2e2e; border-color: #555; color: #e0e0e0; }

/* === MODAL CONTENT === */
.akm-title { font-family: 'Fira Mono', monospace; font-size: 20px; font-weight: 400; color: #e8e8e8; margin-bottom: 6px; }
.akm-sub { font-size: 13px; color: #555; margin-bottom: 28px; line-height: 1.6; }
.akm-tabs { display: flex; border-bottom: 1px solid #2a2a2a; margin-bottom: 24px; }
.akm-tab { padding: 7px 14px 7px 0; font-size: 13px; color: #555; cursor: pointer; border: none; background: none; font-family: inherit; transition: color 0.15s; position: relative; }
.akm-tab.active { color: #e0e0e0; }
.akm-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 14px; height: 1px; background: #666; }
.akm-field { margin-bottom: 16px; }
.akm-lbl { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.8px; color: #666; text-transform: uppercase; margin-bottom: 7px; }
.akm-lbl .req { color: #444; margin-left: 2px; }
.akm-field input, .akm-field textarea { width: 100%; background: #111 !important; border: 1px solid #2a2a2a; border-radius: 10px; color: #e0e0e0 !important; font-family: inherit; font-size: 14px; padding: 10px 13px; outline: none; transition: border-color 0.15s; box-sizing: border-box; -webkit-text-fill-color: #e0e0e0 !important; }
.akm-field input::placeholder, .akm-field textarea::placeholder { color: #444 !important; -webkit-text-fill-color: #444 !important; }
.akm-field input:focus, .akm-field textarea:focus { border-color: #555; box-shadow: 0 0 0 3px rgba(255,255,255,0.03); }
.akm-field textarea { resize: none; min-height: 90px; line-height: 1.6; }
.akm-cc { font-size: 10px; color: #444; text-align: right; margin-top: 3px; font-family: 'Fira Mono', monospace; }
.akm-hint { font-size: 11px; color: #444; margin-top: 5px; }
.akm-styles { display: flex; flex-wrap: wrap; gap: 6px; }
.akm-sbtn { padding: 5px 12px; border: 1px solid #2a2a2a; border-radius: 20px; background: transparent; color: #555; font-size: 12px; font-family: inherit; cursor: pointer; transition: all 0.15s; }
.akm-sbtn:hover { border-color: #555; color: #ccc; }
.akm-sbtn.sel { border-color: #c8a060; color: #c8a060; background: rgba(200,160,96,0.08); }
.akm-chk { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; cursor: pointer; }
.akm-chk input[type=checkbox] { appearance: none; width: 16px; height: 16px; min-width: 16px; border: 1px solid #333; border-radius: 6px; background: #111; cursor: pointer; position: relative; transition: all 0.15s; }
.akm-chk input:checked { background: #2a2a2a; border-color: #666; }
.akm-chk input:checked::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 11px; color: #e0e0e0; line-height: 1; }
.akm-chk-lbl { font-size: 12px; color: #555; line-height: 1.5; }
.akm-chk-lbl a { color: #666; text-decoration: underline; }
.akm-warn { background: #141414; border: 1px solid #222; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 11px; color: #555; line-height: 1.6; }
.akm-warn b { color: #666; display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; }
.akm-div { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #333; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Fira Mono', monospace; }
.akm-div::before, .akm-div::after { content: ''; flex: 1; height: 1px; background: #222; }
.akm-submit { width: 100%; padding: 13px; background: #1e1e1e; border: 1px solid #333; border-radius: 10px; color: #d4d4d4; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 1px; cursor: pointer; transition: all 0.2s; margin-top: 8px; }
.akm-submit:hover { background: #262626; border-color: #555; color: #fff; }
.akm-submit:disabled { opacity: 0.3; cursor: not-allowed; }
.akm-err { display: none; background: #160a0a; border: 1px solid #3a1010; border-radius: 8px; padding: 10px 13px; font-size: 12px; color: #c05050; margin-bottom: 12px; }
.akm-ok { display: none; text-align: center; padding: 52px 0; }
.akm-ok-mark { font-family: 'Fira Mono', monospace; font-size: 30px; color: #444; margin-bottom: 20px; }
.akm-ok h3 { font-family: 'Fira Mono', monospace; font-size: 16px; font-weight: 400; color: #e0e0e0; margin-bottom: 10px; }
.akm-ok p { font-size: 13px; color: #555; line-height: 1.8; }

/* === PHOTO DROP === */
.ak-photo-drop { border: 1px dashed #2a2a2a; border-radius: 10px; padding: 20px; text-align: center; cursor: pointer; background: #111; position: relative; transition: border-color 0.15s; }
.ak-photo-drop:hover { border-color: #444; }
.ak-photo-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.ak-photo-drop svg { width: 24px; height: 24px; stroke: #333; fill: none; stroke-width: 1.5; stroke-linecap: round; display: block; margin: 0 auto 8px; }
.ak-photo-drop span { display: block; font-size: 12px; color: #444; }
.ak-photo-preview { display: none; margin-top: 10px; border-radius: 8px; overflow: hidden; max-height: 200px; }
.ak-photo-preview img { width: 100%; object-fit: cover; border-radius: 8px; }

/* === PROFILE MODAL === */
#ak-profile-modal .ak-ph { display: flex; flex-direction: column; align-items: center; padding: 8px 0 24px; }
#ak-profile-modal .ak-ph-av { width: 72px; height: 72px; border-radius: 50%; background: #2a2a2e; margin-bottom: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#ak-profile-modal .ak-ph-av img { width: 100%; height: 100%; object-fit: cover; }
#ak-profile-modal .ak-ph-name { font-size: 18px; font-weight: 600; color: #e0e0e0; margin-bottom: 4px; }
#ak-profile-modal .ak-ph-email { font-size: 13px; color: #444; }
.ak-logout-btn { width: 100%; padding: 11px; background: transparent; border: 1px solid #2a2a2a; border-radius: 10px; color: #555; font-family: inherit; font-size: 13px; cursor: pointer; transition: all 0.2s; margin-top: 20px; letter-spacing: 0.5px; }
.ak-logout-btn:hover { border-color: #444; color: #e0e0e0; }

/* === FORM SHOW/HIDE === */
#akm-forms.akm-show-reg #akm-reg-form { display: block !important; }
#akm-forms.akm-show-reg #akm-login-form { display: none !important; }
#akm-forms.akm-show-login #akm-reg-form { display: none !important; }
#akm-forms.akm-show-login #akm-login-form { display: block !important; }

/* ============================================================
   WELCOME SCREEN
   ============================================================ */

#ak-welcome-overlay {
    z-index: 8000;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    display: none;
}
#ak-welcome-overlay.open { display: flex; }

#ak-welcome-box {
    display: grid; grid-template-columns: 1fr 1fr;
    width: min(840px, 100%); background: #111214;
    border: 1px solid #242428; border-radius: 18px;
    overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}

.ak-wlc-left { padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #1e1e22; min-height: 420px; }
.ak-wlc-logo { font-size: 22px; color: #2a2a2e; margin-bottom: 32px; letter-spacing: 4px; }
.ak-wlc-h1 { font-size: 26px; font-weight: 500; color: #e8e8e8; line-height: 1.3; margin: 0 0 20px; letter-spacing: -0.3px; }
.ak-wlc-p { font-size: 14px; color: #555; line-height: 1.75; margin: 0 0 40px; }
.ak-wlc-btn-start { align-self: flex-start; background: #1a1a1e; border: 1px solid #2e2e34; border-radius: 8px; color: #c0c0c0; font-size: 14px; font-family: inherit; padding: 11px 28px; cursor: pointer; letter-spacing: 0.5px; transition: all 0.2s; }
.ak-wlc-btn-start:hover { background: #222228; border-color: #444; color: #fff; }

.ak-wlc-right { padding: 52px 44px; display: flex; flex-direction: column; position: relative; min-height: 420px; }
.ak-wlc-h2 { font-size: 18px; font-weight: 500; color: #d0d0d0; margin: 0 0 8px; }
.ak-wlc-hint { font-size: 13px; color: #3a3a40; margin: 0 0 24px; line-height: 1.5; }
.ak-wlc-ta { flex: 1; width: 100%; min-height: 140px; background: #0d0d10; border: 1px solid #1e1e22; border-radius: 10px; color: #c8c8c8; font-family: inherit; font-size: 14px; padding: 14px 16px; resize: none; outline: none; line-height: 1.65; box-sizing: border-box; transition: border-color 0.15s; margin-bottom: 18px; }
.ak-wlc-ta:focus { border-color: #2e2e36; }
.ak-wlc-ta::placeholder { color: #2a2a2e; }
.ak-wlc-btn-send { align-self: flex-end; background: #1a1a1e; border: 1px solid #2e2e34; border-radius: 8px; color: #888; font-size: 13px; font-family: inherit; padding: 9px 22px; cursor: pointer; transition: all 0.2s; }
.ak-wlc-btn-send:hover { background: #222228; border-color: #444; color: #ddd; }
.ak-wlc-btn-send:disabled { opacity: 0.4; cursor: default; }

#ak-wlc-sent { position: absolute; inset: 0; background: #111214; border-radius: 0 18px 18px 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px; }
#ak-wlc-sent.show { display: flex; }
#ak-wlc-sent svg { width: 56px; height: 56px; }
#ak-wlc-sent span { font-size: 15px; color: #666; text-align: center; line-height: 1.6; }

#ak-wlc-close { display: none; position: fixed; top: 20px; right: 24px; z-index: 8010; background: none; border: none; color: #555; font-size: 20px; cursor: pointer; padding: 6px 10px; line-height: 1; transition: color 0.15s; }
#ak-wlc-close:hover { color: #aaa; }
#ak-welcome-overlay.open #ak-wlc-close { display: block; }

#ak-welcome-overlay.feedback-mode #ak-welcome-box { grid-template-columns: 1fr; max-width: 460px; }
#ak-welcome-overlay.feedback-mode .ak-wlc-left { display: none; }
#ak-welcome-overlay.feedback-mode .ak-wlc-right { border-radius: 18px; min-height: 360px; }
#ak-welcome-overlay.feedback-mode #ak-wlc-sent { border-radius: 18px; }

.ak-feedback-btn { width: 100%; background: none; border: none; cursor: pointer; text-align: left; color: inherit; font-family: inherit; font-size: inherit; }

@media (max-width: 640px) {
    #ak-welcome-overlay { padding: 16px; align-items: flex-start; overflow-y: auto; }
    #ak-welcome-box { grid-template-columns: 1fr; }
    .ak-wlc-left { padding: 36px 28px; border-right: none; border-bottom: 1px solid #1e1e22; min-height: auto; }
    .ak-wlc-right { padding: 36px 28px; min-height: 320px; }
    #ak-wlc-sent { border-radius: 0 0 18px 18px; }
    .ak-wlc-h1 { font-size: 22px; }
}

/* === PROFILE AVATAR UPLOAD === */
.ak-ph-av-label { cursor: pointer; position: relative; display: inline-block; }
.ak-av-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.55); border-radius: 50%; font-size: 11px; color: #ccc; opacity: 0; transition: opacity 0.15s; pointer-events: none; }
.ak-ph-av-label:hover .ak-av-hint { opacity: 1; }

/* === AUTHOR CARD === */
.ak-author-card { border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 18px 20px; background: rgba(255,255,255,0.03); gap: 16px; margin-bottom: 32px; }
.ak-author-link { color: inherit; text-decoration: none; transition: opacity 0.15s; }
.ak-author-link:hover { opacity: 0.65; }
.ak-author-bio { margin: 8px 0 0; font-size: 0.82em; color: rgba(255,255,255,0.45); line-height: 1.55; font-weight: 400; }
.ak-author-card .author-profile-image { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,0.12); }

/* === POST CARD IMAGE === */
.gh-card .gh-card-image { display: block; height: 160px; overflow: hidden; border-radius: 6px 6px 0 0; margin: 0; position: relative; }
.gh-card .gh-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gh-card:hover .gh-card-image img { transform: scale(1.03); }
.gh-card .gh-card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.45)); pointer-events: none; }

/* === AUTHOR PROFILE PAGE === */
.gh-archive .gh-archive-inner { padding: 40px 0; }
.gh-archive .gh-article-image { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.12); }
.gh-archive .gh-archive-wrapper { gap: 12px; }
.gh-archive .gh-article-title { font-size: 28px; }
.gh-archive .gh-article-excerpt { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.6; max-width: 560px; }
.gh-archive .gh-author-social-link { opacity: 0.55; transition: opacity 0.15s; }
.gh-archive .gh-author-social-link:hover { opacity: 1; }
