.single-layout-section .hero {
    display: grid;
    grid-template-columns: 70% 30%;
    padding: 2rem 0;
    grid-gap: 1rem;
}

.single-layout-section .hero .sub-posts {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-gap: 1rem;
    height: auto;
}

.post {
    width: 100%;
}

.hero .post {
    width: 100%;
    height: 41rem;
    position: relative;
}

.hero .half-post {
    height: 20rem !important;
}

.hero .post-bg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.post-bg-default {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--orange-color);
    z-index: -1;
    border-radius: 20px;
}

.post-bg-default:after {
    content: attr(data-content);
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    width: 90%;
    text-align: center;
    margin: auto;
}

.post-header {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.post-footer {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    font-size: 1rem;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 100%;
}

.card-img-bg-default {
    width: 100%;
    height: 250px;
    background-color: var(--light-orange);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: black;
}

.inner {
    margin-top: 2rem;
}


.articles_box .btn {
    background-color: var(--orange-color);
    border-radius: 100px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    padding: 11px 28px;
    color: #fff;
    transition: all 0.2s ease;
    position: absolute;
    bottom: 30px;
}


.articles_box img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.articles_box {
    position: relative;
}

.card-title {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    color: rgba(0, 0, 0, 0.8);
}

.card {
    border-radius: 20px;
    height: 550px;
}

.half-post .post-header {
    font-size: 12px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    margin: auto;
}

.pagination a {
    display: inline-block;
    margin-left: 1rem;
    color: #fff;
    background-color: var(--orange-color);
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.pagination a:hover {
    text-decoration: none;
}

.pagination a.disabled {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    pointer-events: none;
    cursor: default;
}