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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sticky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    flex: 0 0 150px;
}

.logo img {
    max-height: 40px;
}

.main-nav {
    flex: 1;
    margin: 0 20px;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0px;
}

.main-nav a {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #000;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Search Styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    padding: 5px;
    z-index: 10;
}

/* Search Form Container */
.search-form-container {
    position: absolute;
    top: 80px;
    /* Height of header */
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-form-container.active {
    position: sticky;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-form {
    display: flex;
    width: 100%;
    height: 60px;
    padding: 10px 0;
}

.search-form input {
    flex: 1;
    border: 1px solid #ddd;
    border-right: none;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
}

.search-form button {
    width: 60px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: none;
    cursor: pointer;
    color: #333;
    font-size: 18px;
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    z-index: 1002;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-search {
    padding: 20px;
    border-top: 1px solid #eee;
}

.mobile-search form {
    display: flex;
    width: 100%;
}

.mobile-search input {
    flex: 1;
    border: 1px solid #ddd;
    border-right: none;
    padding: 0 15px;
    height: 40px;
    font-size: 14px;
    outline: none;
}

.mobile-search button {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: none;
    cursor: pointer;
    color: #333;
}

/* Main Content Layout */
main.container {
    display: flex;
    gap: 0px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.content-wrapper {
    flex: 1;
}

.sidebar {
    width: 300px;
}

/* Featured News Styles */
.featured-news {
    position: relative;
    margin-bottom: 30px;
    border-radius: 5px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-slide {
    position: relative;
    height: 400px;
}

.featured-image {
    height: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.category {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.featured-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.timestamp {
    font-size: 12px;
    color: #ccc;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.nav-dot.active {
    background-color: #fff;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.section-header h2 {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.index-link {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.index-link i {
    font-size: 12px;
}


.current-issue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.current-issue-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.current-issue-item:hover {
    transform: translateY(-5px);
}

.current-issue-image {
    height: 200px;
}

.current-issue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-issue-content {
    padding: 15px;
}

.current-issue-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.popular-image video {
    width: 100% !important;
    height: 80px;
    border-radius: 0.3rem;
    object-fit: contain;
}

/* Latest News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.news-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
}

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

.news-content {
    padding: 15px;
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Popular News Sidebar */
.sidebar {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.popular-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.popular-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.popular-content h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.advertisement {
    margin-top: 30px;
}

/* Footer Styles */
footer {
    background-color: #000;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-logo {
    flex: 0 0 200px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #000;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 10px;
    }

    .main-nav a {
        font-size: 12px;
    }

    main.container {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sticky-header .container {
        height: 60px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .current-issue-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* Category Page Styles */

/* Category Wrapper */
.category-wrapper {
    flex: 1;
    margin-right: 30px;
}

/* Category Header */
.category-header {
    margin-bottom: 30px;
}

.category-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.category-breadcrumb {
    font-size: 14px;
    color: #666;
}

.category-breadcrumb a {
    color: #666;
    transition: color 0.3s ease;
}

.category-breadcrumb a:hover {
    color: #000;
}

.category-breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
}

/* Featured Category Article */
.category-featured {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.category-featured-image {
    height: 400px;
}

.category-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.category-featured-content {
    padding: 20px;
}

.category-tag {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.category-featured-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.category-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.category-date i,
.category-author i {
    margin-right: 5px;
}

.category-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.category-read-more {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.category-read-more:hover {
    background-color: #000;
}

/* Category List */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-list-item {
    display: flex;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-list-item:hover {
    transform: translateY(-5px);
}

.category-list-image {
    width: 300px;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0px;
    font-weight: 600;
    text-transform: capitalize;
}

.category-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 255px;
}

.article-featured-image video {
    max-height: 550px !important;
}

.category-list-image video {
    width: 100% !important;
    height: 255px;
    background-color: black;
    object-fit: contain;
}

.category-list-content {
    padding: 20px;
    flex: 1;
}

.category-list-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.category-list-content h3 a {
    color: #333;
    transition: color 0.3s ease;
}

.category-list-content h3 a:hover {
    color: #000;
}

/* Category Pagination */
.category-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 5px;
}

.category-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 3px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.category-pagination a:hover {
    background-color: #eee;
}

.category-page-active {
    background-color: #000 !important;
    color: #fff !important;
}

.category-page-next {
    width: 40px;
    height: 40px;
}

/* Category Sidebar */
.category-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.category-widget {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.category-widget-header {
    padding: 15px 20px;
    border-bottom: 2px solid #000;
}

.category-widget-header h3 {
    font-size: 18px;
    color: #333;
}

.category-widget-content {
    padding: 20px;
}

.category-widget-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.category-widget-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-widget-number {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.category-widget-text h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.category-widget-text h4 a {
    color: #333;
    transition: color 0.3s ease;
}

.category-widget-text h4 a:hover {
    color: #000;
}

.category-widget-meta {
    font-size: 12px;
    color: #666;
}

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}

.category-tag-item {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.category-tag-item:hover {
    background-color: #000;
    color: #fff;
}

.category-advertisement {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    main.container {
        flex-direction: column;
    }

    .category-wrapper {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .category-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .category-list-item {
        flex-direction: column;
    }

    .category-list-image {
        width: 100%;
        height: 200px;
    }
}

/* Article Page Styles */

/* Article Wrapper */
.article-wrapper {
    flex: 1;
    margin-right: 30px;
}

/* Article Breadcrumb */
.article-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.article-breadcrumb a {
    color: #666;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #000;
}

.article-breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
}

.article-category {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.article-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.article-date i {
    margin-right: 5px;
}

.article-share {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.article-share-icon:hover {
    background-color: #000;
    color: #fff;
}

/* Article Featured Image */
.article-featured-image {
    margin-bottom: 30px;
    position: relative;
}

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

.article-image-caption {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Article Content */
.article-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.article-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.article-content p:first-child {
    font-weight: bold;
}

.article-quote {
    font-size: 24px;
    line-height: 1.6;
    font-style: italic;
    color: #000;
    border-left: 4px solid #000;
    padding-left: 20px;
    margin: 30px 0;
}

.article-subheading {
    font-size: 24px;
    margin: 30px 0 20px;
    color: #333;
}

.article-image {
    margin: 30px 0;
}

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

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    align-items: center;
}

.article-tags-label {
    font-weight: bold;
    color: #333;
}

.article-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background-color: #000;
    color: #fff;
}

/* Article Author Bio */
.article-author-bio {
    display: flex;
    gap: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.article-author-bio-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.article-author-bio-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.article-author-bio-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Related Articles */
.article-related {
    margin-bottom: 30px;
}

.article-related-heading {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-related-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.article-related-image {
    height: 150px;
}

.article-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-related-content {
    padding: 15px;
}

.article-related-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-related-content h3 a {
    color: #333;
    transition: color 0.3s ease;
}

.article-related-content h3 a:hover {
    color: #000;
}

.article-related-date {
    font-size: 12px;
    color: #666;
}

/* Article Sidebar */
.article-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.article-widget {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.article-widget-header {
    padding: 15px 20px;
    border-bottom: 2px solid #000;
}

.article-widget-header h3 {
    font-size: 18px;
    color: #333;
}

.article-widget-content {
    padding: 20px;
}

.article-widget-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-widget-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.article-widget-number {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.article-widget-text h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.article-widget-text h4 a {
    color: #333;
    transition: color 0.3s ease;
}

.article-widget-text h4 a:hover {
    color: #000;
}

.article-widget-meta {
    font-size: 12px;
    color: #666;
}

/* Latest News in Sidebar */
.article-latest-list {
    padding: 20px;
}

.article-latest-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-latest-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.article-latest-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.article-latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.article-latest-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.article-latest-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.article-latest-content h4 a {
    color: #333;
    transition: color 0.3s ease;
}

.article-latest-content h4 a:hover {
    color: #000;
}

.article-latest-date {
    font-size: 12px;
    color: #666;
}

.article-advertisement {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    main.container {
        flex-direction: column;
    }

    .article-wrapper {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .article-sidebar {
        width: 100%;
    }

    .article-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-share {
        margin-left: 0;
    }

    .article-title {
        font-size: 28px;
    }

    .article-content {
        padding: 20px;
    }

    .article-content p {
        font-size: 16px;
    }

    .article-quote {
        font-size: 20px;
    }

    .article-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .article-related-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        padding: 0px 55px;
    }
}

/* Search Page Styles */

/* Search Wrapper */
.search-wrapper {
    flex: 1;
    margin-right: 30px;
}

/* Search Header */
.search-header {
    margin-bottom: 30px;
}

.search-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.search-query {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.search-query strong {
    color: #333;
}

/* Search Form Inline */
.search-inline {
    margin-bottom: 20px;
}

.search-inline form {
    display: flex;
    max-width: 600px;
}

.search-inline input {
    flex: 1;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 16px;
    outline: none;
}

.search-inline button {
    width: 45px;
    background-color: #000;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

/* Search Filters */
.search-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.search-filter-label {
    font-weight: bold;
    color: #333;
}

.search-filter-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-filter-options a {
    color: #666;
    transition: color 0.3s ease;
}

.search-filter-options a:hover,
.search-filter-active {
    color: #000 !important;
    font-weight: bold;
}

.search-sort {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-sort label {
    color: #333;
}

.search-sort select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: none;
}

/* Search Results */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    display: flex;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.search-result-item:hover {
    transform: translateY(-5px);
}

.search-result-image {
    width: 200px;
    flex-shrink: 0;
}

.search-result-image img,.search-result-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 255px;
}

.search-result-content {
    padding: 20px;
    flex: 1;
}

.search-result-category {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.search-result-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.search-result-content h3 a {
    color: #333;
    transition: color 0.3s ease;
}

.search-result-content h3 a:hover {
    color: #000;
}

.search-result-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.search-result-date i {
    margin-right: 5px;
}

.search-result-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Highlight search terms */
.search-result-excerpt mark {
    background-color: #ffffa0;
    padding: 0 2px;
}

/* Search Pagination */
.search-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 5px;
}

.search-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 3px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.search-pagination a:hover {
    background-color: #eee;
}

.search-page-active {
    background-color: #000 !important;
    color: #fff !important;
}

.search-page-next {
    width: 40px;
    height: 40px;
}

/* Search Sidebar */
.search-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.search-widget {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-widget-header {
    padding: 15px 20px;
    border-bottom: 2px solid #000;
}

.search-widget-header h3 {
    font-size: 18px;
    color: #333;
}

/* Related Searches */
.search-related-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-related-item {
    display: block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.search-related-item:hover {
    background-color: #000;
    color: #fff;
}

/* Popular Searches */
.search-popular-list {
    padding: 20px;
}

.search-popular-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.search-popular-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.search-popular-number {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.search-popular-term {
    font-size: 14px;
}

.search-popular-term a {
    color: #333;
    transition: color 0.3s ease;
}

.search-popular-term a:hover {
    color: #000;
}

.search-advertisement {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    main.container {
        flex-direction: column;
    }

    .search-wrapper {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .search-sidebar {
        width: 100%;
    }

    .search-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-sort {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .search-result-item {
        flex-direction: column;
    }

    .search-result-image {
        width: 100%;
        height: 200px;
    }

    .search-inline form {
        max-width: 100%;
    }
}

.footer-logo img {
    height: 55px;
}

.footer-seperator {
    display: flex;
    justify-content: space-between;
}
