/* Jeannie Meows palace-inspired compact introductions and animal pages.
   Decorative effects never change the animals' natural photographs. */
body.page-home .home-message {
  padding: clamp(12px, 2.1vw, 24px) 16px !important;
  min-height: 0 !important;
}
body.page-home .home-message__inner {
  min-height: 0 !important;
  height: auto !important;
  max-width: 980px !important;
  gap: 7px !important;
  margin-inline: auto !important;
  padding: clamp(15px, 2.5vw, 28px) clamp(14px, 3vw, 40px) !important;
  border: 1px solid #c4a36a !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, #fffbf0 0%, #e8eff5 58%, #fff9ea 100%) !important;
  box-shadow: inset 0 0 0 3px #fff9ed, inset 0 0 0 5px #dec99b, 0 10px 28px #18364c16 !important;
}
body.page-home .home-message__inner::before,
body.page-adopt .royal-directory-heading::before {
  content: "✦";
  position: absolute;
  inset: 10px auto auto 17px;
  color: #98723a;
  font-size: 1.25rem;
  pointer-events: none;
}
body.page-home .home-message__title {
  position: relative !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.55rem, 3vw, 2.65rem) !important;
  line-height: 1.17 !important;
  letter-spacing: -.02em !important;
  text-wrap: balance !important;
  white-space: normal !important;
  color: #183a59 !important;
}
body.page-home .home-message__eyebrow {
  margin: 0 !important;
  font-size: .73rem !important;
  font-weight: 800 !important;
  letter-spacing: .11em !important;
  color: #735421 !important;
}
body.page-home .home-message__subtitle {
  margin: 0 auto !important;
  max-width: 670px !important;
  font-size: clamp(.9rem, 1.4vw, 1rem) !important;
  line-height: 1.45 !important;
  color: #263c4e !important;
}
body.page-home .home-message__actions {
  margin: 5px auto 0 !important;
  gap: 8px !important;
}
body.page-home .home-message__action {
  min-height: 38px !important;
  padding: 8px 16px !important;
  font-size: .9rem !important;
}
body.page-home .home-message__sparkles {
  opacity: .32;
  pointer-events: none;
}

body.page-adopt .royal-directory-heading,
body.page-memorial .royal-directory-heading {
  position: relative;
  box-sizing: border-box;
  width: min(1080px, calc(100% - 28px));
  margin: 22px auto 10px;
  padding: clamp(17px, 2.6vw, 28px) clamp(14px, 3vw, 40px);
  border: 1px solid #b8995d;
  border-radius: 22px;
  background: linear-gradient(125deg, #fffaf0, #e9f1f8 54%, #fff7e6);
  box-shadow: inset 0 0 0 3px #fffdf8, inset 0 0 0 5px #d8bd87, 0 10px 25px #1a39521a;
  text-align: center;
}
.royal-directory-heading .eyebrow {margin:0;color:#72501e;font-size:.74rem;letter-spacing:.12em;font-weight:800}
.royal-directory-heading h1 {margin:5px 0 6px;font-family:Georgia,serif;font-size:clamp(1.45rem,3vw,2.5rem);line-height:1.17;color:#193b59}
.royal-directory-heading > p:not(.eyebrow) {max-width:700px;margin:0 auto;font-size:.96rem;line-height:1.48;color:#263e52}
.royal-directory-heading .page-heading__actions {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:12px}
.royal-directory-heading .page-heading__actions a {margin:0;padding:8px 14px;min-height:38px;border-radius:24px;background:#fef9ec;border:1px solid #ad8d59;color:#173956;text-decoration:none;font-weight:750;font-size:.88rem}
.royal-directory-heading .page-heading__actions a:hover {background:#e7f0f8}
body.page-adopt .animal-showcase-section {padding-top:18px}
.royal-section-divider {display:flex;justify-content:center;align-items:center;gap:14px;margin:36px auto 18px;color:#1a3d5d;text-align:center}
.royal-section-divider::before,.royal-section-divider::after {content:"";height:1px;width:min(13vw,140px);background:linear-gradient(90deg,transparent,#bb9955)}
.royal-section-divider::after {transform:rotate(180deg)}
.royal-section-divider h2 {margin:0;font:700 clamp(1.25rem,2.5vw,1.9rem)/1.2 Georgia,serif}
.royal-directory-card {position:relative;overflow:hidden;border:1px solid #bb9a60;border-radius:18px;background:#fffaf0;box-shadow:0 10px 22px #173d5518}
.royal-directory-card a {color:#193e60}
.royal-directory-card__image {display:block;position:relative;aspect-ratio:4/3;overflow:hidden;background:#e7ebee}
.royal-directory-card__image img {width:100%;height:100%;object-fit:cover}
.royal-directory-card__body {padding:15px 18px}
.royal-directory-card__body h3 {margin:0 0 4px;font:700 1.38rem Georgia,serif}
.royal-directory-card__body p {margin:4px 0 10px;color:#33495a}
.royal-ribbon {position:absolute;z-index:2;top:16px;left:-5px;padding:7px 18px 7px 23px;background:#1a4c75;color:#fffaf0;box-shadow:0 2px 8px #0018;letter-spacing:.1em;font-weight:900;font-size:.82rem;text-transform:uppercase}
.royal-ribbon--memorial {background:#5f526e}
.royal-directory-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:18px;max-width:1200px;margin:0 auto;padding:0 16px 24px}
.royal-directory-empty {text-align:center;color:#405367}

/* Accessible palace detail panels: readable action link, gold borders, ivory. */
body.page-animal-detail .animal-profile--workspace {max-width:1200px}
body.page-animal-detail .animal-profile-hero {
  border:2px solid #b89b62;border-radius:25px;
  background:linear-gradient(145deg,#fffbf2,#e9f0f6);
  box-shadow:inset 0 0 0 4px #fffdf8,inset 0 0 0 6px #e0c99f,0 14px 40px #16355021;
}
body.page-animal-detail .animal-profile-hero h1 {font-family:Georgia,"Times New Roman",serif;color:#163d60}
body.page-animal-detail .profile-main-image--hero {border:5px solid #e8d6ae;border-radius:17px;box-shadow:0 6px 24px #16355022}
body.page-animal-detail .animal-profile-card {background:#fffaf0;border:1px solid #d0b47a;box-shadow:0 6px 20px #132f4610}
body.page-animal-detail .animal-profile-card__heading h2 {font-family:Georgia,"Times New Roman",serif;color:#173d60}
body.page-animal-detail .animal-profile-tabs {border:1px solid #bda06b;background:#f8f3e7;border-radius:18px}
body.page-animal-detail .animal-profile-tabs a[aria-current="page"] {background:#1d4b71;color:#fffaf0}
body.page-animal-detail .animal-profile-access,
body.page-animal-detail .animal-profile-staff-link {
  display:inline-flex;align-items:center;min-height:36px;padding:7px 14px;
  color:#fff !important;background:#1a466a !important;
  border:2px solid #bfa46d;border-radius:20px;
  text-decoration:none !important;font-size:.86rem;font-weight:750;
  cursor:pointer;opacity:1;visibility:visible;
}
body.page-animal-detail .animal-profile-staff-link:hover {background:#103251 !important;text-decoration:underline !important}
body.page-animal-detail .animal-profile-staff-link:focus-visible,
.royal-directory-heading a:focus-visible,.royal-directory-card a:focus-visible {
  outline:3px solid #166aad;outline-offset:4px
}
body.page-animal-detail .animal-profile-hero__media {position:relative}
body.page-animal-detail .royal-ribbon {top:24px;left:0}
@media (max-width:700px) {
 body.page-home .home-message__inner {padding:15px 14px !important}
 body.page-home .home-message__actions {flex-wrap:wrap;justify-content:center}
 body.page-home .home-message__action {font-size:.83rem !important}
 body.page-adopt .royal-directory-heading {margin-top:12px;padding:17px 15px}
 body.page-animal-detail .animal-profile-hero {padding:20px 14px}
}
@media (prefers-reduced-motion:reduce) {
 .royal-directory-card *, .royal-directory-heading *, .animal-profile-staff-link {animation:none !important;transition:none !important}
}

/* Private outcome forms keep the same accessible palace material system. */
.animal-outcome-editor {width:min(860px,calc(100% - 28px));margin:24px auto 60px}
.animal-outcome-editor .animal-profile-card {padding:clamp(18px,3vw,34px);margin:0 0 18px;border:1px solid #c2a36a;border-radius:18px;background:#fffaf0;box-shadow:0 8px 22px #12324719}
.animal-outcome-editor h1 {font-family:Georgia,serif;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.18;color:#193e5b}
.animal-outcome-form {display:grid;gap:16px}
.animal-outcome-form__field > label {display:block;margin-bottom:5px;font-size:.95rem;font-weight:800;color:#1a3c58}
.animal-outcome-form__field > input,.animal-outcome-form__field > select,.animal-outcome-form__field > textarea {max-width:100%;width:100%;box-sizing:border-box;border:1px solid #9ba9b4;background:#fff;color:#192f43;border-radius:8px;padding:10px}
.animal-outcome-form__field > div label {display:block;margin:6px 0;font-weight:600}
.animal-outcome-form .errorlist {color:#942c34;font-weight:700}
.animal-outcome-editor button,.animal-outcome-editor .primary-button {cursor:pointer;min-height:42px}
.animal-outcome-editor :is(input,select,textarea,button,a):focus-visible {outline:3px solid #176aa0;outline-offset:3px}


/* OWNER OVERRIDE 2026-10-19: NO decorative plates anywhere.
   Blue is text or filigree only; keep native inputs accessible. */
html body.page-home .home-message,
html body.page-adopt .royal-directory-heading,
html body.page-memorial .royal-directory-heading {
  background:#f4e3b5 !important; background-image:none !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
}
html body.page-home .home-message__inner,
html body.page-adopt .royal-directory-heading > *,
html body.page-memorial .royal-directory-heading > * {
  background:transparent !important; background-image:none !important;
  border:0 !important; box-shadow:none !important;
}
html body.page-home .home-message__inner {
  padding:12px 16px !important; min-height:0 !important;
  border-radius:0 !important;
}
html body.page-adopt .royal-directory-heading,
html body.page-memorial .royal-directory-heading {
  width:100% !important; margin:0 auto !important;
  padding:clamp(16px,2.5vw,28px) max(16px,calc((100vw - 1050px)/2)) !important;
}
html body.page-home .home-message__sparkles {display:none !important}
html body.page-home .home-message__inner::before,
html body.page-adopt .royal-directory-heading::before {content:none !important}
html body.page-adopt .royal-directory-heading .page-heading__actions a,
html body.page-home .home-message__action {
  background:transparent !important; background-image:none !important;
  border:1px solid #aa8344 !important; box-shadow:none !important;
  color:#183954 !important;
}
html body.page-animal-detail .animal-profile-hero,
html body.page-animal-detail .animal-profile-card,
html body.page-animal-detail .animal-profile-tabs,
html body.page-animal-detail .profile-next-step,
html body.page-animal-detail .animal-profile-tab-panel,
html body.page-animal-detail .animal-profile--workspace,
html body.page-animal-detail .animal-profile-operations-grid > *,
html body.page-animal-detail .animal-profile-overview-grid > * {
  background:transparent !important; background-image:none !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
}
html body.page-animal-detail {background:#fff9ed !important}
html body.page-animal-detail .animal-profile-hero {
  padding:clamp(12px,2vw,24px) 0 !important;
  border-bottom:2px solid #c1a15e !important;
  grid-template-columns:minmax(220px,.48fr) minmax(0,1fr) !important;
}
html body.page-animal-detail .animal-profile-card {
  padding:16px 0 !important; margin:0 !important;
  border-bottom:1px solid #d9c394 !important;
}
html body.page-animal-detail .profile-main-image--hero {
  border:3px solid #bd9857 !important; border-radius:6px !important;
  box-shadow:none !important;
}
/* Tab bar remains until the replacement patient-record menu is deployed. */
html body.page-animal-detail .animal-profile-staff-link {
  color:#123e5c !important;background:transparent !important;
  border:1px solid #b38b48 !important;border-radius:4px !important;
}
html body.page-animal-detail .animal-profile-staff-link:hover {background:transparent !important;color:#0c304b !important}
html body.page-animal-detail .animal-profile-status {
  background:transparent !important;color:#224564 !important;border:0 !important
}
html body.page-animal-detail .animal-profile--workspace .primary-button,
html body.page-animal-detail .animal-profile--workspace .secondary-button {
  background:transparent !important; background-image:none !important;
  box-shadow:none !important; color:#183954 !important;
  border:1px solid #b38b48 !important;
}
.animal-record-topline {
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  margin-bottom:14px;position:relative;
}
.animal-record-topline .back-link{margin:0}
.animal-record-menu {position:relative;z-index:20;max-width:100%}
.animal-record-menu > summary {
  display:inline-flex;align-items:center;gap:8px;min-height:42px;
  padding:8px 15px;cursor:pointer;list-style:none;
  color:#193f60;background:transparent;border:1px solid #aa8649;
  border-radius:4px;font-weight:750;
}
.animal-record-menu > summary::-webkit-details-marker{display:none}
.animal-record-menu > summary::after {content:"⌄";font-size:1.1rem}
.animal-record-menu[open] > summary::after{content:"⌃"}
.animal-record-menu__items {
  position:absolute;right:0;top:calc(100% + 5px);
  width:min(320px,85vw);max-height:65vh;overflow:auto;
  padding:6px;background:#fff8e8;
  border:1px solid #b38b48;box-shadow:0 9px 24px #231a081c;
  display:grid;gap:0;
}
.animal-record-menu__items a {
  display:block;padding:11px 12px;min-height:40px;
  text-decoration:none;color:#173a56;font-weight:650;
}
.animal-record-menu__items a:hover,
.animal-record-menu__items a[aria-current="page"]{text-decoration:underline}
.animal-record-menu__items a:focus-visible,.animal-record-menu summary:focus-visible {
  outline:3px solid #236b9a;outline-offset:3px
}
.animal-record-menu--center {display:table;margin:18px auto 22px}
.animal-record-menu--center > summary {min-width:200px;justify-content:center}
.animal-record-menu--center .animal-record-menu__items{left:50%;right:auto;transform:translateX(-50%)}
.animal-patient-heading {
  text-align:center;font:700 clamp(1rem,2.3vw,1.4rem) Georgia,serif;
  color:#193a55;margin:12px 0 0;
}
.animal-patient-context {text-align:center;color:#365165;margin:2px 0 12px}
.animal-profile-tab-panel {max-width:1120px;margin:0 auto;padding:0 0 44px}
.animal-record-editor-tools{margin:16px 0 24px;display:flex;flex-wrap:wrap;gap:8px}
.animal-record-editor-tools a {color:#173b57;text-decoration:underline;text-underline-offset:3px}
body.page-animal-edit .staff-animal-edit-hero,
body.page-animal-edit .animal-profile-card {
  background:transparent !important; border:0 !important;
  border-bottom:1px solid #d3b980 !important; box-shadow:none !important;
}
body.page-animal-edit {background:#fff9ed}
body.page-animal-edit .staff-animal-edit-page .staff-animal-edit-hero{padding:14px 0}
@media (max-width:720px) {
 html body.page-animal-detail .animal-profile-hero{grid-template-columns:1fr !important}
 .animal-record-menu__items{right:0}
 .animal-record-topline{align-items:center}
 html body.page-home .home-message__inner{padding:10px 14px !important}
}
@media(prefers-reduced-motion:reduce){.animal-record-menu *{animation:none !important;transition:none !important}}

/* Remove remaining blue sub-cards, status pills, compatibility blocks. */
html body.page-animal-detail .animal-facts > div,
html body.page-animal-detail .animal-facts--expanded > div,
html body.page-animal-detail .compatibility-list > div,
html body.page-animal-detail .profile-next-step,
html body.page-animal-detail .profile-information,
html body.page-animal-detail .animal-profile-media-item,
html body.page-animal-detail .animal-profile-document-grid > article,
html body.page-animal-detail .animal-profile-access,
html body.page-animal-detail .animal-profile-status,
html body.page-animal-detail .animal-profile-private-note,
html body.page-animal-detail .animal-profile-record-list > article,
html body.page-animal-detail .animal-application-card,
html body.page-animal-detail .animal-profile-tool-links > * {
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html body.page-animal-detail .animal-facts > div,
html body.page-animal-detail .animal-facts--expanded > div,
html body.page-animal-detail .compatibility-list > div {
  border:0 !important;
  border-bottom:1px solid #d3bb87 !important;
  border-radius:0 !important;
  padding:9px 0 !important;
}
html body.page-animal-detail .animal-profile-access,
html body.page-animal-detail .animal-profile-status {
  border:0 !important;border-radius:0 !important;
  padding:0 !important;color:#193f59 !important;
}
html body.page-animal-detail .animal-profile-tab-panel {
  gap:20px !important;
}
html body.page-animal-detail .animal-profile-hero__media .profile-main-image--hero {
  max-height:390px !important;aspect-ratio:4/3 !important
}
html body.page-animal-detail .animal-profile-hero__content h1 {
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(1.8rem,4vw,3.5rem) !important;
  color:#5b4017 !important;
}
body.page-animal-edit .staff-animal-edit-actions button,
body.page-animal-edit .staff-animal-edit-actions a {
  background:transparent !important;
  color:#173d59 !important;
  border:1px solid #b28d4b !important;
  box-shadow:none !important;
}
body.page-animal-edit .animal-profile--workspace {
  max-width:1100px !important;
}
body.page-animal-edit .staff-animal-edit-page .animal-profile-card {
  padding:16px 0 !important;
}
body.page-animal-edit #assign-foster,
body.page-animal-edit #upload-paperwork {
  margin:18px 0 !important;
}
body.page-animal-edit :is(input,select,textarea,button,a):focus-visible {
  outline:3px solid #196294;outline-offset:3px
}

body.page-animal-edit .animal-patient-minihero{
  display:flex;align-items:center;justify-content:center;gap:22px;
  padding:14px 0 17px;border-bottom:2px solid #bea066;
  color:#234055;text-align:left;
}
body.page-animal-edit .animal-patient-minihero h1 {
  margin:2px 0 5px;font:700 clamp(1.65rem,3.5vw,2.6rem)/1.14 Georgia,serif;
  color:#573d16;
}
body.page-animal-edit .animal-patient-minihero p {margin:3px 0}
body.page-animal-edit .animal-patient-minihero__photo {
  width:115px;height:115px;object-fit:cover;
  border:3px solid #bf995a;box-shadow:none;border-radius:3px;
}
body.page-animal-edit .animal-record-menu--center {
  margin:12px auto 26px;position:relative;z-index:22
}
body.page-animal-edit .animal-record-editor-tools{
  justify-content:center;border:0;background:transparent;
  padding:8px 0 14px
}
body.page-animal-edit .animal-record-menu__items {
  background:#fff8e8
}
body.page-animal-edit .animal-record-menu > summary{
  background:transparent !important;box-shadow:none !important
}
@media(max-width:600px){
 body.page-animal-edit .animal-patient-minihero{gap:12px;align-items:flex-start}
 body.page-animal-edit .animal-patient-minihero__photo{width:76px;height:76px}
}

/* Final plate sweep: media labels, sibling links and thumbnails. */
html body.page-animal-detail .animal-profile-hero__media-summary span,
html body.page-animal-detail .animal-profile-sibling-links a,
html body.page-animal-detail .animal-profile-media-item--photo > span,
html body.page-animal-detail .profile-thumbnail {
  background:transparent !important;background-image:none !important;
  box-shadow:none !important;border:0 !important;
  color:#183a54 !important;
}
html body.page-animal-detail .profile-photo-placeholder,
html body.page-animal-detail .profile-main-image {
  background:#f1e3bd !important;background-image:none !important;
}
html body.page-animal-detail .animal-profile-sibling-links a {
  border-bottom:1px solid #bd9b60 !important;border-radius:0 !important;
}

/* 2026-10-20 — Patient portrait fidelity. Admin crop editor is square and
   centers the image absolutely before applying the saved offset/zoom/rotation.
   Preserve those exact coordinates on the public animal profile. */
html body.page-animal-detail .animal-profile-hero__media .profile-main-image--hero {
  position:relative !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  height:auto !important;
  max-height:none !important;
  overflow:hidden !important;
  background:#f2e2ba !important;
}
html body.page-animal-detail .animal-profile-hero__media .profile-main-image--hero > img.jm-animal-photo-cropped {
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center !important;
  transform:
    translate(calc(-50% + var(--animal-photo-x, 0%)),
              calc(-50% + var(--animal-photo-y, 0%)))
    rotate(var(--animal-photo-rotation, 0deg))
    scale(var(--animal-photo-zoom, 1)) !important;
  transform-origin:center center !important;
}
html body.page-animal-detail .animal-profile-hero__media .profile-main-image--hero:focus-visible {
  outline:3px solid #1a567b;
  outline-offset:4px;
}
/* Consistent palace garden surfaces for site-wide public page families.
   No blue background plates, decorative tiles or backdrop panels. */
html body:has(main .service-landing),
html body:has(main .page-heading),
html body:has(main .events-page),
html body:has(main .impact-page),
html body:has(main .account-page),
html body:has(main .donation-page),
html body:has(main .portal-page) {
  background:#fff9ed !important;
  background-image:none !important;
}
html body main :is(.service-landing__hero,.service-feature-grid > article,
  .rehome-important-note,.navigation-destination,.page-heading,
  .events-page__panel,.events-page__hero,.impact-hero,
  .account-page > .account-card,.portal-hero,
  .litter-card,.litter-card__heading,.service-feature-grid,
  .service-landing__actions) {
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
html body main :is(.service-landing__hero,.navigation-destination,
  .page-heading,.events-page__panel,.impact-hero,.portal-hero) {
  border:0 !important;
  padding-top:clamp(18px,3vw,36px) !important;
  padding-bottom:clamp(12px,2vw,26px) !important;
}
html body main :is(.service-landing__hero,.navigation-destination,
  .page-heading,.events-page__panel,.impact-hero,.portal-hero) h1 {
  font-family:Georgia,"Times New Roman",serif !important;
  color:#573b13 !important;
  text-wrap:balance;
  line-height:1.19 !important;
}
html body main :is(.service-landing__hero,.navigation-destination,
  .page-heading,.events-page__panel,.impact-hero,.portal-hero) p {
  color:#293f51 !important;
}
html body main :is(.service-feature-grid > article,.rehome-important-note,.litter-card) {
  border:0 !important;
  border-bottom:1px solid #d6ba84 !important;
  padding:16px 0 !important;
}
html body main :is(.service-landing__actions,.navigation-destination__actions,
  .page-heading__actions) :is(a,button) {
  background:transparent !important;
  background-image:none !important;
  border:1px solid #ad8b4e !important;
  border-radius:3px !important;
  box-shadow:none !important;
  color:#193d56 !important;
}
html body main :is(.service-landing__actions,.navigation-destination__actions,
  .page-heading__actions) :is(a,button):focus-visible {
  outline:3px solid #1c668a !important;
  outline-offset:3px;
}

/* The footer is not a blue plate: all public content continues on warm gold.
   Blue exists only on lettering and tiny ornamental elements. */
html body .site-directory-footer {
  background:#e9d8b2 !important;
  background-image:none !important;
  color:#263d4d !important;
  border-top:3px solid #ac8745 !important;
  box-shadow:none !important;
}
html body .site-directory-footer :is(.site-directory-footer__group,
  .site-directory-footer__navigation,.site-directory-footer__introduction) {
  background:transparent !important;
  box-shadow:none !important;
}
html body .site-directory-footer__name,
html body .site-directory-footer__group h2 {
  color:#604117 !important;
}
html body .site-directory-footer__mission,
html body .site-directory-footer__bottom p {
  color:#294151 !important;
}
html body .site-directory-footer__group a,
html body .site-directory-footer__bottom a {
  color:#153e5d !important;
  text-decoration:underline !important;
  text-underline-offset:3px;
}
html body .site-directory-footer__group a:hover,
html body .site-directory-footer__bottom a:hover {
  color:#684416 !important;
}
html body .site-directory-footer__group a:focus-visible,
html body .site-directory-footer__bottom a:focus-visible {
  outline:3px solid #24678d !important;
  outline-offset:3px;
}
html body .site-directory-footer__group h2 {
  border-bottom-color:#b58e4b !important;
}
html body .site-directory-footer__bottom {
  border-top:1px solid #b58e4b !important;
}
@media(min-width:1100px) {
  html body .site-directory-footer__navigation {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:2rem !important;
  }
}
@media(min-width:700px) and (max-width:1099px) {
  html body .site-directory-footer__navigation {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:699px) {
  html body .site-directory-footer__navigation {
    grid-template-columns:1fr !important;
  }
}
