/* ==========================================================================
   Единый дизайн-слой zoosearch.ru
   Подключается после content.css / responsive.css на всех страницах.
   Шрифт Inter (локальный), единая типографика, кнопки, карточки, формы.
   ========================================================================== */

:root {
    --font-ui: 'InterLocal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-soft: #eef2f7;
    --bg: #eef2f6;
    --card: #ffffff;
    --brand: #0d9488;
    --brand-strong: #0b7c72;
    --brand-soft: #f0fdfa;
    --accent: #10b981;
    --danger: #b91c1c;
    --radius-lg: 18px;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-card: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 26px -18px rgba(15, 23, 42, .25);
    --shadow-pop: 0 12px 32px -16px rgba(15, 23, 42, .28);
    --wrap: 1180px;
}

/* ---------- Шрифт: единый на всех страницах ---------- */
body,
body * {
    font-family: var(--font-ui) !important;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
iframe,
video {
    max-width: 100%;
}

img {
    height: auto;
}

::selection {
    background: #99f6e4;
    color: #0f172a;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ---------- Заголовки ---------- */
h1, h2, h3, h4, h5, h6,
.article_title, .city-head h1, .cities-head h1, .br-head h1, .hiw-head h1 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.02em;
}

#content h1,
#contentwrapper h1 {
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 800;
    text-transform: none;
    letter-spacing: -.02em;
    color: var(--ink);
    padding: 16px 22px 12px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

#content h2,
#contentwrapper h2 {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    margin: 24px 0 12px;
}

#content h3,
#contentwrapper h3 {
    font-size: clamp(17px, 1.6vw, 19px);
    font-weight: 700;
    margin: 18px 0 10px;
}

#content p,
#contentwrapper p {
    margin: 0 0 12px;
}

/* ---------- Ссылки ---------- */
#content a,
#contentwrapper a,
.article_descr a,
.city-wrap a,
.cities-wrap a,
.br-wrap a,
.hiw-wrap a,
.search-wrap a {
    color: var(--brand-strong);
    text-decoration: none;
    transition: color .15s ease;
}

#content a:hover,
#contentwrapper a:hover,
.article_descr a:hover,
.city-wrap a:hover,
.cities-wrap a:hover,
.br-wrap a:hover,
.hiw-wrap a:hover,
.search-wrap a:hover {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Шапка ---------- */
#top_menu {
    background: #fff;
    box-shadow: 0 1px 0 var(--line);
}

#top_menu a {
    color: var(--ink);
    font-weight: 600;
}

#top_menu a:hover {
    color: var(--brand);
}

#menuLinks a {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

#menuLinks a:hover {
    color: var(--brand-strong);
}

#info_panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    color: var(--ink-soft);
}

#info_panel td {
    font-size: 13.5px;
}

#info_panel b,
#info_panel strong {
    color: var(--ink);
}

#map {
    border-radius: var(--radius);
    overflow: hidden;
}

/* ---------- Контент и хлебные крошки ---------- */
#content {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    color: var(--ink-soft);
}

#topsection,
.city-crumbs,
.cities-crumbs,
.br-crumbs,
.hiw-crumbs {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.5;
}

#topsection a,
.city-crumbs a,
.cities-crumbs a,
.br-crumbs a,
.hiw-crumbs a {
    color: var(--brand-strong);
    font-weight: 500;
}

/* ---------- Списки объявлений ---------- */
#animal_list {
    border-collapse: separate;
}

#animal_list tr:not(:first-child) {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: box-shadow .18s ease, transform .18s ease;
}

#animal_list tr:not(:first-child):hover {
    box-shadow: var(--shadow-pop);
    transform: translateY(-1px);
}

#animal_list .res_top_date {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

#animal_list .res_top_addr {
    color: var(--ink-soft);
    font-size: 13.5px;
}

#animal_list td:last-child a {
    color: var(--ink);
}

/* ---------- Карточки статей и новостей ---------- */
.article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 20px 22px;
    margin: 0 0 18px;
}

.article .article_title {
    font-size: clamp(18px, 2vw, 23px);
    margin: 0 0 6px;
}

.article .article_title a {
    color: var(--ink);
}

.article .article_title a:hover {
    color: var(--brand-strong);
}

.article_descr {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
}

.article_descr h2 {
    font-size: clamp(18px, 1.9vw, 22px);
    margin: 20px 0 10px;
}

.article_descr h3 {
    font-size: 17px;
    margin: 16px 0 8px;
}

.article_descr ul,
.article_descr ol {
    padding-left: 22px;
    margin: 0 0 12px;
}

.article_descr li {
    margin-bottom: 6px;
}

.article_date {
    color: var(--muted);
    font-size: 12.5px;
    margin: 0 0 10px;
}

.article img.img_l,
.article img.img_r {
    border-radius: var(--radius-sm);
}

/* ---------- FAQ ---------- */
.faq-item {
    border-top: 1px solid var(--line-soft);
    padding: 12px 0 8px;
}

.faq-item:first-of-type {
    border-top: 0;
    padding-top: 4px;
}

.faq-item h3,
.faq-item b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
}

.faq-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

.seo-faq h2,
.city-faq h2 {
    font-size: clamp(20px, 2vw, 24px);
    margin: 0 0 10px;
}

/* ---------- Служебные блоки перелинковки ---------- */
.seo-linkblock {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-top: 20px;
}

.seo-links {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

/* ---------- Похожие объявления ---------- */
.seo-similar-item {
    border-radius: var(--radius);
    transition: box-shadow .18s ease, transform .18s ease;
}

.seo-similar-item:hover {
    box-shadow: var(--shadow-pop);
    transform: translateY(-1px);
}

.seo-similar-t {
    color: var(--ink);
    font-weight: 600;
    font-size: 13.5px;
}

.seo-similar-a {
    color: var(--muted);
    font-size: 12.5px;
}

/* ---------- Последние объявления ---------- */
.latest-ad {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: box-shadow .18s ease;
}

.latest-ad:hover {
    box-shadow: var(--shadow-card);
}

.latest-ad b {
    color: var(--ink);
    font-size: 13.5px;
}

.latest-ad-addr,
.latest-ad .latest-ad-addr {
    color: var(--muted);
    font-size: 12px;
}

/* ---------- Кнопки ---------- */
.ourbutton,
.ourbutton2,
input.ourbutton2,
#contentwrapper a.ourbutton,
#contentwrapper a.ourbutton2,
#contentwrapper input.ourbutton2,
.contact-reveal,
.mobile-cta,
input[type="submit"],
button,
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(13, 148, 136, .25);
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.ourbutton:hover,
.ourbutton2:hover,
input.ourbutton2:hover,
#contentwrapper a.ourbutton:hover,
#contentwrapper a.ourbutton2:hover,
#contentwrapper input.ourbutton2:hover,
.contact-reveal:hover,
.mobile-cta:hover,
input[type="submit"]:hover,
button:hover,
.share-btn:hover {
    background: var(--brand-strong);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px -8px rgba(13, 148, 136, .6);
    transform: translateY(-1px);
}

/* Кнопка «показать телефон/почту» — мягкий вариант */
.contact-reveal {
    margin-left: 10px;
    padding: 7px 12px;
    font-size: 13px;
}

/* ---------- Пагинация ---------- */
.pagination a,
.pagination span,
.pagination b,
.city-pager a,
.city-pager span,
.pagination0 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 4px 6px 0;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.pagination a:hover,
.city-pager a:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
    text-decoration: none;
}

.pagination b,
.pagination a.active,
.city-pager .active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.pagination0 {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 13.5px;
}

/* ---------- Табы ---------- */
ul#MyTabs li span,
ul#LF_Tabs li span,
.jwf-tab-top li span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
}

/* ---------- Таблицы описания ---------- */
#animal_info_tbl td {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    vertical-align: top;
}

#animal_info_tbl td b {
    color: var(--ink);
    font-weight: 600;
}

/* ---------- Подвал ---------- */
#footer {
    color: #d7e2e8;
}

#footer a {
    color: #8fe3d3;
    text-decoration: none;
}

#footer a:hover {
    color: #c7f7ee;
    text-decoration: underline;
}

#footer .block-head,
#footer .footer-col .block-head {
    color: #fff;
    font-weight: 700;
    letter-spacing: .01em;
}

#ourproject_text {
    color: #d7e2e8;
    font-size: 14.5px;
    line-height: 1.7;
}

/* ---------- Формы ---------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input.text,
select,
textarea {
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    line-height: 1.4;
    max-width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .16);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    color: var(--ink);
    font-weight: 500;
}

/* ---------- Модерация и служебные плашки ---------- */
.mod-notice {
    font-size: 13px;
}

.mod-badge {
    font-size: 11px;
}

/* ==========================================================================
   Standalone-страницы (город, города, породы, как это работает, поиск)
   ========================================================================== */

.city-wrap,
.cities-wrap,
.br-wrap,
.hiw-wrap,
.search-wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 18px 20px 40px;
    box-sizing: border-box;
}

.city-nav,
.cities-nav,
.br-nav,
.hiw-nav {
    background: #fff;
    box-shadow: 0 1px 0 var(--line);
    padding: 12px 0;
    margin-bottom: 0;
}

.city-nav a,
.cities-nav a,
.br-nav a,
.hiw-nav a {
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
}

.city-head,
.cities-head,
.br-head,
.hiw-head {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 22px 24px;
    margin: 18px 0 20px;
}

.city-head h1,
.cities-head h1,
.br-head h1,
.hiw-head h1 {
    font-size: clamp(23px, 3vw, 31px);
    margin: 0 0 8px;
}

.city-head p,
.cities-head p,
.br-head p,
.hiw-head p {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0;
}

.city-crumbs,
.cities-crumbs,
.br-crumbs,
.hiw-crumbs {
    margin: 0 0 12px;
}

.city-card,
.city-item,
.br-card,
.br-item,
.hiw-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 16px 18px;
    transition: box-shadow .18s ease, transform .18s ease;
}

.city-card:hover,
.city-item:hover,
.br-card:hover,
.br-item:hover {
    box-shadow: var(--shadow-pop);
    transform: translateY(-1px);
}

.city-list .city-card,
.city-list .city-item {
    margin-bottom: 12px;
}

.city-card .t,
.city-item .n,
.br-card .t,
.br-item .n,
.br-card.row .t,
.city-card .city-name {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.city-card .a,
.city-card .d,
.city-item .c,
.br-card .a,
.br-card .d,
.br-item .c {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.br-grid,
.cities-grid {
    display: grid;
    gap: 14px;
}

.city-counters,
.br-counters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-counters span,
.br-counters span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13.5px;
    font-weight: 500;
}

.city-seo,
.cities-seo,
.br-seo {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 20px 22px;
    margin-top: 20px;
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
}

.city-seo h2,
.cities-seo h2,
.br-seo h2 {
    font-size: clamp(20px, 2.2vw, 24px);
    margin: 0 0 10px;
}

.cw-latest {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cw-latest-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13.5px;
    color: var(--ink-soft);
    text-decoration: none;
}

.cw-latest-item:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
    text-decoration: none;
}

.cw-latest-addr {
    color: var(--muted);
    font-size: 12.5px;
}

.stw-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
    color: var(--muted);
    font-size: 13.5px;
}

.stw-share a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
}

.stw-share a:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
    text-decoration: none;
}

.search-box,
.search-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 18px 20px;
    margin: 0 0 20px;
}

.search-form input[type="text"],
.search-form input[type="search"],
.search-box input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.search-hint {
    color: var(--muted);
    font-size: 13.5px;
}

.mod-notice {
    border-radius: var(--radius-sm);
}

/* ---------- Мобильная адаптация ---------- */
@media (max-width: 1024px) {
    .city-wrap,
    .cities-wrap,
    .br-wrap,
    .hiw-wrap,
    .search-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 900px) {
    body {
        font-size: 15.5px;
    }

    #content h1,
    #contentwrapper h1 {
        font-size: clamp(21px, 4.6vw, 27px);
        padding: 13px 16px 10px;
    }

    #content h2,
    #contentwrapper h2 {
        font-size: clamp(19px, 4.4vw, 23px);
    }

    .article {
        padding: 16px;
        border-radius: var(--radius);
    }

    .article_descr {
        font-size: 15px;
    }

    .seo-linkblock,
    .city-seo,
    .cities-seo,
    .br-seo {
        padding: 16px;
    }

    .city-head,
    .cities-head,
    .br-head,
    .hiw-head {
        padding: 18px 16px;
        border-radius: var(--radius);
        margin: 14px 0 16px;
    }

    .ourbutton,
    .ourbutton2,
    input[type="submit"],
    button {
        padding: 11px 16px;
    }

    #animal_info_tbl td {
        font-size: 14.5px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
        line-height: 1.58;
    }

    #content h1,
    #contentwrapper h1 {
        font-size: clamp(20px, 5.6vw, 24px);
        border-radius: 14px 14px 0 0;
    }

    h1, h2, h3, h4, h5, h6,
    .article_title {
        letter-spacing: -.01em;
    }

    .article {
        padding: 14px;
        margin-bottom: 14px;
    }

    .article .article_title {
        font-size: 18px;
    }

    .article_descr,
    .article_descr p,
    .article_descr li {
        font-size: 14.5px;
        line-height: 1.66;
    }

    .faq-item h3,
    .faq-item b {
        font-size: 15px;
    }

    .faq-item p {
        font-size: 14.5px;
    }

    .city-cards,
    .br-grid,
    .cities-grid {
        grid-template-columns: 1fr !important;
    }

    .pagination a,
    .pagination span,
    .pagination b,
    .city-pager a,
    .city-pager span {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        margin-right: 3px;
    }

    .contact-reveal {
        margin: 8px 0 0;
    }
}

@media (max-width: 420px) {
    body {
        font-size: 14.5px;
    }

    .ourbutton,
    .ourbutton2,
    input[type="submit"],
    button {
        width: 100%;
        padding: 12px 14px;
    }

    .share-btn {
        padding: 8px 10px;
        font-size: 12.5px;
    }
}

/* ---------- Единая навигация standalone-страниц ---------- */
.city-nav,
.cities-nav,
.br-nav,
.hiw-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.city-nav a,
.cities-nav a,
.br-nav a,
.hiw-nav a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

.city-nav a:first-child,
.cities-nav a:first-child,
.br-nav a:first-child,
.hiw-nav a:first-child {
    font-weight: 800;
    margin-right: 6px;
}

/* ---------- Читаемая ширина текста на больших экранах ---------- */
@media (min-width: 901px) {
    #content > p,
    #content > ul,
    #content > ol,
    #content > blockquote,
    .article_descr p,
    .article_descr li {
        max-width: 88ch;
    }
}

/* ---------- Кнопки-акценты ---------- */
a#addNotice,
#top_menu #addNotice {
    background: var(--brand) !important;
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

a#addNotice:hover,
#top_menu #addNotice:hover {
    background: var(--brand-strong) !important;
    color: #fff !important;
}

.city-counters a,
.br-counters a {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}

.city-counters a:hover,
.br-counters a:hover {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    color: #fff !important;
    text-decoration: none;
}

/* ---------- Длинные заголовки не выходят за экран ---------- */
h1, h2, h3, h4, h5, h6,
.article_title,
.city-head h1,
.cities-head h1,
.br-head h1,
.hiw-head h1 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* ---------- Крошки на мобильных: слева ---------- */
@media (max-width: 900px) {
    #topsection,
    #topsection .innertube,
    .city-crumbs,
    .cities-crumbs,
    .br-crumbs,
    .hiw-crumbs {
        text-align: left !important;
        float: none !important;
    }
}

/* ---------- Читаемость длинных текстов (статьи, новости) ---------- */
.article-body p,
.article-body li {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-soft);
}

.article-body h2 {
    font-size: clamp(20px, 2.2vw, 26px);
    margin: 26px 0 12px;
}

.article-body h3 {
    font-size: clamp(17px, 1.7vw, 20px);
    margin: 20px 0 10px;
}

.article-body ul,
.article-body ol {
    padding-left: 22px;
    margin: 0 0 14px;
}

.article-body li {
    margin-bottom: 7px;
}

#content .j,
#content .j p,
#content .j li {
    text-align: left;
}

@media (min-width: 901px) {
    .article-body {
        max-width: 82ch;
    }
}

@media (max-width: 640px) {
    .article-body p,
    .article-body li {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* ---------- Заголовок-вкладка плотно прилегает к контенту ---------- */
#content,
#contentwrapper #content {
    border-top-left-radius: 0 !important;
}

#contentwrapper h1,
#content h1 {
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}

@media (max-width: 900px) {
    #content,
    #contentwrapper #content {
        border-top-left-radius: 0 !important;
    }

    #contentwrapper h1,
    #content h1 {
        margin-bottom: -1px;
    }
}

/* ---------- Читаемый текст и правильная иерархия заголовков ---------- */
#content p,
#content li {
    font-size: 15.5px;
    line-height: 1.68;
}

#contentwrapper .article .article_title {
    font-size: clamp(21px, 2.1vw, 25px) !important;
    line-height: 1.3;
}

#content .article_descr h2,
#content .article-body h2 {
    font-size: clamp(19px, 1.9vw, 23px);
}

#content .article_descr h3,
#content .article-body h3 {
    font-size: clamp(17px, 1.6vw, 19px);
}

@media (max-width: 640px) {
    #content p,
    #content li {
        font-size: 15px;
    }

    #contentwrapper .article .article_title {
        font-size: 20px !important;
    }
}

/* ---------- Форма подачи объявления: кнопки не обрезаются ---------- */
@media (min-width: 901px) {
    #divfeadbackform {
        height: 520px !important;
        overflow: visible;
    }

    #part1,
    #part2,
    #part3,
    #part0 {
        height: 520px !important;
    }

    .part_content {
        height: auto !important;
        min-height: 300px;
    }

    #divfeadbackform input.btn-part,
    #divfeadbackform input.btn-part-back {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #divfeadbackform input#feadbackformsubmit {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
