/* N24 V44 — 2026-11-06
   V41/V42 previously applied padding-bottom: 92/110px!important to every
   .news-grid. This included the homepage latest-news grid, pushing the
   "Daha çox" button far below the final card.
   Fix only the direct grid/pagination within latest-section.
   Do not alter advertisement slots, slider, article bodies or sidebar cards.
*/
html body .primary-column > .latest-section > .news-grid {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}
html body .primary-column > .latest-section > .pagination {
    padding: 18px 0 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}
/* Keep the normal column gap between latest news and sidebar on phones,
   without the extra 110px main-area padding introduced by V41/V42. */
@media (max-width: 760px) {
    html body main.main-layout:has(> .primary-column > .latest-section) {
        padding-bottom: 24px !important;
    }
    html body .primary-column > .latest-section > .pagination {
        padding-top: 18px !important;
    }
}
