/* Header Layout */
.site-header {
    background: var(--background);
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid var(--accent);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1024px;
    margin: 0 auto;
}

.site-title-desc {
    flex: 1;
    min-width: 240px;
}
/* Prevent site title from disappearing on hover */
#a-title {
    text-decoration: none;
    color: var(--text);
}

#a-title:hover {
    color: var(--accent); /* or keep it the same as --text if no change desired */
    text-decoration: none;
}

.site-title {
    font-size: 1.75rem;
    margin: 0;
}

h1::before,
h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
    content: none !important;
}

.site-title::before {
    content: none !important;
}

.site-description::before {
    content: none !important;
}

.site-description {
    font-size: 1rem;
    opacity: 0.75;
    margin: 0.25rem 0 0;
}

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text);
    padding: 0.25rem 0.5rem;
    transition: color 0.3s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--accent);
    text-decoration: underline;
}

/* Job status */
.job-status {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem;
    color: var(--text-muted, #aaa);
}

.job-status-dot {
    color: green;
    font-size: 1.2rem;
    vertical-align: middle;
}

/* Theme toggle */
.theme-toggle {
    margin-left: 0.5rem;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* ====================== */ /* Tags Styling /* ====================== */
.post-tags {
    margin-top: 0.5rem;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.4;

    .tag {
        display: inline-block;
        color: var(--accent);
        background: rgba(var(--accent-rgb), 0.08);
        padding: 0.25rem 0.6rem;
        border-radius: 0.25rem;
        text-decoration: none;
        /* transition: all 0.2s ease; */
        border: 1px solid rgba(var(--accent-rgb), 0.15);

        &:hover {
            background: rgba(var(--accent-rgb), 0.15);
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }
    }
}

/* ====================== */
/* Responsive Adjustments */
/* ====================== */

@media (max-width: 768px) {
    .post-tags {
        gap: 0.4rem;
        font-size: 0.8rem;

        .tag {
            padding: 0.2rem 0.5rem;
        }
    }
}
