/* ============================================================
   SINGLE POST PAGE STYLES
   ============================================================ */

/* Hero Section */
.tb-single-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.tb-single-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.tb-single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.3) 0%, rgba(26, 26, 46, 0.85) 100%);
    z-index: 1;
}

.tb-single-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    color: var(--tb-white);
}

.tb-single-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tb-single-meta-sep {
    color: rgba(255, 255, 255, 0.4);
}

.tb-single-read-time {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.tb-single-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.tb-single-author-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tb-single-author-info {
    display: flex;
    flex-direction: column;
}

.tb-single-author-name {
    font-weight: 700;
    font-size: 16px;
}

.tb-single-author-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* Post Content Area */
.tb-single-main {
    position: relative;
    max-width: 800px;
    margin: -40px auto 80px;
    padding: 60px 50px;
    background: var(--tb-white);
    border-radius: var(--tb-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.tb-single-content {
    font-size: 18px;
    line-height: 1.8;
    color: #4B5563;
}

.tb-single-content p {
    margin-bottom: 24px;
}

.tb-single-content h2,
.tb-single-content h3 {
    color: var(--tb-dark);
    margin: 40px 0 20px;
    font-weight: 700;
}

.tb-single-content h2 {
    font-size: 28px;
}

.tb-single-content h3 {
    font-size: 22px;
}

.tb-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tb-radius);
    margin: 30px 0;
}

.tb-single-content blockquote {
    font-size: 20px;
    font-style: italic;
    color: var(--tb-dark);
    padding: 0 0 0 24px;
    border-left: 4px solid var(--tb-orange);
    margin: 40px 0;
    font-family: var(--tb-serif);
}

/* Share Widget */
.tb-single-share {
    position: absolute;
    left: -80px;
    top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tb-single-share span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tb-gray);
    font-weight: 700;
    margin-bottom: 8px;
}

.tb-single-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tb-gray-light);
    color: var(--tb-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--tb-transition);
}

.tb-single-share a:hover {
    background: var(--tb-orange);
    color: var(--tb-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Tags & Bio */
.tb-single-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tb-tag-label {
    font-weight: 700;
    color: var(--tb-dark);
    font-size: 14px;
    margin-right: 8px;
}

.tb-tag {
    background: var(--tb-gray-light);
    color: var(--tb-gray);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--tb-transition);
}

.tb-tag:hover {
    background: var(--tb-orange);
    color: var(--tb-white);
}

.tb-single-author-bio {
    display: flex;
    gap: 24px;
    margin-top: 50px;
    padding: 40px;
    background: var(--tb-cream);
    border-radius: var(--tb-radius-lg);
}

.tb-single-author-bio-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tb-orange), var(--tb-orange-dark));
    color: var(--tb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    flex-shrink: 0;
}

.tb-single-author-bio-text h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--tb-dark);
    margin-bottom: 8px;
}

.tb-single-author-bio-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tb-gray);
    margin: 0;
}

@media (max-width: 1024px) {
    .tb-single-share {
        position: static;
        flex-direction: row;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #E5E7EB;
    }

    .tb-single-share span {
        margin-bottom: 0;
        margin-right: 12px;
    }
}

@media (max-width: 768px) {
    .tb-single-main {
        margin: -20px 20px 60px;
        padding: 40px 20px;
    }

    .tb-single-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }
}