:root {
  --badpd-bg: #050607;
  --badpd-bg-2: #0a0f18;
  --badpd-panel: #0e1117;
  --badpd-panel-2: #151922;
  --badpd-text: #f5f7fb;
  --badpd-muted: #aab3c2;
  --badpd-line: rgba(255, 255, 255, 0.16);
  --badpd-cyan: #23d9ff;
  --badpd-gold: #ffc947;
  --badpd-red: #ff3028;
  --badpd-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.36);
  --badpd-radius: 8px;
  --badpd-wrap: 94rem;
}

html {
  background: var(--badpd-bg);
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body.wp-theme-help4-blank,
body {
  background: linear-gradient(135deg, #050607 0%, #0b1018 48%, #050607 100%) !important;
  color: var(--badpd-text) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body,
button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.h4bs-template-slot-header,
.h4bs-template-slot-footer,
.h4bs-template-slot-header .h4bs-builder-page,
.h4bs-template-slot-footer .h4bs-builder-page,
.h4bs-template-slot-header .h4bs-block,
.h4bs-template-slot-footer .h4bs-block,
.site-main .h4bs-builder-page,
.site-main .h4bs-builder-page > .h4bs-block,
.h4bs-builder-page .h4bs-block-shortcode,
.h4bs-block-shortcode {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0;
  padding: 0;
  width: 100%;
}

.h4bs-template-slot-header .h4bs-builder-page,
.h4bs-template-slot-footer .h4bs-builder-page,
.h4bs-builder-page-layout-canvas,
.h4bs-block-shortcode,
.h4bs-block-shortcode > .h4bs-builder-page {
  max-width: none;
  overflow-x: clip;
}

.site-main {
  margin: 0;
  padding: 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.badpd-site-header {
  backdrop-filter: blur(18px);
  background: rgba(5, 6, 7, 0.9);
  border-bottom: 2px solid rgba(35, 217, 255, 0.7);
  position: sticky;
  top: 0;
  z-index: 100;
}

.badpd-header-inner {
  align-items: center;
  display: grid;
  gap: clamp(0.55rem, 1vw, 1rem);
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: min(100%, 92rem);
  min-height: 5.1rem;
  padding: 0 1rem;
  width: 100%;
}

.badpd-brand-logo {
  display: block;
  max-height: 4.65rem;
  width: auto;
}

.badpd-brand,
.badpd-ticker a,
.badpd-mascot-copy p,
.badpd-lead-copy h1,
.badpd-lead-copy p,
.badpd-latest-row strong,
.badpd-article-card-copy h3,
.badpd-front-hero > *,
.badpd-front-sections > *,
.badpd-archive-grid > *,
.badpd-single-layout > * {
  min-width: 0;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  word-break: break-word;
}

.badpd-brand-fallback {
  color: var(--badpd-text);
  font-size: 1.65rem;
  font-weight: 950;
}

.badpd-primary-menu,
.badpd-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.badpd-primary-menu {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.45rem, 0.9vw, 0.95rem);
  justify-content: center;
  min-width: 0;
}

.badpd-primary-menu li {
  flex: 0 0 auto;
}

.badpd-primary-menu a {
  color: var(--badpd-text);
  display: block;
  font-size: clamp(0.76rem, 0.74vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.badpd-primary-menu a:hover,
.badpd-primary-menu a:focus-visible {
  color: var(--badpd-cyan);
}

.badpd-header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: clamp(0.45rem, 0.75vw, 0.8rem);
  min-width: 0;
}

.badpd-search-form {
  align-items: center;
  display: flex;
}

.badpd-search-form input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--badpd-line);
  border-radius: var(--badpd-radius);
  color: var(--badpd-text);
  max-width: 9.35rem;
  padding: 0.55rem 0.7rem;
}

.badpd-search-form button,
.badpd-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--badpd-text);
  cursor: pointer;
}

.badpd-search-form button {
  color: var(--badpd-cyan);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 0.45rem;
  text-transform: uppercase;
}

.badpd-send-tip {
  background: var(--badpd-gold);
  border-radius: 2px;
  color: #050607;
  font-size: 0.88rem;
  font-weight: 950;
  padding: 0.72rem 0.95rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.badpd-menu-toggle {
  align-items: center;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  height: 2.75rem;
  justify-content: center;
  justify-self: end;
  margin-left: auto;
  position: relative;
  width: 2.75rem;
  z-index: 2;
}

.badpd-menu-toggle span:not(.screen-reader-text) {
  background: var(--badpd-text);
  display: block;
  height: 2px;
  width: 1.45rem;
}

.badpd-page-shell {
  margin: 0 auto;
  max-width: var(--badpd-wrap);
  padding: 0 1rem 3rem;
  width: 100%;
}

.badpd-ticker {
  align-items: center;
  border-bottom: 1px solid var(--badpd-line);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  min-height: 3rem;
  min-width: 0;
  width: 100%;
}

.badpd-ticker span {
  background: var(--badpd-cyan);
  color: #041015;
  font-weight: 950;
  padding: 0.55rem 1rem;
  text-transform: uppercase;
}

.badpd-ticker a {
  color: var(--badpd-text);
  display: block;
  font-weight: 750;
  max-width: 100%;
  min-width: 0;
}

.badpd-front-hero {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1.45fr) minmax(20rem, 0.8fr);
  margin-top: 0.75rem;
}

.badpd-lead-story,
.badpd-latest-panel,
.badpd-mascot-rail,
.badpd-news-section,
.badpd-ad-slot,
.badpd-article-card,
.badpd-archive-shell,
.badpd-single-article {
  background: rgba(14, 17, 23, 0.78);
  border: 1px solid var(--badpd-line);
  border-radius: var(--badpd-radius);
}

.badpd-mascot-rail {
  align-content: start;
  align-items: start;
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 0.9rem;
}

.badpd-mascot-logo {
  display: block;
  filter: drop-shadow(0 1rem 1.8rem rgba(0, 0, 0, 0.42));
  justify-self: center;
  margin: 0 auto;
  max-height: 16rem;
  object-fit: contain;
  width: min(100%, 16rem);
}

.badpd-mascot-copy {
  border-top: 1px solid var(--badpd-line);
  padding-top: 1rem;
}

.badpd-mascot-copy strong,
.badpd-section-kicker,
.badpd-article-category {
  color: var(--badpd-gold);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badpd-mascot-copy p {
  color: #dbe4ef;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.35;
  margin: 0.45rem 0 0;
}

.badpd-lead-story {
  min-height: clamp(25rem, 41vw, 31rem);
  overflow: hidden;
  position: relative;
}

.badpd-lead-media {
  background: #111;
  inset: 0;
  position: absolute;
}

.badpd-lead-media:after {
  background: linear-gradient(90deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.72) 44%, rgba(5, 6, 7, 0.12) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.badpd-lead-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.badpd-lead-media-fallback,
.badpd-article-card-fallback {
  align-items: center;
  color: rgba(255, 255, 255, 0.16);
  display: grid;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 950;
  height: 100%;
  place-items: center;
  text-transform: uppercase;
}

.badpd-lead-copy {
  max-width: 38rem;
  padding: clamp(1.25rem, 3vw, 2.35rem);
  position: relative;
  z-index: 1;
}

.badpd-lead-copy h1 {
  color: var(--badpd-text);
  font-size: clamp(2.05rem, 4.15vw, 3.65rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0.85rem 0;
}

.badpd-lead-copy p {
  color: #dde5ef;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.45;
  max-width: 34rem;
}

.badpd-article-meta {
  align-items: center;
  color: var(--badpd-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badpd-latest-panel {
  display: grid;
  gap: 1rem;
  grid-template-rows: auto 1fr auto;
  padding: 1rem;
}

.badpd-latest-panel h2,
.badpd-section-header h2,
.badpd-related-list h2 {
  color: var(--badpd-cyan);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.badpd-latest-list {
  display: grid;
}

.badpd-latest-row {
  border-top: 1px solid var(--badpd-line);
  display: grid;
  gap: 0.24rem;
  grid-template-columns: 2.6rem 1fr;
  padding: 0.78rem 0;
}

.badpd-latest-row span {
  color: var(--badpd-cyan);
  font-size: 0.82rem;
  grid-row: span 2;
}

.badpd-latest-row strong {
  line-height: 1.3;
}

.badpd-latest-row em {
  color: var(--badpd-muted);
  font-size: 0.76rem;
  font-style: normal;
}

.badpd-ad-slot {
  overflow: hidden;
  padding: 0.9rem;
  text-align: center;
}

.badpd-ad-slot > span {
  color: var(--badpd-muted);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.badpd-ad-slot-placeholder {
  border: 1px solid var(--badpd-line);
  min-height: 9rem;
  padding: 1.3rem 1rem;
}

.badpd-ad-slot-placeholder strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 950;
  text-transform: uppercase;
}

.badpd-ad-slot-placeholder p {
  color: var(--badpd-gold);
  font-weight: 900;
  margin-bottom: 0;
  text-transform: uppercase;
}

.badpd-ad-slot-top,
.badpd-ad-slot-mid {
  margin: 0.75rem 0;
}

.badpd-ad-slot-top .badpd-ad-slot-placeholder,
.badpd-ad-slot-mid .badpd-ad-slot-placeholder {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  min-height: 5.5rem;
}

.badpd-front-sections {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.badpd-news-section {
  min-width: 0;
  padding: 0.9rem;
}

.badpd-section-header {
  align-items: center;
  border-bottom: 1px solid var(--badpd-line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
}

.badpd-section-header a {
  color: var(--badpd-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badpd-section-list {
  display: grid;
  gap: 0.65rem;
}

.badpd-article-card {
  border: 0;
  display: grid;
  gap: 0.8rem;
}

.badpd-article-card-compact {
  background: transparent;
  grid-template-columns: 4.75rem 1fr;
}

.badpd-article-card-standard {
  padding: 0.9rem;
}

.badpd-article-card-media {
  align-self: start;
  aspect-ratio: 4 / 3;
  background: var(--badpd-panel-2);
  border-radius: 4px;
  overflow: hidden;
}

.badpd-article-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.badpd-article-card-copy h3 {
  color: var(--badpd-text);
  font-size: 0.98rem;
  line-height: 1.25;
  margin: 0.25rem 0 0;
}

.badpd-article-card-standard .badpd-article-card-copy h3 {
  font-size: 1.35rem;
}

.badpd-article-card-copy p,
.badpd-empty-section {
  color: var(--badpd-muted);
  line-height: 1.45;
}

.badpd-topic-strip {
  align-items: center;
  border-bottom: 1px solid var(--badpd-line);
  border-top: 1px solid var(--badpd-line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.3rem;
  padding: 1rem 0;
}

.badpd-topic-strip strong {
  color: var(--badpd-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badpd-archive-shell,
.badpd-single-article {
  margin: 1rem auto 0;
  max-width: 72rem;
  padding: clamp(1.1rem, 3vw, 2rem);
}

.badpd-archive-header,
.badpd-single-header {
  border-bottom: 1px solid var(--badpd-line);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.badpd-archive-header h1,
.badpd-single-header h1 {
  color: var(--badpd-text);
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0.35rem 0;
}

.badpd-archive-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badpd-single-featured {
  margin: 0 0 1.5rem;
}

.badpd-single-featured img {
  border-radius: var(--badpd-radius);
  width: 100%;
}

.badpd-single-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.34fr);
}

.badpd-single-content {
  color: #e4ebf4;
  font-size: 1.08rem;
  line-height: 1.74;
}

.badpd-single-content a {
  color: var(--badpd-cyan);
  text-decoration: underline;
}

.badpd-related-list {
  display: grid;
  gap: 0.5rem;
}

.badpd-pagination {
  margin-top: 1.5rem;
}

.badpd-pagination a,
.badpd-pagination span {
  color: var(--badpd-text);
}

.badpd-site-footer {
  border-top: 1px solid var(--badpd-line);
  margin: 0 auto;
  max-width: var(--badpd-wrap);
  padding: 2rem 1rem;
}

.badpd-footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.badpd-footer-inner p {
  color: var(--badpd-muted);
}

.badpd-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 1120px) {
  .badpd-front-hero,
  .badpd-single-layout {
    grid-template-columns: 1fr;
  }

  .badpd-mascot-rail {
    align-items: center;
    grid-template-columns: minmax(8rem, 14rem) 1fr;
  }

  .badpd-mascot-logo {
    max-height: 13rem;
  }

  .badpd-front-sections,
  .badpd-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .badpd-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .badpd-brand {
    grid-column: 1;
  }

  .badpd-menu-toggle {
    display: flex !important;
    grid-column: 2;
    justify-self: end;
  }

  .badpd-primary-nav {
    display: none;
    grid-column: 1 / -1;
  }

  .badpd-primary-nav[data-open] {
    display: block;
  }

  .badpd-primary-menu {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.75rem 0 1rem;
  }

  .badpd-header-actions {
    display: none;
  }

  .badpd-mascot-rail {
    grid-template-columns: 1fr;
  }

  .badpd-lead-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.7rem);
  }

  .badpd-front-sections,
  .badpd-archive-grid {
    grid-template-columns: 1fr;
  }

  .badpd-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .badpd-site-header {
    left: 0;
    right: 0;
    width: 100%;
  }

  .badpd-header-inner {
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    width: 100%;
  }

  .badpd-brand {
    max-width: calc(100vw - 5.25rem);
    width: max-content;
  }

  .badpd-menu-toggle {
    min-width: 2.75rem;
  }

  .badpd-brand-logo {
    max-height: 4.1rem;
    max-width: 5.5rem;
  }

  .badpd-page-shell {
    max-width: 100%;
    overflow: hidden;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    width: 100%;
  }

  .badpd-ticker,
  .badpd-front-hero,
  .badpd-mascot-rail,
  .badpd-lead-story,
  .badpd-latest-panel,
  .badpd-news-section,
  .badpd-ad-slot {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .badpd-ticker {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .badpd-ticker a {
    display: block;
    line-height: 1.25;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    width: 100%;
  }

  .badpd-mascot-copy p,
  .badpd-lead-copy h1,
  .badpd-lead-copy p {
    max-width: 100%;
  }

  .badpd-ticker span {
    display: inline-block;
    max-width: 100%;
    width: max-content;
  }

  .badpd-mascot-copy,
  .badpd-lead-copy {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .badpd-article-card-compact {
    grid-template-columns: 4rem 1fr;
  }

  .badpd-lead-story {
    min-height: 34rem;
  }

  .badpd-lead-copy {
    padding: 1.1rem;
  }

  .badpd-lead-copy h1 {
    font-size: clamp(2rem, 12vw, 3.15rem);
  }
}
