/*
Theme Name: ProChop
Theme URI: http://vsechop.online/
Author: ProChop Team
Description: 100% Exact Replica of ProChop WordPress Theme
Version: 1.0.0
*/

body {
    font-family: 'Nunito', sans-serif;
    color: #333333;
    background-color: #fcfcfc;
}

/* Header & Logo */
header#masthead {
    background-color: #fff;
    box-shadow: 0 0.5rem 9rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    padding: 1rem 0;
}

.navbar-brand a img {
    width: 15rem !important;
    max-width: 240px !important;
    height: auto !important;
    display: block;
}

.navbar-nav .nav-link {
    color: #007a6c !important;
    font-weight: 700;
    font-size: 1.1rem !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #ef4e96 !important;
}

/* Page Titles with Yellow Accent Underline */
h1.page-title, h1.entry-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem !important;
    font-weight: 700;
    color: #3b3b3a;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: none;
}

h1.page-title::after, h1.entry-title::after, .block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #f1b721;
}

a.title-arhive-chops h2, .chops-list h2.entry-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #007a6c !important;
    margin-top: 0 !important;
    margin-bottom: 6px;
    transition: color 0.2s ease-in-out;
}

a.title-arhive-chops:hover h2, .chops-list h2.entry-title a:hover {
    color: #ef4e96 !important;
}

/* Top News & Hero Slider */
.top-news-block {
    min-height: 340px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.news-trailer {
    position: absolute;
    top: 15px;
    left: 0;
    padding: 4px 14px;
    background-color: #ef4e96;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a.top-news {
    text-decoration: none !important;
    transition: background 0.3s ease;
}

a.top-news h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #f1b721;
    margin-top: 8px;
}

a.top-news:hover {
    background: rgba(0, 122, 108, 0.9) !important;
}

/* Owl Dots */
.owl-theme .owl-dots {
    text-align: center;
    margin-top: 8px;
}

.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 5px 4px;
    background: #d6d6d6;
    display: block;
    border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #495057;
}

/* City Blocks Grid */
.city-block {
    background-color: #f0f0f0;
    border: 1px solid #ebebeb;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.city-block a {
    color: #007a6c;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 6px;
    text-decoration: none;
}

.city-block:hover {
    background-color: #007a6c;
    border-color: #007a6c;
}

.city-block:hover a {
    color: #ffffff !important;
}

/* Card ChOP Archive */
.chops-list article {
    transition: background-color 0.2s;
}

.chops-list article:hover {
    background-color: #ffffff;
}

/* Карточка в списке: описание и заглушка логотипа */
/* Родитель .col-12.p-0 без padding — гасим отрицательные margin у article.row,
   иначе карточка вылезает за край экрана на мобильных */
.chops-list > article.row {
    margin-left: 0;
    margin-right: 0;
}

.info-arhive-chops > p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.list-img a img.no-logo,
.general-info .logo img.no-logo {
    max-height: 48px;
    opacity: 0.5;
}

/* Цветная точка линии метро */
.metro-color {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 7px;
    flex: 0 0 auto;
}

/* Карта на карточке организации */
.chop-map {
    height: 320px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.chop-map #yandex-map {
    width: 100%;
    height: 100%;
}

@media (max-width: 575.98px) {
    .chop-map {
        height: 240px;
    }
}

/* Контакты и услуги в левой колонке карточки организации */
.address-org i,
.email-org i {
    margin-right: 8px;
}

.uslugi-org {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.uslugi-org .usluga-link {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 3px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    font-size: 13px;
    color: #007a6c;
    text-decoration: none;
}

.uslugi-org .usluga-link:hover {
    background-color: #007a6c;
    border-color: #007a6c;
    color: #ffffff;
}
