/* Social Share Buttons */
.social-share {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    flex-wrap: wrap;
}

.social-share-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 10px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-share a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-share .twitter { background: #1DA1F2; }
.social-share .facebook { background: #4267B2; }
.social-share .linkedin { background: #0077B5; }
.social-share .reddit { background: #FF4500; }
.social-share .copy-link { background: #6c757d; cursor: pointer; }

.social-share .copy-link.copied {
    background: #28a745;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.newsletter-signup h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.newsletter-signup p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.newsletter-signup form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-signup input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-signup button {
    padding: 12px 24px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.newsletter-signup button:hover {
    transform: scale(1.05);
}

/* Related Content */
.related-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.related-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.related-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-content li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.related-content li:last-child {
    border-bottom: none;
}

.related-content a {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-content a:hover {
    color: var(--primary-color);
}

.related-content a::before {
    content: "→";
    color: var(--accent-color);
}

/* Call to Action Box */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    opacity: 0.95;
    margin-bottom: 1rem;
}

.cta-box .btn {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-box .btn:hover {
    transform: scale(1.05);
}

/* Sticky Social Bar (Mobile) */
@media (max-width: 768px) {
    .sticky-social {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 10px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        display: flex;
        justify-content: center;
        gap: 15px;
        z-index: 1000;
    }

    .sticky-social a {
        width: 40px;
        height: 40px;
    }
}

/* Dark mode support */
[data-theme="dark"] .social-share {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

[data-theme="dark"] .related-content {
    background: #2d3748;
}

[data-theme="dark"] .related-content li {
    border-bottom-color: #4a5568;
}
