/* Vouches Page Layout */
.vouches-main {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto 40px auto;
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.vouches-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vouches-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 6px 16px rgba(0, 112, 243, 0.35));
}

.vouches-heading {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vouches-subtext {
    font-size: 0.9rem;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Beautiful Grid Arrangement (Banner Style) */
.vouches-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 900px) {
    /* Stacks to 2 columns on tablets */
    .vouches-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    /* Stacks to 1 column on phones */
    .vouches-list {
        grid-template-columns: 1fr;
    }
}

/* Vouch Card Container Structures */
.vouch-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    justify-self: center;
    background-color: #14161b;
    border: 1px solid #2a2e3b;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    min-height: 220px;
}

.vouch-card:hover {
    transform: translateY(-2px);
    border-color: #3b4252;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.vouch-image-wrapper {
    width: 100%;
    flex: 1 1 auto;
    background: #0d0e12;
    border-bottom: 1px solid #2a2e3b;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lets the card height follow the image instead of forcing a fixed banner shape */
.vouch-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.vouch-card {
    min-height: 0;
}

.vouch-image-wrapper {
    min-height: 0;
}

.vouch-card::after {
    content: "";
    display: block;
    width: 100%;
    min-height: 36px;
    background: #0d0e12;
    border-top: 1px solid #2a2e3b;
}


