/* =============================================================================
   HPA PROJECTS — Complete Stylesheet
   Palette: Navy #0A1628 | Orange #E85D04 | White #FFFFFF
   Font: Barlow Condensed (headings) | Barlow (body)
   ============================================================================= */

/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --hpa-navy:        #0A1628;
  --hpa-navy-dark:   #060D1B;
  --hpa-navy-card:   #0D1B35;
  --hpa-navy-light:  #102040;
  --hpa-navy-border: rgba(255,255,255,0.08);
  --hpa-orange:      #E85D04;
  --hpa-orange-h:    #FF6B10;
  --hpa-white:       #FFFFFF;
  --hpa-white-80:    rgba(255,255,255,0.80);
  --hpa-white-50:    rgba(255,255,255,0.50);
  --hpa-white-20:    rgba(255,255,255,0.20);
  --hpa-overlay:     rgba(10,22,40,0.90);
  --hpa-font-h:      'Barlow Condensed', sans-serif;
  --hpa-font-b:      'Barlow', sans-serif;
  --hpa-ease:        cubic-bezier(0.25,0.46,0.45,0.94);
  --hpa-dur:         350ms;
  --hpa-gap:         3px;
  --hpa-radius:      0px;
}

/* ── Reset / Base ──────────────────────────────────────────────────────────── */
.hpa-projects-section *,
.hpa-single-project * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================================
   GALLERY SECTION
   ============================================================================ */

.hpa-projects-section {
  background-color: var(--hpa-navy-dark);
  color: var(--hpa-white);
  font-family: var(--hpa-font-b);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture lines */
.hpa-projects-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--hpa-navy-border) 1px, transparent 1px),
    linear-gradient(0deg, var(--hpa-navy-border) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.4;
}

/* ── Section Header ─────────────────────────────────────────────────────────── */

.hpa-projects-header {
  text-align: center;
  padding: 0 24px 64px;
  position: relative;
  z-index: 1;
}

.hpa-eyebrow {
  display: inline-block;
  font-family: var(--hpa-font-h);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--hpa-orange);
  margin-bottom: 16px;
  position: relative;
}

.hpa-eyebrow::before,
.hpa-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--hpa-orange);
  vertical-align: middle;
  margin: 0 12px;
  opacity: 0.7;
}

.hpa-section-title {
  font-family: var(--hpa-font-h);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--hpa-white);
  margin-bottom: 24px;
}

.hpa-section-subtitle {
  font-family: var(--hpa-font-b);
  font-size: 16px;
  font-weight: 300;
  color: var(--hpa-white-50);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Filters ─────────────────────────────────────────────────────────────────── */

.hpa-filters-wrap {
  padding: 0 24px 48px;
  position: relative;
  z-index: 1;
}

.hpa-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.hpa-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--hpa-white-50);
  border: 1px solid var(--hpa-navy-border);
  padding: 8px 20px;
  font-family: var(--hpa-font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--hpa-dur) var(--hpa-ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.hpa-filter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hpa-orange);
  transform: translateY(101%);
  transition: transform var(--hpa-dur) var(--hpa-ease);
  z-index: 0;
}

.hpa-filter span,
.hpa-filter {
  position: relative;
  z-index: 1;
}

.hpa-filter:hover {
  color: var(--hpa-white);
  border-color: var(--hpa-orange);
}

.hpa-filter:hover::before {
  transform: translateY(0);
}

.hpa-filter.active {
  background: var(--hpa-orange);
  color: var(--hpa-white);
  border-color: var(--hpa-orange);
}

.hpa-filter.active::before {
  transform: translateY(0);
}

/* ── Projects Grid ───────────────────────────────────────────────────────────── */

.hpa-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hpa-gap);
  padding: 0;
  position: relative;
  z-index: 1;
  min-height: 200px;
}

/* Featured card — first card spans 2 columns */
.hpa-project-card.hpa-card--featured {
  grid-column: span 2;
}

/* ── Project Card ────────────────────────────────────────────────────────────── */

.hpa-project-card {
  position: relative;
  overflow: hidden;
  background: var(--hpa-navy-card);
  display: block;
}

.hpa-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Image wrap */
.hpa-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hpa-card--featured .hpa-card-img-wrap {
  aspect-ratio: 16 / 9;
}

.hpa-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--hpa-ease);
  will-change: transform;
}

.hpa-project-card:hover .hpa-card-img {
  transform: scale(1.04);
}

/* No image fallback */
.hpa-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--hpa-white-20);
  background: var(--hpa-navy-light);
  font-family: var(--hpa-font-h);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hover overlay */
.hpa-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--hpa-overlay);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: opacity var(--hpa-dur) var(--hpa-ease);
  pointer-events: none;
}

.hpa-project-card:hover .hpa-card-overlay {
  opacity: 1;
}

.hpa-card-overlay-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(8px);
  transition: transform var(--hpa-dur) var(--hpa-ease);
  width: 100%;
}

.hpa-project-card:hover .hpa-card-overlay-inner {
  transform: translateY(0);
}

.hpa-card-desc {
  font-family: var(--hpa-font-b);
  font-size: 14px;
  font-weight: 300;
  color: var(--hpa-white-80);
  line-height: 1.5;
  max-width: 420px;
}

.hpa-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hpa-font-h);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hpa-white);
}

.hpa-arrow {
  transition: transform var(--hpa-dur) var(--hpa-ease);
}

.hpa-project-card:hover .hpa-arrow {
  transform: translateX(4px);
}

/* Card info panel */
.hpa-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--hpa-navy-card);
  border-top: 2px solid var(--hpa-orange);
  gap: 12px;
}

.hpa-card-info-inner {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hpa-card-location {
  font-family: var(--hpa-font-h);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--hpa-white-80);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.hpa-card-type {
  font-family: var(--hpa-font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--hpa-orange);
  text-transform: uppercase;
}

.hpa-card-title-wrap {
  flex-shrink: 0;
}

.hpa-card-title {
  font-family: var(--hpa-font-h);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hpa-white-20);
  white-space: nowrap;
}

/* ── No projects state ───────────────────────────────────────────────────────── */

.hpa-no-projects {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--hpa-white-50);
  font-family: var(--hpa-font-b);
  font-size: 16px;
  line-height: 1.7;
}

.hpa-no-projects strong {
  color: var(--hpa-orange);
}

/* ── Loading state ───────────────────────────────────────────────────────────── */

.hpa-projects-grid.is-loading {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 200ms;
}

.hpa-projects-grid.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border: 3px solid var(--hpa-navy-border);
  border-top-color: var(--hpa-orange);
  border-radius: 50%;
  animation: hpa-spin 0.7s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes hpa-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Card reveal animation ───────────────────────────────────────────────────── */

.hpa-project-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--hpa-ease), transform 500ms var(--hpa-ease);
}

.hpa-project-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Load More ───────────────────────────────────────────────────────────────── */

.hpa-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 48px 24px 0;
  position: relative;
  z-index: 1;
}

.hpa-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--hpa-white);
  border: 1px solid var(--hpa-navy-border);
  padding: 14px 32px;
  font-family: var(--hpa-font-h);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--hpa-dur) var(--hpa-ease);
}

.hpa-load-more:hover {
  background: var(--hpa-orange);
  border-color: var(--hpa-orange);
}

.hpa-load-more:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ── Filter transition ───────────────────────────────────────────────────────── */

.hpa-projects-grid.filter-transition .hpa-project-card {
  transition: opacity 200ms;
  opacity: 0;
  transform: none;
}


/* ============================================================================
   SINGLE PROJECT PAGE
   ============================================================================ */

.hpa-single-project {
  background: var(--hpa-navy-dark);
  color: var(--hpa-white);
  font-family: var(--hpa-font-b);
}

/* ── Hero ─────────────────────────────────────────────────────────────────────── */

.hpa-single-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hpa-single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,13,27,0.3) 0%,
    rgba(6,13,27,0.55) 50%,
    rgba(6,13,27,0.92) 100%
  );
  z-index: 1;
}

.hpa-single-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px;
  max-width: 900px;
}

.hpa-single-eyebrow {
  display: inline-block;
  font-family: var(--hpa-font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--hpa-orange);
  margin-bottom: 16px;
}

.hpa-single-title {
  font-family: var(--hpa-font-h);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--hpa-white);
  margin-bottom: 20px;
}

.hpa-single-hero-location {
  font-family: var(--hpa-font-h);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--hpa-white-80);
  margin-bottom: 12px;
}

.hpa-single-hero-type {
  display: inline-block;
  background: var(--hpa-orange);
  color: var(--hpa-white);
  font-family: var(--hpa-font-h);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 14px;
}

/* Back button */
.hpa-single-back {
  position: absolute;
  top: 32px;
  left: 40px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hpa-font-h);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hpa-white-50);
  text-decoration: none;
  transition: color var(--hpa-dur) var(--hpa-ease);
}

.hpa-single-back:hover {
  color: var(--hpa-orange);
}

/* ── Info Bar ─────────────────────────────────────────────────────────────────── */

.hpa-single-info-bar {
  background: var(--hpa-navy-card);
  border-top: 3px solid var(--hpa-orange);
  border-bottom: 1px solid var(--hpa-navy-border);
}

.hpa-single-info-container {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.hpa-single-info-item {
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid var(--hpa-navy-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hpa-single-info-item:last-child {
  border-right: none;
}

.hpa-info-label {
  font-family: var(--hpa-font-h);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hpa-orange);
}

.hpa-info-value {
  font-family: var(--hpa-font-h);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--hpa-white);
  text-transform: uppercase;
}

/* ── Description ─────────────────────────────────────────────────────────────── */

.hpa-single-description {
  padding: 80px 0;
}

.hpa-single-desc-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.hpa-single-desc-content {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--hpa-white-80);
}

.hpa-single-desc-content p {
  margin-bottom: 20px;
}

.hpa-single-desc-content p:last-child {
  margin-bottom: 0;
}

/* ── Gallery Section ─────────────────────────────────────────────────────────── */

.hpa-single-gallery-section {
  padding: 0 0 80px;
  background: var(--hpa-navy-dark);
}

.hpa-single-gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.hpa-single-gallery-heading {
  font-family: var(--hpa-font-h);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--hpa-white-50);
  padding: 0 40px 32px;
}

/* Masonry-style gallery via CSS columns */
.hpa-single-gallery {
  columns: 2;
  column-gap: var(--hpa-gap);
  padding: 0;
}

.hpa-gal-item {
  break-inside: avoid;
  margin-bottom: var(--hpa-gap);
  overflow: hidden;
  display: block;
}

.hpa-gal-trigger {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hpa-gal-trigger img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 500ms var(--hpa-ease);
}

.hpa-gal-trigger:hover img {
  transform: scale(1.04);
}

.hpa-gal-item-overlay {
  position: absolute;
  inset: 0;
  background: var(--hpa-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hpa-white);
  opacity: 0;
  transition: opacity var(--hpa-dur) var(--hpa-ease);
}

.hpa-gal-trigger:hover .hpa-gal-item-overlay {
  opacity: 1;
}

/* ── Lightbox ─────────────────────────────────────────────────────────────────── */

.hpa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--hpa-ease);
}

.hpa-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.hpa-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.97);
  cursor: pointer;
}

.hpa-lightbox-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
  gap: 20px;
}

.hpa-lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 120px);
}

.hpa-lb-img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  display: block;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
  transition: opacity 200ms;
}

.hpa-lb-img.is-loading {
  opacity: 0;
}

.hpa-lb-close,
.hpa-lb-prev,
.hpa-lb-next {
  position: absolute;
  background: none;
  border: 1px solid var(--hpa-navy-border);
  color: var(--hpa-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--hpa-dur) var(--hpa-ease);
}

.hpa-lb-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.hpa-lb-prev,
.hpa-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}

.hpa-lb-prev { left: 24px; }
.hpa-lb-next { right: 24px; }

.hpa-lb-close:hover,
.hpa-lb-prev:hover,
.hpa-lb-next:hover {
  background: var(--hpa-orange);
  border-color: var(--hpa-orange);
}

.hpa-lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--hpa-font-h);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--hpa-white-50);
}

/* ── Prev/Next Navigation ─────────────────────────────────────────────────────── */

.hpa-single-nav {
  border-top: 1px solid var(--hpa-navy-border);
  background: var(--hpa-navy-card);
  padding: 0;
}

.hpa-single-nav-inner {
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

.hpa-nav-link {
  flex: 1;
  padding: 32px 40px;
  text-decoration: none;
  color: var(--hpa-white);
  border-right: 1px solid var(--hpa-navy-border);
  transition: background var(--hpa-dur) var(--hpa-ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hpa-nav-link:hover {
  background: var(--hpa-navy-light);
}

.hpa-nav-next {
  text-align: right;
  align-items: flex-end;
  border-right: none;
}

.hpa-nav-all {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  color: var(--hpa-white-50);
  text-decoration: none;
  border-right: 1px solid var(--hpa-navy-border);
  transition: color var(--hpa-dur) var(--hpa-ease);
  min-width: 80px;
}

.hpa-nav-all:hover {
  color: var(--hpa-orange);
}

.hpa-nav-dir {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hpa-font-h);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hpa-orange);
}

.hpa-nav-title {
  font-family: var(--hpa-font-h);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.1;
}


/* ============================================================================
   RESPONSIVE
   ============================================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hpa-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hpa-project-card.hpa-card--featured {
    grid-column: span 2;
  }

  .hpa-single-hero-content {
    padding: 60px 40px;
  }

  .hpa-single-title {
    font-size: clamp(44px, 7vw, 80px);
  }

  .hpa-single-info-container {
    flex-wrap: wrap;
  }

  .hpa-single-info-item {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--hpa-navy-border);
  }

  .hpa-single-gallery {
    columns: 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hpa-projects-section {
    padding: 64px 0 48px;
  }

  .hpa-projects-header {
    padding-bottom: 40px;
  }

  .hpa-section-title {
    font-size: clamp(38px, 10vw, 64px);
    letter-spacing: -0.5px;
  }

  /* Mobile filters — horizontal scroll */
  .hpa-filters-wrap {
    padding: 0 0 32px;
    overflow: hidden;
  }

  .hpa-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 4px;
    overflow-x: auto;
    padding: 0 20px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hpa-filters::-webkit-scrollbar {
    display: none;
  }

  .hpa-filter {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 11px;
  }

  .hpa-projects-grid {
    grid-template-columns: 1fr;
  }

  .hpa-project-card.hpa-card--featured {
    grid-column: span 1;
  }

  .hpa-card--featured .hpa-card-img-wrap {
    aspect-ratio: 4 / 3;
  }

  /* Single project */
  .hpa-single-hero {
    min-height: 65vh;
  }

  .hpa-single-hero-content {
    padding: 80px 24px 40px;
  }

  .hpa-single-back {
    top: 20px;
    left: 20px;
  }

  .hpa-single-info-container {
    flex-direction: column;
  }

  .hpa-single-info-item {
    border-right: none;
    border-bottom: 1px solid var(--hpa-navy-border);
    padding: 20px 24px;
    flex: none;
  }

  .hpa-single-info-item:last-child {
    border-bottom: none;
  }

  .hpa-single-desc-container {
    padding: 0 24px;
  }

  .hpa-single-gallery {
    columns: 1;
  }

  .hpa-single-nav-inner {
    flex-direction: column;
  }

  .hpa-nav-link {
    border-right: none;
    border-bottom: 1px solid var(--hpa-navy-border);
  }

  .hpa-nav-next {
    align-items: flex-start;
    text-align: left;
  }

  .hpa-nav-all {
    border-right: none;
    border-bottom: 1px solid var(--hpa-navy-border);
    justify-content: center;
    padding: 20px;
  }

  .hpa-lb-prev { left: 8px; }
  .hpa-lb-next { right: 8px; }

  .hpa-lb-img-wrap {
    max-width: 100vw;
    padding: 0 60px;
  }
}

@media (max-width: 480px) {
  .hpa-card-info {
    padding: 12px 14px;
  }

  .hpa-section-title {
    font-size: 38px;
  }
}

/* ── Accessibility ────────────────────────────────────────────────────────────── */

.hpa-filter:focus-visible,
.hpa-load-more:focus-visible,
.hpa-lb-close:focus-visible,
.hpa-lb-prev:focus-visible,
.hpa-lb-next:focus-visible,
.hpa-gal-trigger:focus-visible {
  outline: 2px solid var(--hpa-orange);
  outline-offset: 2px;
}

.hpa-card-link:focus-visible {
  outline: 2px solid var(--hpa-orange);
  outline-offset: 0;
}

/* Hide outline for mouse users */
.hpa-filter:focus:not(:focus-visible),
.hpa-card-link:focus:not(:focus-visible) {
  outline: none;
}
