/* Targeted header, social icon and category alignment fixes. */

/* Compact top information strip and keep every configured social link visible. */
.site-header .header-info-row {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.site-header .header-date-column,
.site-header .header-social-column {
  display: flex;
  align-items: center;
}

.site-header .top-date {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.site-header .header-social-column {
  justify-content: flex-end;
}

.site-header .top_socail_icon_area {
  float: none;
  position: static;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.site-header .top_socail_icon_area .top-social-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .top_socail_icon_area .top-social-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: static;
}

.site-header .top-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff !important;
  background: #475569;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-header .top-social-link i {
  display: inline-block;
  color: #fff !important;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.site-header .top-social-link:hover,
.site-header .top-social-link:focus {
  color: #fff !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.2);
  outline: none;
}

.site-header .top-social-link.facebook { background: #1877f2; }
.site-header .top-social-link.twitter { background: #1da1f2; }
.site-header .top-social-link.x,
.site-header .top-social-link.x-twitter { background: #111827; }
.site-header .top-social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.site-header .top-social-link.linkedin { background: #0a66c2; }
.site-header .top-social-link.youtube { background: #ff0033; }
.site-header .top-social-link.pinterest { background: #bd081c; }
.site-header .top-social-link.rss { background: #f26522; }
.site-header .top-social-link.whatsapp { background: #25d366; }
.site-header .top-social-link.telegram { background: #229ed9; }
.site-header .top-social-link.tiktok { background: #111827; }
.site-header .top-social-link.threads { background: #111827; }
.site-header .top-social-link.snapchat { background: #facc15; }
.site-header .top-social-link.snapchat i { color: #111827 !important; }

/* Keep the logo and header advertisement in one compact, vertically centered row. */
.site-header .new-header {
  padding: 5px 0 !important;
  background: #fff;
}

.site-header .header-brand-row {
  display: flex;
  align-items: center;
  min-height: 110px;
}

.site-header .header-logo-column {
  display: flex;
  align-items: center;
  min-height: 110px;
}

.site-header .new-logo-area {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding: 0 !important;
  margin: 0;
}

.site-header .header-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: 0;
}

.site-header .header-logo-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
}

.site-header .header-ad-column {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 110px;
}

.site-header .header-banner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  float: none !important;
  text-align: right;
}

.site-header .header-banner-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.site-header .header-banner-right img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 90px;
  object-fit: contain;
}

.site-header .header-banner-right iframe,
.site-header .header-banner-right embed,
.site-header .header-banner-right object {
  max-width: 100%;
}

/* Keep the first menu item's home icon and Bengali label on one baseline. */
.top-nav-sports #home > .nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
}

.top-nav-sports #home > .nav-link .category-nav-content {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 !important;
  white-space: nowrap;
  line-height: 1.25;
}

.top-nav-sports #home > .nav-link .category-nav-icon {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0 !important;
  font-size: 15px;
  line-height: 1;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .site-header .header-info-row {
    row-gap: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .site-header .header-date-column,
  .site-header .header-social-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .site-header .top-date {
    font-size: 12px;
  }

  .site-header .header-social-column {
    justify-content: flex-end;
  }

  .site-header .top_socail_icon_area .top-social-list {
    gap: 6px;
  }

  .site-header .top_socail_icon_area .top-social-list li,
  .site-header .top-social-link {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .site-header .new-header {
    padding: 7px 0 !important;
  }

  .site-header .header-brand-row,
  .site-header .header-logo-column {
    min-height: 0;
  }

  .site-header .header-logo-column,
  .site-header .new-logo-area {
    justify-content: center;
    text-align: center;
  }

  .site-header .header-logo-link {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .site-header .header-logo-image {
    display: block;
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    max-width: min(100%, 240px);
    max-height: 92px;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    transform: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .site-header .header-logo-image {
    max-height: 90px;
  }
}
