/* THEME VARS */
.hb-top {
  --hb-top-bg: #111827;
  --hb-top-fg: #ffffff;
  --hb-top-border: rgba(255,255,255,.14);
  --hb-top-maxw: 0px;

  border-bottom: 1px solid var(--hb-top-border);
  background: var(--hb-top-bg);
  color: var(--hb-top-fg);
}

.hb-top--light {
  --hb-top-bg: #ffffff;
  --hb-top-fg: #111827;
  --hb-top-border: rgba(17,24,39,.10);
}

.hb-top--brand {
  /* brand default (ister Settings.Background ile override) */
  --hb-top-bg: #0d6efd;
  --hb-top-fg: #ffffff;
  --hb-top-border: rgba(255,255,255,.20);
}

.hb-top--sticky {
  position: sticky;
}

.hb-top__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  max-width: var(--hb-top-maxw);
  margin: 0 auto;
}

.hb-top__left{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}

.hb-top__badge{
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: inherit;
  white-space: nowrap;
}

.hb-top--light .hb-top__badge{
  background: rgba(13,110,253,.10);
  color: #0d6efd;
}

.hb-top__icon{
  font-size: 16px;
  margin-top: 2px;
  opacity:.9;
}

.hb-top__content{ min-width:0; }
.hb-top__title{
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  margin-bottom: 2px;
}
.hb-top__text{
  font-size: 13px;
  line-height: 1.25;
  opacity: .95;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb-top__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.hb-top__cta{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 700;
  font-size: 12px;
  color: inherit;
  background: rgba(255,255,255,.14);
}
.hb-top__cta:hover{ opacity:.95; }
.hb-top--light .hb-top__cta{
  background: rgba(13,110,253,.10);
  color: #0d6efd;
}

.hb-top__close{
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  padding: 6px 8px;
  border-radius: 10px;
  opacity: .85;
}
.hb-top__close:hover{
  background: rgba(255,255,255,.10);
  opacity: 1;
}
.hb-top--light .hb-top__close:hover{
  background: rgba(17,24,39,.06);
}

/* Spacer */
.hb-top-spacer{ width:100%; }

/* Animations */
.hb-top--anim{
  animation: hbTopIn .22s ease-out both;
}
@keyframes hbTopIn{
  from { transform: translateY(-8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Mobile compact */
@media (max-width: 576px){
  .hb-top--compact .hb-top__inner{
    padding: 8px 10px;
  }
  .hb-top--compact .hb-top__badge{ display:none; }
  .hb-top--compact .hb-top__title{ display:none; }
  .hb-top--compact .hb-top__text{
    white-space: nowrap;
  }
  .hb-top--compact .hb-top__cta{
    padding: 6px 8px;
  }
}

/* THEME VARS */
.hb-top {
    --hb-top-bg: #111827;
    --hb-top-fg: #ffffff;
    --hb-top-border: rgba(255,255,255,.14);
    --hb-top-maxw: 0px;
    border-bottom: 1px solid var(--hb-top-border);
    background: var(--hb-top-bg);
    color: var(--hb-top-fg);
}

.hb-top--light {
    --hb-top-bg: #ffffff;
    --hb-top-fg: #111827;
    --hb-top-border: rgba(17,24,39,.10);
}

.hb-top--brand {
    /* brand default (ister Settings.Background ile override) */
    --hb-top-bg: #0d6efd;
    --hb-top-fg: #ffffff;
    --hb-top-border: rgba(255,255,255,.20);
}

.hb-top--sticky {
    position: sticky;
}

.hb-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    max-width: var(--hb-top-maxw);
    margin: 0 auto;
}

.hb-top__left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.hb-top__badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: inherit;
    white-space: nowrap;
}

.hb-top--light .hb-top__badge {
    background: rgba(13,110,253,.10);
    color: #0d6efd;
}

.hb-top__icon {
    font-size: 16px;
    margin-top: 2px;
    opacity: .9;
}

.hb-top__content {
    min-width: 0;
}

.hb-top__title {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.15;
    margin-bottom: 2px;
}

.hb-top__text {
    font-size: 13px;
    line-height: 1.25;
    opacity: .95;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-top__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hb-top__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    color: inherit;
    background: rgba(255,255,255,.14);
}

    .hb-top__cta:hover {
        opacity: .95;
    }

.hb-top--light .hb-top__cta {
    background: rgba(13,110,253,.10);
    color: #0d6efd;
}

.hb-top__close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 16px;
    padding: 6px 8px;
    border-radius: 10px;
    opacity: .85;
}

    .hb-top__close:hover {
        background: rgba(255,255,255,.10);
        opacity: 1;
    }

.hb-top--light .hb-top__close:hover {
    background: rgba(17,24,39,.06);
}

/* Spacer */
.hb-top-spacer {
    width: 100%;
}

/* Animations */
.hb-top--anim {
    animation: hbTopIn .22s ease-out both;
}

@keyframes hbTopIn {
    from {
        transform: translateY(-8px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile compact */
@media (max-width: 576px) {
    .hb-top--compact .hb-top__inner {
        padding: 8px 10px;
    }

    .hb-top--compact .hb-top__badge {
        display: none;
    }

    .hb-top--compact .hb-top__title {
        display: none;
    }

    .hb-top--compact .hb-top__text {
        white-space: nowrap;
    }

    .hb-top--compact .hb-top__cta {
        padding: 6px 8px;
    }
}

