/**
 * Urban Jungle LLC visual presentation, 1.2.2.
 * Layout and imagery only. Does not change copy, links, or behavior.
 * Reference family: the owned Urban Jungle Lending site (navy header, sky action, full-bleed photography, open type).
 * Gold is limited to the existing divider rules, drawn as a short hairline.
 */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/source-sans-3-500.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-700.woff2") format("woff2");
}

body.ujl-native-header {
  background: #f3f5f7;
  color: #1c1c1c;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

body.ujl-native-header .fl-page-content,
body.ujl-native-header .fl-post,
body.ujl-native-header .fl-post-content {
  background: transparent;
}

body.ujl-native-header .fl-content-full.container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
body.ujl-native-header .fl-content-full.container > .row {
  margin-left: 0;
  margin-right: 0;
}
body.ujl-native-header .fl-content.col-md-12 {
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Header: lending arrangement, without the gold accent bar or gold tick. */
body.ujl-native-header .ujl-site-header {
  background: #2d3a4b;
  border-bottom: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
body.ujl-native-header .ujl-site-header__accent {
  display: none;
}
body.ujl-native-header .ujl-site-header__inner {
  padding: 14px 28px 8px;
  gap: 18px;
}
body.ujl-native-header .ujl-site-header__logo .ujl-wordmark__name {
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
body.ujl-native-header .ujl-site-header__phone {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
body.ujl-native-header .ujl-site-header__apply-wrap {
  padding-left: 0;
}
body.ujl-native-header .ujl-site-header__apply-wrap::before {
  display: none;
}
body.ujl-native-header .ujl-site-header__apply {
  min-width: 112px;
  padding: 10px 16px;
  border-radius: 2px;
  background: #50a9d3;
}
body.ujl-native-header .ujl-site-header__license {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.01em;
  padding-bottom: 12px;
  color: #82bf96;
}

/* Brand photograph: navy field around a light matte.
   The GIF is transparent behind its black lettering, so that matte must stay light. */
body.ujl-native-header .ujllc-hero {
  margin: 0;
  padding: 36px 24px 48px;
  max-width: none;
  background-color: #243140;
  background-image: none;
}
body.ujl-native-header .ujllc-hero img {
  width: min(960px, 100%);
  height: auto;
  margin: 0 auto;
  background-color: #ffffff;
  background-image: none;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

body.ujl-native-header .ujllc-page {
  padding: 0 0 20px;
}
body.ujl-native-header .ujllc-page > :not(.ujllc-hero):not(.ujllc-services):not(hr) {
  width: min(740px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
body.ujl-native-header .ujllc-page h1 {
  margin: 42px auto 10px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #2d3a4b;
}
body.ujl-native-header .ujllc-lead {
  margin: 0 auto 14px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  color: #3c4c5f;
}
body.ujl-native-header .ujllc-page p,
body.ujl-native-header .ujllc-page li {
  font-size: 17px;
  line-height: 1.75;
  color: #24303a;
}
body.ujl-native-header .ujllc-page h2 {
  margin: 1.6rem auto 0.45rem;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #2d3a4b;
}
body.ujl-native-header .ujllc-page ul {
  margin: 0.4rem auto 1.2rem;
  padding-left: 1.15rem;
}
body.ujl-native-header .ujllc-page li {
  margin: 0 0 0.45rem;
}
body.ujl-native-header .ujllc-page a {
  color: #2d3a4b;
}
body.ujl-native-header .ujllc-page a:hover,
body.ujl-native-header .ujllc-page a:focus {
  color: #e25599;
}

/* Gold only as a short divider. The column-width rule above must not apply to hr. */
body.ujl-native-header .ujllc-page hr.ujllc-gold-divider {
  display: block;
  width: 48px;
  max-width: 48px;
  min-width: 0;
  border: 0;
  border-top: 1px solid #eaaa00;
  border-bottom: 0;
  height: 0;
  margin: 1.6rem auto;
  padding: 0;
  background: transparent;
  opacity: 0.85;
  box-shadow: none;
}

/* Service links: alternating photo bands, not boxed cards. */
body.ujl-native-header .ujllc-services {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 18px 0 10px;
}
body.ujl-native-header .ujllc-service {
  display: grid;
  grid-template-columns: minmax(260px, 46%) 1fr;
  min-height: 260px;
  background: #ffffff;
  border: 0;
  border-top: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  color: #2d3a4b !important;
  text-decoration: none !important;
}
body.ujl-native-header .ujllc-service::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 220px;
  background: var(--ujllc-photo) center / cover no-repeat;
  transform: scale(1.001);
  transition: transform 0.55s ease;
}
body.ujl-native-header .ujllc-service:nth-child(1) { --ujllc-photo: url("../images/decor/management-hall.jpg"); }
body.ujl-native-header .ujllc-service:nth-child(2) { --ujllc-photo: url("../images/decor/operations-plans.jpg"); }
body.ujl-native-header .ujllc-service:nth-child(3) { --ujllc-photo: url("../images/decor/construction-house.jpg"); }
body.ujl-native-header .ujllc-service:nth-child(4) { --ujllc-photo: url("../images/decor/consulting-room.jpg"); }
body.ujl-native-header .ujllc-service h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  padding: 40px 48px 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #2d3a4b;
}
body.ujl-native-header .ujllc-service p {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
  padding: 8px 48px 40px;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.7;
  color: #2c3844;
}
body.ujl-native-header .ujllc-service:nth-child(even) {
  grid-template-columns: 1fr minmax(260px, 46%);
}
body.ujl-native-header .ujllc-service:nth-child(even)::before {
  grid-column: 2;
  grid-row: 1 / span 2;
}
body.ujl-native-header .ujllc-service:nth-child(even) h3,
body.ujl-native-header .ujllc-service:nth-child(even) p {
  grid-column: 1;
}
body.ujl-native-header .ujllc-service:hover::before,
body.ujl-native-header .ujllc-service:focus-within::before {
  transform: scale(1.045);
}
body.ujl-native-header .ujllc-service:hover h3,
body.ujl-native-header .ujllc-service:focus h3,
body.ujl-native-header .ujllc-service:focus-visible h3 {
  color: #e25599;
}

body.ujl-native-header .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 4px;
}
body.ujl-native-header .wp-block-button__link {
  padding: 12px 18px;
  border-radius: 2px;
  font-weight: 600;
  background: #50a9d3;
  border-color: #50a9d3;
}
body.ujl-native-header .wp-block-button__link:hover,
body.ujl-native-header .wp-block-button__link:focus {
  background: #2d3a4b;
  border-color: #2d3a4b;
  color: #ffffff !important;
}

/* Same phone number, set larger in the closing line and on Contact. */
body.ujl-native-header .ujllc-page > p a[href^="tel:"] {
  font-size: 20px;
  font-weight: 600;
  color: #2d3a4b;
  letter-spacing: 0.01em;
  text-decoration: none;
}
body.ujllc-slug-contact .ujllc-page p.ujllc-contact-list a[href^="tel:"] {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: #2d3a4b;
  text-decoration: none;
}
body.ujllc-slug-contact .ujllc-page p.ujllc-contact-list a[href^="mailto:"] {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

body.ujl-native-header .ujllc-inpage {
  gap: 10px 18px;
  margin-bottom: 8px;
}
body.ujl-native-header .ujllc-inpage a {
  color: #2d3a4b;
  border-bottom: 2px solid #50a9d3;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
body.ujl-native-header .ujllc-inpage a:hover,
body.ujl-native-header .ujllc-inpage a:focus {
  color: #e25599;
  border-bottom-color: #e25599;
}

/* Interior photography bands. Home keeps the original elephant artwork instead. */
body.ujllc-slug-about .fl-page-content::before,
body.ujllc-slug-contact .fl-page-content::before,
body.ujllc-slug-management-consulting .fl-page-content::before,
body.ujllc-slug-construction .fl-page-content::before {
  content: "";
  display: block;
  height: 380px;
  background-color: #2d3a4b;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
body.ujllc-slug-about .fl-page-content::before {
  background-image: url("../images/decor/about-towers.jpg");
  background-position: center 42%;
}
body.ujllc-slug-contact .fl-page-content::before {
  background-image: url("../images/decor/contact-hall.jpg");
  background-position: center 55%;
}
body.ujllc-slug-management-consulting .fl-page-content::before {
  background-image: url("../images/decor/consulting-room.jpg");
  background-position: center 62%;
}
body.ujllc-slug-construction .fl-page-content::before {
  background-image: url("../images/decor/construction-house.jpg");
  background-position: center 68%;
}

body.ujl-native-header .ujl-site-footer {
  background: #ffffff;
  padding: 48px 0 16px;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
body.ujl-native-header .ujl-site-footer__logo .ujl-wordmark__name {
  font-size: 20px;
  letter-spacing: 0.08em;
}
body.ujl-native-header .ujl-footer-wrap {
  background: #ffffff;
  border-top: 0;
}

@media (max-width: 800px) {
  body.ujl-native-header .ujllc-service,
  body.ujl-native-header .ujllc-service:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  body.ujl-native-header .ujllc-service::before,
  body.ujl-native-header .ujllc-service:nth-child(even)::before {
    grid-column: 1;
    grid-row: 1;
    min-height: 200px;
  }
  body.ujl-native-header .ujllc-service h3,
  body.ujl-native-header .ujllc-service:nth-child(even) h3 {
    grid-column: 1;
    grid-row: 2;
    padding: 18px 22px 0;
    font-size: 24px;
  }
  body.ujl-native-header .ujllc-service p,
  body.ujl-native-header .ujllc-service:nth-child(even) p {
    grid-column: 1;
    grid-row: 3;
    padding: 6px 22px 22px;
  }
  body.ujllc-slug-about .fl-page-content::before,
  body.ujllc-slug-contact .fl-page-content::before,
  body.ujllc-slug-management-consulting .fl-page-content::before,
  body.ujllc-slug-construction .fl-page-content::before {
    height: 210px;
  }
  body.ujl-native-header .ujllc-hero {
    padding: 18px 12px 28px;
  }
  body.ujllc-slug-contact .ujllc-page p.ujllc-contact-list a[href^="tel:"] {
    font-size: 26px;
  }
}

/* Home call-to-action row only: equal 2×2 on narrow screens. Desktop stays a flex row. */
@media (max-width: 640px) {
  body.ujllc-slug-home .ujllc-page > .wp-block-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
  }
  body.ujllc-slug-home .ujllc-page > .wp-block-buttons > .wp-block-button {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  body.ujllc-slug-home .ujllc-page > .wp-block-buttons .wp-block-button__link {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 76px;
    margin: 0;
    padding: 12px 12px;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    overflow-wrap: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ujl-native-header .ujllc-service::before {
    transition: none;
  }
  body.ujl-native-header .ujllc-service:hover::before,
  body.ujl-native-header .ujllc-service:focus-within::before {
    transform: none;
  }
}
