/* "Where do you want to go?" cards and the thought of the day (Views/Shared/_HomePathways.cshtml),
   on the home page and the Private Job Hub. Each card's colour is --c. */
.hpw { padding: 22px 0 8px; font-family: 'Inter', 'Segoe UI', Arial, sans-serif; }
.hpw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.hpw-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px 16px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8ebf3;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 28px -20px rgba(15, 23, 42, .3);
    color: #0f172a;
    text-decoration: none;
    overflow: hidden;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.hpw-card::before {
    /* thin colour line along the top */
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--c);
    opacity: .85;
}
.hpw-card:hover, .hpw-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--c);
    box-shadow: 0 18px 32px -20px var(--c);
    color: #0f172a;
    text-decoration: none;
    outline: none;
}
.hpw-ico {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    background: var(--c);
    background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 65%, #000));
    box-shadow: 0 10px 20px -10px var(--c);
}
.hpw-text { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.hpw-text b { display: block; font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: 1.02rem; font-weight: 800; color: #0f172a; }
.hpw-text small { display: block; margin-top: 3px; font-size: .8rem; color: #64748b; }
.hpw-go {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: var(--c);
    background: #f1f5f9;
    background: color-mix(in srgb, var(--c) 10%, #fff);
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.hpw-card:hover .hpw-go { background: var(--c); color: #fff; transform: translateX(2px); }
.hpw-card.is-here { background: #fff; background: color-mix(in srgb, var(--c) 6%, #fff); border-color: var(--c); border-color: color-mix(in srgb, var(--c) 45%, #e8ebf3); }
.hpw-here { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--c); }

/* thought of the day: a calm strip instead of the old scrolling marquee */
.hpw-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    max-width: 920px;
    min-height: 44px;
    margin: 14px auto 0;
    padding: 9px 18px;
    border-radius: 999px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
    font-size: .95rem;
    font-weight: 700;
    text-align: center;
}
.hpw-quote:has(#MotiText:empty) { visibility: hidden; }   /* keeps its space while the quote loads, so nothing below moves */
.hpw-quote-tag { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: #fef3c7; color: #b45309; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hpw-quote-tag i { color: #f59e0b; font-size: .85rem; }

@media (max-width: 991px) {
    .hpw-text small { display: none; }
}
@media (max-width: 767px) {
    .hpw { padding-top: 16px; }
    .hpw-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .hpw-card { padding: 12px 14px; }
    .hpw-ico { width: 42px; height: 42px; border-radius: 12px; font-size: 1.1rem; }
    .hpw-text small { display: block; }
    .hpw-quote { border-radius: 16px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hpw-card, .hpw-go { transition: none; }
    .hpw-card:hover, .hpw-card:hover .hpw-go { transform: none; }
}

/* dark theme (dark-mode.css colours every link blue - keep these own colours) */
html[data-theme="dark"] .hpw-card { background: #0f172a; border-color: #1e293b; color: #e2e8f0; }
html[data-theme="dark"] .hpw-card.is-here { background: #111c31; border-color: var(--c); }
html[data-theme="dark"] .hpw-text b { color: #f1f5f9; }
html[data-theme="dark"] .hpw-text small { color: #94a3b8; }
html[data-theme="dark"] .hpw-go { background: rgba(148, 163, 184, .14); }
html[data-theme="dark"] .hpw-quote { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .3); color: #fde68a; }
html[data-theme="dark"] .hpw-quote-tag { background: rgba(245, 158, 11, .18); color: #fcd34d; }
