/* =========================================================
   HFDXARC Club History Page - v1.0.7
   Clean CSS rebuild: wider page, no overlap, readable text,
   and no forced removal of the theme watermark/background.
   ========================================================= */

body.hfdx-history-page-active .content-area,
body.hfdx-history-page-active #primary,
body.hfdx-history-page-active main,
body.hfdx-history-page-active .site-main,
body.hfdx-history-page-active .entry-content,
body.hfdx-history-page-active .inside-article,
body.hfdx-history-page-active article.page,
body.hfdx-history-page-active .hentry {
  width: min(1500px, calc(100vw - 14px)) !important;
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.hfdx-history-page-active .entry-title,
body.hfdx-history-page-active header.entry-header {
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
}

.hfdx-history-wrap {
  --hfdx-text: #eaf3ff;
  --hfdx-muted: #cbd9e8;
  --hfdx-panel: rgba(6, 14, 27, 0.90);
  --hfdx-panel-2: rgba(9, 24, 44, 0.92);
  --hfdx-line: rgba(86, 157, 220, 0.36);
  --hfdx-line-strong: rgba(72, 190, 255, 0.64);
  --hfdx-cyan: #5ee7ff;
  --hfdx-blue: #2e95ee;
  --hfdx-gold: #ffd36a;
  --hfdx-green: #7dffba;
  --hfdx-radius: 18px;
  width: min(1500px, calc(100vw - 14px)) !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: clamp(14px, 1.8vw, 24px) 0 64px !important;
  color: var(--hfdx-text) !important;
  font-family: inherit;
  line-height: 1.7;
  background: transparent !important;
  overflow: hidden;
}

.hfdx-history-wrap,
.hfdx-history-wrap * { box-sizing: border-box; min-width: 0; }
.hfdx-history-wrap h1,
.hfdx-history-wrap h2,
.hfdx-history-wrap h3,
.hfdx-history-wrap h4,
.hfdx-history-wrap h5,
.hfdx-history-wrap h6,
.hfdx-history-wrap p,
.hfdx-history-wrap li,
.hfdx-history-wrap span,
.hfdx-history-wrap strong,
.hfdx-history-wrap figcaption {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: normal !important;
}

.hfdx-history-wrap p,
.hfdx-history-wrap li,
.hfdx-history-wrap figcaption {
  color: var(--hfdx-text) !important;
  font-size: clamp(1rem, 0.25vw + 0.95rem, 1.08rem);
  line-height: 1.72;
  text-align: left !important;
  hyphens: manual;
}
.hfdx-history-wrap p { margin: 0 0 1rem; }
.hfdx-history-wrap p:last-child { margin-bottom: 0; }
.hfdx-history-wrap strong { color: #fff !important; font-weight: 850; }
.hfdx-history-wrap ul { margin: 0; padding-left: 1.15rem; }
.hfdx-history-wrap li + li { margin-top: .45rem; }
.hfdx-history-wrap a { color: var(--hfdx-cyan) !important; }

.hfdx-history-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(18px, 3vw, 36px);
  align-items: end;
  padding: clamp(26px, 4vw, 58px);
  border: 1px solid var(--hfdx-line-strong);
  border-radius: 24px;
  background: radial-gradient(circle at 10% 0%, rgba(94,231,255,.18), transparent 34%), radial-gradient(circle at 95% 10%, rgba(255,211,106,.12), transparent 34%), linear-gradient(135deg, rgba(5,13,26,.96), rgba(10,31,58,.94)) !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.34);
}
.hfdx-history-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(0deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size:44px 44px; opacity:.38; pointer-events:none; }
.hfdx-history-hero > * { position: relative; z-index: 1; }
.hfdx-history-kicker { margin:0 0 .65rem !important; color:var(--hfdx-cyan) !important; font-size:.82rem !important; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
.hfdx-history-hero h1 { margin:0 0 .65rem !important; color:#fff !important; font-size:clamp(2.25rem,5vw,5.1rem); line-height:.98; letter-spacing:-.045em; }
.hfdx-history-lede { max-width:920px; color:#eef6ff !important; font-size:clamp(1.08rem,.7vw + 1rem,1.32rem) !important; line-height:1.58; }
.hfdx-history-quote { display:inline-flex; max-width:100%; margin-top:12px; padding:10px 14px; border:1px solid rgba(255,211,106,.40); border-radius:999px; background:rgba(255,211,106,.10); color:#fff3c9 !important; font-weight:850; }
.hfdx-history-hero__facts { display:grid; gap:12px; }
.hfdx-history-hero__facts span { display:block; padding:14px 16px; border:1px solid rgba(148,199,255,.28); border-radius:14px; background:rgba(255,255,255,.065); color:#eef6ff !important; }
.hfdx-history-hero__facts strong { display:block; margin-bottom:3px; color:var(--hfdx-cyan) !important; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }

.hfdx-history-nav { position:sticky; top:12px; z-index:10; display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 24px; padding:10px; border:1px solid var(--hfdx-line); border-radius:16px; background:rgba(4,11,22,.94) !important; box-shadow:0 16px 36px rgba(0,0,0,.24); backdrop-filter:blur(12px); }
.hfdx-history-nav a { flex:1 1 auto; min-width:130px; padding:9px 12px; border:1px solid rgba(148,199,255,.18); border-radius:10px; background:linear-gradient(180deg,rgba(29,74,119,.56),rgba(8,21,39,.70)) !important; color:#f4f9ff !important; font-size:.9rem; font-weight:850; line-height:1.15; text-align:center !important; text-decoration:none !important; }
.hfdx-history-nav a:hover,.hfdx-history-nav a:focus-visible { border-color:rgba(94,231,255,.52); background:linear-gradient(180deg,rgba(34,111,181,.72),rgba(11,35,64,.84)) !important; color:#fff !important; }

.hfdx-history-section { position:relative; overflow:hidden; scroll-margin-top:100px; margin-top:clamp(24px,3vw,42px); padding:clamp(20px,2.4vw,32px); border:1px solid rgba(75,146,214,.30); border-radius:18px; background:radial-gradient(circle at 100% 0%,rgba(56,170,255,.07),transparent 34%),linear-gradient(145deg,rgba(5,11,22,.80),rgba(8,22,42,.74)) !important; box-shadow:0 18px 46px rgba(0,0,0,.22); }
.hfdx-history-section::before { content:""; position:absolute; inset:0 0 auto; height:2px; background:linear-gradient(90deg,rgba(94,231,255,.72),rgba(46,149,238,.38),transparent); pointer-events:none; }
.hfdx-history-section__head { display:grid; gap:8px; margin:0 0 20px; padding:0 0 16px; border-bottom:1px solid rgba(75,146,214,.22); }
.hfdx-history-section__head--sub { margin-top:34px; }
.hfdx-history-year { display:inline-flex; width:fit-content; padding:7px 12px; border:1px solid rgba(94,231,255,.38); border-radius:999px; background:rgba(94,231,255,.09); color:var(--hfdx-cyan) !important; font-size:.78rem; font-weight:900; letter-spacing:.12em; line-height:1.1; text-transform:uppercase; }
.hfdx-history-section h2 { margin:0 !important; color:#fff !important; font-size:clamp(1.85rem,2.7vw,3.15rem); line-height:1.08; letter-spacing:-.035em; }
.hfdx-history-section__head p { max-width:980px; margin:0 !important; color:#eef6ff !important; font-size:clamp(1.02rem,.5vw + .95rem,1.18rem) !important; line-height:1.65; }

.hfdx-history-grid,.hfdx-history-timeline,.hfdx-history-photo-stack { display:grid; width:100%; gap:20px; margin-top:18px; }
.hfdx-history-grid > *,.hfdx-history-timeline > *,.hfdx-history-photo-stack > * { min-width:0 !important; max-width:100% !important; }
.hfdx-history-grid--2 { grid-template-columns:1fr !important; }
.hfdx-history-grid--3 { grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr)) !important; }
.hfdx-history-grid--4 { grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)) !important; }
.hfdx-history-timeline,.hfdx-history-timeline--vertical { grid-template-columns:1fr !important; }
.hfdx-history-photo-stack { grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)) !important; }

.hfdx-history-card,.hfdx-history-image-card,.hfdx-history-photo-stack figure,.hfdx-history-milestone,.hfdx-history-gallery { position:relative; overflow:hidden; margin:0; border:1px solid var(--hfdx-line); border-radius:var(--hfdx-radius); background:linear-gradient(145deg,rgba(6,14,27,.96),rgba(9,24,44,.96)) !important; box-shadow:0 18px 45px rgba(0,0,0,.25); }
.hfdx-history-card,.hfdx-history-milestone { padding:clamp(18px,2vw,26px); }
.hfdx-history-card::before,.hfdx-history-milestone::before { content:""; position:absolute; inset:0 0 auto; height:3px; background:linear-gradient(90deg,var(--hfdx-cyan),var(--hfdx-blue),transparent); opacity:.95; }
.hfdx-history-card h3,.hfdx-history-milestone h3 { margin:0 0 .8rem !important; color:#fff !important; font-size:clamp(1.18rem,.65vw + 1rem,1.55rem); line-height:1.18; letter-spacing:-.02em; }
.hfdx-history-card--feature { background:radial-gradient(circle at 0% 0%,rgba(94,231,255,.11),transparent 38%),linear-gradient(145deg,rgba(6,14,27,.98),rgba(10,31,58,.97)) !important; }
.hfdx-history-card--final { border-color:rgba(255,211,106,.36); background:radial-gradient(circle at 100% 0%,rgba(255,211,106,.11),transparent 34%),linear-gradient(145deg,rgba(6,14,27,.98),rgba(24,37,59,.97)) !important; }
.hfdx-history-card--score { border-color:rgba(125,255,186,.30); background:radial-gradient(circle at 100% 0%,rgba(125,255,186,.10),transparent 34%),linear-gradient(145deg,rgba(6,14,27,.98),rgba(8,39,49,.97)) !important; }
.hfdx-history-card--wide,.hfdx-history-card--names,.hfdx-history-card--final { margin-top:20px; }

.hfdx-history-name-grid,.hfdx-history-score-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:10px; }
.hfdx-history-name-grid span,.hfdx-history-score-grid span { display:grid; align-content:center; min-height:72px; padding:13px; border:1px solid rgba(148,199,255,.21); border-radius:14px; background:rgba(255,255,255,.065); color:#eef6ff !important; font-weight:750; text-align:left !important; }
.hfdx-history-name-grid strong,.hfdx-history-score-grid strong { display:block; color:var(--hfdx-cyan) !important; font-size:1.3rem; line-height:1.2; }
.hfdx-history-score-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); margin:12px 0 16px; }
.hfdx-history-score-grid span { min-height:94px; text-align:center !important; }
.hfdx-history-score-grid strong { color:var(--hfdx-green) !important; font-size:clamp(1.35rem,2vw,2rem); }

.hfdx-history-photo-stack figure,.hfdx-history-image-card { padding:0 !important; }
.hfdx-history-photo-stack img,.hfdx-history-image-card img { display:block; width:100% !important; max-width:100% !important; height:auto !important; max-height:560px; object-fit:cover; background:#08111f !important; }
.hfdx-history-image-card--portrait img { max-height:680px; object-fit:contain; padding:12px; }
.hfdx-history-photo-stack figcaption,.hfdx-history-image-card figcaption { padding:11px 14px; border-top:1px solid var(--hfdx-line); background:rgba(3,9,18,.88) !important; color:#e6f0fb !important; font-size:.92rem; text-align:left !important; }

.hfdx-history-gallery { padding:14px; background:rgba(5,12,24,.88) !important; }
.hfdx-history-gallery .ngg-galleryoverview,.hfdx-history-gallery .ngg-gallery-thumbnail-box,.hfdx-history-gallery .ngg-gallery-thumbnail,.hfdx-history-gallery .ngg-albumoverview,.hfdx-history-gallery .ngg-imagebrowser { background:transparent !important; }
.hfdx-history-gallery img { border:1px solid rgba(75,146,214,.42) !important; border-radius:12px !important; background:#08111f !important; box-shadow:0 8px 22px rgba(0,0,0,.28) !important; }

.hfdx-history-signoff { padding:16px; border:1px solid rgba(255,211,106,.30); border-radius:14px; background:rgba(255,211,106,.12) !important; color:#fff3c9 !important; text-align:left !important; }
.hfdx-history-backtop { position:fixed; right:18px; bottom:18px; z-index:20; display:inline-grid; place-items:center; width:44px; height:44px; border:1px solid rgba(94,231,255,.42); border-radius:999px; background:rgba(6,14,27,.90); color:#fff !important; font-size:1.35rem; font-weight:900; text-decoration:none !important; box-shadow:0 12px 28px rgba(0,0,0,.28); backdrop-filter:blur(12px); }

@media (max-width:980px) { .hfdx-history-hero { grid-template-columns:1fr; } .hfdx-history-nav { position:relative; top:auto; } }
@media (max-width:700px) {
  body.hfdx-history-page-active .content-area,body.hfdx-history-page-active #primary,body.hfdx-history-page-active main,body.hfdx-history-page-active .site-main,body.hfdx-history-page-active .entry-content,body.hfdx-history-page-active .inside-article,body.hfdx-history-page-active article.page,body.hfdx-history-page-active .hentry,.hfdx-history-wrap { width:min(100%,calc(100vw - 10px)) !important; }
  .hfdx-history-wrap { padding-top:10px !important; }
  .hfdx-history-hero,.hfdx-history-section,.hfdx-history-card,.hfdx-history-milestone,.hfdx-history-gallery { border-radius:14px; }
  .hfdx-history-hero,.hfdx-history-section { padding:16px; }
  .hfdx-history-card,.hfdx-history-milestone { padding:16px; }
  .hfdx-history-nav a { flex-basis:100%; }
  .hfdx-history-backtop { width:38px; height:38px; right:12px; bottom:12px; }
}


/* =========================================================
   v1.0.8 - stop right-hand overflow / safe menu-width layout
   ========================================================= */

/* Do not use 100vw for inner content. 100vw ignores the page's left
   offset and was causing the history boxes to shoot off the right side. */
body.hfdx-history-page-active .content-area,
body.hfdx-history-page-active #primary,
body.hfdx-history-page-active main,
body.hfdx-history-page-active .site-main,
body.hfdx-history-page-active .entry-content,
body.hfdx-history-page-active .inside-article,
body.hfdx-history-page-active article.page,
body.hfdx-history-page-active .hentry {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow-x: hidden !important;
}

/* Main plugin wrapper: wider than before, but never wider than its parent */
.hfdx-history-wrap {
  width: calc(100% - 24px) !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow-x: hidden !important;
}

/* Every section/card must obey the wrapper width */
.hfdx-history-section,
.hfdx-history-hero,
.hfdx-history-nav,
.hfdx-history-card,
.hfdx-history-milestone,
.hfdx-history-gallery,
.hfdx-history-image-card,
.hfdx-history-photo-stack figure {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Grid children must not set the row wider than the grid */
.hfdx-history-grid,
.hfdx-history-timeline,
.hfdx-history-photo-stack,
.hfdx-history-name-grid,
.hfdx-history-score-grid {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.hfdx-history-grid > *,
.hfdx-history-timeline > *,
.hfdx-history-photo-stack > *,
.hfdx-history-name-grid > *,
.hfdx-history-score-grid > * {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Text wrapping lock */
.hfdx-history-wrap h1,
.hfdx-history-wrap h2,
.hfdx-history-wrap h3,
.hfdx-history-wrap h4,
.hfdx-history-wrap h5,
.hfdx-history-wrap h6,
.hfdx-history-wrap p,
.hfdx-history-wrap li,
.hfdx-history-wrap span,
.hfdx-history-wrap figcaption,
.hfdx-history-wrap strong {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

/* Images must not push the layout wider */
.hfdx-history-wrap img,
.hfdx-history-gallery img,
.hfdx-history-photo-stack img,
.hfdx-history-image-card img {
  max-width: 100% !important;
  height: auto !important;
}

/* The wider two-column attempt is disabled; all text/photo sections are clean stacked blocks. */
.hfdx-history-grid--2,
.hfdx-history-grid--3,
.hfdx-history-grid--4,
.hfdx-history-timeline,
.hfdx-history-timeline--vertical {
  grid-template-columns: 1fr !important;
}

/* Photo-only stacks may use columns safely if there is enough room */
.hfdx-history-photo-stack {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important;
}

/* Medium and small screens */
@media (max-width: 900px) {
  .hfdx-history-wrap {
    width: calc(100% - 14px) !important;
    max-width: 100% !important;
  }

  .hfdx-history-section,
  .hfdx-history-hero {
    padding: 16px !important;
  }
}

@media (max-width: 560px) {
  .hfdx-history-wrap {
    width: calc(100% - 8px) !important;
  }

  .hfdx-history-section,
  .hfdx-history-hero,
  .hfdx-history-card,
  .hfdx-history-milestone,
  .hfdx-history-gallery {
    border-radius: 12px !important;
  }
}


/* =========================================================
   v1.0.9 - identity/logo image block
   ========================================================= */
.hfdx-history-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hfdx-history-logo-grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

.hfdx-history-image-card--logo {
  overflow: hidden;
}

.hfdx-history-image-card--logo img {
  width: 100% !important;
  max-width: 100% !important;
  height: 240px !important;
  max-height: none !important;
  object-fit: contain !important;
  padding: 14px;
  background: rgba(255,255,255,0.03) !important;
}

.hfdx-history-image-card--logo figcaption {
  min-height: 56px;
}

@media (max-width: 700px) {
  .hfdx-history-logo-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   v1.0.14 - full-content grammar-checked layout support
   Keeps all visible history text while styling the raw page copy.
   ========================================================= */
.hfdx-history-wrap--full-copy {
  max-width: 1280px !important;
}
.hfdx-history-full-copy {
  padding: clamp(18px, 2.6vw, 34px) !important;
}
.hfdx-history-full-copy h3,
.hfdx-history-full-copy h5,
.hfdx-history-full-copy h6,
.hfdx-history-full-copy > strong {
  display: block;
  margin: 26px 0 12px !important;
  color: #ffd36a !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hfdx-history-full-copy h6 { font-size: clamp(1.15rem, .75vw + 1rem, 1.55rem) !important; }
.hfdx-history-full-copy h5 { font-size: clamp(1.25rem, .9vw + 1rem, 1.75rem) !important; }
.hfdx-history-full-copy h3 { font-size: clamp(1.28rem, 1vw + 1rem, 1.85rem) !important; }
.hfdx-history-full-copy p,
.hfdx-history-full-copy li {
  color: #eaf3ff !important;
  font-size: clamp(1rem, .25vw + .95rem, 1.08rem) !important;
  line-height: 1.72 !important;
}
.hfdx-history-full-copy hr {
  height: 1px !important;
  margin: 28px 0 !important;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(94,231,255,.55), rgba(255,211,106,.45), transparent) !important;
}
.hfdx-history-full-copy img {
  max-width: 100% !important;
  height: auto !important;
  margin: 14px 0 18px !important;
  border: 1px solid rgba(75,146,214,.42) !important;
  border-radius: 14px !important;
  background: #08111f !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.30) !important;
}
.hfdx-history-full-copy .alignright {
  float: right;
  margin: 8px 0 18px 22px !important;
}
.hfdx-history-full-copy .alignleft {
  float: left;
  margin: 8px 22px 18px 0 !important;
}
.hfdx-history-full-copy .alignnone,
.hfdx-history-full-copy .aligncenter {
  display: block;
}
.hfdx-history-full-copy .ngg-galleryoverview,
.hfdx-history-full-copy .ngg-gallery-thumbnail-box,
.hfdx-history-full-copy .ngg-gallery-thumbnail {
  background: transparent !important;
}
@media (max-width: 760px) {
  .hfdx-history-full-copy .alignright,
  .hfdx-history-full-copy .alignleft {
    float: none !important;
    display: block !important;
    margin: 14px 0 18px !important;
  }
}


/* =========================================================
   v1.0.15 - HFDXARC unified black/gold/blue site style
   Style-only update: keeps all history text/content intact.
   ========================================================= */

body.hfdx-history-page-active {
  background-color: #05080d !important;
  color: #ffffff !important;
}

body.hfdx-history-page-active #wrapper,
body.hfdx-history-page-active #main,
body.hfdx-history-page-active #content,
body.hfdx-history-page-active .container,
body.hfdx-history-page-active .content-wrap,
body.hfdx-history-page-active .site-content {
  background: transparent !important;
}

body.hfdx-history-page-active #primary,
body.hfdx-history-page-active #content,
body.hfdx-history-page-active .content-area,
body.hfdx-history-page-active .site-main,
body.hfdx-history-page-active .entry-content,
body.hfdx-history-page-active article.page,
body.hfdx-history-page-active .hentry {
  width: min(1500px, calc(100vw - 24px)) !important;
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.hfdx-history-page-active .entry-title {
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0,0,0,.75) !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
  margin: 8px 0 12px !important;
}

body.hfdx-history-page-active header.entry-header {
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
}

body.hfdx-history-page-active #secondary,
body.hfdx-history-page-active .sidebar,
body.hfdx-history-page-active .widget-area {
  display: none !important;
}

.hfdx-history-wrap {
  --hfdx-bg: #05080d;
  --hfdx-panel: rgba(9, 16, 24, 0.90);
  --hfdx-panel-strong: rgba(6, 12, 20, 0.96);
  --hfdx-panel-soft: rgba(14, 24, 36, 0.82);
  --hfdx-border: rgba(255, 255, 255, 0.16);
  --hfdx-border-strong: rgba(255, 255, 255, 0.24);
  --hfdx-gold: #ffd200;
  --hfdx-gold-soft: rgba(255, 210, 0, 0.17);
  --hfdx-blue: #1677c8;
  --hfdx-blue-bright: #2497ff;
  --hfdx-text: #ffffff;
  --hfdx-muted: #d7e3ef;
  --hfdx-soft: #aebdcb;

  width: min(1500px, calc(100vw - 24px)) !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: 4px 0 52px !important;
  color: var(--hfdx-text) !important;
  background: transparent !important;
  overflow: visible !important;
}

.hfdx-history-wrap::before {
  content: "HFDXARC Club History";
  display: block;
  margin: 0 0 12px;
  padding: 10px 14px;
  width: fit-content;
  max-width: 100%;
  color: var(--hfdx-gold);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 210, 0, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.34);
}

.hfdx-history-section,
.hfdx-history-full-copy {
  position: relative !important;
  padding: clamp(20px, 2.6vw, 38px) !important;
  margin: 0 0 24px !important;
  color: var(--hfdx-text) !important;
  background:
    radial-gradient(circle at top right, rgba(36, 151, 255, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 210, 0, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(12, 22, 32, 0.94), rgba(5, 10, 16, 0.94)) !important;
  border: 1px solid var(--hfdx-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.48) !important;
  overflow: hidden !important;
}

.hfdx-history-full-copy::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--hfdx-gold), var(--hfdx-blue-bright), transparent);
  opacity: .95;
  pointer-events: none;
}

.hfdx-history-wrap,
.hfdx-history-wrap * {
  box-sizing: border-box !important;
}

.hfdx-history-full-copy h3,
.hfdx-history-full-copy h5,
.hfdx-history-full-copy h6,
.hfdx-history-full-copy > strong {
  display: block !important;
  width: 100% !important;
  margin: 28px 0 12px !important;
  padding: 0 0 10px !important;
  color: var(--hfdx-gold) !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 210, 0, 0.23) !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  letter-spacing: 0.035em !important;
  text-transform: uppercase !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.72) !important;
}

.hfdx-history-full-copy h6 { font-size: clamp(1.1rem, .7vw + 1rem, 1.48rem) !important; }
.hfdx-history-full-copy h5 { font-size: clamp(1.22rem, .85vw + 1rem, 1.72rem) !important; }
.hfdx-history-full-copy h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.85rem) !important; }

.hfdx-history-full-copy h6:first-child,
.hfdx-history-full-copy h5:first-child,
.hfdx-history-full-copy h3:first-child {
  margin-top: 0 !important;
}

.hfdx-history-full-copy p,
.hfdx-history-full-copy li,
.hfdx-history-full-copy span,
.hfdx-history-full-copy div {
  color: var(--hfdx-muted) !important;
}

.hfdx-history-full-copy p,
.hfdx-history-full-copy li {
  font-size: clamp(1rem, .24vw + .96rem, 1.08rem) !important;
  line-height: 1.72 !important;
  text-align: left !important;
}

.hfdx-history-full-copy p {
  margin: 0 0 1rem !important;
}

.hfdx-history-full-copy strong {
  color: #ffffff !important;
  font-weight: 900 !important;
}

.hfdx-history-full-copy a {
  color: var(--hfdx-blue-bright) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

.hfdx-history-full-copy a:hover,
.hfdx-history-full-copy a:focus-visible {
  color: var(--hfdx-gold) !important;
}

.hfdx-history-full-copy hr {
  height: 1px !important;
  margin: 30px 0 !important;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(255,210,0,.55), rgba(36,151,255,.48), transparent) !important;
}

.hfdx-history-full-copy img {
  max-width: 100% !important;
  height: auto !important;
  margin: 14px 0 20px !important;
  padding: 6px !important;
  background: rgba(0,0,0,.32) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.42) !important;
}

.hfdx-history-full-copy .alignright {
  float: right !important;
  margin: 8px 0 20px 24px !important;
}

.hfdx-history-full-copy .alignleft {
  float: left !important;
  margin: 8px 24px 20px 0 !important;
}

.hfdx-history-full-copy .alignnone,
.hfdx-history-full-copy .aligncenter {
  display: block !important;
}

.hfdx-history-full-copy .ngg-galleryoverview,
.hfdx-history-full-copy .ngg-gallery-thumbnail-box,
.hfdx-history-full-copy .ngg-gallery-thumbnail,
.hfdx-history-full-copy .ngg-albumoverview,
.hfdx-history-full-copy .ngg-imagebrowser {
  background: transparent !important;
  color: var(--hfdx-text) !important;
}

.hfdx-history-full-copy .ngg-galleryoverview {
  margin: 18px 0 24px !important;
  padding: 16px !important;
  background: rgba(0,0,0,.24) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 16px !important;
}

.hfdx-history-full-copy .ngg-gallery-thumbnail img,
.hfdx-history-full-copy .ngg-imagebrowser img {
  border: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 12px !important;
  background: rgba(0,0,0,.32) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.34) !important;
}

.hfdx-history-backtop {
  background: linear-gradient(180deg, var(--hfdx-blue-bright), #0f5797) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.26) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.44) !important;
}

body.hfdx-history-page-active .sharedaddy,
body.hfdx-history-page-active #jp-relatedposts,
body.hfdx-history-page-active .jp-relatedposts,
body.hfdx-history-page-active .sd-like,
body.hfdx-history-page-active .post-likes-widget,
body.hfdx-history-page-active .jetpack-likes-widget-wrapper {
  display: none !important;
}

@media (max-width: 900px) {
  .hfdx-history-wrap {
    width: calc(100% - 14px) !important;
    max-width: 100% !important;
  }

  .hfdx-history-section,
  .hfdx-history-full-copy {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .hfdx-history-full-copy .alignright,
  .hfdx-history-full-copy .alignleft {
    float: none !important;
    display: block !important;
    margin: 14px 0 20px !important;
  }
}

@media (max-width: 560px) {
  body.hfdx-history-page-active #primary,
  body.hfdx-history-page-active #content,
  body.hfdx-history-page-active .content-area,
  body.hfdx-history-page-active .site-main,
  body.hfdx-history-page-active .entry-content,
  body.hfdx-history-page-active article.page,
  body.hfdx-history-page-active .hentry {
    width: calc(100vw - 10px) !important;
  }

  .hfdx-history-wrap {
    width: calc(100% - 8px) !important;
    padding-bottom: 34px !important;
  }

  .hfdx-history-section,
  .hfdx-history-full-copy {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  .hfdx-history-wrap::before {
    font-size: .68rem;
    line-height: 1.15;
  }

  .hfdx-history-full-copy p,
  .hfdx-history-full-copy li {
    font-size: .96rem !important;
    line-height: 1.66 !important;
  }
}


/* =========================================================
   v1.0.16 - premium chapter-card layout + header logo section
   Style/layout update only: keeps the history copy intact.
   ========================================================= */

.hfdx-history-wrap {
  max-width: 1500px !important;
  padding-top: 10px !important;
}

.hfdx-history-wrap::before {
  display: none !important;
}

.hfdx-history-hero-v16 {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: end;
  min-height: clamp(240px, 28vw, 390px);
  margin: 0 0 14px !important;
  padding: clamp(26px, 4vw, 58px) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(90deg, rgba(2,6,12,.96), rgba(5,16,29,.82), rgba(5,16,29,.60)),
    radial-gradient(circle at 88% 35%, rgba(255,210,0,.20), transparent 23%),
    radial-gradient(circle at 18% 0%, rgba(36,151,255,.20), transparent 38%),
    linear-gradient(180deg, rgba(12,22,32,.94), rgba(5,10,16,.94)) !important;
  box-shadow: 0 24px 72px rgba(0,0,0,.52) !important;
}

.hfdx-history-hero-v16::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .45;
  pointer-events: none;
}

.hfdx-history-hero-v16::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd200, #2497ff, transparent);
  pointer-events: none;
}

.hfdx-history-hero-v16 > * {
  position: relative;
  z-index: 1;
}

.hfdx-history-kicker-v16 {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 8px 12px;
  color: #07101b !important;
  background: linear-gradient(180deg, #ffd200, #d89a00) !important;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.hfdx-history-hero-v16 h1 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(2.35rem, 5vw, 5.35rem) !important;
  line-height: .98 !important;
  font-weight: 950 !important;
  letter-spacing: -.045em !important;
  text-shadow: 0 4px 22px rgba(0,0,0,.78) !important;
}

.hfdx-history-hero-v16 p {
  max-width: 930px;
  margin: 0 !important;
  color: #eaf3ff !important;
  font-size: clamp(1.02rem, .55vw + .96rem, 1.22rem) !important;
  line-height: 1.6 !important;
}

.hfdx-history-hero-v16__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hfdx-history-hero-v16__facts span {
  display: block;
  padding: 13px 14px;
  color: #fff !important;
  background: rgba(0,0,0,.30) !important;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.hfdx-history-hero-v16__facts strong {
  display: block;
  margin: 0 0 3px;
  color: #ffd200 !important;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hfdx-history-nav-v16 {
  position: sticky;
  top: 8px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px;
  background: rgba(3,8,14,.92) !important;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
}

.hfdx-history-nav-v16 a {
  flex: 1 1 130px;
  padding: 9px 12px;
  color: #fff !important;
  background: linear-gradient(180deg, rgba(23,76,126,.88), rgba(6,22,39,.88)) !important;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.hfdx-history-nav-v16 a:hover,
.hfdx-history-nav-v16 a:focus-visible {
  color: #07101b !important;
  background: linear-gradient(180deg, #ffd200, #d89a00) !important;
  border-color: rgba(255,210,0,.70);
}

.hfdx-history-section.hfdx-history-full-copy {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hfdx-history-section.hfdx-history-full-copy::before {
  display: none !important;
}

.hfdx-history-chapter {
  position: relative;
  clear: both;
  margin: 0 0 18px !important;
  padding: clamp(20px, 2.3vw, 34px) !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(36,151,255,.13), transparent 32%),
    linear-gradient(180deg, rgba(12,22,32,.95), rgba(5,10,16,.95)) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 54px rgba(0,0,0,.42) !important;
  overflow: hidden !important;
}

.hfdx-history-chapter::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ffd200, #2497ff, transparent);
  pointer-events: none;
}

.hfdx-history-chapter:nth-child(odd) {
  background:
    radial-gradient(circle at 0% 0%, rgba(255,210,0,.09), transparent 32%),
    linear-gradient(180deg, rgba(12,22,32,.95), rgba(5,10,16,.95)) !important;
}

.hfdx-history-chapter > h3:first-child,
.hfdx-history-chapter > h5:first-child,
.hfdx-history-chapter > h6:first-child,
.hfdx-history-chapter > strong:first-child {
  margin-top: 0 !important;
}

.hfdx-history-full-copy h3,
.hfdx-history-full-copy h5,
.hfdx-history-full-copy h6,
.hfdx-history-full-copy > strong,
.hfdx-history-chapter > strong {
  border-bottom-color: rgba(255,210,0,.28) !important;
}

.hfdx-history-full-copy p,
.hfdx-history-full-copy li,
.hfdx-history-generated-p {
  color: #dce8f5 !important;
  max-width: 1120px;
}

.hfdx-history-full-copy img {
  background: rgba(0,0,0,.42) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.46) !important;
}

.hfdx-history-club-logo-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 10px 0 20px;
}

.hfdx-history-club-logo-card {
  margin: 0 !important;
  padding: 22px !important;
  background:
    radial-gradient(circle at center, rgba(255,210,0,.12), transparent 48%),
    linear-gradient(180deg, rgba(10,20,31,.94), rgba(3,8,14,.94)) !important;
  border: 1px solid rgba(255,210,0,.30) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.46) !important;
  text-align: center !important;
}

.hfdx-history-club-logo-card img {
  display: block !important;
  width: min(100%, 260px) !important;
  height: auto !important;
  max-height: 260px !important;
  margin: 0 auto 12px !important;
  padding: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hfdx-history-club-logo-card figcaption {
  color: #fff3bd !important;
  font-size: .92rem !important;
  font-weight: 800;
  line-height: 1.35;
  text-align: center !important;
}

.hfdx-history-chapter .ngg-galleryoverview,
.hfdx-history-chapter .ngg-albumoverview,
.hfdx-history-chapter .ngg-imagebrowser {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 18px 0 24px !important;
  padding: 16px !important;
  background:
    radial-gradient(circle at top right, rgba(36,151,255,.11), transparent 30%),
    rgba(0,0,0,.28) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.hfdx-history-chapter .ngg-gallery-thumbnail-box {
  float: none !important;
  display: inline-flex !important;
  margin: 0 !important;
  width: auto !important;
}

.hfdx-history-chapter .ngg-gallery-thumbnail {
  margin: 0 !important;
}

.hfdx-history-chapter .ngg-gallery-thumbnail img,
.hfdx-history-chapter .ngg-imagebrowser img {
  width: auto !important;
  max-width: 180px !important;
  max-height: 130px !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 4px !important;
  border-radius: 10px !important;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.hfdx-history-chapter .ngg-gallery-thumbnail img:hover {
  transform: translateY(-2px);
  border-color: rgba(255,210,0,.55) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.46) !important;
}

.hfdx-history-backtop {
  z-index: 80 !important;
}

@media (max-width: 960px) {
  .hfdx-history-hero-v16 {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hfdx-history-nav-v16 {
    position: relative;
    top: auto;
  }

  .hfdx-history-club-logo-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hfdx-history-hero-v16,
  .hfdx-history-chapter {
    border-radius: 13px !important;
    padding: 16px !important;
  }

  .hfdx-history-nav-v16 a {
    flex-basis: calc(50% - 8px);
    font-size: .72rem;
    padding: 8px 7px;
  }

  .hfdx-history-hero-v16 h1 {
    font-size: clamp(2.05rem, 14vw, 3.2rem) !important;
  }

  .hfdx-history-chapter .ngg-galleryoverview,
  .hfdx-history-chapter .ngg-albumoverview,
  .hfdx-history-chapter .ngg-imagebrowser {
    padding: 10px !important;
    gap: 6px !important;
  }

  .hfdx-history-chapter .ngg-gallery-thumbnail img,
  .hfdx-history-chapter .ngg-imagebrowser img {
    max-width: 128px !important;
    max-height: 96px !important;
  }
}
