/* 
 * JMS Global Gas - UI Revamp Design System
 * Aesthetic: The Perfect Split (Light Corporate Variant)
 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Brand Colors extracted from Logo */
    --jms-primary: #0F5CA8; /* Vibrant 'GLOBAL' Blue */
    --jms-accent: #F05C79; /* Vibrant 'GAS' Coral Pink */
    --jms-peach: #F88D6F; /* Inner flame peach */
    
    /* Text & Neutrals */
    --jms-navy: #333333; /* 'India Limited' Charcoal */
    --jms-navy-deep: #1A1A1A;
    --jms-steel: #5B6472;
    --jms-paper: #FFFFFF;
    --jms-bg: #F6F7F9;
    --jms-line: #E2E8F0;
}

body:not(.elementor-editor-active) {
    background: var(--jms-paper);
    color: var(--jms-navy);
    font-family: 'Inter', sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* Protection for Elementor Editor UI Panel & Navigator */
.elementor-control, 
.elementor-control-title, 
.elementor-control-field input, 
.elementor-control-field textarea, 
.elementor-control-field select, 
.elementor-navigator__item,
.elementor-navigator__item-title,
#elementor-controls, 
#elementor-navigator {
    color: revert !important;
}

.jms-hero-widget * {
    box-sizing: border-box;
}

.jms-hero-widget h1, 
.jms-hero-widget h2, 
.jms-hero-widget h3, 
.jms-hero-widget h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--jms-navy);
}

/* ---------- HERO SPLIT ---------- */
.jms-v2-hero-split {
    display: flex;
    min-height: 800px;
    height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    background: var(--jms-paper); /* Light Corporate Background */
}

/* Left Side (Text) */
.jms-v2-split-left {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 80px;
    padding-left: 24px;
    position: relative;
    z-index: 2;
}

.jms-v2-split-content {
    max-width: 600px;
    width: 100%;
}

.jms-v2-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jms-navy); /* Darker for light background */
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

/* FIX: Constrain Eyebrow Icon Size! */
.jms-v2-eyebrow i, 
.jms-v2-eyebrow svg, 
.jms-v2-eyebrow img {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    fill: var(--jms-primary);
    color: var(--jms-primary);
    flex-shrink: 0;
}

.jms-v2-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--jms-accent);
}

.jms-v2-hero-split h1 {
    color: var(--jms-navy-deep);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.jms-v2-gradient-text {
    color: var(--jms-accent);
    background: none;
}

.jms-v2-lead {
    color: var(--jms-steel);
    font-size: 1.15rem;
    max-width: 480px;
    margin-bottom: 48px;
    font-weight: 400;
}

/* Actions */
.jms-v2-hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.jms-v2-btn-primary {
    background: var(--jms-primary);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
    border: none;
}
.jms-v2-btn-primary:hover {
    background: #0D4E8F; /* slightly darker blue */
    color: #ffffff;
}

.jms-v2-btn-ghost {
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid var(--jms-line);
    color: var(--jms-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}
.jms-v2-btn-ghost:hover {
    border-color: var(--jms-navy);
    background: var(--jms-bg);
}

/* Right Side (Image) */
.jms-v2-split-right {
    flex: 0 0 50%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--jms-bg);
}

.jms-v2-split-right::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Fades from pure white on the left into the image */
    background: linear-gradient(90deg, var(--jms-paper) 0%, transparent 20%);
}

.jms-v2-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 60px 40px;
    background: linear-gradient(to top, rgba(8,18,33,0.9), transparent);
    z-index: 2;
}

.jms-v2-overlay-badge {
    background: var(--jms-primary);
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

.jms-v2-overlay-title {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 4px;
    font-family: 'Manrope', sans-serif;
}

.jms-v2-overlay-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin: 0;
}

/* Trust / Feature Badges (Hero Section) */
.jms-v2-hero-badges-container {
    display: flex !important;
    gap: 16px !important;
    margin-top: 36px !important;
    flex-wrap: wrap !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

.jms-v2-bridge-badge {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 20px !important;
    background: #ffffff !important;
    border: 1px solid var(--jms-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 25px rgba(8, 18, 33, 0.06) !important;
    transform: none !important;
    min-width: 0 !important;
}

.jms-v2-bridge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--jms-bg);
    border-radius: 50%;
    flex-shrink: 0;
}
.jms-v2-icon-orange { color: var(--jms-accent); }
.jms-v2-icon-blue { color: var(--jms-primary); }

.jms-v2-bridge-icon i, .jms-v2-bridge-icon svg {
    width: 20px !important; height: 20px !important;
    fill: currentColor;
}

.jms-v2-bridge-text h4 {
    font-size: 1rem;
    color: var(--jms-navy);
    margin: 0 0 2px;
    font-weight: 700;
}
.jms-v2-bridge-text p {
    font-size: 0.85rem;
    color: var(--jms-steel);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .jms-v2-hero-split {
        flex-direction: column;
        height: auto;
    }
    .jms-v2-split-left {
        flex: 0 0 auto;
        padding: 100px 24px 60px;
        justify-content: flex-start;
    }
    .jms-v2-split-right {
        flex: 0 0 500px;
        width: 100%;
    }
    .jms-v2-split-right::after {
        background: linear-gradient(180deg, var(--jms-paper) 0%, transparent 15%);
    }
}
@media (max-width: 768px) {
    .jms-v2-hero-split h1 {
        font-size: 2.5rem;
    }
    .jms-v2-split-left {
        padding: 80px 20px 40px;
    }
    .jms-v2-split-right {
        flex: 0 0 350px;
    }
    .jms-v2-hero-badges-container {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .jms-v2-bridge-badge {
        width: 100% !important;
    }
}

/* =========================================
   GLOBAL UTILITY CLASSES (V2 Design System)
   ========================================= */

.jms-v2-section {
    padding: 100px 0;
    background: var(--jms-paper);
    position: relative;
    overflow: hidden;
}

.jms-v2-section-tint {
    background: var(--jms-bg);
}

.jms-v2-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 40px;
    flex-wrap: wrap;
}
.jms-v2-section-head h2 {
    font-size: 2.5rem;
    max-width: 600px;
    margin: 16px 0 0 0;
    line-height: 1.1;
    color: var(--jms-navy-deep);
}
.jms-v2-section-head p {
    color: var(--jms-steel);
    max-width: 400px;
    font-size: 1rem;
    margin: 0;
}

.jms-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Grids */
.jms-v2-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.jms-v2-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.jms-v2-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.jms-v2-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.jms-v2-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

/* Cards */
.jms-v2-card {
    background: var(--jms-paper);
    border-radius: 8px;
    border: 1px solid var(--jms-line);
    padding: 32px;
    transition: all 0.2s ease;
}
.jms-v2-card:hover {
    box-shadow: 0 20px 40px -12px rgba(8,18,33,0.1);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.jms-v2-card-icon {
    width: 48px;
    height: 48px;
    background: var(--jms-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--jms-primary);
}
.jms-v2-card-icon i, .jms-v2-card-icon svg {
    width: 24px; height: 24px; fill: currentColor;
}

.jms-v2-card h3 {
    font-size: 1.25rem;
    color: var(--jms-navy-deep);
    margin-bottom: 12px;
}
.jms-v2-card p {
    font-size: 0.95rem;
    color: var(--jms-steel);
    margin: 0;
}

/* Headings */
.jms-v2-section h1, .jms-v2-section h2, .jms-v2-section h3, .jms-v2-section h4, 
.jms-v2-section-head h2, .jms-v2-card h3 {
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
}
.jms-v2-section-head h2, h2.jms-v2-title, .jms-v2-section h2 {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--jms-navy-deep);
}
.jms-v2-card h3, h3.jms-v2-card-title, .jms-v2-section h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--jms-navy);
}

/* Global Icon & Image Constraints (Scoped to Frontend Sections) */
.jms-v2-section i, .jms-v2-section svg, .jms-v2-section img,
.jms-v2-container i, .jms-v2-container svg, .jms-v2-container img {
    max-width: 100%;
}

/* Force all widget icon containers and uploaded image icons to remain small */
.jms-v2-section [class*="-icon"], 
.jms-v2-section [class*="-badge"] i, .jms-v2-section [class*="-badge"] svg, .jms-v2-section [class*="-badge"] img,
.jms-v2-section [class*="-feature-icon"] i, .jms-v2-section [class*="-feature-icon"] svg, .jms-v2-section [class*="-feature-icon"] img,
.jms-v2-section div[class*="-icon-wrap"] img, .jms-v2-section div[class*="-icon-wrap"] svg, .jms-v2-section div[class*="-icon-wrap"] i {
    max-width: 28px !important;
    max-height: 28px !important;
    font-size: 24px !important;
    object-fit: contain !important;
}

.jms-v2-section [class*="-feature-icon"] {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 10px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

/* Legacy Migrated Widget Catchalls (Scoped to Frontend) */
.jms-v2-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.jms-v2-card [class*="-icon-wrap"] {
    width: 48px; height: 48px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.jms-v2-card [class*="-icon"] {
    font-size: 24px;
}
.jms-v2-card svg {
    max-width: 24px; max-height: 24px;
}
.jms-v2-card [class*="-card-accent"] {
    display: none;
}
.jms-v2-card [class*="-link"] {
    display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none;
}
.jms-v2-card [class*="-link"]:hover {
    text-decoration: underline;
}
.jms-v2-section-head [class*="-underline"] {
    height: 4px; width: 64px; background: var(--jms-primary); margin: 16px 0; border-radius: 4px;
}

@media (min-width: 993px) {
    .jms-v2-grid-4,
    [class*="jms-v2-grid-4"] {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Comprehensive Mobile & Tablet Responsiveness for All Widgets */
@media (max-width: 992px) {
    .jms-v2-grid-3, .jms-v2-grid-4, .jms-v2-grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .jms-v2-split,
    .jms-v2-container [style*="grid-template-columns: 1fr 1fr"],
    .jms-v2-container [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
}

@media (max-width: 768px) {
    .jms-v2-grid-3, .jms-v2-grid-4, .jms-v2-grid-2,
    .jms-v2-container [style*="grid-template-columns"],
    .jms-v2-section [style*="grid-template-columns"],
    div[class*="-widget"] [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .jms-v2-section { 
        padding: 48px 0 !important; 
    }

    /* Fixed image heights on mobile */
    .jms-v2-container [style*="height: 460px"],
    .jms-v2-container [style*="height: 480px"],
    .jms-v2-container [style*="height: 520px"],
    .jms-v2-container [style*="height: 440px"],
    .jms-v2-container [style*="height: 320px"] {
        height: 280px !important;
    }
    
    .jms-v2-section-head { 
        margin-bottom: 32px; 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 16px; 
    }

    /* Responsive Headings */
    .jms-v2-container h1,
    div[class*="-widget"] h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }

    .jms-v2-section-head h2, 
    h2.jms-v2-title, 
    .jms-v2-section h2,
    .jms-v2-container h2,
    div[class*="-widget"] h2 { 
        font-size: 1.85rem !important; 
        line-height: 1.25 !important;
    }

    /* Responsive Buttons & Badges */
    .jms-v2-container a[style*="padding: 14px"],
    div[class*="-widget"] a[style*="padding: 14px"] {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Solutions & Sector Widgets CTA Button & Badge Formatting */
.jms-sector-cta,
.jms-hotel-cta,
.jms-commercial-cta,
.jms-industrial-cta,
a[class*="-cta"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background-color: #F26522 !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(242, 101, 34, 0.35) !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.jms-sector-cta:hover,
.jms-hotel-cta:hover,
.jms-commercial-cta:hover,
.jms-industrial-cta:hover,
a[class*="-cta"]:hover {
    background-color: #e05310 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.jms-sector-badge,
.jms-hotel-badge,
.jms-commercial-badge,
.jms-industrial-badge {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    background-color: #F26522 !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
    z-index: 5 !important;
}

.jms-sector-badge i, .jms-sector-badge svg,
.jms-hotel-badge i, .jms-hotel-badge svg,
.jms-commercial-badge i, .jms-commercial-badge svg,
.jms-industrial-badge i, .jms-industrial-badge svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
}

/* =========================================================
   JMS Single Post Template — Premium Magazine Layout
   ========================================================= */

.jms-post-page,
div[class*="jms-post-page"] {
    font-family: 'Inter', 'Manrope', sans-serif !important;
    background: #f8fafc !important;
    color: #1a1a1a !important;
    -webkit-font-smoothing: antialiased !important;
}

/* ── Hero Banner ─────────────────────────────────────────── */
.jms-post-page .jms-post-hero,
.jms-post-hero {
    position: relative !important;
    min-height: 480px !important;
    display: flex !important;
    align-items: flex-end !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}
.jms-post-page .jms-post-hero__overlay,
.jms-post-hero__overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(to bottom, rgba(14, 30, 50, 0.65) 0%, rgba(14, 30, 50, 0.92) 100%) !important;
}
.jms-post-page .jms-post-hero__inner,
.jms-post-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1000px !important;
    padding: 60px 48px 48px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Breadcrumb */
.jms-post-page .jms-post-breadcrumb,
.jms-post-breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.85) !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}
.jms-post-page .jms-post-breadcrumb a,
.jms-post-page .jms-post-breadcrumb span {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none !important;
}

/* Category pill */
.jms-post-page .jms-post-hero-cat,
.jms-post-hero-cat {
    display: inline-block !important;
    padding: 6px 18px !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    background-color: #F26522 !important;
    margin-bottom: 20px !important;
    text-decoration: none !important;
}

/* Title */
.jms-post-page .jms-post-hero-title,
h1.jms-post-hero-title,
.jms-post-hero-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0 0 24px 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
}

/* Meta row */
.jms-post-page .jms-post-hero-meta,
.jms-post-hero-meta {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}
.jms-post-page .jms-post-hero-details,
.jms-post-page .jms-post-hero-details i,
.jms-post-page .jms-post-hero-details span {
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500 !important;
}

/* ── Share Bar ───────────────────────────────────────────── */
.jms-post-page .jms-post-sharebar,
.jms-post-sharebar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
.jms-post-page .jms-post-sharebar__inner,
.jms-post-sharebar__inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 48px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 56px !important;
}
.jms-post-page .jms-post-sharebar__label {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #5b6472 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-right: 4px !important;
}
.jms-post-page .jms-post-share-btn,
.jms-post-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}
.jms-post-page .jms-share-fb { background: #1877f2 !important; }
.jms-post-page .jms-share-tw { background: #000000 !important; }
.jms-post-page .jms-share-li { background: #0077b5 !important; }
.jms-post-page .jms-share-wa { background: #25d366 !important; }
.jms-post-page .jms-share-copy { background: #64748b !important; }

/* ── Body Layout ─────────────────────────────────────────── */
.jms-post-page .jms-post-body,
.jms-post-body {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 48px !important;
}
.jms-post-page .jms-post-body__inner,
.jms-post-body__inner {
    display: grid !important;
    grid-template-columns: 1fr 340px !important;
    gap: 48px !important;
    align-items: start !important;
}

/* ── Article Column ──────────────────────────────────────── */
.jms-post-page .jms-post-article-col,
.jms-post-article-col { min-width: 0 !important; }

/* Table of Contents */
.jms-post-page .jms-post-toc,
.jms-post-toc {
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 24px 28px !important;
    margin-bottom: 24px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(8,18,33,0.04) !important;
}
.jms-post-page .jms-post-toc__header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.95rem !important;
    margin-bottom: 16px !important;
    color: #0E1E32 !important;
}
.jms-post-page .jms-post-toc__list {
    margin: 0 !important;
    padding-left: 20px !important;
    list-style: decimal !important;
}
.jms-post-page .jms-post-toc__list li {
    margin-bottom: 8px !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
}
.jms-post-page .jms-post-toc__list li a {
    color: #0F5CA8 !important;
    text-decoration: none !important;
}

/* Article Content Typography */
.jms-post-page .jms-post-content,
.jms-post-content {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 48px 52px !important;
    box-shadow: 0 4px 24px rgba(8,18,33,0.05) !important;
    border: 1px solid #E2E8F0 !important;
    margin-bottom: 36px !important;
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
    color: #334155 !important;
}
.jms-post-page .jms-post-content p {
    color: #334155 !important;
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
    margin-bottom: 1.4em !important;
}
.jms-post-content h1,
.jms-post-content h2,
.jms-post-content h3,
.jms-post-content h4,
.jms-post-content h5 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: #0E1E32;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.6em;
}
.jms-post-content h2 { font-size: 1.55rem; }
.jms-post-content h3 { font-size: 1.25rem; color: #0F5CA8; }
.jms-post-content h4 { font-size: 1.05rem; }
.jms-post-content p { margin-bottom: 1.35em; }
.jms-post-content a { color: #0F5CA8; text-decoration: underline; }
.jms-post-content a:hover { color: #F26522; }
.jms-post-content strong { font-weight: 700; color: #0e1e32; }
.jms-post-content ul,
.jms-post-content ol {
    padding-left: 1.4em;
    margin-bottom: 1.35em;
}
.jms-post-content li { margin-bottom: 0.5em; }
.jms-post-content img {
    width: 100%;
    border-radius: 10px;
    margin: 1.5em 0;
    object-fit: cover;
}
.jms-post-content blockquote {
    border-left: 4px solid #F26522;
    background: #fff7f3;
    margin: 1.5em 0;
    padding: 18px 24px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #444;
}
.jms-post-content blockquote p { margin: 0; }
.jms-post-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e05310;
}
.jms-post-content pre {
    background: #0e1e32;
    color: #e2e8f0;
    padding: 24px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 0.9rem;
}
.jms-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
}
.jms-post-content th,
.jms-post-content td {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
}
.jms-post-content th { background: #0F5CA8; color: #fff; font-weight: 700; }
.jms-post-content tr:nth-child(even) td { background: #f8fafc; }

/* Tags */
.jms-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}
.jms-post-tags__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #5b6472;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}
.jms-post-tag {
    display: inline-block;
    padding: 5px 14px;
    background: #f1f5f9;
    color: #0F5CA8;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.jms-post-tag:hover {
    background: #0F5CA8;
    color: #fff;
    border-color: #0F5CA8;
}

/* Author Card */
.jms-post-author-card {
    display: flex;
    gap: 24px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    margin-bottom: 36px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.jms-post-author-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #e2e8f0;
}
.jms-post-author-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5b6472;
    margin-bottom: 4px;
}
.jms-post-author-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 8px;
    font-family: 'Manrope', sans-serif;
}
.jms-post-author-bio {
    font-size: 0.88rem;
    color: #5b6472;
    line-height: 1.65;
    margin: 0;
}

/* Post Navigation */
.jms-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.jms-post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    min-width: 0;
}
.jms-post-nav-item:hover {
    border-color: #0F5CA8;
    box-shadow: 0 4px 16px rgba(15,92,168,0.1);
    transform: translateY(-2px);
}
.jms-post-nav-next { text-align: right; }
.jms-post-nav-dir {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #5b6472;
}
.jms-post-nav-ttl {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F5CA8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.jms-post-sidebar__sticky {
    position: sticky;
    top: 72px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sidebar CTA */
.jms-post-sidebar-cta {
    border-radius: 16px;
    padding: 32px 28px;
    color: #fff;
    text-align: center;
}
.jms-post-sidebar-cta__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}
.jms-post-sidebar-cta__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
}
.jms-post-sidebar-cta__desc {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0 0 20px;
    line-height: 1.55;
}
.jms-post-sidebar-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}
.jms-post-sidebar-cta__btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #fff;
}

/* Quick Facts */
.jms-post-sidebar-facts {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}
.jms-post-sidebar-facts__title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #5b6472;
    margin: 0 0 16px;
}
.jms-post-sidebar-facts__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.jms-post-sidebar-facts__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #333;
}
.jms-post-sidebar-facts__list li i { width: 16px; flex-shrink: 0; }

/* Back to blog */
.jms-post-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    transition: all 0.2s;
    justify-content: center;
}
.jms-post-back-btn:hover {
    opacity: 0.8;
    transform: translateX(-3px);
}

/* ── Related Posts ───────────────────────────────────────── */
.jms-post-related {
    background: #f1f5f9;
    padding: 72px 48px;
}
.jms-post-related__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.jms-post-related__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}
.jms-post-related__badge {
    width: 5px;
    height: 32px;
    border-radius: 3px;
}
.jms-post-related__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0e1e32;
    margin: 0;
}
.jms-post-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* Related card */
.jms-post-rel-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}
.jms-post-rel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
    border-color: #0F5CA8;
}
.jms-post-rel-card__thumb {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #e2e8f0;
}
.jms-post-rel-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.jms-post-rel-card:hover .jms-post-rel-card__thumb img {
    transform: scale(1.04);
}
.jms-post-rel-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.6);
}
.jms-post-rel-card__cat {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
}
.jms-post-rel-card__body { padding: 20px 22px; }
.jms-post-rel-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0e1e32;
    line-height: 1.4;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jms-post-rel-card__meta {
    display: flex;
    gap: 14px;
    font-size: 0.78rem;
    color: #5b6472;
}
.jms-post-rel-card__meta i { margin-right: 4px; }

/* ── Bottom CTA Banner ───────────────────────────────────── */
.jms-post-cta-banner {
    padding: 72px 48px;
}
.jms-post-cta-banner__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}
.jms-post-cta-banner__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
}
.jms-post-cta-banner__text { flex: 1; min-width: 220px; }
.jms-post-cta-banner__text h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}
.jms-post-cta-banner__text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}
.jms-post-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 40px;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.jms-post-cta-banner__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    color: #fff;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .jms-post-body__inner {
        grid-template-columns: 1fr;
    }
    .jms-post-sidebar { order: -1; }
    .jms-post-sidebar__sticky {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .jms-post-hero { min-height: 360px; }
    .jms-post-hero__inner { padding: 40px 24px 40px; }
    .jms-post-hero-title { font-size: 1.6rem; }
    .jms-post-body { padding: 40px 20px; }
    .jms-post-content { padding: 28px 22px; font-size: 0.97rem; }
    .jms-post-sharebar__inner { padding: 0 20px; gap: 8px; }
    .jms-post-related { padding: 48px 20px; }
    .jms-post-related__grid { grid-template-columns: 1fr; }
    .jms-post-cta-banner { padding: 48px 20px; }
    .jms-post-cta-banner__inner { flex-direction: column; text-align: center; }
    .jms-post-nav { grid-template-columns: 1fr; }
    .jms-post-author-card { flex-direction: column; gap: 16px; }
    .jms-post-sidebar__sticky { grid-template-columns: 1fr; }
}

/* =========================================================
   JMS About Values Widget — Subtitle & Header Fix
   ========================================================= */

.jms-values-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin-bottom: 56px !important;
}

.jms-values-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: clamp(1.85rem, 3.5vw, 2.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #0E1E32 !important;
    margin: 0 !important;
}

.jms-values-subtitle-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    padding: 12px 22px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(8, 18, 33, 0.04) !important;
}

.jms-values-underline {
    height: 5px !important;
    width: 64px !important;
    border-radius: 3px !important;
    flex-shrink: 0 !important;
    background: linear-gradient(90deg, #F26522 0%, #FF8A50 100%) !important;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.35) !important;
}

.jms-values-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #0E1E32 !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
}

.jms-values-subtitle span,
.jms-values-subtitle strong,
.jms-values-subtitle .jms-highlight {
    color: #F26522 !important;
    font-weight: 800 !important;
}


