.page-data-wrap :where(h1, h2, h3, h4, h5, h6, ul, ol, blockquote, li, p)+*:not(:empty) {
    margin-top: clamp(10px, .95vw, 12px);
}

.page-data-wrap>*+ :where(h1, h2, h3):not(:empty),
.page-data-wrap>* + hr {
    margin-top: clamp(32px, 3.15vw, 50px);
}

.page-data-wrap>*+ :where(h4, h5, h6):not(:empty) {
    margin-top: clamp(24px, 2.15vw, 30px);
}

.page-data-wrap ul {
    list-style: inherit;
    padding-left: 20px;
}

.page-data-wrap :where(ul, ol) li {
    font-size: clamp(15px, 1vw, var(--gwsi-fs-17));
    line-height: 1.3;
}

.page-data-wrap :where(h1, h2, h3, h4, h5, h6) {
    font-weight: 500;
    color: var(--gwsi-black);
    line-height: 1.25;
    letter-spacing: 0.05em;
}

.page-data-wrap :where(h1, h2, h3) {
    font-size: clamp(28px, 2.95vw, var(--gwsi-fs-44));
}

.page-data-wrap h4 {
    font-size: clamp(21px, 1.5vw, var(--gwsi-fs-24));
}

.page-data-wrap :where(h5, h6) {
    font-size: clamp(18px, 1.25vw, var(--gwsi-fs-20));
}

.page-data-wrap blockquote {
    background-color: var(--gwsi-indigo-50);
    padding: clamp(20px, 1.75vw, 24px);
    font-style: italic;
    color: var(--gwsi-black);
    width: fit-content;
}

.page-data-wrap a {
    text-decoration: underline;
}

.page-data-wrap a:hover {
    color: var(--gwsi-primary);
}
/*** Blog Page/Index.php ***/

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.blog-card .single-page-data-inner {
    margin: 0;
}

.blog-card .single-page-title {
    font-size: 36px;
    margin-bottom: 0;
}

.blog-card .single-page-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .single-page-title a:hover {
    color: #4f46e5;
}

.blog-card .single-product-img {
    overflow: hidden;
    border-radius: 20px;
}

.blog-card .single-product-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.blog-card:hover .single-product-img img {
    transform: scale(1.04);
}

.blog-card .single-page-content {
    margin-top: 20px;
}

.blog-card .single-page-content p {
    margin-bottom: 0;
}

.blog-card-btn-wrap {
    margin-top: auto;
    padding-top: 10px;
}

.theme-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: #312e81;
    color: #fff;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.blog-pagination a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

.blog-pagination a:hover {
    color: #4f46e5;
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .blog-card .single-page-title {
        font-size: 30px;
    }

    .blog-card .single-product-img img {
        height: 240px;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-card .single-page-title {
        font-size: 26px;
    }

    .blog-card .single-product-img img {
        height: auto;
    }

    .blog-pagination .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }
}


/*** Single.php ****/

.single-product-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.single-page-data-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.single-page-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.single-page-content p {
    margin-bottom: 20px;
}

.single-page-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 16px;
}