:root {
    --primary_background: #CA0822;
    --primary_color: #CA0822;
    --primary_font_family: Arial;
}

/* Overwrite the atra theme style */
body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

body.ast-separate-container {
    background-color: #fff;
}

#ast-scroll-top {
    background-color: var(--primary_background);
}

/* Global css */
.custom-container {
    max-width: 1184px;
}

/* Header css */
nav {
    background-color: var(--primary_background);
}

nav .mobile-search-link {
    display: none;
}

nav .navbar-brand img {
    width: 284px;
}

nav ul.navbar-nav {
    gap: 16px;
}

nav .mobile-menu {
    display: none;
}

nav .mobile-menu .social-icons {
    gap: 24px;
}

nav .mobile-menu .social-icons a {
    color: white;
    font-size: 24px;
}

nav ul.navbar-nav li,
nav ul.navbar-nav li a {
    margin: 0 !important;
    padding: 0 !important;
}

nav ul.navbar-nav li a {
    font: 700 14px var(--primary_font_family);
    color: #fff;
    text-transform: capitalize;
}

nav ul.navbar-nav li a:hover {
    color: #fff;
}

nav ul.navbar-nav li a.search-btn-link {
    cursor: pointer;
    line-height: 36px;
}

nav form {
    top: 35px;
    box-shadow: 0px 0 5px 1px rgb(0 0 0 / 34%);
    display: none;
    width: max-content;
}

nav form.search-model input {
    padding: 4px 10px;
    border: 0;
}

nav form.search-model input::placeholder {
    color: #969696;
    font: 400 12px var(--primary_font_family);
    line-height: 13.8px;
}

nav form.search-model input:focus-visible {
    border: 0;
    outline: 0;
}

/* Main section css */
.posts-loop {
    padding-bottom: 40px;
    flex: 1;
}

.posts-loop h1.page-heading {
    line-height: 48px;
    font: 700 40px var(--primary_font_family);
    padding: 40px 0;
}

.posts-loop .row:nth-child(2) {
    gap: 32px 18px;
}

.posts-loop .card {
    width: calc((100% - 54px) /3);
    padding: 0;
}

.posts-loop .card-image img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 255px;
}

.posts-loop .card-content .card-header {
    background-color: transparent;
    border: 0;
    padding: 12px 0 8px;
}

.posts-loop .card-content .card-header a.card-category {
    text-decoration: none;
    color: var(--primary_color);
    font: 700 16px var(--primary_font_family);
    line-height: 18px;
    padding-right: 16px;
}

.posts-loop .card-content .card-header span.post-date {
    color: #646464;
    line-height: 14px;
    font: 400 12px var(--primary_font_family);
}

.posts-loop .card-content .card-link a {
    font: 700 20px var(--primary_font_family);
    line-height: 24px;
    color: #000;
    text-decoration: none;
}

/* Center the pagination and load more button */
.pagination,
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Center the pagination and load more button */
.pagination,
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Style the pagination links */
.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    color: #ca0822;
    text-decoration: none;
    border: 1px solid #ca0822;
    border-radius: 5px;
}

.pagination .page-numbers.current {
    background-color: #ca0822;
    color: #fff;
    border-color: #ca0822;
}

.pagination .page-numbers:hover {
    background-color: #a3061b;
    color: #fff;
    border-color: #a3061b;
}

/* Style the load more button */
#load-more {
    background-color: #ca0822;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 20px;
}

#load-more:hover {
    background-color: #a3061b;
}

/* Footer section */
footer {
    background-color: var(--primary_background);
    padding-top: 36px;
    padding-bottom: 15px;
}

footer a img.site-logo {
    width: 284px;
}

footer .social-icons a {
    color: #fff;
    font-size: 24px;
}

footer a.about-info {
    font: 700 12px var(--primary_font_family);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

footer .footer-links {
    margin-left: 0;
    padding-left: 0;
}

footer .footer-links li {
    list-style: none;
}

footer .footer-links li a {
    color: #fff;
    line-height: 13.8px;
    font: 700 12px var(--primary_font_family);
    text-transform: uppercase;
    text-decoration: none;
}

footer .custom-container .row:nth-child(1) {
    padding: 0 50px;
}

footer .social-icons-box {
    row-gap: 10px;
}

footer .social-icons-box .social-icons {
    column-gap: 18px;
}