:root {
    --primary-color: #00ce1b;
    --text-color: #000000;
}

body{
    direction:rtl;
}
.post-number{
    width: 35%;
    height: auto;
    background-color:transparent;
}
.postmeta-wrap{
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.article-meta{
    gap:15px;
    margin-bottom: 0;
}
.article-date {
    margin-right: 0px;
}
.social-share{
    margin:0 0;
}
.share-button{
    font-size:18px;
    transition: transform 0.2s ease;
}
.share-button.share-whatsapp{
    font-size:22px;
}
.share-button:hover{
    color:#fff;
    transform: scale(1.1);
}
.fa-solid.fa-eye{
    color:#000;
}
.article-category{
    background-color:transparent;
    display:flex;
    gap:8px;
}
.article-category a{
    background: #00ce1b;
    font-size: 1em;
    color: #fff;
    padding: .1em .5em;
}
.single-post .article-category{
	padding-right: 0px !important;
}
body, h1, h2, h3, p {
    font-family: 'Open Sans', sans-serif;
}
form, input[type="tel"], input[type="email"]{
    direction:rtl !important;
}
.article-text ol{
    padding-right: 35px;
}



.btn-submit-ads{
    font-size: 20px !important;
}
.article-text ol{
    padding-right: 35px;
}
.archive-posts .post-title{
    font-size: 20px;
    color: var(--text-color);
    font-weight: 700;
}
.archive-posts .post-meta{
    font-size: 16px;
}




.article-content.article-main-wrapper{
    padding: 0;
}
.custom-firstpost-section.section-1-layout {
    justify-content: space-between;
    padding: 20px;
    gap: 10px;
    height: 463px; /* fixed height */
}

.custom-firstpost-section .post-right-section-70-unique {
    height: 100%;
    width: 65%;
}
.custom-post-right{
    height: 100%;
}
.custom-firstpost-section .custom-post-right,
.custom-firstpost-section .archive-posts-unique {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.custom-firstpost-section .custom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-firstpost-section .custom-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    transition: background 0.3s ease;
}

.custom-firstpost-section .small-overlay-unique {
    background: rgba(0, 0, 0, 0.5);
}

.custom-firstpost-section .custom-image-text {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 10;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.2;
}

.custom-firstpost-section .small-text-unique {
    position: absolute;
    bottom: 25px;
    left: 10px;
    right: 10px;
    color: #fff;
    z-index: 10;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.custom-firstpost-section .custom-image-text h2,
.custom-firstpost-section .small-text-unique h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.custom-firstpost-section .custom-post-row-unique .archive-posts-unique {
    height: 130px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border-radius: 8px;
}

.custom-firstpost-section .custom-post-row-unique .archive-posts-unique:last-child {
    margin-bottom: 0 !important;
}

/* Additional resets or tweaks inside this section */
.custom-firstpost-section .recent-post-block-unique {
    font-size: 1rem;
    word-wrap: break-word;
    margin: 0;
    max-width: 188px;
}

.custom-firstpost-section .recent-post-block-unique a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-latest-post-section .latest-post-thumbnail {
    position: relative;
    overflow: hidden;
}
.custom-latest-post-section .post-layout{
    padding: 0;
    width: 31.33% !important;
}
.custom-latest-post-section {
    display: flex;
    justify-content: space-between;
}
.custom-latest-post-section .latest-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-latest-post-section .latest-post-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* same overlay */
    pointer-events: none;
    transition: background 0.3s ease;
}

.custom-latest-post-section .latest-post-image-text {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    color: #fff;
    z-index: 10;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}
.custom-latest-post-title{
    font-size: 1rem;
}
.text-categories a{
    border: 1px solid #bbbbbb;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 2px 5px;
    display: inline-block;
}
.text-categories{
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}
.blank-box{
    margin-bottom: 25px;
}
.post-tags{
    margin-bottom: 25px;
}
.custom-latest-post-section{
    padding-top: 12px;
}
.custom-latest-post-section .latest-post-image-text h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* clamp to 3 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.latest-post-section.custom-latest-post-section{
    padding: 20px;
    gap: 16px;
    justify-content: start;
}
.latest-post-section.custom-latest-post-section .post-layout{
    margin: 0px !important;
}
.text-categories{
    text-align: left;
}
.custom-shadow{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px;
}
.recent-post-wrapper{
    padding: 0 10px 10px 10px;
    margin-top: 50px;
}
.popular-posts{
    padding: 10px;
}
.sidebar-widget{
    border-radius: 10px;
}
.custom-latest-post-section .latest-post-thumbnail{
    border-radius: 8px;
}
.article-main-wrapper{
    position: sticky;
    top: 80px;
}
.custom-sidebar-wrapper{
    top: 18px;
    position: relative;
}

.banner-post-detail a h2{
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 14px;
}
.banner-post-detail .desc{
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}
.banner-post-detail .read-more-btn{
    color: #fff;
    padding: 8px 20px;
    background-color: var(--text-color);
    font-size: 16px;
    line-height: 22px;
    border-radius: 50px;
    border: 1px solid var(--text-color);
}
.banner-post-detail .read-more-btn:hover{
    color: var(--text-color);
    background: transparent;
}
.article-text h3{
    font-size: 22px;
}
.article-text :where(h3, h4, h5){
    padding-right: 10px !important;
    border-right: 4px solid var(--primary-color) !important;
}
/* Comment Form CSS Start */
.custom-comments {
    margin-top: 40px;
    padding: 30px;
    border-radius: 16px;
    /* box-shadow: 0 0 20px rgba(0,0,0,0.10); */
}
.single-post .shadow{
    box-shadow: 0 0 20px rgba(0,0,0,0.10) !important;
}
.comment-title, .comment-reply-title, .related-title{
    font-weight: bold;
    font-size: 26px;
}
.custom-comment-form input,
.custom-comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    text-align: right;
    border-radius: 4px;
}

.custom-comment-form button {
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
}
.comment-list .comment{
    padding: 0 !important;
    border: none !important;
}
.comment-list, ul.children{
    list-style: none;
    padding: 0;
}
.comment-list li .comment-body, .comment-list > .comment{
    margin-bottom: 20px;
    padding: 20px;
    background-color: #F6F6F6;
    border-radius: 10px;
    font-size: 18px;
    border-bottom: 1px solid #efefef;
}
.comment-list > .comment ul.children > .comment .comment-body{
    padding: 0 20px 20px !important;
}
.comment-author {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}
.comment-author .avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
}
.comment-author .fn {
    text-transform: capitalize;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
}
.comment-reply-link {
    color: var(--primary-color);
}
.comment-list .children {
    list-style: none;
    margin-right: 20px;
}
.comment-list :where(.comment-meta, .comment-author .says){
    display: none;
}

.post-notice {
  background: #c6c8c6;
  font-size: 0.9em;
  color: #595959;
  padding: .1em .5em;
  line-height: 1.1em;
  margin-bottom: 10px;
  min-height: 20.4px;
}
.ad-notice {
    background: rgba(18, 64, 243, 0.1);
    border: 2px solid #1240f3;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 0 0 30px 0;
    position: relative;
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .custom-firstpost-section {
    flex-wrap: wrap;
    height: auto; /* let height adjust */
  }
  
  .custom-firstpost-left,
  .custom-firstpost-right {
    width: 100% !important; /* full width */
    height: auto !important;
  }
  .custom-firstpost-section .custom-post-row-unique .archive-posts-unique{
    height: auto;
  }
}

@media (max-width: 1020px){
  .custom-firstpost-section .custom-post-row-unique .archive-posts-unique{
    height: auto;
  }
}
/* Mobile (max-width: 767px) */

@media (max-width: 600px){
    .text-categories{
        text-align: right;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        align-items: center;
    }
    .text-categories a{
        margin-right: 0;
        margin-left: 5px;
    }
    .custom-firstpost-section.section-1-layout{
        height: 100%;
        display: block !important;
    }
    .custom-firstpost-section .post-right-section-70-unique{
        width: 100%;
        margin-bottom: 15px;
    }
    .custom-firstpost-section .custom-post-row-unique .archive-posts-unique{
        display: block;
    }
    .custom-firstpost-section .custom-post-row-unique .archive-posts-unique{
        width: 100% !important;
        height: auto !important;
    }
    .custom-firstpost-section .custom-image-text h2, .custom-firstpost-section .small-text-unique h2{
        max-width: 100%;
        font-size: 20px;
    }
    .custom-firstpost-section.section-1-layout{
        padding: 10px;
    }
    .custom-latest-post-section .latest-post-image-text h2{
        font-size: 20px;
    }
    .latest-post-section.custom-latest-post-section{
        padding: 10px;
    }
    .latest-post-section.custom-latest-post-section > .post-layout:last-child .latest-post-thumbnail{
        margin-bottom: 0;
    }
    /* .sidebar-widget.shadow ins{
        margin: unset !important;
        display: flex !important;
        width: 100% !important;
        height: auto !important;
    } */
     .sidebar-widget.ad-widget{
        overflow: hidden;
     }
    .latest-post-section.custom-latest-post-section {
        padding: 10px;
    }
    .custom-latest-post-section .post-layout{
        width: 100% !important;
        margin-top: 0px !important;
        margin-bottom: 15px;
    }
    .front-text-categories{
        display: flex;
        justify-content: start;
    }
    .popular-posts > .shadow {
        padding-bottom: 30px !important;
    }
    .custom-latest-post-section .post-layout:last-child {
        margin-bottom: 0 !important;
    }
    .article-main-wrapper{
        margin-bottom: 0;
    }
    .latest-post-section.custom-latest-post-section{
        margin-bottom: 0 !important;
    }

    .banner-post-detail a h2{
        font-size: calc(1.325rem + .9vw);
    }
    .custom-comments{
        padding: 16px;
    }
    .comment-list li .comment-body, .comment-list > .comment, .comment-author .fn{
        font-size: 14px;
    }
    .comment-author{
        margin-bottom: 6px;
    }
    .comment-list li .comment-body p{
        margin-bottom: 10px;
    }
    .comment-author .avatar{
        width: 35px;
        height: 35px;
    }
}

.floating-call-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .call-button {
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, #00c851 0%, #00a041 100%);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 20px 24px;
            font-size: 18px;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 10px 30px rgba(0, 200, 81, 0.3);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            white-space: nowrap;
        }

        .call-icon {
            width: 28px;
            height: 28px;
            margin-left: 10px;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .call-text {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            width: 0;
            overflow: hidden;
        }

        /* Desktop hover effects */
        @media (min-width: 769px) {
            .floating-call-btn:hover .call-button {
                transform: translateY(-3px);
                box-shadow: 0 15px 40px rgba(0, 200, 81, 0.4);
                background: linear-gradient(135deg, #00d456 0%, #00b346 100%);
            }

            .floating-call-btn:hover .call-text {
                opacity: 1;
                width: auto;
                margin-right: 16px;
            }

            .floating-call-btn:hover .call-icon {
                transform: rotate(15deg) scale(1.1);
            }

            .call-button:active {
                transform: translateY(0px);
                box-shadow: 0 6px 20px rgba(0, 200, 81, 0.3);
            }
        }

        /* Mobile styles */
        @media (max-width: 768px) {
            .floating-call-btn {
                bottom: 20px;
                right: 20px;
            }

            .call-button {
                width: 60px;
                height: 60px;
                padding: 0;
                justify-content: center;
                border-radius: 50%;
                box-shadow: 0 6px 20px rgba(0, 200, 81, 0.4);
            }

            .call-text {
                display: none;
            }

            .call-icon {
                margin: 0;
                width: 28px;
                height: 28px;
            }

            .call-button:active {
                transform: scale(0.95);
            }
        }

        /* Pulse animation */
        .floating-call-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            background: rgba(0, 200, 81, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            animation: pulse 2s infinite;
            z-index: -1;
        }

        @keyframes pulse {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
            70% {
                transform: translate(-50%, -50%) scale(1.4);
                opacity: 0;
            }
            100% {
                transform: translate(-50%, -50%) scale(1.4);
                opacity: 0;
            }
        }

        /* Accessibility */
        .call-button:focus {
            outline: 3px solid rgba(0, 200, 81, 0.5);
            outline-offset: 2px;
        }

@media(max-width: 767px){
    .article-text h2 {
        font-size: 22px;
    }
    .article-text h3 {
        font-size: 20px;
    }
}