/* 1Brand top only. Shared cover and columns geometry comes from WordPress core. */
body.shiftwith-brand-page {
  margin: 0;
  background: #fff;
}

.shiftwith-brand {
  --sw-brand-navy: #132c3d;
  --sw-brand-gutter: clamp(22px, 5vw, 80px);
  --sw-brand-content: 1120px;
  --sw-brand-card-row: 1360px;
  --sw-hero-halo-radius: 1.5px;
  --sw-hero-halo-color: rgb(255 255 255 / 24%);
  margin: 0;
  color: #172e40;
  font-family: "Noto Sans CJK JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.8;
}
.shiftwith-brand *, .shiftwith-brand *::before, .shiftwith-brand *::after {
  box-sizing: border-box;
}
.shiftwith-brand :is(h1, h2, p) {
  margin: 0;
  overflow-wrap: anywhere;
}
.shiftwith-brand :is(h1, h2) {
  letter-spacing: -.035em;
}
.shiftwith-brand a {
  color: inherit;
  text-underline-offset: 4px;
}
.shiftwith-brand a:focus-visible {
  outline: 3px solid #c07a2d;
  outline-offset: 4px;
}
.shiftwith-brand img {
  max-width: 100%;
}
.shiftwith-brand :is(.shiftwith-brand-header, .shiftwith-brand-hero, .shiftwith-brand-footer) {
  padding-inline: var(--sw-brand-gutter);
}
.shiftwith-brand-header {
  padding-block: 10px 0;
  background: #fff;
}
.shiftwith-brand-header .shiftwith-brand-content {
  max-width: var(--sw-brand-content);
  margin-inline: auto;
}
.shiftwith-brand-logo {
  margin: 0;
}
.shiftwith-brand-logo a {
  display: inline-block;
}
.shiftwith-brand-logo img {
  display: block;
  width: 176px;
  height: auto;
  object-fit: contain;
}

.shiftwith-brand-hero {
  padding-block: 28px;
  color: #fff;
  background: var(--sw-brand-navy);
}
.shiftwith-brand-hero h1 {
  max-width: var(--sw-brand-content);
  margin-inline: auto;
  text-align: center;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 650;
  line-height: 1.3;
}
.shiftwith-brand-hero :is(h1, h2) {
  text-shadow: 0 0 var(--sw-hero-halo-radius) var(--sw-hero-halo-color);
}
.shiftwith-brand .shiftwith-brand-cards {
  max-width: var(--sw-brand-content);
  margin: 24px auto 0;
  gap: 32px;
}
.shiftwith-brand .shiftwith-brand-card {
  min-height: 300px;
  padding: 24px;
}
.shiftwith-brand .shiftwith-brand-card.wp-block-cover > .wp-block-cover__background.has-background-dim {
  background: var(--sw-brand-navy);
  opacity: .44;
}
.shiftwith-brand .shiftwith-brand-card :is(h2, p) {
  text-shadow: 0 1px 4px rgb(0 0 0 / 85%);
}
.shiftwith-brand-card--local .wp-block-cover__image-background {
  object-position: 50% 63%;
}
.shiftwith-brand-card--industry .wp-block-cover__image-background {
  object-position: 60% 50%;
}
.shiftwith-brand-card h2 {
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 650;
  line-height: 1.35;
}
.shiftwith-brand .shiftwith-brand-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
}
.shiftwith-brand-card-action {
  margin-top: 20px;
  display: flex;
}
.shiftwith-brand-card-action .wp-block-button__link {
  max-width: 100%;
  padding: 16px 20px;
  border-radius: 4px;
  color: var(--sw-brand-navy);
  background: #9fffc8;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.shiftwith-brand-card-action .wp-block-button__link:is(:hover, :focus-visible) {
  background: #82edb2;
}

.shiftwith-brand-footer {
  padding-block: 5px 16px;
  background: #fff;
}
.shiftwith-brand-footer .shiftwith-brand-content {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  max-width: var(--sw-brand-content);
  margin-inline: auto;
  font-size: 14px;
}

@media (min-width: 782px) {
  .shiftwith-brand-header .shiftwith-brand-content {
    max-width: var(--sw-brand-card-row);
  }
  .shiftwith-brand-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
  }
  body.admin-bar .shiftwith-brand-layout {
    min-height: calc(100vh - 32px);
    min-height: calc(100svh - 32px);
  }
  .shiftwith-brand-hero {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(40px, 5vh, 72px);
  }
  .shiftwith-brand-hero > .shiftwith-brand-content {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
  }
  .shiftwith-brand .shiftwith-brand-cards {
    width: 100%;
    max-width: var(--sw-brand-card-row);
  }
  .shiftwith-brand .shiftwith-brand-card {
    min-height: clamp(380px, 56vh, 740px);
  }
  .shiftwith-brand-footer .shiftwith-brand-content {
    max-width: none;
  }
}

@media (max-width: 781px) {
  .shiftwith-brand .shiftwith-brand-card {
    padding-bottom: 12px;
  }
}
