/* V360: Use only the logo image uploaded in Admin > Website Settings. Never show the text D'S as a logo fallback. */
.ds-home .ds-brand .ds-admin-uploaded-logo {
  display: block;
  flex: 0 0 42px;
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
}
@media (max-width: 680px) {
  .ds-home .ds-brand .ds-admin-uploaded-logo {
    flex-basis: 42px !important;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
  }
}

/* V361: restrained professional mobile header and clear primary actions */
@media (max-width: 680px) {
  .ds-home .ds-nav-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "brand actions" "links links" !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    padding: 12px 14px !important;
    min-width: 0 !important;
  }
  .ds-home .ds-brand {
    grid-area: brand !important;
    min-width: 0 !important;
    width: auto !important;
    gap: 0 !important;
  }
  .ds-home .ds-brand > img,
  .ds-home .ds-brand .ds-brand-mark { display: none !important; }
  .ds-home .ds-brand > div { min-width: 0 !important; width: 100% !important; }
  .ds-home .ds-brand strong {
    display: block !important;
    font-size: clamp(13px, 3.55vw, 16px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.35px !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  .ds-home .ds-brand small { display: none !important; }
  .ds-home .ds-nav-actions {
    grid-area: actions !important;
    display: flex !important;
    width: auto !important;
    min-width: max-content !important;
    gap: 0 !important;
    margin: 0 !important;
    justify-content: flex-end !important;
  }
  .ds-home .ds-nav-actions .ds-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 88px !important;
    min-height: 38px !important;
    padding: 9px 11px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }
  .ds-home .ds-mobile-menu {
    grid-area: links !important;
    display: inline-flex !important;
    justify-self: end !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 34px !important;
    min-width: 38px !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    border-radius: 9px !important;
  }
  .ds-home .ds-nav-links { display: none !important; }
  .ds-home .ds-nav-inner { border-bottom: 1px solid rgba(255,255,255,.1) !important; }
}
@media (min-width: 681px) {
  .ds-home .ds-nav-actions .ds-nav-btn.ds-inquire,
  .ds-home .ds-nav-actions .ds-nav-btn.ds-enroll { display: none !important; }
}
