﻿:root {
        --physio-blue: #023047;
        --physio-accent: #0d6efd;
        --physio-light: #f1f7f9;
        --card-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

    /* Aggressive Overflow Fix */
    html, body {
        overflow-x: hidden !important;
        position: relative;
    }

    .blog-article-wrapper {
        padding: 50px 0 100px;
        background: #fff;
        overflow-x: hidden;
        width: 100%;
    }

    /* 1. Header Hero - Split Style */
    .blog-header-v3 {
        padding: 130px 0 60px;
        background: var(--physio-blue);
        position: relative;
        overflow: hidden; /* Critical for decorative shapes */
    }

    /* Decorative shape in background */
    .blog-header-v3::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -80px;
        width: 400px;
        height: 100%;
        background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
        border-radius: 100px;
        transform: rotate(35deg);
        pointer-events: none;
    }

    .header-columns {
        display: flex;
        align-items: center;
        gap: 50px;
        color: white;
    }

    .header-info-col {
        flex: 1.2;
    }

    .header-image-col {
        flex: 0.8;
        position: relative;
    }

    .floating-article-img {
        width: 100%;
        max-width: 450px;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 30px 60px rgba(0,0,0,0.3);
        border: 1px solid rgba(255,255,255,0.1);
        transform: perspective(1000px) rotateY(-5deg);
        transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .floating-article-img:hover {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }

    .category-pill {
        display: inline-block;
        padding: 6px 20px;
        background: var(--physio-accent);
        color: white;
        border-radius: 50px;
        margin-bottom: 25px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.85rem;
    }

    .blog-title-v3 {
        font-family: var(--accent-font);
        font-size: clamp(2rem, 4vw, 3.5rem);
        line-height: 1.15;
        margin-bottom: 25px;
        color: white;
        font-weight: 400;
    }

    .meta-pills {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        font-size: 0.95rem;
        opacity: 0.8;
    }

    /* 2. Content Section */
    .content-area-v3 {
        padding: 80px 0;
        background: #fff;
    }

    .v3-layout-wrap {
        display: grid;
        grid-template-columns: 8fr 4fr;
        gap: 60px;
    }

    .content-column-v3 {
        font-size: 1.2rem;
        line-height: 1.9;
        color: #1e293b;
    }

    .content-column-v3 p { margin-bottom: 35px; }
    .content-column-v3 h2 { font-family: var(--accent-font); color: var(--physio-blue); margin: 50px 0 25px; }

    /* Article Typography Enhancements */
    .article-text h1, .article-text h2, .article-text h3, .article-text h4, .article-text h5, .article-text h6 {
        font-family: var(--accent-font);
        color: var(--physio-blue);
        margin-top: 40px;
        margin-bottom: 20px;
        line-height: 1.25;
    }
    .article-text p { margin-bottom: 25px; }
    .article-text ul, .article-text ol { margin-bottom: 30px; padding-left: 20px; }
    .article-text li { margin-bottom: 10px; }
    /* Bulletproof Responsive Images & Media */
    .article-text img {
        max-width: 100%;
        height: auto; /* Fallback for most images */
        border-radius: 12px;
        margin: 20px 0;
        display: block; /* Avoid inline spacing issues */
    }

    /* Support for TinyMCE manually set dimensions */
    .article-text img[style*="width"],
    .article-text img[width] {
        max-width: 100% !important;
        height: auto !important; /* Keep aspect ratio if width is constrained */
    }

    /* Alignment & Floats */
    .article-text .align-left, 
    .article-text img[style*="float: left"] {
        float: left;
        margin-right: 30px;
        margin-bottom: 20px;
    }
    .article-text .align-right, 
    .article-text img[style*="float: right"] {
        float: right;
        margin-left: 30px;
        margin-bottom: 20px;
    }
    .article-text .align-center,
    .article-text img[style*="display: block; margin-left: auto; margin-right: auto;"] {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Figure & Caption Support */
    .article-text figure {
        margin: 40px auto;
        max-width: 100%;
        text-align: center;
        display: table; /* Shrinks container to image size */
    }
    .article-text figure img { margin: 0; }
    .article-text figcaption {
        font-size: 0.9rem;
        color: #475569;
        font-style: italic;
        padding: 10px 15px;
        background: #f8fafc;
        border-radius: 0 0 12px 12px;
        border-bottom: 2px solid #e2e8f0;
    }

    .img-fluid { max-width: 100%; height: auto; }

    /* Blockquote Styling */
    .article-text blockquote, .article-text blockquote p {
        border-left: 5px solid var(--physio-blue);
        padding-left: 25px;
        font-style: italic !important;
        color: #475569 !important;
        margin: 40px 0 !important;
        font-size: 1.3rem !important;
        line-height: 1.8 !important;
    }
    .article-text blockquote p {
        border-left: none !important;
        padding-left: 0 !important;
        margin: 0 !important;
    }

    /* Links */
    .article-text a {
        color: var(--physio-accent);
        text-decoration: underline;
        transition: 0.3s;
    }
    .article-text a:hover { color: var(--physio-blue); text-decoration: none; }

    /* Tables (High-Fidelity) */
    .article-text table {
        width: 100%;
        border-collapse: collapse;
        margin: 30px 0;
        background: #ffffff;
        border: 1px solid #e2e8f0;
    }
    .article-text th, .article-text td {
        padding: 15px;
        border: 1px solid #e2e8f0;
        text-align: left;
    }
    .article-text th {
        background: var(--physio-light);
        font-weight: 700;
        color: var(--physio-blue);
    }

    /* Video & Embeds (Responsive) */
    .article-text iframe, .article-text video {
        max-width: 100%;
        border-radius: 16px;
        border: none;
        margin: 30px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    /* Horizontal Rule */
    .article-text hr {
        display: block;
        height: 1px;
        border: 0;
        border-top: 2px solid #cbd5e1 !important; /* Defined Slate Color */
        margin: 60px 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Elegant Sidebar Card */
    .sidebar-card-v3 {
        background: var(--physio-light);
        border: 1px solid rgba(2, 48, 71, 0.05);
        border-radius: 30px;
        padding: 40px 30px;
        position: sticky;
        top: 130px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    }

    .recent-block-v3 {
        margin-bottom: 40px;
    }

    .recent-title-v3 {
        font-family: var(--accent-font);
        color: var(--physio-blue);
        margin-bottom: 25px;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .r-post-v3 {
        display: block;
        padding: 15px;
        background: white;
        border-radius: 18px;
        margin-bottom: 20px;
        text-decoration: none;
        color: inherit;
        border: 1px solid #eef2f6;
        transition: 0.3s;
    }

    .r-post-v3:hover {
        transform: translateY(-5px);
        border-color: var(--physio-accent);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .sidebar-cta-v3 {
        background: var(--physio-blue);
        padding: 30px;
        border-radius: 24px;
        color: white;
        text-align: center;
    }

    /* Share System (Floating) */
    .social-side-float {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 50px;
        padding-top: 30px;
        border-top: 1px solid #f1f5f9;
    }

    .social-bubble-v3 {
        padding: 12px 20px;
        background: var(--physio-light);
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: var(--physio-blue);
        font-weight: 700;
        font-size: 0.9rem;
        transition: 0.3s;
    }

    .social-bubble-v3:hover {
        background: var(--physio-accent);
        color: white;
        transform: translateX(5px);
    }

    @media (max-width: 991px) {
        .header-columns { flex-direction: column; text-align: center; gap: 40px; }
        .header-image-col { width: 100%; display: flex; justify-content: center; }
        .v3-layout-wrap { grid-template-columns: 1fr; }
        .floating-article-img { transform: none !important; width: 100%; max-width: 400px; }
    }
