.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 4rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.article-meta {
    margin-bottom: 2rem;
}

.article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-location {
    color: #ffd700 !important;
    font-weight: 500;
}

.article-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 900px;
}

.article-excerpt {
    font-size: 1.3rem;
    opacity: 0.9;
    font-style: italic;
    max-width: 800px;
    line-height: 1.5;
}

.article-image-bottom {
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 20px 20px;
}

.article-image-bottom img {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.article-content {
    padding: 4rem 0;
    background: #f8f9ff;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.article-main {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.content-wrapper {
    padding: 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

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

/* Content Typography - HTML Elements */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: #212529;
}

.content-wrapper h1:first-child,
.content-wrapper h2:first-child,
.content-wrapper h3:first-child {
    margin-top: 0;
}

.content-wrapper h1 {
    font-size: 2.2rem;
    color: #667eea;
}

.content-wrapper h2 {
    font-size: 1.9rem;
    color: #667eea;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.content-wrapper h3 {
    font-size: 1.6rem;
    color: #495057;
}

.content-wrapper h4 {
    font-size: 1.4rem;
    color: #495057;
}

.content-wrapper h5 {
    font-size: 1.2rem;
    color: #495057;
}

.content-wrapper h6 {
    font-size: 1.1rem;
    color: #495057;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.content-wrapper li strong {
    color: #667eea;
    font-weight: 600;
}

.content-wrapper a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid #667eea;
    transition: all 0.3s ease;
}

.content-wrapper a:hover {
    color: #5a6fd8;
    border-bottom-color: #5a6fd8;
}

.content-wrapper strong,
.content-wrapper b {
    font-weight: 600;
    color: #212529;
}

.content-wrapper em,
.content-wrapper i {
    font-style: italic;
}

.content-wrapper blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    font-style: italic;
    color: #495057;
}

.content-wrapper code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.content-wrapper pre {
    background: #2d3748;
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.content-wrapper pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.content-wrapper table th,
.content-wrapper table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.content-wrapper table th {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.content-wrapper table tr:nth-child(even) {
    background: #f8f9fa;
}

.content-wrapper hr {
    margin: 2rem 0;
    border: none;
    border-top: 2px solid #e9ecef;
}

.article-footer {
    padding: 3rem 4rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.article-tags {
    margin-bottom: 3rem;
}

.article-tags h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #667eea;
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
}

.share-section h4 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

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

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-widget p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: #764ba2;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-post {
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-post h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post h4 a:hover {
    color: #667eea;
}

.related-location {
    color: #667eea;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

.related-date {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.related-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* SaaS CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.cta-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.cta-icon i {
    font-size: 2.5rem;
    color: #ffd700;
}

.cta-widget h3 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-features {
    margin-bottom: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature i {
    color: #ffd700;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.contact-fallback {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-fallback .contact-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.contact-fallback .contact-link:hover {
    color: white;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.feature-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Success Stories Widget */
.success-widget {
    background: linear-gradient(135deg, #f8f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.success-stats {
    margin-bottom: 2rem;
}

.success-stat {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.testimonial-mini {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-mini p {
    font-style: italic;
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.testimonial-mini cite {
    color: #667eea;
    font-weight: 500;
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 6rem 0 3rem;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .article-info {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .content-wrapper {
        padding: 2.5rem;
    }
    
    .article-footer {
        padding: 2rem 2.5rem;
    }
    
    .sidebar-widget {
        padding: 2rem;
    }
    
    .social-share {
        justify-content: center;
    }
    
    .share-btn span {
        display: none;
    }
    
    .share-btn {
        width: 45px;
        height: 45px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }
}