/* =========================================================
   HFDXARC MASTER SITE STYLE v1.2.0
   Global black / gold / blue design system based on the
   Wire Antennas mockup. Loaded late by the child theme.
   ========================================================= */

:root {
  --hfdx-site-max: 3600px;
  --hfdx-unified-max: 3600px;
  --hfdx-theme-page-max: 3600px;

  --hfdx-bg: #05080d;
  --hfdx-bg-2: #07111d;
  --hfdx-bg-3: #0b1724;
  --hfdx-panel: rgba(8, 15, 24, 0.92);
  --hfdx-panel-strong: rgba(5, 9, 15, 0.96);
  --hfdx-panel-soft: rgba(12, 23, 36, 0.84);
  --hfdx-panel-lift: rgba(17, 31, 47, 0.88);
  --hfdx-border: rgba(255, 255, 255, 0.16);
  --hfdx-border-strong: rgba(255, 255, 255, 0.24);

  --hfdx-gold: #ffd200;
  --hfdx-gold-soft: #f6c400;
  --hfdx-blue: #1677c8;
  --hfdx-blue-2: #2497ff;
  --hfdx-blue-dark: #0e4f89;
  --hfdx-green: #2fc46d;
  --hfdx-red: #d93a35;
  --hfdx-purple: #7b3fd6;

  --hfdx-text: #f8fbff;
  --hfdx-text-soft: #e3edf8;
  --hfdx-muted: #bfccda;
  --hfdx-faint: #8fa1b4;

  --hfdx-radius-xl: 18px;
  --hfdx-radius-lg: 14px;
  --hfdx-radius-md: 10px;
  --hfdx-radius-sm: 7px;

  --hfdx-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
  --hfdx-shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.34);
  --hfdx-glow-blue: 0 0 32px rgba(36, 151, 255, 0.18);
  --hfdx-glow-gold: 0 0 26px rgba(255, 210, 0, 0.14);
}

html,
body {
  background-color: var(--hfdx-bg) !important;
  color: var(--hfdx-text) !important;
}

body {
  background-image:
    radial-gradient(circle at 15% 0%, rgba(36, 151, 255, 0.13), transparent 34%),
    radial-gradient(circle at 85% 8%, rgba(255, 210, 0, 0.08), transparent 30%),
    linear-gradient(180deg, #020408 0%, #07111d 45%, #020408 100%) !important;
  background-size: cover !important;
  background-position: center top !important;
  background-attachment: fixed !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Replace the older light overlay with the dark watermark/glass treatment. */
body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 8% 18%, rgba(24, 60, 96, 0.24), transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(255, 210, 0, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(2, 4, 8, 0.74) 0%, rgba(5, 8, 13, 0.62) 48%, rgba(2, 4, 8, 0.86) 100%) !important;
  opacity: 1 !important;
}

body > * {
  position: relative;
  z-index: 1;
}

::selection {
  color: #06111f;
  background: var(--hfdx-gold);
}

/* ---------------------------------------------------------
   Header / logos / top title block
   --------------------------------------------------------- */

body #header-wrap {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(3, 7, 12, 0.96) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55) !important;
}

body #header {
  display: block !important;
  float: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

.hfdxarc-site-identity {
  display: grid !important;
  grid-template-columns: minmax(190px, 0.28fr) minmax(360px, 1fr) minmax(120px, 0.22fr) !important;
  align-items: center !important;
  gap: clamp(12px, 2vw, 34px) !important;
  width: 100% !important;
  min-height: clamp(88px, 8.2vw, 132px) !important;
  padding: clamp(12px, 1.3vw, 22px) clamp(8px, 1vw, 20px) clamp(10px, 1.1vw, 18px) !important;
}

body #logo,
body #logo.hfdxarc-brand-centre {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
}

.hfdxarc-brand-link,
body #logo .hfdxarc-brand-link,
body #logo .hfdxarc-brand-link:hover {
  display: grid !important;
  justify-items: center !important;
  gap: clamp(3px, 0.45vw, 7px) !important;
  color: var(--hfdx-text) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hfdxarc-brand-title,
body #logo .site-title.hfdxarc-brand-title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: clamp(1.42rem, 2.2vw, 2.5rem) !important;
  line-height: 1.02 !important;
  font-weight: 950 !important;
  letter-spacing: 0.012em !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.92) !important;
}

.hfdxarc-brand-title::after,
body #logo .site-title.hfdxarc-brand-title::after {
  display: none !important;
  content: none !important;
}

.hfdxarc-brand-callsigns {
  display: block !important;
  color: var(--hfdx-gold) !important;
  font-size: clamp(1.18rem, 1.75vw, 2.05rem) !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  letter-spacing: 0.028em !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 18px rgba(255, 210, 0, 0.24), 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.hfdxarc-brand-meta,
body #logo .site-description.hfdxarc-brand-meta {
  display: block !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(0.74rem, 0.88vw, 1.05rem) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 9px rgba(0, 0, 0, 0.78) !important;
}

.hfdxarc-rsgb-affiliation {
  display: inline-flex !important;
  align-items: center !important;
  justify-self: start !important;
  gap: clamp(8px, 1vw, 14px) !important;
  min-width: 0 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
}

.hfdxarc-rsgb-affiliation-logo {
  display: block !important;
  width: clamp(36px, 4.7vw, 70px) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.76)) !important;
}

.hfdxarc-rsgb-affiliation-copy {
  display: grid !important;
  gap: 2px !important;
  text-align: left !important;
  color: #ffffff !important;
  font-size: clamp(0.75rem, 0.96vw, 1.05rem) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.035em !important;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.86) !important;
}

.hfdxarc-rsgb-affiliation-copy strong {
  color: #ffffff !important;
  font-weight: 950 !important;
}

.hfdxarc-club-header-badge {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.hfdxarc-club-header-logo {
  display: block !important;
  width: clamp(58px, 7vw, 108px) !important;
  height: clamp(58px, 7vw, 108px) !important;
  object-fit: contain !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8)) !important;
}

/* ---------------------------------------------------------
   Main navigation
   --------------------------------------------------------- */

body #mainnav {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(180deg, rgba(18, 26, 37, 0.96), rgba(8, 13, 20, 0.98)) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06) !important;
  overflow: visible !important;
}

body #mainnav-menu,
body #mainnav-menu ul,
body #mainnav-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body #mainnav-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 0 !important;
  width: 100% !important;
  min-height: 44px !important;
  background: transparent !important;
  overflow: visible !important;
}

body #mainnav-menu > li {
  position: relative !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body #mainnav-menu a,
body #mainnav-menu > li > a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 0.75rem clamp(0.54rem, 0.95vw, 1.15rem) !important;
  color: rgba(255, 255, 255, 0.94) !important;
  background: transparent !important;
  border: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.018em !important;
  font-size: clamp(0.74rem, 0.86vw, 0.96rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.78) !important;
  box-shadow: none !important;
}

body #mainnav-menu > li > a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 3px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: scaleX(0.34) !important;
  opacity: 0 !important;
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease !important;
}

body #mainnav-menu > li:hover > a,
body #mainnav-menu > li:focus-within > a,
body #mainnav-menu > li.current_page_item > a,
body #mainnav-menu > li.current-menu-item > a,
body #mainnav-menu > li.current-menu-ancestor > a,
body #mainnav-menu > li.current_page_ancestor > a {
  color: #ffffff !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) !important;
}

body #mainnav-menu > li:hover > a::after,
body #mainnav-menu > li:focus-within > a::after,
body #mainnav-menu > li.current_page_item > a::after,
body #mainnav-menu > li.current-menu-item > a::after,
body #mainnav-menu > li.current-menu-ancestor > a::after,
body #mainnav-menu > li.current_page_ancestor > a::after {
  background: var(--hfdx-gold) !important;
  box-shadow: 0 0 14px rgba(255, 210, 0, 0.46) !important;
  transform: scaleX(1) !important;
  opacity: 1 !important;
}

body #mainnav-menu a[href*="live"],
body #mainnav-menu a[href*="on-air"],
body #mainnav-menu a[href*="onair"] {
  color: #fff7bf !important;
}

body #mainnav-menu ul {
  position: absolute !important;
  z-index: 99999 !important;
  top: 100% !important;
  left: 0 !important;
  display: none;
  visibility: hidden;
  min-width: 230px !important;
  width: max-content !important;
  max-width: min(320px, calc(100vw - 22px)) !important;
  padding: 8px !important;
  background: linear-gradient(180deg, rgba(9, 18, 29, 0.98), rgba(3, 8, 14, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.58) !important;
  overflow: visible !important;
}

body #mainnav-menu li:hover > ul,
body #mainnav-menu li:focus-within > ul,
body #mainnav-menu li.hfdxarc-submenu-open > ul {
  display: block !important;
  visibility: visible !important;
}

body #mainnav-menu ul li {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
}

body #mainnav-menu ul a {
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 38px !important;
  padding: 10px 12px !important;
  text-align: left !important;
  color: var(--hfdx-text-soft) !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  white-space: nowrap !important;
}

body #mainnav-menu ul a:hover,
body #mainnav-menu ul li.current-menu-item > a,
body #mainnav-menu ul li.current_page_item > a {
  color: #ffffff !important;
  background: rgba(36, 151, 255, 0.16) !important;
}

body #mainnav-menu ul ul {
  top: 0 !important;
  left: 100% !important;
  border-radius: 12px !important;
}

body #mainnav-icon {
  display: none;
}

/* ---------------------------------------------------------
   Main shell / WordPress standard pages
   --------------------------------------------------------- */

body .container,
body #header,
body #wrap.container,
body #footer,
body #footer-widgets {
  width: min(calc(100% - (clamp(8px, 1.1vw, 30px) * 2)), var(--hfdx-site-max)) !important;
  max-width: var(--hfdx-site-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body #wrapper,
body #wrap,
body #content-wrap,
body #main {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body #wrap.container {
  padding-top: clamp(14px, 1.2vw, 28px) !important;
  padding-bottom: clamp(22px, 2vw, 48px) !important;
}

body #content,
body #content.primary,
body #content.fullwidth,
body .content-area,
body .site-main {
  color: var(--hfdx-text) !important;
  background: transparent !important;
}

body #content article,
body #content .page,
body #content .post,
body #content .type-page,
body #content .type-post,
body .entry,
body .entry-content,
body .hentry {
  color: var(--hfdx-text) !important;
}

/* Standard WordPress article cards only. Plugin wrappers keep their own internal layout. */
body:not(.hfdx-unified-plugin-page) #content > article,
body:not(.hfdxarc-template-fullwidth) #content > article,
body.blog #content .post,
body.archive #content .post,
body.single #content .post,
body.search #content .post {
  background:
    radial-gradient(circle at 100% 0%, rgba(36,151,255,0.10), transparent 34%),
    linear-gradient(180deg, rgba(12, 23, 36, 0.90), rgba(5, 10, 16, 0.92)) !important;
  border: 1px solid var(--hfdx-border) !important;
  border-radius: var(--hfdx-radius-xl) !important;
  box-shadow: var(--hfdx-shadow-soft) !important;
  overflow: hidden !important;
}

body .entry,
body .entry-content {
  background: transparent !important;
}

body .entry h1,
body .entry h2,
body .entry h3,
body .entry h4,
body .entry h5,
body .entry h6,
body .entry-content h1,
body .entry-content h2,
body .entry-content h3,
body .entry-content h4,
body .entry-content h5,
body .entry-content h6,
body .post-title,
body .post-title a,
body .page-title,
body .archive-title {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.44) !important;
}

body .entry h2,
body .entry h3,
body .entry-content h2,
body .entry-content h3,
body .widgettitle,
body .widget-title {
  color: var(--hfdx-gold) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.028em !important;
}

body .entry p,
body .entry li,
body .entry dd,
body .entry dt,
body .entry-content p,
body .entry-content li,
body .entry-content dd,
body .entry-content dt,
body .postmeta,
body .postinfo,
body .breadcrumb,
body .breadcrumbs {
  color: var(--hfdx-text-soft) !important;
}

body a {
  color: #8dccff !important;
}

body a:hover,
body a:focus {
  color: var(--hfdx-gold) !important;
}

body img,
body iframe,
body video {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* ---------------------------------------------------------
   Global card / panel / widget language
   --------------------------------------------------------- */

body .widget,
body #sidebar .widget,
body #secondary .widget,
body #frontpage-intro,
body #frontpage-entry,
body #frontpage-posts .type-post,
body .hfdxarc-card,
body .hfdxarc-panel,
body .hfdxarc-info-box,
body .hfdxarc-section,
body .hfdx-card,
body .hfdx-panel,
body .hfdx-info-box,
body .hfdx-section,
body .hfdxarc-tech-card,
body .hfdxarc-tech-intro,
body .hfdxarc-tech-hero,
body .hfdxarc-contact-card,
body .hfdxarc-member-card,
body .hfdxarc-event-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(36,151,255,0.10), transparent 36%),
    linear-gradient(180deg, rgba(12, 23, 36, 0.92), rgba(5, 10, 16, 0.94)) !important;
  border: 1px solid var(--hfdx-border) !important;
  border-radius: var(--hfdx-radius-lg) !important;
  box-shadow: var(--hfdx-shadow-soft) !important;
  color: var(--hfdx-text) !important;
}

body .widgettitle,
body .widget-title,
body .hfdxarc-card-title,
body .hfdx-card-title {
  background: transparent !important;
  border: 0 !important;
  color: var(--hfdx-gold) !important;
  text-shadow: none !important;
}

body .widget p,
body .widget li,
body .widget td,
body .widget label,
body .hfdxarc-card p,
body .hfdxarc-card li,
body .hfdx-card p,
body .hfdx-card li {
  color: var(--hfdx-text-soft) !important;
}

/* ---------------------------------------------------------
   Buttons / forms / tables
   --------------------------------------------------------- */

body button,
body input[type="button"],
body input[type="submit"],
body input[type="reset"],
body .button,
body .btn,
body .wp-block-button__link,
body a.button,
body .hfdxarc-btn,
body .hfdx-btn,
body .hfdxarc-page button,
body .hfdxarc-page .button,
body .hfdx-page button,
body .hfdx-page .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 10px 18px !important;
  color: #ffffff !important;
  background: linear-gradient(180deg, #248fe4, #0e5798) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: var(--hfdx-radius-sm) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 10px 22px rgba(0, 0, 0, 0.26) !important;
  font-weight: 900 !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1.1 !important;
  cursor: pointer !important;
}

body button:hover,
body input[type="button"]:hover,
body input[type="submit"]:hover,
body .button:hover,
body .btn:hover,
body .wp-block-button__link:hover,
body a.button:hover,
body .hfdxarc-btn:hover,
body .hfdx-btn:hover {
  color: #ffffff !important;
  background: linear-gradient(180deg, #34a3ff, #1267ad) !important;
  transform: translateY(-1px) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.26), 0 14px 28px rgba(0, 0, 0, 0.34), var(--hfdx-glow-blue) !important;
}

body input[type="text"],
body input[type="email"],
body input[type="url"],
body input[type="search"],
body input[type="tel"],
body input[type="number"],
body input[type="password"],
body select,
body textarea {
  color: #ffffff !important;
  background: rgba(2, 6, 12, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--hfdx-radius-sm) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

body input::placeholder,
body textarea::placeholder {
  color: rgba(220, 234, 248, 0.56) !important;
}

body table,
body .entry table,
body .entry-content table,
body .wp-block-table table {
  width: 100% !important;
  color: var(--hfdx-text) !important;
  background: rgba(0, 0, 0, 0.26) !important;
  border: 1px solid var(--hfdx-border) !important;
  border-collapse: collapse !important;
  border-radius: var(--hfdx-radius-md) !important;
  overflow: hidden !important;
}

body th,
body .entry table th,
body .entry-content table th,
body td,
body .entry table td,
body .entry-content table td {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding: 10px 12px !important;
}

body th,
body .entry table th,
body .entry-content table th {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

body td,
body .entry table td,
body .entry-content table td {
  color: var(--hfdx-text-soft) !important;
  background: rgba(0, 0, 0, 0.12) !important;
}

/* ---------------------------------------------------------
   HFDXARC plugin/page wrappers: force the unified theme shell.
   --------------------------------------------------------- */

body .hfdxarc-page,
body .hfdx-page,
body .hfdxarc-plugin-page,
body .hfdxarc-tech-page,
body .hfdxarc-technical-pages-scope,
body .hfdxarc-about-wrap,
body .hfdxarc-mission-wrap,
body .hfdxarc-contact,
body .hfdx-contact-page,
body .hfdx-contact-wrap,
body .hfdx-events-calendar,
body .hfdx-events-shell,
body .hfdx-wire-page,
body .hfdx-wire-wrap,
body .hfdxarc-onair,
body .hfdxarc-onair-shell,
body .hfdx-live-app,
body .hfdxarc-space-dashboard,
body .hfdx-mesh-page,
body .hfdx-radials-page,
body .hfdx-history-wrap,
body .hfdx-history-page,
body .hfdxarc-meet-members-wrap,
body .hfdxarc-ham-page,
body .gbmmh-report {
  color: var(--hfdx-text) !important;
}

body .hfdxarc-page *,
body .hfdx-page *,
body .hfdxarc-plugin-page *,
body .hfdxarc-tech-page *,
body .hfdxarc-technical-pages-scope *,
body .hfdxarc-about-wrap *,
body .hfdxarc-mission-wrap *,
body .hfdxarc-contact *,
body .hfdx-contact-page *,
body .hfdx-events-calendar *,
body .hfdx-events-shell *,
body .hfdx-wire-page *,
body .hfdx-wire-wrap *,
body .hfdxarc-onair *,
body .hfdxarc-onair-shell *,
body .hfdx-live-app *,
body .hfdxarc-space-dashboard *,
body .hfdx-mesh-page *,
body .hfdx-radials-page *,
body .hfdx-history-wrap *,
body .hfdx-history-page *,
body .hfdxarc-meet-members-wrap *,
body .hfdxarc-ham-page *,
body .gbmmh-report * {
  border-color: rgba(255, 255, 255, 0.16);
}

body .hfdxarc-page h1,
body .hfdxarc-page h2,
body .hfdxarc-page h3,
body .hfdx-page h1,
body .hfdx-page h2,
body .hfdx-page h3,
body .hfdxarc-tech-page h1,
body .hfdxarc-tech-page h2,
body .hfdxarc-tech-page h3,
body .hfdx-wire-page h1,
body .hfdx-wire-page h2,
body .hfdx-wire-page h3,
body .hfdxarc-onair h1,
body .hfdxarc-onair h2,
body .hfdxarc-onair h3,
body .hfdxarc-ham-page h1,
body .hfdxarc-ham-page h2,
body .hfdxarc-ham-page h3 {
  color: #ffffff !important;
}

body .hfdxarc-page h2,
body .hfdxarc-page h3,
body .hfdx-page h2,
body .hfdx-page h3,
body .hfdxarc-tech-page h2,
body .hfdxarc-tech-page h3,
body .hfdx-wire-page h2,
body .hfdx-wire-page h3,
body .hfdxarc-onair h2,
body .hfdxarc-onair h3,
body .hfdxarc-ham-page h2,
body .hfdxarc-ham-page h3 {
  color: var(--hfdx-gold) !important;
}

/* Remove old white/light page boxes on HFDXARC plugin pages. */
body.hfdx-unified-plugin-page article,
body.hfdxarc-template-fullwidth article,
body:has(:is(
  .hfdxarc-about-wrap,
  .hfdxarc-contact,
  .hfdx-contact-page,
  .hfdx-events-calendar,
  .hfdx-wire-page,
  .hfdx-wire-wrap,
  .hfdxarc-onair,
  .hfdx-live-app,
  .hfdxarc-space-dashboard,
  .hfdx-mesh-page,
  .hfdxarc-tech-page,
  .hfdxarc-ham-page,
  .gbmmh-report
)) article {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

body #footer-widgets-bg,
body #footer-wrap {
  background: linear-gradient(180deg, rgba(2, 4, 8, 0.96), rgba(0, 0, 0, 0.98)) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.36) !important;
}

body #footer {
  padding: clamp(18px, 1.6vw, 30px) 0 !important;
  color: var(--hfdx-text-soft) !important;
  background: transparent !important;
  border: 0 !important;
}

.hfdxarc-footer-grid {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: clamp(14px, 2vw, 34px) !important;
  align-items: center !important;
  width: 100% !important;
}

.hfdxarc-footer-brand strong,
.hfdxarc-footer-brand b {
  display: block !important;
  color: var(--hfdx-gold) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.hfdxarc-footer-brand,
.hfdxarc-footer-centre,
.hfdxarc-footer-73 {
  color: var(--hfdx-text-soft) !important;
  font-size: clamp(0.82rem, 0.88vw, 1rem) !important;
  line-height: 1.45 !important;
}

.hfdxarc-footer-centre {
  text-align: center !important;
}

.hfdxarc-footer-73 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  text-align: right !important;
}

.hfdxarc-footer-radio-icon {
  color: var(--hfdx-blue-2) !important;
  font-size: clamp(1.8rem, 2.8vw, 3rem) !important;
  line-height: 1 !important;
  text-shadow: 0 0 16px rgba(36, 151, 255, 0.35) !important;
}

.hfdxarc-footer-extra,
body #credit-link {
  margin-top: 12px !important;
  color: rgba(227, 237, 248, 0.64) !important;
  font-size: 0.78rem !important;
  text-align: center !important;
}

body #footer a,
body #credit-link a {
  color: rgba(141, 204, 255, 0.86) !important;
}

/* ---------------------------------------------------------
   Responsive header / menu
   --------------------------------------------------------- */

@media only screen and (max-width: 68em) {
  .hfdxarc-site-identity {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    min-height: auto !important;
    gap: 10px !important;
  }

  .hfdxarc-brand-title,
  body #logo .site-title.hfdxarc-brand-title {
    font-size: clamp(1.08rem, 3.8vw, 1.72rem) !important;
  }

  .hfdxarc-brand-callsigns {
    font-size: clamp(1rem, 3.1vw, 1.42rem) !important;
  }

  .hfdxarc-brand-meta,
  body #logo .site-description.hfdxarc-brand-meta {
    font-size: clamp(0.62rem, 1.9vw, 0.86rem) !important;
    letter-spacing: 0.045em !important;
  }

  .hfdxarc-rsgb-affiliation-copy {
    font-size: clamp(0.64rem, 1.8vw, 0.82rem) !important;
  }
}

@media only screen and (max-width: 60em) {
  body #header-wrap {
    position: relative !important;
  }

  .hfdxarc-site-identity {
    padding: 10px 4px !important;
  }

  .hfdxarc-rsgb-affiliation {
    gap: 5px !important;
  }

  .hfdxarc-rsgb-affiliation-logo {
    width: clamp(28px, 8vw, 46px) !important;
  }

  .hfdxarc-rsgb-affiliation-copy span,
  .hfdxarc-rsgb-affiliation-copy strong {
    display: block !important;
  }

  .hfdxarc-rsgb-affiliation-copy {
    font-size: clamp(0.52rem, 1.7vw, 0.72rem) !important;
    letter-spacing: 0.01em !important;
  }

  .hfdxarc-club-header-logo {
    width: clamp(38px, 11vw, 64px) !important;
    height: clamp(38px, 11vw, 64px) !important;
  }

  body #mainnav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 13px 15px !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(18, 26, 37, 0.98), rgba(8, 13, 20, 0.98)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-bottom: 3px solid var(--hfdx-gold) !important;
    border-radius: 0 !important;
    font-size: 0.94rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }

  body #mainnav-icon::after {
    content: "☰" !important;
    color: var(--hfdx-gold) !important;
    font-size: 1.15rem !important;
    line-height: 1 !important;
  }

  body #mainnav-icon.active::after {
    content: "×" !important;
    font-size: 1.45rem !important;
  }

  body #mainnav {
    border-top: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  }

  body #mainnav-menu {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 0 !important;
    padding: 8px !important;
    background: rgba(4, 9, 15, 0.98) !important;
  }

  body #mainnav-icon.active + #mainnav #mainnav-menu,
  body #mainnav.open #mainnav-menu,
  body #mainnav-menu[style*="display: block"],
  body #mainnav-menu[style*="display:block"] {
    display: flex !important;
  }

  body #mainnav-menu > li {
    display: block !important;
    width: 100% !important;
  }

  body #mainnav-menu a,
  body #mainnav-menu > li > a {
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 12px 44px 12px 13px !important;
    border-radius: 9px !important;
    text-align: left !important;
  }

  body #mainnav-menu > li > a::after {
    left: 0 !important;
    right: auto !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 3px !important;
    height: auto !important;
    transform: scaleY(0.32) !important;
  }

  body #mainnav-menu > li:hover > a::after,
  body #mainnav-menu > li:focus-within > a::after,
  body #mainnav-menu > li.current_page_item > a::after,
  body #mainnav-menu > li.current-menu-item > a::after,
  body #mainnav-menu > li.current-menu-ancestor > a::after,
  body #mainnav-menu > li.current_page_ancestor > a::after {
    transform: scaleY(1) !important;
  }

  body #mainnav-menu ul,
  body #mainnav-menu ul ul {
    position: static !important;
    display: none !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 4px 0 8px !important;
    padding: 6px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }

  body #mainnav-menu li.hfdxarc-submenu-open > ul {
    display: block !important;
  }

  body #mainnav-menu .hfdxarc-submenu-toggle {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: 8px !important;
  }

  body #mainnav-menu .hfdxarc-submenu-toggle::before {
    content: "+" !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body #mainnav-menu li.hfdxarc-submenu-open > .hfdxarc-submenu-toggle::before {
    content: "−" !important;
  }

  .hfdxarc-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    text-align: center !important;
  }

  .hfdxarc-footer-brand,
  .hfdxarc-footer-centre,
  .hfdxarc-footer-73 {
    justify-content: center !important;
    text-align: center !important;
  }
}

@media only screen and (max-width: 520px) {
  body .container,
  body #header,
  body #wrap.container,
  body #footer,
  body #footer-widgets {
    width: calc(100% - 8px) !important;
  }

  .hfdxarc-site-identity {
    grid-template-columns: 46px minmax(0, 1fr) 50px !important;
    gap: 5px !important;
  }

  .hfdxarc-rsgb-affiliation {
    justify-content: center !important;
  }

  .hfdxarc-rsgb-affiliation-copy {
    display: none !important;
  }

  .hfdxarc-brand-title,
  body #logo .site-title.hfdxarc-brand-title {
    font-size: clamp(0.86rem, 4.6vw, 1.18rem) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
  }

  .hfdxarc-brand-callsigns {
    font-size: clamp(0.84rem, 4vw, 1rem) !important;
  }

  .hfdxarc-brand-meta,
  body #logo .site-description.hfdxarc-brand-meta {
    font-size: 0.58rem !important;
    letter-spacing: 0.01em !important;
  }

  body #wrap.container {
    padding-top: 8px !important;
  }
}

/* =========================================================
   HFDXARC v1.2.1 page-width safety net
   Keeps modern/plugin pages as wide as the header/menu and
   prevents the parent theme sidebar layout from squeezing them.
   ========================================================= */
body.hfdxarc-no-sidebar-page #sidebar,
body.hfdxarc-plugin-content-page #sidebar,
body.hfdxarc-template-fullwidth #sidebar,
body.page-template-hfdxarc-template-fullwidth #sidebar,
body.page-template-hfdxarc-template-fullwidth-php #sidebar {
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
}

body.hfdxarc-no-sidebar-page #wrap.container,
body.hfdxarc-plugin-content-page #wrap.container,
body.hfdxarc-template-fullwidth #wrap.container,
body.page-template-hfdxarc-template-fullwidth #wrap.container,
body.page-template-hfdxarc-template-fullwidth-php #wrap.container,
body #wrap.container.hfdxarc-template-fullwidth-wrap,
body #wrap.container.template-fullwidth {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: min(calc(100vw - 24px), var(--hfdx-site-max)) !important;
  max-width: var(--hfdx-site-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body.hfdx-no-sidebar-page #content,
body.hfdxarc-no-sidebar-page #content,
body.hfdxarc-plugin-content-page #content,
body.hfdxarc-template-fullwidth #content,
body.page-template-hfdxarc-template-fullwidth #content,
body.page-template-hfdxarc-template-fullwidth-php #content,
body #wrap.container.hfdxarc-template-fullwidth-wrap #content,
body #wrap.container.template-fullwidth #content {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.hfdxarc-no-sidebar-page .entry,
body.hfdxarc-plugin-content-page .entry,
body.hfdxarc-template-fullwidth .entry,
body.hfdxarc-no-sidebar-page .entry-content,
body.hfdxarc-plugin-content-page .entry-content,
body.hfdxarc-template-fullwidth .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 980px) {
  body #wrap.container,
  body #content,
  body #content.primary,
  body #sidebar {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body #sidebar {
    margin-top: 18px !important;
  }
}
