/* ========================================
   AUTHOR CREDENTIALS SECTION (E-E-A-T)
   Netflix Brutalist Design
   ======================================== */

.rz-author-credentials {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: 48px auto;
    padding: 32px;
    max-width: 800px;
    color: #ffffff;
}

/* Header Section */
.rz-credentials-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.rz-credentials-badge {
    display: inline-block;
    background: #d4af37;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.rz-author-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rz-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #d4af37;
    object-fit: cover;
    flex-shrink: 0;
}

.rz-author-info {
    flex: 1;
}

.rz-author-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.rz-author-title {
    font-size: 14px;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.4;
}

/* Body Section */
.rz-credentials-body {
    margin-bottom: 24px;
}

.rz-credentials-intro {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0 0 24px 0;
}

.rz-credential-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
}

.rz-credential-item:last-child {
    margin-bottom: 0;
}

.rz-credential-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.rz-credential-item strong {
    color: #d4af37;
    font-weight: 700;
}

/* Footer Section */
.rz-credentials-footer {
    padding-top: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.rz-corrections-note {
    font-size: 13px;
    color: #b0b0b0;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.rz-credential-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rz-credential-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    border-radius: 4px;
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rz-credential-link:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.rz-credential-link svg {
    flex-shrink: 0;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .rz-author-credentials {
        margin: 32px 16px;
        padding: 24px 20px;
    }

    .rz-author-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .rz-author-avatar {
        width: 60px;
        height: 60px;
    }

    .rz-author-name {
        font-size: 20px;
    }

    .rz-author-title {
        font-size: 13px;
    }

    .rz-credentials-intro {
        font-size: 14px;
    }

    .rz-credential-item {
        font-size: 13px;
    }

    .rz-credential-links {
        flex-direction: column;
        gap: 10px;
    }

    .rz-credential-link {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: light) {
    /* Keep dark styling regardless - it's part of the brand */
    .rz-author-credentials {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .rz-author-credentials {
        background: white;
        color: black;
        border: 2px solid #333;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .rz-credentials-badge {
        background: transparent;
        color: black;
        border: 1px solid black;
    }

    .rz-author-name,
    .rz-credential-item strong {
        color: black;
    }

    .rz-credentials-intro,
    .rz-credential-item,
    .rz-author-title,
    .rz-corrections-note {
        color: #333;
    }

    .rz-credential-links {
        display: none;
    }
}
