/* Minimal News - Style One CSS */

/* Reset and Base Styles */
* {
    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-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile-specific margin and padding adjustments */


a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #666;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 0px;
}
ul li{
    list-style: none;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 0;
        z-index: 100;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }
    
    .main-nav li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 8px;
        transition: all 0.3s ease;
    }
    
    .main-nav a:hover {
        background-color: #f5f5f5;
    }
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav a.active,
.main-nav a:hover {
    background-color: #f5f5f5;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px 0 0 3px;
    outline: none;
}

.search-box button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #555;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #333;
}

.breadcrumb a:hover {
    color: #666;
}

.page-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Featured Article */
.featured-article {
    margin-bottom: 50px;
    position: relative;
}

.featured-article img {
    border-radius: 5px;
    width: 100%;
    height: auto;
}



.article-content .category {
    display: inline-block;
    background-color: #fff;
    color: #333;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 3px;
    margin-bottom: 10px;
}



.article-content h2 a:hover {
    text-decoration: underline;
}

.excerpt {
    color: #4b4b4b;
    margin: 15px 0;
}

.meta {
    display: flex;
    font-size: 0.9rem;
    color: #ccc;
}

.meta span {
    margin-right: 15px;
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    gap: 30px;
}

/* Latest News */
.latest-news {
    flex: 2;
}

.section-title {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.news-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content .category {
    display: inline-block;
    background-color: #f5f5f5;
    color: #333;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 3px;
    margin-bottom: 10px;
}

.card-content h3 {
    margin-bottom: 10px;
}

.card-content h3 a {
    color: #222;
}

.card-content h3 a:hover {
    color: #444;
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Sidebar */
.sidebar {
    flex: 1;
    min-width: 250px;
}

.widget {
    background-color: #fafafa;
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.3rem;
}

.popular-posts {
    list-style: none;
}

.popular-posts li {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 15px;
}

.popular-posts a {
    color: #222;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.popular-posts a:hover {
    color: #444;
}

.popular-posts .date {
    font-size: 0.8rem;
    color: #888;
}

.categories {
    list-style: none;
}

.categories li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.categories li:last-child {
    border-bottom: none;
}

.categories a {
    display: flex;
    justify-content: space-between;
    color: #333;
}

.categories a:hover {
    color: #555;
}

.categories span {
    color: #888;
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
}

.pagination a:hover,
.pagination a.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* Article Content */
.article-title {
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.article-meta span {
    margin-right: 20px;
}

.article-meta .category {
    background-color: #f5f5f5;
    padding: 3px 8px;
    border-radius: 3px;
}

.featured-image {
    margin-bottom: 30px;
}

.featured-image img {
    border-radius: 5px;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.article-body {
    margin-bottom: 40px;
}

.article-body h2 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-body li {
    margin-bottom: 10px;
}

blockquote {
    border-left: 3px solid #333;
    padding: 20px;
    margin: 30px 0;
    background-color: #f9f9f9;
    font-style: italic;
}

blockquote p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

blockquote cite {
    display: block;
    text-align: right;
    font-weight: 600;
}

.article-tags,
.social-share {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.article-tags span,
.social-share span {
    font-weight: 600;
    margin-right: 15px;
}

.article-tags a,
.social-share a {
    display: inline-block;
    background-color: #f5f5f5;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 0.9rem;
}

.article-tags a:hover,
.social-share a:hover {
    background-color: #e0e0e0;
}

/* Page Content */
.page-content h2 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-content li {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    padding: 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    padding: 0 15px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section form {
    display: flex;
    flex-direction: column;
}

.footer-section input {
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 3px;
}

.footer-section button {
    background-color: #fff;
    color: #222;
    border: none;
    padding: 10px;
    border-radius: 3px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-section button:hover {
    background-color: #f0f0f0;
}

.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .featured-article {
        margin-bottom: 20px;
    }
    
    .content-wrapper {
        gap: 20px;
    }
    
    .news-grid {
        gap: 10px;
    }
    
    .card-content {
        padding: 10px;
    }
    
    .widget {
        padding: 10px;
        margin-bottom: 20px;
    }
    
    .popular-posts li {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .popular-posts img {
        margin-right: 10px;
    }
    
    .categories li {
        padding: 5px 0;
    }
    
    .pagination {
        margin-top: 20px;
    }
    
    .pagination a {
        padding: 8px 10px;
        margin: 0 3px;
    }
    
    .article-title {
        margin-bottom: 10px;
    }
    
    .article-meta {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .article-meta span {
        margin-right: 10px;
    }
    
    .featured-image {
        margin-bottom: 20px;
    }
    
    .article-body {
        margin-bottom: 20px;
    }
    
    .article-body h2 {
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .article-body p {
        margin-bottom: 10px;
    }
    
    blockquote {
        padding: 10px;
        margin: 20px 0;
    }
    
    .article-tags,
    .social-share {
        margin-bottom: 10px;
        padding: 10px 0;
    }
    
    .article-tags span,
    .social-share span {
        margin-right: 10px;
    }
    
    .article-tags a,
    .social-share a {
        padding: 3px 8px;
        margin-right: 8px;
    }
    
    .page-content h2 {
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .page-content h3 {
        margin-top: 15px;
        margin-bottom: 10px;
    }
    
    .page-content ul {
        margin-left: 20px;
        margin-bottom: 10px;
    }
    
    .page-content li {
        margin-bottom: 5px;
    }
    
    .footer-content {
        margin-bottom: 20px;
        gap: 20px;
    }
    
    .footer-section {
        padding: 0 10px;
    }
    
    .footer-section h3 {
        margin-bottom: 10px;
    }
    
    .footer-section p {
        margin-bottom: 10px;
    }
    
    .footer-section li {
        margin-bottom: 5px;
    }
    
    .footer-section input {
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .footer-section button {
        padding: 8px;
    }
    
    .main-nav ul {
        padding: 10px 0;
    }
    
    .main-nav li {
        margin: 5px 0;
    }
    
    .main-nav a {
        padding: 8px;
    }
    
    .breadcrumb {
        margin-bottom: 10px;
    }
    
    .page-title {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .article-content .category {
        padding: 3px 8px;
        margin-bottom: 8px;
    }
    
    .excerpt {
        margin: 10px 0;
    }
    
    .meta span {
        margin-right: 10px;
    }
    
    .section-title {
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
}
/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        /* width: 100%; */
        /* margin-top: 20px; */
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        background-color: #fff;
        padding: 20px 0;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .article-content h2 a {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .header-content {
        flex-direction: row;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-tags,
    .social-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}