/* Hotel Rooms Plugin CSS */

@media (max-width: 767.98px) {
  .sg-offcanvas.active {
    overflow: visible !important;
    min-height: max-content !important;
  }

  .sg-offcanvas.active .sg-offcanvas-sidebar {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
}

.hr-sidebar-card {
  border-radius: 1rem;
}

.hr-room-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 1rem;
  overflow: hidden;
}

.hr-room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1) !important;
}

.hr-room-card .hr-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.hr-room-card .hr-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hr-room-card:hover .hr-card-img-wrap img {
  transform: scale(1.05);
}

.hr-badge-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.hr-badge-price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #28a745;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Facility tick items */
.hr-facility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f1f5f9;
  color: #334155;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 500;
  margin-bottom: 6px;
  margin-right: 6px;
}

.hr-facility-item i {
  color: #10b981;
}

/* Photo Gallery Frontend */
.hr-gallery-main {
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.hr-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.hr-gallery-thumb {
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hr-gallery-thumb:hover, .hr-gallery-thumb.active {
  opacity: 1;
  transform: scale(1.03);
  border: 2px solid #3b82f6;
}

.hr-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo uploader preview items */
.hr-photo-item {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

.hr-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hr-photo-item .js-hr-remove-photo,
.js-hr-remove-photo {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  line-height: 16px !important;
  font-size: 9px !important;
  border-radius: 50% !important;
  flex: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
  z-index: 99 !important;
}

.hr-photo-item.is-main {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

.hr-photo-item .main-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: #2563eb;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
}
/* Accommodation selector: keep conditional fields correct even before JS initializes. */
#hr-create-room-form:has(input[name="listing_type"][value="homestay"]:checked) .js-hr-property-fields,
#hr-edit-room-form:has(input[name="listing_type"][value="homestay"]:checked) .js-hr-property-fields {
  display: none !important;
}

#hr-create-room-form:has(input[name="listing_type"][value="homestay"]:checked) .js-hr-homestay-fields,
#hr-edit-room-form:has(input[name="listing_type"][value="homestay"]:checked) .js-hr-homestay-fields {
  display: block !important;
}

#hr-create-room-form:has(input[name="listing_type"][value="property"]:checked) .js-hr-homestay-fields,
#hr-edit-room-form:has(input[name="listing_type"][value="property"]:checked) .js-hr-homestay-fields {
  display: none !important;
}

#hr-create-room-form:has(input[name="listing_type"][value="homestay"]:checked) option.js-hr-property-category,
#hr-edit-room-form:has(input[name="listing_type"][value="homestay"]:checked) option.js-hr-property-category,
#hr-create-room-form:has(input[name="listing_type"][value="property"]:checked) option.js-hr-homestay-category,
#hr-edit-room-form:has(input[name="listing_type"][value="property"]:checked) option.js-hr-homestay-category {
  display: none;
}

/* Scoped Sidebar Layout for Hotel Rooms / Stays */
.travel-room-sidebar,
.hr-detail-sidebar,
.places-detail-sidebar {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(8, 124, 167, 0.06);
  margin-bottom: 20px;
}
.travel-room-sidebar__identity,
.places-detail-sidebar__identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 16px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(135deg, #f8fafc, #fff);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.places-detail-sidebar__identity > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 12px;
  background: #e0f2fe;
  color: #087ca7;
  font-size: 16px;
}
.places-detail-sidebar__identity small {
  display: block;
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.places-detail-sidebar__identity h2 {
  overflow: hidden;
  margin: 2px 0 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.places-detail-sidebar__categories {
  padding: 16px 13px;
}
.places-category-strip__head--sidebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 12px;
}
.places-category-strip__head--sidebar span {
  display: block;
  color: #087ca7;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.places-category-strip__head--sidebar h3 {
  margin: 3px 0 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}
.places-category-sidebar-grid {
  display: grid;
  gap: 8px;
}
.places-category-pill--sidebar {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #ffffff;
  color: #334155;
  text-decoration: none !important;
  transition: transform .2s, border-color .2s, background-color .2s, box-shadow .2s;
}
.places-category-pill--sidebar:hover,
.places-category-pill--sidebar.is-active {
  border-color: rgba(8, 124, 167, 0.45);
  background: #f0f9ff;
  color: #087ca7;
  transform: translateY(-2px);
}
.places-category-pill--sidebar.is-active {
  box-shadow: inset 0 0 0 1px rgba(8, 124, 167, 0.22);
}
.places-category-pill--sidebar .places-category-pill__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 11px;
  background: #e0f2fe;
  color: #087ca7;
  font-size: 15px;
  transition: background-color .2s, color .2s;
}
.places-category-pill--sidebar:hover .places-category-pill__icon,
.places-category-pill--sidebar.is-active .places-category-pill__icon {
  background: #087ca7;
  color: #fff;
}
.places-category-pill__copy {
  min-width: 0;
  flex: 1;
}
.places-category-pill--sidebar strong,
.places-category-pill--sidebar small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.places-category-pill--sidebar strong {
  max-width: none;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
}
.places-category-pill--sidebar:hover strong,
.places-category-pill--sidebar.is-active strong {
  color: #087ca7;
}
.places-category-pill--sidebar small {
  margin-top: 2px;
  color: #64748b;
  font-size: 9px;
  font-weight: 600;
}
.places-sidebar-v2 {
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(8, 124, 167, 0.06);
}
.places-sidebar-v2__heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px;
  border-bottom: 1px solid #edf2f7;
}
.places-sidebar-v2__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #087ca7, #066285);
  color: #fff;
  box-shadow: 0 7px 16px rgba(8, 124, 167, 0.25);
}
.places-sidebar-v2__heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 850;
}
.places-sidebar-v2__heading p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 10px;
}
.places-sidebar-v2__section {
  padding: 17px 18px;
  border-bottom: 1px solid #edf2f7;
}
.places-sidebar-v2__section h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.places-sidebar-v2__section h3 i {
  color: #087ca7;
}
.places-discovery-form label:not(.places-sort-radio) {
  margin: 9px 0 5px;
  color: #475569;
  font-size: 10px;
  font-weight: 750;
}
.places-discovery-form .form-select {
  min-height: 39px;
  border-color: #cbd5e1;
  border-radius: 9px;
  color: #1e293b;
  font-size: 12px;
}
.places-discovery-form .form-select:focus {
  border-color: #087ca7;
  box-shadow: 0 0 0 3px rgba(8, 124, 167, 0.14);
}
.places-sidebar-v2__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  padding: 17px 18px;
}
.places-filter-apply {
  border-radius: 10px;
  background: #087ca7;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border: 0;
  padding: 8px 14px;
  transition: all 0.18s ease;
}
.places-filter-apply:hover {
  background: #066285;
  color: #fff;
}
.places-filter-reset {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}
.places-filter-reset:hover {
  color: #087ca7;
}
.places-community-entry {
  display: block;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid rgba(8, 124, 167, 0.22);
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fafc, #f0f9ff);
  color: #0f172a;
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.places-community-entry:hover {
  border-color: rgba(8, 124, 167, 0.45);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 124, 167, 0.12);
}
.places-community-entry__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #087ca7;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.places-community-entry > strong {
  display: block;
  margin: 5px 0 6px;
  font-size: 14px;
  font-weight: 850;
}
.places-community-entry > small {
  display: block;
  color: #64748b;
  font-size: 10px;
  line-height: 1.45;
}
.places-community-entry__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: #087ca7;
  font-size: 10px;
  font-weight: 850;
}
.hr-detail-sidebar .btn-outline-primary,
.places-detail-sidebar .btn-outline-primary {
  border-color: #087ca7;
  color: #087ca7;
}
.hr-detail-sidebar .btn-outline-primary:hover,
.places-detail-sidebar .btn-outline-primary:hover {
  background: #087ca7;
  border-color: #087ca7;
  color: #fff !important;
}

/* =========================================================================
   NEW ACCOMMODATION MARKETPLACE HERO & SEARCH WIDGET
   ========================================================================= */

.hr-hero-banner {
  position: relative;
  background: linear-gradient(135deg, #07263b 0%, #0d4a6b 40%, #087ca7 100%);
  border-radius: 20px;
  color: #fff;
  padding: 32px 28px 26px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(7, 38, 59, 0.18);
}

.hr-hero-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.hr-hero-banner::after {
  content: "";
  position: absolute;
  bottom: -90px;
  left: 20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 70%);
  pointer-events: none;
}

.hr-hero-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.hr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0f2fe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hr-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hr-hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.925rem;
  margin: 0;
  max-width: 620px;
  line-height: 1.45;
}

/* Integrated Booking Search Widget */
.hr-hero-search-box {
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 14px 34px rgba(7, 30, 55, 0.16);
}

.hr-search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.85fr) auto;
  gap: 8px;
  align-items: center;
}

.hr-search-field {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hr-search-field label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hr-search-field label i {
  color: #087ca7;
  font-size: 11px;
}

.hr-search-field .form-control,
.hr-search-field .form-select {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 7px 10px;
  height: 38px;
  background-color: #f8fafc;
  transition: all 0.18s ease;
}

.hr-search-field .form-control:focus,
.hr-search-field .form-select:focus {
  background-color: #fff;
  border-color: #087ca7;
  box-shadow: 0 0 0 3px rgba(8, 124, 167, 0.14);
}

.hr-search-btn {
  height: 48px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #087ca7;
  border: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(8, 124, 167, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-top: 14px;
}

.hr-search-btn:hover {
  background: #066285;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8, 124, 167, 0.45);
}

/* Quick Room Type Discovery Strip */
.hr-type-pills-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.hr-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.hr-type-pill:hover {
  border-color: #cbd5e1;
  color: #087ca7;
  background: #f8fafc;
  transform: translateY(-1px);
}

.hr-type-pill.active {
  background: #087ca7;
  border-color: #087ca7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(8, 124, 167, 0.3);
}

.hr-type-pill .hr-pill-icon {
  font-size: 14px;
  color: #087ca7;
}

.hr-type-pill.active .hr-pill-icon {
  color: #ffffff;
}

.hr-type-pill .hr-pill-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #64748b;
}

.hr-type-pill.active .hr-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Results Header Bar */
.hr-results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hr-results-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.hr-results-header p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.hr-sort-select {
  min-width: 190px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  border-color: #cbd5e1;
}

/* Active Filter Chips */
.hr-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.hr-chips-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.hr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.hr-chip:hover {
  background: #bae6fd;
  color: #0284c7;
}

.hr-chip b {
  font-size: 14px;
  line-height: 1;
}

.hr-chip-clear {
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
  margin-left: auto;
}

.hr-chip-clear:hover {
  color: #dc2626;
  text-decoration: underline !important;
}

/* =========================================================================
   MODERN ROOM LISTING CARD (V2)
   ========================================================================= */

.hr-card-v2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hr-card-v2:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.11);
}

.hr-card-v2-img-wrap {
  position: relative;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
}

.hr-card-v2-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hr-card-v2:hover .hr-card-v2-img-wrap img {
  transform: scale(1.04);
}

.hr-card-v2-fallback-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.hr-card-badge-type {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2;
}

.hr-card-badge-type.is-homestay {
  background: rgba(13, 148, 136, 0.85);
}

.hr-card-badge-urgency {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10.5px;
  font-weight: 750;
  padding: 4px 9px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.hr-card-badge-price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 2;
}

.hr-card-badge-price small {
  font-weight: 500;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.8);
}

.hr-card-badge-quote {
  background: #ffffff;
  color: #087ca7;
  border: 1px solid #087ca7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.hr-card-v2-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
}

.hr-card-source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #087ca7;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hr-card-source-row .hr-source-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.hr-card-title-link {
  color: #0f172a;
  text-decoration: none !important;
  font-weight: 750;
  font-size: 15.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.hr-card-title-link:hover {
  color: #087ca7;
}

.hr-card-specs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 10px;
}

.hr-card-specs-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hr-card-specs-row span i {
  color: #94a3b8;
  font-size: 11px;
}

.hr-card-loc-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 12px;
}

.hr-card-loc-row i {
  color: #ef4444;
  font-size: 11px;
}

.hr-card-facility-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.hr-card-facility-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 500;
}

.hr-card-facility-tag i {
  color: #10b981;
  font-size: 9px;
}

.hr-card-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.hr-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #1e293b;
}

.hr-card-rating i {
  color: #f59e0b;
}

.hr-card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  background: #087ca7;
  color: #ffffff !important;
  border: none;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.hr-card-cta-btn:hover,
.hr-card-cta-btn:focus,
.hr-card-cta-btn:active {
  background: #066285 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.hr-card-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.hr-card-edit-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Mobile Sidebar Toggle Button */
.hr-mobile-tools {
  display: none;
  margin-bottom: 14px;
}

.hr-mobile-filter-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #1e293b;
  font-weight: 750;
  font-size: 13px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

/* Responsive Media Queries */
@media (max-width: 1199.98px) {
  .hr-search-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .hr-search-btn {
    grid-column: span 3;
    margin-top: 6px;
  }
}

@media (max-width: 767.98px) {
  .hr-mobile-tools {
    display: block;
  }
  .hr-hero-banner {
    padding: 22px 18px 18px;
    border-radius: 16px;
  }
  .hr-hero-title {
    font-size: 1.45rem;
  }
  .hr-search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hr-search-btn {
    grid-column: span 2;
  }
  .hr-card-v2-img-wrap {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hr-search-grid {
    grid-template-columns: 1fr;
  }
  .hr-search-btn {
    grid-column: span 1;
  }
  .hr-type-pills-wrap {
    gap: 6px;
  }
  .hr-type-pill {
    padding: 7px 14px;
    font-size: 12px;
  }
}
