.my-post-image-display-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.my-post-image-search-form {
    margin-bottom: 20px;
    text-align: center;
}

.my-post-image-search-container {
    position: relative;
    display: inline-block;
    width: 300px;
    max-width: 100%;
}

.my-post-image-search-input {
    padding: 8px 40px 8px 8px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.my-post-image-search-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #0073aa;
}

.my-post-image-search-button:hover {
    color: #005177;
}

.my-post-image-search-button .dashicons {
    font-size: 20px;
    line-height: 1;
}

.my-post-image-display {
    display: grid;
    grid-template-columns: 1fr; /* One row per post */
    gap: 20px;
}

.my-post-image-item {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(166deg, #EF6121 51%, #295929 59%); /* Gradient background */
    transition: transform 0.2s; /* Keep transition for potential future use, but no hover effect */
    width: 100%; /* Full width */
    padding: 20px; /* 20px padding on all sides */
}

/* No hover effect */
.my-post-image-item:hover {
    transform: none; /* No hover effect */
}

.my-post-image-thumbnail {
    width: 300px; /* Fixed width for image */
    height: 300px; /* Fixed height for image */
    background-size: contain; /* Show full image, maintain aspect ratio */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    border-radius: 50%; /* Ensure circular shape */
    flex-shrink: 0; /* Prevent image from shrinking */
    margin-right: 20px; /* Space between image and text */
    overflow: hidden; /* Ensure content stays within circle */
    border: 2px solid #fff; /* Optional: Add border to enhance circular appearance */
}

.my-post-image-details {
    padding: 0; /* No additional padding inside details */
    flex: 1; /* Allow details to take remaining space */
    background: #fff; /* White background for text area */
    padding: 10px; /* Add some padding inside details for readability */
    border-radius: 5px; /* Slight rounding for details */
    display: flex; /* Use flex to align content */
    flex-direction: column;
    justify-content: center; /* Center vertically */
    overflow-y: auto; /* Enable scrolling if content overflows */
    max-height: 300px; /* Limit height to match thumbnail */
}

.my-post-image-title {
    font-size: 28px; /* Increased font size */
    margin: 0 0 10px;
    color: #333;
    font-weight: 600;
    text-align: left; /* Align title to left */
}

.my-post-image-content {
    font-size: 18px; /* Increased font size */
    color: #000000; /* Changed to black */
    line-height: 1.6;
    text-align: left; /* Align content to left */
    overflow-wrap: break-word; /* Handle long words */
}

.my-post-image-category-section {
    margin-bottom: 40px;
}

.my-post-image-category-title {
    font-size: 28px;
    margin: 20px 0 10px;
    color: #222;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.my-post-image-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-image-loading {
    text-align: center;
    font-size: 16px;
    color: #666;
}

.my-post-image-coming-soon {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
    margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .my-post-image-item {
        flex-direction: column; /* Stack on small screens */
        padding: 20px; /* Maintain 20px padding */
    }
    .my-post-image-thumbnail {
        width: 100%; /* Full width on small screens */
        height: 200px; /* Reduced height */
        margin-right: 0; /* Remove right margin */
        margin-bottom: 20px; /* Add space below image */
    }
    .my-post-image-details {
        padding: 10px;
        max-height: none; /* Remove height limit on mobile */
    }
}