/* HumanResources.aspx - page-specific styles. Uses site theme variables so every color theme applies. */
.hr-apply-panel { margin: 40px 0; overflow: hidden; border: 1px solid var(--border); border-radius: 24px; background: #fff; box-shadow: 0 12px 40px rgba(10,74,58,.10); }
.hr-apply-panel .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header band */
.hr-apply-header { display: flex; align-items: center; gap: 18px; padding: 24px 30px; border-bottom: 4px solid var(--gold); background: var(--green-dark); }
.hr-apply-header-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gold); color: #fff; font-size: 22px; }
.department-page .hr-apply-header .department-subheading { margin: 0; color: var(--sand); }
.hr-apply-header p { margin: 2px 0 0; color: var(--sand); font-size: 15px; opacity: .85; }

/* Body: checklist + submit card */
.hr-apply-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 28px; padding: 28px 30px 30px; }
.hr-apply-items { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hr-apply-items > li { margin: 0; }
.hr-apply-item { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--sand); }
.hr-apply-item-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--green-dark); font-size: 18px; box-shadow: 0 2px 8px rgba(10,74,58,.08); }
.hr-apply-item-text { display: flex; flex: 1; flex-direction: column; min-width: 0; color: var(--text); font-size: 15px; line-height: 1.4; }
.hr-apply-item-text strong { font-weight: 600; }
.hr-apply-item-text small { margin-top: 2px; color: #5c6670; font-size: 13px; }

/* The Supplemental Information download */
#main .hr-apply-panel a.hr-apply-item--link { padding: 12px 16px; border-color: var(--green-dark); background: #fff; color: var(--text) !important; text-decoration: none !important; }
#main .hr-apply-panel a.hr-apply-item--link::before, #main .hr-apply-panel a.hr-apply-item--link::after { content: none !important; display: none !important; }
/* _base.js adds the sitewide "pdf" file-link styling to every PDF link; keep this row's own layout. */
#main .hr-apply-panel a.hr-apply-item--link.pdf { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; min-height: 64px !important; padding: 12px 16px !important; text-align: left !important; }
#main .hr-apply-panel a.hr-apply-item--link.pdf .hr-apply-item-icon { background: var(--green-dark) !important; }
#main .hr-apply-panel a.hr-apply-item--link.pdf small { display: block !important; margin-top: 2px !important; font-size: 13px !important; font-weight: 400 !important; color: #5c6670 !important; }
.hr-apply-item--link .hr-apply-item-icon { background: var(--green-dark); color: var(--sand); box-shadow: none; }
.hr-apply-item--link strong { color: var(--green-dark); }
.hr-apply-item-action { flex: none; color: var(--green-dark); font-size: 16px; }
#main .hr-apply-panel a.hr-apply-item--link:hover, #main .hr-apply-panel a.hr-apply-item--link:focus { border-color: var(--gold); background: var(--sand); }
#main .hr-apply-panel a.hr-apply-item--link:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Submit card */
.hr-apply-submit { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; background: var(--gray-light); }
.hr-apply-submit-title { margin: 0 0 2px; color: var(--green-dark); font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.3; }
.hr-apply-fact { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 15px; line-height: 1.45; }
.hr-apply-fact i { margin-top: 3px; width: 18px; color: var(--gold); font-size: 16px; text-align: center; }
.hr-apply-fact span, .hr-apply-call span { display: flex; flex-direction: column; }
.hr-apply-fact small, .hr-apply-call small { color: #5c6670; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
#main .hr-apply-panel a.hr-apply-call { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 14px 16px; border-radius: 14px; background: var(--green-dark); color: var(--sand) !important; font-size: 19px; font-weight: 700; line-height: 1.3; text-decoration: none !important; }
#main .hr-apply-panel a.hr-apply-call small { color: var(--sand); font-size: 11px; opacity: .85; text-transform: none; letter-spacing: 0; font-weight: 500; }
#main .hr-apply-panel a.hr-apply-call i { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: #fff; font-size: 16px; }
#main .hr-apply-panel a.hr-apply-call:hover, #main .hr-apply-panel a.hr-apply-call:focus { background: var(--green); }
#main .hr-apply-panel a.hr-apply-call:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (max-width: 900px) {
    .hr-apply-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .hr-apply-header { padding: 20px; }
    .hr-apply-body { padding: 20px; }
    .hr-apply-item { align-items: flex-start; }
}

/* About Human Resources: Equal Opportunity banner + requirement cards */
.hr-eeo { display: flex; align-items: center; gap: 20px; margin: 0 0 24px; padding: 24px 28px; border-left: 6px solid var(--gold); border-radius: 20px; background: var(--green-dark); box-shadow: 0 12px 34px rgba(10,74,58,.18); }
.hr-eeo-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; background: var(--gold); color: #fff; font-size: 24px; }
.hr-eeo-title { margin: 0 0 4px; color: var(--sand); font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1.3; }
.hr-eeo-text { margin: 0; color: var(--sand); font-size: 15px; line-height: 1.65; opacity: .92; }

.hr-about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 0 40px; }
.hr-about-card { display: flex; flex-direction: column; min-width: 0; padding: 26px 24px; border: 1px solid var(--border); border-top: 4px solid var(--green-dark); border-radius: 20px; background: #fff; box-shadow: 0 6px 22px rgba(10,74,58,.07); }
.hr-about-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-size: 21px; box-shadow: 0 8px 20px rgba(15,107,82,.22); }
.department-page .hr-about-card-title { margin: 0 0 12px; color: var(--green-dark); font-family: 'Playfair Display', Georgia, serif; font-size: 21px; font-weight: 700; line-height: 1.3; }
.hr-about-card-lead { margin: 0 0 10px; color: var(--text); font-size: 15px; font-weight: 600; }
.hr-about-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hr-about-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.55; }
.hr-about-list i { flex: none; margin-top: 4px; color: var(--gold); font-size: 14px; }

@media (max-width: 1000px) {
    .hr-about-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .hr-eeo { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}

/* Privacy */
.hr-privacy { display: flex; gap: 22px; margin: 0 0 48px; padding: 26px 28px; border: 1px solid var(--border); border-radius: 20px; background: var(--gray-light); }
.hr-privacy-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--green-dark); color: var(--sand); font-size: 22px; }
.hr-privacy-body { min-width: 0; }
.department-page .hr-privacy .department-subheading { margin: 2px 0 8px; }
.hr-privacy-body > p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; }
.hr-privacy-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.hr-privacy-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--text); font-size: 14px; line-height: 1.45; }
.hr-privacy-list i { flex: none; width: 18px; color: var(--green); text-align: center; }

/* Benefits overview */
.hr-benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; }
.hr-benefit { display: flex; flex-direction: column; min-width: 0; padding: 22px 20px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 6px 22px rgba(10,74,58,.06); }
.hr-benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 13px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-size: 19px; }
.hr-benefit strong { color: var(--green-dark); font-size: 16px; font-weight: 700; line-height: 1.35; }
.hr-benefit small { margin-top: 6px; color: #5c6670; font-size: 13px; line-height: 1.45; }

/* Insurance plan cards */
.hr-subhead-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 16px; }
.department-page .hr-subhead-row .department-subheading { margin-bottom: 0; }
.hr-subhead-note { margin: 0; color: #5c6670; font-size: 14px; }
.hr-subhead-note i { margin-right: 4px; color: var(--gold); }
.hr-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 40px; }
.hr-plan, .hr-leave-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 6px 22px rgba(10,74,58,.07); }
.hr-plan-head, .hr-leave-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hr-plan-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: var(--green-dark); color: var(--sand); font-size: 19px; }
.hr-plan-carrier { margin: 0; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.department-page .hr-plan-name { margin: 0; color: var(--green-dark); font-family: 'Playfair Display', Georgia, serif; font-size: 21px; font-weight: 700; line-height: 1.25; }
.hr-plan-ded { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.hr-plan-ded div { padding: 10px 12px; border-radius: 12px; background: var(--sand); }
.hr-plan-ded dt { color: #5c6670; font-size: 11px; font-weight: 600; line-height: 1.35; letter-spacing: .03em; text-transform: uppercase; }
.hr-plan-ded dd { margin: 2px 0 0; color: var(--green-dark); font-size: 20px; font-weight: 700; }
.hr-plan-noded { margin: 0 0 16px; padding: 10px 12px; border-radius: 12px; background: var(--sand); color: #5c6670; font-size: 13px; font-weight: 600; }
.hr-plan-rates-label { margin: 0 0 6px; color: var(--green-dark); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hr-plan-rates, .hr-leave-tiers { margin: 0; padding: 0; list-style: none; }
.hr-plan-rates li, .hr-leave-tiers li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); color: var(--text); font-size: 14px; }
.hr-plan-rates li:last-child, .hr-leave-tiers li:last-child { border-bottom: 0; }
.hr-plan-rates strong, .hr-leave-tiers strong { color: var(--green-dark); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Leave */
.hr-leave-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 48px; }
.hr-leave-tiers li { padding: 12px 0; font-size: 15px; }

/* Employee safety */
.hr-safety { padding-top: 8px; }
.hr-safety-intro { max-width: 760px; margin: 0 0 22px; font-size: 16px; line-height: 1.75; }
.hr-duty-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.hr-duty { min-width: 0; padding: 22px 20px; border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 18px; background: #fff; }
.department-page .hr-duty-title { margin: 0 0 6px; color: var(--green-dark); font-size: 16px; font-weight: 700; line-height: 1.35; }
.hr-duty p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.6; }
.hr-resources { padding: 22px 24px; border-radius: 20px; background: var(--green-dark); }
.hr-resources-label { margin: 0 0 14px; color: var(--sand); font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 700; }
.hr-resources-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#main .hr-resources-links a.pdf { margin: 0; background-color: #fff; }

@media (max-width: 1100px) {
    .hr-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hr-duty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .hr-privacy { flex-direction: column; padding: 22px 20px; }
    .hr-privacy-list, .hr-plan-grid, .hr-leave-grid, .hr-duty-grid, .hr-resources-links { grid-template-columns: minmax(0, 1fr); }
}
