.editorial-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.pane-content {
    padding: 80px 60px;
    position: relative;
    z-index: 2;
}

.left-pane {
    background-color: var(--bg-color);
}

.red-bar {
    width: 80px;
    height: 6px;
    background-color: var(--theme-color);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.bg-massive-num {
    position: absolute;
    top: -70px;
    left: -20px;
    font-size: 11rem;
    font-weight: 900;
    color: rgba(0,0,0,0.04);
    font-family: serif;
    line-height: 1;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.right-pane {
    background-color: var(--text); 
    background-image: linear-gradient(rgba(45, 45, 45, 0.9), rgba(45, 45, 45, 0.8)), 
                      url('https://media.nepaleverestbasecamp.com/uploads/fullbanner/lobuche-peak-climbing-banner.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.theme-card {
    background: var(--secondary-bg); 
    background: rgba(229, 231, 235, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.theme-card:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    font-size: 1.5rem;
}

.icon-primary {
    background-color: rgba(0, 79, 148, 0.15); 
    color: var(--theme-color);
}

.icon-accent {
    background-color: rgba(244, 162, 97, 0.15); 
    color: var(--highlight-color);
}

.theme-card:hover .icon-circle,
.theme-card:hover .icon-primary,
.theme-card:hover .icon-accent {
    transform: scale(1.1) rotate(5deg);
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
}

.goal-item {
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: var(--transition);
    color: var(--white); 
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.goal-item:hover {
    background: var(--white);
    color: var(--text);
    transform: translateX(5px);
}

.goal-item i {
    color: var(--highlight-color) !important;
    margin-right: 10px;
    font-size: 1.1rem;
}

.goal-item:hover i {
    color: var(--theme-color) !important; 
}

@media (max-width: 991px) {
    .left-pane, .right-pane {
        min-height: auto;
    }
    .pane-content {
        padding: 50px 30px;
    }
    .bg-massive-num {
        font-size: 8rem;
        top: -40px;
    }
}



/* =========================================
   WORK SECTION STYLES
   ========================================= */
.work-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.step-card {
    background: #f1f5f9; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    overflow: hidden;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-side-primary {
    background-color: var(--theme-color); 
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.card-side-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    opacity: 0.3;
}

.step-number {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif; 
}

.card-side-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-title {
    font-size: 1.15rem;
    color: var(--text); 
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.step-card:hover .step-title {
    color: var(--theme-color);
}

.step-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.work-image-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.image-bg-shape {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-bg); 
    border-radius: 12px;
    z-index: -1;
    transition: var(--transition);
}

.work-image-wrapper:hover .image-bg-shape {
    transform: rotate(0deg) translate(-5px, -5px);
}

.work-main-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: var(--transition);
}

.work-image-wrapper:hover .work-main-img {
    transform: scale(1.02);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: -10px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 2;
    border-left: 5px solid var(--theme-color);
    transition: var(--transition);
    min-width: 220px;
}

.image-badge:hover {
    transform: translateY(-5px);
    border-left-color: var(--accent-color);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background-color: #dcfce7; 
    color: #166534;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .work-image-wrapper {
        margin-top: 0;
        margin-bottom: 40px;
    }
    .card-side-primary {
        width: 60px;
    }
    .step-number {
        font-size: 1.4rem;
    }
    .image-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 90%;
        justify-content: center;
    }
    .image-badge:hover {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 576px) {
    .card-side-content {
        padding: 15px;
    }
}