    :root {
        --primary: #072d17;
        /* Green primary */
        --secondary: #295734;
        --third: #f9c11b;
        /* Yellow secondary */
        --border: #E5E7EB;
        --hover: #F9FAFB;
    }

    body {
        background: #F9FAFB;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .post-compact {
        background: white;
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 14px;
        transition: all 0.2s ease;
    }

    .post-compact:hover {
        border-color: var(--primary);
        box-shadow: 0 2px 8px rgba(1, 175, 126, 0.1);
        transform: translateX(2px);
    }

    /* Small Avatar */
    .avatar-small {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        object-fit: cover;
    }

    .avatar-fallback {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .avatar-fallback i {
        font-size: 14px;
    }

    /* Hide broken images */
    .avatar-small.broken {
        display: none;
    }

    /* Category Badge */
    .category-badge {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        padding: 2px 8px;
        background: linear-gradient(135deg, #e6f7f2 0%, #d4f3ea 100%);
        border: 1px solid #01af7e;
        color: #01af7e;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* Sidebar */
    .sidebar-compact {
        background: white;
        border: 1px solid #DDDDDD;
        border-radius: 8px;

        margin-bottom: 1rem;
    }

    .sidebar-header {
        padding: 8px 14px;
        border-bottom: 0.5px solid #DDDDDD;
    }

    .trending-box {
        background-color: #f3f4f6c3;
        border-radius: 10px;
        padding: 10px 14px;
        margin: 10px 0;

    }

    .trending-heading {
        font-size: 14px;
        color: #000000;
        font-weight: 500;
    }

    .trending-para {
        font-size: 12px;
        color: #4b5563;
        /* gray-600 */
        line-height: 1.5;
        margin-top: 4px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .sidebar-body {
        padding: 8px 14px;

    }

    /* Category Item */
    .cat-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 7px 0px;
        border-radius: 6px;
        color: #000000;
        font-weight: normal;
        font-size: 14px;
        transition: all 0.2s ease;
    }

    .cat-item:hover,
    .cat-item.active {
        /* background: rgba(1, 175, 126, 0.1); */
        color: #009951;
    }

    /* Search */
    .search-compact {
        background: white;
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 7px 12px;
        font-size: 14px;
        transition: all 0.2s ease;
    }

    .search-compact:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(1, 175, 126, 0.1);
    }

    /* Button */
    .btn-compact {
        background: var(--primary);
        color: white;
        padding: 7px 14px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .btn-compact:hover {
        background: #019366;
        transform: translateY(-1px);
    }

    /* Meta */
    .meta-compact {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #9CA3AF;
        font-size: 12px;
        cursor: pointer;
        padding: 4px 6px;
        border-radius: 4px;
        transition: all 0.2s;
    }

    .meta-compact:hover {
        color: var(--primary);
        background: #F3F4F6;
    }

    /* Text Truncate */
    .text-truncate-3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.5;
    }

    /* Update Tailwind overrides */
    .bg-indigo-600 {
        background-color: var(--primary) !important;
    }

    .text-indigo-600 {
        color: var(--primary) !important;
    }

    .hover\:text-indigo-600:hover,
    .hover\:text-indigo-800:hover {
        color: var(--primary) !important;
    }

    .hover\:border-indigo-600:hover,
    .border-blue-200 {
        border-color: rgba(1, 175, 126, 0.3) !important;
    }

    .bg-blue-50 {
        background-color: rgba(1, 175, 126, 0.05) !important;
    }

    .group-hover\:text-indigo-600:hover {
        color: var(--primary) !important;
    }

    .btn-gradient {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        color: white;
        padding: 3px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.2s;
        text-transform: capitalize;
    }

    .create-post-div {
        display: flex;
        justify-content: end;
        margin-bottom: 1rem;
    }

    /* 
    .search-wrapper {
  padding: 16px;

} */

    .search-container {
        background: #F3F4F6;
        border-radius: 8px;
        padding: 8px;
        display: flex;
        align-items: center;
        border: 0.5px solid #DDDDDD;
        gap: 12px;
        /* box-shadow: 0 0 0 1px #e5e7eb; */

    }

    /* LEFT ICON */
    .icon-circle {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid #1e7f3b;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e7f3b;
        background-color: #fff;
        font-size: 16px;
        flex-shrink: 0;
        cursor: pointer;
    }


    /* INPUT */
    .search-input {
        flex: 1;
        height: 35px;
        border: none;
        outline: none;
        background: #fff;
        border-radius: 8px;
        border: 1px solid #DDDDDD;
        padding: 0 8px;
        font-size: 14px;
    }

    .second_banner_bg {
        background-image: url("/secondBanner.png");
        padding: 2.2rem 0.5rem;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .bannerHeading {
        font-family: Inter;
        font-weight: 400;
        font-style: Regular;
        font-size: 30px;
        text-align: center;
        color: white;

    }

    .bannerPara {
        font-family: Inter;
        font-weight: 400;
        font-style: Regular;
        font-size: 15px;
        text-align: center;
        margin-top: 0.5rem;
        color: #ffffffcb;

    }

    /* Three Dot Menu Styles */
    .three-dot-menu {
        position: relative;
        display: inline-block;
    }

    .three-dot-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px 8px;
        color: #6B7280;
        font-size: 16px;
        transition: color 0.2s;
    }

    .three-dot-btn:hover {
        color: #111827;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        background: white;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: 160px;
        z-index: 1000;
        margin-top: 4px;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        padding: 10px 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #374151;
        transition: background-color 0.2s;
    }

    .dropdown-item:hover {
        background-color: #F3F4F6;
    }

    .dropdown-item:first-child {
        border-radius: 8px 8px 0 0;
    }

    .dropdown-item:last-child {
        border-radius: 0 0 8px 8px;
    }

    .dropdown-item.text-red-600 {
        color: #DC2626;
    }

    .dropdown-item.text-red-600:hover {
        background-color: #FEE2E2;
    }

    .dropdown-item i {
        width: 16px;
    }

    /* Modal Overlay Styles */
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        align-items: center;
        justify-content: center;
    }

    .modal-overlay.show {
        display: flex;
    }

    .modal-content-custom {
        background: white;
        border-radius: 12px;
        padding: 24px;
        max-width: 400px;
        width: 90%;
        text-align: center;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .modal-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
        font-size: 24px;
    }

    .modal-icon.success {
        background: #D1FAE5;
        color: #059669;
    }

    .modal-icon.error {
        background: #FEE2E2;
        color: #DC2626;
    }

    .modal-icon.warning {
        background: #FEF3C7;
        color: #D97706;
    }

    .modal-icon.info {
        background: #DBEAFE;
        color: #3B82F6;
    }

    .modal-title {
        font-size: 20px;
        font-weight: 600;
        color: #111827;
        margin-bottom: 8px;
    }

    .modal-message {
        font-size: 14px;
        color: #6B7280;
        margin-bottom: 16px;
    }

    .modal-buttons {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    .modal-btn {
        padding: 8px 20px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        border: none;
    }

    .modal-btn-primary {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        color: white;
    }

    .modal-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(7, 45, 23, 0.3);
    }

    .modal-btn-secondary {
        background: #F3F4F6;
        color: #374151;
    }

    .modal-btn-secondary:hover {
        background: #E5E7EB;
    }


 @media (max-width: 700px) {

    .icon-circle {
    width: 30px;
    height: 30px;
  }

  .search-container {
    gap:5px
  }

  .search-wrapper .btn-gradient {
        padding: 6px 9px;
 
    font-size: 11px;

  }
  .search-input {
    height: 30px;
  }
}