/* Shared inner pages extend the existing Hub Modern Agency theme. */
.main-header > section:not(.lqd-stickybar-wrap) { background-color: #fff; }
.main-header a[aria-current="page"] { color: var(--lqd-color-primary); }
/* Keep the original horizontal header, logo and right-hand contact module. */
.main-header #primary-nav { flex-wrap: nowrap; }
.main-header #primary-nav > li > a { padding-inline: 8px; font-size: 13px; white-space: nowrap; }
@media (min-width: 1200px) {
  .main-header > section:first-child > .w-65percent { width: 76%; }
  .main-header > section:first-child > .w-35percent { width: 24%; }
  .main-header > section:first-child > .w-35percent > p { margin-right: 12px; }
  .main-header > section:first-child > .w-35percent strong { font-size: 12px; }
  .main-header > section:first-child > .w-35percent .button { font-size: 11px; padding-inline: 18px; }
  .main-header .module-logo { padding-right: 22px; }
}
.main-header .ld-module-dropdown { overflow-y: auto; max-height: 100vh; }
.umino-inner-page .page-titlebar { padding: 190px 25px 65px; background: #f2f7ee; }
.page-titlebar h1 { margin: 18px 0 22px; }
.page-lead { max-width: 740px; margin-inline: auto; }
.page-breadcrumb { font-size: 13px; margin-top: 25px; }
.page-breadcrumb span { margin-inline: 7px; }
.page-section { padding: 70px 25px; }
.page-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.page-two-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
.page-info-card { border: 1px solid #e2eadc; border-radius: 14px; padding: 32px; background: #f7faf4; min-width: 0; }
.page-info-card h3,.page-info-card h2 { margin: 18px 0; }
.page-info-card a { overflow-wrap: anywhere; }
.page-text-link { color: #24842a; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.page-feature { padding: 45px; background: #edf5e5; text-align: center; }
.page-feature p { max-width: 700px; margin: 0 auto 25px; }
.page-readable { max-width: 840px; }
.page-soft { background: #f7faf4; }
.page-faq { border-bottom: 1px solid #dce6d4; padding: 23px 0; }
.page-faq summary { color: var(--lqd-color-title); font-size: 19px; font-weight: 500; cursor: pointer; }
.page-faq p { padding-top: 15px; margin-bottom: 0; }
.page-notice { border-top: 1px solid #dce6d4; margin-top: 45px; padding-top: 32px; max-width: 800px; }
.page-empty { text-align: center; border: 1px solid #e2eadc; border-radius: 16px; padding: 65px 30px; background: #f9fbf7; }
.page-empty p { max-width: 610px; margin: 0 auto 25px; }
.page-empty-icon { display: block; color: #24842a; font-size: 45px; margin-bottom: 20px; }
[hidden] { display: none !important; }
.page-summary-link { padding: 0 25px 45px; text-align: center; }
.feed-card { border: 1px solid #e2eadc; border-radius: 12px; overflow: hidden; background: #fff; margin: 0; }
.feed-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.feed-card-content { padding: 25px; }
.feed-card h2 { font-size: 24px; margin: 0 0 15px; }
.feed-card time { display: block; font-size: 13px; margin-bottom: 12px; }
[data-blog-post] > img { width: 100%; border-radius: 12px; margin-bottom: 30px; }
a:focus-visible,summary:focus-visible { outline: 3px solid #24842a; outline-offset: 4px; }
@media(max-width:1199px) {
  .umino-inner-page .page-titlebar { padding-top: 160px; }
  .page-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px) {
  .umino-inner-page .page-titlebar { padding: 60px 20px 45px; }
  .page-titlebar h1 { font-size: 39px; }
  .page-section { padding: 45px 20px; }
  .page-card-grid { grid-template-columns: 1fr; }
  .page-info-card { padding: 26px; }
  .page-feature { padding: 30px 22px; }
  .page-empty { padding: 45px 22px; }
}
/* Keep the horizontal theme menu readable with Stories and Publications. */
.main-header #primary-nav > li > a { padding-inline: 5px; font-size: 12px; }
@media (min-width: 1200px) and (max-width: 1599px) {
  .main-header > section:first-child > .w-65percent { width: 86%; }
  .main-header > section:first-child > .w-35percent { width: 14%; }
  .main-header > section:first-child > .w-35percent > p { display: none; }
  .main-header .module-logo { padding-right: 10px; }
}
.team-portrait-pending { aspect-ratio: 4 / 5; display: grid; place-items: center; color: #53644f; }
.team-portrait-pending span { font-size: 64px; font-weight: 500; }
.clients p, .clients .ld-fh-element { color: #53644f; }
.umino-values { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; padding-left: 25px; text-align: left; }
.branch-filter { display: block; max-width: 420px; font-weight: 600; color: #173f2a; }
.branch-filter select { display: block; width: 100%; padding: 13px; margin: 10px 0 20px; border: 1px solid #b5c9ad; border-radius: 8px; background: white; color: #173f2a; }
.branch-info { scroll-margin-top: 140px; }
.branch-info address { font-style: normal; line-height: 1.7; }
.branch-contact-links { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.branch-contact-links a { color: #216e28; font-size: 14px; overflow-wrap: anywhere; }
.loan-amount { font-size: 28px; font-weight: 700; color: #173f2a !important; }
.team-profile-link { display: inline-flex; margin-top: 14px; color: #216e28; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.board-profile { display: grid; grid-template-columns: minmax(220px,340px) minmax(0,1fr); gap: 50px; margin-bottom: 35px; align-items: start; }
.board-profile-portrait { border-radius: 14px; overflow: hidden; background: #edf3e8; }
.board-profile-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; display: block; }
.board-profile-bio p { line-height: 1.8; }
@media(max-width:767px) { .board-profile { grid-template-columns: 1fr; gap: 25px; } .board-profile-portrait { max-width: 340px; } }


.umino-skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 100000;
  padding: 12px 18px;
  background: #173f2a;
  color: #fff;
  border-radius: 6px;
  transform: translateY(calc(-100% - 16px));
}
.umino-skip-link:focus { color: #fff; transform: none; }
#lqd-site-content, #existing-loan { scroll-margin-top: 130px; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #173f2a;
  outline-offset: 3px;
}
@media (max-width: 1199px) {
  .main-header .navbar-toggle, #mobile-primary-nav > li > a { min-height: 44px; }
  .main-header .navbar-toggle { min-width: 44px; }
  #mobile-primary-nav > li > a { display: flex; align-items: center; }
}
