/* Rightbar Sidebar Components Styles — Stampantemurale brand
   blue #1D4ED8 / accent orange #FF5722 (hover #E64A19) */

.sidebar-card {
    background-color: #ffffff;
    border: 1px solid #E6EAF1;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 18px rgba(15, 27, 61, 0.06);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1A2233;
    border-bottom: 3px solid #FF5722;
    padding-bottom: 10px;
}

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

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

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

.post-info {
    flex: 1;
}

.post-title-small {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1A2233;
    line-height: 1.3;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.post-title-small:hover {
    color: #1D4ED8;
}

.post-date {
    font-size: 12px;
    color: #5B6577;
}

/* Contact Form Sidebar — blue card, orange CTA */
.contact-form-sidebar {
    background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
    border-radius: 14px;
    padding: 32px;
    color: #ffffff;
    box-shadow: 0 8px 26px rgba(15, 27, 61, 0.18);
}

.contact-form-sidebar h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-form-sidebar p {
    font-size: 14px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-sidebar .form-label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ffffff;
}

.contact-form-sidebar .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.submit-btn-sidebar {
    background-color: #FF5722;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-weight: 700;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.trust-badges {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

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

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