h1 {
    font-family: Impact, Arial Black, sans-serif;
}

h5 {
    color: #000;
}

/* --- Container layout --- */
.nav-tile-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
    overflow-x: auto;
}

/* --- Each tile --- */
.nav-tile {
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 280px;
    background: #fff;
    overflow: hidden;
}

/* --- Image wrapper --- */
.nav-tile-image-wrapper {
    width: 100%;
    height: 200px;             /* fixed height for consistency */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-tile-image-wrapper img {
    height: 100%;
    width: auto;               /* preserve aspect ratio */
    display: block;
}

/* --- Bottom wrapper (title + button) --- */
.nav-tile-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes button down if title is small */
    border: 1px solid #9d9795;      /* Purdue Gray border around title + button */
    height: 80px;                   /* adjust as needed */
    box-sizing: border-box;
    padding: 0.5rem;
}

/* --- Content inside bottom --- */
.nav-tile-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;  /* title at top, button at bottom */
    height: 100%;
}

/* --- Title --- */
.nav-tile-content h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
}

/* --- Explore button --- */
.tile-button {
    display: inline-block;
    width: 100px;                   /* fixed width */
    background-color: #cbb682;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.6rem;
    padding: 0.5rem 0;              /* vertical padding only, width fixed */
    text-align: center;             /* center the text */
    text-decoration: none !important;
    border: 2px solid #cbb682;
    transition: all 0.3s ease;
    margin-top: auto;               /* push to bottom of bottom section */
}

/* arrow spacing */
.tile-button span {
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

/* hover effect: slight width increase and color swap */
.tile-button:hover {
    background-color: #000;
    color: #cbb682;
    border-color: #000;
    width: 115px;                   /* slightly wider on hover */
}

.tile-button:hover span {
    margin-left: 0.75rem;           /* arrow moves slightly */
}