/* ===== SINGLE POST LAYOUT ===== */
.think-single-wrapper {
    background-color: #3b0000; /* Fallback red */
    padding: 60px 0 100px 0;
    color: #ffffff;
    min-height: 80vh;
}

.think-single-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Categories */
.think-single-header {
    text-align: center;
    margin-bottom: 50px;
}

.ts-section-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 30px;
    font-family: serif;
}

.think-news-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: bold;
    font-size: 16px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.filter-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.filter-list a:hover,
.filter-list a.active {
    border-color: rgba(255,255,255,0.5);
}

.ts-divider {
    border-top: 1px solid rgba(255,255,255,0.8);
    margin: 0;
}

/* Post Meta & Title */
.ts-meta-header {
    margin-bottom: 40px;
}

.ts-date {
    display: block;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.ts-title {
    color: #ffffff;
    font-size: 36px;
    font-family: serif;
    margin-bottom: 15px;
    line-height: 1.3;
}

.ts-tags {
    display: flex;
    gap: 10px;
}

.ts-cat-tag {
    background-color: #8fa300; /* Greenish color from the image */
    color: #ffffff;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 2px;
}

/* Post Content */
.ts-content {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.ts-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Ensure WordPress standard align classes are respected but center by default */
.ts-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ts-content a {
    color: #ffcccc;
    text-decoration: underline;
}

/* Custom Navigation Box */
.think-single-navigation {
    margin-top: 80px;
}

.ts-nav-box {
    display: flex;
    border: 1px solid rgba(255,255,255,0.8);
}

.ts-nav-col {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 20px;
}

.ts-nav-prev, .ts-nav-back {
    border-right: 1px solid rgba(255,255,255,0.8);
}

.ts-nav-back {
    justify-content: center;
    flex: 0 0 150px; /* fixed width for the center return button */
}

.ts-nav-prev {
    justify-content: flex-start;
}

.ts-nav-next {
    justify-content: flex-end;
}

.ts-nav-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: opacity 0.3s ease;
}

.ts-nav-link:hover {
    color: #ffffff !important;
    opacity: 0.7;
}

.ts-arrow {
    font-size: 24px;
    font-weight: bold;
}

.ts-nav-text {
    font-size: 16px;
    line-height: 1.4;
}

/* Labels below the box */
.ts-nav-labels {
    display: flex;
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
}

.ts-label-left {
    flex: 1;
    text-align: left;
}

.ts-label-center {
    flex: 0 0 150px;
    text-align: center;
}

.ts-label-right {
    flex: 1;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .think-news-filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .ts-nav-box {
        flex-direction: column;
    }
    
    .ts-nav-prev, .ts-nav-back {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.8);
    }
    
    .ts-nav-back {
        flex: auto;
    }
    
    .ts-nav-labels {
        display: none; /* Hide desktop labels on mobile */
    }
}
