/* Sidebar Styles for Dogitalia */

.post-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.sidebar-widget h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #333;
    font-weight: 700;
}

/* Product Widget */
.product-widget {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
}

.product-card {
    text-align: center;
}

.product-cta {
    color: #5d4037;
    margin-bottom: 16px;
    font-size: 14px;
}

.btn-amazon {
    display: block;
    background: #ff9900;
    color: white;
    text-align: center;
    padding: 14px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-amazon:hover {
    background: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,153,0,0.4);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
}

.newsletter-widget p {
    color: #1565c0;
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #90caf9;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #2196f3;
}

.btn-subscribe {
    width: 100%;
    background: #2196f3;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #1976d2;
}

/* Guides Widget */
.guides-widget {
    background: #f8f9fa;
}

.guides-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guides-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.guides-list li:last-child {
    border-bottom: none;
}

.guides-list a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.guides-list a:hover {
    color: #ff9800;
}

/* Responsive */
@media (max-width: 1024px) {
    .post-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
}
