/* Author department public pages */

.author-blog-hero {
    background: linear-gradient(135deg, #2d1b4e 0%, #6b3fa0 45%, #c77dff 100%);
    padding: 2.75rem 0 3.25rem;
    position: relative;
    overflow: hidden;
}

.author-blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 40%);
    pointer-events: none;
}

.author-blog-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.85rem;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.author-blog-hero h1 {
    color: #fff;
    font-weight: 800;
}

.author-blog-hero .author-blog-hero-sub,
.author-blog-hero .breadcrumb-item,
.author-blog-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.82);
}

.author-blog-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.96);
}

.author-blog-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.author-blog-filter-card {
    background: var(--bs-body-bg);
    border: 1px solid rgba(107, 63, 160, 0.18);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 8px 28px rgba(45, 27, 78, 0.08);
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.author-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.author-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 50rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--bs-body-color);
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    transition: all 0.25s ease;
}

.author-tag-pill:hover {
    border-color: #6b3fa0;
    color: #c77dff;
}

.author-tag-pill.active {
    background: #6b3fa0;
    border-color: #6b3fa0;
    color: #fff;
}

.author-tag-pill .count {
    opacity: 0.75;
    font-size: 0.8rem;
}

.btn-author {
    background: #6b3fa0;
    border-color: #6b3fa0;
    color: #fff;
}

.btn-author:hover {
    background: #5a3488;
    border-color: #5a3488;
    color: #fff;
}

.author-post-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.author-post-card {
    border: 1px solid rgba(107, 63, 160, 0.12);
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bs-body-bg);
    box-shadow: 0 6px 24px rgba(45, 27, 78, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.author-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 27, 78, 0.1);
}

.author-post-card-inner {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .author-post-card-inner {
        flex-direction: row;
    }
}

.author-post-card-img {
    flex: 0 0 auto;
    width: 100%;
    max-height: 220px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .author-post-card-img {
        width: 280px;
        max-height: none;
        min-height: 190px;
    }
}

.author-post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 190px;
}

.author-post-card-body {
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-post-tag {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.65rem;
    padding: 0.2rem 0.75rem;
    border-radius: 50rem;
    background: rgba(107, 63, 160, 0.12);
    color: #c77dff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.author-post-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    line-height: 1.6;
}

.author-post-title a {
    color: inherit;
    text-decoration: none;
}

.author-post-title a:hover {
    color: #c77dff;
}

.author-post-summary {
    color: var(--bs-secondary-color);
    margin-bottom: 0.85rem;
    line-height: 1.85;
}

.author-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.author-blog-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1rem;
    background: var(--bs-light);
    border: 1px dashed var(--bs-border-color);
}

.author-blog-empty i {
    font-size: 3rem;
    color: var(--bs-secondary-color);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.author-sidebar-block {
    background: var(--bs-body-bg);
    border: 1px solid rgba(107, 63, 160, 0.12);
    border-radius: 1rem;
    padding: 1.15rem;
    margin-bottom: 1rem;
}

.author-sidebar-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    color: var(--bs-heading-color, var(--bs-body-color));
}

.author-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.author-sidebar-tags a {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
    font-size: 0.82rem;
    text-decoration: none;
}

.author-sidebar-tags a.active,
.author-sidebar-tags a:hover {
    background: #6b3fa0;
    color: #fff;
}

.author-sidebar-tags a span {
    opacity: 0.8;
}

.author-sidebar-recent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    text-decoration: none;
    color: inherit;
}

.author-sidebar-recent:last-child {
    border-bottom: 0;
}

.author-sidebar-recent img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.65rem;
    flex-shrink: 0;
}

.author-sidebar-recent span {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.6;
}

.author-sidebar-recent:hover span {
    color: #c77dff;
}

[data-bs-theme=dark] .author-post-tag {
    background: rgba(199, 125, 255, 0.15);
    color: #e0b3ff;
}

[data-bs-theme=dark] .author-tag-pill:hover,
[data-bs-theme=dark] .author-post-title a:hover,
[data-bs-theme=dark] .author-sidebar-recent:hover span {
    color: #e0b3ff;
}
