/* Amazing Grace quick contact. All styles are scoped to the rail or form frame. */
.ag-contact { --ag-navy: #293d89; --ag-gold: #fdbd27; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 10000; font-family: "zeitung-micro", Arial, sans-serif; color: var(--ag-navy); }
.ag-contact *, .ag-contact *::before, .ag-contact *::after { box-sizing: border-box; }
.ag-contact[hidden], .ag-contact [hidden] { display: none !important; }
.ag-contact__rail { width: 54px; display: flex; flex-direction: column; border-radius: 16px 0 0 16px; box-shadow: 0 5px 24px #18265026; overflow: hidden; }
.ag-contact .ag-contact__tab { appearance: none; border: 0; border-radius: 0; margin: 0; padding: 16px 8px; width: 54px; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; cursor: pointer; font: 700 14px/1.2 "zeitung-micro", Arial, sans-serif; transition: background-color .2s; }
.ag-contact .ag-contact__tab--contact { background: var(--ag-gold); color: var(--ag-navy); min-height: 162px; }
.ag-contact__tab--contact span { writing-mode: vertical-rl; transform: rotate(180deg); }
.ag-contact .ag-contact__tab--phone { background: var(--ag-navy); color: white; padding: 14px 5px; gap: 7px; font-size: 10px; }
.ag-contact__tab svg { width: 23px; height: 23px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ag-contact .ag-contact__tab--contact:hover, .ag-contact .ag-contact__tab--contact[aria-expanded="true"] { background: #ffd164; }
.ag-contact .ag-contact__tab--phone:hover, .ag-contact .ag-contact__tab--phone[aria-expanded="true"] { background: #1e2e6b; }
.ag-contact button:focus-visible, .ag-contact a:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 6px var(--ag-navy); }
.ag-contact__panel { position: absolute; right: 54px; top: 50%; transform: translateY(-50%); width: min(390px, calc(100vw - 70px)); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: auto; background: #fff; border-radius: 22px 0 0 22px; border: 1px solid #e2e5f0; box-shadow: -8px 12px 40px #18265026; animation: ag-contact-in .2s ease-out; }
.ag-contact__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 22px 22px 12px; border-top: 6px solid var(--ag-gold); flex: none; }
.ag-contact .ag-contact__eyebrow { margin: 0 0 5px; font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: .15em; text-transform: uppercase; color: #56638e; }
.ag-contact .ag-contact__heading h2 { font-family: "sauna-new", Georgia, serif; font-size: 29px; font-weight: 700; line-height: 1.1; margin: 0; color: var(--ag-navy); }
.ag-contact .ag-contact__close { appearance: none; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--ag-navy); background: #f1f3f9; padding: 0; margin: 0; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.ag-contact .ag-contact__close:hover { background: #fceac0; }
.ag-contact .ag-contact__intro { font-size: 13px; line-height: 1.5; margin: 0; padding: 0 22px 12px; flex: none; }
.ag-contact__frame { display: block; width: 100%; height: 470px; min-height: 160px; flex: 1 1 470px; border: 0; background: #fff; }
.ag-contact .ag-contact__loading { font-size: 13px; padding: 12px 22px; margin: 0; }
.ag-contact .ag-contact__fallback { display: block; flex: none; text-align: center; font-size: 11px; line-height: 1.5; padding: 12px 16px 16px; color: #465783; text-decoration: underline; }
.ag-contact__panel--phone { width: min(330px, calc(100vw - 70px)); }
.ag-contact__numbers { padding: 4px 20px 20px; }
.ag-contact__numbers a { display: block; padding: 16px; border: 1px solid #dde2ef; border-radius: 12px; color: var(--ag-navy); background: #f7f8fc; text-decoration: none; }
.ag-contact__numbers a + a { margin-top: 10px; }
.ag-contact__numbers a:hover { background: #fff5dc; border-color: var(--ag-gold); }
.ag-contact__numbers strong { display: block; font-size: 14px; margin-bottom: 6px; }
.ag-contact__numbers a > span { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
@keyframes ag-contact-in { from { opacity: 0; margin-right: -12px; } to { opacity: 1; margin-right: 0; } }
@media (max-width: 600px) {
  .ag-contact { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); right: 12px; transform: none; }
  .ag-contact__rail { width: auto; flex-direction: row; border-radius: 28px; }
  .ag-contact .ag-contact__tab { width: auto; min-height: 52px; padding: 12px 17px; flex-direction: row; gap: 8px; font-size: 13px; }
  .ag-contact__tab--contact span { writing-mode: horizontal-tb; transform: none; }
  .ag-contact__tab svg { width: 20px; height: 20px; }
  .ag-contact__panel { position: fixed; right: 12px; top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); transform: none; width: min(390px, calc(100vw - 24px)); max-height: calc(100dvh - 104px - env(safe-area-inset-bottom)); border-radius: 20px; }
  .ag-contact__heading { padding: 16px 18px 10px; }
  .ag-contact .ag-contact__intro { padding-left: 18px; padding-right: 18px; }
  .ag-contact .ag-contact__heading h2 { font-size: 26px; }
  .ag-contact__frame { flex-basis: 440px; height: 440px; }
}
@media (prefers-reduced-motion: reduce) { .ag-contact__panel { animation: none; } .ag-contact .ag-contact__tab { transition: none; } }
@media print { .ag-contact { display: none !important; } }

/* The embedded document uses the actual Ninja Form and its existing actions. */
html:has(body.ag-contact-form-page) { background: #fff; min-height: 0; }
body.ag-contact-form-page { background: #fff; margin: 0; padding: 0; min-width: 0; min-height: 0; color: #293d89; font-family: "zeitung-micro", Arial, sans-serif; }
.ag-contact-form-content { padding: 0 22px 12px; }
.ag-contact-form-page .nf-form-content { max-width: none; padding: 0; }
.ag-contact-form-page .nf-form-title, .ag-contact-form-page .nf-form-fields-required { display: none; }
.ag-contact-form-page .nf-field-container { margin-bottom: 12px; }
.ag-contact-form-page .nf-field-label { margin-bottom: 5px; }
.ag-contact-form-page .nf-field-label label { color: #293d89; font-size: 13px; }
.ag-contact-form-page .nf-form-content input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]),
.ag-contact-form-page .nf-form-content textarea,
.ag-contact-form-page .nf-form-content select { box-sizing: border-box; width: 100%; height: 44px; padding: 10px 13px; border: 1px solid #cbd2e5; border-radius: 10px; background: #fafbfe; color: #293d89; font: 400 16px/1.4 "zeitung-micro", Arial, sans-serif; box-shadow: none; }
.ag-contact-form-page .nf-form-content textarea { height: 88px; min-height: 88px; resize: vertical; }
.ag-contact-form-page .nf-form-content select.ninja-forms-field { padding-right: 34px; border: 1px solid #cbd2e5; border-radius: 10px; background: #fafbfe; color: #293d89; height: 44px; }
.ag-contact-form-page .nf-form-content .list-select-wrap .nf-field-element > div { background: transparent; border: 0; height: 44px; }
.ag-contact-form-page .nf-form-content .list-select-wrap .nf-field-element > div::after { content: none; }
.ag-contact-form-page .nf-form-content .list-select-wrap .nf-field-element::after { content: ""; position: absolute; z-index: 3; right: 16px; top: 15px; width: 8px; height: 8px; border-right: 2px solid #293d89; border-bottom: 2px solid #293d89; transform: rotate(45deg); pointer-events: none; }
.ag-contact-form-page .nf-form-content input::placeholder, .ag-contact-form-page .nf-form-content textarea::placeholder { color: #56638e; opacity: 1; }
.ag-contact-form-page .nf-form-content input:focus, .ag-contact-form-page .nf-form-content textarea:focus, .ag-contact-form-page .nf-form-content select:focus { outline: 2px solid #293d89; outline-offset: 1px; }
.ag-contact-form-page .nf-form-content input[type=button], .ag-contact-form-page .nf-form-content input[type=submit], .ag-contact-form-page .nf-form-content button { width: 100%; height: 46px; border: 0; border-radius: 24px; background: #fdbd27; color: #293d89; font: 700 18px/1 "sauna-new", Arial, sans-serif; cursor: pointer; }
.ag-contact-form-page .nf-form-content input[type=button]:hover, .ag-contact-form-page .nf-form-content input[type=submit]:hover { background: #ffd164; color: #293d89; }
.ag-contact-form-page .nf-error-msg, .ag-contact-form-page .ninja-forms-req-symbol { font-size: 12px; color: #b32032; }
.ag-contact-form-page .nf-error .nf-field-element::after { display: none; }
.ag-contact-form-page .nf-response-msg { font-size: 15px; line-height: 1.6; padding: 18px 0; }
