/* Tech Interview category / archive pages */

.ti-cat-hero {
    background:
        radial-gradient(circle at 22% 30%, rgba(41,128,185,0.28) 0%, transparent 55%),
        radial-gradient(circle at 82% 70%, rgba(46,204,113,0.18) 0%, transparent 60%),
        linear-gradient(135deg, #0b1220 0%, #122036 100%);
    color: #f0f6ff;
    padding: 60px 0 48px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ti-cat-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    pointer-events: none;
}
.ti-cat-hero-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    position: relative;
}
.ti-cat-hero .ti-cat-crumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.8rem; color: #9ec9ff;
    background: rgba(52,152,219,0.14);
    border: 1px solid rgba(52,152,219,0.35);
    padding: 5px 12px; border-radius: 999px;
    margin-bottom: 18px;
    text-decoration: none;
}
.ti-cat-hero .ti-cat-crumb:hover { color: #fff; }
.ti-cat-hero h1 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    line-height: 1.15;
}
.ti-cat-hero .ti-cat-desc {
    color: #c5d3e3;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 760px;
    margin: 0;
}
.ti-cat-hero .ti-cat-meta {
    display: flex; flex-wrap: wrap; gap: 20px;
    margin-top: 18px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.85rem;
    color: #9ec9ff;
}
.ti-cat-hero .ti-cat-meta strong {
    color: #fff;
    font-weight: 700;
    margin-right: 4px;
}

/* Hide redundant per-card category tag on same-category archives.
   Astra renders category tags inside .ast-taxonomy-container; we hide the
   current-category link only. */
body.category .ast-article-post .ast-taxonomy-container { display: none; }

/* Card polish */
body.category .ast-article-post .ast-article-inner {
    border: 1px solid #e3e8ef;
    border-radius: 10px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
body.category .ast-article-post .ast-article-inner:hover {
    border-color: #2980b9 !important;
    box-shadow: 0 10px 28px rgba(15,23,42,0.08);
    transform: translateY(-2px);
}
body.category .entry-title, body.category .entry-title a {
    color: #0f172a !important;
    font-weight: 700;
    letter-spacing: -0.005em;
}
body.category .entry-title a:hover { color: #2980b9 !important; }
body.category .ast-blog-meta-container {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.78rem;
    color: #5b6b7e;
}

@media (max-width: 640px) {
    .ti-cat-hero { padding: 48px 0 36px; }
    .ti-cat-hero h1 { font-size: 1.75rem; }
}
