/* /industries and /solutions/business-integration hubs.
   VERSIONED BY TIMESTAMP: linked with ?v=filemtime, so edit this file in place; no rename needed. */
/* Shared styles for the /industries and /solutions/business-integration hub pages. Linked with ?v=<mtime>, so edit in place; no filename bumps. */

/* Clear the fixed-top navbar (min-height 110px) when jumping to an industry or the form */
.ind-tile,
#applySection {
    scroll-margin-top: 120px;
}

/* Featured industry cards, same look as the /integrations cards */
.ind-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ind-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.ind-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ind-card-body {
    padding: 15px 15px 20px;
    text-align: center;
}

.ind-card-title {
    font-weight: 600;
    font-size: 12pt;
    margin-bottom: 6px;
}

.ind-card-text {
    font-size: 10pt;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

/* Featured industries use the site-wide solutions-card; their photos come in different shapes, so crop all to 3:2 */
.ind-featured .solutions-card-img img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* All industries band */
.ind-band {
    background: linear-gradient(180deg, #d3e2e4 0%, #fff 100%);
    padding: 50px 0 60px;
}

.ind-tile {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    padding: 22px 22px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Highlight the tile a nav link jumped to */
.ind-tile:target {
    box-shadow: 0 0 0 3px #008094, 0 4px 20px rgba(0, 0, 0, 0.12);
}

.ind-tile-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 12px;
}

.ind-tile-title {
    font-size: 13pt;
    font-weight: 700;
    margin-bottom: 8px;
}

.ind-tile-text {
    font-size: 10.5pt;
    color: #444;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.ind-tile-link {
    font-size: 10pt;
    font-weight: 700;
    text-transform: uppercase;
    color: #008094 !important;
    text-decoration: none;
}

.ind-tile-link:hover {
    color: #6c2687 !important;
    text-decoration: none;
}

/* Tiles with their own page are a single link, with the same hover lift as the /solutions cards */
.ind-tile-clickable {
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ind-tile-clickable:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.ind-tile-clickable:hover .ind-tile-link {
    color: #6c2687 !important;
}

.ind-tile-clickable .ind-tile-link i {
    margin-left: 4px;
    transition: margin-left 0.2s;
}

.ind-tile-clickable:hover .ind-tile-link i {
    margin-left: 8px;
}

/* "Don't see your industry?" callout under the /industries grid */
.ind-more {
    background: #fff;
    border-radius: 16px;
    border-top: 4px solid #008094;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    padding: 32px 24px 24px;
    text-align: center;
}

.ind-more-icon {
    font-size: 28pt;
    color: #008094;
    margin-bottom: 12px;
}

.ind-more-title {
    font-size: 16pt;
    font-weight: 800;
    margin-bottom: 10px;
}

.ind-more-text {
    font-size: 11pt;
    color: #444;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

.ind-more-link {
    font-size: 10.5pt;
    margin: 14px 0 0;
}

/* Single highlighted note block, e.g. Mailing Centers on business-integration */
.ind-note {
    background: #f3f8f9;
    border-left: 4px solid #008094;
    border-radius: 8px;
    padding: 20px 24px 6px;
}
