.hp-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
}

.hp-hero {
	position: relative;
	min-height: 420px;
	background-size: cover;
	background-position: center;
	border-radius: 18px;
	margin: 18px 16px 0;
	overflow: hidden;
}

.hp-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .10));
}

.hp-hero__content {
	position: relative;
	color: #fff;
	padding: 46px 24px;
}

.hp-hero h1 {
	font-size: 44px;
	line-height: 1.08;
	margin: 0 0 12px;
    color: #fff;
    font-weight: 700;
}

.hp-hero p {
	max-width: 620px;
	margin: 0 0 18px;
	opacity: .95
}

.hp-hero__actions {
	display: flex;
	gap: 14px;
	margin: 12px 0 18px;
}

.hp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 22px;
	border-radius: 10px;
	font-weight: 600;
	color: #fff;
	text-decoration: none
}

.hp-btn--green {
	background: #2da44e;
}

.hp-btn--orange {
	background: #f08b1d;
}

.hp-hero__search {
	margin-top: 12px;
	/*background: rgba(255, 255, 255, .95);
	border-radius: 12px;
	padding: 12px;*/
	color: #111;
}

.hp-quick {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 16px auto;
}

.hp-quick__card {
	background: #fff;
	border-radius: 12px;
	padding: 16px;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	color: #222
}

.hp-sections {
	/*display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;*/
	margin: 50px auto 50px;
}

.hp-section {
	background: #fff;
	/*border-radius: 14px;*/
	padding: 16px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.hp-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.hp-section__head a {
	text-decoration: none;
	font-weight: 600
}

.hp-blog {
	margin: 18px auto 60px;
}

.hp-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.hp-blog__card {
	background: #fff;
	/*border-radius: 14px;*/
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.hp-blog__card a {
	display: block;
	color: #222;
	text-decoration: none
}

.hp-blog__card h3 {
	font-size: 16px;
	margin: 12px 12px 16px;
    white-space: nowrap;
  	text-overflow: ellipsis;
  	overflow: hidden;
}

.hp-blog__read {
	display: inline-block;
	margin: 0 12px 14px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f4f5f7;
	font-weight: 600
}

.hp-hero {
	position: relative;
	width: 100vw;
	/* вся ширина экрана */
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	/* выходим из контейнера темы */
	margin-right: -50vw;
	margin-top: 0px;
	min-height: 680px;
	background-size: cover;
	background-position: 50% 35%;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	border-radius: 0px;
}

.hp-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.05) 100%);
	z-index: 1;
}

.hp-hero__content {
	position: relative;
	z-index: 2;
	color: #fff;
	padding: 64px 24px;
	max-width: 1200px;
}

.site-content {
	padding: 0 0 !important;
}

/* ===== Quick band: full width strip + centered “pills” ===== */
.hp-quick-band {
  position: relative;

  width: 100vw;
  left: 50%;
  margin-left: -50vw;

  background: #f4f5f7;
  padding: 14px 0 18px;
}

.hp-quick {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hp-quick__card {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  height: 46px;
  padding: 0 18px;

  background: linear-gradient(180deg, #ffffff, #f7f7f7);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;

  color: #2b2b2b;
  text-decoration: none;
  font-weight: 600;

  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.hp-quick__card span { white-space: nowrap; }

.hp-quick__card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.hp-quick__card:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}




/* ===== Фон на всю ширину экрана ===== */
.hp-quickband {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  background: #efefef;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  padding: 24px 0 28px;
  /*margin-top: 20px;*/
  margin-bottom: 20px;
}

/* Контейнер для центрирования контента */
.hp-quickband .hp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Сетка кнопок - 3 колонки */
.hp-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Стили кнопок (точно как на картинке) */
.hp-quick__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  
  min-height: 60px;
  padding: 0 20px;
  
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: #2a2a2a;
  
  border-radius: 5px;
  /*border: 1px solid rgba(255, 255, 255, 0.4);*/
  border: 1px solid rgb(219, 219, 219);
  
  /* Тень как на картинке */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -1px 0 rgba(0, 0, 0, 0.05) inset;
  
  transition: all 0.2s ease;
}

.hp-quick__btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  border-color: rgba(219, 219, 219, 1);
}

.hp-quick__btn:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

/* Контент */
.hp-quick__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
}

.hp-quick__text {
  white-space: nowrap;
}

/* Градиенты для кнопок */

/* 1. Найти питомца - от белого сверху к серому снизу */
.hp-quick__btn--pet {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
}

.hp-quick__btn--pet:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 100%);
}

.hp-quick__btn--pet .hp-quick__icon {
  color: #2da44e; /* Зеленый */
}

/* 2. Найти объявление - от белого сверху до светло-красного снизу */
.hp-quick__btn--ads {
  background: linear-gradient(180deg, #ffffff 0%, #ffeaea 100%);
}

.hp-quick__btn--ads:hover {
  background: linear-gradient(180deg, #ffffff 0%, #ffdbdb 100%);
}

.hp-quick__btn--ads .hp-quick__icon {
  color: #ff6b6b; /* Светло-красный */
}

/* 3. Найти услугу - от белого сверху до светло-оранжевого снизу */
.hp-quick__btn--srv {
  background: linear-gradient(180deg, #ffffff 0%, #fff0e0 100%);
}

.hp-quick__btn--srv:hover {
  background: linear-gradient(180deg, #ffffff 0%, #ffe8d0 100%);
}

.hp-quick__btn--srv .hp-quick__icon {
  color: #ffa500; /* Оранжевый */
}

/* Адаптивность */
@media (max-width: 768px) {
  .hp-quick {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 12px;
  }
  
  .hp-quick__btn {
    min-height: 56px;
    padding: 0 16px;
  }
  
  .hp-quickband {
    padding: 20px 0 24px;
  }
}

@media (max-width: 480px) {
  .hp-quick__btn {
    font-size: 15px;
    gap: 10px;
  }
  
  .hp-quick__icon {
    width: 22px;
    height: 22px;
  }
}




/* ====== Блок секции как на макете ====== */
.hp-section {
  background: #fff;
  /*border-radius: 12px;*/
  border: 1px solid rgba(219, 219, 219, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  padding: 14px 14px 12px;
}

/* Заголовок + "Смотреть все" */
.hp-section__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 12px;
}

.hp-section__head h3{
  margin:0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color:#222;
}

.hp-section__all{
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #2f6fdd;
  white-space: nowrap;
}
.hp-section__all:hover{ text-decoration: underline; }

/* ====== Сетка карточек: используем вашу hp-grid/hp-row ====== */
.hp-section .hp-listings.hp-grid{
  margin: 0;
}

.hp-section .hp-listings.hp-grid .hp-row{
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
}

.hp-section .hp-listings.hp-grid .hp-grid__item{
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 12px;
}

/* На десктопе 3 в ряд (у вас hp-col-sm-4 уже это делает) */
@media (min-width: 768px){
  .hp-section .hp-listings.hp-grid .hp-grid__item.hp-col-sm-4{
    width: 33.3333%;
  }
}

/* На мобиле 1 в ряд */
@media (max-width: 767px){
  .hp-section .hp-listings.hp-grid .hp-grid__item{
    width: 100%;
  }
}

/* ====== Карточка объявления как на макете ====== */
.hp-section .hp-listing.hp-listing--view-block{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  /*border-radius: 10px;*/
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}

.hp-section .hp-listing.hp-listing--view-block:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

/* Картинка: фикс высота, как на картинке */
.hp-section .hp-listing__image{
  overflow:hidden;
}

.hp-section .hp-listing__image a,
.hp-section .hp-listing__image img{
  display:block;
  width:100%;
}

.hp-section .hp-listing__image img{
  height: 105px;          /* ключевой параметр “как на макете” */
  object-fit: cover;
}

/* Контент компактнее */
.hp-section .hp-listing__content{
  padding: 10px 10px 10px;
}

/* УБИРАЕМ "категорию" сверху (на макете её нет) */
.hp-section .hp-listing__category,
.hp-section .hp-listing__categories{
  display:none !important;
}

/* Заголовок карточки */
.hp-section .hp-listing__title{
  margin: 0 0 6px 0;
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 700;
}

.hp-section .hp-listing__title a{
  color:#222;
  text-decoration:none;
}
.hp-section .hp-listing__title a:hover{ text-decoration: underline; }

/* Детали: оставляем только локацию, дату скрываем */
.hp-section .hp-listing__details--primary{
  display:block;
  font-size: 12px;
  color:#777;
}

.hp-section .hp-listing__created-date{
  display:none !important; /* "Добавлено..." убираем, как на макете */
}

/* Локацию делаем компактной, иконку можно приглушить */
.hp-section .hp-listing__location{
  display:flex;
  align-items:center;
  gap:6px;
}

.hp-section .hp-listing__location .hp-icon{
  font-size: 12px;
  opacity: .7;
}

.hp-section .hp-listing__location a{
  color:#777;
  text-decoration:none;
}
.hp-section .hp-listing__location a:hover{ text-decoration: underline; }

/* Футер карточки с действиями (сообщение/избранное) скрываем */
.hp-section .hp-listing__footer{
  display:none !important;
}

/* ====== Кнопка "Найти" внизу справа ====== */
.hp-section__foot{
  display:flex;
  justify-content:flex-end;
  margin-top: 10px;
}

.hp-find{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 36px;
  min-width: 92px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 700;
  color:#fff;
  text-decoration:none;
  box-shadow: 0 6px 14px rgba(0,0,0,.10);
}

.hp-find--green{ background:#2da44e; }
.hp-find--orange{ background:#f08b1d; }

.hp-find:hover{ filter: brightness(.97); }
.hp-find:active{ transform: translateY(1px); }


.hp-section:not(:last-child), .hp-widget:not(:last-child) {
	margin-bottom: 0rem;
}

.hp-container.hp-items {
	margin: 50px auto 80px;
}

.hp-hero.hp-service{
	background-image: url('/wp-content/uploads/2025/12/image-13-1024x307.png');
  min-height: 500px;
}