/* Standalone brand promotions alongside the existing JiniCap entry. */
html body.sg-finish .sg-brand-banner {
  --sg-brand-accent: #ffe4b8;
  --sg-brand-ink: #562b24;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  width: calc(100% - 48px);
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 30px 36px;
  border: 1px solid #9c6354;
  border-radius: 24px;
  background: linear-gradient(115deg, #59352f, #884b3b);
  color: #fff;
  box-shadow: 0 12px 28px #3e24100d;
  scroll-margin-top: 100px;
}
html body.sg-finish .sg-brand-banner--olive {
  --sg-brand-accent: #edf2c2;
  --sg-brand-ink: #283c20;
  border-color: #637952;
  background: linear-gradient(115deg, #2c4330, #4e6534);
}

html body.sg-finish .sg-brand-banner--jiniteam {
  --sg-brand-accent: #e8dcff;
  --sg-brand-ink: #3b1f65;
  border-color: #80629e;
  background: linear-gradient(115deg, #42245f, #664495);
}
html body.sg-finish .sg-brand-banner--airport {
  --sg-brand-accent: #dbf4f2;
  --sg-brand-ink: #10464b;
  border-color: #428b90;
  background: linear-gradient(115deg, #10464b, #13737a);
}

html body.sg-finish .sg-brand-banner .sg-brand-banner-image {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0;
  border: 1px solid #ffffff38;
  border-radius: 20px;
  object-fit: cover;
  background: #f7f3e9;
}
.sg-brand-banner .sg-brand-banner-copy { min-width: 0; }
html body.sg-finish .sg-brand-banner .sg-brand-banner-kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--sg-brand-accent);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html body.sg-finish .sg-brand-banner .sg-brand-banner-title {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 2.4vw, 32px);
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -.025em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.sg-brand-banner .sg-brand-banner-title strong {
  color: var(--sg-brand-accent);
  font-weight: inherit;
  white-space: nowrap;
}
html body.sg-finish .sg-brand-banner .sg-brand-banner-description {
  margin: 10px 0 0;
  color: #fff7ed;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 450;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html body.sg-finish .sg-brand-banner--olive .sg-brand-banner-description { color: #f0f4e8; }
html body.sg-finish .sg-brand-banner .sg-brand-banner-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: #fff1df;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.sg-brand-banner .sg-brand-banner-note span {
  padding: 3px 8px;
  border: 1px solid #ffffff4d;
  border-radius: 6px;
  font-weight: 700;
}
html body.sg-finish .sg-brand-banner .sg-brand-banner-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 205px;
  min-height: 64px;
  padding: 15px 22px;
  border: 1px solid var(--sg-brand-accent);
  border-radius: 14px;
  background: var(--sg-brand-accent);
  color: var(--sg-brand-ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .18s ease, transform .18s ease;
}
.sg-brand-banner .sg-brand-banner-phone-copy { display: grid; gap: 2px; text-align: left; }
.sg-brand-banner .sg-brand-banner-phone-copy small { color: inherit; font-size: 14px; font-weight: 650; }
.sg-brand-banner .sg-brand-banner-phone-copy b { color: inherit; font-size: 23px; font-weight: 750; letter-spacing: .01em; }
.sg-brand-banner .sg-brand-banner-arrow { font-size: 25px; line-height: 1; }
.sg-brand-banner .sg-brand-banner-link:focus-visible { outline: 3px solid #fff !important; outline-offset: 4px; }
@media (hover: hover) {
  html body.sg-finish .sg-brand-banner .sg-brand-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px #15200f40;
  }
}
@media (min-width: 761px) and (max-width: 1050px) {
  html body.sg-finish .sg-brand-banner { grid-template-columns: 150px minmax(0, 1fr); }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-image { width: 150px; height: 150px; grid-row: 1 / 3; }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 760px) {
  html body.sg-finish .sg-brand-banner {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px 16px;
    width: calc(100% - 32px);
    margin-top: 20px;
    padding: 24px 22px;
    border-radius: 20px;
  }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-image {
    width: 96px;
    height: 110px;
    grid-column: 1;
    grid-row: 1 / 3;
    border-radius: 14px;
  }
  .sg-brand-banner .sg-brand-banner-copy { display: contents; }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-kicker { grid-column: 2; align-self: end; margin: 0; font-size: 14px; }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-title { grid-column: 2; align-self: start; font-size: 25px; line-height: 1.4; }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-description { grid-column: 1 / -1; margin: 8px 0 0; font-size: 17px; }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 15px; }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-link { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 58px; margin-top: 8px; }
  .sg-brand-banner .sg-brand-banner-phone-copy { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px; }
  .sg-brand-banner .sg-brand-banner-phone-copy small { font-size: 16px; }
  .sg-brand-banner .sg-brand-banner-phone-copy b { font-size: 21px; }
  .sg-brand-banner .sg-brand-banner-break { display: none; }
}
@media (max-width: 360px) {
  html body.sg-finish .sg-brand-banner { padding: 22px 18px; gap: 10px 12px; grid-template-columns: 84px minmax(0, 1fr); }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-image { width: 84px; height: 104px; }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html body.sg-finish .sg-brand-banner .sg-brand-banner-link { transition: none; }
  html body.sg-finish .sg-brand-banner .sg-brand-banner-link:hover { transform: none; }
}

@media (max-width: 360px) {
  html body.sg-finish .sg-brand-banner--airport { grid-template-columns: 72px minmax(0, 1fr); }
  html body.sg-finish .sg-brand-banner--airport .sg-brand-banner-image { width: 72px; }
  html body.sg-finish .sg-brand-banner--airport .sg-brand-banner-title { font-size: 22px; }
}

html body.sg-finish #eldest-son .sg-eldest-actions{grid-column:1/-1;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
html body.sg-finish #eldest-son .sg-eldest-actions .sg-brand-banner-link{min-width:0;min-height:44px;margin:0;padding:11px 16px;font-size:15px}
html body.sg-finish #eldest-son .sg-eldest-phone{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;color:#fff1df;text-decoration:none;font-size:13px;min-height:44px;padding:9px 0}
html body.sg-finish #eldest-son .sg-eldest-phone b{font-size:18px;letter-spacing:-.025em;font-weight:650}
@media(max-width:760px){html body.sg-finish #eldest-son .sg-eldest-actions{gap:6px}html body.sg-finish #eldest-son .sg-eldest-actions .sg-brand-banner-link{width:100%}html body.sg-finish #eldest-son .sg-eldest-phone{width:100%;justify-content:center}}
