.my-post-display-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.my-post-search-form {
    margin-bottom: 20px;
    text-align: center;
}

.my-post-search-container {
    position: relative;
    display: inline-block;
    width: 300px;
    max-width: 100%;
}

.my-post-search-input {
    padding: 8px 40px 8px 8px; /* Extra padding-right for button */
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.my-post-search-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #0073aa;
}

.my-post-search-button:hover {
    color: #005177;
}

.my-post-search-button .dashicons {
    font-size: 20px;
    line-height: 1;
}

.my-post-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.my-post-item {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fff;
}

.post-thumbnail {
    text-align: center;
    margin-bottom: 10px;
}

.post-thumbnail img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

.post-content {
    font-size: 14px;
    color: #666;
}

.my-post-category-section {
    margin-bottom: 40px;
}

.my-post-category-title {
    font-size: 24px;
    margin: 20px 0 10px;
    color: #222;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.my-post-see-more {
    text-align: center;
    margin-top: 20px;
}

.see-more-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.see-more-button:hover {
    background: #005177;
}

.see-more-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.my-post-loading {
    text-align: center;
    font-size: 16px;
    color: #666;
}

@media (max-width: 768px) {
    .my-post-display {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-thumbnail img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .my-post-display {
        grid-template-columns: 1fr;
    }
    .post-thumbnail img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
}