 
      .posts-container {
            width: 90%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 15px;
            box-sizing: border-box;
        }
        
        .posts-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .post-card {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .post-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        
        .post-content {
            padding: 15px;
        }
        
        .post-category {
            color: #F2B328;
            font-size: 0.85rem;
            margin-bottom: 6px;
            font-weight: 500;
        }
        
        .post-title {
            font-size: 1rem;
            margin: 8px 0;
            line-height: 1.3;
            height: 2.6em;
            overflow: hidden;
            text-transform: uppercase;
            font-weight: 600;
        }
        
        .post-meta {
            display: flex;
            justify-content: space-between;
            color: #666;
            font-size: 0.8rem;
            margin-top: 12px;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            margin: 40px 0 25px;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .pagination a, .pagination span {
            padding: 8px 15px;
            border: 1px solid #F2B328;
            color: #F2B328;
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.3s ease;
            margin: 3px;
        }
        
        .pagination a:hover {
            background: #f0f4f9;
            border-color: #F2B328;
        }
        
        .pagination .current {
            background: #F2B328;
            color: white;
            border-color: #F2B328;
        }
        
        .headin-data p {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Search results header */
        .search-results-header {
            text-align: center;
            margin: 20px 0 30px;
        }
        
        .search-results-header h2 {
            color: #333;
            margin-bottom: 10px;
        }
        
        .search-results-header .search-query {
            color: #F2B328;
            font-weight: bold;
        }
        
        .no-results {
            text-align: center;
            padding: 40px 0;
            color: #666;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .posts-row {
                gap: 15px;
            }
            .post-image {
                height: 160px;
            }
        }
        
        @media (max-width: 1024px) {
            .posts-row {
                grid-template-columns: repeat(3, 1fr);
            }
            .post-content {
                padding: 12px;
            }
        }
        
        @media (max-width: 768px) {
            .posts-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .post-image {
                height: 140px;
            }
            .post-title {
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .posts-container {
                padding: 10px;
            }
            .posts-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .post-image {
                height: 120px;
            }
            .post-content {
                padding: 10px;
            }
            .post-title {
                font-size: 0.85rem;
                height: 2.4em;
            }
            .post-meta {
                flex-direction: column;
                gap: 4px;
            }
        } .box-title h1{
        text-transform: uppercase !important;
     font-size: 1rem;
    }
    
        /* Banner styles */
        .page-banner-container {
            width: 100%;
            height: 500px;
            position: relative;
            margin-bottom: 30px;
        }
        
        .page-banner-image {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .page-banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.3);
        }
        
        .page-banner-content {
            position: relative;
            z-index: 1;
            color: white;
            text-align: center;
            padding: 20px;
            max-width: 800px;
            margin: 0 auto;
        }
        
        /* Page content styles */
        .page-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 30px 20px;
        }
        
        .page-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 20px;
        }
        
       /* Base styles */
        .no-posts {
            text-align: center;
            padding: 50px;
            font-size: 1.2rem;
            color: #666;
        }
        
        .posts-container {
            width: 90%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 15px;
            box-sizing: border-box;
        }
        
        .posts-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .post-card {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
           
            transition: all 0.3s ease;
        }
        
       
        
        .post-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        
        .post-content {
            padding: 15px;
        }
        
        .post-category {
            color: #F2B328;
            font-size: 0.85rem;
            margin-bottom: 6px;
            font-weight: 500;
        }
               /* Base styles */
        .posts-container {
            width: 90%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 15px;
            box-sizing: border-box;
        }
        
        .posts-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .post-card {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
         
            transition: all 0.3s ease;
        }
        
       
        
        .post-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        
        .post-content {
            padding: 15px;
        }
        
        .post-category {
            color: #F2B328;
            font-size: 0.85rem;
            margin-bottom: 6px;
            font-weight: 500;
        }
        
        .post-title {
            font-size: 1rem;
            margin: 8px 0;
            line-height: 1.3;
            height: 2.6em;
            overflow: hidden;
            text-transform: uppercase;
            font-weight: 600;
        }
        
        .post-meta {
            display: flex;
            justify-content: space-between;
            color: #666;
            font-size: 0.8rem;
            margin-top: 12px;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            margin: 40px 0 25px;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .pagination a, .pagination span {
            padding: 8px 15px;
            border: 1px solid #F2B328;
            color: #F2B328;
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.3s ease;
            margin: 3px;
        }
        
        .pagination a:hover {
            background: #f0f4f9;
            border-color: #F2B328;
        }
        
        .pagination .current {
            background: #F2B328;
            color: white;
            border-color: #F2B328;
        }
        
        .headin-data p {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .posts-row {
                gap: 15px;
            }
            .post-image {
                height: 160px;
            }
        }
        
        @media (max-width: 1024px) {
            .posts-row {
                grid-template-columns: repeat(3, 1fr);
            }
            .post-content {
                padding: 12px;
            }
        }
        
        @media (max-width: 768px) {
            .posts-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .post-image {
                height: 140px;
            }
            .post-title {
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .posts-container {
                padding: 10px;
            }
            .posts-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .post-image {
                height: 120px;
            }
            .post-content {
                padding: 10px;
            }
            .post-title {
                font-size: 0.85rem;
                height: 2.4em;
            }
            .post-meta {
                flex-direction: column;
                gap: 4px;
            }
        }
        
        /* Prevent horizontal scrolling */
        html, body {
            max-width: 100%;
            overflow-x: hidden;
        }
        .post-title {
            font-size: 1rem;
            margin: 8px 0;
            line-height: 1.3;
            height: 2.6em;
            overflow: hidden;
            text-transform: uppercase;
            font-weight: 600;
        }
        
        .post-meta {
            display: flex;
            justify-content: space-between;
            color: #666;
            font-size: 0.8rem;
            margin-top: 12px;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            margin: 40px 0 25px;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .pagination a, .pagination span {
            padding: 8px 15px;
            border: 1px solid #ddd;
            color: #F2B328;
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.3s ease;
            margin: 3px;
        }
        
        .pagination a:hover {
            background: #f0f4f9;
            border-color: #F2B328;
        }
        
        .pagination .current {
            background: #F2B328;
            color: white;
            border-color: #F2B328;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .posts-row {
                gap: 15px;
            }
            .post-image {
                height: 160px;
            }
        }
        
        @media (max-width: 1024px) {
            .posts-row {
                grid-template-columns: repeat(3, 1fr);
            }
            .post-content {
                padding: 12px;
            }
        }
        
        @media (max-width: 768px) {
            .posts-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .post-image {
                height: 140px;
            }
            .post-title {
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .posts-container {
                padding: 10px;
            }
            .posts-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .post-image {
                height: 120px;
            }
            .post-content {
                padding: 10px;
            }
            .post-title {
                font-size: 0.85rem;
                height: 2.4em;
            }
            .post-meta {
                flex-direction: column;
                gap: 4px;
            }
        }
        
        /* Prevent horizontal scrolling */
        html, body {
            max-width: 100%;
            overflow-x: hidden;
        }
             .headin-data p {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
 
        /* [Rest of your existing styles remain the same] */
    /* Comment System Styles */
    .comment-message {
        padding: 15px;
        margin: 20px 0;
        border-radius: 5px;
    }
    
    .comment-message.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }
    
    .comment-message.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    
    /* Comment nesting styles */
    .comment-list {
        list-style: none;
        padding: 0;
    }
    
    .comment {
        margin-bottom: 20px;
        padding: 15px;
        background-color: #f9f9f9;
        border-radius: 5px;
    }
    
    .comment.reply {
        margin-left: 40px;
        background-color: #f0f0f0;
    }
    
    .comment-header {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    
    .comment-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 10px;
        background-color: #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
    }
    
    .comment-author {
        font-weight: bold;
        margin-right: 10px;
    }
    
    .comment-date {
        color: #666;
        font-size: 0.9em;
    }
    
    .comment-content {
        margin-bottom: 10px;
    }
    
    .comment-actions {
        display: flex;
        gap: 10px;
    }
    
    .comment-reply-btn {
        background: none;
        border: none;
        color: #F2B328;
        cursor: pointer;
        padding: 0;
        font-size: 0.9em;
    }
    
    .comment-reply-btn:hover {
        text-decoration: underline;
    }
    
    /* Reply form styles */
    .reply-form {
        margin-top: 15px;
        padding: 15px;
        background-color: #f5f5f5;
        border-radius: 5px;
        display: none;
    }
    
    .reply-form.active {
        display: block;
    }
    
    /* Main Content Styles */
    .ux-contain {
        line-height: 1.8;
        font-size: 1.1rem;
        color: #333;
    }

    /* Text-Image-Text Pattern Styles */
    .ux-contain p {
        margin-bottom: 1.5rem;
    }

    /* Base Image Styles */
    .ux-contain img {
        width: 100%;
        height:400px; /* Default height for content images */
        object-fit: cover;
        display: block;
        margin: 2rem auto;
        border-radius: 8px;
        
    }
    .home img {
        width: 100%;
        height: 300px; /* Default height for content images */
        object-fit: cover;
        display: block;
        margin: 2rem auto;
        border-radius: 8px;
        
    }

    /* Image Alignment Classes */
    .ux-contain .img-left {
        float: left;
        margin: 0.5rem 1.5rem 1rem 0;
        width: 50%;
        height: 300px; /* Slightly smaller for floated images */
        object-fit: cover;
    }

    .ux-contain .img-right {
        float: right;
        margin: 0.5rem 0 1rem 1.5rem;
        width: 50%;
        height: 300px; /* Slightly smaller for floated images */
        object-fit: cover;
    }

    .ux-contain .img-center {
        display: block;
        margin: 2rem auto;
        clear: both;
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

    /* Clear floats */
    .ux-contain .clearfix::after {
        content: "";
        display: table;
        clear: both;
    }

    /* Post Meta Container */
    .post-meta-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
        margin: 15px 0;
    }

    /* Post meta items */
    .post-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
        font-size: 0.9rem;
    }

    .post-meta-item {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #555;
    }

    .post-meta-item i {
        color: #F2B328;
        font-size: 0.9rem;
    }

    /* Author info */
    .author-info {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #f0f0f0;
    }

    .author-details {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .author-name {
        font-size: 0.9rem;
        font-weight: 500;
    }

    /* Edit link */
    .edit-link {
        color: #F2B328;
        text-decoration: none;
        font-weight: 500;
    }

    .edit-link:hover {
        text-decoration: underline;
    }

    /* Image Gallery Styles */
    .image-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin: 3rem 0;
    }

    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        transition: transform 0.3s ease;
    }

    .gallery-item img {
        width: 100%;
        height: 250px; /* Fixed height for gallery images */
        object-fit: cover;
        display: block;
        margin: 0;
    }

    .gallery-caption {
        padding: 15px;
        background: #f8f9fa;
    }

    .gallery-caption p {
        margin: 0;
        color: #555;
        font-size: 0.9rem;
    }

    /* Featured Image */
    .headin-data img {
        width: 100%;
        height: 500px; /* Fixed height for featured image */
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 2rem;
    }

    /* Tables in content */
    .ux-contain table {
        width: 100%;
        border-collapse: collapse;
        margin: 2rem 0;
        overflow-x: auto;
        display: block;
    }

    .ux-contain th, 
    .ux-contain td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .ux-contain th {
        background-color: #f8f9fa;
        font-weight: 600;
    }

    /* Blockquotes */
    .ux-contain blockquote {
        border-left: 4px solid #F2B328;
        padding: 1rem 1.5rem;
        margin: 2rem 0;
        background-color: #f8f9fa;
        font-style: italic;
    }

    /* Lists */
    .ux-contain ul,
    .ux-contain ol {
        margin: 1.5rem 0;
        padding-left: 2rem;
    }

    .ux-contain li {
        margin-bottom: 0.5rem;
    }

    /* Responsive Adjustments */
    @media (max-width: 992px) {
        .ux-contain img {
            height: 350px;
        }
        
        .headin-data img {
            height: 400px;
        }
    }

    @media (max-width: 768px) {
        .ux-contain .img-left,
        .ux-contain .img-right {
            float: none;
            margin: 1.5rem auto;
            width: 100%;
            height: 300px;
        }

        .image-gallery {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .post-meta-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        
        .post-meta {
            gap: 10px;
        }
        
        .post-meta-item {
            font-size: 0.85rem;
        }
        
        .comment.reply {
            margin-left: 20px;
        }
    }

    @media (max-width: 576px) {
        .ux-contain img {
            height: 250px;
        }
        
        .headin-data img {
            height: 300px;
        }
        
        .image-gallery {
            grid-template-columns: 1fr;
        }
        
        .gallery-item img {
            height: 200px;
        }
        
        .comment.reply {
            margin-left: 10px;
        }
    }
 
 