main {
    min-height: 60vh;
}

.project-one__content {
    right: 20px !important;
}

.main-menu__list>.active a {
    color: var(--pitoon-base) !important;
}

.project-one__title-box {
    padding: 16px !important;
}

.page-header {
    padding: 150px 0 50px !important;
}

.project-one__img-box,
.ad_single {
    display: block;
    border-radius: 16px !important;
    overflow: hidden;
    width: 120px !important;
}

.project-one__category .project-one__img-box {
    width: 100% !important;
}

.project-one__single {
    width: 100%;
}

.project-one__img img,
.ad_img img {
    width: 100% !important;
    aspect-ratio: 4/7 !important;
    filter: unset !important;
    object-fit: cover !important;
}

.project-one__img-box::after {
    background-color: transparent !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.project-one__img::before {
    content: unset;
}

.project-details__pagination .counts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.project-details__pagination .count a {
    height: 52px;
    width: 52px;
    border-radius: 100px;
    background-color: rgb(245, 243, 238);
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--pitoon-black);
}

.project-details__pagination .count a:hover,
.project-details__pagination .count.active a {
    background-color: var(--pitoon-base);
}

.project-details__pagination .count a:hover i {
    background-color: transparent !important;
}

.team-details__img img {
    mix-blend-mode: unset;
}

.ad_content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    color: #fff;
    z-index: 1;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.0));
}

.ad_img-box {
    position: relative;
}

.ad_icon-box {
    height: 150px;
    width: 150px;
    position: absolute;
    top: 0px;
    display: flex;
    align-items: start;
    justify-content: end;
    right: 0px;
    padding: 5px;
    background-image: linear-gradient(to bottom left, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.0) 40%);
}

.ad_icon {
    height: 30px;
}

.ad_title {
    font-size: 14px;
    line-height: 120%;
    font-weight: 600;
    margin-bottom: 8px;
}

.ad_description {
    font-size: 10px;
    line-height: 120%;
}

.blog-sidebar__title a {
    color: #fff !important;
}


.blog-sidebar__title a:hover {
    color: var(--pitoon-base) !important;
}

.blog-sidebar__img img {
    mix-blend-mode: unset !important;
}

.sidebar__post-image img {
    border-radius: 4px;
    height: 100px !important;
    width: 80px !important;
    object-fit: cover;
    aspect-ratio: 1/1;
    filter: unset !important;
    mix-blend-mode: unset !important;
}

.blog-details__text-1 {
    color: antiquewhite !important;
    font-weight: 400 !important;
}

.blog-details__content * {
    color: #fafafa !important;
}

.blog-details__img-box img {
    mix-blend-mode: unset !important;
}

/* WP CSS */

/* General Spacing for Block Elements */
.wp-block {
    margin-bottom: 1.5rem;
    /* Adds bottom margin to all block elements */
}

/* Section or Group of Blocks */
.wp-block-group,
.wp-block-columns {
    margin-bottom: 2rem;
    /* Adds bottom margin between sections/groups */
}

/* Spacing between blocks in columns */
.wp-block-column {
    margin-bottom: 1rem;
    /* Adds margin between columns */
}

/* Paragraph Spacing */
.wp-block-paragraph {
    margin-bottom: 1.25rem;
    /* Adds spacing between paragraphs */
}

/* Heading Spacing */
.wp-block-heading {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    /* Adds spacing after each heading */
}

/* Image Spacing */
.wp-block-image {
    margin-bottom: 1.5rem;
    /* Adds margin below images */
}

.wp-block-image img {
    max-width: 100%;
    /* Ensures the image doesn't overflow */
}

/* List Spacing */
.wp-block-list {
    margin-bottom: 1.5rem;
    /* Adds spacing below lists */
}

.wp-block-list li {
    margin-bottom: 0.5rem;
    /* Adds spacing between list items */
}

/* Quote Block Spacing */
.wp-block-quote {
    margin-bottom: 2rem;
    /* Adds bottom margin for blockquotes */
}

/* Spacer Block (if using the Spacer block) */
.wp-block-spacer {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Button Block */
.wp-block-button {
    margin-bottom: 1.5rem;
    /* Adds margin below buttons */
}

.wp-block-button__link {
    padding: 0.75rem 1.5rem;
    /* Adds padding for button links */
}

/* Cover Block */
.wp-block-cover {
    margin-bottom: 2rem;
    /* Adds margin below cover blocks */
}

/* Table Block */
.wp-block-table {
    margin-bottom: 1.5rem;
    /* Adds margin below tables */
}

/* Gallery Block */
.wp-block-gallery {
    margin-bottom: 2rem;
    /* Adds margin below galleries */
}

.wp-block-gallery figure {
    margin-bottom: 1.5rem;
    /* Adds spacing between gallery images */
}

/* Embed Block */
.wp-block-embed {
    margin-bottom: 1.5rem;
    /* Adds margin below embedded media */
}

/* Code Block */
.wp-block-code {
    margin-bottom: 1.5rem;
    /* Adds bottom margin below code blocks */
}

/* Separator Block (Horizontal line) */
.wp-block-separator {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Cover Block Content */
.wp-block-cover__image-background {
    margin-bottom: 1.5rem;
    /* Adds spacing between cover image and content */
}

/* Alignment for Centered Content */
.wp-block-aligncenter {
    margin-left: auto;
    margin-right: auto;
}

/* Alignment for Wide Content */
.wp-block-alignwide {
    margin-left: auto;
    margin-right: auto;
}



.row>.col {
    flex-grow: 0;
}

.psc {
    width: 100% !important;
    max-width: 100% !important;
}

.psc .custom-search-form {
    background-color: transparent !important;
    overflow: visible !important;
}

.psc .contact-page__input-box {
    margin-bottom: 0 !important;
}

.psc.search-popup__content .thm-btn {
    height: 66px !important;
    width: 66px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.fa-thumbs-up:hover {
    text-shadow: 1px 1px 1px white;
}

.text-thm {
    color: var(--pitoon-base);
}

.page-search-container .blog-details__tags{
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 10px !important;
}


.page-search-container .blog-details__tags a{
    white-space: nowrap;
}

.trending-searches a{
    border: 1px solid #fff;
    background-color: #ffffff50 !important;
    color: #ffffff !important;
    border-radius: 99px !important;
}

.categories-row .project-one__img img{
    aspect-ratio: 4/6 !important;
}

.search-page{
    padding: 50px 0 !important;
}

.project-details__pagination-box{
    margin-top: 50px !important;
}

@media (max-width:768px) {

    .custom-cursor__cursor,
    .custom-cursor__cursor-two {
        display: none !important;
    }
}

@media (max-width:576px){
    .page-header{
        padding: 140px 0 30px !important;
    }
    .projects-page{
        padding: 80px 0 50px !important;
    }

    .search-page{
        padding: 20px 0 !important;
    }

    .page-header__inner h2{
        font-size: 36px !important;
        line-height: 120% !important;
    }
}

@media (max-width: 500px) {
    .row>.col {
        padding: 0 4px !important;
        margin-bottom: 8px !important;
        width: 33.33% !important;
        flex: 0 0 33.3333% !important;
        max-width: 33.3333% !important;
    }

    .gallery-row .project-one__single {
        margin-bottom: 0 !important;
    }

    .project-one__img-box,
    .ad_single {
        width: 100% !important;
    }

    .gallery-row {
        margin: 0 -4px !important;
    }
}

/* Tag styling for search results */
.tags-container {
    margin-top: 20px;
}

.tags-container h5 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.direct-match-tag, .related-tag, .add-to-search {
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-flex;
    align-items: center;
}

.direct-match-tag {
    background-color: rgba(var(--thm-primary-rgb), 0.2);
    border: 1px solid var(--thm-primary);
    color: #fff;
}

.related-tag {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.add-to-search {
    background-color: rgba(var(--thm-base-rgb), 0.2);
    border: 1px solid var(--thm-base);
    color: #fff;
}

.direct-match-tag:hover, .related-tag:hover, .add-to-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.direct-match-tag:hover {
    background-color: var(--thm-primary);
}

.related-tag:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.add-to-search:hover {
    background-color: var(--thm-base);
}

.tag-count {
    opacity: 0.7;
    font-size: 0.8em;
    margin-left: 3px;
}

.add-to-search i {
    margin-right: 5px;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .direct-match-tag, .related-tag, .add-to-search {
        padding: 4px 8px;
        font-size: 0.9em;
    }
}

.show-more-tags-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 15px;
    color: #fff;
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.show-more-tags-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.expanded-tags {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}