/* Single Blog Post Stylesheet matching Screenshot_2.jpg design */

:root {
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --brand-accent: #f95738;
    --brand-accent-hover: #e04426;
    --container-max-width: 1320px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-body);
}

/* ==========================================================================
   Hero Banner Section
   ========================================================================== */
.blog-hero {
    width: 94%;
	height: 350px; 
	float:left; 
	background: url("https://www.myvirtualteams.com/wp-content/uploads/2026/07/blog_post_header_image.png") no-repeat center;
    border-radius: 20px;
	margin: 30px 3%;
    padding: 0 20px;
    box-sizing: border-box;
}




.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    box-sizing: border-box;
}

.updated-date {
    position: absolute;
    top: 40px;
    right: 50px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.1px;
    font-family: var(--font-primary);
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 40px;
    max-width: 860px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    font-family: var(--font-primary);
}

/* ==========================================================================
   Main Blog Layout (70% Content / 30% Sidebar)
   ========================================================================== */
.blog-container {
    max-width: var(--container-max-width);
    margin: 0 auto 80px;
    padding: 0 20px;
    display: flex;
    gap: 50px;
    align-items: flex-start;
    box-sizing: border-box;
}

/* 70% Width Main Content */
.blog-main {
    flex: 0 0 calc(70% - 25px);
    width: calc(70% - 25px);
    max-width: calc(70% - 25px);
    min-width: 0;
    box-sizing: border-box;
}

/* 30% Width Sidebar */
.blog-sidebar {
    flex: 0 0 calc(30% - 25px);
    width: calc(30% - 25px);
    max-width: calc(30% - 25px);
    min-width: 0;
    box-sizing: border-box;
	margin-top: 10px;
}

.sidebar-inner {
    position: sticky;
    top: 40px;
}

/* ==========================================================================
   Blog Article Content Typography & Media
   ========================================================================== */
.blog-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-body);
}

.blog-content p {
    margin-bottom: 24px;
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--text-body);
}

.blog-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-heading);
    margin: 45px 0 20px;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.blog-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 35px 0 15px;
    letter-spacing: -0.2px;
}

.blog-content strong,
.blog-content b {
    color: var(--text-heading);
    font-weight: 700;
}

.blog-content img,
.blog-content figure {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 35px 0;
    display: block;
}

.blog-content figure img {
    margin: 0;
}

.blog-content ul {
    padding-left: 0;
    list-style: none;
    margin: 20px 0 30px;
}

.blog-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-body);
}

.blog-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-heading);
    font-weight: 800;
}

/* Placeholder box styling for mock content */
.img-placeholder {
    width: 100%;
    height: 320px;
    background-color: #e2e8f0;
    border-radius: 20px;
    margin: 35px 0;
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */

/* 1. Newsletter Subscription Box */
.newsletter-box {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    margin-bottom: 45px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.newsletter-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 20px 0;
    letter-spacing: -0.2px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsletter-input,
.newsletter-box input[type="email"],
.wpcf7-form input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    box-sizing: border-box;
    outline: none;
    transition: background-color 0.2s ease;
    font-family: var(--font-primary);
}

.newsletter-input:focus,
.newsletter-box input[type="email"]:focus,
.wpcf7-form input[type="email"]:focus {
    background: #e2e8f0;
}

.newsletter-input::placeholder,
.newsletter-box input[type="email"]::placeholder,
.wpcf7-form input[type="email"]::placeholder {
    color: #94a3b8;
    font-size: 13.5px;
}

.newsletter-btn,
.newsletter-box button,
.newsletter-box input[type="submit"],
.wpcf7-form input[type="submit"] {
    background: var(--brand-accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    outline: none;
    align-self: flex-start;
    font-family: var(--font-primary);
}

.newsletter-btn:hover,
.newsletter-box button:hover,
.newsletter-box input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover {
    background: var(--brand-accent-hover);
}

/* 2. Related Posts Widget */
.related-posts h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 20px 0;
    padding-bottom: 0;
    letter-spacing: -0.3px;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
}

.related-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: opacity 0.2s ease;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item:hover {
    opacity: 0.85;
}

.related-item .thumb {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
}

.related-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-item .thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #cbd5e1;
    border-radius: 12px;
}

.related-item .title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .blog-container {
        gap: 30px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .blog-container {
        flex-direction: column;
        gap: 40px;
    }

    .blog-main,
    .blog-sidebar {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
		margin-top: 10px;
    }

    .sidebar-inner {
        position: static;
    }

    .blog-hero {
        margin: 20px auto 30px;
    }

    .hero-wrap {
        min-height: 320px;
        border-radius: 20px;
    }

    .hero-content {
        padding: 40px 30px 30px;
    }

    .updated-date {
        position: static;
        margin-bottom: 16px;
        align-self: flex-start;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}
