/* News and Blog Pages - Simple Styles */

/* News List Page */
.news-page-label {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.news-list-container {
    margin-top: 2rem;
}

/* News Item Styles */
.news-item {
    display: flex;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    gap: 1rem;
}

.news-item-image-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
}

.news-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.category-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-item-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-title {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.news-item-title:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.news-item-publish {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-item-publish i {
    color: var(--primary-color);
}

.news-item-description {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* News View Page */
.news-article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.news-article-wrapper {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.news-article {
    position: relative;
}

.news-article-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.news-article h1 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.news-breadcrumbs {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.news-breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.news-breadcrumbs a:hover {
    text-decoration: underline;
}

.news-date-wrapper {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date-wrapper i {
    color: var(--primary-color);
}

.news-image-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.news-image-wrapper .news-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-description-wrapper {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
    margin: 2rem 0;
}

.news-description-wrapper p {
    margin-bottom: 1rem;
}

.news-description-wrapper h2,
.news-description-wrapper h3,
.news-description-wrapper h4 {
    color: var(--text-color);
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.news-description-wrapper ul,
.news-description-wrapper ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.news-description-wrapper li {
    margin-bottom: 0.5rem;
}

.news-additional-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.news-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.news-author .news-author-label {
    font-weight: 600;
    color: var(--text-color);
}

.news-author .news-author-name {
    color: var(--primary-color);
    font-weight: 500;
}

.news-source-url-wrapper {
    margin-bottom: 1rem;
}

.news-source-url-text {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 0.5rem;
}

.news-source-url-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
}

.news-source-url-wrapper a:hover {
    text-decoration: underline;
}

.news-links-wrapper {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.news-links-text {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 0.5rem;
}

.news-links-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 0.5rem;
}

.news-links-wrapper a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        padding: 1rem;
    }
    
    .news-item-image-wrapper {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .news-article h1 {
        font-size: 1.5rem;
    }
    
    .news-article-content {
        padding: 1rem 0.5rem;
    }
    
    .news-article-wrapper {
        padding: 1.5rem;
    }
    
    .news-additional-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .news-item {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .news-item-image-wrapper {
        height: 150px;
    }
    
    .news-article h1 {
        font-size: 1.3rem;
    }
    
    .news-article-wrapper {
        padding: 1rem;
    }
}

/* Blog Pages - Same styles as news but with blog- prefix */
.blog-page-label {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.blog-list-container {
    margin-top: 2rem;
}

.blog-item {
    display: flex;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    gap: 1rem;
}

.blog-item-image-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
}

.blog-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-item-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.blog-item-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-item-title {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.blog-item-title:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-item-publish {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-item-publish i {
    color: var(--primary-color);
}

.blog-item-description {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Blog View Page */
.blog-article-content {
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-article-wrapper {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.blog-article {
    position: relative;
}

.blog-article-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.blog-article h1 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.blog-breadcrumbs {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.blog-breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    text-decoration: underline;
}

.blog-date-wrapper {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-date-wrapper i {
    color: var(--primary-color);
}

.blog-image-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.blog-image-wrapper .blog-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-description-wrapper {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
    margin: 2rem 0;
}

.blog-description-wrapper p {
    margin-bottom: 1rem;
}

.blog-description-wrapper h2,
.blog-description-wrapper h3,
.blog-description-wrapper h4 {
    color: var(--text-color);
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.blog-description-wrapper ul,
.blog-description-wrapper ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.blog-description-wrapper li {
    margin-bottom: 0.5rem;
}

.blog-additional-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-author .blog-author-label {
    font-weight: 600;
    color: var(--text-color);
}

.blog-author .blog-author-name {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-source-url-wrapper {
    margin-bottom: 1rem;
}

.blog-source-url-text {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 0.5rem;
}

.blog-source-url-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-source-url-wrapper a:hover {
    text-decoration: underline;
}

/* Blog Responsive Design */
@media (max-width: 768px) {
    .blog-item {
        flex-direction: column;
        padding: 1rem;
    }
    
    .blog-item-image-wrapper {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .blog-article h1 {
        font-size: 1.5rem;
    }
    
    .blog-article-content {
        padding: 1rem 0.5rem;
    }
    
    .blog-article-wrapper {
        padding: 1.5rem;
    }
    
    .blog-additional-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-item {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .blog-item-image-wrapper {
        height: 150px;
    }
    
    .blog-article h1 {
        font-size: 1.3rem;
    }
    
    .blog-article-wrapper {
        padding: 1rem;
    }
}