﻿.card-container {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.card {
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    background-color: #fff;
    border-radius: 8px;
    justify-content: space-between;
    padding: 30px;
    line-height: 1.5;
    text-align: left;
    border-color: #ffffff;
    background-color: #ffffff;
    margin-bottom: 0.5rem;
}

    .card p {
        flex-grow: 1;
    }

/* Force the GWP logo up to be inline with the text */
.cms-img-wrapper {
    margin-top: -120px;
}

/* Container for debit card and bank icons */
.fund-order-container {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Containers for holding paragraph text */
.container97,
.container98,
.container99 {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    position: relative;
}

.container97 {
    height: 320px;
}

.container98 {
    height: 240px;
    margin-top: 20px;
}

.container99 {
    height: 280px;
    margin-top: 20px;
}

.centered-div {
    /* Optional: Add some styling to see the div boundaries */
    width: 100%;
    padding: 20px;
    /* text-align: center; */
    color: #fff;
}

/* Accordion for country specific faqs */
.accordion {
    max-width: 100%;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 50px;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

    .accordion-item:last-of-type {
        border-bottom: none;
    }

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #f7f7f7;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    .accordion-header:hover {
        background-color: #eaeaea;
    }

.icon {
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
    background-color: #fff;
}

    .accordion-content p {
        margin: 12px 0;
        font-size: 16px;
        line-height: 1.5;
    }

.accordion-item input {
    display: none;
}

    .accordion-item input:checked ~ .accordion-content {
        max-height: 200px;
        padding: 12px 16px;
    }

    .accordion-item input:checked + .accordion-header .icon {
        transform: rotate(45deg);
    }

.small-space-top {
    margin-top: 50px;
}

.small-space {
    margin-bottom: 5px; /* Adjust this value as needed to control the space below each paragraph */
    margin-top: 0; /* Optional: removes default top margin */
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-block-start: 1.5rem;
    word-wrap: break-word;
}

/* Mobile-specific p */
@media (max-width: 767px) {
    p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 0rem;
    }
}

/* For mobile reset the GWP logo position */
@media (max-width: 767px) {
    .cms-img-wrapper {
        margin-top: revert !important;
    }
}
