.author-hero-section {
    width: 100%;
    padding: 30px 20px 15px;
    background: #fff;
}

.author-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Breadcrumb */
.author-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    font-size: 14px;
    color: #6b7280;
}

.author-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.author-breadcrumb span {
    color: #9ca3af;
}

.author-breadcrumb strong {
    color: #172033;
}

/* Main Hero */
.author-hero {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr) 300px;
    align-items: center;
    gap: 50px;
}

/* Image */
.author-image-box {
    position: relative;
    width: 320px;
    height: 320px;
    margin: auto;
}

.author-image-circle {
    position: absolute;
    inset: 10px;
    background: #eef1f6;
    border-radius: 50%;
}

.author-image {
    position: relative;
    z-index: 2;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}

/* .author-image-box::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 95px;
    left: -5px;
    bottom: 5px;
    border: 4px solid #ef1d25;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: rotate(-35deg);
    z-index: 3;
} */

/* .author-image-box::after {
    content: "";
    position: absolute;
    width: 78px;
    height: 78px;
    left: -8px;
    bottom: 0;
    border: 4px solid #ef1d25;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: rotate(-45deg);
    z-index: 3;
} */

.author-image-box::before {
    display: none;
}

/* Content */
.author-content {
    min-width: 0;
}

/* .author-badge {
    display: inline-block;
    padding: 7px 12px;
    margin-bottom: 16px;
    background: #f5f5f5;
    color: var(--primary-color);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
} */

.author-badge {
    display: inline-block;
    padding: 7px 12px;
    margin-bottom: 16px;
    background: #f2eeff;
    color: #673de6;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
}

.author-content h1 {
    margin: 0 0 8px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
}

.author-content h2 {
    margin: 0 0 22px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: #182235;
}

.author-content p {
    max-width: 680px;
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.7;
    color: #626b7b;
}

/* Social */
.author-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-socials a {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7ebf0;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.author-socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.author-socials a:nth-child(1) {
    color: #0a66c2;
}

.author-socials a:nth-child(2) {
    color: #1d9bf0;
}

.author-socials a:nth-child(3) {
    color: #111827;
}

.author-socials a:nth-child(4) {
    color: var(--primary-color);
}

/* Stats */
.author-stats {
    padding-left: 40px;
    border-left: 1px solid #e5e7eb;
}

.author-stat {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 25px;
}

.author-stat:last-child {
    margin-bottom: 0;
}

/* .stat-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f5f5f5;
    color: var(--primary-color);
    font-size: 26px;
} */
.stat-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f2eeff;
    color: var(--primary-color);
    font-size: 26px;
}
.author-stat strong {
    display: block;
    margin-bottom: 4px;
    font-size: 25px;
    line-height: 1.2;
    color: #172033;
}

.author-stat span {
    display: block;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 1100px) {
    .author-hero {
        grid-template-columns: 280px 1fr;
        gap: 35px;
    }

    .author-stats {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 30px 0 0;
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }

    .author-stat {
        margin-bottom: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .author-hero-section {
        padding: 20px 16px 45px;
    }

    .author-breadcrumb {
        margin-bottom: 28px;
        font-size: 13px;
        gap: 7px;
    }

    .author-hero {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .author-image-box {
        width: 240px;
        height: 240px;
    }

    .author-image-circle {
        inset: 5px;
    }

    .author-image {
        width: 230px;
        height: 230px;
    }

    .author-image-box::after {
        width: 75px;
        height: 75px;
        left: 0;
        bottom: 0;
    }

    .author-content h1 {
        font-size: 32px;
    }

    .author-content h2 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .author-content p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .author-socials {
        justify-content: center;
    }

    .author-socials a {
        width: 46px;
        height: 46px;
        font-size: 19px;
    }

    /* .author-stats {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 28px 0 0;
        border-top: 1px solid #e5e7eb;
    } */

    .author-stats {
        width: 100%;
        display: flex;
        gap: 18px;
        padding: 28px 0 0;
        border-top: 1px solid #e5e7eb;
        flex-wrap: wrap;
    }

    .author-stat {
        text-align: left;
        margin: 0;
    }

    .stat-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 22px;
    }

    .author-stat strong {
        font-size: 22px;
    }

    .author-stat span {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {

    .author-content h1 {
        font-size: 28px;
    }

    .author-content h2 {
        font-size: 16px;
    }

    .author-content p {
        font-size: 14px;
    }

    .author-image-box {
        width: 210px;
        height: 210px;
    }

    .author-image {
        width: 200px;
        height: 200px;
    }
}

/* section2 */
.author-info-section {
    width: 100%;
    padding: 20px;
    background: #fff;
}

.author-info-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 35px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Common Title */
/* .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
} */

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.section-title h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #172033;
}

.title-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
}

/* About */
.author-about {
    padding-right: 30px;
    border-right: 1px solid #e5e7eb;
}

.about-content {
    max-width: 680px;
}

/* .about-content p {
    margin: 0 0 7px;
    color: #4b5563;
    font-size: 11px;
    line-height: 1.55;
} */

.about-content p {
    margin: 0 0 7px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    padding: 9px 14px;
    background: #ed1118;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.profile-btn:hover {
    background: #c90e14;
    color: #fff;
    transform: translateY(-1px);
}

.profile-btn i {
    font-size: 9px;
}

/* Expertise */
.author-expertise {
    padding-left: 0;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 8px;
    align-items: center;
}

/* .expertise-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 5px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
} */

.expertise-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 900px) {
    .author-info-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .author-about {
        padding-right: 0;
        padding-bottom: 22px;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .author-info-section {
        padding: 15px 10px;
    }

    .author-info-container {
        padding: 18px 15px;
        gap: 20px;
    }

    .section-title h2 {
        font-size: 15px;
    }

    .about-content p {
        font-size: 12px;
        line-height: 1.6;
    }

    .profile-btn {
        font-size: 11px;
        padding: 9px 13px;
    }

    .expertise-tags {
        gap: 7px;
    }

    .expertise-tags span {
        font-size: 10px;
        padding: 6px 10px;
    }
}

/* section3 */
.latest-articles-section {
    width: 100%;
    padding: 35px 20px 60px;
    background: #fff;
}

.latest-articles-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Header */
.latest-articles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.latest-articles-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.latest-articles-title i {
    color: var(--primary-color);
    font-size: 19px;
}

.latest-articles-title h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #172033;
}

.view-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.view-all-articles:hover {
    color: #1a0b48;
}

.view-all-articles i {
    font-size: 11px;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Card */
.article-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Image */
/* .article-image {
    display: block;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f3f4f6;
} */

.article-image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.article-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.04);
}

/* Content */
.article-content {
    padding: 15px 15px 16px;
}

.article-category {
    display: inline-block;
    margin-bottom: 9px;
    padding: 5px 9px;
    background: #f1f3f5;
    border-radius: 4px;
    color: #374151;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}

.article-content h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.article-content h3 a {
    color: #172033;
    text-decoration: none;
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-content p {
    min-height: 62px;
    margin: 0 0 15px;
    color: #5f6878;
    font-size: 12px;
    line-height: 1.65;
}

/* Meta */
.article-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 13px;
    border-top: 1px solid #f0f1f3;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.article-meta i {
    color: #172033;
    font-size: 12px;
}

/* Tablet */
@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 11px);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .latest-articles-section {
        padding: 25px 15px 45px;
    }

    .latest-articles-header {
        align-items: flex-start;
        gap: 15px;
    }

    .latest-articles-title h2 {
        font-size: 17px;
    }

    .view-all-articles {
        font-size: 11px;
        white-space: nowrap;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .article-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .article-image {
        height: 180px;
    }

    .article-content h3 {
        font-size: 16px;
    }

    .article-content p {
        min-height: auto;
    }
}