/* ==========================================================================
   Inssemble Technologies - Main Design System & Custom Styles
   ========================================================================== */

:root {
    --color-primary: #ed573d;
    --color-primary-hover: #d94a32;
    --color-dark: #1b2029;
    --color-dark-light: #242b37;
    --color-heading: #1b2029;
    --color-body: #4a5568;
    --color-body-muted: #718096;
    --color-bg-light: #ffffff;
    --color-bg-subtle: #f3f6f9;
    --color-bg-gray: #e6ebec;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --container-max-width: 1240px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---------------- Global Reset & Defaults ---------------- */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-body);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    margin: 0 0 12px 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.content-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-orange {
    color: var(--color-primary) !important;
}

/* Button styles */
.btn-theme-orange {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 14px rgba(237, 87, 61, 0.25);
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-theme-orange:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 87, 61, 0.35);
}

/* ---------------- Top Navigation Header ---------------- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--color-primary);
}

.nav-link .caret {
    font-size: 11px;
    color: #718096;
    transition: var(--transition-smooth);
}

/* Navigation Dropdown */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .caret {
    transform: rotate(180deg);
}

.dropdown-menu-custom li a {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

.dropdown-menu-custom li a:hover {
    background-color: #f7fafc;
    color: var(--color-primary);
    padding-left: 24px;
}

.btn-contact-nav {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(237, 87, 61, 0.2);
}

.btn-contact-nav:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(237, 87, 61, 0.3);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

/* ---------------- SECTION 1: HERO SECTION ---------------- */
.hero-section {
    position: relative;
    background-color: #ffffff;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 40px 0;
}

.hero-background-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-card {
    background-color: var(--color-dark);
    max-width: 540px;
    padding: 54px 46px;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    animation: fadeInSlideLeft 0.8s ease-out;
}

.hero-title {
    font-size: 46px;
    line-height: 1.15;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.hero-action {
    display: flex;
}

/* ---------------- SECTION 2: OUR OFFERINGS ---------------- */
.offerings-section {
    background-color: #ffffff;
    padding: 80px 0 90px;
}

.section-header {
    margin-bottom: 45px;
}

.section-title {
    font-size: 48px;
    line-height: 1.1;
    color: var(--color-heading);
    margin-bottom: 12px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: #4a5568;
    margin: 0;
    max-width: 900px;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.offering-card {
    background-color: var(--color-bg-subtle);
    border-radius: 10px;
    padding: 30px 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    border-color: #cbd5e1;
}

.offering-icon-wrap {
    flex-shrink: 0;
}

.offering-icon {
    width: 58px;
    height: 59px;
    object-fit: contain;
}

.offering-content {
    flex-grow: 1;
}

.offering-title {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.2;
    color: var(--color-heading);
    margin-bottom: 10px;
}

.offering-desc {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* ---------------- SECTION 3: ABOUT INSSEMBLE ---------------- */
.about-section {
    background-color: var(--color-dark);
    padding: 95px 0 100px;
    color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-title {
    font-size: 52px;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-lead {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.55;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.about-text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.about-action {
    margin-top: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 60px;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-bullets li {
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.bullet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
    flex-shrink: 0;
}

/* ---------------- SECTION 4: CASE STUDIES ---------------- */
.case-studies-section {
    background-color: #ffffff;
    padding: 85px 0 95px;
}

.case-studies-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: transparent;
    transition: var(--transition-smooth);
}

.case-card:hover {
    transform: translateY(-4px);
}

.case-img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 6px;
    background-color: #e2e8f0;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-img {
    transform: scale(1.05);
}

.case-content {
    padding-top: 18px;
}

.case-title {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.3;
    color: var(--color-heading);
    margin: 0;
}

/* ---------------- SECTION 5: SOLUTIONS PROVIDED ---------------- */
.solutions-section {
    background-color: var(--color-bg-gray);
    padding: 80px 0 90px;
}

.solutions-header {
    margin-bottom: 35px;
}

.solutions-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

.solution-card {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.solution-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-card {
    height: 524px;
}

.featured-card .solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-sub-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 524px;
}

.secondary-card {
    flex: 1;
    height: 250px;
}

.secondary-card .solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
    padding: 40px 24px 20px;
    z-index: 2;
}

.solution-title {
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.featured-card .solution-title {
    font-size: 24px;
}

.secondary-card .solution-title {
    font-size: 19px;
}

/* ---------------- SECTION 6: CAREERS WITH INSSEMBLE ---------------- */
.careers-section {
    background-color: #ffffff;
    padding: 85px 0 95px;
}

.careers-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: center;
}

.careers-title {
    font-size: 32px;
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 600;
    margin-bottom: 18px;
}

.careers-desc {
    font-family: var(--font-body);
    font-size: 15.5px;
    line-height: 1.65;
    color: #4a5568;
    margin-bottom: 30px;
}

.openings-card {
    background-color: var(--color-dark);
    border-radius: 10px;
    padding: 26px 30px;
    max-width: 360px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.openings-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.openings-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 18px;
    line-height: 1.45;
}

.openings-link {
    display: inline-block;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition-smooth);
}

.openings-link:hover {
    color: var(--color-primary);
}

.careers-media {
    display: flex;
    justify-content: center;
}

.careers-img-wrap {
    width: 100%;
    max-width: 632px;
}

.careers-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.careers-img:hover {
    transform: scale(1.02);
}

/* ---------------- CONNECT STRIP ---------------- */
.connect-strip {
    background-color: var(--color-primary);
    padding: 30px 0;
    color: #ffffff;
}

.connect-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.connect-icon-box {
    flex-shrink: 0;
}

.connect-icon {
    width: 63px;
    height: 52px;
    object-fit: contain;
}

.connect-text-box {
    flex-grow: 1;
}

.connect-text-box h3 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 6px;
}

.connect-text-box p {
    font-family: var(--font-body);
    color: #ffffff;
    font-size: 14.5px;
    margin: 0;
    max-width: 750px;
    opacity: 0.95;
}

.connect-action-box {
    flex-shrink: 0;
}

.btn-connect-light {
    display: inline-block;
    background-color: #ffffff;
    color: #1a1a1a !important;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.btn-connect-light:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ---------------- FOOTER ---------------- */
.site-footer {
    background-color: var(--color-dark);
    color: #94a3b8;
    padding: 70px 0 25px;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 38px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #94a3b8;
    max-width: 380px;
}

.footer-heading {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    font-size: 14px;
    color: #94a3b8;
    transition: var(--transition-smooth);
}

.footer-links li a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-contact-item {
    font-size: 14px;
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer-contact-item strong {
    color: #e2e8f0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
}

.footer-bottom p {
    margin: 0;
}

.footer-sublinks a {
    color: var(--color-primary);
    font-weight: 500;
}

/* ---------------- Animations ---------------- */
@keyframes fadeInSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------------- Responsive Styles ---------------- */
@media (max-width: 1024px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-card {
        max-width: 480px;
        padding: 40px 32px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        padding-top: 10px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-section {
        min-height: auto;
        padding: 20px 0 40px;
    }
    
    .hero-background-wrapper {
        position: relative;
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }
    
    .hero-card {
        max-width: 100%;
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-card {
        height: 340px;
    }
    
    .solution-sub-column {
        height: auto;
    }
    
    .secondary-card {
        height: 220px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }

    .careers-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .openings-card {
        max-width: 100%;
    }
    
    .connect-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================================================
   Subpages, Layout Compatibility & Polish
   ========================================================================== */
.subpage-container {
    padding-bottom: 60px;
}

.subpage-header {
    background-color: #f8fafc;
    padding: 50px 0 35px;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 30px;
}

.subpage-intro {
    font-family: var(--font-body);
    font-size: 18px;
    color: #4a5568;
    max-width: 800px;
    margin-top: 10px;
    line-height: 1.6;
}

.section_wrapper, .container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

.pagetitle {
    font-family: var(--font-heading);
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 16px;
}

.bigtitle {
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 16px;
}

.smtitle {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 14px;
}

.orange {
    color: var(--color-primary) !important;
}

.white {
    color: #ffffff !important;
}

/* ==========================================================================
   Contact Page (1:1 with live inssemble.com/contact-us/)
   ========================================================================== */
.contact-clean-page {
    background-color: #ffffff !important;
    padding-top: 0 !important;
    min-height: auto !important;
}

.contact-header-section {
    background-color: #ffffff !important;
    padding: 50px 0 35px 0 !important;
}

.contact-inner-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.contact-header-section .pagetitle {
    font-family: var(--font-heading) !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.2 !important;
}

.contact-header-section .contact-subtitle {
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    color: #555555 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    max-width: 800px !important;
}

.contact-office-section {
    background-color: #e6ebec !important;
    padding: 40px 0 50px 0 !important;
    border-top: 1px solid #dee4e6 !important;
}

.contact-office-section .office-box {
    max-width: 600px !important;
}

.contact-office-section .smtitle.orange {
    color: #ed573d !important;
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 14px 0 !important;
    text-transform: none !important;
}

.contact-office-section .office-address {
    font-family: var(--font-body) !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: #333333 !important;
    margin: 0 0 12px 0 !important;
}

.contact-office-section .office-address strong {
    font-weight: 700 !important;
    color: #222222 !important;
}

.contact-office-section .office-nav a {
    color: #0088cc !important;
    text-decoration: none !important;
    font-family: var(--font-body) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
}

.contact-office-section .office-nav a:hover {
    text-decoration: underline !important;
}

/* ==========================================================================
   Blog, Solutions & Case Studies Grid & Layout System
   ========================================================================== */
.content_wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 20px 60px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    clear: both !important;
    position: relative !important;
}

.content_wrapper:after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Main Content Area */
.sections_group {
    flex: 1 1 70% !important;
    max-width: calc(100% - 330px) !important;
    padding-right: 40px !important;
    min-width: 0 !important;
    float: left !important;
    box-sizing: border-box !important;
}

/* When there is NO sidebar on the page */
.content_wrapper:not(:has(.sidebar)) .sections_group {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    float: none !important;
}

/* Sidebar Area matching live inssemble.com (STRICTLY ON RIGHT SIDE) */
.sidebar, .mcb-sidebar {
    flex: 0 0 300px !important;
    width: 300px !important;
    max-width: 300px !important;
    border-left: 1px solid #eeeeee !important;
    padding-left: 30px !important;
    margin: 0 !important;
    float: right !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.sidebar .widget {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 36px !important;
    box-shadow: none !important;
}

.sidebar .widget h3 {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    border: none !important;
}

.sidebar .Recent_posts ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar .Recent_posts.blog_news ul li,
.sidebar .Recent_posts ul li {
    margin-bottom: 18px !important;
    padding: 0 !important;
    border: none !important;
    overflow: visible !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    float: none !important;
}

.sidebar .Recent_posts ul li:last-child {
    margin-bottom: 0 !important;
}

.sidebar .Recent_posts ul li a {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    text-decoration: none !important;
    width: 100% !important;
}

.sidebar .Recent_posts ul li .photo,
.sidebar .Recent_posts.blog_news ul li .photo {
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    height: 48px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    background-color: transparent !important;
}

.sidebar .Recent_posts ul li .photo img,
.sidebar .Recent_posts.blog_news ul li .photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    top: 0 !important;
}

.sidebar .Recent_posts li a:hover .photo img {
    transform: scale(1.06) !important;
}

.sidebar .Recent_posts .photo .c {
    display: none !important;
}

.sidebar .Recent_posts ul li .desc,
.sidebar .Recent_posts.blog_news ul li .desc {
    width: auto !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    min-height: auto !important;
    border: none !important;
}

.sidebar .Recent_posts ul li .desc:after,
.sidebar .Recent_posts.blog_news ul li .desc:after {
    display: none !important;
}

.sidebar .Recent_posts ul li .desc h6,
.sidebar .Recent_posts.blog_news ul li .desc h6 {
    font-family: var(--font-body) !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: #333333 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    word-break: normal !important;
    white-space: normal !important;
    display: block !important;
    transition: color 0.2s ease !important;
}

.sidebar .Recent_posts li a:hover .desc h6 {
    color: #0088cc !important;
}

.sidebar .Recent_posts .desc .date {
    display: none !important;
}

/* Article Typography and Blue Titles */
.post-wrapper-content h3.blue,
.post-wrapper-content .pagetitle,
.post-wrapper-content .column_column:first-child h3 {
    color: #0088cc !important;
    font-family: var(--font-heading) !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.35 !important;
}

.post-wrapper-content p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #444444 !important;
    margin-bottom: 18px !important;
}

.post-wrapper-content ol,
.post-wrapper-content ul {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #444444 !important;
    padding-left: 20px !important;
    margin-bottom: 24px !important;
}

.post-wrapper-content ol li,
.post-wrapper-content ul li {
    margin-bottom: 6px !important;
}

/* Share Bar */
.section-post-intro-share {
    padding: 16px 0 !important;
    margin-top: 24px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.share-simple-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.share-simple-wrapper .share-label {
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

.share-simple-wrapper .icons {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.share-simple-wrapper .icons a {
    color: #64748b !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.share-simple-wrapper .icons a:hover {
    color: #0088cc !important;
}

.share-simple-wrapper .button-love {
    display: none !important;
}

/* Related Posts Section matching Screenshot 2 */
.section-post-related {
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 1px solid #eeeeee !important;
    width: 100% !important;
    clear: both !important;
}

.section-related-adjustment h4 {
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin-bottom: 24px !important;
}

.section-related-ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

.section-related-ul .post-related {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.section-related-ul .post-related:hover {
    transform: none !important;
    box-shadow: none !important;
}

.section-related-ul .single-photo-wrapper,
.section-related-ul .image_frame,
.section-related-ul .image_wrapper {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    margin: 0 0 12px 0 !important;
    border-radius: 0 !important;
}

.section-related-ul .image_wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    display: block !important;
}

.section-related-ul .date_label {
    padding: 0 !important;
    margin-bottom: 6px !important;
    font-size: 12px !important;
    color: #888888 !important;
}

.section-related-ul .desc {
    padding: 0 !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.section-related-ul .desc h4 {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
}

.section-related-ul .desc h4 a {
    color: #222222 !important;
    text-decoration: none !important;
}

.section-related-ul .desc h4 a:hover {
    color: #0088cc !important;
}

.section-related-ul .button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background-color: #ed573d !important;
    border: none !important;
    border-radius: 2px !important;
    text-decoration: none !important;
    width: fit-content !important;
    transition: background-color 0.2s ease !important;
}

.section-related-ul .button:hover {
    background-color: #d8452c !important;
    color: #ffffff !important;
}

.section-related-ul .button .button_icon {
    display: inline-block !important;
}

.section-related-ul .button .button_icon:before {
    content: ":: " !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
}

.section-related-ul .button i {
    display: none !important;
}

.section-related-ul hr.hr_color {
    display: none !important;
}

/* Detail page article hero image: hide if disabled */
.single-photo-wrapper.image .image_frame.disabled {
    display: none !important;
}

.single-photo-wrapper.image .image_frame {
    width: 100% !important;
    max-height: 480px !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    margin-bottom: 24px !important;
}

.single-photo-wrapper.image .image_frame img {
    width: 100% !important;
    height: 100% !important;
    max-height: 480px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Footer Address and Layout */
.footer-address {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer-address strong {
    color: #ffffff !important;
}

/* Clear and prevent overlapping of the connect strip & footer */
.connect-strip {
    clear: both !important;
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
}

footer.site-footer {
    clear: both !important;
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
}

.wrap.mcb-wrap.one, .column.mcb-column.one {
    width: 100% !important;
    float: none !important;
}

.column_blog, .column_blog_teaser {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.blog_wrapper, .isotope_wrapper, .column_filters {
    width: 100% !important;
    display: block !important;
}

/* 3-Column Modern Grid for Blog & Case Studies */
.posts_group.lm_wrapper,
.posts_group.grid,
.posts_group.col-3,
.posts_group.masonry {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    float: none !important;
    margin: 30px 0 40px 0 !important;
}

.posts_group .post-item {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #edf2f7 !important;
    transition: var(--transition-smooth) !important;
}

.posts_group .post-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12) !important;
}

.posts_group .image_frame,
.posts_group .image_wrapper {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.posts_group .image_wrapper img,
.posts_group .wp-post-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    top: 0 !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.posts_group .post-item:hover .image_wrapper img {
    transform: scale(1.05) !important;
}

.posts_group .post-desc-wrapper {
    padding: 24px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #ffffff !important;
}

.posts_group .post-title,
.posts_group .post-title h2,
.posts_group .post-title h3,
.posts_group .entry-title {
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--color-heading) !important;
    margin: 0 0 16px 0 !important;
}

.posts_group .post-title a {
    color: var(--color-heading) !important;
    text-decoration: none !important;
}

.posts_group .post-title a:hover {
    color: var(--color-primary) !important;
}

.posts_group .date_label {
    display: inline-block !important;
    font-size: 13px !important;
    font-family: var(--font-body) !important;
    color: #64748b !important;
    margin-bottom: 8px !important;
}

.posts_group .button-love {
    display: none !important;
}

.posts_group .post-footer {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 14px !important;
    margin: 0 !important;
}

.posts_group .post-links {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.posts_group .post-more {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.posts_group .post-more:after {
    content: " \2192" !important;
    transition: transform 0.2s ease !important;
    display: inline-block !important;
}

.posts_group .post-item:hover .post-more:after {
    transform: translateX(4px) !important;
}

.posts_group .post-links i {
    display: none !important;
}

.posts_group .image_links {
    display: none !important;
}

/* Asymmetric Layout for Blog Teaser (Solutions in Services & Subpages) */
.blog-teaser .teaser-wrapper {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr !important;
    grid-template-rows: 250px 250px !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 30px 0 !important;
    width: 100% !important;
    float: none !important;
}

.blog-teaser li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: var(--transition-smooth) !important;
}

.blog-teaser li:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15) !important;
}

.blog-teaser li:first-child {
    grid-row: span 2 !important;
    height: 100% !important;
}

.blog-teaser li .photo-wrapper {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.blog-teaser li .photo-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.blog-teaser li .desc-wrapper {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%) !important;
    padding: 40px 24px 20px !important;
    z-index: 4 !important;
    transform: none !important;
}

.blog-teaser li .desc-wrapper .desc {
    background: none !important;
    padding: 0 !important;
}

.blog-teaser li .desc-wrapper .post-meta {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
}

.blog-teaser li .desc-wrapper .post-meta i {
    display: none !important;
}

.blog-teaser li .desc-wrapper .post-title h3,
.blog-teaser li .desc-wrapper .post-title h4 {
    margin: 0 !important;
}

.blog-teaser li .desc-wrapper .post-title a {
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.blog-teaser li:first-child .desc-wrapper .post-title h3 a {
    font-size: 24px !important;
}

.blog-teaser li:not(:first-child) .desc-wrapper .post-title h4 a {
    font-size: 18px !important;
}

.blog-teaser li .desc-wrapper .post-title:after {
    display: none !important;
}

@media (max-width: 900px) {
    .posts_group.lm_wrapper,
    .posts_group.grid,
    .posts_group.col-3,
    .posts_group.masonry {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .blog-teaser .teaser-wrapper {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    
    .blog-teaser li:first-child {
        grid-row: auto !important;
        height: 340px !important;
    }
    
    .blog-teaser li:not(:first-child) {
        height: 240px !important;
    }
}

@media (max-width: 600px) {
    .posts_group.lm_wrapper,
    .posts_group.grid,
    .posts_group.col-3,
    .posts_group.masonry {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Services Checklist (feature_list) matching live inssemble.com
   ========================================================================== */
.column_feature_list {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 36px 0 30px 0 !important;
    display: block !important;
}

.feature_list {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

.feature_list ul {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

.feature_list[data-col="3"] ul {
    grid-template-columns: repeat(3, 1fr) !important;
}

.feature_list[data-col="4"] ul {
    grid-template-columns: repeat(4, 1fr) !important;
}

.feature_list ul li {
    width: 100% !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.feature_list ul li .icon {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.feature_list ul li .icon i,
.feature_list ul li .icon i.icon-check {
    font-family: "mfn-icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 34px !important;
    line-height: 1 !important;
    color: #0088cc !important;
    display: inline-block !important;
}

.feature_list ul li .icon i:before,
.feature_list ul li .icon i.icon-check:before {
    content: "\e841" !important;
    font-family: "mfn-icons" !important;
}

.feature_list ul li p {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    color: #333333 !important;
}

.feature_list ul li:hover,
.feature_list ul li:hover a {
    color: inherit !important;
    background: transparent !important;
}

.feature_list ul li:hover .icon i {
    color: #0088cc !important;
}

@media (max-width: 992px) {
    .feature_list ul,
    .feature_list[data-col="4"] ul,
    .feature_list[data-col="3"] ul {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 576px) {
    .feature_list ul,
    .feature_list[data-col="4"] ul,
    .feature_list[data-col="3"] ul {
        grid-template-columns: 1fr !important;
    }
}