/*
 * LTC Connection's state hub (themes/ltcc/views/courses/catalog_landing.php, the header's "Course
 * catalog" link), loaded by that view only, after css/catalog.css (the page-head band's base
 * rules). The same page as InsuranceStudy's hub (css/custom/insurancestudy/catalog.css, sections
 * 2 and 7) in this site's blues: a white page-head band ruled off from the cream page, the state
 * picker in a white card, then every state in columns. Tokens from theme.css; px on purpose.
 */

/* 1. Page head -------------------------------------------------------------------------- */
.ltc-hub .page-head {
    background: #fff;
    border-bottom: 1px solid var(--ltc-border);
    padding: 20px 0 32px;
}
.ltc-hub .breadcrumb {
    --bs-breadcrumb-divider-color: var(--ltc-ink-300);
    --bs-breadcrumb-item-active-color: var(--ltc-muted);
    font-size: 14px;
    margin-bottom: 14px;
}
.ltc-hub .breadcrumb a {
    color: var(--ltc-blue-700);
    text-decoration: none;
}
.ltc-hub .breadcrumb a:hover {
    color: var(--ltc-blue);
    text-decoration: underline;
}
.ltc-hub .breadcrumb a:active {
    color: var(--ltc-blue-800);
}

/* 2. Picker and state list ---------------------------------------------------------------- */
/* top and bottom only: the element is also the .container, whose side gutters a padding
   shorthand would zero (the list then touched the screen edge on a phone) */
.ltc-hub .state-hub {
    padding-top: 36px;
    padding-bottom: 64px;
}
.ltc-hub .state-hub-form {
    background: #fff;
    border: 1px solid var(--ltc-border);
    border-radius: 8px;
    box-shadow: var(--ltc-shadow-sm);
    padding: 24px;
    margin: 0 0 36px;
    max-width: 560px;
}
.ltc-hub .state-hub-form form {
    display: grid;
    gap: 12px;
}
.ltc-hub .state-hub-form .form-label {
    margin-bottom: 0;
}
.ltc-hub .state-hub h2 {
    font-size: 22px;
    letter-spacing: -.01em;
    margin-bottom: 14px;
}
.ltc-hub .state-grid {
    columns: 2;
    column-gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}
.ltc-hub .state-grid li {
    break-inside: avoid;
    padding: 6px 0;
    border-bottom: 1px solid var(--ltc-border);
}
.ltc-hub .state-grid a {
    display: block;
    text-decoration: none;
    color: var(--ltc-ink);
    font-size: 16px;
    padding: 4px 0;
}
.ltc-hub .state-grid a:hover {
    color: var(--ltc-blue-700);
    text-decoration: underline;
}
.ltc-hub .state-grid a:active {
    color: var(--ltc-blue-800);
}
.ltc-hub .state-hub-foot {
    max-width: 72ch;
    margin: 0;
    font-size: 15px;
    color: var(--ltc-muted);
}
@media (min-width: 576px) {
    .ltc-hub .state-grid {
        columns: 3;
    }
}
@media (min-width: 992px) {
    .ltc-hub .state-grid {
        columns: 4;
    }
}
