:root {
  --wfd5-bg: #1C1311;
  --wfd5-surface: #2A1D1A;
  --wfd5-surface-elevated: #3C2925;
  --wfd5-border: rgba(246, 241, 240, 0.12);
  --wfd5-border-accent: rgba(51, 194, 230, 0.35);
  --wfd5-ink: #F6F1F0;
  --wfd5-ink-muted: #B8AFA9;
  --wfd5-ink-subtle: #8A7F79;
  --wfd5-accent: #33C2E6;
  --wfd5-accent-hover: #1FAACF;
  --wfd5-accent2: #55E916;
  --wfd5-on-accent: #111111;
  --wfd5-font-display: 'Archivo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wfd5-font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wfd5-base: 17px;
  --wfd5-scale: 1.2;
  --wfd5-notch: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
  --wfd5-max-width: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--wfd5-base);
  background-color: var(--wfd5-bg);
  color: var(--wfd5-ink);
  font-family: var(--wfd5-font-body);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px; /* Space for mobile sticky footer */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--wfd5-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--wfd5-accent2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--wfd5-font-display);
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.65rem; margin-top: 2rem; border-left: 4px solid var(--wfd5-accent); padding-left: 0.75rem; }
h3 { font-size: 1.3rem; margin-top: 1.5rem; color: var(--wfd5-accent); }
h4 { font-size: 1.1rem; }

/* Sticky Top Bar Navigation */
.wfd5-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(28, 19, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wfd5-border);
}

.wfd5-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  gap: 1rem;
}

.wfd5-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #FFFFFF;
  font-family: var(--wfd5-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  white-space: nowrap;
}

.wfd5-brand-logo {
  height: 38px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.wfd5-brand-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  background: linear-gradient(135deg, var(--wfd5-accent), var(--wfd5-accent2));
  color: var(--wfd5-on-accent);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wfd5-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

@media (min-width: 960px) {
  .wfd5-nav {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .wfd5-nav {
    gap: 0.95rem;
  }
}

.wfd5-nav-link {
  color: var(--wfd5-ink-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.4rem;
  white-space: nowrap;
  border-radius: 4px;
  transition: all 0.2s ease;
}

@media (min-width: 1200px) {
  .wfd5-nav-link {
    font-size: 0.88rem;
    padding: 0.35rem 0.65rem;
  }
}

.wfd5-nav-link:hover, .wfd5-nav-link.active {
  color: var(--wfd5-accent);
  background-color: rgba(51, 194, 230, 0.08);
  text-decoration: none;
}

.wfd5-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.wfd5-header-actions .wfd5-btn {
  padding: 0.38rem 0.72rem;
  font-size: 0.76rem;
}

@media (min-width: 1200px) {
  .wfd5-header-actions .wfd5-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
  }
}

.wfd5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wfd5-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  clip-path: var(--wfd5-notch);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.wfd5-btn-primary {
  background-color: var(--wfd5-accent2);
  color: var(--wfd5-on-accent);
  border: none;
  box-shadow: 0 0 15px rgba(85, 233, 22, 0.35);
}

.wfd5-btn-primary:hover {
  background-color: #6cf52c;
  color: #000;
  transform: translateY(-1px);
}

.wfd5-btn-secondary {
  background-color: var(--wfd5-accent);
  color: var(--wfd5-on-accent);
  border: none;
}

.wfd5-btn-secondary:hover {
  background-color: var(--wfd5-accent-hover);
  color: #000;
}

.wfd5-btn-outline {
  background-color: transparent;
  color: var(--wfd5-ink);
  border: 1px solid var(--wfd5-border);
}

.wfd5-btn-outline:hover {
  background-color: var(--wfd5-surface);
  border-color: var(--wfd5-accent);
  color: var(--wfd5-accent);
}

.wfd5-btn-large {
  font-size: 1.05rem;
  padding: 0.85rem 1.85rem;
}

/* Secondary Sub-Nav Bar for Mobile / Fast Navigation */
.wfd5-subnav {
  background-color: var(--wfd5-surface);
  border-bottom: 1px solid var(--wfd5-border);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.wfd5-subnav::-webkit-scrollbar {
  display: none;
}

.wfd5-subnav-inner {
  max-width: var(--wfd5-max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
}

.wfd5-subnav-link {
  color: var(--wfd5-ink-muted);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.04);
}

.wfd5-subnav-link:hover, .wfd5-subnav-link.active {
  background-color: var(--wfd5-accent);
  color: var(--wfd5-on-accent);
  font-weight: 700;
  text-decoration: none;
}

/* Main Container */
.wfd5-container {
  max-width: var(--wfd5-max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  width: 100%;
}

/* Breadcrumbs */
.wfd5-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--wfd5-ink-subtle);
  margin-bottom: 1.25rem;
}

.wfd5-breadcrumbs a {
  color: var(--wfd5-ink-muted);
  text-decoration: none;
}

.wfd5-breadcrumbs a:hover {
  color: var(--wfd5-accent);
}

.wfd5-breadcrumbs-sep {
  color: var(--wfd5-ink-subtle);
}

.wfd5-breadcrumbs-current {
  color: var(--wfd5-accent);
  font-weight: 600;
}

/* Full Bleed Hero Gradient Banner */
.wfd5-hero {
  background: linear-gradient(135deg, rgba(60, 41, 37, 0.9) 0%, rgba(28, 19, 17, 0.98) 100%),
              radial-gradient(circle at 80% 20%, rgba(51, 194, 230, 0.15) 0%, transparent 60%);
  border: 1px solid var(--wfd5-border-accent);
  clip-path: var(--wfd5-notch);
  padding: 2.2rem 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.wfd5-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(85, 233, 22, 0.12);
  border: 1px solid rgba(85, 233, 22, 0.3);
  color: var(--wfd5-accent2);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.wfd5-hero-title {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.wfd5-hero-desc {
  font-size: 1.05rem;
  color: var(--wfd5-ink-muted);
  max-width: 780px;
  margin-bottom: 1.4rem;
}

.wfd5-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.wfd5-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--wfd5-border);
}

@media (min-width: 640px) {
  .wfd5-hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wfd5-metric-box {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 0.75rem;
  border-left: 2px solid var(--wfd5-accent);
}

.wfd5-metric-val {
  font-family: var(--wfd5-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.wfd5-metric-label {
  font-size: 0.75rem;
  color: var(--wfd5-ink-muted);
  text-transform: uppercase;
}

/* Expert Insight Callout Box (Who / How / Why) */
.wfd5-expert-insight {
  background-color: var(--wfd5-surface);
  border-left: 4px solid var(--wfd5-accent2);
  clip-path: var(--wfd5-notch);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.wfd5-expert-insight-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--wfd5-accent2);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.wfd5-expert-insight-body {
  font-size: 0.92rem;
  color: var(--wfd5-ink-muted);
  font-style: italic;
}

/* Answer Capsule (GEO/AEO Direct Answer Box) */
.wfd5-answer-capsule {
  background-color: var(--wfd5-surface-elevated);
  border: 1px solid var(--wfd5-border-accent);
  clip-path: var(--wfd5-notch);
  padding: 1.15rem 1.35rem;
  margin: 1.25rem 0 1.75rem;
}

.wfd5-answer-capsule-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--wfd5-accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.wfd5-answer-capsule-text {
  font-size: 1rem;
  color: #FFFFFF;
  line-height: 1.55;
  font-weight: 500;
}

/* Layout Archetype: Comparison Table First */
.wfd5-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--wfd5-border);
  clip-path: var(--wfd5-notch);
  background-color: var(--wfd5-surface);
}

.wfd5-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.wfd5-table th {
  background-color: #1A110F;
  color: var(--wfd5-accent);
  font-family: var(--wfd5-font-display);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--wfd5-border-accent);
  white-space: nowrap;
}

.wfd5-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--wfd5-border);
  color: var(--wfd5-ink);
}

.wfd5-table tr:last-child td {
  border-bottom: none;
}

.wfd5-table tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.02);
}

.wfd5-table tr:hover td {
  background-color: rgba(51, 194, 230, 0.05);
}

.wfd5-badge-success {
  background-color: rgba(85, 233, 22, 0.15);
  color: var(--wfd5-accent2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.78rem;
}

.wfd5-badge-info {
  background-color: rgba(51, 194, 230, 0.15);
  color: var(--wfd5-accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.78rem;
}

/* Ticket-Notch Cards Grid */
.wfd5-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .wfd5-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .wfd5-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wfd5-card {
  background-color: var(--wfd5-surface);
  border: 1px solid var(--wfd5-border);
  clip-path: var(--wfd5-notch);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wfd5-card:hover {
  transform: translateY(-2px);
  border-color: var(--wfd5-accent);
}

.wfd5-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  clip-path: var(--wfd5-notch);
  margin-bottom: 0.85rem;
  background-color: #1A110F;
}

.wfd5-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.wfd5-card-desc {
  font-size: 0.88rem;
  color: var(--wfd5-ink-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.wfd5-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--wfd5-border);
}

/* Step-by-Step Instruction Lists */
.wfd5-steps {
  list-style: none;
  counter-reset: step-counter;
  margin: 1.5rem 0;
}

.wfd5-step-item {
  counter-increment: step-counter;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  background-color: var(--wfd5-surface);
  padding: 1rem 1.25rem;
  clip-path: var(--wfd5-notch);
  border: 1px solid var(--wfd5-border);
}

.wfd5-step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: var(--wfd5-accent);
  color: var(--wfd5-on-accent);
  font-family: var(--wfd5-font-display);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.wfd5-step-content h4 {
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.wfd5-step-content p {
  color: var(--wfd5-ink-muted);
  font-size: 0.92rem;
}

/* Content Pro & Con Split */
.wfd5-pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .wfd5-pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

.wfd5-pro-box {
  background-color: rgba(85, 233, 22, 0.05);
  border-left: 3px solid var(--wfd5-accent2);
  padding: 1rem 1.25rem;
  clip-path: var(--wfd5-notch);
}

.wfd5-con-box {
  background-color: rgba(230, 80, 51, 0.05);
  border-left: 3px solid #E65033;
  padding: 1rem 1.25rem;
  clip-path: var(--wfd5-notch);
}

.wfd5-pro-box h4 { color: var(--wfd5-accent2); margin-bottom: 0.5rem; }
.wfd5-con-box h4 { color: #E65033; margin-bottom: 0.5rem; }

.wfd5-pro-box ul, .wfd5-con-box ul {
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--wfd5-ink-muted);
}

.wfd5-pro-box li, .wfd5-con-box li {
  margin-bottom: 0.4rem;
}

/* Call to Action Box */
.wfd5-cta-box {
  background: linear-gradient(135deg, var(--wfd5-surface-elevated) 0%, var(--wfd5-surface) 100%);
  border: 1px solid var(--wfd5-accent);
  clip-path: var(--wfd5-notch);
  padding: 1.75rem 1.5rem;
  text-align: center;
  margin: 2.25rem 0;
}

.wfd5-cta-title {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.wfd5-cta-subtitle {
  color: var(--wfd5-ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* FAQ Accordion / Box */
.wfd5-faq {
  margin: 1.75rem 0;
}

.wfd5-faq-item {
  background-color: var(--wfd5-surface);
  border: 1px solid var(--wfd5-border);
  clip-path: var(--wfd5-notch);
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
}

.wfd5-faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.wfd5-faq-a {
  font-size: 0.92rem;
  color: var(--wfd5-ink-muted);
  line-height: 1.55;
}

/* Author Box */
.wfd5-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--wfd5-surface);
  border: 1px solid var(--wfd5-border);
  clip-path: var(--wfd5-notch);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
}

.wfd5-author-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--wfd5-accent);
}

.wfd5-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.wfd5-author-role {
  font-size: 0.8rem;
  color: var(--wfd5-accent);
  margin-bottom: 0.2rem;
}

.wfd5-author-bio {
  font-size: 0.82rem;
  color: var(--wfd5-ink-muted);
}

/* Responsible Gaming Advisory */
.wfd5-rg-banner {
  background-color: rgba(230, 80, 51, 0.08);
  border: 1px solid rgba(230, 80, 51, 0.25);
  clip-path: var(--wfd5-notch);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.wfd5-rg-badge {
  background-color: #E65033;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.wfd5-rg-text {
  font-size: 0.84rem;
  color: var(--wfd5-ink-muted);
  line-height: 1.45;
}

/* Footer: Minimal One Row */
.wfd5-footer {
  background-color: #130D0C;
  border-top: 1px solid var(--wfd5-border);
  padding: 1.5rem 1rem;
  font-size: 0.82rem;
  color: var(--wfd5-ink-subtle);
  margin-top: auto;
}

.wfd5-footer-inner {
  max-width: var(--wfd5-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .wfd5-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.wfd5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.wfd5-footer-link {
  color: var(--wfd5-ink-muted);
  text-decoration: none;
}

.wfd5-footer-link:hover {
  color: var(--wfd5-accent);
}

/* Sticky Mobile Bottom Bar */
.wfd5-mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: rgba(28, 19, 17, 0.98);
  border-top: 1px solid var(--wfd5-border-accent);
  z-index: 1000;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .wfd5-mobile-bar {
    display: none;
  }
}

.wfd5-mobile-btn {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wfd5-font-display);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  clip-path: var(--wfd5-notch);
  text-transform: uppercase;
}

/* Hub Directory & Silo Navigation System (Zero Orphan Architecture) */
.wfd5-silo-nav {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background-color: var(--wfd5-surface);
  border: 1px solid var(--wfd5-border);
  clip-path: var(--wfd5-notch);
}

.wfd5-silo-title {
  font-family: var(--wfd5-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wfd5-ink);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wfd5-silo-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .wfd5-silo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .wfd5-silo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wfd5-silo-link {
  display: block;
  padding: 0.65rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: var(--wfd5-ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.wfd5-silo-link:hover {
  background-color: rgba(51, 194, 230, 0.1);
  border-color: var(--wfd5-accent);
  color: var(--wfd5-accent);
  text-decoration: none;
}

.wfd5-silo-link.active {
  border-color: var(--wfd5-accent);
  color: var(--wfd5-accent);
  font-weight: 700;
  background-color: rgba(51, 194, 230, 0.08);
}

/* Multi-Column Sitemap Footer Directory */
.wfd5-footer-directory {
  max-width: var(--wfd5-max-width);
  margin: 0 auto 2rem auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .wfd5-footer-directory {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .wfd5-footer-directory {
    grid-template-columns: repeat(7, 1fr);
  }
}

.wfd5-footer-col h5 {
  font-family: var(--wfd5-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wfd5-ink);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wfd5-footer-col h5 a {
  color: var(--wfd5-accent);
  text-decoration: none;
}

.wfd5-footer-col h5 a:hover {
  text-decoration: underline;
}

.wfd5-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wfd5-footer-col a {
  color: var(--wfd5-ink-subtle);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.3;
}

.wfd5-footer-col a:hover {
  color: var(--wfd5-accent);
  text-decoration: none;
}
