/* Kutby site page CSS — content-hub (split from site-pages.css) */
/* Do not edit site-pages.css for page styles; edit this file. */

/* ---- content-hub ---- */

.hub-sections-panel {
    padding: 14px 16px 12px;
}

.hub-sections-grid {
    padding-top: 8px;
}

.hub-type-card-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, color-mix(in srgb, var(--hub-from) 18%, #fff), color-mix(in srgb, var(--hub-to) 12%, #fff));
}

.hub-type-card-fallback__label {
    font-size: 15px;
    font-weight: 800;
    color: color-mix(in srgb, var(--hub-from) 70%, #0f172a);
    text-align: center;
    line-height: 1.45;
    padding: 12px;
}

.hub-type-card-name {
    background: color-mix(in srgb, var(--hub-color) 10%, #fff) !important;
    color: color-mix(in srgb, var(--hub-color) 85%, #0f172a) !important;
    border-color: color-mix(in srgb, var(--hub-color) 28%, #e8eaed) !important;
}

.hub-type-card:hover .hub-type-card-name {
    background: color-mix(in srgb, var(--hub-color) 16%, #fff) !important;
    border-color: color-mix(in srgb, var(--hub-color) 42%, #e8eaed) !important;
}



.edu-home-page,
.blog-page {
    font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
}

.edu-home-page .edu-page-title,
.blog-page .blog-hero-title,
.blog-page .blog-article-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.4;
}

.blog-page .blog-hero-title {
    font-size: 28px;
}

.blog-page .blog-article-title {
    font-size: clamp(18px, 3vw, 22px);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-page .blog-article-lead {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
}

.blog-page .blog-article-body {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    color: #475569;
}

.blog-page .blog-article-body h2 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

.blog-page .blog-article-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
}

.blog-page .blog-article-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    line-height: 1.45;
}

.blog-page .blog-article-body h5 {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
}

.edu-home-page .edu-page-kicker {
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    margin: 0 0 6px;
    line-height: 1.3;
}

.edu-home-page .edu-page-desc,
.blog-page .blog-hero-desc {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

.blog-page .blog-hero-desc {
    font-size: 15px;
    color: #475569;
    margin-bottom: 16px;
}

.edu-home-page .edu-section-title,
.blog-page .blog-feed-title h2,
.blog-page .blog-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.edu-home-page .edu-section-link,
.blog-page .blog-feed-count {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.edu-home-page .edu-empty-text {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    text-align: center;
    padding: 24px 0;
}

.blog-page .blog-breadcrumb {
    font-weight: 500;
}

@media (max-width: 640px) {
    .blog-page .blog-hero-title {
        font-size: 22px;
    }

    .blog-page .blog-hero-desc {
        font-size: 13px;
    }
}



.blog-compact-section {
    padding: 16px 16px 14px;
}

.blog-compact-grid,
.blog-compact-grid--feed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 8px;
}

.blog-compact-grid--feed {
    padding-top: 0;
}

.blog-compact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    direction: rtl;
}

.blog-compact-header--home .blog-compact-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.blog-compact-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #eff6ff;
}

.blog-compact-header--feed .blog-feed-title h2 {
    margin: 0;
    line-height: 1.4;
}

.blog-compact-view-all {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.blog-compact-view-all:hover {
    text-decoration: underline;
}

.article-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    min-height: 95px;
    background: #f8fafc;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color .12s ease, background-color .12s ease;
    min-width: 0;
}

.article-card:hover {
    border-color: #bfdbfe;
    background: #fff;
}

.article-thumb {
    width: 110px;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
    border: 1px solid #e8eaed;
}

.article-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.article-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.article-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    margin-top: auto;
    padding-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted, #64748b);
}

.blog-compact-grid--all-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .blog-compact-grid--all-sections {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .blog-compact-grid--all-sections {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-compact-grid,
    .blog-compact-grid--feed {
        grid-template-columns: 1fr;
    }

    .article-thumb {
        width: 90px;
        height: 70px;
    }
}



.home-panel {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8eaed;
    padding: 16px 16px 14px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
    width: 100%;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted, #64748b);
    margin-bottom: 0;
    flex-wrap: wrap;
}

.blog-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
    align-items: start;
}

.blog-article {
    padding: 20px 22px 22px;
}

.blog-article-cover {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
    display: block;
}

.blog-article-header {
    margin-bottom: 16px;
}

.blog-article-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.blog-article-title {
    margin-bottom: 10px !important;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.blog-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-article-meta-item .blog-article-meta-icon,
.blog-article-meta-item svg {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    overflow: visible;
    color: #64748b;
    fill: currentColor;
    stroke: none;
}

.blog-article-lead {
    margin: 12px 0 0;
    padding: 12px 14px;
    background: #f8fafc;
    border-right: 3px solid #2563eb;
    border-radius: 8px;
    color: #475569;
}

.blog-article-body > *:first-child {
    margin-top: 0;
}

.blog-article-body p {
    margin: 0 0 14px;
}

.blog-article-body h2 {
    position: relative;
    margin: 24px 0 10px;
    padding: 8px 12px 8px 0;
    background: linear-gradient(to left, #f8fafc 0%, transparent 100%);
    border-right: 3px solid #2563eb;
    border-radius: 0 8px 8px 0;
}

.blog-article-body h3 {
    position: relative;
    margin: 20px 0 8px;
    padding-right: 12px;
}

.blog-article-body h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7c3aed;
}

.blog-article-body h4 {
    margin: 16px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e2e8f0;
}

.blog-article-body h5 {
    margin: 14px 0 6px;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 14px;
    padding: 0 18px 0 0;
    font-size: 14px;
}

.blog-article-body li {
    margin-bottom: 8px;
    line-height: 1.75;
}

.blog-article-body li strong {
    font-weight: 700;
    color: #1e293b;
}

.blog-article-body a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.blog-toc-title {
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
}

.blog-toc ul {
    margin: 0;
    padding-right: 18px;
    font-size: 13px;
    line-height: 1.8;
}

.blog-hub-attachments {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.blog-hub-attachments h2 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-hub-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 4px 8px;
    padding: 8px 14px;
    background: #eff6ff;
    border-radius: 8px;
    text-decoration: none;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
}

.blog-article-share {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.blog-article-share-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.blog-article-share-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kutby-share-pills {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.kutby-share-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 11px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.kutby-share-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.kutby-share-pill:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.kutby-share-pill--copy:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.kutby-share-pill--wa { color: #16a34a; }
.kutby-share-pill--wa:hover { background: #ecfdf5; border-color: #86efac; color: #15803d; }
.kutby-share-pill--tg { color: #0ea5e9; }
.kutby-share-pill--tg:hover { background: #f0f9ff; border-color: #7dd3fc; color: #0284c7; }
.kutby-share-pill--fb { color: #2563eb; }
.kutby-share-pill--fb:hover { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; }
.kutby-share-pill--x { color: #0f172a; }
.kutby-share-pill--x:hover { background: #f1f5f9; border-color: #94a3b8; color: #020617; }
.kutby-share-pill--rd { color: #ea580c; }
.kutby-share-pill--rd:hover { background: #fff7ed; border-color: #fdba74; color: #c2410c; }
.kutby-share-pill--pin { color: #e11d48; }
.kutby-share-pill--pin:hover { background: #fff1f2; border-color: #fda4af; color: #be123c; }

.blog-article-related {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.blog-article-related-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.blog-article-related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-article-related-item {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f1f5f9;
    background: #fafbff;
    transition: border-color .12s ease, background-color .12s ease;
}

.blog-article-related-item:hover {
    border-color: #bfdbfe;
    background: #fff;
}

.blog-article-related-item .article-designed-thumb--compact {
    width: 88px;
    height: 64px;
}

.blog-article-related-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.blog-article-related-cat {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.blog-article-related-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-article-related-date {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.blog-feed-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-feed-stick {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(#2563eb, #7c3aed);
}

.blog-sidebar {
    position: sticky;
    top: 72px;
    align-self: start;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-sidebar-title {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.blog-cats-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary, #1e293b);
}

.blog-cat-item:hover {
    background: #f8fafc;
}

.blog-cat-item.is-active {
    background: #eff6ff;
    color: #2563eb;
}

.blog-cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hub-sidebar-latest {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-sidebar-latest-item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f1f5f9;
    background: #fafbff;
    transition: border-color .12s ease, background-color .12s ease;
}

.hub-sidebar-latest-item:hover {
    border-color: #bfdbfe;
    background: #fff;
}

.hub-sidebar-latest-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e8eaed;
}

.hub-sidebar-latest-thumb--placeholder,
.hub-compact-thumb-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hub-compact-thumb-placeholder {
    width: 110px;
    height: 78px;
    border-radius: 12px;
    border: 1px solid #e8eaed;
}

.hub-sidebar-latest-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hub-sidebar-latest-cat {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.hub-sidebar-latest-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hub-sidebar-latest-date {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    /* Article first, content sections below on mobile. */
    .blog-main {
        order: 1;
    }

    .blog-sidebar {
        position: static;
        order: 2;
    }

    .blog-cats-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .blog-article {
        padding: 16px 14px 18px;
    }

    .blog-article-body h2 {
        margin-top: 20px;
    }

    .blog-article-share-pills {
        gap: 6px;
        flex-wrap: wrap;
    }
}



.hub-archive-hero {
    position: relative;
    overflow: hidden;
    background: var(--hub-hero-bg, #f4f8ff);
    border: 1px solid var(--hub-hero-border, #e5edf8);
    border-radius: 24px;
    padding: 22px 32px 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
    text-align: center;
    font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
}

.hub-archive-hero__deco {
    position: absolute;
    color: var(--hub-hero-accent, #2563eb);
    opacity: .1;
    pointer-events: none;
}

.hub-archive-hero__deco--1 {
    top: 18px;
    left: 24px;
}

.hub-archive-hero__deco--2 {
    bottom: 12px;
    left: 120px;
}

.hub-archive-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hub-archive-hero__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.hub-archive-page .blog-hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    height: 56px;
    padding: 0 6px 0 8px;
    max-width: 760px;
    margin: 16px auto 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .04);
}

.hub-archive-page .blog-hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    font-family: inherit;
    text-align: right;
    padding: 0 16px;
}

.hub-archive-page .blog-hero-search-input::placeholder {
    color: #64748b;
}

.hub-archive-page .blog-hero-search-btn {
    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: var(--hub-hero-accent, #2563eb);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    flex-shrink: 0;
}

.hub-archive-page .blog-hero-search-btn:hover {
    filter: brightness(0.92);
}

.hub-archive-page .blog-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.hub-archive-page .blog-feed-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--hub-hero-accent, #2563eb);
}

.hub-archive-page .blog-empty {
    text-align: center;
    padding: 36px 16px 28px;
}

.hub-archive-page .blog-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e8eaed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.hub-archive-page .blog-empty-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.hub-archive-page .blog-empty-desc {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.hub-archive-page .blog-pagination {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.hub-archive-page .blog-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hub-archive-page .blog-pagination .page-item {
    list-style: none;
    margin: 0;
}

.hub-archive-page .blog-pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.hub-archive-page .blog-pagination .page-item .page-link:hover {
    background: #f8fafc;
    border-color: #bfdbfe;
    color: #2563eb;
}

.hub-archive-page .blog-pagination .page-item.active .page-link {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.hub-archive-page .blog-pagination .page-item.disabled .page-link {
    opacity: .45;
    pointer-events: none;
    cursor: default;
}

.hub-archive-page .blog-layout {
    grid-template-columns: 1fr 280px;
    gap: 16px;
}

.hub-archive-page .blog-sidebar {
    position: sticky;
    top: 72px;
}

@media (max-width: 900px) {
    .hub-archive-page .blog-layout {
        grid-template-columns: 1fr;
    }

    .hub-archive-page .blog-main {
        order: 1;
    }

    .hub-archive-page .blog-sidebar {
        position: static;
        order: 2;
    }
}

@media (max-width: 640px) {
    .hub-archive-hero {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .hub-archive-page .blog-hero-search {
        height: 50px;
    }

    .hub-archive-page .blog-hero-search-btn {
        height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }
}

.hub-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 8px;
}

.hub-section-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e8eaed;
    border-right: 4px solid var(--card-color, #2563eb);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.hub-section-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .08);
    transform: translateY(-1px);
}

.hub-section-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hub-section-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hub-section-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.hub-section-card__desc {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hub-section-card__count {
    font-size: 11px;
    font-weight: 600;
    color: var(--card-color, #2563eb);
    margin-top: 2px;
}

.hub-section-card__arrow {
    font-size: 14px;
    color: #64748b;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .hub-sections-grid {
        grid-template-columns: 1fr;
    }
}



.site-search-field {
    position: relative;
    width: 100%;
}

.site-search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 200;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
}

.site-search-suggest-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background-color .12s ease;
}

.site-search-suggest-item:hover,
.site-search-suggest-item.is-active {
    background: #eff6ff;
}

.site-search-suggest-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.site-search-suggest-meta {
    font-size: 11px;
    color: #64748b;
}

.site-search-suggest-empty {
    padding: 10px 12px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

.header-search-container {
    position: relative;
}

.header-search-container .site-search-suggest {
    top: calc(100% + 8px);
}

.hero-search-form .site-search-field {
    flex: 1;
    min-width: 0;
}



