.pgf-2648-wrapper {
    font-family: 'Montserrat-Arabic', sans-serif;
    direction: rtl;
    color: #7A7A7A;
}

/* Search Container */
.pgf-2648-search-container {
    position: relative;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    z-index: 10;
}

/* Search Bar */
.pgf-2648-search-bar {
    display: flex;
    position: relative;
    width: 100%;
}

.pgf-2648-search-input {
    width: 100%;
    padding: 16px 50px 16px 24px;
    border: 1px solid #E5E5E5;
    border-radius: 50px;
    font-size: 15px;
    font-family: inherit;
    color: #54595F;
    background: #FAFAFA;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.pgf-2648-search-input:focus {
    border-color: #6EC1E4; /* Primary Color */
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(110, 193, 228, 0.15);
}

.pgf-2648-search-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6EC1E4;
    cursor: pointer;
    padding: 0;
    display: flex;
    transition: color 0.3s ease;
}

.pgf-2648-search-btn:hover {
    color: #54595F;
}

[dir="ltr"] .pgf-2648-search-input {
    padding: 16px 24px 16px 50px;
}
[dir="ltr"] .pgf-2648-search-btn {
    right: auto;
    left: 18px;
}

/* Suggestions Box */
.pgf-2648-suggestions-box {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.pgf-2648-suggestions-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pgf-2648-suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #F5F5F5;
    transition: background 0.2s ease;
}

.pgf-2648-suggestion-item:last-child {
    border-bottom: none;
}

.pgf-2648-suggestion-item:hover {
    background: #F9F9F9;
}

.pgf-2648-suggestion-type {
    font-size: 11px;
    background: rgba(110, 193, 228, 0.1);
    color: #6EC1E4;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.pgf-2648-suggestion-text {
    font-size: 14px;
    color: #54595F;
    font-weight: 500;
}

/* Filters */
.pgf-2648-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.pgf-2648-filters select {
    padding: 12px 35px 12px 20px;
    border: 1px solid #E5E5E5;
    border-radius: 50px;
    min-width: 150px;
    font-size: 14px;
    font-family: inherit;
    color: #54595F;
    background-color: #FFFFFF;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7A7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 14px;
}

[dir="ltr"] .pgf-2648-filters select {
    background-position: right 15px center;
    padding: 12px 20px 12px 35px;
}

.pgf-2648-filters select:hover,
.pgf-2648-filters select:focus {
    border-color: #6EC1E4;
    color: #6EC1E4;
    box-shadow: 0 4px 10px rgba(110, 193, 228, 0.1);
}

.pgf-2648-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px 30px;
    padding-bottom: 60px;
}

/* Card Design */
.pgf-2648-card {
    background: #FFFFFF;
    border: 1px solid #F0F0F0;
    border-radius: 24px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pgf-2648-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.pgf-2648-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pgf-2648-bookmark {
    background: transparent;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #7A7A7A;
    transition: all 0.2s ease;
}

.pgf-2648-bookmark:hover {
    border-color: #6EC1E4;
    color: #6EC1E4;
    background: rgba(110, 193, 228, 0.05);
}

.pgf-2648-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #7A7A7A;
    font-weight: 500;
}

.pgf-2648-dot {
    color: #D1D1D1;
    font-size: 10px;
}

.pgf-2648-category {
    background: #F4F9F9; /* Very light subtle background */
    color: #54595F;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
}

.pgf-2648-title {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    font-weight: 700;
    color: #54595F;
}

.pgf-2648-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pgf-2648-title a:hover {
    color: #6EC1E4;
}

.pgf-2648-image-wrapper {
    display: block;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.pgf-2648-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.pgf-2648-card:hover .pgf-2648-image {
    transform: scale(1.08);
}

.pgf-2648-excerpt {
    color: #7A7A7A;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
    text-align: center;
    flex-grow: 1;
}

.pgf-2648-action-btn {
    position: absolute;
    bottom: -22px;
    left: 30px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #54595F;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    z-index: 2;
}

.pgf-2648-action-btn:hover {
    background: #6EC1E4;
    color: #FFFFFF;
    border-color: #6EC1E4;
    transform: translateX(-5px);
}

[dir="ltr"] .pgf-2648-action-btn {
    left: auto;
    right: 30px;
}
[dir="ltr"] .pgf-2648-action-btn svg {
    transform: rotate(180deg);
}
[dir="ltr"] .pgf-2648-action-btn:hover {
    transform: translateX(5px);
}

.pgf-2648-loading,
.pgf-2648-no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #7A7A7A;
    font-size: 16px;
    background: #FAFAFA;
    border-radius: 20px;
}