.rswpthemes-awt-filterable-posts-container {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.rswpthemes-awt-posts-search-form {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.rswpthemes-awt-posts-search-form input[type="text"],
.rswpthemes-awt-posts-search-form select {
    padding: 5px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

.rswpthemes-awt-posts-search-form button {
    padding: 5px 10px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rswpthemes-awt-posts-search-form button:hover {
    background-color: #005d88;
}

.rswpthemes-awt-filterable-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rswpthemes-awt-filterable-post-card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.rswpthemes-awt-filterable-post-card-content {
    padding: 15px;
    flex-grow: 1;
}

.post-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rswpthemes-awt-filterable-post-card-content h2.post-title {
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 600;
    margin-top: 10px;
}

.post-title a:hover {
    color: #0073aa;
}

.post-excerpt {
    color: #666;
    font-size: 0.95em;
    margin: 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.post-date {
    color: #6c757d;
}

.rswpthemes-awt-load-more-posts {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rswpthemes-awt-load-more-posts:hover {
    background-color: #005d88;
}

/* Existing styles remain unchanged, updating styles for layout 2 */
.rswpthemes-awt-filterable-post-card.layout-2 {
    background: #fff;
    border-radius: 12px;
    /* Rounded corners to match screenshot */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    /* Light border to match screenshot */
}

.rswpthemes-awt-filterable-post-card.layout-2 .rswpthemes-awt-filterable-post-card-image {
    height: 200px;
    /* Adjusted height to match screenshot */
    background-size: cover;
    background-position: center;
    position: relative;
    /* For positioning the category tag */
}

.rswpthemes-awt-filterable-post-card.layout-2 .post-category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f0f0f0;
    /* Light gray background */
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: 600;
}

.rswpthemes-awt-filterable-post-card.layout-2 .rswpthemes-awt-filterable-post-card-content {
    padding: 15px;
    flex-grow: 1;
}

.rswpthemes-awt-filterable-post-card.layout-2 .post-title {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 10px;
    color: #333;
}

.rswpthemes-awt-filterable-post-card.layout-2 .post-title a {
    color: #333;
    text-decoration: none;
}

.rswpthemes-awt-filterable-post-card.layout-2 .post-title a:hover {
    color: #0073aa;
}

.rswpthemes-awt-filterable-post-card.layout-2 .post-excerpt {
    color: #666;
    font-size: 0.95em;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rswpthemes-awt-filterable-post-card.layout-2 .post-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85em;
    color: #6c757d;
    border-top: none;
    padding-top: 0;
}

.rswpthemes-awt-filterable-post-card.layout-2 .author-name,
.rswpthemes-awt-filterable-post-card.layout-2 .post-date,
.rswpthemes-awt-filterable-post-card.layout-2 .read-time {
    color: #6c757d;
}

.rswpthemes-awt-filterable-post-card.layout-2 .premium-lock {
    font-size: 1em;
    color: #666;
    margin-left: 5px;
}

/* Popup styles */
.rswpthemes-awt-post-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.rswpthemes-awt-post-popup.active {
    display: block;
}

.rswpthemes-awt-post-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dimmed background */
    z-index: 1;
}

.rswpthemes-awt-post-popup-content {
    position: relative;
    max-width: 800px;
    /* Adjust as needed */
    width: 90%;
    max-height: 80vh;
    background: #fff;
    margin: 5vh auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    overflow-y: auto;
    /* Allow scrolling if content is too long */
}

.rswpthemes-awt-post-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.rswpthemes-awt-post-popup-close:hover {
    color: #333;
}

.rswpthemes-awt-post-popup-body {
    padding: 20px;
}

.rswpthemes-awt-post-popup-header {
    padding: 0 0 20px;
    border-bottom: 1px solid #eee;
}

.rswpthemes-awt-post-popup-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

.rswpthemes-awt-post-popup-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: #333;
}

.rswpthemes-awt-post-popup-meta {
    display: flex;
    gap: 10px;
    font-size: 0.9em;
    color: #6c757d;
}

.rswpthemes-awt-post-popup-meta .category,
.rswpthemes-awt-post-popup-meta .author,
.rswpthemes-awt-post-popup-meta .date,
.rswpthemes-awt-post-popup-meta .read-time {
    color: #6c757d;
}

.rswpthemes-awt-post-popup-content-body {
    padding: 20px 0;
    line-height: 1.6;
    color: #333;
}

/* Ensure images in the post content are responsive */
.rswpthemes-awt-post-popup-content-body img {
    max-width: 100%;
    height: auto;
}

.rswpthemes-awt-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Make category and author clickable with hover effects */
.filter-category,
.filter-author {
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-category:hover,
.filter-author:hover {
    color: #0073aa;
    /* Match the hover color used elsewhere in your theme */
}

/* Ensure the popup meta elements are styled consistently */
.rswpthemes-awt-post-popup-meta .filter-category,
.rswpthemes-awt-post-popup-meta .filter-author {
    color: #6c757d;
}

.rswpthemes-awt-post-popup-meta .filter-category:hover,
.rswpthemes-awt-post-popup-meta .filter-author:hover {
    color: #0073aa;
}

/* For layout 1 category tags */
.rswpthemes-awt-filterable-post-card .post-tags .filter-category {
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.rswpthemes-awt-filterable-post-card .post-tags .filter-category:hover {
    background: #d3d7db;
}

/* For layout 2 category tag */
.rswpthemes-awt-filterable-post-card.layout-2 .post-category-tag.filter-category {
    background: #f0f0f0;
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: 600;
}

.rswpthemes-awt-filterable-post-card.layout-2 .post-category-tag.filter-category:hover {
    background: #e0e0e0;
}

.filter-category:hover,
.filter-author:hover {
    color: #0073aa;
    text-decoration: underline;
}

/* Style the new sort_order dropdown */
.rswpthemes-awt-posts-search-form select[name="sort_order"] {
    padding: 5px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Navigation arrows */
.rswpthemes-awt-post-popup-navigation {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.rswpthemes-awt-post-popup-prev,
.rswpthemes-awt-post-popup-next {
    background: none;
    border: none;
    font-size: 1em;
    color: #0073aa;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.rswpthemes-awt-post-popup-prev:hover,
.rswpthemes-awt-post-popup-next:hover {
    color: #005d88;
}

.rswpthemes-awt-post-popup-prev.disabled,
.rswpthemes-awt-post-popup-next.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Related posts section */
.rswpthemes-awt-post-popup-related-posts {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.rswpthemes-awt-post-popup-related-posts h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.rswpthemes-awt-post-popup-related-posts .related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rswpthemes-awt-post-popup-related-posts .related-post {
    padding: 5px 0;
}

.rswpthemes-awt-post-popup-related-posts .related-post-link {
    color: #0073aa;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
}

.rswpthemes-awt-post-popup-related-posts .related-post-link:hover {
    color: #005d88;
    text-decoration: underline;
}

.rswpthemes-awt-post-popup-content-inner::after {
    content: "";
    display: table;
    clear: both;
}

button.rswpthemes-awt-post-popup-close {
    background: #ddd;
    padding: 0;
    height: 30px;
    width: 30px;
    line-height: 30px;
}

.rswpthemes-awt-post-popup-prev:hover,
.rswpthemes-awt-post-popup-next:hover {
    background: #ddd;
}

/* Tables */
.rswpthemes-awt-post-popup table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.rswpthemes-awt-post-popup th,
.rswpthemes-awt-post-popup td {
    border: 1px solid #ddd;
    padding: 0.75em;
    text-align: left;
}

.rswpthemes-awt-post-popup th {
    background-color: #f5f5f5;
    font-weight: 700;
    color: #222;
}

.rswpthemes-awt-post-popup td {
    color: #444;
}


/* Grid CSS */
/* Custom Grid System */
.rswpthemes-awt-grid-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.rswpthemes-awt-grid-col-1,
.rswpthemes-awt-grid-col-2,
.rswpthemes-awt-grid-col-3,
.rswpthemes-awt-grid-col-4,
.rswpthemes-awt-grid-col-5,
.rswpthemes-awt-grid-col-6,
.rswpthemes-awt-grid-col-7,
.rswpthemes-awt-grid-col-8,
.rswpthemes-awt-grid-col-9,
.rswpthemes-awt-grid-col-10,
.rswpthemes-awt-grid-col-11,
.rswpthemes-awt-grid-col-12,
.rswpthemes-awt-grid-col-sm-1,
.rswpthemes-awt-grid-col-sm-2,
.rswpthemes-awt-grid-col-sm-3,
.rswpthemes-awt-grid-col-sm-4,
.rswpthemes-awt-grid-col-sm-5,
.rswpthemes-awt-grid-col-sm-6,
.rswpthemes-awt-grid-col-sm-7,
.rswpthemes-awt-grid-col-sm-8,
.rswpthemes-awt-grid-col-sm-9,
.rswpthemes-awt-grid-col-sm-10,
.rswpthemes-awt-grid-col-sm-11,
.rswpthemes-awt-grid-col-sm-12,
.rswpthemes-awt-grid-col-md-1,
.rswpthemes-awt-grid-col-md-2,
.rswpthemes-awt-grid-col-md-3,
.rswpthemes-awt-grid-col-md-4,
.rswpthemes-awt-grid-col-md-5,
.rswpthemes-awt-grid-col-md-6,
.rswpthemes-awt-grid-col-md-7,
.rswpthemes-awt-grid-col-md-8,
.rswpthemes-awt-grid-col-md-9,
.rswpthemes-awt-grid-col-md-10,
.rswpthemes-awt-grid-col-md-11,
.rswpthemes-awt-grid-col-md-12,
.rswpthemes-awt-grid-col-lg-1,
.rswpthemes-awt-grid-col-lg-2,
.rswpthemes-awt-grid-col-lg-3,
.rswpthemes-awt-grid-col-lg-4,
.rswpthemes-awt-grid-col-lg-5,
.rswpthemes-awt-grid-col-lg-6,
.rswpthemes-awt-grid-col-lg-7,
.rswpthemes-awt-grid-col-lg-8,
.rswpthemes-awt-grid-col-lg-9,
.rswpthemes-awt-grid-col-lg-10,
.rswpthemes-awt-grid-col-lg-11,
.rswpthemes-awt-grid-col-lg-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Base columns (default, no breakpoint) */
.rswpthemes-awt-grid-col-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.rswpthemes-awt-grid-col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.rswpthemes-awt-grid-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.rswpthemes-awt-grid-col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.rswpthemes-awt-grid-col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.rswpthemes-awt-grid-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.rswpthemes-awt-grid-col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.rswpthemes-awt-grid-col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.rswpthemes-awt-grid-col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.rswpthemes-awt-grid-col-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.rswpthemes-awt-grid-col-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.rswpthemes-awt-grid-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Small screens (sm: ≥576px) */
@media (min-width: 576px) {
    .rswpthemes-awt-grid-col-sm-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .rswpthemes-awt-grid-col-sm-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .rswpthemes-awt-grid-col-sm-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .rswpthemes-awt-grid-col-sm-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .rswpthemes-awt-grid-col-sm-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .rswpthemes-awt-grid-col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .rswpthemes-awt-grid-col-sm-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .rswpthemes-awt-grid-col-sm-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .rswpthemes-awt-grid-col-sm-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .rswpthemes-awt-grid-col-sm-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .rswpthemes-awt-grid-col-sm-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .rswpthemes-awt-grid-col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Medium screens (md: ≥768px) */
@media (min-width: 768px) {
    .rswpthemes-awt-grid-col-md-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .rswpthemes-awt-grid-col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .rswpthemes-awt-grid-col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .rswpthemes-awt-grid-col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .rswpthemes-awt-grid-col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .rswpthemes-awt-grid-col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .rswpthemes-awt-grid-col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .rswpthemes-awt-grid-col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .rswpthemes-awt-grid-col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .rswpthemes-awt-grid-col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .rswpthemes-awt-grid-col-md-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .rswpthemes-awt-grid-col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Large screens (lg: ≥992px) */
@media (min-width: 992px) {
    .rswpthemes-awt-grid-col-lg-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .rswpthemes-awt-grid-col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .rswpthemes-awt-grid-col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .rswpthemes-awt-grid-col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .rswpthemes-awt-grid-col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .rswpthemes-awt-grid-col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .rswpthemes-awt-grid-col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .rswpthemes-awt-grid-col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .rswpthemes-awt-grid-col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .rswpthemes-awt-grid-col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .rswpthemes-awt-grid-col-lg-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .rswpthemes-awt-grid-col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

form.rswpthemes-awt-posts-search-form.rswpthemes-awt-grid-row {
    margin-right: 0;
    margin-left: 0;
    justify-content: space-between;
}

form.rswpthemes-awt-posts-search-form.rswpthemes-awt-grid-row input {
    width: 100%;
}

.rswpthemes-awt-input-field-wrapper {
    width: 20%;
}

.rswpthemes-awt-input-field-wrapper.search-btn {
    width: 15%;
}

.rswpthemes-awt-input-field-wrapper input,
.rswpthemes-awt-input-field-wrapper select {
    width: 100%;
    height: 40px;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.rswpthemes-awt-input-field-wrapper.search-btn button {
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {

    .rswpthemes-awt-input-field-wrapper.search-btn {
        width: 10%;
    }

    .rswpthemes-awt-input-field-wrapper {
        width: 21%;
    }

}

@media (max-width: 767px) {
    form.rswpthemes-awt-posts-search-form.rswpthemes-awt-grid-row {
        justify-content: flex-end;
    }

    .rswpthemes-awt-input-field-wrapper.search-btn {
        width: 30%;
    }

    .rswpthemes-awt-input-field-wrapper.search-btn button {
        padding: 12px 15px;
    }

    .rswpthemes-awt-input-field-wrapper {
        width: 48%;
    }

}


/* Styling for Post Meta */
.rswpthemes-awt-post-popup-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Consistent spacing between elements */
    font-size: 0.875rem;
    /* 14px for a professional size */
    color: #6c757d;
    /* Muted gray for meta text */
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    /* Subtle divider */
}

.rswpthemes-awt-post-popup-meta .category {
    background: #f8f9fa;
    /* Light background for category tag */
    padding: 4px 8px;
    border-radius: 12px;
    /* Rounded tag */
    font-weight: 500;
    /* Slightly bold for emphasis */
    color: #343a40;
    /* Darker text for contrast */
}

.rswpthemes-awt-post-popup-meta .author {
    font-weight: 500;
    /* Bold author name */
    color: #343a40;
    /* Darker text */
}

.rswpthemes-awt-post-popup-meta .author:hover {
    color: #0073aa;
    /* Blue on hover for interactivity */
    text-decoration: underline;
}

.rswpthemes-awt-post-popup-meta .date,
.rswpthemes-awt-post-popup-meta .read-time {
    color: #6c757d;
    /* Consistent muted color */
}

/* Ensure meta elements wrap nicely on small screens */
@media (max-width: 576px) {
    .rswpthemes-awt-post-popup-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .rswpthemes-awt-post-popup-meta .category {
        display: inline-block;
        /* Keep tag inline */
    }
}

.rswpthemes-awt-post-popup-nav-prev,
.rswpthemes-awt-post-popup-nav-next {
    background: #fff;
    z-index: 4;
}