/* ================================
   TABLET & MOBIL EKRANLAR
================================== */

/* Tablet və orta ekranlar (max 992px) */
@media (max-width: 992px) {
    .container {
        display: flex;
        flex-direction: row; /* sütunlar yan-yana */
        flex-wrap: wrap;     /* sıxışma olmasın */
        gap: 10px;
    }

    .left-sidebar {
        flex: 1 1 30%;       /* sol sütun kiçik */
        max-width: 30%;
        box-sizing: border-box;
    }

    .right-content {
        flex: 1 1 68%;       /* sağ sütun böyük */
        max-width: 68%;
        box-sizing: border-box;
    }

    .search-box input {
        width: 100%;          /* axtarış input tam genişlik */
    }
}

/* Kiçik mobil ekranlar (max 768px) */
@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .left-sidebar {
        flex: 1 1 35%;       /* sol sütun bir az daha böyük saxlanır */
        max-width: 35%;
    }

    .right-content {
        flex: 1 1 63%;       /* sağ sütun daha böyük */
        max-width: 63%;
    }

    .search-box input {
        width: 100%;
    }

    /* Header və mobil menyu */
    .site-header {
        flex-direction: row;
        padding: 10px;
    }

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-right {
        font-size: 14px;
    }

    .menu-icon {
        display: inline-block;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        background: #004080;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .mobile-menu.active {
        display: flex;
    }
}

/* Kiçik mobil ekranlar (max 480px) */
@media (max-width: 480px) {
    .left-sidebar,
    .right-content {
        flex: 1 1 100%; /* çox kiçik ekranda sütunlar alt-üst olur */
        max-width: 100%;
    }

    .logo img {
        max-width: 150px;
        height: auto;
    }

    .header-right {
        font-size: 12px;
    }

    .search-box input {
        width: 100%;
    }

    .category-news table td {
        padding: 6px;
        font-size: 14px;
    }

    .login-box input,
    .login-box button {
        font-size: 14px;
    }
}