:root {
  --bobo-sidebanner-title-size: 36px;
  --bobo-sidebanner-ratio: 1707 / 311;
}

.bobo-sidebanner {
  width: 100%;
  height: auto;
  aspect-ratio: var(--bobo-sidebanner-ratio);
  box-sizing: border-box;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bobo-sidebanner .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bobo-sidebanner .container h1,
.bobo-sidebanner .container h2 {
  margin: 0 0 6px;
  font-size: var(--bobo-sidebanner-title-size);
}

.bobo-sidebanner .container .left {
  width: 100%;
  text-align: left;
}

.bobo-sidebanner .container .center {
  width: 100%;
  text-align: center;
}

.bobo-sidebanner .container .path p {
  margin: 0;
  color: var(--text-color);
}

@media screen and (max-width: 1500px) {
  :root {
    --bobo-sidebanner-title-size: 32px;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --bobo-sidebanner-title-size: 28px;
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --bobo-sidebanner-title-size: 26px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --bobo-sidebanner-title-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --bobo-sidebanner-title-size: 20px;
  }

  .bobo-sidebanner .container {
    padding: 0 15px;
    box-sizing: border-box;
  }

  .bobo-sidebanner .container h1,
  .bobo-sidebanner .container h2 {
    margin-bottom: 2px;
  }

  .bobo-sidebanner .container .path p {
    font-size: 12px;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --bobo-sidebanner-title-size: 16px;
  }

  .bobo-sidebanner .container .path p {
    font-size: 10px;
  }
}