/**
 * ============================================================
 * HBM — ARCHIVE PREMIUM CSS (WORKING FINAL)
 * ============================================================
 */

body.post-type-archive-hbm_business,
body.page-slug-restaurants{
  background:#070b0f !important;
}

body.post-type-archive-hbm_business #page,
body.post-type-archive-hbm_business .site,
body.post-type-archive-hbm_business #content,
body.post-type-archive-hbm_business .site-content,
body.post-type-archive-hbm_business .content-area,
body.post-type-archive-hbm_business .content-inner,
body.post-type-archive-hbm_business .jeg_main,
body.post-type-archive-hbm_business .jeg_main_content,
body.post-type-archive-hbm_business .container,
body.post-type-archive-hbm_business .jeg_container,
body.page-slug-restaurants #page,
body.page-slug-restaurants .site,
body.page-slug-restaurants #content,
body.page-slug-restaurants .site-content,
body.page-slug-restaurants .content-area,
body.page-slug-restaurants .content-inner,
body.page-slug-restaurants .jeg_main,
body.page-slug-restaurants .jeg_main_content,
body.page-slug-restaurants .container,
body.page-slug-restaurants .jeg_container{
  background:transparent !important;
  box-shadow:none !important;
}

.hbm-archive{
  --hbm-surface:#0f5a63;
  --hbm-surface-2:#08373c;
  --hbm-border:rgba(214,173,97,.26);
  --hbm-text:rgba(255,255,255,.94);
  --hbm-muted:rgba(255,255,255,.72);
  --hbm-gold:#d6ad61;
  --hbm-radius:18px;
  --hbm-shadow:0 18px 60px rgba(0,0,0,.55);
  --hbm-shadow-soft:0 10px 30px rgba(0,0,0,.28);

  position:relative;
  z-index:1;
  max-width:1180px;
  margin:0 auto;
  padding:28px 16px 70px;
  color:var(--hbm-text);
}

.hbm-archive::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 18% 0%, rgba(214,173,97,.10), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(10,106,91,.12), transparent 36%),
    linear-gradient(180deg, #070b0f, #06080c 55%, #040608);
  z-index:-1;
  pointer-events:none;
}

.hbm-archive .hbm-topbar{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 10px;
  margin:0 0 12px;
  border-radius:14px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.hbm-archive .hbm-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  font-weight:900;
  max-width:260px;
}

.hbm-archive .hbm-topbar .custom-logo-link{
  display:inline-flex !important;
  align-items:center !important;
  line-height:1 !important;
}

.hbm-archive .hbm-topbar .custom-logo{
  width:auto !important;
  height:44px !important;
  max-height:44px !important;
  max-width:220px !important;
  object-fit:contain !important;
  display:block !important;
}

.hbm-archive .hbm-topbar img{
  max-height:44px !important;
  width:auto !important;
  object-fit:contain !important;
}

.hbm-archive .hbm-toplink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:12px;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  border:1px solid rgba(214,173,97,.32);
  background:rgba(214,173,97,.12);
  color:rgba(255,255,255,.96);
  transition:.18s ease;
}
.hbm-archive .hbm-toplink:hover{
  background:rgba(214,173,97,.18);
  border-color:rgba(214,173,97,.45);
}

.hbm-archive .hbm-hero{
  border-radius:22px;
  padding:28px 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(214,173,97,.14), transparent 45%),
    radial-gradient(circle at 86% 18%, rgba(10,106,91,.14), transparent 52%),
    linear-gradient(160deg, rgba(10,12,11,.96), rgba(7,11,15,.98));
  border:1px solid var(--hbm-border);
  box-shadow:0 22px 70px rgba(0,0,0,.65);
  margin-bottom:18px;
}

.hbm-archive .hbm-hero h1{
  margin:0;
  font-size:clamp(24px, 2.8vw, 40px);
  line-height:1.08;
  font-weight:900;
  color:rgba(255,255,255,.98);
}

.hbm-archive .hbm-hero p{
  margin:8px 0 0;
  color:var(--hbm-muted);
  font-weight:700;
}

.hbm-archive .hbm-toolbar{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin:14px 0 16px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02);
  box-shadow:var(--hbm-shadow-soft);
}

.hbm-archive .hbm-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  flex:1 1 auto;
}

.hbm-archive .hbm-input,
.hbm-archive .hbm-select{
  min-height:46px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:#014f57;
  color:var(--hbm-text);
  outline:none;
  transition:.18s ease;
}

.hbm-archive .hbm-input::placeholder{
  color:rgba(247,245,242,.82);
}

.hbm-archive .hbm-input:focus,
.hbm-archive .hbm-select:focus{
  border-color:rgba(214,173,97,.42);
  box-shadow:0 0 0 4px rgba(214,173,97,.10);
}

.hbm-archive .hbm-input{
  min-width:220px;
  flex:1 1 240px;
}

.hbm-archive .hbm-select{
  min-width:180px;
  flex:0 1 200px;
}

.hbm-archive .hbm-btn{
  min-height:46px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(214,173,97,.32);
  background:rgba(214,173,97,.14);
  color:rgba(255,255,255,.96);
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}
.hbm-archive .hbm-btn:hover{
  background:rgba(214,173,97,.18);
  border-color:rgba(214,173,97,.45);
}

.hbm-archive .hbm-meta{
  color:var(--hbm-muted);
  font-weight:800;
  font-size:13px;
  white-space:nowrap;
}

.hbm-archive .hbm-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  align-items:stretch;
}

@media (max-width:980px){
  .hbm-archive .hbm-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:560px){
  .hbm-archive .hbm-grid{
    grid-template-columns:1fr;
  }
}

.hbm-archive .hbm-card{
  border-radius:var(--hbm-radius);
  overflow:hidden;
  border:1px solid var(--hbm-border);
  background:linear-gradient(180deg, var(--hbm-surface), var(--hbm-surface-2));
  box-shadow:var(--hbm-shadow);
  display:flex;
  flex-direction:column;
  height:100%;
}

.hbm-archive .hbm-card-img{
  position:relative;
  aspect-ratio:16/10;
  min-height:240px;
  max-height:240px;
  background:rgba(255,255,255,.03);
  overflow:hidden;
}

.hbm-archive .hbm-card-img img{
  width:100%;
  height:100%;
  min-height:100%;
  max-height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.hbm-archive .hbm-card-placeholder{
  width:100%;
  height:100%;
  display:block;
  background:
    radial-gradient(circle at 22% 25%, rgba(214,173,97,.16), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}

.hbm-archive .hbm-badge{
  position:absolute;
  left:12px;
  top:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(7,11,15,.62);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
  font-size:12px;
  color:rgba(255,255,255,.96);
}

.hbm-archive .hbm-body{
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1 1 auto;
}

.hbm-archive .hbm-title{
  margin:0;
  font-weight:900;
  font-size:16px;
  line-height:1.25;
}

.hbm-archive .hbm-title a{
  color:rgba(255,255,255,.98);
  text-decoration:none;
}

.hbm-archive .hbm-meta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--hbm-muted);
  font-weight:700;
  font-size:13px;
}

.hbm-archive .hbm-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.hbm-archive .hbm-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.86);
  font-size:12px;
  font-weight:800;
}

.hbm-archive .hbm-more{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(214,173,97,.95);
  font-weight:900;
  text-decoration:none;
}

.hbm-archive .hbm-empty{
  color:rgba(255,255,255,.78);
  font-weight:800;
  padding:14px 0;
}

.hbm-archive .hbm-pager{
  margin-top:18px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}

.hbm-archive .hbm-pager .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:900;
  margin:0;
}

.hbm-archive .hbm-pager .page-numbers.current{
  border-color:rgba(214,173,97,.30);
  background:rgba(214,173,97,.14);
  color:rgba(255,255,255,.96);
}

@media (max-width:560px){
  .hbm-archive{
    padding:22px 14px 60px;
  }

  .hbm-archive .hbm-form{
    width:100%;
  }

  .hbm-archive .hbm-input,
  .hbm-archive .hbm-select,
  .hbm-archive .hbm-btn{
    width:100%;
  }

  .hbm-archive .hbm-meta{
    width:100%;
  }

  .hbm-archive .hbm-card-img{
    min-height:220px;
    max-height:220px;
  }
}