/* Agrintesa Content Manager Styles */

.news-soci-latest,
.news-soci-category-archive {
    margin: 20px 0;
}

.news-soci-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.news-soci-item h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.news-soci-item h3 a {
    text-decoration: none;
    color: #333;
}

.news-soci-item h3 a:hover {
    color: #0073aa;
}

.news-date {
    color: #666;
    font-size: 12px;
    margin-right: 10px;
}

.news-author {
    color: #666;
    font-size: 12px;
}

.news-excerpt {
    margin: 10px 0;
    line-height: 1.5;
}

.news-categories {
    margin: 15px 0;
}

.news-categories h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.category-links {
    list-style: none;
    padding: 0;
}

.category-links li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
}

.category-links a {
    text-decoration: none;
    color: #0073aa;
    padding: 3px 8px;
    border: 1px solid #0073aa;
    border-radius: 3px;
    font-size: 12px;
}

.category-links a:hover {
    background-color: #0073aa;
    color: white;
}

.category-tag {
    background-color: #e6e6e6;
    color: #333;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-right: 5px;
}

.news-content {
    margin-top: 20px;
}

/* Single News Soci Shortcode Styles */
.news-soci-single {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-back-link {
    margin-bottom: 20px;
}

.news-back-link .back-link {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f8f9fa;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.news-back-link .back-link:hover {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}

.news-soci-single-item {
    width: 100%;
}

.news-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.news-title {
    font-size: 32px;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #333;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-meta .news-date {
    font-size: 14px;
    margin-right: 0;
}

.news-meta .news-author {
    font-size: 14px;
}

.news-meta .news-categories {
    margin: 0;
}

.news-meta .news-categories .category-tag {
    background-color: #0073aa;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
}

.news-thumbnail {
    margin-bottom: 30px;
    text-align: center;
}

.news-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-content {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.news-content h1, .news-content h2, .news-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.news-content h1 {
    font-size: 24px;
}

.news-content h2 {
    font-size: 20px;
}

.news-content h3 {
    font-size: 18px;
}

.news-content p {
    margin-bottom: 15px;
}

.news-content ul, .news-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.news-content blockquote {
    border-left: 4px solid #0073aa;
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.news-excerpt-summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
    margin-top: 30px;
}

.news-excerpt-summary strong {
    color: #0073aa;
}

.news-soci-single .entry-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.news-soci-single .entry-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #333;
}

.news-soci-single .entry-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-soci-single .entry-meta .published {
    margin-right: 15px;
}

.news-soci-single .entry-meta .author {
    margin-right: 15px;
}

.news-soci-single .news-categories {
    margin-top: 10px;
}

.news-soci-single .categories-label {
    font-weight: bold;
    margin-right: 8px;
}

.news-soci-single .category-link {
    background-color: #f0f0f0;
    color: #333;
    padding: 4px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
    margin-right: 5px;
}

.news-soci-single .category-link:hover {
    background-color: #0073aa;
    color: white;
}

.news-soci-single .entry-thumbnail {
    margin-bottom: 30px;
    text-align: center;
}

.news-soci-single .entry-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.news-soci-single .entry-content {
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 30px;
}

.news-soci-single .post-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-soci-single .nav-links {
    display: flex;
    justify-content: space-between;
}

.news-soci-single .nav-previous,
.news-soci-single .nav-next {
    flex: 1;
    padding: 10px;
}

.news-soci-single .nav-next {
    text-align: right;
}

.news-soci-single .nav-links a {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.news-soci-single .nav-links a:hover {
    text-decoration: underline;
}

/* Breadcrumb Styles */
.news-breadcrumb {
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
}

.news-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}

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

.news-breadcrumb .breadcrumb-separator {
    color: #666;
    margin: 0 8px;
}

.news-breadcrumb .breadcrumb-current {
    color: #333;
    font-weight: bold;
}

/* Taxonomy Archive Template Styles */
.news-categories-navigation {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.news-categories-navigation h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.news-categories-navigation .category-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-categories-navigation .category-links li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 8px;
}

.news-categories-navigation .category-links a {
    display: inline-block;
    padding: 8px 12px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-categories-navigation .category-links a:hover {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}

.news-categories-navigation .category-links .current-category a {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}

.news-categories-navigation .post-count {
    font-size: 12px;
    opacity: 0.7;
}

.news-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.news-posts-grid .news-soci-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.news-posts-grid .news-soci-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.news-posts-grid .news-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-posts-grid .news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-posts-grid .news-content {
    padding: 15px;
}

.news-posts-grid .entry-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.news-posts-grid .entry-title a {
    color: #333;
    text-decoration: none;
}

.news-posts-grid .entry-title a:hover {
    color: #0073aa;
}

.news-posts-grid .entry-meta {
    color: #666;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-posts-grid .entry-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.news-posts-grid .entry-footer {
    border-top: 1px solid #eee;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-posts-grid .post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.news-posts-grid .category-tag {
    background-color: #f0f0f0;
    color: #333;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    text-decoration: none;
}

.news-posts-grid .category-tag:hover {
    background-color: #0073aa;
    color: white;
}

.news-posts-grid .read-more {
    color: #0073aa;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

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

.no-posts-found {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.no-posts-found h2 {
    color: #666;
    margin-bottom: 10px;
}

.no-posts-found p {
    color: #888;
    margin-bottom: 15px;
}

.no-posts-found a {
    color: #0073aa;
    text-decoration: none;
}

.no-posts-found a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-soci-item {
        padding: 10px;
    }
    
    .category-links li {
        display: block;
        margin-bottom: 10px;
    }
    
    .news-soci-item h3 {
        font-size: 16px;
    }
    
    .news-soci-single {
        padding: 10px;
    }
    
    .news-soci-single .entry-title {
        font-size: 24px;
    }
    
    .news-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .news-soci-single .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-soci-single .nav-next {
        text-align: left;
    }
    
    .news-categories-navigation .category-links li {
        display: block;
        margin-bottom: 10px;
    }
}