/* =========================================================
   FLEXIBLE & CONVENIENT
   ========================================================= */

.wealth-section {
    width: 100%;

    padding: 20px 0 22px;

    background: #f5edda;

    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.wealth-container {
    width: calc(100% - 40px);

    max-width: 1450px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   HEADING
   ========================================================= */

.wealth-heading {
    margin: 0 0 14px;

    padding: 0;
}


.wealth-heading span {
    display: block;

    margin-bottom: 3px;

    color: #b88a19;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;

    line-height: 1.2;

    text-transform: uppercase;
}


.wealth-heading h2 {
    margin: 0;

    color: #00351f;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(
        28px,
        3vw,
        44px
    );

    font-weight: 700;

    line-height: 1.05;
}


/* =========================================================
   OPTIONS ROW
   ========================================================= */

.wealth-options {
    width: 100%;

    display: grid;

    /*
       Five small cards + one numbers card
    */

    grid-template-columns:
        repeat(5, minmax(0, 1fr))
        1.35fr;

    gap: 6px;

    box-sizing: border-box;
}


/* =========================================================
   INVESTMENT CARD
   ========================================================= */

.wealth-card {
    min-width: 0;

    min-height: 76px;
	height: clamp(58px, 5vw, 76px);

    padding: 10px 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    background:
        rgba(255, 255, 255, 0.28);

    border:
        1px solid #d8b449;

    border-radius: 7px;

    box-sizing: border-box;

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.wealth-card:hover {
    background:
        rgba(255, 255, 255, 0.55);

    box-shadow:
        0 4px 14px
        rgba(184, 138, 25, 0.18);
}


/* =========================================================
   ICON
   ========================================================= */

.wealth-icon {
	width: clamp(15px, 1.7vw, 25px);
	    height: clamp(15px, 1.7vw, 25px);

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #8d6810;

    font-size: 14px;

    border:
        1px solid #b88a19;

    border-radius: 5px;

    box-sizing: border-box;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.wealth-card-content {
    min-width: 0;
}


.wealth-card h3 {
    margin: 0 0 3px;

    color: #00351f;

    font-family:
        "Inter",
        Arial,
        sans-serif;

		font-size: clamp(5px, 0.65vw, 9px);


    font-weight: 700;

    line-height: 1.1;

    white-space: nowrap;
}


.wealth-card p {
    margin: 0;

    color: #526056;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: clamp(3.5px, 0.45vw, 6px);

    line-height: 1.3;
}


/* =========================================================
   NUMBERS CARD
   ========================================================= */

.wealth-numbers {
    min-width: 0;

    min-height: 76px;

    padding: 9px 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    background:
        #00351f;

    border:
        1px solid #d8b449;

    border-radius: 8px;

    color: #f5edda;

    box-sizing: border-box;
}


/* =========================================================
   NUMBERS TEXT
   ========================================================= */

.numbers-text {
    min-width: 0;

    display: flex;

    flex-direction: column;
}


.numbers-text span {
    margin-bottom: 2px;

    color: #f4c542;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 7px;

    line-height: 1.2;
}


.numbers-text strong {
    color: #f5d76e;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 18px;

    line-height: 1;
}


.numbers-text small {
    color:
        rgba(255, 255, 255, 0.65);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 5px;
}


/* =========================================================
   SECOND STAT
   ========================================================= */

.numbers-stat {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


.numbers-stat strong {
    color: #f5d76e;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 15px;

    line-height: 1;
}


.numbers-stat small {
    margin-top: 3px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 5px;
}


/* =========================================================
   ARROW
   ========================================================= */

.numbers-arrow {
    width: 25px;

    height: 25px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #f4c542;

    font-size: 15px;

    border:
        1px solid #f4c542;

    border-radius: 50%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .wealth-container {
        width: calc(100% - 28px);
    }

    .wealth-heading h2 {
        font-size:
            clamp(
                25px,
                3vw,
                38px
            );
    }

    .wealth-options {
        gap: 4px;
    }

    .wealth-card {
        min-height: 70px;

        padding: 7px 5px;

        gap: 4px;
    }

    .wealth-icon {
        width: 21px;
        height: 21px;

        font-size: 11px;
    }

    .wealth-card h3 {
        font-size: 8px;
    }

    .wealth-card p {
        font-size: 5px;
    }

    .numbers-text strong {
        font-size: 15px;
    }

    .numbers-stat strong {
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .wealth-section {
        padding: 16px 0 18px;
    }

    .wealth-container {
        width: calc(100% - 14px);
    }

    .wealth-heading {
        margin-bottom: 10px;
    }

    .wealth-heading span {
        font-size: 7px;

        letter-spacing: 2px;
    }

    .wealth-heading h2 {
        font-size:
            clamp(
                20px,
                4vw,
                30px
            );
    }


    /*
       KEEP ALL SIX ITEMS IN ONE ROW
    */

    .wealth-options {
        grid-template-columns:
            repeat(5, minmax(0, 1fr))
            1.35fr;

        gap: 3px;
    }


    .wealth-card {
        min-height: 64px;

        padding: 5px 2px;

        flex-direction: column;

        gap: 3px;

        border-radius: 5px;
    }


    .wealth-icon {
        width: 18px;
        height: 18px;

        font-size: 8px;

        border-radius: 4px;
    }


    .wealth-card h3 {
        font-size: 5.5px;

        text-align: center;
    }


    .wealth-card p {
        font-size: 4px;

        text-align: center;
    }


    .wealth-numbers {
        min-height: 64px;

        padding: 5px;

        gap: 3px;

        border-radius: 5px;
    }


    .numbers-text span {
        font-size: 4.5px;
    }


    .numbers-text strong {
        font-size: 12px;
    }


    .numbers-text small {
        font-size: 3.5px;
    }


    .numbers-stat strong {
        font-size: 10px;
    }


    .numbers-stat small {
        font-size: 3.5px;
    }


    .numbers-arrow {
        width: 18px;
        height: 18px;

        font-size: 10px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .wealth-container {
        width: calc(100% - 8px);
    }

    .wealth-heading span {
        font-size: 5px;

        letter-spacing: 1.5px;
    }

    .wealth-heading h2 {
        font-size: 17px;
    }

    .wealth-options {
        gap: 2px;
    }

    .wealth-card {
        min-height: 58px;

        padding: 3px 1px;
    }

    .wealth-icon {
        width: 15px;
        height: 15px;

        font-size: 7px;
    }

    .wealth-card h3 {
        font-size: 4.5px;
    }

    .wealth-card p {
        font-size: 3.3px;
    }

    .wealth-numbers {
        min-height: 58px;

        padding: 3px;
    }

    .numbers-text span {
        font-size: 3.5px;
    }

    .numbers-text strong {
        font-size: 9px;
    }

    .numbers-stat strong {
        font-size: 8px;
    }

    .numbers-arrow {
        width: 15px;
        height: 15px;

        font-size: 8px;
    }
}