/* Public forms library: consistent with the existing HIMHBS blue palette. */
.forms-hero {
    background: linear-gradient(125deg, #05446c 0%, #007cb9 58%, #039bdc 100%);
    color: #fff;
    padding: 9.5rem 0 4.3rem;
    position: relative;
    overflow: hidden;
}
.forms-hero::after {
    content: "";
    position: absolute;
    width: 370px;
    height: 370px;
    border: 80px solid rgba(255,255,255,.07);
    border-radius: 50%;
    right: -130px;
    top: -130px;
    pointer-events: none;
}
.forms-eyebrow {
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ccefff;
}
.forms-eyebrow i { margin-right: .5rem; }
.forms-hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.forms-hero .forms-intro {
    color: #f0faff;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 660px;
    margin: 0;
}
.forms-content {
    background: #f5f9fc;
    padding: 4.5rem 0 5.5rem;
}
.forms-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}
.forms-section-heading h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #14354b;
    margin-bottom: .3rem;
}
.forms-section-heading p { color: #577082; margin-bottom: 0; line-height: 1.6; }
.forms-count {
    white-space: nowrap;
    background: #e2f2fa;
    color: #056e9d;
    border-radius: 50rem;
    padding: .5rem 1rem;
    font-size: .9rem;
    font-weight: 700;
}
.forms-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e4eef3;
    border-radius: 1.1rem;
    box-shadow: 0 8px 28px rgba(20, 53, 75, .055);
    transition: box-shadow .2s ease, transform .2s ease;
}
.forms-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(20,53,75,.12); }
.forms-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.forms-file-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.4rem;
    width: 3.4rem;
    border-radius: .8rem;
    background: #e9f5fd;
    color: #068bd0;
    font-size: 1.55rem;
}
.forms-badge {
    background: #f1f5f8;
    color: #44647a;
    padding: .35rem .65rem;
    border-radius: .4rem;
    text-align: right;
    font-weight: 600;
    font-size: .76rem;
}
.forms-card h3 { font-size: 1.3rem; color: #123f5b; font-weight: 700; line-height: 1.38; margin-bottom: .75rem; }
.forms-description { font-size: .99rem; line-height: 1.75; color: #576b7a; margin-bottom: 1.3rem; }
.forms-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: #6a8090; font-size: .86rem; border-top: 1px solid #edf1f4; padding-top: 1rem; margin-top: auto; }
.forms-meta i { color: #138dbf; margin-right: .25rem; }
.forms-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; padding-top: 1.5rem; }
.forms-download { border-radius: .5rem; padding: .7rem 1rem; font-weight: 700; font-size: .9rem; }
.forms-download i { margin-right: .45rem; }
.forms-preview { color: #086d9b; text-decoration: none; font-weight: 600; font-size: .92rem; }
.forms-preview:hover, .forms-preview:focus { color: #043f60; text-decoration: underline; }
.forms-preview i { font-size: .8rem; margin-left: .2rem; }
.forms-help { display: flex; gap: 1.15rem; background: #e6f4fb; border-left: 4px solid #038ed5; border-radius: .65rem; padding: 1.5rem; margin-top: 1.2rem; }
.forms-help-icon { color: #047fb8; font-size: 1.7rem; flex-shrink: 0; }
.forms-help h3 { font-size: 1.15rem; font-weight: 700; color: #164560; margin-bottom: .4rem; }
.forms-help p { font-size: .95rem; color: #456474; line-height: 1.6; margin-bottom: .6rem; }
.forms-help-link { font-weight: 700; color: #006994; }
.forms-help-link i { margin-left: .3rem; font-size: .78rem; }
@media(max-width: 767.98px) {
    .forms-hero { padding: 7.6rem 0 3rem; }
    .forms-content { padding: 3rem 0 4rem; }
    .forms-card { padding: 1.4rem; }
    .forms-section-heading { align-items: flex-start; flex-direction: column; }
    .forms-badge { max-width: 60%; }
}
@media (prefers-reduced-motion: reduce) {
    .forms-card { transition: none; }
    .forms-card:hover { transform: none; }
}

/* Home page resource shortcut. */
.forms-resource-strip { background: #ecf6fb; padding: 2.2rem 0; }
.forms-resource-strip h2 { font-size: 1.45rem; font-weight: 700; color: #124460; margin-bottom: .35rem; }
.forms-resource-strip p { font-size: .97rem; line-height: 1.5; color: #456474; margin: 0; }
.forms-resource-strip .btn { font-weight: 700; white-space: normal; }
