/* Karim Academy V35 - administrator controlled public-header logo size */
.public-design .d-header .d-brand > img {
  display: block;
  flex: 0 0 auto;
  width: min(var(--kf-header-logo-desktop,80px), 24vw) !important;
  height: auto !important;
  max-height: var(--kf-header-logo-desktop,80px);
  max-width: 100%;
  object-fit: contain !important;
}
.public-design .d-header .d-header-inner {
  min-height: max(96px, calc(var(--kf-header-logo-desktop,80px) + 18px));
}
.kf-logo-sizing-editor {
  margin: 18px 0;
  padding: 18px;
  background: #faf8ff;
  border: 1px solid #ddd8f7;
  border-radius: 18px;
}
.kf-logo-sizing-editor h4 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #251b55;
}
.kf-logo-sizing-editor p {
  margin: 0 0 14px;
  line-height: 1.8;
  color: #68607b;
  font-size: 13px;
}
.kf-logo-sizing-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-block: 14px;
}
.kf-logo-sizing-row .field {
  flex: 1 1 220px;
  min-width: 0;
}
.kf-logo-sizing-row .field input[type=range] {
  accent-color: #6750dc;
  width: 100%;
  cursor: pointer;
}
.kf-logo-sizing-row output {
  direction: ltr;
  unicode-bidi: isolate;
  min-width: 65px;
  text-align: center;
  padding: 8px 12px;
  background: #ebe7ff;
  color: #3a2f81;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
}
@media(max-width: 760px) {
  .public-design .d-header .d-brand > img {
    width: min(var(--kf-header-logo-mobile,54px), 24vw) !important;
    max-height: var(--kf-header-logo-mobile,54px);
  }
  .public-design .d-header .d-header-inner {
    min-height: max(78px, calc(var(--kf-header-logo-mobile,54px) + 16px));
  }
}
