/* Author page (author.php) */

.author-template .author-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 495px;
    padding: 130px 0 110px;
    background-color: #003b2f;
    background-image: linear-gradient(180deg, rgba(0, 32, 26, 0.1) 0%, rgba(0, 32, 26, 0.55) 100%), url('../images/author-hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.author-template .author-hero-row {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.author-template .author-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.author-template .author-breadcrumb li {
    padding: 0;
}

.author-template .author-breadcrumb li + li::before {
    content: '/';
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

.author-template .author-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.author-template .author-breadcrumb a:hover,
.author-template .author-breadcrumb a:focus {
    color: #3ac7a4;
}

.author-template .author-breadcrumb li[aria-current] {
    color: #fff;
}

.author-template .author-hero-content {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
}

.author-template .author-hero-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 16px;
    border: 1px solid rgba(58, 199, 164, 0.45);
    border-radius: 999px;
    background: rgba(58, 199, 164, 0.18);
    color: #3ac7a4;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.author-template .author-hero-name {
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.15;
    color: #fff;
    padding-bottom: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
    overflow-wrap: break-word;
}

.author-template .author-hero-name::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 2px;
    background: #3ac7a4;
}

.author-template .author-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 24px;
    padding: 0;
    list-style: none;
}

.author-template .author-hero-meta li {
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-family: 'Inter Medium', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
}

.author-template .author-hero-meta .author-hero-count {
    border-color: rgba(58, 199, 164, 0.6);
    color: #3ac7a4;
}

.author-template .author-hero-bio {
    max-width: 780px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.author-template .author-hero-bio p {
    padding-bottom: 12px;
}

.author-template .author-hero-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 28px;
    border: 1px solid #1bac83;
    border-radius: 32px;
    background: #1bac83;
    color: #fff;
    font-family: 'Inter Medium', sans-serif;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.author-template .author-hero-linkedin:hover,
.author-template .author-hero-linkedin:focus {
    background-color: #fff;
    border-color: #fff;
    color: #003b2f;
    transform: translateY(-2px);
}

.author-template .author-hero-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 140' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fbff' d='M640 140C286.54 140 0 0 0 0h1280S993.46 140 640 140z'/%3E%3C/svg%3E");
    background-size: 100% 40px;
    transform: scale(1, -1);
    pointer-events: none;
}

.author-template .author-posts {
    padding: 80px 0 60px;
    background: #f8fbff;
}

.author-template .author-posts-inner {
    width: 95%;
    max-width: 1360px;
    margin: 0 auto;
}

.author-template .author-posts-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 40px;
    line-height: 1.2;
    color: #001f3e;
    padding-bottom: 0;
}

.author-template .author-posts-email {
    margin-top: 10px;
    padding-bottom: 0;
    font-family: 'Inter Medium', sans-serif;
    font-size: 18px;
    color: #1bac83;
}

.author-template section.scopic-blog-filter-posts {
    width: 100%;
    margin: 40px auto 0;
}

@media (max-width: 980px) {
    .author-template .author-hero {
        padding: 120px 0 90px;
    }

    .author-template .author-hero-name {
        font-size: 44px;
    }

    .author-template .author-posts-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .author-template .author-hero {
        min-height: 0;
        padding: 110px 0 70px;
        background-image: linear-gradient(180deg, rgba(0, 32, 26, 0.1) 0%, rgba(0, 32, 26, 0.55) 100%), url('../images/author-hero-bg-mobile.jpg');
    }

    .author-template .author-breadcrumb ol {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .author-template .author-hero-name {
        font-size: 34px;
    }

    .author-template .author-hero-name::after {
        width: 48px;
        margin-top: 16px;
    }

    .author-template .author-hero-meta li {
        padding: 6px 14px;
        font-size: 14px;
    }

    .author-template .author-hero-bio {
        font-size: 16px;
    }

    .author-template .author-hero-linkedin {
        padding: 12px 22px;
        font-size: 15px;
    }

    .author-template .author-hero-divider {
        height: 24px;
        background-size: 100% 24px;
    }

    .author-template .author-posts {
        padding: 50px 0 40px;
    }

    .author-template .author-posts-title {
        font-size: 26px;
    }

    .author-template .author-posts-email {
        font-size: 16px;
        overflow-wrap: anywhere;
    }
}
