/* =====================
   Header
   ===================== */
.page-blog header {
    position: relative;
}

.page-blog .main {
    background: #ffffff;
}

/* =====================
   Page Header
   ===================== */
.page-blog .blog-page-header {
    padding: 60px 0 40px;
    background: #ffffff;
    text-align: center;
}

.page-blog .blog-page-header .blog-page-title {
    font-family: "Rainer", sans-serif;
    font-size: 71px;
    font-weight: 700;
    color: #071209;
    letter-spacing: 2px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 16px;
}

.page-blog .blog-page-header .blog-page-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(7, 18, 9, 0.7);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

/* =====================
   Grid
   ===================== */
.page-blog .row-articles {
    row-gap: 26px;
}

.page-blog .row-articles .col-md-6 {
    display: flex;
}

/* =====================
   Card
   ===================== */
.page-blog .article {
    background: #ffffff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 0;
    transition: background-color 0.25s ease;
    cursor: pointer;
}

.page-blog .article:hover {
    background-color: #f4f4f4;
}

.page-blog .article .img-container {
    width: 100%;
    aspect-ratio: 560 / 202;
    overflow: hidden;
    border: 1px solid rgba(7, 18, 9, 0.2);
    margin-bottom: 12px;
    height: auto;
}

.page-blog .article .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-blog .article .info {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 4px;
    min-height: unset;
    position: static;
}

.page-blog .article .title {
    font-size: 26px;
    font-weight: 600;
    color: #071209;
    line-height: 1.2;
    margin: 0 0 16px 0;
    text-align: left;
}

.page-blog .article .rb-blog-meta {
    font-size: 14px;
    font-weight: 600;
    color: #071209;
    margin: 0 0 24px 0;
    text-align: left;
}

.page-blog .article p {
    font-size: 16px;
    line-height: 24px;
    color: rgba(7, 18, 9, 0.7);
    margin-bottom: 0;
    text-align: left;
}

/* =====================
   Filter Pills
   ===================== */
.page-blog .rb-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 0 40px 0;
}

.page-blog .rb-blog-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid #071209;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #071209;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.page-blog .rb-blog-filter:hover {
    transform: translateY(-1px);
    border-color: #43AE58;
    color: #071209;
    text-decoration: none;
}

.page-blog .rb-blog-filter.is-active {
    background: #43AE58;
    border-color: #43AE58;
    color: #fff;
}

/* =====================
   Pagination
   ===================== */
.page-blog .wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.page-blog .wp-pagenavi .pages,
.page-blog .wp-pagenavi .extend,
.page-blog .wp-pagenavi .last,
.page-blog .wp-pagenavi .first {
    display: none;
}

.page-blog .wp-pagenavi .current,
.page-blog .wp-pagenavi .page {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(9, 9, 17, 0.2);
    font-size: 0;
    display: block;
    text-decoration: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

.page-blog .wp-pagenavi .current {
    background: #43AE58;
}

.page-blog .wp-pagenavi .nextpostslink,
.page-blog .wp-pagenavi .previouspostslink {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(9, 9, 17, 0.2);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: transparent;
    transition: background 120ms ease;
    margin: 0 12px;
    padding: 0;
    box-shadow: none;
    background: none;
    position: relative;
    overflow: hidden;
    text-indent: -9999px;
}


.page-blog .wp-pagenavi .previouspostslink::before {
    content: "‹";
    font-size: 18px;
    color: #071209;
    line-height: 1;
    display: block;
    text-indent: 0;
    position: absolute;
}

.page-blog .wp-pagenavi .nextpostslink::before {
    content: "›";
    font-size: 18px;
    color: #071209;
    line-height: 1;
    display: block;
    text-indent: 0;
    position: absolute;
}

.page-blog .wp-pagenavi .nextpostslink:hover,
.page-blog .wp-pagenavi .previouspostslink:hover {
    background: #f4f4f4;
}

@media (max-width: 767px) {
    .page-blog .article {
        height: auto;
    }
    .page-blog .article .title {
        font-size: 20px;
    }
    .page-blog .rb-blog-filters {
        display: none;
    }
}

@media (max-width: 480px) {
    .page-blog .blog-page-header .blog-page-title {
        font-size: 42px;
    }
}