/* Rightbar sidebar components — runmotoapparel.com (blog sidebar only).
 * Tokens: asphalt #0B0C10 / gunmetal #2A2E35 / signal orange #FF4C00 / mist #F3F4F6; 4px on controls, square panels. */

.sidebar-card {
    background-color: #ffffff;
    border: 1px solid #D9DCE1;
    border-radius: 0;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-title {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #0B0C10;
    border-bottom: 3px solid #FF4C00;
    padding-bottom: 8px;
}

/* Popular Posts & Latest Posts */
.post-list-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #D9DCE1;
}

.post-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.post-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.post-info {
    flex: 1;
}

.post-title-small {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #0B0C10;
    line-height: 1.3;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.post-title-small:hover {
    color: #5C636D;
}

.post-date {
    font-size: 13px;
    color: #5C636D;
}

/* Contact Form Sidebar */
.contact-form-sidebar {
    background: linear-gradient(135deg, #0B0C10, #2A2E35);
    border-top: 3px solid #FF4C00;
    border-radius: 0;
    padding: 28px 24px;
    color: #F4F4F5;
}

.contact-form-sidebar h3 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #F4F4F5;
}

.contact-form-sidebar p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #B8BCC4;
}

.contact-form-sidebar .form-label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #F4F4F5;
}

.contact-form-sidebar .form-control {
    display: block;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #D9DCE1;
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    font: inherit;
    font-size: 16px;
    color: #0B0C10;
}

.contact-form-sidebar .form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 76, 0, 0.45);
    outline: none;
}

.submit-btn-sidebar {
    background-color: #FF4C00;
    color: #0B0C10;
    border: none;
    border-radius: 4px;
    padding: 13px;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.submit-btn-sidebar:hover {
    background-color: #EB4600;
    transform: translateY(-2px);
}

.submit-btn-sidebar:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.trust-badges {
    margin-top: 16px;
    font-size: 13px;
    color: #B8BCC4;
}

.trust-badges div {
    margin-bottom: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .submit-btn-sidebar, .post-title-small { transition: none; }
    .submit-btn-sidebar:hover { transform: none; }
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar-card {
        margin-bottom: 20px;
    }
}
