/* 1. СТИЛЬ САМОЙ КАРТОЧКИ */
.custom-tour-item {
    border: 1px solid #e0e6ed !important; /* Светлая тонкая рамка вместо синей */
    border-radius: 12px !important;       /* Скругление углов */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important; /* Мягкая современная тень */
    padding: 0 !important;                /* Убираем лишние внутренние отступы, если есть */
    overflow: hidden;                     /* Чтобы картинка не вылезала за скругленные углы */
    background: #ffffff !important;
    transition: all 0.3s ease;            /* Плавность при наведении */
    margin-bottom: 30px;
}

/* Эффект при наведении на карточку */
.custom-tour-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-3px);
}

/* 2. КАРТИНКА (делаем аккуратные отступы сверху) */
.item-image-wrapper img {
    border-radius: 12px 12px 0 0 !important; /* Скругляем только верхние углы картинки */
}

/* 3. ЗАГОЛОВОК (убираем ту самую черную тень) */
.itemtitle, 
.itemtitle a {
    text-shadow: none !important;         /* УБИРАЕМ ТЕНЬ */
    color: #2c3e50 !important;            /* Темно-серый благородный цвет */
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    margin: 15px 0 10px 0 !important;
    display: block;
    padding: 0 15px;                      /* Отступы текста от краев */
}

/* 4. СПИСОК И СЧЕТЧИК ОБЪЕКТОВ */
.infowrap {
    padding: 0 15px 20px 15px !important; /* Внутренние отступы для текста */
}

.infowrap ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.parentobjcount a {
    display: inline-block;
    background: #f0f4f8 !important;       /* Нежный серый фон для плашки количества */
    color: #555 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    text-decoration: none !important;
    margin-top: 10px;
    text-shadow: none !important;
}
