:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff6b35;
    --accent-color: #ffd166;
    --text-color: #f0f0f0;
    --hover-color: #ff8c5a;
    --bg-color: #0d0d0d;
    --card-bg: #222222;
    --transition: all 0.25s ease;
    --header-gradient: linear-gradient(to right, #1a1a1a, #262626);
    --footer-gradient: linear-gradient(to right, #1a1a1a, #262626);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 15px;
    background-image: none;
}

header {
    background: var(--primary-color);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

a {
    text-decoration: none;
	color: #ff6b35;
}

.news-x-found-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    padding: 0 20px;
}

.news-x-found-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.main-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3px;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    padding: 10px 18px;
    border-radius: 6px;
    background: #2a2a2a;
    border: 1px solid #444;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    background: #333;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: none;
}

.nav-link.active {
    background: #3a3a3a;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.nav-link i {
    font-size: 13px;
    margin-left: 5px;
    opacity: 0.9;
}

.mobile-menu-btn {
    display: none;
    background: #2a2a2a;
    border: 1px solid #444;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: #333;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

main {
    margin-top: 90px;
    padding: 25px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: 70vh;
}

h1 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    position: relative;
    font-family: var(--font-heading);
}

h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

h2 {
    font-size: 22px;
    margin: 25px 0 20px;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    position: relative;
    font-family: var(--font-heading);
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.news-x-found-gallery-grid {
    column-count: 4;
    column-gap: 18px;
    margin: 25px 0;
}

.news-x-found-gallery-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 18px;
    border: 1px solid #444;
    break-inside: avoid;
    position: relative;
}

.news-x-found-gallery-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
    transform: translateY(-3px);
}

.news-x-found-gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
	min-height: 140px;
}

.news-x-found-gallery-info {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 8px 12px;
    background: rgba(34, 34, 34, 0.9);
    text-align: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    z-index: 2;
}

.news-x-found-gallery-title {
    font-size: 12px;
    margin: 0;
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 11px;
}

.news-x-found-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
    justify-content: center;
}

.news-x-found-item {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 10px 18px;
    transition: var(--transition);
    border: 1px solid #444;
    flex: 0 1 auto;
    text-align: center;
    max-width: 200px;
}

.news-x-found-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-x-found-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    font-size: 13px;
    transition: var(--transition);
}

.news-x-found-link:hover {
    color: var(--secondary-color);
}

/* Footer - Redesigned */
footer {
    background: #1a1a1a;
    padding: 40px 20px 30px;
    margin-top: 50px;
    border-top: 3px solid var(--secondary-color);
    position: relative;
}

.footer-container-news-x-found {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.news-x-found-footer-links-col {
    flex: 1;
    min-width: 200px;
    padding: 0;
    background: transparent;
    border: none;
}

.news-x-found-footer-links-col h3 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    font-weight: 600;
    border-bottom: 1px solid #444;
    font-family: var(--font-heading);
    position: relative;
}

.news-x-found-footer-links-col h3::before {
    content: '»';
    position: absolute;
    left: -10px;
    color: var(--secondary-color);
}

.news-x-found-footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-x-found-footer-link {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    padding: 6px 0;
    border-bottom: 1px dashed #444;
}

.news-x-found-footer-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 12px;
    color: #888;
    width: 100%;
    line-height: 1.6;
}

.copyright p {
    margin-bottom: 8px;
    font-style: italic;
}

.news-x-found-info-section {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #444;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        background: #2a2a2a;
        border: 1px solid #444;
        color: var(--text-color);
        font-size: 18px;
        cursor: pointer;
        padding: 10px 14px;
        border-radius: 6px;
        transition: var(--transition);
    }

    .mobile-menu-btn:hover {
        background: #333;
        border-color: var(--secondary-color);
        color: var(--secondary-color);
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #1a1a1a;
        padding: 80px 20px 40px;
        flex-direction: column;
        z-index: 1001;
        overflow-y: auto;
        transition: left 0.3s ease;
        border-right: 2px solid #333;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .main-nav.show {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 8px;
        background: #2a2a2a;
        border: 1px solid #444;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-link:hover {
        background: #333;
        border-color: var(--secondary-color);
        color: var(--secondary-color);
        transform: none;
        padding-left: 20px;
    }

    .nav-link.active {
        background: #3a3a3a;
        border-color: var(--secondary-color);
        color: var(--secondary-color);
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
    }

    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: #333;
        border: 1px solid #444;
        color: var(--text-color);
        width: 40px;
        height: 40px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        cursor: pointer;
        transition: var(--transition);
        z-index: 1002;
    }

    .mobile-menu-close:hover {
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        color: #1a1a1a;
    }
}

@media (max-width: 800px) {
    .news-x-found-gallery-grid {
        column-count: 3;
        column-gap: 15px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 20px;
        margin: 20px 0 15px;
    }
    
    main {
        margin-top: 80px;
        padding: 20px;
    }
    
    .news-x-found-header-container {
        padding: 0 15px;
        height: 65px;
    }
    
    .news-x-found-logo-img {
        height: 45px;
    }
    
    .footer-container-news-x-found {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .news-x-found-gallery-grid {
        column-count: 2;
        column-gap: 12px;
    }
    
    .news-x-found-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
        gap: 8px;
        margin: 20px 0;
    }
    
    .news-x-found-item {
        padding: 8px 12px;
        max-width: none;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .news-x-found-link {
        font-size: 12px;
        text-align: center;
        line-height: 1.3;
    }
    
    h1 {
        font-size: 20px;
        padding-bottom: 12px;
    }
    
    h2 {
        font-size: 18px;
        margin: 18px 0 12px;
    }
    
    .footer-container-news-x-found {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-x-found-footer-links-col {
        min-width: 100%;
    }
    
    footer {
        padding: 30px 15px 20px;
    }
    
    .main-nav {
        width: 250px;
        padding: 70px 15px 30px;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .mobile-menu-close {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .news-x-found-gallery-grid {
        column-count: 2;
        column-gap: 10px;
    }
    
    .news-x-found-grid {
        grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
        gap: 6px;
    }
    
    .news-x-found-item {
        padding: 6px 8px;
        min-height: 35px;
    }
    
    .news-x-found-link {
        font-size: 11px;
    }
    
    .news-x-found-logo-img {
        height: 40px;
    }
    
    .news-x-found-header-container {
        padding: 0 10px;
        height: 60px;
    }
    
    h1 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 16px;
        margin: 15px 0 10px;
    }
    
    .news-x-found-gallery-info {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 6px 8px;
    }
    
    .news-x-found-gallery-title {
        font-size: 10px;
    }
    
    .news-x-found-footer-link {
        font-size: 12px;
    }
    
    .copyright {
        font-size: 11px;
        padding: 15px 10px 0;
        margin-top: 25px;
    }
}

@media (max-width: 360px) {
    .news-x-found-gallery-grid {
        column-count: 1;
    }
    
    .news-x-found-grid {
        grid-template-columns: 1fr;
    }
    
    .news-x-found-item {
        padding: 5px 6px;
        min-height: 30px;
    }
    
    .news-x-found-link {
        font-size: 10px;
    }
    
    .main-nav {
        width: 100%;
        border-right: none;
    }
}

.news-x-found-gallery-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.news-x-found-slider-container {
    position: relative;
    width: 90%;
    height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-x-found-slider-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.news-x-found-slider-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    background: #333;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid #666;
    z-index: 2001;
}

.news-x-found-slider-close:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.news-x-found-slider-prev,
.news-x-found-slider-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(51, 51, 51, 0.8);
    color: white;
    border: 1px solid #666;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
}

.news-x-found-slider-prev:hover,
.news-x-found-slider-next:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.news-x-found-slider-prev {
    left: 20px;
}

.news-x-found-slider-next {
    right: 20px;
}

.news-x-found-slider-counter {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-color);
    font-size: 13px;
    background: rgba(51, 51, 51, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #666;
}

@media (max-width: 768px) {
    .news-x-found-slider-prev,
    .news-x-found-slider-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .news-x-found-slider-prev {
        left: 10px;
    }
    
    .news-x-found-slider-next {
        right: 10px;
    }
    
    .news-x-found-slider-close {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 15px;
        right: 15px;
    }
    
    .news-x-found-slider-counter {
        bottom: 20px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (min-width: 993px) {
    .mobile-menu-close {
        display: none !important;
    }
}

/* Footer specific styles */
.news-x-found-footer-links-col:first-child {
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
}

.news-x-found-footer-links-col:last-child {
    border-right: 3px solid var(--secondary-color);
    padding-right: 15px;
}

.footer-container-news-x-found:last-child {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

/* Smooth hover effects */
.nav-link,
.news-x-found-item,
.news-x-found-footer-link {
    transition: all 0.2s ease;
}