/* ============================================
   CSS Reset (adapted from Tailwind Preflight)
   ============================================ */
@layer base {

  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }

  html,
  :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b,
  strong {
    font-weight: bolder;
  }

  code,
  kbd,
  samp,
  pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sub {
    bottom: -0.25em;
  }

  sup {
    top: -0.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  ol,
  ul,
  menu {
    list-style: none;
  }

  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }

  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit,
  ::-webkit-datetime-edit-year-field,
  ::-webkit-datetime-edit-month-field,
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field,
  ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field,
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button,
  input:where([type='button'], [type='reset'], [type='submit']),
  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }

}

/* ============================================
   QHC Brand Variables
   ============================================ */
:root {
  --qhc-primary: #294c9c;
  --qhc-dark: #21234c;
  --qhc-gold: #eab308;
  --qhc-footer-bg: rgba(25, 27, 58, 0.98);
}

/* ============================================
   QHC Component Styles
   ============================================ */
@layer components {

  /* --- Utility replacements --- */
  .hidden {
    display: none !important;
  }

  .pointer-events-none {
    pointer-events: none;
  }

  .opacity-75 {
    opacity: 0.75;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* --- Navigation --- */
  .qhc-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-bottom: none !important;
  }

  .qhc-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
  }

  .qhc-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }

  .qhc-nav-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }

  .qhc-nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
  }

  .qhc-nav-logo-img {
    height: 56px;
    width: auto;
  }

  .qhc-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .qhc-nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .qhc-nav-hamburger {
    display: none;
    padding: 8px;
    border-radius: 8px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
  }

  .qhc-nav-hamburger:hover {
    background: #f3f4f6;
  }

  .qhc-nav-hamburger-icon {
    width: 28px;
    height: 28px;
    display: block;
  }

  .qhc-mobile-menu-inner {
    padding: 1rem 1.5rem;
  }

  @media (max-width: 767px) {
    .qhc-nav-links {
      display: none;
    }

    .qhc-nav-hamburger {
      display: block;
    }
  }

  .qhc-nav-link {
    color: var(--qhc-primary) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.06em;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
  }

  .qhc-nav-link:hover {
    color: var(--qhc-primary) !important;
    border-bottom-color: var(--qhc-gold);
  }

  /* --- Footer --- */
  .qhc-footer {
    background: var(--qhc-footer-bg);
    color: #ffffff;
  }

  .qhc-footer a {
    color: #cbd5e1;
  }

  .qhc-footer a:hover {
    color: var(--qhc-gold);
  }

  .qhc-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid rgba(234, 179, 8, 0.4);
  }

  .qhc-footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  @media (max-width: 640px) {
    .qhc-footer-columns {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }

  .qhc-footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--qhc-gold);
    margin-bottom: 1rem;
  }

  .qhc-footer-richtext {
    font-size: 0.875rem;
    color: #cbd5e1;
    line-height: 1.7;
  }

  .qhc-footer-richtext p {
    margin-bottom: 0.4rem;
  }

  .qhc-footer-jobs {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
  }

  .qhc-footer-job {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .qhc-footer-job:last-child {
    border-bottom: none;
  }

  .qhc-footer-job-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0 !important;
  }

  .qhc-footer-job-link:hover {
    color: var(--qhc-gold) !important;
  }

  .qhc-footer-job-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 1px;
  }

  .qhc-footer-all-jobs {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--qhc-gold) !important;
    text-decoration: none;
  }

  .qhc-footer-all-jobs:hover {
    text-decoration: underline;
  }

  .qhc-footer-no-jobs {
    font-size: 0.875rem;
    color: #94a3b8;
  }

  /* --- Heading accent underline (gold top + navy bottom) --- */
  .qhc-heading {
    display: inline-block;
    border-top: 8px solid var(--qhc-gold);
    border-bottom: 4px solid var(--qhc-dark);
    padding: 8px 0;
  }

  /* --- Buttons --- */
  .qhc-btn {
    background: var(--qhc-dark);
    color: #ffffff;
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .qhc-btn:hover {
    background: var(--qhc-primary);
    color: #ffffff;
  }

  .qhc-btn-outline {
    background: transparent;
    color: var(--qhc-primary);
    border: 2px solid var(--qhc-primary);
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .qhc-btn-outline:hover {
    background: var(--qhc-primary);
    color: #ffffff;
  }

  /* --- Service list items (dark navy card with gold badge) --- */
  .qhc-service-card {
    background: rgba(25, 27, 58, 0.85);
    border-radius: 10px;
    padding: 20px;
    color: #ffffff;
  }

  .qhc-service-badge {
    background: var(--qhc-gold);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--qhc-dark);
    font-weight: 700;
  }

  /* --- Cards --- */
  .qhc-card {
    background: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
  }

  .qhc-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .qhc-card-title {
    font-weight: 700;
    color: var(--qhc-dark);
    border-bottom: 3px solid var(--qhc-gold);
    padding-bottom: 8px;
    margin-bottom: 12px;
  }

  /* --- Sign In / Sign Up buttons in nav --- */
  .qhc-signin-btn {
    color: var(--qhc-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
  }

  .qhc-signin-btn:hover {
    color: var(--qhc-gold);
  }

  .qhc-signup-btn {
    background: var(--qhc-dark);
    color: #ffffff !important;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
  }

  .qhc-signup-btn:hover {
    background: var(--qhc-primary);
    color: #ffffff !important;
  }

  /* --- Stats section --- */
  .qhc-stats-section {
    background: var(--qhc-dark);
    color: #ffffff;
  }

  /* --- Hero section --- */
  .qhc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #21234c 0%, #294c9c 50%, #1a2a6c 100%);
  }

  .qhc-hero--page {
    min-height: 0;
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .qhc-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .qhc-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
  }

  .qhc-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="2" cy="2" r="1.5" fill="white" fill-opacity="0.5"/></svg>');
    background-size: 60px 60px;
  }

  .qhc-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1rem 0;
    text-align: center;
  }

  .qhc-gold-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #eab308;
  }

  .qhc-hero-badge {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.4);
  }

  .qhc-hero-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.15;
  }

  .qhc-hero-emphasis {
    color: #eab308;
  }

  .qhc-hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 48rem;
    margin: 1rem auto 0;
  }

  .qhc-hero-secondary-btn {
    border: 2px solid white;
    color: white;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .qhc-hero-secondary-btn:hover {
    background: white;
    color: #21234c;
  }

  /* --- Section headings --- */
  .qhc-section-title {
    color: var(--qhc-dark);
    font-weight: 800;
  }

  .qhc-values-section {
    background: #f8f9fa;
  }

  /* --- Interior page header --- */
  .qhc-page-header {
    background: var(--qhc-dark);
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
    border-bottom: 4px solid var(--qhc-gold);
  }

  .qhc-page-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .qhc-page-header-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  }

  .qhc-page-header-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-top: 1rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Services block --- */
  .qhc-service-section {
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    align-items: center;
    background: #ffffff;
  }

  .block-services_block+.block-services_block .qhc-service-section {
    flex-direction: row-reverse;
  }

  .qhc-service-text {
    flex-basis: 50%;
    padding: 10px;
    height: 100%;
  }

  .qhc-service-text h2 {
    display: block;
    padding: 5px 0;
    color: #294c9c;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 500;
    border-bottom: 5px solid #21234c;
    position: relative;
    margin-bottom: 16px;
  }

  .qhc-service-text h2::before {
    content: "";
    position: absolute;
    width: 30%;
    height: 100%;
    border-top: 10px solid #eab308;
    top: -5px;
    left: 0;
  }

  .qhc-service-description {
    padding: 10px;
    color: #212529;
    font-size: 1rem;
    line-height: 1.5;
  }

  .qhc-service-list {
    background: rgba(25, 27, 58, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
  }

  .qhc-service-list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .qhc-service-list ul li {
    position: relative;
    list-style: none;
    display: flex;
    align-items: flex-start;
    padding-left: 44px;
    padding-right: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
    flex-basis: 50%;
    min-height: 50px;
    margin-bottom: 6px;
  }

  .qhc-service-list ul li::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 34px;
    height: 34px;
    background: #eab308;
    border: 2px solid #eab308;
    border-radius: 34px;
    transition: width 0.5s, background 0.5s 0.5s;
  }

  .qhc-service-list ul li::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 12px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) scale(1.5);
    z-index: 1;
  }

  .qhc-service-list ul li p {
    position: relative;
    z-index: 10;
    padding: 5px 10px;
    color: #ffffff;
    margin: 0;
  }

  .qhc-service-image-wrap {
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 400px;
  }

  .qhc-service-image {
    height: 400px;
    width: auto;
    border-radius: 25px;
  }

  @media (max-width: 768px) {
    .qhc-service-section {
      padding: 10px;
    }

    .block-services_block+.block-services_block .qhc-service-section {
      flex-direction: row;
    }

    .qhc-service-text,
    .qhc-service-image-wrap {
      flex-basis: 100%;
    }

    .qhc-service-image-wrap {
      height: auto;
    }

    .qhc-service-list ul li {
      flex-basis: 100%;
    }
  }

  /* --- Job detail page --- */
  .qhc-job-content {
    background: #ffffff;
  }

  .qhc-job-back {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 30px 0;
  }

  .qhc-job-back-link {
    color: #21234c;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    padding: 4px 0;
    transition: color 0.2s ease;
  }

  .qhc-job-back-link:hover {
    color: var(--qhc-gold);
  }

  .qhc-job-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 30px 50px;
    background: #ffffff;
  }

  .qhc-job-main {
    flex: 1 1 0;
    min-width: 0;
  }

  .qhc-job-aside {
    flex: 0 0 360px;
    width: 360px;
    position: sticky;
    top: 90px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 24px;
  }

  .qhc-job-detail-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
  }

  .qhc-job-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .qhc-job-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }

  .qhc-job-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }

  .qhc-job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #212529;
  }

  .qhc-job-detail-sep {
    color: #adb5bd;
  }

  .qhc-job-detail-description {
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.7;
    color: #212529;
  }

  .qhc-job-detail-description p {
    margin-bottom: 12px;
  }

  .qhc-job-detail-description ul {
    padding-left: 1.5rem;
    margin-bottom: 12px;
  }

  .qhc-job-detail-description li {
    margin-bottom: 6px;
  }

  /* Apply heading — same accent style as services/profile h2 */
  .qhc-job-apply-heading {
    display: block;
    padding: 5px 0;
    color: #294c9c;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 500;
    border-bottom: 5px solid #21234c;
    position: relative;
    margin-bottom: 30px;
  }

  .qhc-job-apply-heading::before {
    content: "";
    position: absolute;
    width: 30%;
    height: 100%;
    border-top: 10px solid #eab308;
    top: -5px;
    left: 0;
  }

  /* Application status box */
  .qhc-job-status-box {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 24px;
  }

  .qhc-job-status-label {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #21234c;
  }

  .qhc-job-status-box--applied {
    border-left: 4px solid #28a745;
  }

  .qhc-job-status-box--rejected {
    border-left: 4px solid #dc3545;
  }

  .qhc-job-status-box--reviewed {
    border-left: 4px solid #eab308;
  }

  .qhc-job-status-text {
    color: #495057;
    font-size: 0.95rem;
  }

  /* Form */
  .qhc-job-form {
    margin-bottom: 40px;
  }

  .qhc-form-group {
    margin-bottom: 20px;
  }

  .qhc-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }

  .qhc-form-row .qhc-form-group {
    flex: 1;
    margin-bottom: 0;
  }

  .qhc-form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #212529;
    margin-bottom: 6px;
  }

  .qhc-form-control,
  .qhc-job-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="hidden"]),
  .qhc-job-form select,
  .qhc-job-form textarea {
    display: block !important;
    width: 100% !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #495057 !important;
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    box-sizing: border-box !important;
  }

  .qhc-job-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="hidden"]):focus,
  .qhc-job-form select:focus,
  .qhc-job-form textarea:focus {
    outline: none !important;
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
  }

  .qhc-form-hint {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 4px;
  }

  .qhc-form-hint a {
    color: #294c9c;
  }

  .qhc-form-alert {
    margin-top: 12px;
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #212529;
  }

  .qhc-form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 4px;
  }

  .qhc-form-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .qhc-form-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #212529;
    cursor: pointer;
  }

  /* Checkbox */
  .qhc-form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .qhc-job-form input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 2px solid #ced4da !important;
    border-radius: 3px !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .qhc-form-label--checkbox {
    font-size: 0.875rem;
    color: #212529;
    line-height: 1.5;
  }

  .qhc-form-label--checkbox a {
    color: #294c9c;
  }

  /* File upload */
  .qhc-job-form input[type="file"] {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
    color: #495057 !important;
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    box-shadow: none !important;
    cursor: pointer !important;
  }

  .qhc-job-form input[type="file"]::file-selector-button {
    padding: 0.5rem 1rem;
    margin-right: 12px;
    background: var(--qhc-dark);
    color: #ffffff;
    border: none;
    border-right: 1px solid #ced4da;
    border-radius: 0.25rem 0 0 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .qhc-job-form input[type="file"]::file-selector-button:hover {
    background: var(--qhc-primary);
  }

  .qhc-job-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }

  .qhc-btn--danger {
    background: #dc3545 !important;
  }

  .qhc-btn--danger:hover {
    background: #c82333 !important;
  }

  /* --- Login page --- */
  .qhc-login-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem 4rem;
    background: #f8f9fa;
    min-height: 40vh;
  }

  .qhc-login-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 24px;
    width: 100%;
    max-width: 440px;
  }

  .qhc-login-card--wide {
    max-width: 640px;
  }

  .qhc-login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
  }

  .qhc-login-label-row .qhc-form-label {
    margin-bottom: 0;
  }

  .qhc-login-forgot {
    font-size: 0.82rem;
    color: var(--qhc-primary);
    text-decoration: none;
  }

  .qhc-login-forgot:hover {
    text-decoration: underline;
  }

  .qhc-login-signup {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #555;
  }

  .qhc-login-signup-link {
    color: var(--qhc-primary);
    font-weight: 600;
    text-decoration: none;
  }

  .qhc-login-signup-link:hover {
    text-decoration: underline;
  }

  .qhc-login-intro {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
  }

  .qhc-reset-steps {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
  }

  .qhc-reset-steps li {
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
    font-size: 0.9rem;
    color: #444;
  }

  .qhc-reset-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--qhc-gold);
  }

  /* --- Dashboard --- */
  .qhc-page-header-intro {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-top: 0.25rem;
  }

  .qhc-dash-tabs-bar {
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .qhc-dash-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .qhc-dash-tabs {
    display: flex;
    gap: 0;
  }

  .qhc-dash-tab {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
  }

  .qhc-dash-tab:hover {
    color: var(--qhc-primary);
  }

  .qhc-dash-tab--active {
    color: var(--qhc-primary);
    border-bottom-color: var(--qhc-gold);
  }

  .qhc-dash-body {
    background: #f8f9fa;
    min-height: 60vh;
    padding: 2rem 0 4rem;
  }

  .qhc-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  @media (max-width: 768px) {
    .qhc-dash-grid {
      grid-template-columns: 1fr;
    }
  }

  .qhc-dash-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 24px;
  }

  .qhc-dash-card--danger {
    background: #fff5f5;
    border-color: #f5c6cb;
  }

  .qhc-dash-section {
    margin-top: 1.5rem;
  }

  .qhc-dash-section:first-child {
    margin-top: 0;
  }

  .qhc-dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
  }

  .qhc-dash-card-header .qhc-dash-card-title {
    margin-bottom: 0;
  }

  .qhc-dash-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--qhc-dark);
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #dee2e6;
    position: relative;
  }

  .qhc-dash-card-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--qhc-gold);
  }

  .qhc-dash-card-title--danger {
    color: #c0392b;
  }

  .qhc-dash-card-title--danger::before {
    background: #c0392b;
  }

  .qhc-dash-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .qhc-nav-avatar--large {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .qhc-dash-identity-name {
    font-weight: 700;
    color: var(--qhc-dark);
    font-size: 1rem;
  }

  .qhc-dash-identity-meta {
    font-size: 0.85rem;
    color: #666;
  }

  .qhc-dash-app-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem 0;
  }

  .qhc-dash-app-row--bordered {
    border-bottom: 1px solid #f0f0f0;
  }

  .qhc-dash-app-info {
    flex: 1;
    min-width: 0;
  }

  .qhc-dash-app-name {
    font-weight: 700;
    color: var(--qhc-dark);
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .qhc-dash-app-meta {
    font-size: 0.82rem;
    color: #777;
    margin-bottom: 1px;
  }

  .qhc-dash-app-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
  }

  .qhc-dash-app-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
  }

  .qhc-dash-link {
    font-size: 0.82rem;
    color: var(--qhc-primary);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .qhc-dash-link:hover {
    text-decoration: underline;
  }

  .qhc-dash-link--danger {
    color: #dc3545;
  }

  .qhc-dash-more-link {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--qhc-primary);
    text-decoration: none;
    text-align: right;
  }

  .qhc-dash-more-link:hover {
    text-decoration: underline;
  }

  .qhc-dash-empty {
    color: #888;
    font-size: 0.9rem;
    padding: 1rem 0;
    text-align: center;
  }

  .qhc-dash-empty-state {
    text-align: center;
    padding: 2rem 0;
  }

  .qhc-dash-text {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0.75rem;
  }

  .qhc-dash-text--warning {
    color: #c0392b;
    font-weight: 600;
  }

  .qhc-dash-text--ok {
    color: #27ae60;
    font-weight: 600;
  }

  /* Status badges */
  .qhc-status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .qhc-status-badge--applied {
    background: #fff3cd;
    color: #856404;
  }

  .qhc-status-badge--reviewed {
    background: #d4edda;
    color: #155724;
  }

  .qhc-status-badge--rejected {
    background: #f8d7da;
    color: #721c24;
  }

  .qhc-status-badge--default {
    background: #d4edda;
    color: #155724;
  }

  /* Resumes */
  .qhc-resume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .qhc-resume-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.25rem;
  }

  .qhc-resume-icon {
    color: var(--qhc-dark);
    margin-bottom: 0.75rem;
  }

  .qhc-resume-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--qhc-dark);
    margin-bottom: 4px;
    word-break: break-word;
  }

  .qhc-resume-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.75rem;
    flex-wrap: wrap;
  }

  /* Small select */
  .qhc-form-control--sm {
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
    width: auto !important;
  }

  /* Modal */
  .qhc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
  }

  .qhc-modal-overlay.hidden {
    display: none;
  }

  .qhc-modal {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 2rem;
    width: 100%;
    max-width: 460px;
    margin: 1rem;
  }

  .qhc-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
  }

  /* Similar jobs */
  .qhc-job-similar {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #dee2e6;
  }

  .qhc-job-similar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #21234c;
    margin-bottom: 20px;
  }

  @media (max-width: 768px) {
    .qhc-job-layout {
      flex-direction: column;
      padding: 20px 16px 40px;
      gap: 30px;
    }

    .qhc-job-back {
      padding: 16px 16px 0;
    }

    .qhc-job-aside {
      flex: none;
      width: 100%;
      position: static;
    }

    .qhc-job-detail-wrap {
      padding: 0 16px;
    }

    .qhc-form-row {
      flex-direction: column;
      gap: 0;
    }

    .qhc-form-row .qhc-form-group {
      margin-bottom: 20px;
    }

    .qhc-job-detail-meta {
      font-size: 0.875rem;
    }
  }

  /* --- Jobs page --- */
  .qhc-jobs-section {
    background: #ffffff;
    padding: 3rem;
  }

  .qhc-jobs-container {
    max-width: 1280px;
    margin: 0 auto;
  }

  .qhc-jobs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
  }

  .qhc-job-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    flex: 0 0 calc(33.333% - 0.75rem);
    min-width: 0;
    margin-bottom: 0.25rem;
  }

  .qhc-job-card-body {
    padding: 10px;
  }

  .qhc-job-title {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 3px solid #eab308;
    padding-bottom: 5px;
    margin-bottom: 8px;
  }

  .qhc-job-title a {
    color: #21234c;
    text-decoration: none;
  }

  .qhc-job-title a:hover {
    color: #294c9c;
  }

  .qhc-job-meta {
    font-size: 1rem;
    color: #212529;
    font-weight: 400;
    margin-bottom: 4px;
  }

  .qhc-job-date {
    font-size: 1rem;
    color: #212529;
    font-weight: 400;
    margin-bottom: 12px;
  }

  .qhc-job-action {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
  }

  .qhc-jobs-empty {
    text-align: center;
    color: #6c757d;
    padding: 3rem 0;
    font-size: 1.125rem;
  }

  @media (max-width: 768px) {
    .qhc-jobs-section {
      padding: 1rem;
    }

    .qhc-job-card {
      flex: 0 0 100%;
    }
  }

  @media (min-width: 769px) and (max-width: 1024px) {
    .qhc-job-card {
      flex: 0 0 calc(50% - 0.5rem);
    }
  }

  /* --- Profile block --- */
  .qhc-profile-section {
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    align-items: center;
    background: #ffffff;
  }

  .qhc-profile-text {
    flex-basis: 50%;
    padding: 10px;
  }

  .qhc-profile-text h2 {
    display: block;
    padding: 5px 0;
    color: #294c9c;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 500;
    border-bottom: 5px solid #21234c;
    position: relative;
    margin-bottom: 16px;
  }

  .qhc-profile-text h2::before {
    content: "";
    position: absolute;
    width: 30%;
    height: 100%;
    border-top: 10px solid #eab308;
    top: -5px;
    left: 0;
  }

  .qhc-profile-text p {
    padding: 10px;
    color: #212529;
    font-size: 1rem;
    line-height: 1.5;
  }

  .qhc-profile-image-wrap {
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 400px;
  }

  .qhc-profile-image-wrap img {
    height: 400px;
    width: auto;
    border-radius: 25px;
    object-fit: cover;
  }

  .block-profile_block+.block-profile_block .qhc-profile-section {
    flex-direction: row-reverse;
  }

  @media (max-width: 768px) {
    .qhc-profile-section {
      padding: 10px;
    }

    .block-profile_block+.block-profile_block .qhc-profile-section {
      flex-direction: row;
    }

    .qhc-profile-text,
    .qhc-profile-image-wrap {
      flex-basis: 100%;
    }

    .qhc-profile-image-wrap {
      height: auto;
    }

    .qhc-profile-image-wrap img {
      height: auto;
      width: 100%;
    }
  }

  /* --- Nav profile button --- */
  .qhc-nav-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--qhc-dark);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
  }

  .qhc-nav-profile-btn:hover {
    background: var(--qhc-primary);
    color: #ffffff;
  }

  .qhc-nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--qhc-gold);
    color: var(--qhc-dark);
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .qhc-nav-avatar--guest {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    position: relative;
  }

  .qhc-nav-avatar-plus {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 13px;
    height: 13px;
    background: var(--qhc-gold);
    color: var(--qhc-dark);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    text-align: center;
  }

  .qhc-nav-profile-btn--guest {
    text-decoration: none;
  }

  /* --- Nav dropdown --- */
  .qhc-nav-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .qhc-nav-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
  }

  .qhc-nav-dropdown-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--qhc-dark);
  }

  .qhc-nav-dropdown-email {
    font-size: 0.78rem;
    color: #777;
    margin-top: 1px;
  }

  .qhc-nav-dropdown-link {
    display: block;
    padding: 9px 16px;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
  }

  .qhc-nav-dropdown-link:hover {
    background: #f8f9fa;
    color: var(--qhc-primary);
  }

  .qhc-nav-dropdown-divider {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 4px 0;
  }

  .qhc-nav-dropdown-signout {
    width: 100%;
    text-align: left;
    padding: 9px 16px;
    font-size: 0.875rem;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    display: block;
  }

  .qhc-nav-dropdown-signout:hover {
    background: #f8f9fa;
    color: #dc3545;
  }

  /* --- Logo text colors --- */
  .qhc-logo-primary {
    color: var(--qhc-primary);
  }

  .qhc-logo-dark {
    color: var(--qhc-dark);
  }

  /* --- Nav chevron/icon --- */
  .qhc-icon-primary {
    color: var(--qhc-primary);
  }

  /* --- Mobile menu border/divider --- */
  .qhc-mobile-border {
    border-top-color: #eab308;
  }

  .qhc-mobile-divider {
    border-color: rgba(255, 255, 255, 0.2);
  }

  .qhc-mobile-email {
    color: #cbd5e1;
  }

  .qhc-mobile-signout {
    color: #fca5a5 !important;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
  }


  /* --- Jobs block text --- */
  .qhc-subtitle-light {
    color: rgba(255, 255, 255, 0.8);
  }

  .qhc-body-light {
    color: rgba(255, 255, 255, 0.75);
  }

  /* --- Mobile menu --- */
  .qhc-mobile-menu {
    background: var(--qhc-dark) !important;
  }

  .qhc-mobile-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.05em;
  }

  .qhc-mobile-nav-link:hover {
    color: var(--qhc-gold) !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }

  /* --- Jobs block --- */
  .qhc-jobs-block {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
  }

  .qhc-jobs-block-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
  }

  .qhc-jobs-block-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
  }

  .qhc-jobs-block-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .qhc-jobs-block-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
  }

  .qhc-jobs-block-accent {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .qhc-jobs-block-subtitle {
    font-size: 1.125rem;
    max-width: 40rem;
    margin: 0 auto 2rem;
  }

  .qhc-jobs-block-desc {
    text-align: center;
    margin-bottom: 3rem;
  }

  .qhc-jobs-block-desc-text {
    font-size: 1rem;
    max-width: 56rem;
    margin: 0 auto;
  }

  .qhc-jobs-block-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .qhc-jobs-block-cta {
    text-align: center;
    margin-top: 3rem;
  }

  .qhc-jobs-block-btn {
    padding: 14px 32px;
    font-size: 1rem;
  }

  /* --- Services page block --- */
  .qhc-svcpage-section {
    background: #f8f9fa;
    padding: 5rem 1.5rem;
  }

  .qhc-svcpage-wrap {
    max-width: 1200px;
    margin: 0 auto;
  }

  .qhc-svcpage-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .qhc-svcpage-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--qhc-dark);
    margin-bottom: 1rem;
  }

  .qhc-svcpage-subtitle {
    font-size: 1.125rem;
    color: #555;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
  }

  .qhc-svcpage-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .qhc-svcpage-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.75rem;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .qhc-svcpage-card:hover {
    border-color: var(--qhc-gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .qhc-svcpage-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--qhc-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
  }

  .qhc-svcpage-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--qhc-dark);
    margin-bottom: 0.4rem;
  }

  .qhc-svcpage-card-intro {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
  }

  /* --- Form errors --- */
  .qhc-form-errors {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1rem;
  }

  .qhc-form-errors-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #721c24;
    margin-bottom: 0.5rem;
  }

  .qhc-form-errors-list {
    list-style: disc;
    padding-left: 1.25rem;
  }

  .qhc-form-errors-list li {
    font-size: 0.875rem;
    color: #721c24;
  }

  /* --- Video gallery --- */
  .qhc-video-gallery {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .qhc-video-gallery-item {
    position: relative;
  }

  .qhc-video-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
    aspect-ratio: 10 / 7;
  }

  .qhc-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .qhc-video-overlay {
    position: absolute;
    inset: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .qhc-video-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--qhc-dark);
    margin-top: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .qhc-video-meta {
    font-size: 0.8rem;
    color: #777;
  }

  /* --- Standard page body --- */
  .qhc-content-surface {
    background: #ffffff;
  }

  .qhc-content-body {
    max-width: 896px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    color: #1f2937;
  }

  .qhc-prose {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #1f2937;
  }

  .qhc-prose h1,
  .qhc-prose h2,
  .qhc-prose h3,
  .qhc-prose h4 {
    color: #111827;
    line-height: 1.25;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
  }

  .qhc-prose h1 {
    font-size: 2rem;
    font-weight: 800;
  }

  .qhc-prose h2 {
    font-size: 1.625rem;
    font-weight: 700;
  }

  .qhc-prose h3 {
    font-size: 1.325rem;
    font-weight: 700;
  }

  .qhc-prose h4 {
    font-size: 1.125rem;
    font-weight: 700;
  }

  .qhc-prose p,
  .qhc-prose ul,
  .qhc-prose ol,
  .qhc-prose blockquote,
  .qhc-prose table,
  .qhc-prose pre {
    margin-bottom: 1.1rem;
  }

  .qhc-prose a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .qhc-prose a:hover {
    color: #1e40af;
  }

  .qhc-prose ul,
  .qhc-prose ol {
    padding-left: 1.5rem;
  }

  .qhc-prose ul {
    list-style: disc;
  }

  .qhc-prose ol {
    list-style: decimal;
  }

  .qhc-prose li {
    margin-bottom: 0.35rem;
  }

  .qhc-prose blockquote {
    border-left: 4px solid #d1d5db;
    padding: 0.75rem 1rem;
    color: #4b5563;
    background: #f9fafb;
  }

  .qhc-prose img {
    border-radius: 0.5rem;
  }

  .qhc-prose table {
    width: 100%;
    border-collapse: collapse;
  }

  .qhc-prose th,
  .qhc-prose td {
    border: 1px solid #e5e7eb;
    padding: 0.55rem 0.7rem;
    text-align: left;
  }

  .qhc-prose thead th {
    background: #f8fafc;
    font-weight: 700;
  }

  /* --- Values block --- */
  .qhc-values-section {
    padding: 5rem 1rem;
  }

  .qhc-values-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .qhc-section-heading-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
  }

  .qhc-section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }

  .qhc-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .qhc-value-item {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.5rem;
  }

  .qhc-value-item-text {
    color: #6b7280;
    margin: 0;
  }

  /* --- Stats block --- */
  .qhc-stats-section {
    padding: 4rem 0;
  }

  .qhc-stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .qhc-stats-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 4rem;
    text-align: center;
  }

  .qhc-stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .qhc-stat-label {
    color: rgba(219, 234, 254, 0.9);
    margin: 0;
  }

  /* --- Tag block --- */
  .qhc-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
  }

  .qhc-tag--blue {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
  }

  .qhc-tag--amber {
    background: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
  }

  .qhc-tag--green {
    background: #dcfce7;
    color: #15803d;
    border-color: #bbf7d0;
  }

  .qhc-tag--purple {
    background: #f3e8ff;
    color: #7e22ce;
    border-color: #e9d5ff;
  }

  .qhc-tag--red {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
  }

  .qhc-tag--indigo {
    background: #e0e7ff;
    color: #4338ca;
    border-color: #c7d2fe;
  }

  .qhc-tag--pink {
    background: #fce7f3;
    color: #be185d;
    border-color: #fbcfe8;
  }

  .qhc-tag--gray {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
  }

  .qhc-tag-icon {
    width: 1rem;
    height: 1rem;
  }

  /* --- Privacy consent pages --- */
  .qhc-consent-summary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .qhc-consent-policy-text {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.25rem;
    max-height: 24rem;
    overflow-y: auto;
    margin-bottom: 1.5rem;
  }

  .qhc-consent-policy-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--qhc-dark);
    margin: 0 0 1rem;
  }

  .qhc-consent-policy-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--qhc-dark);
    margin: 1rem 0 0.25rem;
  }

  .qhc-consent-text {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
  }

  .qhc-consent-meta {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
  }

  .qhc-consent-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .qhc-consent-checkbox {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
  }

  .qhc-consent-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: #dcfce7;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: #15803d;
  }

  .qhc-consent-footer {
    border-top: 1px solid #dee2e6;
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
  }

}