/**
 * NPL Sports Pro Theme - Author Bio Box Component Styles
 * Path: assets/css/templates-parts/author-bio.css
 * Responsive: 7 Breakpoints (Fluid Typography with clamp & vw)
 */

/* ============================================================
   01. MAIN CARD CONTAINER
   ============================================================ */

.author-box {
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid #0010a0 !important; /* Brand Primary Accent */
    padding: clamp(16px, 2.2vw, 28px) !important;
    margin: 35px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
    gap: clamp(15px, 2vw, 25px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.3s ease !important;
}

.author-box:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07) !important;
}

/* ============================================================
   02. AVATAR STYLING
   ============================================================ */

.author-avatar {
    flex-shrink: 0 !important;
    margin-right: 0 !important;
}

.author-avatar a {
    display: block !important;
    text-decoration: none !important;
}

.author-avatar img {
    border-radius: 50% !important;
    width: clamp(75px, 6vw, 100px) !important;
    height: clamp(75px, 6vw, 100px) !important;
    border: 3px solid #f3f4f6 !important;
    object-fit: cover !important;
    display: block !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.author-avatar a:hover img {
    transform: scale(1.05) !important;
    border-color: #0010a0 !important;
}

/* ============================================================
   03. AUTHOR INFO & TYPOGRAPHY
   ============================================================ */

.author-info {
    flex: 1 !important;
}

.author-info .author-label {
    display: block !important;
    font-size: clamp(10px, 0.9vw, 11px) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #9ca3af !important;
    margin-bottom: 6px !important;
    font-weight: 700 !important;
}

.author-info .author-name {
    margin: 0 0 10px 0 !important;
    font-size: clamp(18px, 1.5vw, 22px) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

.author-info .author-name a {
    text-decoration: none !important;
    color: #111111 !important;
    transition: color 0.25s ease !important;
}

.author-info .author-name a:hover {
    color: #dd0000 !important; /* Brand Accent Red */
}

.author-info .author-description {
    margin: 0 0 16px 0 !important;
    font-size: clamp(13px, 1.05vw, 15px) !important;
    line-height: 1.6 !important;
    color: #4b5563 !important;
}

/* ============================================================
   04. AUTHOR ACTION BUTTONS (PILLS)
   ============================================================ */

.author-social-links {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.auth-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 16px !important;
    font-size: clamp(11px, 0.95vw, 13px) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 20px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid #d1d5db !important;
    color: #374151 !important;
    background: #f9fafb !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.auth-link-btn i {
    margin-right: 7px !important;
    font-size: 13px !important;
}

.auth-link-btn:hover {
    background: #0010a0 !important;
    color: #ffffff !important;
    border-color: #0010a0 !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0, 16, 160, 0.2) !important;
}

.auth-link-btn.all-posts:hover {
    background: #dd0000 !important;
    border-color: #dd0000 !important;
    box-shadow: 0 4px 10px rgba(221, 0, 0, 0.2) !important;
}

/* ============================================================
   05. 7 DEVICES RESPONSIVE STANDARDS
   ============================================================ */

/* 1. 4K & Ultra Wide (1441px+) */
@media (min-width: 1441px) {
    .author-box {
        padding: 30px !important;
    }
}

/* 2. Desktop Standard (1025px - 1440px) */
@media (max-width: 1440px) {
    .author-box {
        padding: 25px !important;
    }
}

/* 3. Small Laptop / Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) {
    .author-box {
        padding: 20px !important;
    }
}

/* 4. Tablet Portrait (641px - 768px) */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 22px 18px !important;
        border-left: 1px solid #e5e7eb !important;
        border-top: 4px solid #0010a0 !important;
    }

    .author-avatar {
        margin-bottom: 12px !important;
    }

    .author-social-links {
        justify-content: center !important;
    }
}

/* 5. Mobile Large (481px - 640px) */
@media (max-width: 640px) {
    .author-box {
        padding: 18px 15px !important;
    }
}

/* 6. Mobile Medium (321px - 480px) */
@media (max-width: 480px) {
    .author-box {
        padding: 15px 12px !important;
    }

    .auth-link-btn {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }
}

/* 7. Mobile Small (320px and below) */
@media (max-width: 320px) {
    .author-box {
        padding: 12px 10px !important;
    }

    .author-avatar img {
        width: 65px !important;
        height: 65px !important;
    }

    .auth-link-btn {
        padding: 4px 10px !important;
        font-size: 10px !important;
    }
}