.af-services-page { padding-top: 120px; }

/* The site's content templates define their hero locally, so mirror that treatment here. */
.af-services-hero {
    position: relative;
    top: 0;
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    color: #fff;
    background: url('/images/bg_overlay_acc.jpg') center center / cover no-repeat;
}
.af-services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(27, 42, 78, .8);
}
.af-services-hero .breadcrumb-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 18px;
    text-align: left;
}
.af-services-eyebrow { margin: 0 0 8px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.af-services-hero .breadcrumb_con_title { margin: 0 0 10px; color: #fff; font-size: 42px; font-weight: 600; line-height: 1.2; }
.af-services-hero .breadcrumb_desc { max-width: 1000px; margin: 0; color: #fff; font-size: 16px; line-height: 1.6; }

.af-services-breadcrumb { background: #354d81; color: #fff; }
.af-services-breadcrumb .container { padding-top: 10px; padding-bottom: 10px; }
.af-services-breadcrumb ol { margin: 0; }
.af-services-breadcrumb li { overflow-wrap: anywhere; }
.af-services-breadcrumb a { color: #fff; }

.af-services-main { margin-top: 32px; margin-bottom: 80px; padding: 42px 48px 55px; background: #fff; border: 1px solid #e1e5eb; }
.af-services-layout { margin-top: 38px; margin-bottom: 80px; }
.af-services-content-column { padding-top: 20px; }
.af-services-layout .af-services-main { margin: 0; padding: 38px 40px 50px; }
.af-services-intro { max-width: 1000px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid #dfe4ea; }
.af-services-intro-label { margin-bottom: 12px; color: #354d81; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.af-services-intro .lead { font-size: 19px; line-height: 1.7; }
.af-services-sidebar-panel { position: relative; margin: 20px 0 30px; padding: 31px 20px 20px; background: #fff; border: 1px solid #e1e5eb; }
.af-services-sidebar-label { position: absolute; top: -20px; left: -1px; max-width: calc(100% + 2px); margin: 0; padding: 10px 20px; background: #354d81; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.af-services-sidebar-links { list-style: none; padding: 0; margin: 10px 0 0; }
.af-services-sidebar-links li { margin-bottom: 6px; }
.af-services-sidebar-links a { display: block; padding: 10px 12px; background: #f8f8f8; color: #333; border-left: 3px solid transparent; font-size: 14px; line-height: 1.45; }
.af-services-sidebar-links a:hover, .af-services-sidebar-links a:focus { background: #edf2f7; color: #354d81; text-decoration: none; }
.af-services-sidebar-links a.is-active { background: #edf2f7; color: #354d81; border-left-color: #354d81; font-weight: 600; }
.af-services-sidebar-current { margin-top: 18px; padding-top: 12px; border-top: 1px solid #dfe4ea; }
.af-services-sidebar-current h3 { margin: 0 0 10px; color: #354d81; font-size: 15px; font-weight: 600; }
.af-services-sidebar-items { list-style: none; margin: 0; padding: 0; }
.af-services-sidebar-items li { padding: 7px 0 7px 13px; border-bottom: 1px solid #edf0f4; color: #555; font-size: 13px; line-height: 1.45; position: relative; }
.af-services-sidebar-items li::before { content: "•"; position: absolute; left: 0; color: #354d81; }
.af-services-sidebar-request { display: block; margin-top: 15px; padding: 11px 12px; color: #354d81; background: #edf2f7; font-size: 14px; font-weight: 600; }
.af-services-sidebar-accreditation { padding-top: 50px; }
.af-services-sidebar-accreditation p { font-size: 14px; line-height: 1.65; }
.af-services-sidebar-accreditation .btn { white-space: normal; }
.af-services-note, .af-services-cta, .af-services-related { padding: 24px 28px; margin: 28px 0; background: #f7f9fb; border-left: 4px solid #354d81; }
.af-services-note h2, .af-services-cta h2, .af-services-related h2 { margin-top: 0; font-size: 22px; }
.af-services-note h2 .bi, .af-services-cta h2 .bi, .af-services-related h2 .bi { margin-right: 8px; color: #354d81; }
.af-services-heading { margin: 38px 0 20px; font-size: 26px; color: #354d81; }

.af-services-grid { display: flex; flex-wrap: wrap; }
.af-services-grid > div { margin-bottom: 30px; }
.af-services-card { height: 100%; padding: 24px; background: #fff; border: 1px solid #e1e5eb; border-top: 3px solid #354d81; transition: box-shadow .2s ease; }
.af-services-card:hover { box-shadow: 0 5px 18px rgba(27, 42, 78, .1); }
.af-services-card > .bi { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #354d81; background: #edf2f7; font-size: 22px; }
.af-services-card h3 { margin: 16px 0 12px; font-size: 19px; color: #354d81; }
.af-services-card a, .af-services-back a, .af-services-index a, .af-services-related a { color: #354d81; }

.af-services-section { margin-top: 38px; }
.af-services-featured { padding: 1px 24px 24px; background: #f4f7fb; border-left: 4px solid #354d81; }
.af-services-list { display: block; }
.af-service-item { min-width: 0; padding: 32px 0; border-bottom: 1px solid #dfe4ea; overflow-wrap: anywhere; scroll-margin-top: 130px; }
.af-service-item:first-child { padding-top: 8px; }
.af-service-number { display: block; margin-bottom: 12px; color: #6a7d9b; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.af-service-item h2, .af-service-item h3 { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 18px; color: #354d81; font-size: 23px; line-height: 1.35; }
.af-service-icon { flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: #edf2f7; color: #354d81; font-size: 18px; }
.af-service-item p { max-width: 1000px; margin-bottom: 16px; font-size: 16px; line-height: 1.75; }
.af-service-item .af-service-lead { color: #354d81; font-weight: 500; }
.af-service-item .af-service-scope { margin: 20px 0 0; padding: 14px 18px; background: #f7f9fb; border-left: 3px solid #c6d2e3; color: #586473; font-size: 14px; }
.af-service-request-link { display: inline-block; margin-top: 14px; color: #354d81; font-weight: 600; }
.af-services-related ul { margin-bottom: 0; }
.af-services-back { margin-top: 25px; }
.af-services-cta { margin-top: 36px; }
.af-service-resource-links { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 14px; }
.af-service-resource-links a, .af-service-resource-links button { color: #354d81; font-size: 14px; }
.af-service-resource-links button { padding: 0; border: 0; background: transparent; text-decoration: underline; }
.af-service-access { margin-top: 32px; padding-top: 6px; border-top: 1px solid #dfe4ea; }
.af-service-access .row > div { margin-bottom: 16px; }
.af-service-access-card { height: 100%; padding: 20px; border: 1px solid #dfe4ea; border-top: 3px solid #354d81; background: #fbfcfe; }
.af-service-access-card > .bi { color: #354d81; font-size: 22px; }
.af-service-access-card h3 { margin: 10px 0; color: #354d81; font-size: 18px; }
.af-service-access-card p { min-height: 75px; font-size: 14px; }
.af-service-access-card .btn { white-space: normal; }
.af-training-section { margin-top: 42px; padding-top: 4px; border-top: 1px solid #dfe4ea; }
.af-training-section > p { max-width: 950px; }
.af-training-grid > div { margin-bottom: 20px; }
.af-training-card { height: 100%; padding: 22px; border: 1px solid #dfe4ea; border-top: 3px solid #354d81; background: #fbfcfe; }
.af-training-card h3 { margin: 12px 0; color: #354d81; font-size: 20px; }
.af-training-status { display: inline-block; padding: 4px 9px; background: #e8edf5; color: #354d81; font-size: 12px; font-weight: 600; }
.af-training-card dl { display: grid; grid-template-columns: 80px 1fr; gap: 4px 12px; margin: 18px 0; font-size: 14px; }
.af-training-card dt { color: #354d81; }
.af-training-card dd { margin: 0; }
.af-training-empty { padding: 24px 28px; border-left: 4px solid #354d81; background: #f7f9fb; }
.af-training-empty > .bi { color: #354d81; font-size: 24px; }
.af-training-empty h3 { margin: 8px 0 10px; color: #354d81; font-size: 21px; }
.af-training-empty .btn { margin: 8px 8px 0 0; white-space: normal; }
.af-training-table thead { background: #354d81; color: #fff; }
.af-training-table th, .af-training-table td { padding: 12px 14px !important; }
.af-training-schedule-empty { padding: 18px 20px; background: #f7f9fb; border: 1px solid #e1e5eb; }
.af-professional-updates { margin-top: 42px; padding: 26px 28px; background: #f7f9fb; border-left: 4px solid #354d81; scroll-margin-top: 20px; }
.af-professional-updates h2 { margin: 0 0 10px; color: #354d81; font-size: 24px; }
.af-professional-updates .form-group { margin-top: 8px; }
.af-professional-updates .form-control { height: 42px; }
.af-updates-submit { padding-top: 25px; }
.af-update-message { margin: 4px 0 0; }
.af-update-success { color: #19603b; }
.af-update-error { color: #a32d2d; }

.af-request-main { padding: 30px; }
.af-request-form-panel, .af-request-side-panel { padding: 28px; background: #fff; border: 1px solid #e1e5eb; }
.af-request-form-panel > h2, .af-request-side-panel h2 { margin-top: 0; color: #354d81; font-size: 24px; }
.af-request-form-panel h3 { margin: 32px 0 22px; padding-bottom: 10px; border-bottom: 1px solid #dfe4ea; color: #354d81; font-size: 20px; }
.af-request-form-panel h3 .bi { margin-right: 8px; }
.af-request-form-panel .form-group { margin-bottom: 20px; }
.af-request-form-panel label { font-weight: 600; }
.af-request-form-panel label span[aria-hidden] { color: #a32d2d; }
.af-request-form-panel .form-control { height: 44px; border-radius: 2px; }
.af-request-form-panel textarea.form-control { height: auto; min-height: 170px; resize: vertical; }
.af-request-form-panel .help-block { margin: 5px 0 10px; font-size: 13px; }
.af-request-form-panel input[type="file"] { max-width: 100%; }
.af-request-optional { color: #666; font-weight: 400; }
.af-request-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.af-request-side-panel { margin-bottom: 20px; background: #f7f9fb; border-top: 3px solid #354d81; }
.af-request-side-panel h2 { font-size: 20px; }
.af-request-side-panel ol { list-style: none; counter-reset: steps; padding: 0; margin: 18px 0 0; }
.af-request-side-panel li { position: relative; counter-increment: steps; padding: 0 0 18px 42px; margin-bottom: 18px; border-bottom: 1px solid #dfe4ea; }
.af-request-side-panel li:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.af-request-side-panel li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 0; color: #354d81; font-weight: 700; }
.af-request-side-panel li strong, .af-request-side-panel li span { display: block; }
.af-request-side-panel li span { margin-top: 5px; font-size: 14px; }
.af-request-success { max-width: 780px; margin: 10px auto; text-align: center; }
.af-request-success > .bi { color: #354d81; font-size: 50px; }
.af-request-success h2 { color: #354d81; }
.af-request-reference { display: inline-block; margin: 18px 0; padding: 14px 22px; background: #f1f5f9; border-left: 3px solid #354d81; font-size: 18px; }
.af-request-success .btn { margin: 8px 4px; }

@media (max-width: 767px) {
    .af-services-hero { min-height: 210px; }
    .af-services-hero .breadcrumb-container { padding: 30px 18px; }
    .af-services-hero .breadcrumb_con_title { font-size: 28px; }
    .af-services-hero .breadcrumb_desc { font-size: 13px; line-height: 1.5; }
    .af-services-main { margin-top: 18px; margin-bottom: 45px; padding: 28px 20px 38px; }
    .af-services-layout { margin-top: 18px; margin-bottom: 45px; }
    .af-services-content-column { padding-top: 0; }
    .af-services-layout .af-services-main { padding: 28px 20px 38px; }
    .af-services-sidebar { margin-top: 32px; }
    .af-services-note, .af-services-cta, .af-services-related { padding: 20px; }
    .af-services-featured { padding-left: 18px; padding-right: 18px; }
    .af-services-grid { display: block; }
    .af-service-access-card p { min-height: 0; }
    .af-training-empty, .af-professional-updates { padding: 20px; }
    .af-updates-submit { padding-top: 0; }
    .af-request-main { padding: 18px; }
    .af-request-form-panel, .af-request-side-panel { padding: 20px; }
    .af-request-sidebar { margin-top: 22px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .af-services-sidebar { margin-top: 30px; }
}
@media print {
    .af-services-page { padding-top: 0; }
    .af-services-main { margin-top: 25px; }
    .af-services-card, .af-service-item { break-inside: avoid; }
}
