/* Public shortcode hub; kept separate from Gutenberg preview styles. */
.hk-hub { --hk-red: #952c33; color: #182131; font: 14px/1.5 'Roboto', Arial, sans-serif; }
.hk-hub *, .hk-hub *::before, .hk-hub *::after { box-sizing: border-box; }
.hk-hub h1, .hk-hub h2, .hk-hub h3, .hk-hub p, .hk-hub ol { margin: 0; }
.hk-hub h1, .hk-hub h2, .hk-hub h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; line-height: 1.3; }
.hk-hub a { text-decoration: none; color: inherit; }
.hk-hub .hk-hub-icon { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.hk-hub-breadcrumb { display: flex; align-items: center; gap: 10px; border-top: 1px solid #dce1e9; padding: 24px 0; font-size: 13px; color: #667085; }
.hk-hub-breadcrumb .hk-hub-icon { width: 14px; height: 14px; }
.hk-hub-breadcrumb [aria-current] { color: var(--hk-red); font-weight: 600; }
.hk-hub-hero { padding: 32px; border-radius: 10px; background: linear-gradient(115deg, #952c33, #7a2329); color: #fff; }
.hk-hub-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hk-hub-heading h1 { font-size: 30px; color: #fff; }
.hk-hub-heading p { color: #f4dfe1; margin-top: 3px; font-size: 15px; }
.hk-hub-megaphone { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #facc15; color: var(--hk-red); flex-shrink: 0; }
.hk-hub-megaphone .hk-hub-icon { width: 30px; height: 30px; }
.hk-hub-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hk-hub-benefit { display: flex; flex-direction: column; align-items: center; padding: 18px 12px; border-radius: 5px; text-align: center; background: #ffffff1a; }
.hk-hub-benefit .hk-hub-icon { width: 22px; height: 22px; margin-bottom: 8px; }
.hk-hub-benefit h2 { font: 700 13px/1.4 'Roboto', Arial, sans-serif; color: #fff; }
.hk-hub-benefit p { font-size: 12px; line-height: 1.4; color: #efd3d5; margin-top: 4px; }
.hk-hub-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.hk-hub-category { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid; border-radius: 10px; }
.hk-hub-amber { background: linear-gradient(120deg, #fffbeb, #fff8ef); border-color: #fcd34d; --hk-icon-bg: #fef3c7; --hk-icon-color: #b45309; }
.hk-hub-emerald { background: linear-gradient(120deg, #ecfdf5, #effcf8); border-color: #86efc2; --hk-icon-bg: #d1fae5; --hk-icon-color: #047857; }
.hk-hub-blue { background: linear-gradient(120deg, #eff8ff, #eef2ff); border-color: #a5d8ff; --hk-icon-bg: #e0f2fe; --hk-icon-color: #0369a1; }
.hk-hub-slate { background: linear-gradient(120deg, #f8fafc, #f3f4f6); border-color: #dce3ef; --hk-icon-bg: #e2e8f0; --hk-icon-color: #334155; }
.hk-hub-category-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.hk-hub-category-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 6px; background: var(--hk-icon-bg); color: var(--hk-icon-color); flex-shrink: 0; }
.hk-hub-category-icon .hk-hub-icon { width: 28px; height: 28px; }
.hk-hub-category-heading h2 { font-size: 19px; margin: 2px 0 5px; }
.hk-hub-category-heading p { font-size: 13px; line-height: 1.5; color: #4b5563; }
.hk-hub-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.hk-hub-tags span { padding: 3px 8px; background: #ffffffc9; border-radius: 20px; color: #334155; font-size: 11px; }
.hk-hub-actions, .hk-hub-papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.hk-hub .hk-hub-button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; min-height: 44px; background: var(--hk-red); color: #fff; border: 1px solid var(--hk-red); border-radius: 5px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.4; }
.hk-hub-button .hk-hub-icon { width: 15px; height: 15px; }
.hk-hub .hk-hub-button-outline { background: #ffffffd9; color: var(--hk-red); }
.hk-hub .hk-hub-button:hover { background: #7a2329; border-color: #7a2329; color: #fff; }
.hk-hub .hk-hub-button-outline:hover { background: #fff1f2; color: #7a2329; }
.hk-hub a:focus-visible { outline: 3px solid #0369a1; outline-offset: 4px; }
.hk-hub-count { text-align: center; color: #667085; font-size: 11px; padding-top: 12px; }
.hk-hub-count strong { color: #334155; }
.hk-hub-paper-label { color: #667085; font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: .02em; padding: 0 0 12px; }
.hk-hub-papers { margin-top: auto; }
.hk-hub-process { border: 1px solid #dce1e9; background: #f8fafc; border-radius: 10px; padding: 24px; margin-bottom: 28px; }
.hk-hub-process > h2 { display: flex; align-items: center; gap: 8px; color: var(--hk-red); font-size: 17px; margin-bottom: 18px; }
.hk-hub-process > h2 .hk-hub-icon { width: 19px; height: 19px; }
.hk-hub-process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; text-align: center; }
.hk-hub-step-number { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--hk-red); color: #fff; font-size: 17px; font-weight: 700; margin: 0 auto 12px; }
.hk-hub-process h3 { font-size: 13px; margin-bottom: 5px; }
.hk-hub-process li p { color: #475569; font-size: 11px; line-height: 1.5; }
.hk-hub-recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hk-hub-recent-column { min-width: 0; }
.hk-hub-recent h2 { font-size: 17px; color: var(--hk-red); margin-bottom: 16px; }
.hk-hub-recent-list { display: flex; flex-direction: column; gap: 12px; }
.hk-hub .hk-hub-listing { border: 1px solid #dce1e9; border-radius: 5px; padding: 15px; background: #fff; overflow-wrap: anywhere; }
.hk-hub-badge { display: inline-block; background: #f3e8ff; color: #7e22ce; border-radius: 3px; padding: 3px 6px; font-size: 9px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.hk-hub-badge-sell { background: #dbeafe; color: #1d4ed8; }
.hk-hub-badge-buy { background: #ffedd5; color: #9a3412; }
.hk-hub-badge-exchange, .hk-hub-badge-job { background: #d1fae5; color: #047857; }
.hk-hub-badge-other { background: #f1f5f9; color: #475569; }
.hk-hub-listing-text, .hk-hub-listing-link > p { font-size: 13px; line-height: 1.5; color: #334155; }
.hk-hub-listing h3 { font-size: 13px; }
.hk-hub-listing-link { display: block; }
.hk-hub-listing-link:hover h3 { color: var(--hk-red); text-decoration: underline; }
.hk-hub-listing-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 9px; font-size: 11px; color: #667085; }
.hk-hub-listing-meta > span { display: flex; align-items: center; gap: 3px; }
.hk-hub-listing-meta .hk-hub-icon { width: 12px; height: 12px; }
.hk-hub-image { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; aspect-ratio: 4 / 3; background: #f3f4f6; border: 1px dashed #dce1e9; border-radius: 4px; margin-bottom: 12px; overflow: hidden; color: #667085; font-size: 11px; }
.hk-hub-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hk-hub .hk-hub-all { display: flex; justify-content: space-between; padding: 12px 0; margin-top: 8px; color: var(--hk-red); font-size: 13px; font-weight: 600; }
.hk-hub-all:hover { text-decoration: underline; }
.hk-hub-empty { padding: 20px; background: #f8fafc; border: 1px solid #dce1e9; border-radius: 5px; color: #667085; font-size: 13px; }
@media (max-width: 900px) {
    .hk-hub-hero { padding: 24px; }
    .hk-hub-categories, .hk-hub-recent { gap: 18px; }
    .hk-hub-category { padding: 18px; }
    .hk-hub-category-heading { gap: 12px; }
    .hk-hub-category-icon { width: 44px; height: 44px; }
    .hk-hub-category-heading h2 { font-size: 18px; }
    .hk-hub-actions { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .hk-hub-breadcrumb { padding: 16px 0; }
    .hk-hub-hero { padding: 22px 16px; }
    .hk-hub-heading { gap: 12px; }
    .hk-hub-heading h1 { font-size: 26px; }
    .hk-hub-heading p { font-size: 13px; }
    .hk-hub-megaphone { width: 44px; height: 44px; }
    .hk-hub-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hk-hub-benefit { padding: 14px 8px; }
    .hk-hub-benefit h2 { font-size: 12px; }
    .hk-hub-benefit p { font-size: 11px; }
    .hk-hub-categories, .hk-hub-recent { grid-template-columns: 1fr; }
    .hk-hub-categories { margin: 18px 0; }
    .hk-hub-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hk-hub-process { padding: 20px 16px; }
    .hk-hub-process ol { grid-template-columns: 1fr; gap: 22px; }
    .hk-hub-process li p { max-width: 270px; margin: auto; font-size: 12px; }
    .hk-hub-recent { gap: 22px; }
}
@media (max-width: 380px) {
    .hk-hub-actions, .hk-hub-papers { grid-template-columns: 1fr; }
}
