﻿:root {
    --primary: #005890;
    --greyLight: #23adbee1;
    --greyLight-2: #cbd3e0;
    --greyDark: #2d3c48;
}

.newsletter-item {
    background-color: white;
    text-align: center;
    margin: 10px;
    box-shadow: 0px 2px 12px rgb(0 0 0 / 8%);
    transition: all 300ms;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/2;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .newsletter-item .newsletter-blurred-cover {
        position: absolute;
        background-size: cover;
        width: 100%;
        height: 100%;
        filter: blur(8px);
    }

    .newsletter-item .newsletter-cover {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        transition: all 300ms;
        max-height: 100%;
        max-width: 100%;
    }

    .newsletter-item:hover .newsletter-cover {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
        transition: all 300ms linear;
    }

.newsletter-toast {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    border: none !important;
    opacity: 0.9 !important;
    background-color: green;
    max-width: none !important
}

.newsletter-date {
    position: absolute;
    background: rgba(6, 12, 34, 0.70);
    left: 0;
    right: auto;
    top: 0;
    transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    padding: 6px 10px 6px 10px;
    color: white;
    font-size: 0.75rem;
    box-shadow: 0px 2px 12px rgb(0 0 0 / 20%);
    border-end-end-radius: 10px;
}

.newsletter-details {
    position: absolute;
    background: rgba(6, 12, 34, 0.70);
    left: 0;
    right: 0;
    bottom: -40px;
    transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    padding: 10px 4px 4px 4px;
}

    .newsletter-details:hover {
        background: rgba(6, 12, 34, 0.9);
        bottom: 0;
        color: white;
    }

    .newsletter-details .newsletter-title {
        color: white;
        font-weight: 700;
        font-size: 1.33rem;
        margin-bottom: 10px;
    }

    .newsletter-details .newsletter-date {
        color: white;
        font-weight: 700;
    }

    .newsletter-details .newsletter-share {
        padding-bottom: 10px;
    }

        .newsletter-details .newsletter-share div {
            display: inline;
        }

            .newsletter-details .newsletter-share div svg {
                color: white;
                margin: 0 4px 0 4px;
            }

                .newsletter-details .newsletter-share div svg:hover {
                    color: #428bb9;
                }


.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}
.pagination-container {
    background-color: #273651;
    border-radius: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-top:30px;
    padding:0;
}

.pagination-outer {
    text-align: center;
    width: 100%;

}

.pagination {
    font-family: 'Kodchasan', sans-serif;
    border-radius: 40px;
    border: 2px solid var(--primary);
    overflow: hidden;
    display: inline-flex;
    position: relative;
    margin: 0px;
    width: 100%;
}
    .pagination .page-item {
        width: 100%;
    }
    .pagination li a.page-link {
        color: #fff;
        background-color: transparent;
        font-size: 22px;
        font-weight: 600;
        text-align: center;
        line-height: 43px;
        height: 45px;
        width: 55px;
        width: 100%;
        padding: 0;
        border: none;
        border-radius: 0;
        position: relative;
        z-index: 1;
    }
        .pagination li.active {
            pointer-events: none;
        }
        .pagination li.active a.page-link,
        .pagination li a.page-link:hover,
        .pagination li.active a.page-link:hover {
            color: #fff;
            background: transparent;
            border: none;
        }

        .pagination li a.page-link:before,
        .pagination li a.page-link:after {
            content: '';
            height: 100%;
            width: 100%;
            border: 1px solid #000;
            border-top: none;
            border-bottom: none;
            transform: skewX(-16deg);
            position: absolute;
            left: 0;
            top: 0;
            z-index: -1;
            transition: all 0.3s;
        }

        .pagination li a.page-link:after {
            background-color: var(--primary);
            border: none;
            border-radius: 50%;
            transform: skewX(-16deg) scale(0);
        }

        .pagination li.active a.page-link:after,
        .pagination li a.page-link:hover:after,
        .pagination li.active a.page-link:hover:after {
            border-radius: 0;
            transform: skewX(-16deg) scale(1);
        }

    .pagination li:first-child a.page-link:before,
    .pagination li:last-child a.page-link:before {
        display: none;
    }

    .pagination li:first-child a.page-link:after {
        left: -1px;
    }

    .pagination li:last-child a.page-link:after {
        left: auto;
        right: -1px;
    }