/* ============================================
   Article Individual Page Styles
   ============================================ */

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Article Header
   ============================================ */

.artigo-header {
    padding-top: 120px;
    padding-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: var(--transition);
    font-weight: 500;
}

.back-link:hover {
    color: var(--color-primary);
}

.artigo-meta-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.artigo-title-main {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.artigo-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   Featured Image
   ============================================ */

.artigo-featured-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 3rem;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.2);
}

.artigo-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Article Body
   ============================================ */

.artigo-body {
    padding: 2rem 0 4rem;
}

.artigo-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.artigo-content .lead {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.artigo-content p {
    margin-bottom: 1.5rem;
}

.artigo-content h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.artigo-content h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.artigo-content strong {
    color: var(--color-text);
    font-weight: 600;
}

.artigo-content em {
    color: var(--color-primary);
    font-style: normal;
}

.artigo-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.artigo-content li {
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
}

.artigo-content blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: var(--color-neutral);
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text);
}

/* ============================================
   Video Section
   ============================================ */

.video-container {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--color-neutral);
    border-radius: 8px;
}

.video-container h3 {
    margin-top: 0 !important;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   CTA Section
   ============================================ */

.artigo-cta {
    margin: 3rem 0;
    padding: 3rem;
    background: var(--color-neutral);
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.artigo-cta:hover {
    border-color: var(--color-primary);
}

.artigo-cta h3 {
    margin-top: 0 !important;
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.artigo-cta p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ============================================
   Share Section
   ============================================ */

.artigo-share {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-neutral);
}

.artigo-share h4 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
    border-color: #0077B5;
}

.share-btn.linkedin:hover {
    background: transparent;
    color: #0077B5;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.share-btn.twitter:hover {
    background: transparent;
    color: #1DA1F2;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.share-btn.whatsapp:hover {
    background: transparent;
    color: #25D366;
}

/* ============================================
   Navigation
   ============================================ */

.artigo-navigation {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-neutral);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .container-narrow {
        padding: 0 1.5rem;
    }

    .artigo-header {
        padding-top: 100px;
    }

    .artigo-title-main {
        font-size: 2rem;
    }

    .artigo-subtitle {
        font-size: 1.1rem;
    }

    .artigo-content {
        font-size: 1rem;
    }

    .artigo-content .lead {
        font-size: 1.2rem;
    }

    .artigo-content h2 {
        font-size: 1.6rem;
    }

    .artigo-cta {
        padding: 2rem 1.5rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .artigo-title-main {
        font-size: 1.75rem;
    }

    .artigo-subtitle {
        font-size: 1rem;
    }

    .artigo-content h2 {
        font-size: 1.4rem;
    }

    .artigo-cta h3 {
        font-size: 1.5rem;
    }
}

