/*
 * File: styled_single_post.css
 * Version: 1.0.0
 * Last Modified: 2026-02-04
 * Last Deploy: 2026-02-25 18:10:20
 */

/* Single post page styling */

/* Page wrapper — poster mat effect */
.single-post-wrapper {
    background: #f4efe6;
    min-height: 100vh;
    max-width: 1300px;
    margin: 20px auto;
    border: 24px solid #fff;
    padding: 60px 30px 30px;
    box-sizing: border-box;
}

/* Main container */
.single-post-page {
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Hide default post title and navigation */
.single-post .entry-header,
.single-post .post-navigation,
.single-post .nav-below {
    display: none;
}	


/* Custom post header container */
.custom-post-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 50px 50px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

/* Episode number */
.post-episode-number {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 30px;
}

/* Post icon */
.post-icon-circle {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: white;
    border: 3px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    z-index: 10;
}

.post-icon-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.post-icon-circle-emoji {
    font-size: 50px;
}

/* Post title */
.custom-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    color: #333;
    margin-bottom: 20px;
}

/* Post date */
.post-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #999;
    letter-spacing: 1px;
}

/* Decorative divider after header */
.post-header-divider {
    text-align: center;
    margin: 50px 0;
    font-size: 24px;
    color: #ccc;
}

/* Main content area */
.single-post .inside-article {
    background: white;
    padding: 40px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    text-align: left;
}

/* Comic panel border effect */
.single-post .inside-article::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #333;
    opacity: 0.05;
    pointer-events: none;
}

/* Content typography */
.single-post .entry-content {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.single-post .entry-content p {
    margin-bottom: 25px;
}

/* H2 subheadings with script font */
.single-post .entry-content h2 {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #555;
    text-align: left;
}

/* H3 and below */
.single-post .entry-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

/* Strong/bold text */
.single-post .entry-content strong {
    font-weight: 600;
    color: #333;
}

/* Italic text */
.single-post .entry-content em {
    font-style: italic;
    color: #555;
}

/* Episode navigation */
.episode-navigation {
    margin-top: 60px;
    padding: 30px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.nav-next {
    margin-bottom: 20px;
}

.nav-prev {
    margin-top: 20px;
}

.back-to-timeline-wrapper {
    margin: 20px 0;
}

.episode-nav-link {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    display: inline-block;
}

.episode-nav-link .nav-title {
    font-family: 'Caveat', cursive;
    font-size: 25px;
    line-height: 1.3;
    color: #333;
}

.episode-nav-link .nav-label {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.back-to-timeline {
    font-family: 'Caveat', cursive;
    font-size: 30px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}




/* YouTube / video embeds — match QC page dimensions */
.single-post .entry-content .wp-block-embed {
    margin: 2rem 0;
}

.single-post .entry-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
}

/* Override inline width/height attributes on iframes */
.single-post .entry-content .wp-block-embed__wrapper iframe,
.single-post .entry-content .fluid-width-video-wrapper iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    display: block;
}

/* YouTube Shorts — portrait 9:16 */
.single-post .entry-content .wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe {
    aspect-ratio: 9/16;
    max-width: 400px;
    margin: 0 auto;
}


/* Responsive */
@media (max-width: 768px) {
    .single-post-wrapper {
        padding: 40px 15px 20px;
        border-width: 12px;
        margin: 10px;
    }

    .single-post-page {
        padding: 0;
    }

    .custom-post-header {
        padding: 50px 20px 30px;
        margin-bottom: 30px;
    }

    .custom-post-title {
        font-size: 32px;
    }

    .post-header-divider {
        margin: 30px 0;
    }

    .single-post .inside-article {
        padding: 30px 20px;
    }

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

    .episode-navigation {
        padding: 20px 15px;
        margin-top: 40px;
    }

    .episode-nav-link .nav-title {
        font-size: 20px;
    }

    .back-to-timeline {
        font-size: 24px;
    }

    .post-icon-circle {
        width: 80px;
        height: 80px;
        top: -40px;
    }

    .post-icon-circle img {
        width: 48px;
        height: 48px;
    }
}
	
