/* Author Page Styles */
.page-main {
    margin: 40px 20px;
}

/* Author Header */
.author-header {
    background: color-mix(in srgb, var(--ghost-accent-color) 5%, white);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 48px;
}

.author-profile {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.author-avatar-wrapper {
    flex-shrink: 0;
}

.author-avatar {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.author-avatar-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    background: var(--ghost-accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 600;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    font-size: 2rem;
    font-weight: 700;
    color: #212121;
    margin: 0 0 12px;
    line-height: 1.2;
}

.author-bio {
    font-size: 1.05rem;
    color: #4b4b4b;
    line-height: 1.7;
    margin: 0 0 20px;
}

.author-details {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.author-location,
.author-post-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #696969;
    font-size: 0.95rem;
}

.author-location svg,
.author-post-count svg {
    color: #ababab;
}

.author-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    color: #3f3f3f;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.author-link:hover {
    background: var(--ghost-accent-color);
    color: #fff;
    border-color: var(--ghost-accent-color);
}

.author-link:hover svg {
    color: #fff;
}

.author-link svg {
    color: #757575;
    transition: color 0.2s ease;
}

/* Section Header */
.section-header {
    margin-bottom: 40px;
}

.section-header-content {
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 4px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #585858;
    margin: 0;
}

.section-divider {
    height: 1px;
    background: #dddddd;
}

/* Posts List */
.posts-list {
    display: flex;
    flex-direction: column;
}

/* Post Item */
.post-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid #e0e0e0;
}

.post-item:first-child {
    padding-top: 0;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item-content {
    flex: 1;
    min-width: 0;
}

.post-item-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ghost-second-color);
    text-decoration: none;
    margin-bottom: 10px;
}

.post-item-tag:hover {
    text-decoration: underline;
}

.post-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px;
}

.post-item-title a {
    font-size: 1.15rem;
    color: #0f172a;
    text-decoration: none;
}

.post-item-title a:hover {
    color: var(--ghost-accent-color);
    text-decoration: underline;
}

.post-item-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 14px;
}

.post-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6b6b6b;
}

.meta-separator {
    color: #000;
}

.post-item-image-link {
    flex-shrink: 0;
}

.post-item-image {
    width: 250px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}