/* Tutorshub v9.1.3 — correct logo colour and premium responsive trust metrics */

/* Keep uploaded artwork intact. Older dark presets converted every pixel to
   white, which erased coloured details such as the .pk badge. */
html body .site-header.th84-header.th-hf-header .th84-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .site-header.th84-header.th-hf-header .th84-brand :is(.th84-logo-img, .th84-mobile-logo-img) {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  clip-path: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Compact trust section: override the old global section padding. */
html body.th-luxury-dark .th84-proof {
  position: relative !important;
  isolation: isolate !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 34px 0 !important;
  overflow: hidden !important;
  color: #f5f8fc !important;
  border-top: 1px solid rgba(170, 197, 226, .16) !important;
  border-bottom: 1px solid rgba(170, 197, 226, .16) !important;
  background: radial-gradient(circle at 8% 20%, rgba(45, 121, 199, .18), transparent 30%), radial-gradient(circle at 88% 105%, rgba(244, 198, 93, .11), transparent 34%), linear-gradient(125deg, #10253b, #173652 52%, #10263d) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 22px 60px rgba(0, 0, 0, .18) !important;
}

html body.th-luxury-dark .th84-proof:before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  opacity: .32 !important;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent) !important;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent) !important;
}

html body.th-luxury-dark .th84-proof .th84-shell {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: min(1500px, calc(100% - 64px)) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  gap: 14px !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  grid-template-rows: none !important;
  align-items: center !important;
  align-content: center !important;
  min-width: 0 !important;
  min-height: 104px !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(171, 199, 229, .18) !important;
  border-radius: 19px !important;
  background: linear-gradient(145deg, rgba(31, 58, 86, .9), rgba(15, 33, 52, .94)) !important;
  box-shadow: 0 15px 34px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .065) !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card:after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  top: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 218, 128, .7), transparent) !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(247, 207, 112, .42) !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .27), 0 0 0 1px rgba(247, 207, 112, .045) !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card > i {
  display: grid !important;
  place-items: center !important;
  grid-row: auto !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  color: #f7cf70 !important;
  border: 1px solid rgba(247, 207, 112, .32) !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, rgba(247, 207, 112, .16), rgba(255, 255, 255, .045)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 24px rgba(0, 0, 0, .2) !important;
  font-style: normal !important;
  font-size: 0 !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card > i .th-line-icon {
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  overflow: visible !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card > div {
  display: grid !important;
  min-width: 0 !important;
  gap: 3px !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card b {
  display: block !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(18px, 1.3vw, 23px) !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card span {
  display: block !important;
  margin: 0 !important;
  color: #b9cbe0 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
}

html body.th-luxury-dark .th84-proof .th84-proof-card:nth-child(2) > i { color: #a9ceff !important; border-color: rgba(169, 206, 255, .28) !important; }
html body.th-luxury-dark .th84-proof .th84-proof-card:nth-child(3) > i { color: #68dfb9 !important; border-color: rgba(104, 223, 185, .28) !important; }
html body.th-luxury-dark .th84-proof .th84-proof-card:nth-child(4) > i { color: #d6c0ff !important; border-color: rgba(214, 192, 255, .28) !important; }

@media (min-width: 1241px) {
  html body .site-header.th84-header.th-hf-header .th84-logo-img {
    display: block !important;
    width: min(var(--th-hf-logo-width), 194px) !important;
    max-height: calc(var(--th-hf-header-height) - 22px) !important;
  }
  html body .site-header.th84-header.th-hf-header .th84-mobile-logo-img { display: none !important; }
}

@media (max-width: 1100px) {
  html body.th-luxury-dark .th84-proof .th84-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(820px, calc(100% - 40px)) !important;
  }
}

@media (max-width: 782px) {
  html body .site-header.th84-header.th-hf-header .th84-logo-img { display: none !important; }
  html body .site-header.th84-header.th-hf-header .th84-mobile-logo-img {
    display: block !important;
    width: min(var(--th-hf-mobile-logo-width), 165px) !important;
    max-height: calc(var(--th-mobile-header-height) - 22px) !important;
  }

  html body.th-luxury-dark .th84-proof { padding: 24px 0 !important; }
  html body.th-luxury-dark .th84-proof .th84-shell {
    width: calc(100% - 24px) !important;
    gap: 10px !important;
  }
  html body.th-luxury-dark .th84-proof .th84-proof-card {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    min-height: 92px !important;
    gap: 11px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }
  html body.th-luxury-dark .th84-proof .th84-proof-card > i {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
  }
  html body.th-luxury-dark .th84-proof .th84-proof-card > i .th-line-icon { width: 22px !important; height: 22px !important; }
  html body.th-luxury-dark .th84-proof .th84-proof-card b { font-size: 18px !important; }
}

@media (max-width: 560px) {
  html body .site-header.th84-header.th-hf-header .th84-mobile-logo-img {
    width: min(var(--th-hf-mobile-logo-width), 148px) !important;
    max-width: calc(100vw - 94px) !important;
  }
  html body.th-luxury-dark .th84-proof .th84-proof-card {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    min-height: 126px !important;
    padding: 14px 8px !important;
    text-align: center !important;
  }
  html body.th-luxury-dark .th84-proof .th84-proof-card > div { justify-items: center !important; }
  html body.th-luxury-dark .th84-proof .th84-proof-card span { font-size: 11px !important; }
}

@media (max-width: 350px) {
  html body.th-luxury-dark .th84-proof .th84-shell { grid-template-columns: 1fr !important; }
  html body.th-luxury-dark .th84-proof .th84-proof-card {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    justify-items: stretch !important;
    min-height: 88px !important;
    padding: 12px 14px !important;
    text-align: left !important;
  }
  html body.th-luxury-dark .th84-proof .th84-proof-card > div { justify-items: start !important; }
}

@media (prefers-reduced-motion: reduce) {
  html body.th-luxury-dark .th84-proof .th84-proof-card { transition: none !important; }
}
