/* Weblytic Labs blog chrome — matched to store wblhomepage header/footer */

:root {
  --primary-900: #071225;
  --primary-800: #0B1733;
  --primary-700: #111F45;
  --blue: #2F80FF;
  --purple: #7B3FF2;
  --violet: #9B5CFF;
  --accent-gradient: linear-gradient(135deg, #2F80FF 0%, #7B3FF2 55%, #9B5CFF 100%);
  --wbl-primary: #7B3FF2;
  --wbl-dark: #071225;
  --wbl-dark-2: #0B1733;
  --wbl-font: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --wbl-max: 1600px;
  --wbl-container-pad-x: clamp(16px, 2.5vw, 40px);
  --wbl-radius: 12px;
}

body.wbl-override-chrome .fusion-tb-header,
body.wbl-override-chrome .fusion-tb-footer,
body.wbl-override-chrome .fusion-header-wrapper,
body.wbl-override-chrome .fusion-header-sticky-height,
body.wbl-override-chrome .fusion-secondary-header,
body.wbl-override-chrome .fusion-footer,
body.wbl-override-chrome .fusion-footer-widget-area,
body.wbl-override-chrome .fusion-footer-copyright-area,
body.wbl-override-chrome .fusion-copyright-privacy,
body.wbl-override-chrome .fusion-copyright-notice,
body.wbl-override-chrome .fusion-social-links-footer,
body.wbl-override-chrome #footer,
body.wbl-override-chrome .awb-news-ticker {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.wbl-override-chrome {
  background: #fff;
}

body.wbl-override-chrome #wrapper,
body.wbl-override-chrome #main,
body.wbl-override-chrome .fusion-wrapper {
  padding-top: 0 !important;
}

.wbl-top-chrome,
.wbl-site-header,
.wbl-site-footer,
.wbl-blog-hero {
  font-family: var(--wbl-font) !important;
  -webkit-font-smoothing: antialiased;
}

.wbl-top-chrome {
  position: relative;
  z-index: 10060;
}

.wbl-site-header {
  background: var(--primary-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wbl-site-header-inner {
  width: 100%;
  max-width: var(--wbl-max);
  margin: 0 auto;
  padding: 0 var(--wbl-container-pad-x);
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.wbl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  min-width: 0;
}

.wbl-brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  overflow: hidden;
}

.wbl-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wbl-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.wbl-brand-text strong {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.wbl-brand-text strong span {
  color: #fff;
}

.wbl-brand-text strong em {
  color: #2f80ff;
  font-style: normal;
}

.wbl-brand-text small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  margin-top: 2px;
}

.wbl-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.wbl-main-nav > a,
.wbl-nav-dd__btn {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.wbl-main-nav > a:hover,
.wbl-main-nav > a.is-current,
.wbl-nav-dd.is-current > .wbl-nav-dd__btn,
.wbl-nav-dd.is-open > .wbl-nav-dd__btn,
.wbl-nav-dd__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.wbl-main-nav > a.is-current {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.wbl-nav-dd {
  position: relative;
}

.wbl-nav-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wbl-nav-dd__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 18, 37, 0.18);
  z-index: 40;
}

.wbl-nav-dd.is-open .wbl-nav-dd__menu {
  display: block;
}

.wbl-nav-dd__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0f172a !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.wbl-nav-dd__menu a:hover {
  background: #f1f5f9;
}

.wbl-nav-dd__menu em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #eef2f8;
  border-radius: 999px;
  padding: 2px 8px;
}

.wbl-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wbl-header-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.wbl-header-search__ico {
  position: absolute;
  left: 12px;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.wbl-header-search input {
  width: clamp(160px, 16vw, 220px);
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 14px 0 36px;
  font: 600 13px/1.2 var(--wbl-font);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, width 0.2s ease;
}

.wbl-header-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.wbl-header-search input:focus {
  border-color: rgba(47, 128, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  width: clamp(180px, 18vw, 260px);
}

.wbl-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none !important;
}

.wbl-header-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.wbl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.wbl-btn-primary,
.wbl-header-cta {
  background: var(--accent-gradient);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(47, 128, 255, 0.35);
  border-radius: 12px;
  padding: 10px 16px !important;
  font-size: 12px !important;
  font-weight: 700;
  margin-left: 4px;
}

.wbl-btn-primary:hover,
.wbl-header-cta:hover {
  filter: brightness(1.06);
  color: #fff !important;
  transform: translateY(-1px);
}

.wbl-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.wbl-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

/* Blog hero */
.wbl-blog-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(47, 128, 255, 0.22), transparent 42%),
    radial-gradient(circle at 82% 10%, rgba(123, 63, 242, 0.18), transparent 38%),
    linear-gradient(180deg, var(--primary-900) 0%, #071225 100%);
  color: #fff;
  border-bottom: 0;
}

.wbl-blog-hero__inner {
  max-width: var(--wbl-max);
  margin: 0 auto;
  padding: 28px var(--wbl-container-pad-x) 32px;
}

.wbl-blog-hero__eyebrow {
  margin: 0 0 10px;
  color: #9ec1ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wbl-blog-hero__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.wbl-blog-hero__text {
  margin: 14px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.wbl-blog-hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wbl-blog-hero .wbl-btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(47, 128, 255, 0.28);
}

.wbl-blog-hero .wbl-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  background: transparent;
}

/* Footer */
.wbl-site-footer {
  background: var(--wbl-dark);
  color: #cbd5e1;
  margin-top: 0;
}

.wbl-site-footer-inner {
  width: 100%;
  max-width: var(--wbl-max);
  margin: 0 auto;
  padding: 56px var(--wbl-container-pad-x) 0;
  box-sizing: border-box;
}

.wbl-footer-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  padding: 24px 28px;
  border-radius: 18px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background:
    radial-gradient(circle at 12% 50%, rgba(47, 128, 255, 0.18), transparent 36%),
    radial-gradient(circle at 88% 40%, rgba(123, 63, 242, 0.22), transparent 38%),
    rgba(255, 255, 255, 0.035);
}

.wbl-footer-help-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.wbl-footer-help-copy strong {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wbl-footer-help-copy span {
  color: #c5d0e8;
  font-size: 14.5px;
  line-height: 1.45;
}

.wbl-footer-help-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(47, 128, 255, 0.28);
}

.wbl-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 2.4fr);
  gap: 36px 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wbl-footer-brand-link {
  margin-bottom: 16px;
}

.wbl-footer-tagline {
  font-size: 14px;
  line-height: 1.55;
  color: #a8b4cc;
  margin: 0 0 18px;
  max-width: 320px;
}

.wbl-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wbl-footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  text-decoration: none !important;
}

.wbl-footer-social a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wbl-footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 20px 18px;
  min-width: 0;
}

.wbl-footer-col {
  min-width: 0;
}

.wbl-footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 14px;
}

.wbl-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wbl-footer-col li {
  margin-bottom: 10px;
}

.wbl-footer-col a {
  color: #a8b4cc;
  text-decoration: none !important;
  font-size: 13.5px;
}

.wbl-footer-col a:hover {
  color: #fff;
}

.wbl-footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  list-style: none;
  margin: 0;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wbl-footer-trust li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.wbl-footer-trust strong {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.wbl-footer-trust span {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.wbl-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  flex-wrap: wrap;
  padding: 12px 12px 18px;
  font-size: 13px;
  color: #7a849c;
  text-align: center;
}

.wbl-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.wbl-footer-legal a {
  color: #a8b4cc;
  text-decoration: none !important;
}

.wbl-footer-legal a:hover {
  color: #fff;
}

.wbl-chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wbl-primary);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
  text-decoration: none !important;
}

.wbl-chat-widget:hover {
  transform: scale(1.06);
  color: #fff !important;
}

@media (max-width: 1299px) {
  .wbl-header-search input {
    width: 150px;
  }

  .wbl-header-search input:focus {
    width: 180px;
  }

  .wbl-main-nav > a,
  .wbl-nav-dd__btn {
    padding: 8px 9px;
    font-size: 12px;
  }
}

@media (max-width: 1199px) {
  .wbl-footer-grid {
    grid-template-columns: 1fr;
  }

  /* Prefer even 2×N over awkward 3+2 wrap so column headers stay aligned. */
  .wbl-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .wbl-nav-toggle {
    display: inline-flex;
  }

  .wbl-site-header-inner {
    grid-template-columns: 1fr auto;
  }

  .wbl-header-actions {
    display: none;
  }

  .wbl-main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
  }

  body.wbl-nav-open .wbl-main-nav {
    display: flex;
  }

  body.wbl-nav-open .wbl-header-actions {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    padding-bottom: 16px;
  }

  .wbl-header-search {
    flex: 1 1 100%;
  }

  .wbl-header-search input,
  .wbl-header-search input:focus {
    width: 100%;
  }

  .wbl-nav-dd__menu {
    position: static;
    transform: none;
    margin-top: 6px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
  }

  .wbl-nav-dd__menu a {
    color: #fff !important;
  }

  .wbl-nav-dd__menu a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .wbl-nav-dd__menu em {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
  }

  .wbl-footer-help {
    flex-direction: column;
    align-items: flex-start;
  }

  .wbl-footer-help-link {
    width: 100%;
  }

  .wbl-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wbl-brand-text small {
    display: none;
  }

  .wbl-header-cta {
    width: 100%;
  }

  .wbl-footer-nav {
    grid-template-columns: 1fr;
  }
}

/* Homepage magazine polish */
body.wbl-brand-home #main {
  background: #fff;
}

body.wbl-brand-home .fusion-title h1,
body.wbl-brand-home .fusion-title h2,
body.wbl-brand-home .fusion-title h3,
body.wbl-brand-home .fusion-title .fusion-title-heading {
  font-family: var(--wbl-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--primary-900) !important;
  text-transform: none !important;
}

body.wbl-brand-home .fusion-post-cards .fusion-title-heading,
body.wbl-brand-home .fusion-post-cards h2,
body.wbl-brand-home .fusion-post-cards h3,
body.wbl-brand-home .fusion-post-cards h4,
body.wbl-brand-home .fusion-post-cards h6 {
  font-family: var(--wbl-font) !important;
}

body.wbl-brand-home .fusion-load-more-button {
  font-family: var(--wbl-font) !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  background: var(--accent-gradient) !important;
  border: 0 !important;
  color: #fff !important;
  padding: 12px 28px !important;
}
