@charset "UTF-8";

/* ==========================================================================
   Author Profile Page Specific Styles (Soft Wa-Modern 2026)
   ========================================================================== */

.author-page {
    --color-bg: #F9F9F9;
    --color-surface: #FFFFFF;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-brand: #229ebd;
    --color-main: #333333;
    --color-accent: #EE4B2B;
    --color-border: #EEEEEE;

    --font-base: "LINE Seed JP", "Zen Kaku Gothic New", sans-serif;
    --radius-md: 24px;
    --radius-sm: 12px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 15px 30px rgba(34, 158, 189, 0.1);

    background-color: var(--color-bg);
}

/* ==========================================================================
   Author Hero Section (Profile Banner)
   ========================================================================== */
.author-hero {
    position: relative;
    width: 100%;
    padding: 80px 0 60px;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f2f5 100%);
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
    margin-bottom: 40px;
}

.author-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.author-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: drift-author 20s infinite alternate ease-in-out;
}

.author-orb.orb-1 {
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 158, 189, 0.2) 0%, rgba(34, 158, 189, 0) 70%);
}

.author-orb.orb-2 {
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 75, 43, 0.1) 0%, rgba(238, 75, 43, 0) 70%);
    animation-delay: -5s;
}

@keyframes drift-author {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, -20px);
    }
}

.author-hero__inner {
    position: relative;
    z-index: 2;
}

/* Profile Card Styling */
.author-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.author-profile-avatar img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.author-profile-body {
    flex-grow: 1;
}

.author-profile-label {
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    background: var(--color-brand, #229ebd);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.author-profile-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.author-profile-position {
    font-size: 15px;
    color: var(--color-brand, #229ebd);
    font-weight: 600;
    margin-bottom: 15px;
}

.author-profile-sns {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.author-profile-sns .sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #666;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.author-profile-sns .sns-icon:hover {
    color: #fff;
    transform: translateY(-2px);
}

.author-profile-sns .sns-icon[aria-label*="X"]:hover {
    background-color: #000;
}

.author-profile-sns .sns-icon[aria-label*="Facebook"]:hover {
    background-color: #1877f2;
}

.author-profile-sns .sns-icon[aria-label*="Hatena"]:hover {
    background-color: #008fde;
}

.author-profile-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.author-profile-desc p {
    margin: 0 0 1em 0;
}
.author-profile-desc p:last-child {
    margin-bottom: 0;
}

/* Articles List Layout */
.author-articles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.author-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    padding-left: 18px;
    color: var(--color-text);
}

.author-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 28px;
    background: var(--color-brand);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .author-hero {
        padding: 60px 0 40px;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }

    .author-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .author-profile-name {
        font-size: 1.8rem;
    }

    .author-profile-sns {
        justify-content: center;
    }

    .author-section-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
}
