/* BLOG MAIN */
.filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: flex-end;
}
.filter {
    position: relative;
}
.filter-toggle {
    border-radius: 2px;
    border: 1px solid #000;
    padding: 12px 20px;
    width: 17rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.2s all;
    gap: 15px;
}
.filter-toggle:hover {
    color: var(--primaryColor);
    border-color: var(--primaryColor);
}
.filter-toggle span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.filter-toggle span p {
    padding: 0 !important;
    margin-bottom: -5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 11rem;
}
.filter-content {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #000;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    position: absolute;
    left: 0;
    right: 0;
    margin-top: -3px;
}
.filter-content.active {
    transform: scaleY(1);
    opacity: 1;
    z-index: 2;
}
.filter-content label {
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.filter-content label input {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.filter-content label input:checked {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
}
.filter-content label input:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    transform: rotate(45deg);
    height: 11px;
    width: 6px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.blog-post .img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 19rem;
    display: block;
}
.blog-post img {
    border-radius: 6px;
    height: 19rem;
    transition: 0.4s all;
    z-index: 0;
}

.blog-post img:hover {
    transform: scale(1.03);
}

.blog-post span {
    border-radius: 80px;
    background: #293035;
    font-size: 0.75rem;
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    padding:0.5rem 2rem;
    border-radius: 25px;
    z-index: 1;
    color: white;
}

.blog-post h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.3rem;
    margin-top: 1rem;
    line-height: 130%;
    letter-spacing: -0.44px;
}

.pagination {
    margin-top: 4rem;
    text-align: center;
    display: flex;
    justify-content: center;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 1rem 0;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 16px 7px;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.2s all;
}

.pagination .current {
    background-color: var(--primaryColor);
    color: #fff;
}

.pagination .page-numbers:hover {
    background-color: #7c3e4d7d;
}

/* SINGLE */

.blog-header {
    position: relative;
    padding: 12rem 0 4rem;
    background-size: contain;
    background-repeat: repeat;
    background-color: var(--primaryColor);
}

.blog-header-content {
    display: flex;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.blog-header-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 40%;
    width: 40%;
    justify-content: space-between;
}
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.blog-breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.blog-header-info h1 {
    font-size: 3rem;
    line-height: 120%;
    color: #fff;
}
.blog-header-meta {
    display: flex;
    gap: 5px;
    color: #fff;
    font-size: 0.8rem;
    flex-wrap: wrap;
}
.blog-header-meta p {
    color: white;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.categories span {
    background-color: var(--primaryColor);
    color: white;
    padding: 5px 11px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: default;
}


.blog-header-image {
    flex: 1;
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

@media (min-width:981px) {
    .single-post .content {
        max-width: 800px;
        margin: 0 auto;
    }
}

.blog-footer {
    border-top: 1px solid #000;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.blog-footer a {
    color: var(--primaryColor);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}