/* Article Specific Styles */
.article-hero {
    padding: 120px 0 60px;
    background-color: #f8f9fa;
}

.article-meta-top {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta-top .category {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-right: 15px;
}

.article-meta-top .date {
    color: #666;
    font-size: 0.9rem;
    margin-right: auto;
}

.share-buttons {
    display: flex;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
}

.share-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.article-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 25px;
}

.author-box {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.author-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.author-title {
    font-size: 0.9rem;
    color: #666;
}

/* Author section styles for article header */
.author-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.author-info {
    display: flex;
    align-items: center;
}

.author-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details strong {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.author-details span {
    font-size: 0.85rem;
    color: #666;
}

.social-share {
    display: flex;
    align-items: center;
}

.social-share .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    margin-left: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.social-share .share-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sidebar Related Posts Styling */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #fff;
    border-radius: var(--border-radius);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-post:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.related-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
    flex-shrink: 0;
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.post-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h4 a:hover {
    color: var(--primary-color);
}

.post-date {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}

/* Widget Styling */
.widget {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.widget h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.author-widget .author-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.author-widget .author-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-bio h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.author-bio p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    color: white;
    border: none;
}

.newsletter-widget h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Article image styles */
.article-image {
    width: 100%;
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.article-image caption {
    display: block;
    padding: 15px 20px;
    background-color: #f8f9fa;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
    border-top: 1px solid #eee;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin: 50px auto;
}

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

.article-main-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

figcaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

.article-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    font-weight: 500;
}

.article-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--secondary-color);
}

.article-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin: 0 0 25px 20px;
}

.article-content li {
    margin-bottom: 10px;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    background-color: #f5f7fa;
    font-style: italic;
    color: #555;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    font-family: 'Georgia', serif;
    position: absolute;
    opacity: 0.1;
    top: -20px;
    left: 10px;
}

blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-style: normal;
    color: #666;
}

.article-tags {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.article-tags span {
    margin-right: 10px;
    font-weight: 500;
    color: #555;
}

.article-tags a {
    display: inline-block;
    background-color: #eee;
    color: #555;
    padding: 5px 15px;
    border-radius: 30px;
    margin: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.article-tags a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.article-comments {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-comments h3 {
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    resize: vertical;
}

.article-sidebar {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.sidebar-block {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.sidebar-block h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--secondary-color);
}

.sidebar-author-content {
    text-align: center;
}

.sidebar-author-content img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.sidebar-author-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.sidebar-author-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.sidebar-articles .sidebar-article {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-articles .sidebar-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-article img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.sidebar-article h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.sidebar-article .date {
    font-size: 0.8rem;
    color: #888;
}

.sidebar-form {
    display: flex;
    flex-direction: column;
}

.sidebar-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.related-articles {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.related-articles h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* Advertisement Styling */
.ad-banner-top, .ad-banner-bottom {
    background-color: #f0f0f0;
    padding: 15px 0;
    text-align: center;
}

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

.ad-placeholder {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    border-radius: var(--border-radius);
    border: 1px dashed #bbb;
}

.ad-placeholder.tall {
    height: 600px;
}

.ad-in-content {
    margin: 30px 0;
}

.ad-text {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-ad {
    padding: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
}

/* Responsive Design for Articles */
@media screen and (max-width: 992px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
        margin-top: 50px;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .article-meta-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-meta-top .date {
        margin: 10px 0;
    }
    
    .share-buttons {
        margin-top: 10px;
    }
    
    .share-btn {
        margin-left: 0;
        margin-right: 10px;
    }
    
    .author-section {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .author-info {
        margin-bottom: 15px;
    }
    
    .social-share {
        width: 100%;
        justify-content: center;
    }
    
    /* Related Articles Mobile Responsiveness */
    .related-articles {
        padding: 50px 0;
    }
    
    .related-articles h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    /* Widget Mobile Responsiveness */
    .widget {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .widget h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .author-widget .author-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-widget .author-card img {
        width: 60px;
        height: 60px;
        align-self: center;
    }
    
    .related-post {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .related-post img {
        width: 100%;
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .post-content h4 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .newsletter-form {
        gap: 12px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Page-specific styles for About and Contact pages */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    color: white;
    text-align: center;
    padding: 100px 0 80px;
    margin-top: 0;
}

.page-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* About page styles */
.about-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-main {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    background-color: white;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.coverage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.coverage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.coverage-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.coverage-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.coverage-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.editorial-list {
    list-style: none;
    padding: 0;
}

.editorial-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
    line-height: 1.6;
}

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

.editorial-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team-member h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.team-member .role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.team-member p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.member-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact page styles */
.contact-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2,
.contact-form h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 30px;
}

.contact-method div h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-method div p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-message {
    margin-top: 20px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.success-message i {
    margin-right: 8px;
    color: #28a745;
}

/* Mobile responsiveness for About and Contact pages */
@media screen and (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .about-section,
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
}
