/* Bannerline1 — self-contained so modern themes without legacy style.css still render */

#content-bannerline1.content-bannerline1 {
  position: relative;
  background: #ffc107;
  padding: 0;
  margin: 0;
}

#content-bannerline1 .content-bannerline1__row {
  display: flex;
  flex-wrap: wrap;
  min-height: 115px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  #content-bannerline1 .content-bannerline1__row {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  #content-bannerline1 .content-bannerline1__row {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  #content-bannerline1 .content-bannerline1__row {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  #content-bannerline1 .content-bannerline1__row {
    max-width: 1140px;
  }
}

/* Stacked (< lg): legacy-thick yellow left rail beside the dark band */
@media (max-width: 991.98px) {
  #content-bannerline1 .content-bannerline1__row {
    max-width: min(720px, calc(100% - 6rem));
  }
}

#content-bannerline1 .content-bannerline1__left {
  flex: 1 1 280px;
  background: #ffc107;
  padding: 1.5rem 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#content-bannerline1 .content-bannerline1__right {
  flex: 2 1 420px;
  background: #252525;
  padding: 1.25rem 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

#content-bannerline1 .content-bannerline1__right:after {
  content: "";
  position: absolute;
  background: #252525;
  display: block;
  width: 100%;
  height: 100%;
  right: -100%;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

#content-bannerline1 .content-bannerline1__right > * {
  position: relative;
  z-index: 1;
}

#content-bannerline1 .content-bannerline1__company {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2a2e;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#content-bannerline1 .content-bannerline1__var1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

#content-bannerline1 .content-bannerline1__var2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

#content-bannerline1 .content-bannerline1__var3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #fff;
}

#content-bannerline1 .content-bannerline1__edit {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2a2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  line-height: 1;
}

#content-bannerline1 .content-bannerline1__edit:hover,
#content-bannerline1 .content-bannerline1__edit:focus {
  background: #fff;
  color: #000;
}

#content-bannerline1 .content-bannerline1__editor {
  background: #fff;
  color: #1f2a2e;
  padding: 1rem 1.25rem 1.25rem;
  border: 1px solid rgba(31, 42, 46, 0.15);
}

#content-bannerline1 .content-bannerline1__editor-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
}

#content-bannerline1 .content-bannerline1__editor-lang {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: rgba(31, 42, 46, 0.7);
}

#content-bannerline1 .content-bannerline1__field {
  margin-bottom: 0.75rem;
}

#content-bannerline1 .content-bannerline1__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

#content-bannerline1 .content-bannerline1__field input,
#content-bannerline1 .content-bannerline1__field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(31, 42, 46, 0.25);
  border-radius: 0.35rem;
  padding: 0.45rem 0.6rem;
  font: inherit;
}

#content-bannerline1 .content-bannerline1__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

#content-bannerline1 .content-bannerline1__actions button,
#content-bannerline1 .content-bannerline1__actions a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 0.35rem;
  border: 0;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

#content-bannerline1 .content-bannerline1__save {
  background: #d4b46a;
  color: #1f2a2e;
  font-weight: 600;
}

#content-bannerline1 .content-bannerline1__cancel {
  background: rgba(31, 42, 46, 0.08);
  color: #1f2a2e;
}

@media (max-width: 767px) {
  #content-bannerline1 .content-bannerline1__left,
  #content-bannerline1 .content-bannerline1__right {
    flex: 1 1 100%;
    padding: 1.1rem 1rem;
  }

  #content-bannerline1 .content-bannerline1__var1 {
    font-size: 1.15rem;
  }
}
