/* Hugo Privacy Compliance — bottom bar + privacy-choices link */
.hpc-consent-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: #1a1a1a;
  color: #f5f2ec;
  box-shadow: 0 -2px 12px rgba(0,0,0,.35);
  font-family: Arial, Helvetica, sans-serif;
  animation: hpc-consent-in .25s ease-out;
}
@keyframes hpc-consent-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.hpc-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hpc-consent-copy {
  flex: 1 1 420px;
  font-size: 14px;
  line-height: 1.5;
}
.hpc-consent-copy a { color: #e0a45e; text-decoration: underline; }
.hpc-consent-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}
.hpc-consent-btn {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
}
.hpc-consent-accept { background: #C25700; color: #fff; }
.hpc-consent-accept:hover { background: #a84c00; }
.hpc-consent-decline { background: transparent; color: #f5f2ec; border-color: #6b6b6b; }
.hpc-consent-decline:hover { border-color: #f5f2ec; }

/* persistent CCPA footer link */
.hpc-privacy-choices {
  position: fixed;
  left: 12px; bottom: 12px;
  z-index: 99998;
  font: 12px/1 Arial, sans-serif;
  color: #666;
  background: rgba(255,255,255,.85);
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.12);
}
.hpc-privacy-choices:hover { color: #1a1a1a; }
.hpc-privacy-choices.hpc-pos-right  { left: auto; right: 12px; }
.hpc-privacy-choices.hpc-pos-center { left: 50%; transform: translateX(-50%); white-space: nowrap; }
/* hide the floating link while the bar itself is open */
.hpc-consent-bar.is-open ~ .hpc-privacy-choices { display: none; }

@media (max-width: 600px) {
  .hpc-consent-inner { padding: 14px; }
  .hpc-consent-actions { flex: 1 1 100%; }
  .hpc-consent-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hpc-consent-bar { animation: none; }
}

/* ---------------------------------------------------------------------
 * Policy pages — [hpc_privacy_policy] / [hpc_cookie_policy] and [hpc_cookie_details].
 * Centered reading column; inherits the theme's fonts and colors.
 * ------------------------------------------------------------------- */
.hpc-policy,
.hpc-cookie-details {
  box-sizing: border-box;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px;
  line-height: 1.65;
  text-align: left;
}
.hpc-policy .hpc-cookie-details { padding: 0; margin-top: 2.5em; }
.hpc-policy .hpc-cookie-details > h2:first-child { text-align: left; }
.hpc-policy > h1:first-child,
.hpc-policy > h2:first-child,
.hpc-cookie-details > h2:first-child { text-align: center; margin-top: 0; }
.hpc-policy h1, .hpc-policy h2, .hpc-policy h3,
.hpc-cookie-details h2, .hpc-cookie-details h3 { line-height: 1.25; margin: 1.8em 0 .6em; }
.hpc-policy p, .hpc-cookie-details p { margin: 0 0 1em; }
.hpc-policy ul, .hpc-policy ol { margin: 0 0 1em 1.4em; }
.hpc-table-wrap { overflow-x: auto; margin: 1em 0 1.5em; }
.hpc-cookie-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.hpc-cookie-table th,
.hpc-cookie-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(127,127,127,.3); }
.hpc-cookie-table th { font-weight: 600; background: rgba(127,127,127,.1); }
.hpc-cookie-table code { font-size: .9em; }
@media (max-width: 600px) {
  .hpc-policy, .hpc-cookie-details { padding: 32px 16px; }
}
