/* EAP register theme. Isolated from the legacy store styles. */
.eap-page { --eap-blue: #0fb9ed; --eap-green: #16853d; --eap-text: #25292d; --eap-muted: #60666b; --eap-line: #e2e7e9; margin: 0; color: var(--eap-text); background: #fff; font: 16px/1.65 Arial, Helvetica, sans-serif; }
.eap-page *, .eap-page *::before, .eap-page *::after { box-sizing: border-box; }
.eap-page a { color: #087797; text-underline-offset: 3px; }
.eap-page a:hover { text-decoration: underline; }
.eap-page :focus-visible { outline: 3px solid #0084ac; outline-offset: 4px; }
.eap-page img { max-width: 100%; height: auto; }
.eap-container { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.eap-skip { position: absolute; left: 24px; top: -100px; padding: 12px 20px; background: #fff; z-index: 5; }
.eap-skip:focus { top: 12px; }
.eap-header { background: #283d35 url('../files/eap-header.jpeg') center/cover; }
.eap-header__inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.eap-logo { display: inline-flex; flex-shrink: 0; align-items: center; }
.eap-logo img { width: 132px; height: auto; }
.eap-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.eap-nav a { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.eap-nav a.eap-nav__active { color: var(--eap-blue); }
.eap-main { padding-block: 30px 72px; min-height: 60vh; }
.eap-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--eap-muted); font-size: 13px; margin-bottom: 26px; }
.eap-breadcrumb a { color: var(--eap-muted); }
.eap-intro { max-width: 790px; margin-bottom: 30px; }
.eap-eyebrow { color: #087797; font-size: 12px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; margin: 0 0 8px; }
.eap-page h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 16px; }
.eap-intro > p:last-child { color: var(--eap-muted); margin: 0; }
.eap-search { padding: 26px 30px; background: #f5f7f7; border-top: 3px solid var(--eap-blue); margin-bottom: 36px; }
.eap-search fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.eap-search legend { font-size: 20px; font-weight: 600; padding: 0; margin-bottom: 18px; }
.eap-search__fields { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; }
.eap-field { min-width: 0; }
.eap-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.eap-field input, .eap-field select { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bfc8cc; border-radius: 3px; background: #fff; color: var(--eap-text); font: inherit; font-size: 15px; }
.eap-search__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.eap-page .eap-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 1px solid var(--eap-green); border-radius: 3px; background: var(--eap-green); color: #fff; font: 600 14px/1.5 Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; }
.eap-page .eap-button:hover { background: #10662e; border-color: #10662e; }
.eap-page .eap-button--secondary { background: #fff; color: var(--eap-green); }
.eap-page .eap-button--secondary:hover { background: #edf6ef; }
.eap-reset { font-size: 14px; }
.eap-results { scroll-margin-top: 24px; }
.eap-results__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--eap-line); }
.eap-results__heading h2 { font-size: 23px; font-weight: 500; margin: 0; }
.eap-results__heading p { color: var(--eap-muted); font-size: 14px; margin: 0; }
.eap-member { padding-block: 28px; border-bottom: 1px solid var(--eap-line); }
.eap-member h3 { margin: 0 0 16px; font-size: 21px; font-weight: 500; line-height: 1.4; }
.eap-member h3 a { text-decoration: none; }
.eap-member__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; }
.eap-member__contact { display: flex; align-items: flex-start; gap: 22px; overflow-wrap: anywhere; min-width: 0; }
.eap-member__details { flex: 1; min-width: 0; }
.eap-member__photo { flex: 0 0 auto; }
.eap-member__photo:empty { display: none; }
.eap-member__photo img { display: block; float: none; width: 96px; height: auto; max-height: 128px; object-fit: contain; object-position: top; border-radius: 3px; }
/* Member.getAddresses() emits fixed-width legacy HTML; constrain it locally. */
.eap-addresses > div { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.eap-addresses > div > div { float: none !important; width: auto !important; max-width: 100%; padding: 0 !important; }
.eap-addresses > div > div:first-child { flex: 0 0 34px; }
.eap-addresses > div > div:nth-child(2) { flex: 1 1 180px; }
.eap-addresses object, .eap-addresses img { max-width: 32px; }
.eap-member__links { margin: 8px 0 0; }
.eap-member__links a { overflow-wrap: anywhere; }
.eap-member dl { margin: 0; padding-left: 28px; border-left: 2px solid #e5f4f8; }
.eap-member dt { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--eap-muted); font-weight: 700; }
.eap-member dd { margin: 4px 0 18px; overflow-wrap: anywhere; }
.eap-member dd:last-child { margin-bottom: 0; }
.eap-empty { padding: 36px 24px; background: #f5f7f7; text-align: center; margin-top: 24px; }
.eap-empty h3 { font-size: 20px; margin: 0 0 8px; }
.eap-empty p { margin: 0; color: var(--eap-muted); }
.eap-pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; font-size: 14px; }
.eap-pagination__disabled { color: #73797e; padding: 10px 0; }
.eap-footer { background: #171b1d url('../files/eap-footer.png') center/cover; color: #ddd; }
.eap-footer__inner { display: grid; grid-template-columns: 150px 1fr 1.6fr 1.3fr; gap: 32px; padding-block: 52px 36px; }
.eap-footer h2 { color: #fff; font-size: 17px; line-height: 1.45; margin: 0 0 16px; }
.eap-footer a:not(.eap-logo) { display: block; color: #ddd; font-size: 14px; margin-block: 5px; text-decoration: none; overflow-wrap: anywhere; }
.eap-footer a:hover { text-decoration: underline; }
.eap-footer__bottom { font-size: 12px; padding-block: 20px; border-top: 1px solid #ffffff30; }
@media (max-width: 850px) {
  .eap-header__inner { padding-block: 22px; align-items: flex-start; }
  .eap-nav { gap: 14px 20px; justify-content: flex-end; }
  .eap-search__fields { grid-template-columns: 1fr 1fr; }
  .eap-field:first-child { grid-column: 1 / -1; }
  .eap-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .eap-container { width: calc(100% - 32px); }
  .eap-header__inner { flex-direction: column; gap: 20px; }
  .eap-logo img { width: 110px; }
  .eap-nav { justify-content: flex-start; gap: 14px 22px; }
  .eap-nav a { font-size: 12px; }
  .eap-main { padding-block: 24px 44px; }
  .eap-search { padding: 22px 18px; }
  .eap-search__fields, .eap-member__body, .eap-footer__inner { grid-template-columns: 1fr; }
  .eap-member__body { gap: 20px; }
  .eap-member__contact { gap: 16px; }
  .eap-member__photo img { width: 76px; max-height: 104px; }
  .eap-member dl { padding-left: 16px; }
  .eap-pagination { flex-wrap: wrap; gap: 12px; }
  .eap-pagination > span:not(.eap-pagination__disabled) { order: -1; width: 100%; text-align: center; }
}
@media print {
  .eap-header, .eap-footer, .eap-search, .eap-pagination, .eap-breadcrumb, .eap-skip { display: none; }
  .eap-container { width: 100%; }
  .eap-member { break-inside: avoid; }
  .eap-page a { color: #000; }
}
.eap-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* DNN supplies navigation, page title and footer around the embedded register. */
.eap-page[data-embedded="true"] .eap-main { width: 100%; max-width: none; min-height: 0; padding: 4px 0 16px; margin: 0; }
.eap-page[data-embedded="true"] .eap-search { margin-bottom: 28px; }
