/*
Theme Name:   Дочерняя тема listinghive
Description:  Дочерняя тема для Tlistinghive
Author:       Ara Voskanyan
Template:     listinghive
Version:      1.0.0
License:      GNU General Public License v2 or later
*/
/*  Подключение шрифтов */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Armenian:wght@100;200;300;400;500;600;700;800;900&display=swap'); */

/* Кнопка установки PWA на футоре */
.footer-pwa {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-app-button {
    display: block;
    line-height: 0;
}

.footer-app-button img {
    width: 60px;
    height: 60px;
    display: block;
    object-fit: contain;
}

.footer-app-button:hover {
    opacity: 0.85;
}
/* Страница PWA installation block */
#pwa-install-message {
    width: 100%;
    max-width: none;
    margin: 20px 0;
    padding: 18px 22px;
    background: #f5f7f9;
    border: 1px solid #d9dee3;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
    font-size: 16px;
    box-sizing: border-box;
}

.pwa-install-box {
    display: flex;
    align-items: center;
    gap: 45px;
    max-width: 900px;
    margin: 30px auto;
}

.pwa-install-action {
    flex: 0 0 252px;
}

#pwa-install-button {
    display: none;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

#pwa-install-button img {
    display: block;
    width: 252px;
    height: 252px;
    max-width: 100%;
}

#pwa-install-button:hover {
    opacity: 0.9;
}

.pwa-install-text {
    flex: 1;
}

.pwa-install-text h2 {
    margin-top: 0;
}

.pwa-install-note {
    font-size: 14px;
    opacity: 0.7;
}


/* Mobile */

@media (max-width: 600px) {

    .pwa-install-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .pwa-install-action {
        flex: none;
    }

}

/* Botton to TOP */
#back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background: #2f7d72;
    color: #fff;
    border: none;
    border-radius: 50%;
    
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    
    cursor: pointer;
    z-index: 9999;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    
    transition: opacity 0.25s ease,
                visibility 0.25s ease,
                transform 0.25s ease,
                background 0.2s ease;
    
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: #25665d;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    #back-to-top {
        right: 15px;
        bottom: 15px;
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
}

/* Заглавная первая буква заголовка на странице тегов */
.category__name::first-letter {
    text-transform: uppercase;
}

/* Первая строка аккаунт входа в Меню Гамбургер */
@media (max-width: 1199px) {

    #menu-main-menu > li.menu-item--first.menu-item--user-account,
    #menu-main-menu > li.menu-item--first.menu-item--user-login {
        background: #eef3f2;
        border: 1px solid #d5dfdd;
        border-radius: 10px;
        padding: 7px 14px;
        margin-bottom: 12px;
    }
 #menu-main-menu > li.menu-item--first.menu-item--user-account.parent::after {
        right: 10px !important;
    }

}

/* Делаем 100% строки атирбутов категории в коротких новостях, в блоках на страницах категорий */
.hp-listing--view-block .hp-col-lg-6:has(.hp-listing__attribute--cshtum) {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Описание категорий */
div.category__description p{font-size:.8em; line-height:15px}

/* Хлебные корочки yoast-seo-breadcrumbs */
.home #breadcrumbs {
    display: none;
}
.my__breadcrumbs, .my__breadcrumbs_page {margin-bottom: 2em; margin-top: -35px; border-bottom: 1px dotted #ccc; padding-bottom: 5px}
.my__breadcrumbs_page .breadcrumb_last {
    display: inline-block;
    max-width: 250px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
.my__breadcrumbs .breadcrumb_last {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
@media (max-width: 767px) {
    .my__breadcrumbs .breadcrumb_last {
        max-width: 96px;
    }
    .my__breadcrumbs_page .breadcrumb_last {
        max-width: 250px;
    }
}

/* Заголовок коротких обявлений */
H4.hp-listing__title {font-size:1.1em}
H4.hp-listing__title a:hover {color:#000;text-decoration:underline}

/* Заголовок полных обявлений */
H1.hp-listing__title {font-size:1.7em}
/* Спрятать рейтинг на коротких обявления */
.hp-listing--view-block .hp-listing__rating {display: none;}

/* Left or raight paddings main contayner in page map Google */
.page-id-387 .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
/* Высота карты на мобилных устройствах */
@media (max-width: 767px) {
    .page-id-387 .page__text {
        height: 65vh !important;
        overflow: hidden !important;
    }
    .page-id-387 .page__text iframe {
        height: 65vh !important;
        max-height: 65vh !important;
    }
}

/* Соотношение размера изображений на категорях листингов */
.hp-listing__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Блок продавца */
.hp-vendor__attributes .hp-col-lg-6 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Accordion title */
/* H3 span.wp-block-accordion-heading__toggle-title {font-size:1.0em} */
H3 span.wp-block-accordion-heading__toggle-title:hover {color:green; text-decoration: none;}
div.wp-block-accordion-item div p {margin-bottom:2em;border:1px solid #eee; padding: .5em 1em}

/* Обратная связь */
.davtashen-contact-page {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.davtashen-contact-content h1 {
    margin-top: 0;
    margin-bottom: 25px;
}

.davtashen-contact-content p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.davtashen-contact-content h3 {
    margin-top: 35px;
    margin-bottom: 15px;
}

.davtashen-contact-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.davtashen-contact-links li {
    margin-bottom: 10px;
}

.davtashen-contact-links a {
    text-decoration: none;
}

.davtashen-contact-links a:hover {
    text-decoration: underline;
}


/* Contact Form 7 */

.davtashen-contact-form {
    width: 100%;
}

.davtashen-contact-form .wpcf7-form-control {
    width: 90%;
    box-sizing: border-box;
}

.davtashen-contact-form input,
.davtashen-contact-form textarea {
    margin-bottom: 15px;
}


/* Contact Form 7 - Планшеты и мобильные */
@media (max-width: 991px) {

    .davtashen-contact-page {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .davtashen-contact-content h1 {
        margin-bottom: 20px;
    }

}

}

/* Блог баннер */
.blog-header-hero {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background-image: url('https://davtashen.online/wp-content/uploads/2026/09/banner-3.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	color: #fff;
}

.blog-header-hero__inner {
	position: relative;
	z-index: 1;
	padding: 80px 0;
}

.blog-header-hero h1 {
	margin: 0;
	color: #fff;
	text-align: center;
}

body.blog .header-hero {
    margin-top: -65px;
    margin-bottom: 65px;
}

@media (max-width: 767px) {
	.blog-header-hero__inner {
		padding: 50px 0;
	}

	.blog-header-hero h1 {
		font-size: 30px;
	}
}

/* Footers Fon */
.site-footer {background-color:#EAECF0}
/* Ֆուտերի մենյուները */
#nav_menu-1, #nav_menu-2 {padding-left: 3em}
/* скрыть тег на мобильных */
@media (max-width: 1023px) {
    .hide-mobile-tablet {
        display: none !important;
    }
}