/* Blog Details Page Styles */

/* Author Widget */
.widget_author {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.widget_author .author-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.widget_author .author-avatar:hover {
    transform: scale(1.05);
}

.widget_author .author-avatar img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.widget_author .author-details {
    margin-top: 0;
}

.widget_author .author-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.widget_author .author-details h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget_author .author-details h3 a:hover {
    color: #1e73be;
}

.widget_author .author-details p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Form Widget */
.widget_contact_form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* 左侧栏需要 relative 定位，作为 absolute 定位的参考 */
.yblog_left .col-lg-4 {
    position: relative;
}

.widget_contact_form.is-fixed {
    position: fixed;
    top: 100px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.widget_contact_form.is-bottom {
    position: absolute;
    bottom: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.widget_contact_form .form-control {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
}

.widget_contact_form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.widget_contact_form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #1e73be;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}

.widget_contact_form button[type="submit"]:hover {
    background: #155a8a;
}

.widget_contact_form .form-messege {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.widget_contact_form .form-messege.success {
    color: #28a745;
}

.widget_contact_form .form-messege.error {
    color: #dc3545;
}

/* Mobile responsive - disable fixed positioning on small screens */
@media (max-width: 991px) {
    .widget_contact_form.is-fixed {
        position: static !important;
        top: auto !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Widget Title */
.widget .widget_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}
