.forex-container {
    list-style: none;
    padding:0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.forex_card {
    background-image: url("https://www.rexchange.ch/wp-content/uploads/2025/10/rate.png") !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    padding: 20px !important;
    border-radius: 11px !important;
    box-shadow: 1.73px 1.73px 3.45px 0px rgba(147, 88, 0, 0.25);
    border: 1px solid #353535a8 !important;
    min-width: 180px;
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.forex_card h2,
.forex_card h3,
.forex_card p,
.forex_card h4 {
    text-align: center;
}

h4.fC_currency {
    margin-bottom: 0;
    font-family: var(--e-global-typography-00ea3e7-font-family), Sans-serif;
    font-size: clamp(16px, 2vw, 22px);
    line-height: var(--e-global-typography-00ea3e7-line-height);
    letter-spacing: var(--e-global-typography-00ea3e7-letter-spacing);
}

h3.fC_currency_symbol_Name {
    font-family: var(--e-global-typography-b6f219e-font-family), Sans-serif;
    font-size: clamp(14px, 1.8vw, 20px);
    line-height: var(--e-global-typography-b6f219e-line-height);
    color: var(--e-global-color-primary);
}

.fC_buy {
	margin-top:20px;
}

.fC_buy p,
.fC_sell p {
    margin-bottom: 15px;
    font-family: var(--e-global-typography-00ea3e7-font-family), Sans-serif;
    font-size: clamp(16px, 2vw, 20px) !important;
    line-height: var(--e-global-typography-00ea3e7-line-height);
    letter-spacing: var(--e-global-typography-00ea3e7-letter-spacing);
}

.fC_buy h3,
.fC_sell h3 {
    font-family: 'Poppins' !important;
    font-size: clamp(14px, 1.8vw, 20px);
    line-height: var(--e-global-typography-b6f219e-line-height);
    color: var(--e-global-color-accent);
}

/* forex single  */

.fXsingleItem {
    display: flex;
    background-image: url("https://www.rexchange.ch/wp-content/uploads/2025/10/Btn-BG.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    border-radius: 11px;
    border: 2px solid #FFFFFF33;
    box-shadow: 2px 2px 4px 0px rgba(147, 88, 0, 0.25);
    width: 100% !important;
}

.fXsingleItem h3 {
    font-family: var(--e-global-typography-de2cccc-font-family), Sans-serif !important;
    font-size: clamp(20px, 4vw, 40px) !important;
    font-weight: var(--e-global-typography-de2cccc-font-weight);
    line-height: clamp(28px, 5vw, 58px) !important;
    width: 45%;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.singleRateforex {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.singleRateforex > p {
    font-family: 'Poppins';
    font-size: clamp(18px, 3vw, 28px);
    font-weight: var(--e-global-typography-de2cccc-font-weight);
    line-height: var(--e-global-typography-de2cccc-line-height);
    margin-top: 12px !important;
    margin-bottom: 0;
}

p.rateFX {
    font-family: 'Poppins';
    font-size: clamp(22px, 5vw, 42px) !important;
    font-weight: 700 !important;
    line-height: var(--e-global-typography-de2cccc-line-height) !important;
    color: var(--e-global-color-accent) !important;
    margin-bottom: 0 !important;
}

@media screen and (max-width:768px){
	.fXsingleItem {
        flex-direction: column;
        width: 100% !important;
    }

	.fXsingleItem h3 {
        width: 100%;
        text-align: center;
    }

    .singleRateforex {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
	
/* 	Cards */
	
    .forex-main {
      overflow-x: hidden;
      scroll-snap-type: x mandatory;
      display: flex;
      justify-content: flex-start;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }
	
	.forex-container {
		flex-wrap: nowrap !important;
    }
}
