.author-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid #d9d9d9;
    margin-top: 60px;
    overflow: hidden;
}

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

.author-photo img {
    width: 325px;
    height: 325px;
    object-fit: cover;
    display: block;
}

.author-info {
    padding: 40px;
}

.author-info h1 {
    font-size: 34px;
    font-weight: 700;
    color: #273444;
    margin: 0 0 5px 0;
}

.author-info .author-title {
    font-size: 18px;
    font-weight: 500;
    color: #1b74e4;
    margin: 0 0 20px 0;
}

.author-info .author-bio {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 30px;
}

.author-info .btn-primary {
    background-color: #1b74e4;
    border-color: #1b74e4;
}

.social-media {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #f3f1ff;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #e0daff;
}

.social-media .social-icon img {
    height: 100%;
    width: auto;
}

.social-media .social-icon i {
    color: #1b74e4;
}

.main-content {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.article-content {
    flex: 2;
    /* Takes up 2/3 of the space */
}

.aside {
    flex: 1;
    /* Takes up 1/3 of the space */
}

.article-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #273444;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #333;
}

.article-content p,
.article-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #273444;
    margin-bottom: 1em;
}

.article-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.featured-posts .sidebar-widget {
    border: 1px solid #b6b6b6;
    border-radius: 15px;
    overflow: hidden;
}

.featured-posts .widget-title {
    font-size: 18px;
    font-weight: 600;
    padding: 16px;
    margin: 0;
    border-bottom: 1px solid #b6b6b6;
    text-align: center;
    display: flex;
    gap: 15px;
}

.featured-posts .widget-title i {
    color: #1b74e4;
    font-size: 20px;
}

.featured-posts .posts-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-posts .post-item img {
    transition: transform 0.3s ease;
    max-width: 110px;
    border-radius: 7px;
    object-fit: cover;
    width: 81px;
    height: 41.8848px;
}

.featured-posts .post-item:hover img {
    transform: scale(1.03);
}

.featured-posts .posts-list .post-item {
    display: flex;
    gap: 10px;
}

.featured-posts .posts-list .post-item h4 {
    font-size: 15px;
    color: #273444;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
}

.featured-posts .posts-list a.post-item {
    text-decoration: none;
    font-size: 15px;
    color: #273444;
}

.featured-posts .posts-list .block-view {
    font-size: 13.6px;
}

.featured-posts .posts-list .block-view span {
    margin-left: 3px;
}

.featured-posts.is-sticky {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.featured-posts.is-sticky .sidebar-widget {
    border-color: #1b74e4;
}

.sidebar-placeholder {
    visibility: hidden;
}

@media (max-width: 767px) {
    .featured-posts.is-sticky,
    .featured-posts.is-bottom {
        position: static;
        width: auto;
        top: auto;
        left: auto;
    }
}

.all-articles {
    padding: 60px 0;
    background-color: #cee4ff;
}

.all-articles .section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 500;
    margin: 0;
}

.all-articles .section-subtitle {
    text-align: center;
    font-size: 16px;
    margin: 10px 0 40px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.article-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-card .card-thumbnail {
    width: 254px;
    height: 160px;
    object-fit: cover;
}

.article-card .card-content {
    padding: 20px;
}

.article-card .card-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.article-card .card-excerpt {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-link {
    color: #1b74e4;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}

.featured-article-author .pagination {
    margin-top: 20px;
    justify-content: center;
}