﻿
/* ---------- MOBILE ---------- */
.container-attributes {
    background: #fffef3;
    padding: 140px 20px 80px;
    width: 100%;
    box-sizing: border-box;
}

.attributes-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 150px; /* extra gap so image overflow from card above doesn't crowd */
}

.attribute-card {
    width: 70%;
    max-width: 320px;
    background: #384f45;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;

}

/* Yellow title box — narrower, centered, contains title + image */
.attribute-title-wrap {
    background: #e4a11f;
    width: 80%;
    padding: 20px 0px 0px;
    text-align: center;
    margin-top: -100px; /* adjust to taste */

}

/* Image sits inside yellow box, hangs into green */
.attribute-img-wrap {
    width: 110%;
    margin: -20px -5% -20px;
}



    .attribute-img-wrap img {
        width: 100%;
        height: auto;
        display: block;
    }

.attribute-img-wrap-tent {
    width: 95%;
    margin: -20px auto -20px;
    padding: 18px 5px;
}

    .attribute-img-wrap-tent img {
        width: 100%;
        height: auto;
        display: block;
    }
.attribute-title {
    font-family: 'Sailors', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    padding: 0;
}

/* Green description area — vertically centered */
.attribute-bottom {
   /* flex: 1;*/
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    box-sizing: border-box;
}

.attribute-description {
    font-family: 'Rafale', sans-serif;
    font-size:.7rem;
    line-height: 1.7;
    color: #f5efe2;
    text-align: center;
    margin: 0;
}

/* ---------- TABLET (768px+) — side by side ---------- */
@media (min-width: 768px) {
    .container-attributes {
        padding: 60px 40px 100px;
    }

    .attributes-container {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 28px;
    }

    .attribute-card {
        max-width: none;
        flex: 1;
    }

    .attribute-description {
        font-size: 0.9rem;
    }
}

/* ---------- DESKTOP (1200px+) ---------- */
@media (min-width: 1200px) {
    .container-attributes {
        padding: 140px 80px 120px;
        margin-top:0px;
    }

    .attributes-container {
        gap: 40px;
    }

    .attribute-title {
        font-size: 1.1rem;
    }

    .attribute-description {
        font-size: 0.95rem;
    }
}
