.tw-free-user {
    background-color: #F6F6F6;
    padding-bottom: 4rem;
    min-height: calc(100dvh - 80px);

    .free-user-header {
        background: #F6F6F6;
        padding: 2rem 0;
        display: flex;
        justify-content: center;
        align-items: start;
        gap: 8rem;
    }

    .free-user-card {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #FFF;
        width: 348px;
        border-radius: 24px;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
        padding: 4rem 2rem;
    }

    .free-user-img {
        width: 202px;
        height: 202px;
        border: 5px solid #D9D9D9;
        border-radius: 50%;
    }

    .free-user-img img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        object-position: top;
    }

    .user-socials {
        margin-top: 20px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        gap: 16px;
    }

    .tw-portfolio-socials-public {
        background-color: #E7E7E7;
        color: #000;
        width: 47px !important;
        height: 47px;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    }

    .tw-portfolio-socials-public:hover {
        background-color: #5F15D4;
        color: #FFF;
        box-shadow: 0px 4px 20px rgba(95, 21, 212, 0.2);
    }

    .free-user-contact {
        margin-top: 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .free-user-contact a {
        width: 100%;
        background-color: #5F15D4;
        border-radius: 8px;
        color: #FFF;
        padding: 1rem 0;
        text-align: center;
    }

    .free-user-contact a:hover {
        background-color: #4B0F9D;
        box-shadow: 0px 4px 20px rgba(95, 21, 212, 0.2);
        text-decoration: none;
    }

    .free-user-info {
        display: flex;
        flex-direction: column;
        align-items: start;
        max-width: 600px;
    }

    .free-user-info-container {
        text-align: center;
    }

    .free-user-info-container h2 {
        font-size: 32px;
        padding-bottom: 1rem;
        font-weight: 600;
        margin: 0;
        text-transform: capitalize;
        color: #5F15D4;
    }

    .free-user-info-container p {
        color: #403F3F;
        display: inline-flex;
        border-radius: 24px;
    }

    .tw-user-skill {
        margin-top: 20px;
    }

    .tw-user-skill>h3,
    .free-user-bio>h3 {
        font-weight: 600;
        font-size: 24px;
        text-transform: capitalize;
        color: #5F15D4;
    }

    .tw-skill-container {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .tw-skill-container>div {
        background-color: #D9D9D9;
        padding: 8px 16px;
        border-radius: 24px;
        font-size: 13px;
    }

    .free-user-bio {
        margin-top: 20px;
        max-width: 582px;
    }

    /*============================
    POST SECTION
    ============================*/
    .premium-user-banner {
        background-color: #FFF;
        border: 2px solid #E7E7E7;
        border-radius: 14px;
    }

    .tw-premium-public-cover-photo {
        border-radius: 14px;
        width: 100%;
        height: 306px;
    }

    .tw-premium-public-cover-photo img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 14px;
    }

    .free-user-posts,
    .free-user-experience {
        background-color: #F6F6F6;
        padding: 1rem;
        max-width: 1240px;
        margin: 1rem auto;
    }

    .free-user-posts-container {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .free-user-post {
        background-color: #FFF;
        padding: 2rem 3rem;
        border-radius: 24px;
        width: 340px;
    }

    .free-user-post-heading {
        text-transform: capitalize;
        text-align: center;
        color: #5F15D4;
        font-size: 40px;
        font-weight: 600;
    }

    .free-user-cap {
        text-align: left;
        font-size: 24px;
    }

    .free-user-post h3 {
        margin: 0;
        line-height: 1;
        margin-bottom: 10px !important;
    }

    .free-user-post h3>a {
        font-size: 18px;
        font-weight: 600;
        color: #5F15D4;
        margin: 0;
    }

    .post-image {
        width: 100%;
        height: 176px;
        margin-bottom: 16px;
        flex-grow: 1;
    }

    .post-image img {
        aspect-ratio: 16/9;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .post-image img:hover {
        cursor: pointer;
        transform: scale(1.05);
        transition: all 0.3s ease-in-out;
    }

    .post-meta {
        display: flex;
        justify-content: space-between;
        padding: 20px 0;
        margin-top: 20px;
        border-top: 1px solid #D9D9D9;
        font-size: 13px;
    }

    .post-user-meta {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .user-post-excerpt p {
        font-size: 14px;
    }

    .post-category-item {
        background-color: #5F15D4;
        padding: 4px 12px;
        border-radius: 4px;
        font-size: 12px;
        color: #FFF;
        margin-bottom: 10px;
    }

    .post-user-meta img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

    .text-center {
        text-align: center;
        width: 100%;
    }

    .pagination-wrapper {
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .pagination-wrapper a {
        color: #5F15D4;
    }

    .tw-experience-container {
        padding: 0;
        flex-wrap: wrap;
    }

    @media screen and (max-width: 768px) {
        .free-user-header {
            flex-direction: column;
            align-items: center;
            padding: 2rem;
        }

        .free-user-info {
            padding: 0 2rem;
            width: 100%;
        }

        .free-user-info-container h2 {
            font-size: 40px;
        }

        .free-user-posts-container {
            justify-content: center;
        }

        .free-user-card {
            width: 100%;
        }

        .free-user-experience {
            padding: 0;
        }
        .free-user-posts, .free-user-experience {
            background-color: transparent;
        }
        .tw-experience {
            width: 100%;
        }

        .tw-user-skill {
            margin-top: 0;
            width: 100%;
        }

        .tw-premium-public-cover-photo {
            height: 194px;
        }

        .tw-premium-user-header .nav-links {
            display: none;
        }

        .mobile-menu {
            display: block;
            cursor: pointer;
        }

        .page-section {
            width: 100%;
            padding: 20px 1rem;
        }

        .tw-premium-user-banner-container {
            padding: 0;
            border-bottom: 1px solid #D9D9D9;
        }

        .tw-premium-user-banner {
            padding: 0 1rem;
        }

        .tw-premium-user-image {
            width: 100px;
            height: 100px;
            margin-top: 0 !important;
        }

        .user-details-section {
            flex-direction: column;
        }

    }

    /*============================
    PREMIUM USER SECTION
    ============================*/
    .tw-premium-user-header-container {
        background-color: #FFF !important;
    }

    .tw-premium-user-header {
        max-width: 1340px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 76px;
        padding: 4rem;

    }

    .tw-premium-user-header .nav-links {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    #premium-home {
        font-size: 3rem;
        font-weight: 600;
        color: #5F15D4;
    }

    .user_logo {
        width: 60px;
        object-fit: cover;
        height: 60px;
    }

    .nav-links ul {
        display: flex;
        list-style: none;
        gap: 16px;
        margin: 0;
    }

    .nav-links ul a {
        color: #5F15D4;
        font-size: 20px;
    }

    .social-links {
        gap: 20px !important;
    }

    .social-links li:hover {
        transform: scale(1.1);
        transition: all 0.3s linear;
    }

    .mobile-menu {
        display: none;
    }

    .page-section {
        display: none;
        width: 1240px;
        margin: 0 auto;
        padding-top: 40px;
    }

    .tw-premium-user-banner {
        display: flex;
        justify-content: space-between;
    }

    .tw-premium-user-banner-container {
        padding-bottom: 4rem;
    }

    .tw-premium-cover-photo {
        height: 306px;
        margin-bottom: 20px;
    }

    .tw-premium-cover-photo img {
        height: 100%;
        width: 100%;
        border-radius: 24px;
        object-fit: cover;
    }

    .tw-premium-user-banner {
        padding: 0 6rem;
    }

    .tw-premium-bio-container {
        display: flex;
        align-items: start;
        gap: 4rem;
    }

    .tw-premium-user-image {
        width: 119px;
        height: 119px;
        border: 5px solid #D9D9D9;
        border-radius: 50%;
        object-fit: cover;
        object-position: top;
        margin-top: -8%;

    }

    .tw-premium-user-info {
        max-width: 472px;
    }

    .tw-user-name {
        color: #25265E;
        margin: 0 !important;
        text-align: left;
    }

    .tw-user-niche {
        text-align: left;
    }

    .tw-premium-cv-container {
        align-self: flex-start;
        padding: 2rem;
    }

    .tw-premium-cv-container a {
        background-color: #5F15D4;
        padding: 8px 24px;
        border-radius: 30px;
        color: #FFF;
        font-size: 12px;
    }

    .tw-premium-cv-container a:hover {
        background-color: #4B0F9D;
        box-shadow: 0px 4px 20px rgba(95, 21, 212, 0.2);
        text-decoration: none;
    }

    .list-view {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .premium-user-blogs {
        margin-top: 40px;
    }

    .post-list-view {
        padding: 4rem 8rem;
    }

    .premium-user-list-blogs {
        display: flex;
        align-items: center;
        gap: 3rem;
        justify-content: space-between;
    }

    .premium-user-list-blogs .post-image {
        flex-grow: 0;
        Width: 202.81px;
        Height: 161.72px;
    }

    .premium-user-list-blogs .post-image>img {
        width: 100%;
        height: 100%;
        border-radius: 15px;
        object-fit: cover;
        aspect-ratio: 16/9;
    }

    .premium-user-list-blogs .post-excerpt>p {
        max-width: 911px;
    }

    .premium-user-list-blogs .post-meta {
        display: flex;
        justify-content: space-evenly;
        border: 1px solid #F4F4F4;
    }

    .premium-user-list-blogs .post-user-meta img {
        width: 53.2px;
        height: 53.2px;
    }

    .grid-view {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .blogs-header {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        align-items: center;
        margin-bottom: 60px;
        overflow-x: auto;
        width: 100%;
    }

    .blogs-category {
        flex-grow: 1;
        display: flex;
        gap: 1rem;
        background-color: #e6daf9;
        border-radius: 16px;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tw-single-category {
        padding: 1.5rem 6rem;
        border-radius: 16px;
        text-align: center;
        background-color: transparent;
        flex: 0 0 auto;
        margin-bottom: 0;

    }

    .tw-single-category.active {
        background-color: #5F15D4;
        color: #FFF;
        text-align: center;
    }

    .tw-single-category:hover {
        background-color: #5F15D4;
        color: #FFF;
        transition: all 0.3s linear;
    }

    .blogs-category::-webkit-scrollbar {
        display: none;
    }

    .tw-single-category p {
        text-align: center;
        width: 100%;
    }

    .hire-me {
        background-color: #FFF;
        width: 348px;
        border-radius: 20px;
        padding: 24px 32px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hire-me a {
        width: 276px;
        background-color: #5F15D4;
        border-radius: 4px;
        text-align: center;
        padding: 10px 0;
        color: #fff;
    }

    .hire-me a:hover {
        box-shadow: 0px 4px 20px rgba(95, 21, 212, 0.2);
        text-decoration: none;
        transition: all 0.3s linear;
    }

    .tw-contact-link {
        background: linear-gradient(to right, #0038F5 60%, #9F03FF 100%);
        width: 269px;
        padding: 12px 0;
        border-radius: 32px;
        text-align: center;
        color: #FFF;
    }

    .tw-cv-link {
        border: 1px solid #0038F5;
        width: 269px;
        padding: 12px 0;
        border-radius: 32px;
        text-align: center;
        color: #222222;
    
    }
    .tw-user-contacts {
        display: none;
    }

    .tw-contact-link:hover, .tw-cv-link:hover {
        text-decoration: none;
        transform: scale(1.1);
        transition: all 0.5s linear;
    }
  
    .social-link {
        display: none;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0;
        margin-top: 10px;
    }
    .social-link li {
        list-style: none;
        background-color: #FCFCFC;
        padding: 12px 18px;
        border-radius: 4px;
        box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
    }
    .social-link li:hover {
        box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.3);
        transition: all 0.3s linear;
    }
    .social-link li i {
      color: #000;
    }
    /*===================
    ABOUT SECTION
    ==================*/
    .user-details-section {
        display: flex;
        gap: 3rem;
        justify-content: start;
        margin-top: 40px;
    }

    .about-left {
        width: 60%;
        background-color: #FFF;
        border: 1px solid #E7E7E7;
        border-radius: 20px;
        padding: 2rem 4rem;
    }

    .user-bio-header {
        padding-bottom: 3rem;
        margin-bottom: 2rem;
        border-bottom: 1px solid #979797;
    }

    .user-bio-header p {
        max-width: 635px;
        font-size: 14px;
    }

    .about-right {
        width: 40%;
    }

    .public-view {
        background-color: #EFE4FF;
    }

    .details-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .details-section,
    .other-work-profiles {
        background-color: #FFF;
        padding: 2rem 4rem;
        border-radius: 20px;
    }

    .user-expertise {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .user-expertise-container h3 {
        font-size: 20px;
        color: #000;
    }

    .user-expertise-container {
        margin-bottom: 20px;
    }

    .tw-user-category-item {
        border: 1px solid #FFB75E;
        border-radius: 30px;
        padding: 8px;
        font-size: 13px;
        font-weight: 500;
        color: #ee8f1b;
        /* color: #FFB75E; */
    }

    .skills-container {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin: 0;
        border-radius: 8px;
    }

    .skills-container p {
        margin: 0;
        font-size: 14px;
    }

    .other-details {
        display: flex;
        flex-direction: column;
        gap: 20px;
        color: #000;
    }

    .other-details>div>h3 {
        font-size: 20px;
        margin: 0;
        /* padding-bottom: 16px; */
    }
    .tw-user-contact-desk {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .tw-user-contact-desk a {
        display: block !important;
    }
    @media screen and (max-width: 768px) {
        .social-links {
            display: none !important;
        }
        .social-link {
            display: flex;
        }
        .tw-user-contacts {
            display: flex;
            flex-direction: column;
            gap: 16px;
            align-items: center;
        }

        .premium-user-banner {
            background-color: transparent;
            border-radius: 0;
            border: none;
        }

        .page-section {
            width: 100%;
            padding: 0;
        }

        .tw-premium-user-banner {
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            padding: 0;
        }

        .tw-premium-bio-container {
            align-items: center;
            flex-direction: column;
            gap: 12px;
            padding: 0 16px;
        }

        .tw-premium-public-cover-photo img {
            height: 242px;
            border-radius: 0px 0px 30px 30px;
        }

        .tw-premium-cv-container {
            align-self: flex-end;
            margin-top: 20px;
            padding-top: 0;
        }

        .tw-user-name {
            text-align: center;
        }

        .tw-user-niche {
            text-align: center;
            margin: 0 !important;
        }

        .tw-profile-bio {
            text-align: center;
            margin-top: 8px;
        }

        .tw-premium-cover-photo {
            height: 164px;
        }

        .blogs-header {
            display: block;
        }

        .blogs-category {
            width: 100%;
        }

        .hire-me {
            display: none;
        }

        .about-left {
            width: 100%;
            background-color: transparent;
        }

        .about-right {
            width: 100%;
        }

        .details-container {
            padding: 0 1rem;
        }
        .details-section,
        .other-work-profiles {
            background-color: transparent;
        }
        .tw-user-contact-desk {
            display: none;
        }

    }

}

@media screen and (max-width: 768px) {
    .tw-free-user {
        background: #F4FBFF;
    }

}

.tg-dialog .tg-dialog-header .tg-dialog-title {
    font-size: 18px !important;
    font-weight: 600;
    color: #5F15D4;
}


.tg-dialog .tg-dialog-footer button.tg-dialog-btn {
    color: #FFF !important;
    background-color: #5F15D4;
}

.tg-dialog .tg-dialog-body {
    font-size: 16px;
}

.tg-dialog .tg-dialog-footer button.tg-dialog-btn:hover {
    background-color: #4B0F9D;
    color: #FFF !important;

}

.tg-dialog .tg-dialog-footer .tg-dialog-footer-sup .tg-dialog-dots+.tg-step-progress {
    opacity: 0.7 !important;
    font-size: 12px !important;
}