/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Navigation Bar */
.navbar {
    background-color: #1a1a1a;
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6b6b;
}

.nav-search input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    width: 200px;
    outline: none;
}

/* Container Layout */
.container {
    max-width: 1400px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 2rem;
    padding: 0 2rem;
}

/* Sidebars */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ad-block {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ad-label {
    font-size: 0.7rem;
    color: #999;
    text-align: center;
    padding: 0.3rem;
    background: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.ad-content {
    padding: 2rem;
    text-align: center;
    color: white;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.ad-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.ad-content button {
    background: white;
    color: #333;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.ad-content button:hover {
    transform: scale(1.05);
}

/* Trending Section */
.trending-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.trending-section h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.trending-list {
    list-style: none;
}

.trending-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.trending-list a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.trending-list a:hover {
    color: #ff6b6b;
}

/* Main Article */
.article-main {
    background: white;
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.article-category {
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

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

.article-meta .author {
    font-weight: 600;
}

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

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-caption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

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

/* Trigger Word Styling */
.trigger-word {
    color: #333;
    cursor: text;
}

/* Inline Ad */
.inline-ad {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid #e0e0e0;
}

.inline-ad .ad-content {
    padding: 1.5rem;
    min-height: auto;
    font-size: 1rem;
}

/* Article Tags */
.article-tags {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Share Section */
.article-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.article-share h4 {
    margin-bottom: 1rem;
    color: #333;
}

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

.share-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
    color: white;
}

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

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: #666; }

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.related-articles h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-card {
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

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

.related-card img,
.related-card video {
    width: 15%;
    min-width: 15%;
    max-width: 15%;
    height: 75px;
    min-height: 75px;
    max-height: 75px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.7rem;
}

.related-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.card-meta {
    font-size: 0.85rem;
    color: #999;
}

/* Newsletter Section */
.newsletter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.newsletter-section h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.newsletter-section p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-section input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 0.7rem;
    outline: none;
}

.newsletter-section button {
    width: 100%;
    padding: 0.7rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-section button:hover {
    background: #ff5252;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    margin-top: 3rem;
    padding: 2rem 0 1rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff6b6b;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .sidebar {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem;
    }
    
    .container {
        margin: 1rem auto;
        padding: 0 0.75rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-main {
        padding: 1.5rem 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .nav-search {
        display: none;
    }
    
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .article-main {
        padding: 1rem 0.75rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.3rem;
    }
}

