.yhseo-brand-footer {
  background: #071a2d;
  color: #e8f0f7;
  font-size: 15px;
  line-height: 1.5;
}

.yhseo-brand-footer__inner {
  box-sizing: border-box;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 42px 24px 24px;
}

.yhseo-brand-footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.yhseo-brand-footer__masthead {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(280px, 1.25fr);
  gap: 28px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(232, 240, 247, .2);
}

.yhseo-brand-footer__brand {
  display: inline-block;
  color: #fff !important;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  text-decoration: none !important;
}

.yhseo-brand-footer__masthead p,
.yhseo-brand-footer__group p,
.yhseo-brand-footer__base p {
  margin: 7px 0 0;
}

.yhseo-brand-footer__publisher {
  max-width: 610px;
  color: #c8d6e3;
  font-size: 17px;
}

.yhseo-brand-footer__publisher strong {
  color: #fff;
}

.yhseo-brand-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr .9fr;
  gap: 30px;
  padding: 32px 0;
}

.yhseo-brand-footer__group h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: none;
}

.yhseo-brand-footer__group p {
  min-height: 44px;
  color: #9fb2c4;
  font-size: 12px;
  line-height: 1.45;
}

.yhseo-brand-footer__group ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.yhseo-brand-footer__group li {
  margin: 0;
  padding: 0;
}

.yhseo-brand-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 240, 247, .2);
  color: #9fb2c4;
  font-size: 12px;
}

.yhseo-brand-footer-mobile {
  display: none;
}

@media (max-width: 900px) {
  .yhseo-brand-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .yhseo-brand-footer__inner {
    padding: 0;
  }

  .yhseo-brand-footer__masthead,
  .yhseo-brand-footer__grid,
  .yhseo-brand-footer__base {
    display: none;
  }

  .yhseo-brand-footer-mobile {
    display: block;
    padding: 26px 18px 18px;
  }

  .yhseo-brand-footer-mobile__intro p,
  .yhseo-brand-footer-mobile__ownership,
  .yhseo-brand-footer-mobile__base p {
    margin: 0;
  }

  .yhseo-brand-footer-mobile__intro .yhseo-brand-footer__brand {
    font-size: 32px;
  }

  .yhseo-brand-footer-mobile__intro p {
    margin-top: 5px;
    color: #afc0cc;
    font-size: 13px;
  }

  .yhseo-brand-footer-mobile__primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 18px 0;
  }

  .yhseo-brand-footer-mobile__primary a {
    display: grid;
    place-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(232, 240, 247, .2);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .yhseo-brand-footer-mobile__groups {
    border-top: 1px solid rgba(232, 240, 247, .17);
  }

  .yhseo-brand-footer-mobile__group {
    border-bottom: 1px solid rgba(232, 240, 247, .17);
  }

  .yhseo-brand-footer-mobile__group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .yhseo-brand-footer-mobile__group summary::-webkit-details-marker {
    display: none;
  }

  .yhseo-brand-footer-mobile__group summary::after {
    color: #71dcc6;
    content: "+";
    font-size: 18px;
    font-weight: 500;
  }

  .yhseo-brand-footer-mobile__group[open] summary::after {
    content: "−";
  }

  .yhseo-brand-footer-mobile__group ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0 0 16px;
    list-style: none;
  }

  .yhseo-brand-footer-mobile__group li {
    margin: 0;
  }

  .yhseo-brand-footer-mobile__group a {
    color: #c9d7e0;
    font-size: 13px;
  }

  .yhseo-brand-footer-mobile__utility {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(232, 240, 247, .17);
  }

  .yhseo-brand-footer-mobile__ownership {
    color: #afc0cc;
    font-size: 11px;
    line-height: 1.45;
  }

  .yhseo-brand-footer-mobile__ownership strong {
    color: #fff;
  }

  .yhseo-brand-footer-mobile__utility > a {
    color: #71dcc6;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
  }

  .yhseo-brand-footer-mobile__base {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 15px;
    color: #8fa5b5;
    font-size: 10px;
  }
}
