.flex {
    display: flex;
}

.center {
    justify-content: center;
    align-items: center;
}

/* General layout for item grids */
.hire-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Each item card */
.hire-item-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  background-color: #fff;
  transition: box-shadow 0.3s;
}

.hire-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hire-item-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.hire-item-card h3 {
  font-size: 1.1rem;
  margin: 0;
}

.hire-category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hire-category-tile {
  border: 1px solid #e0e0e0;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  transition: box-shadow 0.3s;
}

.hire-category-tile:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.hire-category-tile img,
.fallback-tile-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  background: #f5f5f5;
  margin-bottom: 0.5rem;
}

.hire-category-tile h3 {
  font-size: 1.1rem;
  margin: 0;
}

.blocksy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.badge {
    background-color: #e6017e;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
}

.image-gallery img {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: #dc1b27;
    padding: .5rem 1rem;
    color: white;
    font-weight: 700;
    border: none;
    text-decoration: none;
    display: inline-block;
    font-size: 1.2rem;
    border-radius: 6px;
    transition: background-color 0.3s;
    margin-top: 2rem;
}

.btn-primary:hover {
    background-color: #101010;
	color: white;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem .5rem;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s;
}

.image-gallery img:hover {
  transform: scale(1.02);
  cursor: zoom-in;
}

.hire-item-wrapper {
    background: #ffffff;
}

.badge.h-rates {
	display: inline-block;
	width: auto;
	height: 38px;
	background-color: #b6101b;
	-webkit-border-radius: 3px 4px 4px 3px;
	-moz-border-radius: 3px 4px 4px 3px;
	border-radius: 3px 4px 4px 3px;
	
	border-left: 1px solid #b6101b;

	/* This makes room for the triangle */
	margin-left: 19px;
	
	position: relative;
	
	color: white;
	font-weight: 300;
	font-size: 22px;
	line-height: 38px;

	padding: 0 10px 0 10px;
}

/* Makes the triangle */
.badge.h-rates:before {
	content: "";
	position: absolute;
	display: block;
	left: -19px;
	width: 0;
	height: 0;
	border-top: 19px solid transparent;
	border-bottom: 19px solid transparent;
	border-right: 19px solid #b6101b;
}

/* Makes the circle */
.badge.h-rates:after {
	content: "";
	background-color: white;
	border-radius: 50%;
	width: 4px;
	height: 4px;
	display: block;
	position: absolute;
	left: -9px;
	top: 17px;
}
.image-gallery a:hover {
    box-shadow: 4px 3px 8px 2px #6c6c6c;
}

.recent-hire-items-grid .hire-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.recent-hire-items-grid .hire-item-card img {
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

