/* DIS Base Styles - Professional Template System */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.brand .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.1);
}

.main-nav a.active {
    background: rgba(255,255,255,0.2);
}

/* Main Content */
.hero {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
}

/* Articles Grid */
.articles-section {
    padding: 3rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.read-more {
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Article Page */
.article-page {
    background: white;
    padding: 3rem 0;
}

.article-page .container {
    max-width: 800px;
}

.article-page h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-page .article-meta {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.article-page .article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-page .article-content h1 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.article-page .article-content h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem 0;
    color: #333;
}

.article-page .article-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem 0;
    color: #444;
}

.article-page .article-content h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.6rem 0;
    color: #555;
}

.article-page .article-content ul, 
.article-page .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-page .article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

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

.article-page .article-content strong {
    font-weight: 600;
    color: #333;
}

.article-page .article-content em {
    font-style: italic;
    color: #555;
}

.article-page .lead {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
    border-left: 4px solid #ddd;
    padding-left: 1rem;
}

/* Article Tables */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.article-table th,
.article-table td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    text-align: left;
}

.article-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.article-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Code and Pre blocks */
.article-page .article-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #d73a49;
}

.article-page .article-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Tags */
.article-tags {
    margin: 1rem 0 !important;
}

.tag {
    display: inline-block;
    background: rgba(0,0,0,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Related Articles */
.related-articles h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.related-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.related-card h4 {
    margin-bottom: 0.5rem;
}

.related-card h4 a {
    text-decoration: none;
}

.related-card h4 a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-page h1 {
        font-size: 1.8rem;
    }
}

/* Theme Styles */
/* Business Sales Theme - Professional and Authoritative */

.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero h1 {
    color: #667eea;
}

.article-image {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.read-more {
    color: #667eea;
}

/* Business-specific styling */
.business-icon {
    font-size: 1.2em;
    margin-right: 0.5rem;
}

.sales-category {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roi-metric {
    background: #e3f2fd;
    color: #1565c0;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin: 0.5rem 0;
}

.conversion-highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.conversion-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}