﻿.section {
    margin-top: -70px !important;
    margin-bottom: -70px !important;
}

@media (max-width: 600px) {
    .section {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .container {
        padding-left: 2px !important;
        padding-right: 2px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .box, .notification {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .title {
        font-size: 1.0rem !important;
        text-align: center !important;
    }
}

/* Flex for news summary row */
.news-flex-box {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: stretch !important;
    gap: 18px;
    width: 97%;
    margin-bottom: 16px;
    padding: 10px;
    background: #f7faff;
    color: #222;
}

.news-img-box {
    min-width: 120px;
    max-width: 150px;
    width: 120px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

.news-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: #e3e3e3;
    min-height: 100px;
}

.news-flex-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .news-flex-box {
        flex-direction: column !important;
    }

    .news-img-box {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 12px;
    }

    .news-img {
        min-height: 180px;
    }
}

/* Pagination styles */
.pagination-link[style*="pointer-events:none"] {
    pointer-events: none !important;
    opacity: .5 !important;
}

.pagination-link.is-current {
    font-weight: bold;
}
