/* Author Post Card*/
.author-card {
    display: flex;
    gap: 32px;
    padding: 24px;
    border-radius: 18px;
    margin: 0 auto 80px auto;
    border: 1px solid #023047;
}

.author-card__image {
    flex-shrink: 0;
}

.author-card__image img {
    width: 210px;
    height: 240px;
    border-radius: 14px;
    display: block;
    object-fit: cover;
}

.author-card__content {
    flex: 1;
}

.author-card__name {
    margin: 0 0 12px 0;
    font-weight: 600;
}

.author-card__features {
    margin-bottom: 16px;
}

.author-card__features ul {
    margin: 0;
    padding-left: 30px;
    list-style: disc;
}

.author-card__features li {
    margin-bottom: 6px;
    font-size: 0.90rem;
    font-weight: 500;
    line-height: 110%;
}

.author-card__description {
    margin-bottom: 22px;
    line-height: 125%;
}

.author-card__posts a {
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.author-card__posts a::before {
    content: "→ ";
}

.author-card__posts a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .author-card {
        flex-direction: column;
    }

    .author-card__image img {
        width: 100%;
    }

    .author-card__description {
        font-size: 0.90rem;
    }
}

/* Author Archive*/
.author-archive {
    margin: 180px 0 100px 0;
}

.author-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 16px;
}

.author-post-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.author-post-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.author-post-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.author-post-card__title {
    margin: 0 0 12px 0;
}

.author-post-card__excerpt {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-post-card__cta a {
    display: inline-block;
    margin-top: auto;
    padding: 10px 16px;
    background-color: #1b4559;
    color: #ffffff;
    border-radius: 8px;
}

.author-post-card__cta a:hover {
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .author-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .author-posts {
        grid-template-columns: 1fr;
    }

    .author-archive {
        margin: 140px 0 80px 0;
    }
}