/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .article-card .article-title {
        margin-bottom: 10px;
    }

    .article-card .article-image {
        margin-bottom: 0;
        margin-left: 10px;
        width: 250px;
        flex: 0 0 250px;
    }

    .content-box {
        padding: 30px 10px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .footer {
        padding-top: 50px;
    }

    .main-links {
        display: block;
        height: auto;
        background: none;
    }

    .main-links > .container > .row > .col {
        width: auto;
    }

    .main-links .links-nav {
        height: 100px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .main-links-groups {
        display: flex;
    }

    .main-links-group {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }

    .main-links-logo {
        display: block;
        flex: 0 0 230px;
        width: auto;
        max-width: 100%;
        text-align: center;
    }

    .links-nav ul li a {
        padding: 0;
    }

    ul.links-nav-list {
        font-size: 0;
    }

    ul.links-nav-list li {
        display: inline-block;
        font-size: 14px;
        position: relative;
    }


    ul.links-nav-list li:not(:last-child) {
        margin-right: 10px;
        padding-right: 10px;
    }

    ul.links-nav-list li:not(:last-child)::before {
        content: "";
        background-image: url('/images/square.png');
        background-repeat: no-repeat;
        background-position: center;
        display: inline-block;
        width: 10px;
        position: absolute;
        height: 100%;
        right: 0;
        margin-right: -5px;
    }

    .links-nav-main {
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        text-align: center;
        display: flex;
        justify-content: space-around;
        width: 100%;
    }

    .links-nav-main a {
        color: #fff;
    }

    .header-bg {
        padding-bottom: 150px;
        margin-bottom: -150px;
        background-size: cover;
        background-position: center;
    }

    .header-bg::before {
        content: "";
        background: linear-gradient(to bottom, #fff, transparent, transparent);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .header-bg::after {
        content: "";
        background-image: url("/images/header-pattern.png");
        background-repeat: no-repeat;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-position: calc(100% + 180px) bottom;
        z-index: 0;
    }

    .header-slider {
        display: flex;
        position: relative;
        margin-top: 0;
    }

    .header-slider > div {
        width: 50%;
    }

    .header-slider .header-slider-posts {
        width: 50%;
        min-height: 365px;
        margin: 35px 35px 35px 0;
        z-index: 1;
    }

    .header-slider-posts-title {
        font-size: 40px;
    }

    .header-slider-posts-description {
        font-size: 18px;
    }

    .header-slider-carousel .flickity-button {
        transform: none;
        left: 0;
    }

    .header-slider-carousel .flickity-button.next {
        margin-left: 15px;
    }

    .header-slider .prayers-today {
        width: 50%;
        height: 365px;
        margin: 35px 0 35px 35px;
        padding: 30px 40px;
    }

    .prayers-today .prayers-today-date {
        right: 40px;
    }

    .content-box {
        border-radius: 30px;
        background-color: #fff;
        box-shadow: 0 5px 30px 0 rgba(23, 79, 72, 0.1);
        position: relative;
        padding: 60px 100px;
    }

    .news-carousel .carousel-cell {
        width: calc(50% - 40px);
    }

    .news-carousel .carousel-cell:not(:first-child) {
        margin-left: 80px;
    }

    .block-header {
        font-size: 36px;
    }

    .block-header.w-separator::before,
    .block-header.w-separator-lg::before {
        width: 185px;
    }

    .block-header.w-separator-lg::before,
    .block-header.w-separator-lg::after {
        display: inline;
    }

    .post .post-images {
        margin-top: 20px;
    }

    .post .post-images > * {
        margin-right: 20px;
    }

    .post .post-images a {
        display: inline-block;
    }

    .post .post-images img {
        width: auto;
    }

    .article-card .article-image {
        margin-left: 20px;
        width: 300px;
        flex: 0 0 300px;
    }

    .footer .footer-rights {
        text-align: left;
    }

    .footer .footer-rights .footer-pgrant {
        width: 400px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(calc(-50% - 10px));
    }

    .footer .footer-rights .footer-pgrant img {
        width: 100%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}
