/* Ümumi stil */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #004080;
    color: #fff;
    padding: 10px 20px;
}
.site-header .logo {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
.header-right a {
    color: #fff;
    margin-left: 10px;
    text-decoration: none;
}
.menu-icon {
    font-size: 22px;
    cursor: pointer;
    margin-right: 15px;
}

/* Mobil menyu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #003366;
}
.mobile-menu a {
    padding: 10px;
    color: #fff;
    border-bottom: 1px solid #002244;
    text-decoration: none;
}
.mobile-menu.active {
    display: flex;
}

/* Layout */
.container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    padding: 15px;
    gap: 20px;
}
.left-sidebar {
    flex: 1;
}
.right-content {
    flex: 3;
}

/* Login box */
.login-box {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.login-box input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
}
.login-box button {
    width: 100%;
    padding: 8px;
    background: #004080;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* News list */
.news-list {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}
.news-list ul {
    list-style: none;
    padding: 0;
}
.news-list li {
    margin: 5px 0;
}
.news-list a {
    text-decoration: none;
    color: #004080;
}

/* Search box */
.search-box {
    background: #fff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
}
.search-box input {
    width: 80%;
    padding: 8px;
}
.search-box button {
    padding: 8px 10px;
    background: #004080;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Category table */
.category-news {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}
.category-news table {
    width: 100%;
}
.category-news td {
    padding: 10px;
    text-align: center;
}
.category-news a {
    text-decoration: none;
    color: #004080;
    font-weight: bold;
}

/* Footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: #004080;
    color: #fff;
    margin-top: 20px;
}
.site-footer a {
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
}
/* Search page */
.search-page {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.search-page h2 {
    margin-bottom: 10px;
}
.search-form {
    display: flex;
    gap: 10px;
}
.search-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.search-form button {
    padding: 8px 15px;
    background: #004080;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Results */
.search-results {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}
.search-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.search-item:last-child {
    border-bottom: none;
}
.search-item h4 {
    margin: 0;
}
.search-item h4 a {
    color: #004080;
    text-decoration: none;
}
.search-meta {
    font-size: 12px;
    color: #777;
    margin: 5px 0;
}
.not-found {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 6px;
}
/* Shortstory */
.shortstory {
    display: flex;
    gap: 15px;
    background: #fff;
    margin: 10px 0;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.shortstory:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Şəkil */
.short-img {
    flex: 0 0 200px;
    max-width: 200px;
}
.short-img img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* Məzmun */
.short-content {
    flex: 1;
}
.short-title {
    margin: 0 0 5px;
    font-size: 18px;
}
.short-title a {
    text-decoration: none;
    color: #004080;
}
.short-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}
.short-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.short-readmore a {
    background: #004080;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}
.short-readmore a:hover {
    background: #0066cc;
}
.fullstory {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.full-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #004080;
}
.full-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}
.full-img img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
}
.full-text {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 20px;
}
.full-tags {
    margin-bottom: 15px;
    font-size: 14px;
}
.full-tags a {
    text-decoration: none;
    color: #004080;
    margin-right: 5px;
}
.full-share {
    margin-bottom: 20px;
}
.full-share a {
    color: #004080;
    text-decoration: none;
    margin-right: 10px;
}
.full-share a:hover {
    text-decoration: underline;
}
.related-news {
    margin-top: 20px;
}
.related-news h3 {
    margin-bottom: 10px;
}
.related-news ul {
    list-style: none;
    padding: 0;
}
.related-news li {
    margin-bottom: 6px;
}
.related-news li a {
    color: #004080;
    text-decoration: none;
}
.related-news li a:hover {
    text-decoration: underline;
}


/* Related News */
.related-news {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.related-news h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #004080;
}
.related-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.related-news li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.related-news li:last-child {
    border-bottom: none;
}
.related-news a {
    color: #004080;
    text-decoration: none;
}
.related-news a:hover {
    text-decoration: underline;
}
.related-date {
    font-size: 12px;
    color: #777;
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .related-news h3 {
        font-size: 16px;
    }
    .related-news li {
        font-size: 13px;
    }
}


/* Main navigation */
.main-navigation {
    background: #004080;
    border-radius: 6px;
    margin-bottom: 20px;
}
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.main-navigation li {
    position: relative;
}
.main-navigation > ul > li {
    margin-right: 20px;
}
.main-navigation a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.main-navigation a:hover {
    background: #0066cc;
    border-radius: 4px;
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0050a0;
    border-radius: 6px;
    min-width: 150px;
    z-index: 999;
    flex-direction: column;
}
.submenu li {
    margin: 0;
}
.submenu a {
    padding: 8px 12px;
    color: #fff;
}
.main-navigation li:hover > .submenu {
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
    }
    .main-navigation > ul > li {
        margin-right: 0;
    }
    .submenu {
        position: relative;
        top: 0;
        left: 0;
    }
}

/* User info box */
.user-box {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 14px;
}

.user-greeting {
    margin-bottom: 10px;
    font-weight: bold;
    color: #004080;
}

.user-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.user-links li {
    margin-bottom: 6px;
}
.user-links li a {
    text-decoration: none;
    color: #004080;
    transition: color 0.3s;
}
.user-links li a:hover {
    color: #0066cc;
}

/* Responsive */
@media (max-width: 768px) {
    .user-box {
        font-size: 13px;
        padding: 12px;
    }
}

