
section.team::before {
  position: absolute;
  bottom: -10px;
  z-index: -1;
}

section.team::after {
  position: absolute;
  bottom: -10px;
  right: 0;
  z-index: -1;
}

section.team.dark::after {
  content: url("data:image/svg+xml,%3Csvg width='269' height='379' viewBox='0 0 269 379' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0_1068_1067' style='mask-type:luminance' maskUnits='userSpaceOnUse' x='187' y='99' width='191' height='280'%3E%3Cpath d='M377.779 379L267.164 238.998L377.779 99L298.856 99L187.222 239.079L298.856 379L377.779 379Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_1068_1067)'%3E%3Cpath d='M-770.211 5452.23L6467.65 1273.46L3237.09 -4322.05L-4000.77 -143.272L-770.211 5452.23Z' fill='url(%23paint0_linear_1068_1067)'/%3E%3C/g%3E%3Cmask id='mask1_1068_1067' style='mask-type:luminance' maskUnits='userSpaceOnUse' x='223' y='-181' width='191' height='280'%3E%3Cpath d='M223 99L333.615 -41.0024L223 -181H301.923L413.557 -40.9215L301.923 99H223Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask1_1068_1067)'%3E%3Cpath d='M1370.99 5172.24L-5866.87 993.456L-2636.31 -4602.05L4601.55 -423.268L1370.99 5172.24Z' fill='url(%23paint1_linear_1068_1067)'/%3E%3C/g%3E%3Cmask id='mask2_1068_1067' style='mask-type:luminance' maskUnits='userSpaceOnUse' x='0' y='-41' width='191' height='280'%3E%3Cpath d='M190.557 239L79.9417 98.9976L190.557 -41L111.633 -41L-0.000152588 99.0785L111.633 239H190.557Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask2_1068_1067)'%3E%3Cpath d='M-957.432 5312.24L6280.43 1133.46L3049.87 -4462.05L-4188 -283.268L-957.432 5312.24Z' fill='url(%23paint2_linear_1068_1067)'/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_1068_1067' x1='428.54' y1='186.896' x2='224.964' y2='304.43' gradientUnits='userSpaceOnUse'%3E%3Cstop/%3E%3Cstop offset='0.721429' stop-color='%23FD4E1A'/%3E%3Cstop offset='1' stop-color='%23FD4E1A'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear_1068_1067' x1='172.24' y1='-93.1022' x2='375.816' y2='24.4324' gradientUnits='userSpaceOnUse'%3E%3Cstop/%3E%3Cstop offset='0.721429' stop-color='%23FD4E1A'/%3E%3Cstop offset='1' stop-color='%23FD4E1A'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint2_linear_1068_1067' x1='241.316' y1='46.8978' x2='37.7402' y2='164.432' gradientUnits='userSpaceOnUse'%3E%3Cstop/%3E%3Cstop offset='0.721429' stop-color='%23FD4E1A'/%3E%3Cstop offset='1' stop-color='%23FD4E1A'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");
  top: 0;
}

section.team.dark::before {
  content: url("data:image/svg+xml,%3Csvg width='207' height='579' viewBox='0 0 207 579' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0_1068_1083' style='mask-type:luminance' maskUnits='userSpaceOnUse' x='-65' y='0' width='191' height='280'%3E%3Cpath d='M-65 0L45.615 140.002L-65 280H13.9233L125.557 139.921L13.9233 0H-65Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_1068_1083)'%3E%3Cpath d='M1082.99 -5073.24L-6154.87 -894.456L-2924.31 4701.05L4313.55 522.268L1082.99 -5073.24Z' fill='url(%23paint0_linear_1068_1083)'/%3E%3C/g%3E%3Cmask id='mask1_1068_1083' style='mask-type:luminance' maskUnits='userSpaceOnUse' x='-175' y='140' width='191' height='280'%3E%3Cpath d='M-175 140L-64.385 280.002L-175 420H-96.0767L15.5568 279.921L-96.0767 140H-175Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask1_1068_1083)'%3E%3Cpath d='M972.989 -4933.24L-6264.87 -754.456L-3034.31 4841.05L4203.55 662.268L972.989 -4933.24Z' fill='url(%23paint1_linear_1068_1083)'/%3E%3C/g%3E%3Cmask id='mask2_1068_1083' style='mask-type:luminance' maskUnits='userSpaceOnUse' x='16' y='280' width='191' height='280'%3E%3Cpath d='M16 280L126.615 420.002L16 560L94.9233 560L206.557 419.921L94.9232 280L16 280Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask2_1068_1083)'%3E%3Cpath d='M1163.99 -4793.24L-6073.87 -614.455L-2843.31 4981.05L4394.55 802.267L1163.99 -4793.24Z' fill='url(%23paint2_linear_1068_1083)'/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_1068_1083' x1='-115.76' y1='192.102' x2='87.8164' y2='74.5676' gradientUnits='userSpaceOnUse'%3E%3Cstop/%3E%3Cstop offset='0.721429' stop-color='%23FD4E1A'/%3E%3Cstop offset='1' stop-color='%23FD4E1A'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear_1068_1083' x1='-225.76' y1='332.102' x2='-22.1836' y2='214.568' gradientUnits='userSpaceOnUse'%3E%3Cstop/%3E%3Cstop offset='0.721429' stop-color='%23FD4E1A'/%3E%3Cstop offset='1' stop-color='%23FD4E1A'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint2_linear_1068_1083' x1='-34.7589' y1='472.102' x2='168.817' y2='354.567' gradientUnits='userSpaceOnUse'%3E%3Cstop/%3E%3Cstop offset='0.721429' stop-color='%23FD4E1A'/%3E%3Cstop offset='1' stop-color='%23FD4E1A'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");
}

section.team.light::after {
  content: url("data:image/svg+xml,%3Csvg width='452' height='716' viewBox='0 0 452 716' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M29.985 199.793H2L41.2216 150.155L2 100.516H29.985L69.5644 150.182L29.985 199.793Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M97.8487 150.154L137.07 100.516H109.085L69.5059 150.127L69.5275 150.154M97.8487 150.154L137.07 199.793H109.085L69.5275 150.154M97.8487 150.154H69.5275' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M176.221 249.785L137 299.423H164.985L204.564 249.812L204.543 249.785M176.221 249.785L137 200.146H164.985L204.543 249.785M176.221 249.785H204.543' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M165.343 298.727L204.564 249.089H176.579L137 298.699L137.021 298.727M165.343 298.727L204.564 348.366H176.579L137.021 298.727M165.343 298.727H137.021' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M29.985 299.366H2L41.2216 249.728L2 200.089H29.985L69.5644 249.755L29.985 299.366Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M97.4928 348.309H69.5078L108.729 298.671L69.5078 249.031H97.4928L137.072 298.698L97.4928 348.309Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M165.343 298.727L204.564 249.089H176.579L137 298.699L137.021 298.727M165.343 298.727L204.564 348.366H176.579L137.021 298.727M165.343 298.727H137.021' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M243.729 398.301L204.507 447.939H232.493L272.072 398.328L272.05 398.301M243.729 398.301L204.507 348.661H232.493L272.05 398.301M243.729 398.301H272.05' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M164.987 496.881H137.002L176.223 447.243L137.002 397.604H164.987L204.566 447.271L164.987 496.881Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M232.848 447.242L272.07 397.604H244.085L204.506 447.215L204.527 447.242M232.848 447.242L272.07 496.881H244.085L204.527 447.242M232.848 447.242H204.527' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M97.4928 447.881H69.5078L108.729 398.243L69.5078 348.603H97.4928L137.072 398.27L97.4928 447.881Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M164.987 596.453H137.002L176.223 546.816L137.002 497.177H164.987L204.566 546.844L164.987 596.453Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M300.002 596.453H272.017L311.239 546.816L272.017 497.177H300.002L339.582 546.844L300.002 596.453Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M367.866 546.815L407.088 497.177H379.103L339.523 546.787L339.545 546.815M367.866 546.815L407.088 596.454H379.103L339.545 546.815M367.866 546.815H339.545' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M446.252 646.389L407.031 696.027H435.016L474.595 646.417L474.574 646.389M446.252 646.389L407.031 596.75H435.016L474.574 646.389M446.252 646.389H474.574' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M367.524 744.912H339.539L378.761 695.274L339.539 645.635H367.524L407.103 695.301L367.524 744.912Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M435.386 695.273L474.607 645.635H446.622L407.043 695.246L407.065 695.273M435.386 695.273L474.607 744.912H446.622L407.065 695.273M435.386 695.273H407.065' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M300.002 696.027H272.017L311.239 646.389L272.017 596.75H300.002L339.582 646.417L300.002 696.027Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M367.524 744.912H339.539L378.761 695.274L339.539 645.635H367.524L407.103 695.301L367.524 744.912Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M435.386 695.273L474.607 645.635H446.622L407.043 695.246L407.065 695.273M435.386 695.273L474.607 744.912H446.622L407.065 695.273M435.386 695.273H407.065' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M435.016 100.277H407.031L446.252 50.6396L407.031 1H435.016L474.595 50.6666L435.016 100.277Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M435.016 199.85H407.031L446.252 150.212L407.031 100.573H435.016L474.595 150.239L435.016 199.85Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M232.494 150.908H204.509L243.731 101.27L204.509 51.6305H232.494L272.074 101.298L232.494 150.908Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M300.358 101.268L339.58 51.6305H311.595L272.015 101.242L272.037 101.268M300.358 101.268L339.58 150.908H311.595L272.037 101.268M300.358 101.268H272.037' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M378.745 200.843L339.523 250.482H367.508L407.087 200.87L407.066 200.843M378.745 200.843L339.523 151.203H367.508L407.066 200.843M378.745 200.843H407.066' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M300.002 299.423H272.017L311.239 249.785L272.017 200.146H300.002L339.582 249.812L300.002 299.423Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M367.866 249.784L407.088 200.146H379.103L339.523 249.757L339.545 249.784M367.866 249.784L407.088 299.423H379.103L339.545 249.784M367.866 249.784H339.545' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M232.494 250.482H204.509L243.731 200.843L204.509 151.203H232.494L272.074 200.87L232.494 250.482Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M300.002 398.995H272.017L311.239 349.358L272.017 299.719H300.002L339.582 349.385L300.002 398.995Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M300.002 299.423H272.017L311.239 249.785L272.017 200.146H300.002L339.582 249.812L300.002 299.423Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M367.866 249.784L407.088 200.146H379.103L339.523 249.757L339.545 249.784M367.866 249.784L407.088 299.423H379.103L339.545 249.784M367.866 249.784H339.545' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M446.252 349.359L407.031 398.996H435.016L474.595 349.387L474.574 349.359M446.252 349.359L407.031 299.719H435.016L474.574 349.359M446.252 349.359H474.574' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M367.51 447.939H339.525L378.747 398.301L339.525 348.661H367.51L407.089 398.328L367.51 447.939Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M435.372 398.299L474.593 348.661H446.608L407.029 398.272L407.051 398.299M435.372 398.299L474.593 447.939H446.608L407.051 398.299M435.372 398.299H407.051' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M300.002 398.996H272.017L311.239 349.359L272.017 299.719H300.002L339.582 349.387L300.002 398.996Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M367.51 547.511H339.525L378.747 497.873L339.525 448.234H367.51L407.089 497.901L367.51 547.511Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3C/svg%3E");
}

section.team.light::before {
  content: url("data:image/svg+xml,%3Csvg width='307' height='499' viewBox='0 0 307 499' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M277.015 149.793H305L265.778 100.155L305 50.516H277.015L237.436 100.182L277.015 149.793Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M209.151 100.154L169.93 50.516H197.915L237.494 100.127L237.473 100.154M209.151 100.154L169.93 149.793H197.915L237.473 100.154M209.151 100.154H237.473' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M130.765 199.728L169.986 249.366H142.001L102.422 199.755L102.443 199.728M130.765 199.728L169.986 150.089H142.001L102.443 199.728M130.765 199.728H102.443' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M209.507 298.309H237.492L198.271 248.671L237.492 199.031H209.507L169.928 248.698L209.507 298.309Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M141.643 248.669L102.422 199.031H130.407L169.986 248.642L169.965 248.669M141.643 248.669L102.422 298.309H130.407L169.965 248.669M141.643 248.669H169.965' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M277.015 249.366H305L265.778 199.728L305 150.089H277.015L237.436 199.755L277.015 249.366Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M209.507 397.881H237.492L198.271 348.243L237.492 298.603H209.507L169.928 348.27L209.507 397.881Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M209.507 298.309H237.492L198.271 248.671L237.492 199.031H209.507L169.928 248.698L209.507 298.309Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M141.643 248.669L102.422 199.031H130.407L169.986 248.642L169.965 248.669M141.643 248.669L102.422 298.309H130.407L169.965 248.669M141.643 248.669H169.965' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M63.257 348.243L102.479 397.881H74.493L34.914 348.27L34.936 348.243M63.257 348.243L102.479 298.603H74.493L34.936 348.243M63.257 348.243H34.936' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M141.999 446.824H169.984L130.763 397.186L169.984 347.547H141.999L102.42 397.213L141.999 446.824Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M74.138 397.185L34.916 347.547H62.901L102.48 397.158L102.459 397.185M74.138 397.185L34.916 446.824H62.901L102.459 397.185M74.138 397.185H102.459' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M209.507 397.881H237.492L198.271 348.243L237.492 298.603H209.507L169.928 348.27L209.507 397.881Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M141.999 546.396H169.984L130.763 496.759L169.984 447.119H141.999L102.42 496.786L141.999 546.396Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M6.98401 546.396H34.969L-4.25299 496.759L34.969 447.119H6.98401L-32.596 496.786L6.98401 546.396Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M74.4921 100.851H102.477L63.2551 51.213L102.477 1.573H74.4921L34.912 51.24L74.4921 100.851Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M6.62793 51.211L-32.5941 1.573H-4.60907L34.9709 51.184L34.9489 51.211M6.62793 51.211L-32.5941 100.851H-4.60907L34.9489 51.211M6.62793 51.211H34.9489' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M6.98401 249.366H34.969L-4.25299 199.728L34.969 150.089H6.98401L-32.596 199.755L6.98401 249.366Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M74.4921 200.424H102.477L63.2551 150.786L102.477 101.146H74.4921L34.912 150.813L74.4921 200.424Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M6.98401 348.938H34.969L-4.25299 299.301L34.969 249.661H6.98401L-32.596 299.328L6.98401 348.938Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M6.98401 249.366H34.969L-4.25299 199.728L34.969 150.089H6.98401L-32.596 199.755L6.98401 249.366Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3Cpath d='M6.98401 348.939H34.969L-4.25299 299.302L34.969 249.662H6.98401L-32.596 299.329L6.98401 348.939Z' stroke='%23FC4F1A' stroke-width='1.43452' stroke-miterlimit='10'/%3E%3C/svg%3E");
}


.team{
  padding: 128px 0 92px;
  position: relative;
  z-index: 1;
  /* background-image: url('https://www.movella.com/hubfs/%5BDONT%20DELETE%5D%20Xsens_AUG2024%20Theme%20Assets/Backgrounds/Related_resources_bg.svg'); */
  /* background-repeat: no-repeat;
  background-position: top right; */
  }


.team .container{
  display: flex;
  flex-direction: column;
}
.team__flex{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 64px 0;
  justify-content: center;
}


.team__flex .team__card {
  flex: 0 0 calc(25% - 18px);
}

.team__card{
  position: relative;
  border: 1px solid var(--primary);
  border-radius: var(--border-radius-md);
  padding: calc(var(--band-xxs) * 1.5);
  padding-bottom: var(--band-xs);
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  background: var(--bg-primary);
  gap: calc(var(--band-xxs) * 1.5);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.team__image-wrapper{
  position: relative;
}
.team__image{
  width: 100%;
  border-radius: calc(var(--border-radius-md) - (calc(var(--band-xs) - 4px) / 2)) !important;
  height: 100% ; 
  object-fit: cover;
  border-radius: 0;
  aspect-ratio: 1/1;
  }
}
.team__title{
  font-weight: 700;
  font-size: 32px;
  padding-left: 42px;
}

.team__title::before{
  display: block;
}

.team__title{
  width: fit-content;
  padding-left: 42px
}

.h2-centered{
  align-self: center;
  padding-left: 42px;
}

.team__subtext {
  text-align: center;
  margin-top: var(--band-sm);
  font-size: var(--font-size-lg);
  line-height: 150%;
  color: var(--text-secondary);
  align-self: center;
}

.team__name {
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--primary);
  line-height: var(--font-size-sm);
}

.team__role {
  font-size: calc(var(--font-size-sm) - 2px);
  line-height: calc(var(--font-size-sm) - 2px);
  color: var(--text-secondary);
  margin: 0px;
}

.team__bio {
  font-size: calc(var(--font-size-sm) - 2px);
  line-height: calc(var(--font-size-sm) - 2px);

}

@media(max-width:992px){
    .team__card,
    .team__flex .team__card,
    .team__flex .team__card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}
@media(max-width:768px){
    .team{
        background-size: 50%;
    }
}
@media(max-width: 550px){
    .team__card,
    .team__flex .team__card,
    .team__flex .team__card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .team__flex{
        gap: 32px;
    }
}

/* Modal styling */
.team__modal{
  min-width: 1216px;
  border-radius: 12px;
  max-width: 100%;
}

.team__modal{
  margin: 0;
}

.team__modal .carousel__button {
  top: 10px !important;
  box-shadow: none;
  background: none;
  right: 10px !important;
}

.team__modal .carousel__button svg {
  stroke: #FF6852;
  -webkit-filter: none;
          filter: none;
}
.team__slider-holder {
  padding: 0 60px;
}
.team__slider-item{
  display: flex;
  gap: 32px;
}
.modal-content{
  flex: 1 0 57%;
}
.modal-team__item-img{
  flex: 1 1 43%;
  border-radius: calc(var(--border-radius-md) - (calc(var(--band-xs) - 4px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 380px;
  height: auto;
  max-width: 100%;
  max-height: 480px;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.modal-team__item-img img {

}
@media (max-width: 1250px) {
  .team__modal {
    min-width: 100%;
  }
}
@media (max-width: 768px) {
  .team__slider-holder {
    padding: 0;
  }
}

.team__slider-item-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  font-feature-settings: 'salt' on;
  color: #101921;
}

.team__slider-item-function {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  font-feature-settings: 'salt' on;
  color: #6B7280;
  margin-bottom: 16px;
  display: block;
}

.team__slider-item-desc p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  font-feature-settings: 'salt' on;
  color: #6B7280;
  margin: 0;
}

.team__slider-item-socials {
  display: -webkit-flex;
  display: flex;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .team__slider-item-socials {
    margin-top: 15px;
  }
}

.team__slider-item-socials a {
  margin-right: 16px;
}

.team__slider-item-socials a:last-of-type {
  margin-right: 0;
}

.fancybox__content {
  border-radius: 12px !important;
}

.fancybox__nav .carousel__button {
  width: 44px !important;
  height: 44px !important;
  border-radius: 100% !important;
  background: #F9FAFB !important;
}

.fancybox__nav .carousel__button.is-prev {
  left: 0 !important;
}

.fancybox__nav .carousel__button.is-prev::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.444 12.444 1 6.999m0 0 5.444-5.444M1 6.999h14' stroke='%23101921' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  width: 16px;
  height: 14px;
  position: absolute;
  top: 0;
  left: 0;
  content: " ";
  right: 0;
  bottom: 0;
  margin: auto;
}

.fancybox__nav .carousel__button.is-next {
  right: 0 !important;
}

.fancybox__nav .carousel__button.is-next::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.556 1.555 15 6.999m0 0-5.444 5.445M15 6.999H1' stroke='%23101921' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  width: 16px;
  height: 14px;
  position: absolute;
  top: 0;
  left: 0;
  content: " ";
  right: 0;
  bottom: 0;
  margin: auto;
}

.fancybox__nav .carousel__button svg {
  display: none;
}

.fancybox__nav {
  /* max-width: 1160px; */
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

@media (max-width: 1200px) {
  .fancybox__nav {
    max-width: calc(100% - 40px);
  }
}

.fancybox__slide {
  padding: 10px !important;
}

.fancybox__nav {
  pointer-events: none;
}

.fancybox__nav button {
  pointer-events: auto;
}