/* Pueblo Connect header repair */
@media (min-width: 1200px) {
  #header-sticky {
    height: auto !important;
    min-height: 90px !important;
  }

  #header-sticky > .container {
    width: 100% !important;
    max-width: 1500px !important;
  }

  #header-sticky .header-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-height: 90px !important;
    gap: 18px !important;
  }

  #header-sticky .fm-header-logo-wrapper {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }

  #header-sticky .fm-header-logo img {
    width: 115px !important;
    max-height: 65px !important;
    object-fit: contain !important;
  }

  #header-sticky .fm-header-bar-1,
  #header-sticky .separator {
    display: none !important;
  }

  #header-sticky .header-menu-spc {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  #header-sticky .fm-header-nav > nav > ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header-sticky .fm-header-nav > nav > ul > li {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  #header-sticky .fm-header-nav > nav > ul > li > a {
    font-size: 12px !important;
    white-space: nowrap !important;
    padding: 12px 0 !important;
  }

  #header-sticky .fm-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  #header-sticky .fm-header-right .fill-btn {
    padding: 13px 18px !important;
    white-space: nowrap !important;
  }
}

/* Desktop header readability */
@media (min-width: 1200px) {
  #header-sticky .fm-header-nav > nav > ul {
    gap: 18px !important;
  }

  #header-sticky .fm-header-nav > nav > ul > li > a {
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  #header-sticky .fm-header-logo img {
    width: 130px !important;
    max-height: 70px !important;
  }
}

/* DAILY_PUEBLO_TICKER_POSITION_FIX
   Keep the ticker visible directly below the fixed site header. */
.dp-news-ticker {
  position: relative !important;
  z-index: 100 !important;
  width: 100%;
  min-height: 44px;
  clear: both;
  visibility: visible !important;
  opacity: 1 !important;
}


/* DAILY_PUEBLO_TICKER_BELOW_HEADER_V1
   Keep the ticker below the fixed header without covering homepage content. */
.dp-news-ticker {
    margin-top: 92px !important;
}

.fm-slider-main-area .adjust-header-space {
    height: 0 !important;
}

@media (max-width: 991px) {
    .dp-news-ticker {
        margin-top: 80px !important;
    }
}

/* DAILY_PUEBLO_MOBILE_TICKER_STACK_V1
   Mobile only: give the Daily Pueblo headlines the full screen width. */
@media screen and (max-width: 520px) {
    .dp-news-ticker {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    .dp-ticker-label {
        flex: 0 0 100% !important;
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding: 7px 10px !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .dp-ticker-window {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        box-sizing: border-box !important;
    }

    .dp-ticker-track {
        align-items: center !important;
    }

    .dp-ticker-item {
        padding: 12px 14px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}
