/* WRAPPER ------------------------------------------------------ */

.signposts-links {
    margin: 0 auto;
}

/* Make columns stretch so cards are equal height */
.signposts-links .col-6,
.signposts-links .col-md-3 {
    display: flex;
    align-items: stretch;
}

/* CARD --------------------------------------------------------- */

.signpost-card {
    display: flex;
    flex-direction: column;
    align-items: center;          /* center image + label */
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.signpost-card:hover {
    transform: translateY(-4px);
}

.signpost-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 145px;
    margin-bottom: 28px;
}

.signpost-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .signpost-image { height: 141px; }
}
@media (min-width: 992px) {
    .signpost-image { height: 157px; }
}
@media (min-width: 1200px) {
    .signpost-image { height: 198px; }
}
@media (min-width: 1400px) {
    .signpost-image { height: 240px; }
}

.signpost-label {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;      /* center text + arrow */
    gap: 17px;
    text-align: center;           /* center multi-line titles */
}

.signpost-title,
.signpost-title--accent {
    display: block;
    text-align: center;
}

.signpost-arrow {
    font-size: 14px;
}

@media (min-width: 1400px) {
    .signposts-links {
        max-width: 84%;
    }
}

@media (max-width: 992px) {
    .signpost-label {
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .signpost-title,
    .signpost-title--accent {
        text-align: left;
    }

    .signpost-arrow {
        line-height: 1;
        margin-top: 5px;
    }
}

@media (min-width: 575.98px) {
    .signpost-image img {   
        max-height: 100%;
        /* max-width: 142px; */
    }
}

@media (max-width: 575.98px) {
    .signpost-image img {
        max-height: 100%;
        max-width: 142px;
    }

    .signposts-links {
        margin-top: 1.5rem;
    }
}