/* ========================================
   GLOBAL RESET & ALIGNMENT
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

section {
    width: 100%;
    box-sizing: border-box;
}

/* Consistent containers — matching about.css 1600px system */
.author-hero-container,
.author-posts-container,
.author-cta-container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* =============================================
   HERO SECTION
   ============================================= */

.author-hero {
    min-height: calc(100vh - 100px);
    background: linear-gradient(180deg, #ffffff 0%, #fef3f2 30%, #fff7ed 60%, #fef3f2 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.author-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: author-float 25s ease-in-out infinite;
    z-index: 0;
}

.author-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -80px;
    left: -80px;
    animation: author-float 20s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes author-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(40px, -40px) scale(1.1); }
    66%       { transform: translate(-30px, 30px) scale(0.95); }
}

.author-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

.author-hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: author-fadeInUp 1s ease;
}

@keyframes author-fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Badge */
.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 3rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12), 0 2px 8px rgba(59, 130, 246, 0.08);
    animation: author-fadeInUp 1s ease 0.2s both;
    backdrop-filter: blur(10px);
}

.author-badge-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    animation: author-pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes author-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); transform: scale(1); }
    50%       { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); transform: scale(1.1); }
}

/* Profile Card */
.author-profile-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid #f1f5f9;
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.08), 0 8px 24px rgba(59, 130, 246, 0.05);
    margin-bottom: 2.5rem;
    animation: author-fadeInUp 1s ease 0.3s both;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.author-profile-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 50%, #f97316 100%);
}

.author-profile-card:hover {
    border-color: #dbeafe;
    box-shadow: 0 24px 72px rgba(59, 130, 246, 0.12), 0 8px 32px rgba(59, 130, 246, 0.08);
    transform: translateY(-4px);
}

/* Avatar */
.author-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 160px;
    height: 160px;
}

.author-avatar-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.2);
    position: relative;
    z-index: 1;
    display: block;
}

.author-avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #f97316);
    z-index: 0;
    animation: author-ring-spin 6s linear infinite;
}

@keyframes author-ring-spin {
    to { transform: rotate(360deg); }
}

/* Author Info */
.author-info { flex: 1; }

.author-name {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.6rem;
    animation: author-fadeInUp 1s ease 0.4s both;
}

.author-role {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    animation: author-fadeInUp 1s ease 0.45s both;
}

.author-role::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    border-radius: 3px;
    flex-shrink: 0;
}

.author-bio {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.85;
    margin-bottom: 2rem;
    max-width: 680px;
    animation: author-fadeInUp 1s ease 0.5s both;
}

/* Social Buttons */
.author-socials {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    animation: author-fadeInUp 1s ease 0.55s both;
}

.author-social-btn {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.author-social-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-color: #1e40af;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
    text-decoration: none;
}

/* Stats Row */
.author-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    animation: author-fadeInUp 1s ease 0.6s both;
}

.author-stat-item {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 2px solid #f1f5f9;
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0; /* prevent overflow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.author-stat-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.author-stat-item:nth-child(even)::before {
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
}

.author-stat-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(59, 130, 246, 0.15), 0 8px 24px rgba(59, 130, 246, 0.08);
    border-color: #bfdbfe;
}

.author-stat-item:nth-child(even):hover {
    box-shadow: 0 24px 48px rgba(249, 115, 22, 0.15), 0 8px 24px rgba(249, 115, 22, 0.08);
    border-color: #fed7aa;
}

.author-stat-item:hover::before { opacity: 1; }

.author-stat-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-stat-item:hover .author-stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.author-stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    display: block;
}

.author-stat-item:nth-child(even) .author-stat-number {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.author-stat-label {
    font-size: 1.05rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.5;
}

/* =============================================
   POSTS SECTION
   ============================================= */

.author-posts-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
    position: relative;
}

.author-posts-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e7ff 50%, transparent 100%);
}

.author-posts-header {
    text-align: center;
    margin-bottom: 5rem;
}

.author-posts-tag {
    display: inline-block;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.6rem 1.8rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 2px solid #bfdbfe;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    letter-spacing: 0.5px;
}

.author-posts-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.author-posts-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Posts Grid */
.author-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.author-post-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 2px solid #f1f5f9;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
}

.author-post-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.author-post-card:nth-child(even)::after {
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
}

.author-post-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(59, 130, 246, 0.15), 0 8px 24px rgba(59, 130, 246, 0.08);
    border-color: #bfdbfe;
}

.author-post-card:nth-child(even):hover {
    box-shadow: 0 24px 48px rgba(249, 115, 22, 0.15), 0 8px 24px rgba(249, 115, 22, 0.08);
    border-color: #fed7aa;
}

.author-post-card:hover::after { opacity: 1; }

/* Thumbnail */
.author-post-thumb-link { display: block; overflow: hidden; }

.author-post-thumb {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.author-post-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.author-post-card:hover .author-post-thumb img { transform: scale(1.06); }

.author-post-thumb-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.author-post-cat {
    position: absolute;
    top: 1rem; left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1e40af;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
}

/* Card Body */
.author-post-body { padding: 2rem; }

.author-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.author-post-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.author-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-post-title a:hover { color: #1e40af; }

.author-post-excerpt {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    position: relative;
    overflow: hidden;
}

.author-read-more::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.author-read-more:hover::before { left: 100%; }

.author-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3);
    color: white;
    text-decoration: none;
}

.author-read-more .arrow { transition: transform 0.3s ease; }
.author-read-more:hover .arrow { transform: translateX(4px); }

/* Pagination */
.author-pagination { text-align: center; margin-top: 3rem; }

.author-pagination .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.author-pagination .page-numbers li a,
.author-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px; height: 44px;
    padding: 0 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid #e2e8f0;
    color: #475569;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-pagination .page-numbers li a:hover {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.2);
}

.author-pagination .page-numbers li span.current {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-color: #1e40af;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.2);
}

/* No Posts */
.author-no-posts { text-align: center; padding: 6rem 2rem; }
.author-no-posts-icon { font-size: 5rem; display: block; margin-bottom: 2rem; }
.author-no-posts h3 { font-size: 2rem; font-weight: 900; color: #0f172a; margin-bottom: 1rem; letter-spacing: -0.02em; }
.author-no-posts p { font-size: 1.15rem; color: #64748b; margin-bottom: 2.5rem; line-height: 1.8; }

.author-btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
}

.author-btn-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.35);
    color: white;
    text-decoration: none;
}

/* =============================================
   CTA SECTION
   ============================================= */

.author-cta {
    padding: 7rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fef3f2 50%, #fff7ed 100%);
    position: relative;
    overflow: hidden;
}

.author-cta::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.author-cta::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.author-cta-container {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    padding: 6rem 5rem;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.08), 0 8px 32px rgba(0, 0, 0, 0.04);
    border: 2px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.author-cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.author-cta-title span {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.author-cta-text {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.9;
    font-weight: 400;
}

.author-cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.author-btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25), 0 4px 12px rgba(30, 64, 175, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.author-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.author-btn-primary:hover::before { left: 100%; }

.author-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.35), 0 8px 20px rgba(30, 64, 175, 0.2);
    color: white;
    text-decoration: none;
}

.author-btn-secondary {
    background: white;
    color: #1e40af;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #1e40af;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.1);
}

.author-btn-secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.25);
    text-decoration: none;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 1200px) {
    .author-hero-container,
    .author-posts-container,
    .author-cta-container { padding-left: 4%; padding-right: 4%; }
    .author-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .author-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .author-name { font-size: 2.5rem; }
    .author-profile-card { flex-direction: column; align-items: center; text-align: center; gap: 2.5rem; padding: 3rem 2.5rem; }
    .author-role { justify-content: center; }
    .author-role::before { display: none; }
    .author-socials { justify-content: center; }
    .author-bio { margin: 0 auto 2rem; }
    .author-posts-title { font-size: 3rem; }
    .author-cta-title { font-size: 3rem; }
    .author-cta-container { padding: 4rem 3rem; }
}

@media (max-width: 768px) {
    .author-hero { min-height: auto; padding: 3rem 0 2rem; }
    .author-badge { padding: 0.6rem 1.5rem; font-size: 0.9rem; margin-bottom: 2rem; }
    .author-profile-card { padding: 2.5rem 2rem; border-radius: 24px; gap: 2rem; }
    .author-avatar-wrap { width: 120px; height: 120px; }
    .author-avatar-img { width: 120px; height: 120px; }
    .author-name { font-size: 2rem; }
    .author-bio { font-size: 1.05rem; }
    .author-stats { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
    .author-stat-item { padding: 2rem 1.5rem; border-radius: 20px; }
    .author-stat-icon { font-size: 2.2rem; }
    .author-stat-number { font-size: 2.2rem; }
    .author-stat-label { font-size: 0.95rem; }
    .author-posts-section { padding: 4rem 0; }
    .author-posts-header { margin-bottom: 3rem; }
    .author-posts-title { font-size: 2rem; }
    .author-posts-subtitle { font-size: 1.05rem; }
    .author-posts-grid { grid-template-columns: 1fr; gap: 2rem; }
    .author-cta { padding: 4rem 0; }
    .author-cta-container { padding: 3.5rem 2rem; border-radius: 24px; }
    .author-cta-title { font-size: 2rem; line-height: 1.3; }
    .author-cta-text { font-size: 1.05rem; }
    .author-cta-buttons { flex-direction: column; gap: 1.2rem; }
    .author-btn-primary,
    .author-btn-secondary { width: 100%; justify-content: center; padding: 1.1rem 2.5rem; font-size: 1.05rem; }
}

@media (max-width: 480px) {
    .author-hero-container,
    .author-posts-container,
    .author-cta-container { padding-left: 5%; padding-right: 5%; }
    .author-hero { padding: 2.5rem 0 1.5rem; }
    .author-badge { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
    .author-profile-card { padding: 2rem 1.5rem; border-radius: 20px; }
    .author-avatar-wrap { width: 100px; height: 100px; }
    .author-avatar-img { width: 100px; height: 100px; }
    .author-name { font-size: 1.75rem; }
    .author-role { font-size: 1rem; }
    .author-bio { font-size: 1rem; }
    .author-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .author-stat-item { padding: 1.5rem 1rem; }
    .author-stat-number { font-size: 1.8rem; }
    .author-posts-title { font-size: 1.75rem; }
    .author-posts-subtitle { font-size: 1rem; }
    .author-post-body { padding: 1.5rem; }
    .author-post-title { font-size: 1.15rem; }
    .author-cta-container { padding: 3rem 1.5rem; border-radius: 20px; }
    .author-cta-title { font-size: 1.6rem; }
    .author-cta-text { font-size: 1rem; }
    .author-btn-primary,
    .author-btn-secondary { padding: 1rem 2rem; font-size: 1rem; border-radius: 80px; }
}

@media (max-width: 360px) {
    .author-name { font-size: 1.5rem; }
    .author-posts-title { font-size: 1.5rem; }
    .author-cta-title { font-size: 1.4rem; }
    .author-stat-item { padding: 1.2rem 0.8rem; }
}

@media (max-width: 768px) and (orientation: landscape) {
    .author-hero { min-height: auto; padding: 2rem 0; }
    .author-stats { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

@media (hover: none) and (pointer: coarse) {
    .author-btn-primary,
    .author-btn-secondary,
    .author-post-card,
    .author-stat-item,
    .author-social-btn { -webkit-tap-highlight-color: transparent; }
    .author-btn-primary,
    .author-btn-secondary { min-height: 48px; }
    .author-btn-primary:active,
    .author-btn-secondary:active { transform: scale(0.98); }
}