.af-wrap { --af-blue: #004282; --af-yellow: #ffcb05; --af-line: #d6dce5; max-width: 900px; margin: 24px auto; padding: 28px 28px 32px; background: #fff; border-radius: 16px; color: #1d2733; font-size: 16px; line-height: 1.5; text-align: left; }
.af-wrap p, .af-wrap li, .af-wrap label, .af-wrap legend { color: #1d2733; }
.af-wrap .af-confirm, .af-wrap .af-confirm * { color: var(--af-blue); }
.af-wrap *, .af-wrap *::before, .af-wrap *::after { box-sizing: border-box; }
.af-wrap h2 { color: var(--af-blue); font-size: 1.6em; margin: 0 0 .4em; }
.af-wrap h3 { color: var(--af-blue); }
.af-lead { color: #44505e; margin: 0 0 1em; }
.af-intro { background: #f4f7fb; border-left: 4px solid var(--af-yellow); padding: 12px 16px; border-radius: 4px; margin: 0 0 1.5em; }
.af-section { border: 1px solid var(--af-line); border-radius: 10px; padding: 18px 20px 20px; margin: 0 0 18px; background: #fff; min-width: 0; }
.af-section legend { color: var(--af-blue); font-weight: 700; font-size: 1.1em; padding: 0 8px; }
.af-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.af-field, .af-check { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.af-wide { grid-column: 1 / -1; }
.af-field[hidden], .af-check[hidden] { display: none; }
.af-field label { font-weight: 600; font-size: .92em; }
.af-field input, .af-field select, .af-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #b7c1ce; border-radius: 6px; font: inherit; background: #fff; color: inherit; }
.af-field input:focus, .af-field select:focus, .af-field textarea:focus { outline: 2px solid var(--af-yellow); border-color: var(--af-blue); }
.af-field input[readonly] { background: #f1f3f6; }
.af-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.af-check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--af-blue); }
.af-after { margin-top: 14px; }
.af-error { color: #b3261e; font-size: .85em; min-height: 0; }
.af-invalid input, .af-invalid select, .af-invalid textarea { border-color: #b3261e; }
.af-row { border: 1px dashed #b7c1ce; border-radius: 8px; padding: 12px 14px 14px; margin-bottom: 12px; background: #fafbfd; }
.af-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; color: var(--af-blue); }
.af-remove { background: none; border: 0; color: #b3261e; cursor: pointer; font: inherit; text-decoration: underline; }
.af-add { background: #fff; border: 2px solid var(--af-blue); color: var(--af-blue); border-radius: 8px; padding: 8px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.af-add:hover { background: var(--af-blue); color: #fff; }
.af-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.af-wrap button.af-submit { background: var(--af-yellow); color: var(--af-blue); border: 0; border-radius: 10px; padding: 14px 32px; font: inherit; font-weight: 800; font-size: 1.05em; cursor: pointer; }
.af-wrap button.af-submit:hover { background: var(--af-yellow); filter: brightness(.95); }
.af-wrap button.af-add { background: #fff; color: var(--af-blue); }
.af-wrap button.af-add:hover { background: var(--af-blue); color: #fff; }
.af-wrap input, .af-wrap select, .af-wrap textarea, .af-wrap legend, .af-wrap label { font-family: inherit; }
.af-submit:disabled { opacity: .6; cursor: wait; }
.af-status { color: #b3261e; font-weight: 600; margin: 0; }
.af-privacy { font-size: .82em; color: #5a6676; margin-top: 14px; }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.af-confirm { background: var(--af-yellow); border-radius: 16px; padding: 36px 32px; text-align: center; color: var(--af-blue); }
.af-confirm[hidden], .af-form[hidden] { display: none; }
.af-confirm h3 { color: var(--af-blue); font-size: 2em; margin: 0 0 .3em; }
.af-confirm-sign { font-weight: 700; margin-top: 1em; }
.af-elig { padding-left: 1.4em; }
.af-elig li { margin-bottom: .5em; }
.af-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 1.4em; }
.af-doc { border: 1px solid var(--af-line); border-radius: 10px; padding: 16px 18px; }
.af-doc h3 { margin-top: 0; }
.af-btn { display: inline-block; border: 2px solid var(--af-blue); color: var(--af-blue); border-radius: 8px; padding: 8px 16px; font-weight: 700; text-decoration: none; }
.af-btn:hover { background: var(--af-blue); color: #fff; }
@media (max-width: 640px) {
  .af-wrap { padding: 18px 14px 22px; margin: 12px 8px; }
  .af-grid, .af-docs { grid-template-columns: 1fr; }
  .af-section { padding: 14px 12px 16px; }
  .af-submit { width: 100%; }
}

/* ---- [aspa_foster_page]: the whole Foster page ---- */
.afp { --af-blue: #004282; --af-yellow: #ffcb05; color: #1d2733; font-size: 17px; line-height: 1.6; background: #fff; text-align: left; }
.afp *, .afp *::before, .afp *::after { box-sizing: border-box; }
.afp p, .afp li { color: #1d2733; }
.afp-in { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.afp h1, .afp h2, .afp h3 { color: var(--af-blue); line-height: 1.2; margin: 0 0 .6em; }
.afp h2 { font-size: 2em; font-weight: 800; text-align: center; margin-bottom: 1em; }
.afp h3 { font-size: 1.25em; font-weight: 700; }
.afp-hero { background: var(--af-yellow); padding: 56px 0; overflow: hidden; }
.afp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.afp-hero h1 { font-size: 2.6em; font-weight: 800; }
.afp-hero h1 span { display: block; }
.afp-hero .afp-lead { font-size: 1.2em; color: var(--af-blue); margin-bottom: 1.6em; }
.afp a.afp-cta { display: inline-block; background: var(--af-blue); color: #fff; font-weight: 800; padding: 14px 30px; border-radius: 10px; text-decoration: none; font-size: 1.05em; }
.afp a.afp-cta:hover { background: #00326a; color: #fff; }
.afp-hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.afp-ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 66, 130, .18); transition: transform .3s ease; }
.afp-ph:hover { transform: scale(1.04); }
.afp-ph-1, .afp-ph-3 { transform: translateY(22px); }
.afp-ph-1:hover, .afp-ph-3:hover { transform: translateY(22px) scale(1.04); }
.afp-sec { padding: 60px 0; }
.afp-soft { background: #f4f7fb; }
.afp-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 30px; }
.afp-round { width: 100%; max-height: 380px; object-fit: cover; border-radius: 18px; }
.afp-round.afp-top { object-position: 50% 0%; } /* client 02.12 13:43: show the dog's head, crop the legs */
.afp-em { font-weight: 700; color: var(--af-blue) !important; border-left: 4px solid var(--af-yellow); padding-left: 14px; }
.afp-cards2, .afp-cards3 { display: grid; gap: 22px; }
.afp-cards2 { grid-template-columns: 1fr 1fr; }
.afp-cards3 { grid-template-columns: repeat(3, 1fr); }
.afp-card { background: #fff; border: 1px solid #dfe5ee; border-radius: 16px; padding: 24px 26px; box-shadow: 0 4px 14px rgba(0, 0, 0, .04); }
.afp-cards3 .afp-card { border-top: 5px solid var(--af-yellow); }
.afp-list { list-style: none; margin: 0; padding: 0; }
.afp-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: .6em; }
.afp-ic { width: 22px; height: 22px; flex: none; fill: var(--af-blue); background: var(--af-yellow); border-radius: 50%; padding: 3px; margin-top: 2px; }
.afp-note { font-weight: 700; color: var(--af-blue) !important; margin: 1em 0 0; }
.afp-band { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; margin-top: 36px; background: var(--af-blue); border-radius: 18px; padding: 24px; }
.afp-band img { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; }
.afp-band h3, .afp-band p { color: #fff !important; }
.afp-band h3 { color: var(--af-yellow) !important; font-size: 1.5em; }
.afp-steps { list-style: none; margin: 0 auto 1.5em; padding: 0; max-width: 820px; counter-reset: none; }
.afp-steps li { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, .04); }
.afp-steps li span { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--af-yellow); color: var(--af-blue); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.2em; }
.afp-center { text-align: center; }
.afp-form-sec .af-wrap { box-shadow: 0 6px 30px rgba(0, 66, 130, .10); border: 1px solid #e3e8ef; }
.afp .af-wrap { margin-top: 0; margin-bottom: 0; }
@media (max-width: 900px) {
  .afp-hero-grid, .afp-split, .afp-cards2, .afp-cards3, .afp-band { grid-template-columns: 1fr; }
  .afp-hero { padding: 36px 0 44px; }
  .afp-hero h1 { font-size: 2em; }
  .afp h2 { font-size: 1.6em; }
  .afp-sec { padding: 40px 0; }
  .afp-band img { height: 200px; }
}
