

/* Start:/znakomstva/znakomstva.css?178947706715990*/
/* ==========================================================================
   Раздел «Знакомства» — стили нового дизайна (Fastlife-2-0).
   Самодостаточный файл раздела, согласован с разделом /blog/.
   Палитра: акцент #ff2c33 (hover #e0252b), текст #272525, шрифт заголовков IgraSans.
   ========================================================================== */

.znk-section {
    padding: 30px 0;
}

/* ---------- Hero (как на /foto-speed-dating/ и /otzyvy-speed-dating/) ---------- */
.znk-hero {
    padding: 40px 0;
    background: #f8f8f8;
}
.znk-hero__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.znk-hero__text {
    max-width: 780px;
}
.znk-hero__title {
    font-family: "IgraSans", sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #272525;
    margin: 16px 0 12px;
}
.znk-hero__subtitle {
    font-size: 18px;
    color: rgba(39, 37, 37, 0.6);
    line-height: 1.5;
    margin: 0;
}
.znk-hero__cta {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .znk-hero { padding: 28px 0; }
    .znk-hero__content { gap: 16px; }
    .znk-hero__title { font-size: 30px; }
    .znk-hero__subtitle { font-size: 16px; }
    .znk-hero__cta { width: 100%; }
}

/* Каталог анкет (фильтр + категории + сетка) */
.znk-catalog {
    padding: 30px 0 10px;
}

/* Сквозной блок .book в разделе — без белой подложки */
.book {
    background-color: transparent !important;
}

/* ---------- Фильтр ---------- */
.znk-search {
    background: #fff;
    border-radius: 20px;
    padding: 22px 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.znk-filter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.znk-filter__row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    align-items: center;
}
.znk-filter__field {
    display: flex;
    align-items: center;
    gap: 12px;
}
.znk-filter__field_grow {
    flex: 0 1 auto;
}
.znk-filter__field_aim {
    align-items: flex-start;
}
.znk-filter__field_aim .znk-filter__label {
    margin-top: 10px;
}
.znk-filter__label {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(39, 37, 37, 0.45);
    white-space: nowrap;
}

/* Сегмент-контрол «Кого ищете» */
.znk-seg {
    display: inline-flex;
    flex-wrap: nowrap;
    background: #f4f4f4;
    border-radius: 13px;
    padding: 4px;
    gap: 4px;
}
.znk-seg__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.znk-seg__label {
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #272525;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.znk-seg__label:hover {
    color: #ff2c33;
}
.znk-seg__input:checked + .znk-seg__label {
    background: #ff2c33;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 44, 51, 0.3);
}
.znk-seg__input:focus-visible + .znk-seg__label {
    outline: 2px solid #ff2c33;
    outline-offset: 2px;
}

/* Возрастной диапазон */
.znk-age {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f4f4;
    border-radius: 13px;
    padding: 5px 14px;
}
.znk-age__input {
    width: 62px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #272525;
    padding: 7px 2px;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.znk-age__input::-webkit-outer-spin-button,
.znk-age__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.znk-age__input::placeholder {
    color: rgba(39, 37, 37, 0.4);
    font-weight: 400;
}
.znk-age__dash {
    color: rgba(39, 37, 37, 0.35);
}

/* Тумблер «Только с фото» */
.znk-switch {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    height: 44px;
}
.znk-switch__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.znk-switch__track {
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: 13px;
    background: rgba(39, 37, 37, 0.2);
    transition: background 0.2s;
    flex-shrink: 0;
}
.znk-switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}
.znk-switch__input:checked + .znk-switch__track {
    background: #ff2c33;
}
.znk-switch__input:checked + .znk-switch__track::after {
    transform: translateX(20px);
}
.znk-switch__input:focus-visible + .znk-switch__track {
    outline: 2px solid #ff2c33;
    outline-offset: 2px;
}
.znk-switch__text {
    font-size: 15px;
    color: #272525;
}

/* Чипы «Цель знакомства» */
.znk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.znk-chip {
    cursor: pointer;
}
.znk-chip__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.znk-chip__label {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255, 44, 51, 0.08);
    color: #ff2c33;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.znk-chip__label:hover {
    background: rgba(255, 44, 51, 0.16);
}
.znk-chip__input:checked + .znk-chip__label {
    background: #ff2c33;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 44, 51, 0.3);
}
.znk-chip__input:focus-visible + .znk-chip__label {
    outline: 2px solid #ff2c33;
    outline-offset: 2px;
}

/* Кнопки фильтра */
.znk-filter__actions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    padding-top: 2px;
}
.znk-filter__submit {
    grid-column: 2;
}
.znk-filter__reset {
    grid-column: 3;
    justify-self: start;
    color: rgba(39, 37, 37, 0.5);
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.znk-filter__reset:hover {
    color: #ff2c33;
}
@media (max-width: 560px) {
    .znk-search { padding: 18px; }
    .znk-filter { gap: 18px; }
    .znk-filter__row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .znk-filter__field,
    .znk-filter__field_aim {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .znk-filter__field_photo {
        flex-direction: row;
        align-items: center;
    }
    .znk-filter__field_aim .znk-filter__label { margin-top: 0; }
    .znk-filter__field_grow,
    .znk-seg { width: 100%; }
    .znk-seg__label { flex: 1 1 auto; text-align: center; }
    .znk-filter__actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .znk-filter__submit {
        grid-column: 1;
        width: 100%;
    }
    .znk-filter__reset {
        grid-column: 1;
        justify-self: center;
    }
}

/* ---------- Блок ссылок-категорий ---------- */
.znk-cats {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 860px) {
    .znk-cats { grid-template-columns: 1fr; }
}
.znk-cats__group {
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.znk-cats__heading {
    font-family: "IgraSans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #272525;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff2c33;
}
.znk-cats__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.znk-cats__link {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 18px;
    background: #f4f4f4;
    color: #272525;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.znk-cats__link:hover,
.znk-cats__link_active {
    background: #ff2c33;
    color: #fff;
}

/* ---------- Сетка карточек анкет ---------- */
.znk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
@media (max-width: 560px) {
    .znk-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
.znk-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.znk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}
.znk-card__photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f0f0;
}
.znk-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.znk-card:hover .znk-card__img {
    transform: scale(1.05);
}
.znk-card__body {
    padding: 13px 16px 17px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.znk-card__name {
    font-family: "IgraSans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.znk-card__name a {
    color: #272525;
    transition: color 0.2s;
}
.znk-card__name a:hover {
    color: #ff2c33;
}
.znk-card__short {
    font-size: 14px;
    color: rgba(39, 37, 37, 0.6);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.znk-empty {
    text-align: center;
    font-weight: 600;
    color: #272525;
    margin: 50px 0;
}

/* ---------- Пагинация (как в /blog/) ---------- */
.blog-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-pagination .pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-pagination .pagination a,
.blog-pagination .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    background: #fff;
    color: #272525;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(39, 37, 37, 0.1);
}
.blog-pagination .pagination a:hover {
    background: #ff2c33;
    color: #fff;
    border-color: #ff2c33;
}
.blog-pagination .pagination .current {
    background: #ff2c33;
    color: #fff;
    border-color: #ff2c33;
}
.blog-pagination .pagination .dots {
    border: none;
    background: transparent;
}

/* ---------- SEO-текст ---------- */
.znk-text {
    padding: 40px 0;
}
.znk-text h2 {
    font-family: "IgraSans", sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #272525;
    margin: 30px 0 16px;
}
.znk-text p,
.znk-text li {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(39, 37, 37, 0.82);
    margin: 0 0 14px;
}
.znk-text ul {
    padding-left: 22px;
    margin-bottom: 14px;
    list-style: disc;
}
.znk-text a {
    color: #ff2c33;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.znk-text a:hover {
    color: #e0252b;
}
.znk-text .responsive-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    max-width: 100%;
    margin: 24px auto 0;
}
.znk-text .responsive-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}
.znk-text video {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* ---------- Детальная страница анкеты ---------- */
.znk-detail {
    padding: 26px 0;
}

.znk-detail b{
    font-weight: bold;
}

.znk-detail__layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 768px) {
    .znk-detail__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.znk-detail__photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.znk-detail__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.znk-detail__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.znk-detail__thumb {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transition: transform 0.2s;
}
.znk-detail__thumb:hover {
    transform: translateY(-2px);
}
.znk-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.znk-detail__tg {
    margin-top: 18px;
}
.znk-detail__tg .button {
    width: 100%;
}
.znk-detail__content {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
@media (max-width: 768px) {
    .znk-detail__content { padding: 22px; }
}
.znk-detail__status {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #ff2c33;
    background: rgba(255, 44, 51, 0.1);
    padding: 5px 14px;
    border-radius: 14px;
    margin-bottom: 14px;
}
.znk-detail__name {
    font-family: "IgraSans", sans-serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #272525;
    margin: 0 0 18px;
}
.znk-detail__text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(39, 37, 37, 0.85);
}
.znk-detail__text p {
    margin: 0 0 14px;
}
.znk-detail__others-title {
    font-family: "IgraSans", sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #272525;
    margin: 50px 0 0;
}

/* ---------- Блок «Знакомства рядом с г. Москва» (goroda.php) ---------- */
.goroda {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
}
.goroda h2 {
    font-family: "IgraSans", sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #272525;
    margin: 0 0 24px;
}
.goroda .cities-columns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.goroda .city-column {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.goroda .city-column a {
    display: block;
    padding: 9px 14px;
    border-radius: 18px;
    background: #f4f4f4;
    color: #272525;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.goroda .city-column a:hover {
    background: #ff2c33;
    color: #fff;
}
@media (max-width: 560px) {
    .goroda { padding: 24px 18px; }
}

/* End */
/* /znakomstva/znakomstva.css?178947706715990 */
