/**
 * Masum's Financial Tab - Styles
 * Version: 1.0.0
 * Exact CSS from original Define Financial design
 */

/* ========================================
   Services Content Area (from original)
   ======================================== */

body.page-template-page_services {
    font-size: 19px;
    line-height: 1.8;
}

.services-content {
    padding-top: 50px !important;
    padding-bottom: 150px;
}

.services-content .panel-grid-cell {
    background: #fff;
}

.services-content .FixedWidget__fixed_widget {
    padding: 45px 30px 25px 0;
    background: #F5F5F5;
    border: 1px solid #DBDBDB;
}

.services-content .panel-grid-cell:last-child {
    padding: 0 20px;
    margin-bottom: 0;
}

.services-content .widget-title {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding-left: 58px;
}

/* Services Menu Styling (Exact from original) */
.services-content .panel-grid-cell:first-child ul li:before {
    display: none;
}

.services-content .services-menu-area ul li a {
    width: 399px;
    height: 60px;
    padding: 15px 0 15px 53px;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Inter';
    font-weight: 400;
    color: #646464;
    margin-bottom: 15px;
    display: block;
    border-left: 3px solid transparent;
}

/* Hover and Active States with Green Arrow Background */
.services-content .services-menu-area ul li a:focus,
.services-content .services-menu-area ul li a:hover,
.services-content .services-menu-area ul li.current-menu-item a {
    width: 401px;
    height: 60px;
    background: url(../images/hSX0LCESWzaN.jpg) no-repeat;
    background-size: 100%;
    background-color: #000;
    padding: 13px 0 15px 70px;
    color: #fff;
    text-decoration: none;
    margin-left: -17px;
    border-left: 3px solid #06834A;
}

.site-inner .menu-services-menu-container ul li:before {
    display: none;
}

/* ========================================
   Container & Layout
   ======================================== */

.masum-services-layout {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-container {
    display: grid;
    grid-template-columns: 33.5% 66.5%;
    gap: 30px;
    align-items: flex-start;
}

/* ========================================
   Sidebar Styles
   ======================================== */

.services-sidebar {
    position: relative;
}

.services-menu-wrapper {
    background: #F5F5F5;
    padding: 45px 30px 25px 0;
    border: 1px solid #DBDBDB;
}

/* Sticky behavior */
.services-menu-wrapper.is-sticky {
    position: fixed;
    top: 100px;
    width: calc(33.5% - 30px);
    max-width: 350px;
    z-index: 100;
}

.services-menu-title {
    font-size: 24px;
    font-weight: 900;
    color: #29292a;
    margin: 0 0 30px 0;
    padding: 0 0 0 58px;
    line-height: 1.3;
    text-transform: uppercase;
}

/* ========================================
   Services Menu
   ======================================== */

.services-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-menu-item {
    margin: 0;
    padding: 0;
}

.service-menu-link {
    width: 399px;
    height: 60px;
    padding: 15px 0 15px 53px;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #646464;
    margin-bottom: 15px;
    display: block;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

/* Hover Effect - Green Arrow Background */
.service-menu-item:hover .service-menu-link,
.service-menu-item.active .service-menu-link {
    width: 401px;
    height: 60px;
    background: url(../images/hSX0LCESWzaN.jpg) no-repeat;
    background-size: 100%;
    background-color: #000;
    padding: 13px 0 15px 70px;
    color: #fff;
    text-decoration: none;
    margin-left: -17px;
    border-left: 3px solid #06834A;
}

/* ========================================
   Content Area
   ======================================== */

.services-content-area {
    background: #ffffff;
    padding: 0 20px;
}

.services-content-inner {
    font-size: 19px;
    line-height: 1.8;
    color: #474747;
}

.services-content-inner h1,
.services-content-inner h2,
.services-content-inner h3,
.services-content-inner h4 {
    color: #323232;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: 'Lora', serif;
}

.services-content-inner h1 {
    font-size: 60px;
}

.services-content-inner h2 {
    font-size: 55px;
}

.services-content-inner h3 {
    font-size: 46px;
}

.services-content-inner h4 {
    font-size: 40px;
}

.services-content-inner p {
    margin-bottom: 30px;
}

.services-content-inner a {
    color: #06834A;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 500;
}

.services-content-inner a:hover {
    color: #001c57;
}

.services-content-inner img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.services-content-inner ul,
.services-content-inner ol {
    margin: 0 0 40px 20px;
    padding: 0;
}

.services-content-inner li {
    margin-bottom: 10px;
}

.services-content-inner strong {
    font-weight: 600;
    color: #29292a;
}

/* ========================================
   Responsive Design
   ======================================== */

@media only screen and (max-width: 900px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-menu-wrapper.is-sticky {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .services-sidebar {
        order: 2;
    }

    .services-content-area {
        order: 1;
        padding: 30px 20px;
    }

    .services-menu-wrapper {
        padding: 25px 20px;
    }

    .service-menu-link {
        font-size: 20px;
    }

    .services-menu-area {
        width: 315px !important;
        margin: 0 auto;
        position: fixed !important;
        top: 120px !important;
        left: 0 !important;
        right: 0 !important;
        padding-top: 0 !important;
        min-height: auto !important;
        z-index: 999;
    }

    .services-menu-area h3.widget-title {
        background: #06834A;
        color: #fff;
        padding: 10px 30px;
    }

    .menu-services-menu-container {
        display: none;
    }

    .services-menu-area ul li a {
        color: #646464;
        border-bottom: 2px solid transparent;
        padding-left: 0;
        margin-left: 35px;
        display: table;
        width: auto;
    }

    .services-menu-area ul li a:hover,
    .services-menu-area ul li.current-menu-item a {
        background: none;
        color: #646464;
        margin-left: 35px;
        width: auto;
        height: auto;
        border-bottom: 2px solid #06834A;
        border-left: 0;
    }
}

@media only screen and (max-width: 600px) {
    .masum-services-layout {
        padding: 0 10px;
    }

    .services-content-area {
        padding: 25px 15px;
    }

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

    .services-content-inner h2 {
        font-size: 24px;
    }

    .services-content-inner h3 {
        font-size: 20px;
    }

    .service-menu-link {
        font-size: 15px;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .services-menu-wrapper.is-sticky {
        position: relative !important;
        top: auto !important;
    }
}