/* HRVault Design System — Brand Variables & Base Reset */
body {
  cursor: default;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --hv-navy: #1A2F4F;
  --hv-orange: #F17435;
  --hv-orange-hover: #d65f28;
  --hv-blue: #3D9BE9;
  --hv-charcoal: #242D3C;
  --hv-muted: #9ca3af;
  --hv-warm-gray: #F7F5F0;
  --hv-line: #D4D0C8;
}

/* Focus-visible for keyboard a11y */
.hv-header *:focus-visible,
.hv-modal-overlay *:focus-visible {
  outline: 2px solid var(--hv-blue);
  outline-offset: 2px;
}
/* HRVault Header — Two-Row Editorial
   ─────────────────────────────────────
   Row 1: Logo (left) + User (right)
   Row 2: Navigation links
   Inspired by HBR.org */

/* Header wrapper */
.hv-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}

.hv-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════
   ROW 1: Logo + User actions
   ═══════════════════════════════════ */

.hv-header-top {
  border-bottom: 1px solid var(--hv-line);
}
.hv-header-top .hv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo — large, editorial */
.hv-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.hv-logo-img {
  height: 40px;
  width: auto;
}

/* Header actions (right side) */
.hv-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ═══════════════════════════════════
   ROW 2: Navigation
   ═══════════════════════════════════ */

.hv-header-nav {
  border-bottom: 2px solid var(--hv-navy);
}
.hv-header-nav .hv-header-inner {
  display: flex;
  align-items: center;
}

/* Nav menu */
.hv-nav {
  width: 100%;
}
.hv-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Menu items */
.hv-nav-menu > li {
  position: relative;
}
.hv-nav-menu > li > a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hv-navy);
  text-decoration: none;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease-out;
  position: relative;
}
.hv-nav-menu > li:first-child > a {
  padding-left: 0;
}
.hv-nav-menu > li > a:hover,
.hv-nav-menu > li.current-menu-item > a,
.hv-nav-menu > li.current-menu-ancestor > a {
  color: var(--hv-orange);
}

/* Active underline */
.hv-nav-menu > li.current-menu-item > a::before,
.hv-nav-menu > li.current-menu-ancestor > a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hv-orange);
}

/* Dropdown indicator */
.hv-nav-menu > li.menu-item-has-children > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 3.5px solid currentColor;
  opacity: 0.4;
  transition: opacity 0.2s ease-out;
}
.hv-nav-menu > li.menu-item-has-children:hover > a::after {
  opacity: 1;
}

/* Dropdowns */
.hv-nav-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--hv-line);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(26, 47, 79, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease-out, visibility 0.15s ease-out;
  z-index: 1000;
}
.hv-nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* Dropdown items */
.hv-nav-menu .sub-menu li a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--hv-charcoal);
  text-decoration: none;
  padding: 8px 20px;
  display: block;
  transition: color 0.15s ease-out, background-color 0.15s ease-out;
}
.hv-nav-menu .sub-menu li a:hover {
  color: var(--hv-orange);
  background: var(--hv-warm-gray);
}
.hv-nav-menu .sub-menu li + li {
  border-top: 1px solid var(--hv-line);
}


/* ═══════════════════════════════════
   USER AREA
   ═══════════════════════════════════ */

.hv-user-menu {
  position: relative;
}
.hv-user-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color 0.15s ease-out;
}
.hv-user-toggle:hover {
  background: var(--hv-warm-gray);
}
.hv-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.hv-user-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--hv-charcoal);
}
.hv-chevron {
  color: var(--hv-muted);
  transition: transform 0.2s ease-out;
}
.hv-user-menu.is-open .hv-chevron {
  transform: rotate(180deg);
}

/* User dropdown */
.hv-user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--hv-line);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(26, 47, 79, 0.08);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease-out, visibility 0.15s ease-out;
  z-index: 1000;
}
.hv-user-menu.is-open .hv-user-dropdown {
  opacity: 1;
  visibility: visible;
}
.hv-user-dropdown a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--hv-charcoal);
  text-decoration: none;
  padding: 8px 20px;
  display: block;
  transition: color 0.15s ease-out, background-color 0.15s ease-out;
}
.hv-user-dropdown a:hover {
  color: var(--hv-orange);
  background: var(--hv-warm-gray);
}
.hv-user-dropdown a + a {
  border-top: 1px solid var(--hv-line);
}

/* Login button (logged out) */
.hv-login-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--hv-navy);
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid var(--hv-line);
  border-radius: 6px;
  background-color: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease-out, color 0.2s ease-out;
}
.hv-login-btn:hover,
.hv-login-btn:focus {
  border-color: var(--hv-orange);
  background-color: transparent;
  color: var(--hv-orange);
}

/* CTA button — logged out only */
.hv-cta-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  padding: 8px 20px;
  background: var(--hv-orange);
  border-radius: 6px;
  transition: background-color 0.2s ease-out;
  white-space: nowrap;
}
.hv-cta-btn:hover {
  background: var(--hv-orange-hover);
  color: #fff !important;
}


/* ═══════════════════════════════════
   MEGA MENU PANELS
   ═══════════════════════════════════ */

/* Base panel */
.hv-mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  background: #fff;
  border: 1px solid var(--hv-line);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(26, 47, 79, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
  z-index: 1000;
  overflow: hidden;
}
.hv-has-mega:hover > .hv-mega-panel {
  opacity: 1;
  visibility: visible;
}

/* ── Άρθρα: featured image left + category list right ── */
.hv-mega--articles {
  grid-template-columns: 280px 260px;
  width: 540px;
}

/* ── HR Toolkit: icon list left + featured image right ── */
.hv-mega--toolkit {
  grid-template-columns: 280px 260px;
  width: 540px;
}

/* Featured image card */
.hv-mega-featured {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}
.hv-mega-featured-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--hv-warm-gray);
  position: relative;
}
.hv-mega-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--hv-orange);
  padding: 3px 8px;
  border-radius: 3px;
}
.hv-mega-featured-title {
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--hv-charcoal);
  line-height: 1.35;
  padding: 12px 16px 16px;
  transition: color 0.15s ease-out;
}
.hv-mega-featured:hover .hv-mega-featured-title {
  color: var(--hv-orange);
}

/* Category / item list */
.hv-mega-list {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.hv-mega-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease-out;
}
.hv-mega-list-item:hover {
  background: var(--hv-warm-gray);
}

/* Color dot (Άρθρα) */
.hv-mega-list-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* Icon (Toolkit) */
.hv-mega-list-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hv-warm-gray);
  border-radius: 6px;
  color: var(--hv-navy);
}
.hv-mega-list-icon svg {
  width: 16px;
  height: 16px;
}
.hv-mega-list-item:hover .hv-mega-list-icon {
  background: var(--hv-navy);
  color: #fff;
}

/* List text */
.hv-mega-list-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--hv-navy);
  display: block;
  transition: color 0.15s ease-out;
}
.hv-mega-list-item:hover .hv-mega-list-title {
  color: var(--hv-orange);
}
.hv-mega-list-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--hv-muted);
  line-height: 1.4;
  display: block;
  margin-top: 2px;
}

/* View all link */
.hv-mega-viewall {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--hv-blue);
  text-decoration: none;
  padding: 10px 20px 6px;
  margin-top: auto;
  transition: color 0.15s ease-out;
}
.hv-mega-viewall:hover {
  color: var(--hv-orange);
}


/* ═══════════════════════════════════
   LOGIN MODAL
   ═══════════════════════════════════ */

.hv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 47, 79, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}
.hv-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.hv-modal {
  background: #fff;
  border-radius: 10px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 16px 48px rgba(26, 47, 79, 0.15);
}
.hv-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hv-muted);
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s ease-out;
}
.hv-modal-close:hover {
  color: var(--hv-charcoal);
}
.hv-modal-title {
  font-family: 'Source Serif 4', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--hv-navy);
  margin: 0 0 4px 0;
}
.hv-modal-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--hv-muted);
  margin: 0 0 24px 0;
}
.hv-modal-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* Google Sign-In button */
.hv-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hv-charcoal);
  background: #fff;
  border: 1px solid var(--hv-line);
  border-radius: 6px;
  padding: 11px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
  box-sizing: border-box;
}
.hv-google-btn:hover,
.hv-google-btn:focus {
  background: #f8f9fa;
  border-color: #dadce0;
  color: var(--hv-charcoal);
  text-decoration: none;
}
.hv-google-icon {
  flex-shrink: 0;
}

/* LinkedIn Sign-In button */
.hv-linkedin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #0A66C2;
  border: 1px solid #0A66C2;
  border-radius: 6px;
  padding: 11px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease-out;
  box-sizing: border-box;
  margin-top: 8px;
}
.hv-linkedin-btn:hover,
.hv-linkedin-btn:focus {
  background: #004182;
  border-color: #004182;
  color: #fff;
  text-decoration: none;
}

.hv-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.hv-login-divider::before,
.hv-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hv-line);
}
.hv-login-divider span {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
}

/* Form fields */
.hv-form-field {
  margin-bottom: 16px;
}
.hv-form-field label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--hv-charcoal);
  display: block;
  margin-bottom: 6px;
}
.hv-form-field input[type="text"],
.hv-form-field input[type="password"] {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--hv-charcoal);
  padding: 10px 14px;
  border: 1px solid var(--hv-line);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.15s ease-out;
  box-sizing: border-box;
}
.hv-form-field input:focus {
  outline: none;
  border-color: var(--hv-blue);
}

/* Remember + forgot row */
.hv-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.hv-checkbox-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-charcoal);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.hv-forgot-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-blue);
  text-decoration: none;
}
.hv-forgot-link:hover {
  color: var(--hv-orange);
}

/* Submit button */
.hv-submit-btn {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--hv-orange);
  border: none;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}
.hv-submit-btn:hover,
.hv-submit-btn:focus {
  background: var(--hv-orange-hover);
  color: #fff;
}
.hv-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Modal footer */
.hv-modal-footer {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
  text-align: center;
  margin: 20px 0 0 0;
}
.hv-modal-footer a {
  color: var(--hv-orange);
  font-weight: 600;
  text-decoration: none;
}
.hv-modal-footer a:hover {
  color: var(--hv-orange-hover);
}


/* ═══════════════════════════════════
   SEARCH
   ═══════════════════════════════════ */

.hv-nav-search {
  margin-left: auto;
}
.hv-search-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--hv-navy);
  border-radius: 6px;
  transition: color 0.15s ease-out;
}
.hv-search-toggle:hover {
  color: var(--hv-orange);
}
.hv-search-form {
  display: flex;
  align-items: center;
  margin: 0;
}
.hv-search-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-charcoal);
  padding: 6px 14px;
  border: 1px solid var(--hv-line);
  border-radius: 6px;
  background: #fff;
  width: 160px;
  transition: border-color 0.15s ease-out, width 0.2s ease-out;
}
.hv-search-input:focus {
  outline: none;
  border-color: var(--hv-blue);
  width: 220px;
}
.hv-search-input::placeholder {
  color: var(--hv-muted);
}


/* ═══════════════════════════════════
   HAMBURGER (hidden on desktop)
   ═══════════════════════════════════ */

.hv-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hv-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}
.hv-hamburger span {
  display: block;
  height: 2px;
  background: var(--hv-navy);
  border-radius: 1px;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}
.hv-menu-toggle[aria-expanded="true"] .hv-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hv-menu-toggle[aria-expanded="true"] .hv-hamburger span:nth-child(2) {
  opacity: 0;
}
.hv-menu-toggle[aria-expanded="true"] .hv-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ═══════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .hv-modal-overlay,
  .hv-nav-menu .sub-menu,
  .hv-mega-panel,
  .hv-mega-item,
  .hv-mega-title,
  .hv-user-dropdown,
  .hv-chevron,
  .hv-hamburger span,
  .hv-nav-menu > li > a,
  .hv-nav-menu .sub-menu li a,
  .hv-user-toggle,
  .hv-user-dropdown a {
    transition: none !important;
  }
}
/* HRVault Section Headers */

/* Style A — "The Masthead" (Πρόσφατα Άρθρα) */
.hrvault-header-masthead { padding: 0 0 8px 0; }
.hrvault-header-masthead .hdr-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hrvault-header-masthead .hdr-tag { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hv-orange); background: rgba(241,116,53,0.08); padding: 5px 12px; border-radius: 4px; display: inline-block; }
.hrvault-header-masthead .hdr-date { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--hv-muted); }
.hrvault-header-masthead h2 { font-family: 'Outfit', sans-serif !important; font-size: 44px !important; font-weight: 700 !important; color: var(--hv-navy) !important; line-height: 1.05 !important; letter-spacing: -1.5px !important; margin: 0 0 10px 0 !important; padding: 0 !important; }
.hrvault-header-masthead h2 span.thin { font-weight: 300; color: var(--hv-muted); }
.hrvault-header-masthead .hdr-subtitle { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--hv-charcoal); line-height: 1.5; max-width: 480px; margin: 0; }
.hrvault-header-masthead .hdr-gradient-rule { height: 3px; background: var(--hv-orange); margin-top: 20px; border-radius: 2px; }

/* Style B — "The Accent Bar" (Expert Voice) */
.hrvault-header-accent { display: flex; align-items: stretch; padding: 0 0 8px 0; }
.hrvault-header-accent .hdr-bar { width: 5px; background: var(--hv-orange); border-radius: 3px; flex-shrink: 0; }
.hrvault-header-accent .hdr-text { padding-left: 24px; }
.hrvault-header-accent .hdr-label { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--hv-orange); margin: 0 0 4px 0; }
.hrvault-header-accent h3 { font-family: 'Source Serif 4', serif !important; font-size: 34px !important; font-weight: 700 !important; color: var(--hv-navy) !important; line-height: 1.15 !important; margin: 0 0 6px 0 !important; padding: 0 !important; }
.hrvault-header-accent .hdr-subtitle { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--hv-charcoal); line-height: 1.5; margin: 0; }
.hrvault-header-accent-rule { height: 1px; background: var(--hv-line); margin: 16px 0 0 0; }

/* Style C — "The Inset Block" (Research Briefings) */
.hrvault-header-inset { background: var(--hv-navy); padding: 28px 30px 24px; border-radius: 8px 8px 0 0; position: relative; overflow: hidden; margin: 0; }
.hrvault-header-inset::before { content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 100%; background: linear-gradient(135deg, transparent 0%, rgba(61,155,233,0.06) 100%); pointer-events: none; }
.hrvault-header-inset .hdr-label { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--hv-blue); margin: 0 0 6px 0; }
.hrvault-header-inset h3 { font-family: 'Cormorant Garamond', serif !important; font-size: 38px !important; font-weight: 600 !important; color: #FFFFFF !important; line-height: 1.15 !important; letter-spacing: -0.3px !important; margin: 0 !important; padding: 0 !important; }
.hrvault-header-inset .hdr-subtitle { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,0.55); margin: 6px 0 0 0; }

/* Style D — "The Editorial Line" (Επιλογές) */
.hrvault-header-editorial { text-align: center; padding: 0 0 8px 0; }
.hrvault-header-editorial .hdr-ornament { display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 14px; }
.hrvault-header-editorial .hdr-ornament .line { width: 60px; height: 1px; background: var(--hv-blue); }
.hrvault-header-editorial .hdr-ornament .diamond { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--hv-blue); line-height: 1; }
.hrvault-header-editorial .hdr-label { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--hv-blue); margin: 0 0 8px 0; }
.hrvault-header-editorial h3 { font-family: 'Literata', serif !important; font-size: 32px !important; font-weight: 700 !important; color: var(--hv-navy) !important; line-height: 1.2 !important; margin: 0 0 6px 0 !important; padding: 0 !important; }
.hrvault-header-editorial .hdr-subtitle { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--hv-charcoal); line-height: 1.6; margin: 0; }
.hrvault-header-editorial .hdr-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.hrvault-header-editorial .hdr-dots .line { width: 40px; height: 1px; background: var(--hv-line); }
.hrvault-header-editorial .hdr-dots .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--hv-blue); }

/* Style E — "The Split" (HR Toolkit) */
.hrvault-header-split { display: flex; align-items: center; gap: 24px; padding: 0 0 8px 0; }
.hrvault-header-split .hdr-icon { flex-shrink: 0; width: 64px; height: 64px; background: var(--hv-warm-gray); border: 1px solid var(--hv-line); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.hrvault-header-split .hdr-icon svg { width: 28px; height: 28px; stroke: var(--hv-navy); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hrvault-header-split .hdr-label { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--hv-blue); margin: 0 0 3px 0; }
.hrvault-header-split h2 { font-family: 'Source Serif 4', serif !important; font-size: 30px !important; font-weight: 700 !important; color: var(--hv-navy) !important; line-height: 1.15 !important; margin: 0 0 4px 0 !important; padding: 0 !important; }
.hrvault-header-split .hdr-subtitle { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--hv-charcoal); line-height: 1.5; margin: 0; }
.hrvault-header-split-rule { height: 1px; background: var(--hv-line); margin: 16px 0 0 0; }

/* Style F — "The Ticker" (Ψηφιακή Βιβλιοθήκη) */
.hrvault-header-ticker-bar { background: var(--hv-warm-gray); border-bottom: 2px solid var(--hv-navy); padding: 12px 0; display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px 0; }
.hrvault-header-ticker-bar .ticker-left { display: flex; align-items: center; gap: 14px; }
.hrvault-header-ticker-bar .ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hv-orange); animation: hrvault-pulse 2s ease-in-out infinite; }
@keyframes hrvault-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hrvault-header-ticker-bar .ticker-label { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--hv-navy); }
.hrvault-header-ticker-bar .ticker-right { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--hv-muted); }
.hrvault-header-ticker h2 { font-family: 'Outfit', sans-serif !important; font-size: 30px !important; font-weight: 600 !important; color: var(--hv-navy) !important; line-height: 1.2 !important; letter-spacing: -0.3px !important; margin: 0 0 6px 0 !important; padding: 0 !important; }
.hrvault-header-ticker .hdr-subtitle { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--hv-charcoal); line-height: 1.5; margin: 0 0 16px 0; }

/* Accessibility — stop decorative animations */
@media (prefers-reduced-motion: reduce) {
  .hrvault-header-ticker-bar .ticker-dot { animation: none; }
}
/* HRVault Toolkit Cards */
.hv-toolkit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.hv-toolkit-card {
  flex: 0 0 calc(33.333% - 11px);
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border-radius: 10px;
  border: 1px solid var(--hv-line);
  background: var(--hv-warm-gray);
  text-decoration: none;
  transition: border-color 0.25s ease-out, box-shadow 0.25s ease-out;
  cursor: pointer;
}
.hv-toolkit-card:hover {
  border-color: var(--hv-blue);
  box-shadow: 0 6px 20px rgba(61, 155, 233, 0.08);
}
.hv-toolkit-card .tk-accent {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--hv-blue);
  margin-bottom: 16px;
  opacity: 0.4;
  transition: width 0.25s ease-out, opacity 0.25s ease-out;
}
.hv-toolkit-card:hover .tk-accent {
  width: 48px;
  opacity: 1;
}
.hv-toolkit-card .tk-title {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--hv-navy);
  margin: 0 0 8px 0;
  transition: color 0.2s ease-out;
}
.hv-toolkit-card:hover .tk-title {
  color: var(--hv-blue);
}
.hv-toolkit-card .tk-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-charcoal);
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}
.hv-toolkit-card .tk-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--hv-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease-out;
}
.hv-toolkit-card:hover .tk-link {
  gap: 10px;
}
.hv-toolkit-card .tk-link svg {
  width: 14px;
  height: 14px;
  stroke: var(--hv-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Toolkit layout — cards + feed side by side */
.hv-toolkit-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  margin-top: 8px;
}

/* Feed column */
.hv-toolkit-feed {
  border-left: 1px solid var(--hv-line);
  padding-left: 32px;
}
.hv-toolkit-feed-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--hv-muted);
  margin: 0 0 16px;
}
.hv-toolkit-feed-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--hv-line);
  text-decoration: none;
}
.hv-toolkit-feed-item:last-child {
  border-bottom: none;
}
.hv-toolkit-feed-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.hv-toolkit-feed-item .hv-pill {
  font-size: 9px;
  padding: 2px 6px;
  margin-bottom: 4px;
}
.hv-toolkit-feed-item-title {
  font-family: 'Source Serif 4', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--hv-charcoal);
  line-height: 1.3;
  margin: 0;
  transition: color 0.15s ease-out;
}
.hv-toolkit-feed-item:hover .hv-toolkit-feed-item-title {
  color: var(--hv-orange);
}

@media (max-width: 900px) {
  .hv-toolkit-layout {
    grid-template-columns: 1fr;
  }
  .hv-toolkit-feed {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--hv-line);
    padding-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hv-toolkit-card,
  .hv-toolkit-card .tk-accent,
  .hv-toolkit-card .tk-title,
  .hv-toolkit-card .tk-link {
    transition: none;
  }
}
/* HRVault Digital Library Cards */
.hv-library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.hv-library-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 24px;
  border-radius: 10px;
  border: 1px solid var(--hv-line);
  background: var(--hv-warm-gray);
  text-decoration: none;
  transition: border-color 0.25s ease-out, box-shadow 0.25s ease-out;
  cursor: pointer;
}
.hv-library-card:hover {
  border-color: var(--hv-navy);
  box-shadow: 0 6px 20px rgba(26, 47, 79, 0.08);
}
.hv-library-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--hv-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.hv-library-card .card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--hv-navy);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hv-library-card .card-title {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--hv-navy);
  margin: 0 0 6px 0;
  transition: color 0.2s ease-out;
}
.hv-library-card:hover .card-title {
  color: var(--hv-orange);
}
.hv-library-card .card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--hv-muted);
  line-height: 1.5;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hv-library-card,
  .hv-library-card .card-title {
    transition: none;
  }
}
/* HRVault Front Page Layout
   ────────────────────────── */

.hv-front {
  padding-bottom: 0;
}

.hv-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.hv-section {
  padding: 36px 0;
}
.hv-section + .hv-section {
  border-top: 1px solid var(--hv-line);
}


/* ═══════════════════════════════════
   BANNERS
   ═══════════════════════════════════ */

.hv-banner {
  padding: 16px 0;
}

/* NextGenHR */
.hv-banner-nextgen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--hv-line);
  border-radius: 8px;
  padding: 20px 32px;
  text-decoration: none;
  transition: box-shadow 0.2s ease-out;
  overflow: hidden;
}
.hv-banner-nextgen:hover {
  box-shadow: 0 4px 16px rgba(26, 47, 79, 0.08);
}
.hv-banner-nextgen-logo {
  height: 48px;
  width: auto;
}
.hv-banner-nextgen-right {
  text-align: right;
}
.hv-banner-nextgen-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--hv-navy);
  display: block;
}
.hv-banner-nextgen-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hv-orange);
  display: block;
  margin-top: 4px;
}

/* SKG Education */
.hv-banner-skg {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--hv-line);
  border-radius: 8px;
  padding: 20px 32px;
  text-decoration: none;
  gap: 24px;
  transition: box-shadow 0.2s ease-out;
  overflow: hidden;
}
.hv-banner-skg:hover {
  box-shadow: 0 4px 16px rgba(26, 47, 79, 0.08);
}
.hv-banner-skg-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.hv-banner-skg-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--hv-navy);
  display: block;
}
.hv-banner-skg-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
  display: block;
  margin-top: 2px;
}


/* ═══════════════════════════════════
   POST LISTINGS (Featured + Sidebar)
   ═══════════════════════════════════ */

.hv-listing {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.hv-listing + .hv-listing {
  margin-top: 32px;
}

/* Featured post */
.hv-listing-featured-link {
  display: block;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  min-height: 320px;
  max-height: 480px;
}
.hv-listing-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hv-listing-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.hv-listing-featured-title {
  font-family: 'Source Serif 4', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  margin: 8px 0 4px;
  line-height: 1.35;
}
.hv-listing-featured-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* Side post list */
.hv-listing-side {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hv-listing-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  transition: background-color 0.15s ease-out;
}
.hv-listing-item:last-child {
  border-bottom: none;
}
.hv-listing-item-img {
  width: 110px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.hv-listing-item-title {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--hv-charcoal);
  line-height: 1.35;
  margin: 6px 0 4px;
  transition: color 0.15s ease-out;
}
.hv-listing-item:hover .hv-listing-item-title {
  color: var(--hv-orange);
}
.hv-listing-item-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--hv-muted);
}


/* ═══════════════════════════════════
   CATEGORY PILLS
   ═══════════════════════════════════ */

.hv-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
}


/* ═══════════════════════════════════
   CARD GRIDS (Expert Voice, Picks)
   ═══════════════════════════════════ */

.hv-card-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.hv-card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.hv-card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.hv-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hv-line);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  text-decoration: none;
  transition: box-shadow 0.25s ease-out;
  cursor: pointer;
}
.hv-card:hover {
  box-shadow: 0 6px 20px rgba(26,47,79,0.08);
}

.hv-card-img-wrap {
  overflow: hidden;
}
.hv-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-out;
}
.hv-card:hover .hv-card-img {
  transform: scale(1.03);
}

.hv-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 16px;
  background: #fff;
}
.hv-card-title {
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--hv-charcoal);
  line-height: 1.35;
  margin: 0 0 auto;
  transition: color 0.15s ease-out;
}
.hv-card:hover .hv-card-title {
  color: var(--hv-orange);
}
.hv-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}
.hv-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.hv-card-author {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--hv-charcoal);
}


/* ═══════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .hv-card,
  .hv-card-img,
  .hv-listing-item-title,
  .hv-banner-nextgen,
  .hv-banner-skg {
    transition: none !important;
  }
  .hv-card:hover .hv-card-img {
    transform: none !important;
  }
}
/* HRVault Category Archive
   ────────────────────────── */

.hv-archive {
  padding: 48px 0;
}

/* Archive header */
.hv-archive-header {
  margin-bottom: 40px;
}
.hv-archive-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.hv-archive-title {
  font-family: 'Source Serif 4', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--hv-navy);
  line-height: 1.15;
  margin: 0 0 12px;
}
.hv-archive-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--hv-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}
.hv-archive-rule {
  height: 3px;
  background: var(--hv-orange);
  margin-top: 24px;
  border-radius: 2px;
}

/* Featured post (first in archive) */
.hv-archive-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  text-decoration: none;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hv-line);
}
.hv-archive-featured-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: opacity 0.3s ease-out;
}
.hv-archive-featured:hover .hv-archive-featured-img {
  opacity: 0.9;
}
.hv-archive-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hv-archive-featured-title {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--hv-navy);
  line-height: 1.3;
  margin: 0 0 16px;
  transition: color 0.2s ease-out;
}
.hv-archive-featured:hover .hv-archive-featured-title {
  color: var(--hv-orange);
}
.hv-archive-featured-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--hv-charcoal);
  line-height: 1.7;
  margin: 0 0 20px;
}
.hv-archive-featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-archive-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.hv-archive-author {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--hv-charcoal);
}
.hv-archive-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
}
.hv-archive-date::before {
  content: '·';
  margin-right: 10px;
  color: var(--hv-muted);
}

/* Post grid */
.hv-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Archive card */
.hv-archive-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hv-line);
  text-decoration: none;
  transition: box-shadow 0.25s ease-out;
  cursor: pointer;
}
.hv-archive-card:hover {
  box-shadow: 0 6px 20px rgba(26, 47, 79, 0.08);
}
.hv-archive-card-img-wrap {
  overflow: hidden;
}
.hv-archive-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-out;
}
.hv-archive-card:hover .hv-archive-card-img {
  transform: scale(1.03);
}
.hv-archive-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 20px;
  background: #fff;
}
.hv-archive-card-title {
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--hv-charcoal);
  line-height: 1.35;
  margin: 0 0 8px;
  transition: color 0.15s ease-out;
}
.hv-archive-card:hover .hv-archive-card-title {
  color: var(--hv-orange);
}
.hv-archive-card-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
  line-height: 1.5;
  margin: 0 0 auto;
}
.hv-archive-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}
.hv-archive-card-author {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--hv-charcoal);
}
.hv-archive-card-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--hv-muted);
}
.hv-archive-card-date::before {
  content: '·';
  margin-right: 8px;
  color: var(--hv-line);
}

/* Pagination */
.hv-pagination {
  text-align: center;
  padding: 24px 0;
}
.hv-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hv-pagination .page-numbers {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hv-charcoal);
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.hv-pagination .page-numbers:hover {
  background: var(--hv-warm-gray);
}
.hv-pagination .page-numbers.current {
  background: var(--hv-navy);
  color: #fff;
}
.hv-pagination .prev,
.hv-pagination .next {
  font-size: 18px;
}

/* No posts */
.hv-no-posts {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--hv-muted);
  text-align: center;
  padding: 80px 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hv-archive-featured-img,
  .hv-archive-card,
  .hv-archive-card-img,
  .hv-archive-card-title,
  .hv-archive-featured-title {
    transition: none !important;
  }
  .hv-archive-card:hover .hv-archive-card-img {
    transform: none !important;
  }
}
/* HRVault Single Article — Editorial Layout
   ──────────────────────────────────────────── */

/* Narrow container for reading */
.hv-container--article {
  max-width: 720px;
}

/* ═══════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════ */

.hv-article-breadcrumbs {
  padding: 16px 0;
  border-bottom: 1px solid var(--hv-line);
}
.hv-article-breadcrumbs a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
  text-decoration: none;
}
.hv-article-breadcrumbs a:hover {
  color: var(--hv-orange);
}
.hv-bc-sep {
  color: var(--hv-line);
  margin: 0 8px;
  font-size: 13px;
}
.hv-bc-current {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-charcoal);
}


/* ═══════════════════════════════════
   ARTICLE HEADER
   ═══════════════════════════════════ */

.hv-article-header {
  padding: 40px 0 0;
}
.hv-article-header .hv-pill {
  margin-bottom: 16px;
}
.hv-article-title {
  font-family: 'Source Serif 4', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--hv-navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.hv-article-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: var(--hv-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Meta bar */
.hv-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hv-article-author-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hv-article-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.hv-article-author-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--hv-charcoal);
}
.hv-article-author-link:hover .hv-article-author-name {
  color: var(--hv-orange);
}
.hv-article-meta-sep {
  color: var(--hv-line);
  font-size: 14px;
}
.hv-article-date,
.hv-article-reading-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
}

/* Share bar */
.hv-article-share {
  display: flex;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hv-line);
}
.hv-share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--hv-line);
  background: none;
  color: var(--hv-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}
.hv-share-btn:hover {
  color: var(--hv-navy);
  border-color: var(--hv-navy);
}


/* ═══════════════════════════════════
   HERO IMAGE
   ═══════════════════════════════════ */

.hv-article-hero {
  padding: 24px 0;
}
.hv-article-hero-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}


/* ═══════════════════════════════════
   ARTICLE BODY
   ═══════════════════════════════════ */

.hv-article-body {
  padding: 8px 0 48px;
}
.hv-article-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: var(--hv-charcoal);
  line-height: 1.7;
}
.hv-article-content p {
  margin: 0 0 1.4em;
}
.hv-article-content h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--hv-navy);
  line-height: 1.3;
  margin: 2em 0 0.6em;
}
.hv-article-content h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--hv-navy);
  line-height: 1.3;
  margin: 1.8em 0 0.5em;
}
.hv-article-content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--hv-navy);
  margin: 1.5em 0 0.4em;
}
.hv-article-content a {
  color: var(--hv-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hv-article-content a:hover {
  color: var(--hv-orange);
}
.hv-article-content strong {
  font-weight: 600;
  color: var(--hv-navy);
}
.hv-article-content blockquote {
  border-left: 3px solid var(--hv-orange);
  margin: 1.5em 0;
  padding: 0 0 0 24px;
  font-style: italic;
  color: var(--hv-navy);
  font-size: 19px;
  line-height: 1.6;
}
.hv-article-content ul,
.hv-article-content ol {
  margin: 0 0 1.4em;
  padding-left: 24px;
}
.hv-article-content li {
  margin-bottom: 0.5em;
}
.hv-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1em 0;
}
.hv-article-content figure {
  margin: 1.5em 0;
}
.hv-article-content figcaption {
  font-size: 13px;
  color: var(--hv-muted);
  margin-top: 8px;
  text-align: center;
}
.hv-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}
.hv-article-content th {
  background: var(--hv-navy);
  color: #fff;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
}
.hv-article-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--hv-line);
}
.hv-article-content pre,
.hv-article-content code {
  font-family: monospace;
  font-size: 15px;
  background: var(--hv-warm-gray);
  border-radius: 4px;
}
.hv-article-content pre {
  padding: 16px 20px;
  overflow-x: auto;
  margin: 1.5em 0;
}
.hv-article-content code {
  padding: 2px 6px;
}
.hv-article-content hr {
  border: none;
  border-top: 1px solid var(--hv-line);
  margin: 2em 0;
}


/* ═══════════════════════════════════
   TAGS
   ═══════════════════════════════════ */

.hv-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--hv-line);
  margin-top: 32px;
}
.hv-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--hv-charcoal);
  background: var(--hv-warm-gray);
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.15s ease-out;
}
.hv-tag:hover {
  background: var(--hv-line);
}


/* ═══════════════════════════════════
   AUTHOR BIO
   ═══════════════════════════════════ */

.hv-article-author-bio {
  padding: 40px 0;
  border-top: 1px solid var(--hv-line);
  background: var(--hv-warm-gray);
}
.hv-author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.hv-author-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.hv-author-card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--hv-navy);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.hv-author-card-name:hover {
  color: var(--hv-orange);
}
.hv-author-card-bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--hv-charcoal);
  line-height: 1.6;
  margin: 0 0 8px;
}
.hv-author-card-linkedin {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--hv-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease-out;
}
.hv-author-card-linkedin:hover {
  color: var(--hv-orange);
}


/* ═══════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════ */

.hv-article-related {
  padding: 48px 0;
  border-top: 1px solid var(--hv-line);
}
.hv-article-related-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--hv-muted);
  margin: 0 0 24px;
}


/* ═══════════════════════════════════
   IN-ARTICLE ADS
   ═══════════════════════════════════ */

.hv-ad {
  margin: 2em 0;
  text-align: center;
  position: relative;
}
.hv-ad-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hv-muted);
  display: block;
  margin-bottom: 8px;
}
.hv-ad a {
  display: inline-block;
  text-decoration: none;
}
.hv-ad-img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--hv-line);
}


/* ═══════════════════════════════════
   READING PROGRESS BAR
   ═══════════════════════════════════ */

.hv-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--hv-orange);
  z-index: 10001;
  transition: width 0.1s linear;
}


/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */

@media (max-width: 767px) {
  .hv-article-title {
    font-size: 28px;
  }
  .hv-article-subtitle {
    font-size: 16px;
  }
  .hv-article-content {
    font-size: 16px;
  }
  .hv-article-content h2 {
    font-size: 22px;
  }
  .hv-article-content h3 {
    font-size: 19px;
  }
  .hv-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hv-article-meta {
    gap: 6px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hv-progress-bar,
  .hv-share-btn,
  .hv-tag {
    transition: none !important;
  }
}


/* ═══════════════════════════════════
   RESEARCH BRIEFING CALLOUT
   ═══════════════════════════════════ */

.hv-article-callout {
  padding: 0 0 8px;
}
.hv-callout-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--hv-blue);
  color: #fff;
  border-radius: 8px;
  padding: 20px 24px;
}
.hv-callout-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin-top: 2px;
}
.hv-callout-icon svg {
  stroke: #fff;
}
.hv-callout-content {
  flex: 1;
}
.hv-callout-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.hv-callout-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.92;
  margin: 0 0 10px 0;
}
.hv-callout-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
  transition: opacity 0.15s ease-out;
}
.hv-callout-link:hover {
  opacity: 1;
  color: #fff;
}

@media (max-width: 767px) {
  .hv-callout-box {
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
  }
  .hv-callout-text {
    font-size: 13px;
  }
}
/* HRVault — Page-specific styles
   ─────────────────────────────── */

/* ═══════════════════════════════════
   AUTHOR PAGE — Editorial Style
   ═══════════════════════════════════ */

/* Hero section */
.hv-author-hero {
  background: var(--hv-navy);
  padding: 60px 0 56px;
}
.hv-author-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}
.hv-author-hero-avatar-wrap {
  flex-shrink: 0;
}
.hv-author-hero-avatar,
img.hv-author-hero-avatar,
img.sab-custom-avatar.hv-author-hero-avatar {
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  min-width: 140px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid rgba(255,255,255,0.15);
}
.hv-author-hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--hv-orange);
  margin: 0 0 8px;
}
.hv-author-hero-name {
  font-family: 'Source Serif 4', serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.hv-author-hero-bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 600px;
}

/* Stats row */
.hv-author-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.hv-author-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hv-author-stat-num {
  font-family: 'Source Serif 4', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.hv-author-stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.hv-author-stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.15);
}
.hv-author-hero-linkedin {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--hv-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease-out;
}
.hv-author-hero-linkedin:hover {
  color: var(--hv-orange);
}

/* Category pills */
.hv-author-hero-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hv-author-cat-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  transition: all 0.15s ease-out;
}
.hv-author-cat-pill:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* Section labels */
.hv-author-section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--hv-muted);
  margin: 48px 0 20px;
}

/* Featured article card */
.hv-author-featured {
  border-bottom: 1px solid var(--hv-line);
  padding-bottom: 48px;
}
.hv-author-featured-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  text-decoration: none;
  cursor: pointer;
}
.hv-author-featured-img-wrap {
  border-radius: 8px;
  overflow: hidden;
}
.hv-author-featured-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}
.hv-author-featured-card:hover .hv-author-featured-img {
  transform: scale(1.03);
}
.hv-author-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}
.hv-author-featured-body .hv-pill {
  align-self: flex-start;
  margin-bottom: 12px;
}
.hv-author-featured-title {
  font-family: 'Source Serif 4', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--hv-navy);
  line-height: 1.3;
  margin: 0 0 12px;
  transition: color 0.15s ease-out;
}
.hv-author-featured-card:hover .hv-author-featured-title {
  color: var(--hv-orange);
}
.hv-author-featured-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--hv-charcoal);
  line-height: 1.6;
  margin: 0 0 16px;
  opacity: 0.8;
}
.hv-author-featured-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
}

/* Articles grid */
.hv-author-articles {
  padding-bottom: 60px;
}
.hv-author-page .hv-archive-grid {
  margin-bottom: 48px;
}

/* Responsive */
@media (max-width: 767px) {
  .hv-author-hero {
    padding: 40px 0 36px;
  }
  .hv-author-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hv-author-hero-name {
    font-size: 28px;
  }
  .hv-author-hero-bio {
    max-width: none;
  }
  .hv-author-hero-meta {
    justify-content: center;
  }
  .hv-author-hero-cats {
    justify-content: center;
  }
  .hv-author-featured-card {
    grid-template-columns: 1fr;
  }
  .hv-author-featured-img {
    height: 220px;
  }
  .hv-author-featured-title {
    font-size: 22px;
  }
}

/* ═══════════════════════════════════
   SEARCH RESULTS
   ═══════════════════════════════════ */

.hv-search {
  padding: 48px 0;
}
.hv-search-header {
  margin-bottom: 32px;
}
.hv-search-title {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--hv-navy);
  margin: 0 0 8px;
}
.hv-search-title span {
  color: var(--hv-orange);
}
.hv-search-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--hv-muted);
  margin: 0;
}
.hv-search .hv-search-form {
  margin-bottom: 32px;
}
.hv-search-input-wrap {
  display: flex;
  gap: 8px;
  max-width: 500px;
}
.hv-search-input {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--hv-line);
  border-radius: 6px;
  color: var(--hv-charcoal);
}
.hv-search-input:focus {
  outline: none;
  border-color: var(--hv-blue);
}
.hv-search-submit {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--hv-orange);
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
}
.hv-search-submit:hover {
  background: var(--hv-orange-hover);
}
.hv-search-rule {
  height: 3px;
  background: var(--hv-orange);
  border-radius: 2px;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════
   ACCOUNT PAGE
   ═══════════════════════════════════ */

.hv-account {
  padding: 48px 0;
}

/* Account header */
.hv-account-header {
  margin-bottom: 32px;
}
.hv-account-user {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hv-account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.hv-account-name {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--hv-navy);
  margin: 0 0 4px;
}
.hv-account-email {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--hv-muted);
  margin: 0;
}

/* Tabs */
.hv-account-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--hv-line);
  margin-bottom: 32px;
}
.hv-account-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hv-muted);
  text-decoration: none;
  padding: 12px 20px;
  position: relative;
  transition: color 0.15s ease-out;
}
.hv-account-tab:hover {
  color: var(--hv-navy);
}
.hv-account-tab.active {
  color: var(--hv-navy);
  font-weight: 600;
}
.hv-account-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hv-orange);
}

/* Tab content */
.hv-account-content {
  max-width: 720px;
}
.hv-account-section {
  margin-bottom: 40px;
}
.hv-account-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--hv-muted);
  margin: 0 0 20px;
}

/* Logout */
.hv-account-logout {
  padding-top: 32px;
  border-top: 1px solid var(--hv-line);
  margin-top: 40px;
}
.hv-account-logout a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--hv-muted);
  text-decoration: none;
  transition: color 0.15s ease-out;
}
.hv-account-logout a:hover {
  color: var(--hv-orange);
}

/* ═══════════════════════════════════
   PMPRO STYLE OVERRIDES
   ═══════════════════════════════════ */

/* Cards */
.pmpro_card {
  background: #fff;
  border: 1px solid var(--hv-line) !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin-bottom: 20px;
  box-shadow: none !important;
}

/* Headings */
.pmpro_form_heading,
.pmpro_card_title {
  font-family: 'Source Serif 4', serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--hv-navy) !important;
}

/* Labels */
.pmpro_form_label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--hv-charcoal) !important;
}

/* Inputs */
.pmpro_form_input,
.pmpro_form_input-text,
.pmpro_form_input-email,
.pmpro_form_input-select {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  border: 1px solid var(--hv-line) !important;
  border-radius: 6px !important;
  color: var(--hv-charcoal) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.pmpro_form_input:focus {
  outline: none !important;
  border-color: var(--hv-blue) !important;
}

/* Buttons */
.pmpro_btn,
.pmpro_btn-submit-update-profile {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease-out !important;
}
.pmpro_btn-submit-update-profile {
  background: var(--hv-orange) !important;
  color: #fff !important;
  border: none !important;
}
.pmpro_btn-submit-update-profile:hover {
  background: var(--hv-orange-hover) !important;
}
.pmpro_btn-cancel {
  background: transparent !important;
  color: var(--hv-muted) !important;
  border: 1px solid var(--hv-line) !important;
}
.pmpro_btn-cancel:hover {
  border-color: var(--hv-charcoal) !important;
  color: var(--hv-charcoal) !important;
}

/* Lists */
.pmpro_list {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
}
.pmpro_list li {
  padding: 6px 0 !important;
}

/* Tables */
.pmpro_table {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  width: 100% !important;
  border-collapse: collapse !important;
}
.pmpro_table th {
  background: var(--hv-warm-gray) !important;
  color: var(--hv-navy) !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  text-align: left !important;
  font-size: 13px !important;
}
.pmpro_table td {
  padding: 10px 14px !important;
  border-bottom: 1px solid var(--hv-line) !important;
  color: var(--hv-charcoal) !important;
}

/* Card actions */
.pmpro_card_actions {
  padding-top: 16px !important;
  border-top: 1px solid var(--hv-line) !important;
  margin-top: 16px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
}
.pmpro_card_actions a {
  color: var(--hv-blue) !important;
  text-decoration: none !important;
}
.pmpro_card_actions a:hover {
  color: var(--hv-orange) !important;
}

/* Tags */
.pmpro_tag {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  padding: 3px 8px !important;
}

/* Spacer */
.pmpro_spacer {
  height: 24px !important;
}

/* Form hint */
.pmpro_form_hint {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  color: var(--hv-muted) !important;
}

/* ═══════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════ */

.pmpro-login .hv-page-content {
  max-width: 420px;
  margin: 0 auto;
}
.pmpro-login .hv-page-title {
  text-align: center;
}
.pmpro-login .hv-page-rule {
  max-width: 60px;
  margin-left: auto;
  margin-right: auto;
}

/* Login form inputs */
.pmpro_login_wrap input[type="text"],
.pmpro_login_wrap input[type="password"],
.pmpro_login_wrap input[type="email"] {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  border: 1px solid var(--hv-line) !important;
  border-radius: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.pmpro_login_wrap input:focus {
  outline: none !important;
  border-color: var(--hv-blue) !important;
}
.pmpro_login_wrap label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--hv-charcoal) !important;
}
.pmpro_login_wrap .login-submit input[type="submit"],
.pmpro_login_wrap input[type="submit"],
.pmpro .pmpro_btn-submit,
.pmpro_login_wrap .pmpro_btn {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: var(--hv-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease-out !important;
}
.pmpro_login_wrap .login-submit input[type="submit"]:hover,
.pmpro_login_wrap input[type="submit"]:hover,
.pmpro .pmpro_btn-submit:hover {
  background: var(--hv-orange-hover) !important;
}
.pmpro_login_wrap .login-remember label {
  font-size: 13px !important;
  color: var(--hv-charcoal) !important;
}

/* Login card actions (register/lost password links) */
.pmpro-login .pmpro_card_actions {
  text-align: center;
}
.pmpro-login .pmpro_actions_nav {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
}
.pmpro-login .pmpro_actions_nav a {
  color: var(--hv-blue) !important;
  text-decoration: none !important;
}
.pmpro-login .pmpro_actions_nav a:hover {
  color: var(--hv-orange) !important;
}

/* ═══════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════ */

.pmpro-checkout .hv-page-content {
  max-width: 640px;
  margin: 0 auto;
}
.pmpro-checkout .hv-page-title {
  text-align: center;
}
.pmpro-checkout .hv-page-rule {
  max-width: 60px;
  margin-left: auto;
  margin-right: auto;
}

/* Checkout form fields */
.pmpro_form input[type="text"],
.pmpro_form input[type="password"],
.pmpro_form input[type="email"],
.pmpro_form select {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  border: 1px solid var(--hv-line) !important;
  border-radius: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.pmpro_form input:focus,
.pmpro_form select:focus {
  outline: none !important;
  border-color: var(--hv-blue) !important;
}
.pmpro_form label,
.pmpro_form .pmpro_form_label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--hv-charcoal) !important;
}

/* Checkout submit button */
.pmpro_btn-submit-checkout {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  background: var(--hv-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px 32px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease-out !important;
}
.pmpro_btn-submit-checkout:hover {
  background: var(--hv-orange-hover) !important;
}

/* Discount code button */
.pmpro_btn-submit-discount-code {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  background: var(--hv-warm-gray) !important;
  color: var(--hv-charcoal) !important;
  border: 1px solid var(--hv-line) !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
}

/* Checkout level cost summary */
.pmpro_checkout-field-level_cost {
  font-family: 'DM Sans', sans-serif !important;
}

/* Password toggle — must NOT look like a button */
.pmpro_btn.pmpro_btn-plain,
.pmpro_btn.pmpro_btn-password-toggle,
button.pmpro_btn.pmpro_btn-plain,
button.pmpro_btn.pmpro_btn-password-toggle {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--hv-muted) !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-color: transparent !important;
  padding: 4px 8px !important;
  width: auto !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.pmpro_btn.pmpro_btn-plain:hover,
.pmpro_btn.pmpro_btn-plain:focus,
.pmpro_btn.pmpro_btn-password-toggle:hover,
.pmpro_btn.pmpro_btn-password-toggle:focus {
  color: var(--hv-blue) !important;
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

/* Checkbox styling */
.pmpro_form input[type="checkbox"] {
  accent-color: var(--hv-blue);
}

/* Required asterisk — inline with label */
.pmpro_asterisk {
  color: var(--hv-orange) !important;
  font-weight: 400 !important;
  display: inline !important;
}

/* Fix checkout form field widths and layout */
.pmpro_form_field {
  margin-bottom: 16px !important;
}
.pmpro_form_field input[type="text"],
.pmpro_form_field input[type="password"],
.pmpro_form_field input[type="email"],
.pmpro_form_field select,
.pmpro .pmpro_form_input,
.pmpro input.pmpro_form_input,
.pmpro input[type="text"],
.pmpro input[type="password"],
.pmpro input[type="email"],
.pmpro select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Password label + show toggle — keep inline */
.pmpro_form_field-password-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-left: 8px !important;
}

/* Two-column layout fix */
.pmpro_cols-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
.pmpro_cols-2 > .pmpro_form_field {
  display: block !important;
  min-width: 0 !important;
  width: auto !important;
}

/* Hide username field on checkout */
.pmpro-checkout .pmpro_form_field-username {
  display: none !important;
}

/* Discount code inline layout */
.pmpro_form_fields-inline {
  display: flex !important;
  gap: 8px !important;
  align-items: flex-start !important;
}
.pmpro_form_fields-inline input[type="text"] {
  flex: 1 !important;
}

@media (max-width: 600px) {
  .pmpro_cols-2 {
    grid-template-columns: 1fr !important;
  }
}

/* Checkbox + label alignment */
.pmpro_form_field-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
}
.pmpro_form_field-checkbox input[type="checkbox"] {
  width: auto !important;
  margin-top: 3px !important;
  flex-shrink: 0;
}
.pmpro_form_field-checkbox label {
  display: inline !important;
  font-size: 13px !important;
}
.pmpro_form_field-checkbox a {
  color: var(--hv-blue) !important;
  text-decoration: none !important;
}
.pmpro_form_field-checkbox a:hover {
  color: var(--hv-orange) !important;
}

/* Fieldset legend / section heading */
.pmpro_form_fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
}
.pmpro_form_legend h2 {
  font-family: 'Source Serif 4', serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--hv-navy) !important;
}

/* Form submit area */
.pmpro_form_submit {
  display: flex !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

/* Cols layout */
.pmpro_cols-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
@media (max-width: 600px) {
  .pmpro_cols-2 {
    grid-template-columns: 1fr !important;
  }
}

/* PMPro content restriction message */
.pmpro_content_message {
  background: var(--hv-warm-gray) !important;
  border: 1px solid var(--hv-line) !important;
  border-radius: 8px !important;
  padding: 32px !important;
  text-align: center !important;
  margin: 24px 0 !important;
}
.pmpro_content_message h2,
.pmpro_content_message .pmpro_icon {
  font-family: 'Source Serif 4', serif !important;
  color: var(--hv-navy) !important;
}
.pmpro_content_message p {
  font-family: 'DM Sans', sans-serif !important;
  color: var(--hv-charcoal) !important;
}
.pmpro_content_message .pmpro_btn {
  background: var(--hv-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
}
.pmpro_content_message .pmpro_btn:hover {
  background: var(--hv-orange-hover) !important;
}

/* Newsletter widget override */
#mc-newsletter-widget {
  font-family: 'DM Sans', sans-serif !important;
  border: 1px solid var(--hv-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  max-width: 100% !important;
}
#mc-newsletter-widget::before {
  background: var(--hv-orange) !important;
  height: 3px !important;
}
#mc-newsletter-widget h3 {
  font-family: 'Source Serif 4', serif !important;
  color: var(--hv-navy) !important;
}
#mc-newsletter-widget .mc-submit {
  background: var(--hv-orange) !important;
  border-radius: 6px !important;
  font-family: 'DM Sans', sans-serif !important;
}
#mc-newsletter-widget .mc-submit:hover {
  background: var(--hv-orange-hover) !important;
}

/* Hide duplicate PMPro profile sections that come from the_content */
.hv-account .hv-page-header,
.hv-account .hv-page-content > section:not(:first-child) {
  /* Let template handle layout */
}

/* Responsive */
@media (max-width: 767px) {
  .hv-account-user {
    flex-direction: column;
    text-align: center;
  }
  .hv-account-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hv-account-tab {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
  }
  .hv-account-name {
    font-size: 22px;
  }
}


/* ═══════════════════════════════════
   PRICING PAGE
   ═══════════════════════════════════ */

.hv-pricing-header {
  background: var(--hv-navy);
  text-align: center;
  padding: 80px 24px 72px;
  color: #fff;
}
.hv-pricing-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--hv-blue);
  margin: 0 0 18px;
}
.hv-pricing-header h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.15;
}
.hv-pricing-header h1 span { color: var(--hv-orange); }
.hv-pricing-header p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 28px;
  font-weight: 300;
}
.hv-pricing-badge {
  display: inline-block;
  background: var(--hv-orange);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 50px;
}

/* Cards section */
.hv-pricing-cards-section { padding: 56px 0 80px; }

/* Toggle */
.hv-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}
.hv-pricing-toggle-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hv-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.hv-pricing-toggle-label.active { color: var(--hv-navy); font-weight: 600; }
.hv-pricing-discount {
  font-family: 'DM Sans', sans-serif;
  background: var(--hv-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.hv-pricing-discount.visible { opacity: 1; transform: translateY(0); }

/* Switch */
.hv-pricing-switch { position: relative; width: 48px; height: 26px; cursor: pointer; }
.hv-pricing-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.hv-pricing-switch-track {
  position: absolute; inset: 0;
  background: var(--hv-line); border-radius: 26px; transition: background 0.25s;
}
.hv-pricing-switch input:checked + .hv-pricing-switch-track { background: var(--hv-blue); }
.hv-pricing-switch-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; background: #fff;
  border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform 0.25s;
}
.hv-pricing-switch input:checked ~ .hv-pricing-switch-thumb { transform: translateX(22px); }

/* Cards grid */
.hv-pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

/* Card */
.hv-pricing-card {
  background: #fff;
  border: 1px solid var(--hv-line);
  border-radius: 8px;
  padding: 36px 32px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease-out;
}
.hv-pricing-card:hover { box-shadow: 0 8px 32px rgba(26,47,79,0.1); }

/* Featured card */
.hv-pricing-card--featured { background: var(--hv-navy); border-color: var(--hv-navy); color: #fff; }
.hv-pricing-card--featured .hv-pricing-card-desc,
.hv-pricing-card--featured .hv-pricing-yes,
.hv-pricing-card--featured .hv-pricing-period { color: rgba(255,255,255,0.65); }
.hv-pricing-card--featured .hv-pricing-divider { border-color: rgba(255,255,255,0.12); }
.hv-pricing-card--featured .hv-pricing-card-name,
.hv-pricing-card--featured .hv-pricing-amount,
.hv-pricing-card--featured .hv-pricing-currency { color: #fff; }
.hv-pricing-card--featured .hv-pricing-group { color: rgba(255,255,255,0.35); }
.hv-pricing-card--featured .hv-pricing-price-sub { color: rgba(255,255,255,0.5); }

/* Popular badge */
.hv-pricing-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--hv-orange); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.6px; padding: 3px 14px; border-radius: 20px; white-space: nowrap;
}

/* Card name */
.hv-pricing-card-name {
  font-family: 'Source Serif 4', serif;
  font-size: 22px; color: var(--hv-navy); margin: 0 0 6px;
}
.hv-pricing-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--hv-muted); margin: 0 0 28px; line-height: 1.5; min-height: 2.5em;
}

/* Price */
.hv-pricing-price { display: flex; align-items: flex-end; gap: 4px; line-height: 1; }
.hv-pricing-currency { font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 600; padding-bottom: 5px; color: var(--hv-navy); }
.hv-pricing-amount {
  font-family: 'Source Serif 4', serif;
  font-size: 52px; color: var(--hv-navy); line-height: 1; transition: opacity 0.2s;
}
.hv-pricing-period { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--hv-muted); padding-bottom: 8px; }
.hv-pricing-price-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; color: var(--hv-muted); margin-top: 6px; min-height: 18px; transition: opacity 0.2s;
}

/* Divider — SOLID, not gradient */
.hv-pricing-divider { border: none; border-top: 1px solid var(--hv-line); margin: 28px 0 20px; }

/* Features */
.hv-pricing-features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.hv-pricing-group {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--hv-muted); margin: 14px 0 4px; padding: 0;
}
.hv-pricing-group:first-child { margin-top: 0; }
.hv-pricing-yes,
.hv-pricing-no {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px; display: flex; align-items: center; gap: 10px; padding: 5px 0;
}
.hv-pricing-yes::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8.5L6.5 12L13 5' stroke='%233D9BE9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.hv-pricing-no { opacity: 0.38; }
.hv-pricing-no::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4L12 12M12 4L4 12' stroke='%236B7E96' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}
.hv-pricing-card--featured .hv-pricing-yes::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8.5L6.5 12L13 5' stroke='%237dcaff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* CTA */
.hv-pricing-cta {
  display: block; text-align: center; padding: 13px 20px; border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: opacity 0.2s;
}
.hv-pricing-cta:hover { opacity: 0.85; }
.hv-pricing-cta--outline { border: 2px solid var(--hv-line); color: var(--hv-navy); background: transparent; }
.hv-pricing-cta--outline:hover { border-color: var(--hv-blue); color: var(--hv-blue); opacity: 1; }
.hv-pricing-cta--solid { background: var(--hv-orange); color: #fff; border: 2px solid var(--hv-orange); }

@media (max-width: 640px) {
  .hv-pricing-header { padding: 60px 24px 56px; }
  .hv-pricing-header h1 { font-size: 28px; }
  .hv-pricing-cards { grid-template-columns: 1fr; max-width: 420px; gap: 28px; }
  .hv-pricing-card { padding: 32px 22px 34px; }
  .hv-pricing-card--featured { margin-top: 14px; }
  .hv-pricing-amount { font-size: 44px; }
}


/* ═══════════════════════════════════
   404 PAGE
   ═══════════════════════════════════ */

.hv-404 {
  padding: 80px 0 48px;
}
.hv-404-content {
  text-align: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--hv-line);
  margin-bottom: 48px;
}
.hv-404-code {
  font-family: 'Outfit', sans-serif;
  font-size: 120px;
  font-weight: 700;
  color: var(--hv-warm-gray);
  line-height: 1;
  display: block;
  letter-spacing: -4px;
}
.hv-404-title {
  font-family: 'Source Serif 4', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--hv-navy);
  margin: 16px 0 12px;
}
.hv-404-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--hv-muted);
  margin: 0 0 32px;
}
.hv-404-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--hv-orange);
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease-out;
}
.hv-404-btn:hover {
  background: var(--hv-orange-hover);
}
.hv-404-suggestions-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hv-muted);
  margin: 0 0 24px;
}

/* Generic page layout */
.hv-page {
  padding: 48px 0;
}
.hv-page-narrow {
  max-width: 900px;
}
.hv-page-header {
  margin-bottom: 40px;
}
.hv-page-title {
  font-family: 'Source Serif 4', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--hv-navy);
  line-height: 1.25;
  margin: 0 0 16px;
}
.hv-page-rule {
  height: 3px;
  background: var(--hv-orange);
  border-radius: 2px;
  margin-bottom: 32px;
}
.hv-page-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--hv-charcoal);
  line-height: 1.7;
  margin: 0 0 8px;
}
.hv-page-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--hv-charcoal);
  line-height: 1.7;
}

/* ═══════════════════════════════════
   SALARY CALCULATOR
   ═══════════════════════════════════ */

.salary-calculator-container {
  font-family: 'DM Sans', sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--hv-line);
}
.salary-calculator-container h3 {
  font-family: 'Source Serif 4', serif;
  text-align: left;
  color: var(--hv-navy);
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
}
.calculator-form .form-row {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}
.calculator-form .form-label {
  flex: 0 0 30%;
  font-weight: 500;
  color: var(--hv-charcoal);
  font-size: 14px;
}
.calculator-form .form-inputs {
  flex: 0 0 70%;
  display: flex;
  gap: 15px;
}
.calculator-form .form-inputs.single {
  flex: 0 0 70%;
}
.calculator-form .input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.calculator-form .input-group label {
  font-size: 12px;
  color: var(--hv-muted);
  margin-bottom: 5px;
  background: var(--hv-warm-gray);
  padding: 6px 12px;
  border-radius: 5px 5px 0 0;
}
.calculator-form .input-group input {
  font-family: 'DM Sans', sans-serif;
  padding: 10px 14px;
  border: 1px solid var(--hv-line);
  border-radius: 0 5px 5px 5px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}
.calculator-form .input-group input:focus {
  outline: none;
  border-color: var(--hv-blue);
}
.calculator-form .select-wrapper {
  position: relative;
  width: 100%;
}
.calculator-form .select-wrapper select {
  font-family: 'DM Sans', sans-serif;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--hv-line);
  border-radius: 5px;
  font-size: 15px;
  appearance: none;
  background: #fff;
  box-sizing: border-box;
}
.calculator-form .select-wrapper.disabled select {
  background: var(--hv-warm-gray);
  color: var(--hv-muted);
  cursor: not-allowed;
}
.calculator-form .select-wrapper::after {
  content: "\25BC";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hv-muted);
  pointer-events: none;
  font-size: 10px;
}

/* Summary */
.summary-container {
  margin-top: 30px;
  border: 1px solid var(--hv-line);
  border-radius: 8px;
  overflow: hidden;
}
.summary-container h4 {
  background: var(--hv-navy);
  color: #fff;
  padding: 14px 20px;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.summary-row {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 14px 20px;
  font-size: 14px;
}
.summary-row.total {
  background: var(--hv-warm-gray);
  font-weight: 700;
  color: var(--hv-navy);
}
.summary-label { flex: 1; font-weight: 500; }
.summary-value { flex: 1; text-align: right; font-weight: 500; }

/* Info box */
.info-box {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hv-line);
}
.info-title {
  background: var(--hv-navy);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
}
.info-content {
  padding: 16px 20px;
  background: var(--hv-warm-gray);
  color: var(--hv-charcoal);
}
.info-content p {
  margin: 6px 0;
  line-height: 1.6;
  font-size: 13px;
}

/* ═══════════════════════════════════
   LABOR LAW TABLE
   ═══════════════════════════════════ */

.hv-law-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}
.hv-law-table th {
  background: var(--hv-navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.hv-law-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hv-line);
  color: var(--hv-charcoal);
  vertical-align: top;
}
.hv-law-table tr:last-child td {
  border-bottom: none;
}
.hv-law-table a {
  color: var(--hv-blue);
  text-decoration: none;
  font-weight: 500;
}
.hv-law-table a:hover {
  color: var(--hv-orange);
}
.hv-law-table .hv-law-topics {
  font-size: 12px;
  color: var(--hv-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════
   PODCAST PAGE
   ═══════════════════════════════════ */

.hv-podcast-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.hv-podcast-hero-img {
  width: 100%;
  border-radius: 10px;
}
.hv-podcast-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--hv-charcoal);
  line-height: 1.7;
  margin: 0 0 16px;
}
.hv-podcast-embeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.hv-podcast-embeds iframe {
  width: 100%;
  border-radius: 8px;
}
.hv-podcast-hosts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--hv-line);
}
.hv-host {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hv-host-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.hv-host-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--hv-navy);
  margin: 0 0 4px;
}
.hv-host-bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--hv-muted);
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 767px) {
  .calculator-form .form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .calculator-form .form-label {
    margin-bottom: 8px;
  }
  .calculator-form .form-inputs,
  .calculator-form .form-inputs.single {
    flex: 1;
  }
  .hv-podcast-hero,
  .hv-podcast-embeds,
  .hv-podcast-hosts {
    grid-template-columns: 1fr;
  }
}
/* HRVault Footer — Editorial
   ─────────────────────────────
   Navy background, DM Sans typography,
   clean grid layout, subtle accent details. */

/* Main footer */
.hv-footer-main {
  background: var(--hv-navy);
  padding: 56px 0 48px;
}

.hv-footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.hv-footer-main .hv-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Brand column */
.hv-footer-brand {
  padding-right: 24px;
}
.hv-footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}
.hv-footer-logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.hv-footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

/* Column headings */
.hv-footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hv-orange);
  margin: 0 0 16px 0;
  padding: 0;
}
.hv-footer-heading--spaced {
  margin-top: 28px;
}

/* Link lists */
.hv-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hv-footer-links li {
  margin-bottom: 10px;
}
.hv-footer-links li:last-child {
  margin-bottom: 0;
}
.hv-footer-links a,
.hv-footer-links a:link,
.hv-footer-links a:visited {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: color 0.2s ease-out;
}
.hv-footer-links a:hover {
  color: #fff !important;
}

/* Bottom bar */
.hv-footer-bottom {
  background: #142540;
  padding: 20px 0;
}
.hv-footer-bottom .hv-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hv-footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}
.hv-footer-legal {
  display: flex;
  gap: 24px;
}
.hv-footer-legal a,
.hv-footer-legal a:link,
.hv-footer-legal a:visited {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.35) !important;
  text-decoration: none !important;
  transition: color 0.2s ease-out;
}
.hv-footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hv-footer-links a,
  .hv-footer-legal a {
    transition: none !important;
  }
}
/* HRVault Responsive Overrides */

/* Mobile navigation — two-row header */
@media (max-width: 1024px) {
  .hv-header-top .hv-header-inner {
    height: 56px;
  }
  .hv-logo-img {
    height: 30px;
  }
  .hv-menu-toggle {
    display: flex;
  }
  .hv-header-nav .hv-header-inner {
    justify-content: space-between;
  }
  .hv-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 2px solid var(--hv-navy);
    box-shadow: 0 4px 16px rgba(26, 47, 79, 0.08);
    padding: 8px 0;
    z-index: 999;
  }
  .hv-nav.is-open {
    display: block;
  }
  .hv-nav-menu {
    flex-direction: column;
    gap: 0;
  }
  .hv-nav-menu > li > a {
    padding: 12px 24px;
  }
  .hv-nav-menu > li:first-child > a {
    padding-left: 24px;
  }
  .hv-nav-menu > li.current-menu-item > a::before,
  .hv-nav-menu > li.current-menu-ancestor > a::before {
    display: none;
  }
  .hv-nav-menu .sub-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    background: var(--hv-warm-gray);
  }
  .hv-nav-menu > li.is-open > .sub-menu {
    display: block;
  }
  /* Mega menu — stack on mobile, hidden by default */
  .hv-mega-panel {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    grid-template-columns: 1fr !important;
    width: auto !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--hv-warm-gray);
  }
  .hv-nav-menu > li.is-open > .hv-mega-panel {
    display: grid;
  }
  /* Dropdown arrow indicator for collapsible items */
  .hv-nav-menu > li.menu-item-has-children > a::after,
  .hv-nav-menu > li.hv-has-mega > a::after {
    transition: transform 0.2s ease-out;
  }
  .hv-nav-menu > li.is-open > a::after {
    transform: rotate(180deg);
  }
  .hv-mega-featured {
    display: none;
  }
  .hv-mega-list {
    padding: 4px 0;
  }
  .hv-mega-list-item {
    padding: 10px 24px;
  }
  .hv-nav-menu .sub-menu li + li {
    border-top: none;
  }
  .hv-nav-menu .sub-menu li a {
    padding: 10px 24px;
  }
  .hv-header-inner {
    padding: 0 16px;
  }
  .hv-user-name {
    display: none;
  }
  /* Mobile search: show icon, hide inline form */
  .hv-search-toggle {
    display: flex;
  }
  .hv-search-form {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    border-bottom: 2px solid var(--hv-navy);
    box-shadow: 0 4px 16px rgba(26, 47, 79, 0.08);
    z-index: 998;
  }
  .hv-search-form.is-open {
    display: flex;
  }
  .hv-search-form .hv-search-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
  }
  .hv-search-form .hv-search-input:focus {
    width: 100%;
  }
}

/* Footer responsive */
@media (max-width: 1024px) {
  .hv-footer-main .hv-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 767px) {
  /* Footer */
  .hv-footer-main .hv-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hv-footer-brand {
    padding-right: 0;
  }
  .hv-footer-bottom .hv-footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .hv-footer-legal {
    justify-content: center;
  }

  /* Section headers */
  .hrvault-header-masthead h2 { font-size: 32px !important; letter-spacing: -1px !important; }
  .hrvault-header-masthead .hdr-top-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hrvault-header-accent h3 { font-size: 26px !important; }
  .hrvault-header-inset { padding: 20px 20px 18px; }
  .hrvault-header-inset h3 { font-size: 28px !important; }
  .hrvault-header-editorial h3 { font-size: 26px !important; }
  .hrvault-header-split { gap: 16px; }
  .hrvault-header-split h2 { font-size: 24px !important; }
  .hrvault-header-split .hdr-icon { width: 52px; height: 52px; }
  .hrvault-header-split .hdr-icon svg { width: 22px; height: 22px; }
  .hrvault-header-ticker-bar { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 0; }
  .hrvault-header-ticker h2 { font-size: 24px !important; }

  /* Smart Listings — global */
  .premium-smart-listing__featured-post-wrapper h4.premium-smart-listing__post-title a { font-size: 18px !important; }

  /* Blog Cards — global */
  .premium-blog-entry-title a { font-size: 15px !important; }
  .premium-blog-content-wrapper { padding: 12px 16px 12px !important; }
  .premium-blog-wrap { grid-template-columns: 1fr !important; }

  /* Toolkit */
  .hv-toolkit-card {
    flex: 0 0 100%;
    padding: 22px 20px 20px;
  }

  /* Library */
  .hv-library-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hv-library-card {
    padding: 20px 12px 18px;
  }
  .hv-library-card .card-title {
    font-size: 14px;
  }

  /* Frontpage listings — stack on mobile */
  .hv-listing {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .hv-listing-featured {
    min-height: 260px;
  }
  .hv-listing-item-img {
    width: 80px;
    height: 60px;
  }

  /* Card grid — single column on mobile */
  .hv-card-grid--3,
  .hv-card-grid--2 {
    grid-template-columns: 1fr !important;
  }
  .hv-card-img {
    height: 200px;
  }

  /* Tables — horizontal scroll on mobile */
  .hv-law-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hv-page-content {
    overflow-x: hidden;
  }

  /* Archive pages — stack on mobile */
  .hv-archive-featured {
    grid-template-columns: 1fr !important;
  }
  .hv-archive-featured-img {
    height: 220px;
  }
  .hv-archive-grid {
    grid-template-columns: 1fr !important;
  }

  /* Banner — stack on mobile */
  .hv-banner-nextgen {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }
  .hv-banner-nextgen-logo {
    height: 36px;
  }
  .hv-banner-skg {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px;
  }
  .hv-banner-skg-logo {
    height: 40px;
  }
}
