/* ---------------------------------------------------

    1. Common Styles
    2. Lenis Smooth Scroll

--------------------------------------------------- */


/**
    1. Common Styles
*/

    :root {
        --mt-e-transition: 375ms cubic-bezier(0.7, 0, 0.3, 1);
        --mt-e-title-font: var(--mt-font-family-alt);
    }

    body { overflow-x: hidden; overflow-y: visible; }

    body { opacity: 1; transition: all 1s ease-in-out 0.5s; }
    body.mt-fade { opacity: 0; transition: all 1s ease-in-out; }


/** 
    2. Lenis Smooth Scroll 
*/

    
    html.lenis,
    html.lenis body { height: auto; }

    .lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

    .lenis [data-lenis-prevent],
    .lenis [data-lenis-prevent-wheel],
    .lenis [data-lenis-prevent-touch] { overscroll-behavior: contain; }

    .lenis.lenis-smooth iframe { pointer-events: none; }

    .lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* 
    Team Table
*/

    .table[id*="mt-team-table-"] > :not(:first-child) { border-top: none; }
    .table[id*="mt-team-table-"] > .table-head { background-color: var(--mt-primary-clr); }
    .table[id*="mt-team-table-"] > .table-head * { border-color: var(--mt-primary-clr) !important; }
    
    .table[id*="mt-team-table-"] > tbody { font-weight: normal; transition: var(--mt-e-transition) !important; }

    .table[id*="mt-team-table-"] > tbody a:hover,
    .table[id*="mt-team-table-"] > tbody a:focus { color: var(--mt-primary-clr); }

    .table[id*="mt-team-table-"] > :not(caption) > * > * { padding: 1rem .5rem; line-height: normal; }

/* 
    Partner
*/

    .partner-wrapper .mt-partner-card { transition: var(--mt-e-transition); }

    .partner-wrapper .card-body { border: 1px solid var(--mt-border-clr); border-radius: 10px; position: relative; overflow: hidden; }
    .partner-wrapper .card-body p { font-weight: normal; }

    .partner-wrapper .card-body:before { content: ""; position: absolute; width: 1000px; height: 1000px; 
        background-color: rgb(250, 248, 244); left: -5%; top: -5%; transform: rotate(45deg) translate(-50%, -50%); transform-origin: top left; 
    }
    .partner-wrapper .card-body > div { position: relative; }

    .partner-wrapper .media-group img.media-image { width: clamp(6.25rem, 5.9615rem + 1.2821vw, 7.5rem); 
        height: clamp(6.25rem, 5.9615rem + 1.2821vw, 7.5rem); border-radius: 10px; object-position: top center;
    }

    .partner-wrapper .card-body .fw-bold { color: var(--mt-primary-clr); }

    .partner-wrapper .card-body .btn.mt-button { margin: 0; padding: 0; background-color: transparent; 
        color: var(--mt-link-clr); display: flex; align-items: center; font-size: clamp(0.8125rem, 0.7837rem + 0.1282vw, 0.9375rem); 
        outline: none !important; box-shadow: none !important; 
    }

    .partner-wrapper .card-body .btn.mt-button:hover,
    .partner-wrapper .card-body .btn.mt-button:focus { color: var(--mt-primary-clr); }

    .partner-wrapper .card-body .btn.mt-button svg,
    .partner-wrapper .card-body .btn.mt-button i { margin-right: 8px; color: #DC9812; font-size: 1rem; }




    .mt-partner-team-widget .card-body { display: flex; gap: 0px; }
    .mt-partner-team-widget .card-body > div { flex: 1; }

    .mt-partner-team-widget .card-body .spacification { display: flex; flex-direction: column; justify-content: center; gap: 0px; }
    .mt-partner-team-widget .card-body .spacification ul { display: flex; flex-direction: column; gap: 0px; }
    .mt-partner-team-widget .card-body .spacification ul li { display: flex; align-items: center; gap: 0px; font-size: 0.92rem; 
        font-weight: normal; align-items: first baseline !important; }

    .mt-partner-team-widget .card-body .spacification ul li i, 
    .mt-partner-team-widget .card-body .spacification ul li svg,
    
    .mt-partner-team-widget .card-body .location-group i,
    .mt-partner-team-widget .card-body .location-group svg { font-size: 1.1rem; color: #dc9812; position: relative; top: 0.2em; }

    .mt-partner-team-widget .card-body .location-group { align-items: first baseline !important; font-size: 0.92rem; margin-top: 15px !important; }

    .mt-partner-team-widget .card-body .partner-designation { color: var(--mt-primary-clr);
        font-family: var(--mt-font-family-alt); font-style: italic; margin-bottom: 10px; padding-bottom: 5px; 
    }

    .mt-partner-team-widget .card-body .partner-designation:before { content: ""; position: absolute; 
        width: 30px; height: 1px; background-color: var(--mt-primary-clr); left: 0; bottom: 0; }

    @media screen and (min-width: 600px) {
        .mt-partner-team-widget .card-body .spacification { 
            border-left: 1px solid var(--mt-border-clr); padding-left: 20px !important; padding-right: 0px !important; 
        }
    }
    @media screen and (max-width: 601px) {
        .mt-partner-team-widget .card-body { flex-direction: column; gap: 0.5rem;}
    }