.fundraiser-wrapper {
	position: relative;
}

.scroll-buttons {
	    position: absolute;
    top: -2.2em;
    right: 0;
    z-index: 10;
}

.scroll-button {
	    padding: 0px!important;
    line-height: 0!important;
    background: transparent!important;
    border: 1px solid black!important;
    border-radius: 100px!important;
	margin-left: 4px!important;
}

.scroll-button:hover {
	background: #eeeeee!important;
}

.fundraiser-container {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    flex-wrap: nowrap; /* Prevent wrapping to the next line */
    gap: 24px;
}

.fundraiser-container {
    -webkit-overflow-scrolling: touch;
}


.fundraiser-card {
    background: white;
    border-radius: 0px;
    overflow: hidden;
    flex: 0 0 calc(32% - 10px); /* Adjust to show 3 cards at once */
    position: relative;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box; /* Include padding and border in width */
    flex-shrink: 0; /* Prevent cards from shrinking */
}

.fundraiser-container .fundraiser-card:last-child {
    margin-right: 0; /* Remove margin from the last card */
}

@media only screen and (max-width: 600px) {
    .fundraiser-card {
        flex: 0 0 100%; /* Full width on small screens */
        margin-right: 0; /* Remove right margin */
    }

    .fundraiser-container {
        padding: 20px;
    }
}

.fundraiser-card:hover {
    transform: translateY(-10px);
}

.fundraiser-image {
    width: 100%;
	height: 300px;
    object-fit: cover; /* Ensure the image covers the entire area */
    border-radius: 12px 12px 0 0; /* Rounded top corners */
}
.fundraiser-card img {
	 height: 300px !important;
}

img.fundraiser-image {
    height: 300px !important;
}

.fundraiser-category {
    color: var(--e-global-color-primary);
    width: fit-content;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 400;
}

.goal-start {
    display: flex;
    flex-direction: column;
}

.donation-button {
	    font-size: 13px!important;
    font-weight: 400!important;
    text-transform: uppercase;
    border-color: #0047AB;
    padding: 6px 16px 6px 16px!important;
    background-color: #6C5DD3!important;
    font-family: var(--e-global-typography-0d47e07-font-family), Sans-serif!important;
    color: white!important;
    border-radius: 5px;
}

.fundraiser-content {
	background: #fafafa;
    text-align: left; /* Align text to the left */
	 border: 1px solid #e3e3e3;
	padding: 18px;
	    margin-top: -7px;
}

.fundraiser-athlete {
    font-size: 1.3em !important;
    font-weight: bold;
    margin: 5px 0;
    color: var(--e-global-color-accent);
    text-align: left; /* Align text to the left */
}

.fundraiser-title {
    font-size: 0.8em !important;
    color: var(--e-global-color-text) !important;
    margin: 5px 0 10px 0;
    text-align: left; /* Align text to the left */
}

.fundraiser-age,
.fundraiser-club {
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 4px;
    align-items: center;
}

.fundraiser-age img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.fundraiser-stats {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

.fundraiser-progress {
    background-color: #f1f1f1;
    border-radius: 5px;
    height: 10px;
    width: 100%;
    position: relative;
    margin-top: 5px;
}

p.fundraiser-goal {
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    margin: 0;
    color: black;
    align-items: flex-end;
}

.progress-bar {
    background-color: var(--e-global-color-secondary);
    height: 100%;
    border-radius: 5px;
}

.fundraiser-button {
    background-color: var(--e-global-color-accent);
    color: white !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    text-align: center;
}

.fundraiser-button:hover {
    background-color: #0056b3;
}
