/* Archive Page Layout - Two Columns */
.archive-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 10px;
    max-width: 460px;
    margin: auto;
}

/* Archive Post - Responsive Two-Column Layout */
/* archive_post */
.archive-container .archive-post {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 8px;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Make ads (code-block) span full width */
.archive-container .code-block {
    grid-column: span 2; /* Make it take full width */
    width: 100%; /* Ensure full width */
    text-align: center;
    margin: 8px auto;
    display: block;
    clear: both;
}

/* Dark Overlay */
.archive-container .archive-post::before {
    content: "";
    position: absolute;
    border-radius: 8px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%);
    transition: background 0.3s ease-in-out;
}

/* Hover Effect */
.archive-container .archive-post:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

/* Post Content */
.archive-container .post-content {
    z-index: 2;
    padding: 5px;
    color: #fff;
    text-align: center;
}

/* Post Status */
/* Live Status - Green */
.status-live {
    background-color: #29ff29;
    color: #333;
}

/* Online Status - Blue */
.status-online {
    background-color: #29ff29;
    color: #333;
}

/* Offline Status - Red */
.status-offline {
    background-color: #007bff;
    color: #fff;
}

/* Style the Status Badge */
.post-status {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 1px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}
/* .post-status {
    position: absolute;
    top: -215px;
    left: 10px;
    background: #29ff29;
    padding: 0px 8px;
    font-weight: bold;
    border-radius: 20px;
    color: #333;
} */

/* Post Details */
.post-details {
    position: relative;
    z-index: 3;
    margin-bottom: -22px;
}

/* Title */
.archive-post .post-title {
    font-size: 18px;
    margin-bottom: 10px;
    height: 20px;
    width: 140px;
    /* width: calc(100% - 20px); */
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-post .post-title a {
    color: #fff;
    text-decoration: none;
}

.archive-post .post-title a:hover {
    color: #ffcc00;
}

.archive-post .post-title a[type="button"] {
    border: unset;
    padding: unset;
    font-size: unset;
    transition: unset;
}

/* Meta Details */
.post-meta {
    font-size: 14px;
    margin-bottom: 8px;
}
.post-meta span.post-age {
    margin-right: 14px;
}

/* Call Me Button */
.call-me-btn {
    display: block;
    padding: 6px 10px;
    border: 0;
    border-radius: 30px;
    /* background-image: linear-gradient(to right, rgb(131, 77, 155) 0%, rgb(208, 78, 214) 51%, rgb(131, 77, 155) 100%); */
    /* background-image: linear-gradient(to right, #feac5e 0%, #c779d0 51%, #feac5e 100%); */
    background-image: linear-gradient(to right, #9b44fd 0%, #d07af5 51%, #9b44fd 100%);
    background-size: 200% auto;
    color: #fff;
    font-weight: bold;
    text-align: center;
    max-width: 80%;
    margin: auto;
    transition: all 0.3s ease-in-out;
}

.call-me-btn:hover {
    transform: scale(1.05);
    color: #fff;
    background-position: right center;
    text-decoration: none;
}

/* ✅ Responsive: Switch to 1 Column on Small Screens */
@media (max-width: 768px) {
    /* .archive-container {
        grid-template-columns: 1fr;
    } */
}

.gender-icon {
    display: inline-block;
    width: 44px;
    height: 18px;
    border-radius: 14px;
    position: relative;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-family: "Nunito", sans-serif;
    font-weight: 500;
    color: #fff;
}
/* Female: Purple Gradient */
.gender-icon.female {
    /* background: linear-gradient(135deg, #800080, #da70d6); */
    /* background: linear-gradient(to right, #da22ff 0%, #9733ee 100%); */
    background: linear-gradient(to right, #4bc941 0%, #db3a48 100%);
}

.gender-icon.female::before {
    content: "\2642"; /* Unicode for Male Symbol (♂) */
}

/* Male: Blue Gradient */
.gender-icon.male {
    background: linear-gradient(135deg, #007bff, #00c6ff);
}

.gender-icon.male::before {
    content: "\2640"; /* Unicode for Female Symbol (♀) */
}
.pagination {
    margin: 36px auto 10px auto !important;
}

.nav-previous a,
.nav-next a
{
 
    padding: 9px 26px;
    border-radius: 30px;
    /* background-image: linear-gradient(to right, #FF4E50 0%, #F9D423  51%, #FF4E50  100%); */
    background-image: linear-gradient(to right, #FF4E50 0%, #6b23f9   51%, #FF4E50  100%);
    background-size: 200% auto;
    color: #fff;
    font-weight: bold;
    text-align: center;
    max-width: 80%;
    margin: auto;
    transition: all 0.3s ease-in-out;
}
.nav-previous a:hover,
.nav-next a:hover {
	background-position: right center; /* change the direction of the change here */
	color: #fff;
	text-decoration: none;
  }
/* .archive_post */

/* Single_post */
.single-post-container {
    max-width: 460px;
    margin: auto;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.single-post-container .post-featured-image img {
    width: 100%;
    border-radius: 10px;
}

.single-post-container .post-title {
    text-align: center;
    font-size: 28px;
    margin-top: 20px;
}

.single-post-container .post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 18px;
    margin-top: 10px;
}

.single-post-container .post-age.male,
.single-post-container .post-age.female {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.single-post-container .post-age.male {
    background: linear-gradient(45deg, #007bff, #6610f2);
    color: #fff;
}

.single-post-container .post-age.female {
    background: linear-gradient(45deg, #f64f59, #ff9a9e);
    color: #fff;
}

.single-post-container .post-tags,
.single-post-container .post-categories {
    text-align: center;
    margin-top: 10px;
}

.single-post-container .post-content {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.single-post-container .post-like-container {
    text-align: center;
    margin-top: 20px;
}

.single-post-container .like-button {
    background: #ff4757;
    color: #fff;
    font-size: 18px;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
}

.single-post-container .like-button:hover {
    background: #ff6b81;
}

.single-post-container .post-action-buttons {
    text-align: center;
    margin-top: 20px;
}

.single-post-container .say-hi-btn,
.single-post-container .call-me-btn {
    display: inline-block;
    margin: 10px;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
}

.single-post-container .say-hi-btn {
    background: #1e90ff;
}

.single-post-container .call-me-btn {
    background: #28a745;
}

.single-post-container .say-hi-btn:hover {
    background: #007bff;
}

.single-post-container .call-me-btn:hover {
    background: #218838;
}

/* .Single_post */
