@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter-italic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --ny-navy: #1E3A8A;
    --ny-orange: #EA580C;
    --ny-bg: #F6F7FB;
    --ny-text: #0F172A;
    --ny-muted: #6B7280;
    --ny-border: #E5E7EB;
    --ny-card: #FFFFFF;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(30, 58, 138, .05), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(234, 88, 12, .05), transparent 24%),
        linear-gradient(180deg, #f8faff 0%, var(--ny-bg) 18%, var(--ny-bg) 100%);
    color: var(--ny-text);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Navbar */
.ny-navbar {
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(229, 231, 235, .85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .03);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    position: relative;
    padding: 3px;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-title {
    line-height: 1.05;
    letter-spacing: .2px;
}

.brand-title strong {
    color: var(--ny-navy);
    font-weight: 700;
    letter-spacing: -.2px;
}

.brand-title small {
    color: var(--ny-muted);
    font-weight: 400;
    line-height: 1.25;
    font-size: 11px;
}

.lang-btn {
    color: var(--ny-text);
    border: 1px solid rgba(15, 23, 42, .10);
    background: #fff;
    border-radius: 999px;
    padding: .35rem .65rem;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}

.lang-btn:hover {
    border-color: rgba(15, 23, 42, .18);
    color: var(--ny-navy);
    background: #fff;
}

.lang-btn::after {
    margin-left: .2rem;
}

.lang-btn img {
    display: block;
    width: 30px;
    height: 20px;
    object-fit: contain;
    border-radius: 2px;
    flex: 0 0 auto;
}

.navbar-mobile-lang-simple {
    display: none;
}

.navbar-mobile-lang-link {
    gap: 12px;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    box-shadow: none;
}

.navbar-mobile-lang-link:focus {
    outline: none;
    box-shadow: none;
}

.navbar-mobile-lang-link:hover {
    background: transparent;
}

.navbar-mobile-lang-simple-icon {
    font-size: 12px;
    transition: transform .2s ease;
    flex: 0 0 auto;
}

.navbar-mobile-lang-link[aria-expanded="true"] .navbar-mobile-lang-simple-icon {
    transform: rotate(180deg);
}

.mobile-lang-list {
    padding: 0 0 0 16px;
}

.mobile-lang-item {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    font-weight: 500;
}

.navbar .dropdown-menu {
    border-radius: 14px;
    border: 1px solid #e9ecef;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-width: 190px;
}

.navbar .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    border-radius: 0 !important;
    background-color: transparent;
    transition: background-color .25s ease, color .25s ease;
    padding: .65rem 1rem;
    color: var(--ny-text);
    font-weight: 600;
}

.navbar .dropdown-menu .dropdown-item span {
    transition: transform .25s ease;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #e9ecef;
    color: var(--ny-text);
}

.navbar .dropdown-menu .dropdown-item:hover span {
    transform: translateX(1px);
}

.navbar .dropdown-menu .dropdown-item img {
    width: 30px;
    height: 20px;
    object-fit: contain;
    border-radius: 2px;
    flex: 0 0 auto;
    display: block;
}

.lang-dropdown .dropdown-item {
    padding: .38rem .85rem;
    line-height: 1.15;
}

.lang-dropdown .dropdown-item img {
    width: 28px;
    height: 18px;
}

/* === Account menu dropdown styles START === */
.account-dropdown .dropdown-menu {
    min-width: 220px;
}

/* === Account menu dropdown styles END === */

@media (max-width: 991.98px) {
    .lang-btn {
        padding: .35rem .55rem;
    }

    .lang-btn img {
        width: 30px;
        height: 20px;
    }
}

.nav-link {
    color: var(--ny-text) !important;
    font-weight: 500;
    opacity: .9;
    position: relative;
    padding-bottom: 6px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--ny-orange);
    transition: width .22s ease;
}

.nav-link:hover {
    color: var(--ny-navy) !important;
    opacity: .98;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--ny-navy) !important;
}

.nav-link.active::after {
    width: 100%;
    background: var(--ny-navy);
}

/* === Browse category and region links hover START === */
.browse-list-link {
    transition: color .18s ease;
}

.browse-list-link .browse-list-link-text {
    color: var(--ny-text);
    text-decoration: none;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .18s ease, text-decoration-color .18s ease;
}

.browse-list-link:hover .browse-list-link-text {
    color: var(--ny-navy);
    text-decoration: underline;
    text-decoration-color: currentColor;
}

/* === Browse category and region links hover END === */

/* === Browse category mobile toggle styles START === */
.browse-list-link-popular {
    background: rgba(30, 58, 138, .07);
    border-radius: 6px;
    padding: 4px 8px !important;
    margin-left: -8px;
    margin-right: -8px;
}

.browse-list-link-popular:hover {
    background: rgba(30, 58, 138, .11);
}

.browse-top-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--ny-navy);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    vertical-align: middle;
    letter-spacing: .04em;
}

.browse-top-pill-mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .browse-main-category-list.is-open .browse-top-pill-mobile {
        display: inline-flex;
    }
}

.browse-mobile-toggle {
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .browse-main-category-list.has-mobile-toggle:not(.is-open) .browse-main-category-extra {
        display: none;
    }

    .browse-region-list:not(.is-open) {
        display: none;
    }
}

/* === Browse category mobile toggle styles END === */

/* === Mobile search filters toggle styles START === */
@media (max-width: 767.98px) {
    .mobile-search-extra-filter {
        display: none;
    }

    .mobile-search-filters-form.is-open .mobile-search-extra-filter {
        display: block;
    }
}
/* === Mobile search filters toggle styles END === */

/* === Random posts styles START === */
@media (max-width: 767px) {
    .random-posts-desktop-only {
        display: none !important;
    }
}

.random-posts-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.random-posts-placeholder {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-size: cover;
    background-position: center;
}

/* === Random posts fallback icon center START === */
.random-posts-fallback-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: #ffffff;
    font-size: 38px;
    opacity: 0.25;
    text-shadow:
        0 4px 12px rgba(0, 0, 0, 0.9),
        0 0 18px rgba(0, 0, 0, 0.8);
}

/* === Random posts fallback icon center END === */

/* === Random posts title + gradient START === */
.random-posts-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.random-posts-title {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
}

/* === Random posts title + gradient END === */

/* === Random posts category icon START === */
.random-posts-category-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    color: #ffffff;
    font-size: 18px;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(0, 0, 0, 0.8);
}

.random-posts-card.is-vip-card .random-posts-category-icon {
    top: 50px;
}

/* === Random posts category icon END === */

/* === Random posts VIP badge START === */
.random-posts-card .post-detail-modern-vip-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    min-height: 26px;
    padding: 6px 9px;
    font-size: 11px;
}

.random-posts-card .post-detail-modern-vip-badge i {
    font-size: 11px;
}

/* === Random posts VIP badge END === */

/* === Random posts top meta START === */
.random-posts-top-meta {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(0, 0, 0, 0.8);
}

.random-posts-top-meta span {
    display: block;
}

.random-posts-top-meta span+span {
    margin-top: 4px;
}

/* === Random posts top meta END === */

.cat-card {
    min-height: 180px;
    /* меняй значение */
}

/* === Random posts styles END === */

.navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.navbar-mobile-btn {
    font-weight: 800;
    white-space: nowrap;
}

.navbar-desktop-actions {
    display: none;
}

.navbar-links-row {
    padding-top: 10px;
}

@media (min-width: 992px) {
    .navbar-mobile-actions {
        display: none;
    }

    .navbar-mobile-lang-simple {
        display: none;
    }

    .navbar-desktop-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: 8px;
    }

    .navbar-links-row {
        padding-top: 0;
    }

    .navbar-mobile-actions-menu {
        display: none;
    }

    .lang-dropdown {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .lang-dropdown {
        display: none;
    }

    .navbar-mobile-lang-simple {
        display: block;
    }

    .navbar-mobile-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .navbar-desktop-actions {
        display: none;
    }

    .navbar-links-row {
        padding-top: 10px;
    }

    .navbar-mobile-actions-menu {
        display: flex;
    }
}

@media (max-width: 1100px) {
    .navbar-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .navbar-toggler {
        margin-left: 0 !important;
    }
}

.navbar-mobile-icon-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* === Mobile user dropdown button START === */
.navbar-mobile-user-btn {
    width: auto;
    height: 40px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
}

.navbar-mobile-user-chevron {
    font-size: 10px;
}

/* === Mobile user dropdown button END === */

.navbar-toggler-ny {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 12px;
    background: #fff;
    color: var(--ny-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}

.navbar-toggler-ny:focus {
    box-shadow: none;
}

.navbar-toggler-open,
.navbar-toggler-close {
    line-height: 1;
    font-size: 18px;
}

.navbar-toggler-close {
    display: none;
}

.navbar-toggler-ny[aria-expanded="true"] .navbar-toggler-open {
    display: none;
}

.navbar-toggler-ny[aria-expanded="true"] .navbar-toggler-close {
    display: inline-block;
}

.navbar-mobile-actions-menu {
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(229, 231, 235, .85);
}

.navbar-mobile-actions-menu .btn {
    width: 100%;
}

/* Buttons */
.btn-ny-primary {
    background: var(--ny-orange);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0);
    box-shadow: 0 6px 14px rgba(234, 88, 12, .18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-ny-primary:hover {
    background: #c2410c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(234, 88, 12, .22);
}

/* === Navy secondary button styles START === */
.btn-ny-navy {
    background: var(--ny-navy);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0);
    box-shadow: 0 6px 14px rgba(30, 58, 138, .22);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-ny-navy:hover {
    background: #142c6b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 58, 138, .28);
}

/* === Navy secondary button styles END === */

.btn-ny-outline {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    color: var(--ny-navy);
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn-ny-outline:hover {
    background: #fff;
    border-color: rgba(15, 23, 42, .18);
    color: var(--ny-navy);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

/* Hero */
.hero {
    position: relative;
    padding: 18px 0 30px;
}

@media (max-width: 575.98px) {
    .hero {
        padding-top: 10px;
    }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(30, 58, 138, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, .06) 1px, transparent 1px);

    background-size: 42px 42px;

    opacity: .35;
}

.hero-card {
    position: relative;
    z-index: 2;
    background: var(--ny-card);
    border: 1px solid var(--ny-border);
    border-radius: 4px;
    overflow: visible;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.hero-left {
    padding: 32px;
}

/* === Hero left dropdown layer fix START === */
.hero-left {
    position: relative;
    z-index: 3;
}

/* === Hero left responsive padding START === */
@media (max-width: 1199.98px) {
    .hero-left {
        padding: 24px;
    }
}

@media (max-width: 767.98px) {
    .hero-left {
        padding: 18px;
    }
}

/* === Hero left responsive padding END === */

/* === Hero left dropdown layer fix END === */

.hero-badge {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(30, 58, 138, .06);
    color: var(--ny-navy);
    font-weight: 400;
    font-size: 12px;
}

.hero-badge span {
    flex: 0 0 auto;
    opacity: .6;
}

.hero-badge-full {
    width: 100%;
    overflow: hidden;
}

/* === Hero badge marquee START === */
.hero-badge-marquee {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
}

.hero-badge-marquee-track {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
    animation: heroBadgeMarquee 28s linear infinite;
}

.hero-badge-full:hover .hero-badge-marquee-track {
    animation-play-state: paused;
}

@keyframes heroBadgeMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* === Hero badge marquee END === */

@media (max-width: 767.98px) {
    .hero-badge-marquee-track {
        animation-duration: 34s;
    }
}

.hero-badge-full a {
    color: var(--ny-navy);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    margin-right: 10px;
    transition: none;
    transform: none;
}

.hero-badge-full a:hover {
    text-decoration: underline;
}

.hero-badge-full span {
    color: var(--ny-muted);
    white-space: nowrap;
    flex: 0 0 auto;
    margin-right: 10px;
}

.hero-h1 {
    font-weight: 600;
    letter-spacing: -.6px;
    line-height: 1.08;
    margin: 16px 0 12px;
    font-size: clamp(20px, 3vw, 38px);
    white-space: normal;
    word-break: break-word;
}

/* === Hero subtitle clean base START === */
.hero-sub {
    color: var(--ny-muted);
    font-weight: 500;
    line-height: 1.65;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

/* === Hero subtitle clean base END === */

/* === Hero subtitle tablet size START === */
@media (max-width: 1199.98px) {
    .hero-sub {
        font-size: 14px;
        line-height: 1.55;
    }
}

/* === Hero subtitle tablet size END === */

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 16px 0 0;
    color: var(--ny-text);
    font-weight: 700;
    font-size: 14px;
}

.hero-proof>.count-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(234, 88, 12, .08);
    border: 1px solid rgba(234, 88, 12, .18);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.hero-proof i {
    color: var(--ny-orange);
}

.count-pill {
    gap: 8px;
}

.odometer {
    display: inline-flex;
    align-items: center;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    line-height: 1;
    vertical-align: middle;
}

.odometer__digit-wrap {
    position: relative;
    width: 0.68em;
    height: 1.15em;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.odometer__digit-track {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.odometer__digit {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.15em;
    width: 100%;
    line-height: 1.15em;
}

.odometer__sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.42em;
    height: 1.15em;
    line-height: 1.15em;
}


.live-urgency .odometer {
    font-weight: 900;
}

.hero-proof .odometer {
    font-weight: 800;
}

.count-pill .odometer,
.live-urgency .odometer {
    flex: 0 0 auto;
}

.searchbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.searchbar .form-outline {
    margin: 0;
    flex: 1 1 220px;
    min-width: 210px;
}

.searchbar .form-control {
    background: #fff;
}

.searchbar .btn {
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 800;
}

/* === Hero location dropdown styles START === */
.hero-location-field {
    position: relative;
    z-index: 20;
}

.hero-location-trigger {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    padding: .59rem 2.75rem .59rem .75rem;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    background: #fff;
    color: var(--ny-text);
    font-size: 1rem;
    line-height: 1.5;
    box-sizing: border-box;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-location-trigger:focus {
    outline: none;
    border-color: #3b71ca;
    box-shadow: inset 0 0 0 1px #3b71ca;
}

.hero-location-trigger-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-location-trigger-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #9ca3af;
    pointer-events: none;
}

.hero-location-field.is-open .hero-location-trigger-icon {
    transform: translateY(-50%) rotate(180deg);
}

.hero-location-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    display: none;
    padding: 0;
    background: #fff;
    border: 1px solid #bdbdbd;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    overflow: hidden;
}

.hero-location-field.is-open .hero-location-menu {
    display: block;
}

.hero-location-option {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ny-text);
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.hero-location-option:hover {
    background: #eef2f7;
    color: var(--ny-navy);
}

.hero-location-option.is-active {
    background: rgba(30, 58, 138, .08);
    color: var(--ny-navy);
}

.hero-location-option+.hero-location-option {
    border-top: 1px solid #eef2f7;
}

/* === Hero location dropdown styles END === */

.popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.popular-searches-label {
    color: var(--ny-muted);
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    margin-right: 6px;
}

.popular-search-link {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ny-navy);
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-size: 13px;
    font-weight: 400;
    line-height: inherit;
    transition: color .18s ease, text-decoration-color .18s ease;
}

.popular-search-link:hover {
    color: var(--ny-orange);
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.popular-search-link-real {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ny-navy);
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-size: 13px;
    font-weight: 400;
    line-height: inherit;
    transition: color .18s ease, text-decoration-color .18s ease;
    cursor: pointer;
    pointer-events: auto;
}

.popular-search-link-real:hover {
    color: var(--ny-orange);
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.popular-search-sep {
    color: var(--ny-muted);
    margin-right: 6px;
}

@media (max-width: 575.98px) {
    .popular-searches {
        font-size: 12px;
    }

    .popular-searches-label,
    .popular-search-link,
    .popular-search-sep {
        font-size: 12px;
    }
}

.hint-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    color: var(--ny-muted);
    font-weight: 600;
    font-size: 13px;
}

.hint-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px dashed rgba(229, 231, 235, .9);
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
}

/* === Hero trust row spacing START === */
.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 14px;
}

/* === Hero trust row spacing END === */

.hero-trust-pill {
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .18);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
    font-weight: 700;
    color: var(--ny-text);
}

.hero-trust-pill i {
    color: #16a34a;
}

@media (max-width: 575.98px) {
    .hero-trust-pill {
        font-size: 12px;
        padding: 7px 10px;
    }
}

.hero-right {
    background:
        radial-gradient(circle at 20% 15%, rgba(234, 88, 12, .08), transparent 58%),
        radial-gradient(circle at 85% 30%, rgba(30, 58, 138, .10), transparent 58%),
        linear-gradient(135deg, rgba(15, 23, 42, .01), rgba(15, 23, 42, 0));
    border-left: 1px solid var(--ny-border);
    padding: 28px;
    display: block;
}

.live-feed {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
    font-size: 13px;
}

.live-feed-full {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* === Online users text spacing START === */
#onlineUsersText {
    word-spacing: 2px;
}

/* === Online users text spacing END === */

.live-feed-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--ny-navy);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.live-urgency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #b45309;
    background: rgba(251, 191, 36, .14);
    border: 1px solid rgba(251, 191, 36, .28);
    border-radius: 999px;
    padding: 5px 9px;
    margin-left: auto;

    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.live-urgency:hover {
    background: rgba(251, 191, 36, .22);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, .06);
}

.live-urgency i {
    color: var(--ny-orange);
    font-size: 11px;
}

@media (max-width: 575.98px) {
    .live-urgency {
        font-size: 12px;
        padding: 6px 9px;
    }
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
    animation: livePulse 1.8s infinite;
}

.live-item {
    display: flex;
    align-items: center;
    gap: 4;
    padding: 12px 12px;
    color: #1f2937;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-radius: 0;
    transition:
        background .25s ease,
        transform .25s ease,
        color .25s ease;
}

.live-item:hover {
    background: rgba(30, 58, 138, .04);
    transform: translateX(1px);
}

.live-item i,
.live-item .live-item-main,
.live-item .live-item-side {
    transition: transform .18s ease;
}

.live-item i {
    color: var(--ny-navy);
    flex: 0 0 auto;
    transition: color .25s ease;
}

.live-item:hover i {
    color: var(--ny-orange);
}

.live-item-main {
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}

/* === Live item highlight star START === */
.live-item-highlight-star {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    color: var(--ny-orange) !important;
    vertical-align: middle;
    animation: liveItemHighlightStarPulse 1.6s ease-in-out infinite;
}

.live-item:hover .live-item-highlight-star {
    color: var(--ny-orange) !important;
}

@keyframes liveItemHighlightStarPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .15;
        transform: scale(.9);
    }
}

/* === Live item highlight star END === */

.live-item-side {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
}

.live-item::before {
    content: "";
    order: 3;
    flex: 1 1 auto;
    min-width: 12px;
    align-self: flex-end;
    margin: 0 1px 3px 1px;
    border-bottom: 1px dotted rgba(30, 58, 138, .25);
}

.live-item-main {
    order: 2;
}

.live-item-side {
    order: 4;
}

.live-item strong {
    color: var(--ny-navy);
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Sections */
.section {
    padding: 34px 0;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.35px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.section-sub {
    color: var(--ny-muted);
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 22px;
}

.active-filter-item {
    background-color: #e9ecef;
    /* Светло-серый фон */
    border-radius: 6px;
    padding: 4px 8px !important;
    margin-left: -8px;
    /* Компенсируем отступ, чтобы иконки шли по одной линии */
    margin-right: -8px;
}

/* === Section header total badge styles START === */
.section-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
}

.section-total-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(30, 58, 138, .06);
    border: 1px solid rgba(30, 58, 138, .12);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
    font-size: 13px;
    line-height: 1.2;
}

.section-total-badge-main {
    color: var(--ny-navy);
    font-weight: 800;
}

.section-total-badge-today {
    color: #16a34a;
    font-weight: 800;
}

@media (max-width: 575.98px) {
    .section-head-row {
        gap: 10px;
    }

    .section-total-badge {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* === Section header total badge styles END === */

/* === Category cards styles (clean universal) START === */
.cat-card {
    position: relative;
    background:
        radial-gradient(circle at 100% 0%, rgba(30, 58, 138, .04), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid var(--ny-border);
    border-radius: 4px;
    padding: 14px 14px;
    height: 100%;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .07);
    border-color: rgba(30, 58, 138, .16);
    background:
        radial-gradient(circle at 100% 0%, rgba(234, 88, 12, .06), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.cat-micro {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: rgba(30, 58, 138, .24);
    font-size: 11px;
    transition: color .22s ease, transform .22s ease, opacity .22s ease;
    opacity: .9;
}

.cat-card:hover .cat-micro {
    color: rgba(234, 88, 12, .55);
    transform: translateY(-1px);
}

.cat-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(30, 58, 138, .08);
    color: var(--ny-navy);
    font-size: 18px;
    margin-bottom: 10px;
    transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.cat-card:hover .cat-ic {
    transform: translateY(-1px) scale(1.08);
    background: rgba(234, 88, 12, .10);
    color: var(--ny-orange);
    box-shadow: 0 6px 14px rgba(234, 88, 12, .10);
}

.cat-title {
    font-weight: 800;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    transition: color .18s ease;
}

.cat-card:hover .cat-title {
    color: var(--ny-navy);
}

.cat-meta {
    margin-top: 4px;
    color: var(--ny-muted);
    font-weight: 500;
    font-size: 11px;
    line-height: 1.45;
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--ny-border);
    background: rgba(246, 247, 251, .7);
    font-weight: 800;
    font-size: 12px;
    color: var(--ny-text);
}

.cat-chip i {
    color: var(--ny-orange);
}

/* === Category cards styles (clean universal) END === */

/* Cards list */
.ny-card {
    background: #fff;
    border: 1px solid var(--ny-border);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
    position: relative;
}

/* === Full card outer link START === */
.ny-card-link {
    display: block;
    height: 100%;
    color: inherit;
}

.ny-card-link:hover,
.ny-card-link:focus,
.ny-card-link:active,
.ny-card-link:visited {
    color: inherit;
    text-decoration: none;
}

/* === Full card outer link END === */

.ny-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
    border-color: rgba(30, 58, 138, .16);
}

.ny-card .cover {
    height: 150px;
    border-bottom: 1px solid var(--ny-border);
    position: relative;
    overflow: hidden;
}

/* === Latest requests home image cards START === */
.latest-request-home-card {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    transition: transform .22s ease, box-shadow .22s ease;
}

.latest-request-home-card:hover,
.latest-request-home-card:focus,
.latest-request-home-card:active,
.latest-request-home-card:visited {
    color: inherit;
    text-decoration: none;
}

.latest-request-home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

.latest-request-home-cover {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 4px;
    background: #dbe3f0;
}

.latest-request-home-image,
.latest-request-home-fallback {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .35s ease;
}

.latest-request-home-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-request-home-card:hover .latest-request-home-image,
.latest-request-home-card:hover .latest-request-home-fallback {
    transform: scale(1.06);
}

.latest-request-home-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(15, 23, 42, .88) 0%,
            rgba(15, 23, 42, .62) 34%,
            rgba(15, 23, 42, .20) 66%,
            rgba(15, 23, 42, .04) 100%);
    z-index: 1;
    pointer-events: none;
}

.latest-request-home-budget {
    position: absolute;
    top: 48px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    max-width: 58%;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
    color: var(--ny-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-request-home-title {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.22;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .32);
}

.latest-request-home-card .job-corner-badge {
    z-index: 3;
}

.latest-request-home-card .job-corner-badge-vip {
    top: 12px;
    right: 12px;
    bottom: auto;
    z-index: 3;
}

@media (max-width: 575.98px) {
    .latest-request-home-cover {
        height: 210px;
    }

    .latest-request-home-title {
        left: 12px;
        right: 12px;
        bottom: 12px;
        font-size: 14px;
        line-height: 1.25;
    }

    .latest-request-home-budget {
        max-width: 48%;
        padding: 6px 8px;
        font-size: 10px;
    }

    .latest-request-home-card .job-corner-badge {
        left: 10px;
        top: 10px;
        padding: 5px 8px;
        font-size: 10px;
    }

    .latest-request-home-card .job-corner-badge-vip {
        top: 10px;
        right: 10px;
        bottom: auto;
        padding: 5px 8px;
        font-size: 10px;
    }
}

/* === Latest requests home image cards END === */

/* === Job card split links START === */
.job-card-cover-link,
.job-card-content-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.job-card-cover-link:hover,
.job-card-cover-link:focus,
.job-card-cover-link:active,
.job-card-cover-link:visited,
.job-card-content-link:hover,
.job-card-content-link:focus,
.job-card-content-link:active,
.job-card-content-link:visited {
    color: inherit;
    text-decoration: none;
}

/* === Job card split links END === */

.cover-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .35s ease;
    transform-origin: center;
    z-index: 1;
}

/* === Cover premium overlay START === */
.ny-card .cover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    background:
        linear-gradient(to top,
            rgba(15, 23, 42, .72) 0%,
            rgba(15, 23, 42, .34) 34%,
            rgba(15, 23, 42, .10) 62%,
            transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* === Cover premium overlay END === */

/* === Cover meta premium row START === */
.job-cover-meta-bar {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    min-height: 42px;
    padding: 0;
    background:
        linear-gradient(180deg,
            rgba(15, 23, 42, .04) 0%,
            rgba(15, 23, 42, .02) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.job-cover-meta-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, .72) 0%,
            rgba(255, 255, 255, .88) 50%,
            rgba(255, 255, 255, .72) 100%);
    backdrop-filter: blur(10px);
    z-index: 0;
}

.job-cover-meta-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 42px;
    font-size: 11px;
    font-weight: 900;
    color: #334155;
    line-height: 1;
    text-align: center;
}

.job-cover-meta-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(148, 163, 184, .14);
}

.job-cover-meta-item i {
    font-size: 11px;
    flex: 0 0 auto;
}

.job-cover-meta-item:nth-child(1) i {
    color: #7c3aed;
}

.job-cover-meta-item:nth-child(2) i {
    color: var(--ny-navy);
}

.job-cover-meta-item:nth-child(3) i {
    color: #dc2626;
}

.job-cover-meta-item:nth-child(4) i {
    color: #059669;
}

.job-cover-meta-rating {
    color: #334155;
}

.job-cover-meta-rating i {
    color: #f59e0b;
    font-size: 11px;
}

/* === Cover meta premium row END === */

/* === Premium reusable tooltip START === */
.ny-tooltip-item {
    position: relative;
}

.ny-tooltip-box {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 12px;
    background: rgba(15, 23, 42, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
    z-index: 999;
}

.ny-tooltip-box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(15, 23, 42, .92) transparent transparent transparent;
}

.ny-tooltip-item:hover .ny-tooltip-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* === Premium reusable tooltip END === */

/* === Region tooltip list START === */
.ny-tooltip-box--areas {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 150px;
    padding: 10px 12px;
    line-height: 1.25;
}

.ny-tooltip-box--areas span {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.job-region-more-tooltip {
    cursor: help;
}

/* === Region tooltip list END === */

.ny-card:hover .cover-image {
    transform: scale(1.06);
}

.ny-card .cover .price {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--ny-border);
    font-weight: 900;
    color: var(--ny-text);
    font-size: 13px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    z-index: 2;
}

.job-corner-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 900;
    font-size: 13px;
    background: rgba(255, 255, 255, .92);
    line-height: 1;
}

/* === Premium category badge START === */
.job-corner-badge-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
    color: rgba(255, 255, 255, .96);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.job-corner-badge-category i {
    color: var(--ny-orange);
    font-size: 11px;
}

/* === Premium category badge END === */

.job-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    border: 1px solid var(--ny-border);
    background: rgba(246, 247, 251, .82);
    color: var(--ny-text);
}

.job-tag-pill i {
    font-size: 12px;
    flex: 0 0 auto;
}

.job-tag-pill.is-category {
    background: rgba(255, 247, 237, .95);
    border-color: var(--ny-orange);
    color: var(--ny-orange);
}

.job-tag-pill.is-category i {
    color: #ea580c;
}

.job-tag-pill.is-match {
    background: rgba(239, 246, 255, .95);
    border-color: rgba(30, 58, 138, .14);
    color: var(--ny-navy);
}

.job-tag-pill.is-match i {
    color: var(--ny-navy);
}

.job-tag-pill.is-response {
    background: rgba(240, 253, 244, .96);
    border-color: rgba(22, 163, 74, .16);
    color: #15803d;
}

.job-tag-pill.is-response i {
    color: #16a34a;
}

.job-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.job-meta-pill.is-replies {
    color: #0f766e;
    background: rgba(240, 253, 250, .96);
    border-color: rgba(13, 148, 136, .16);
}

.job-meta-pill.is-replies i {
    color: #0f766e;
}

/* === New badge START === */
.job-corner-badge-new {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: #fff;
    left: 10px;
    bottom: 10px;
    top: auto;
    padding: 5px 8px;
    gap: 5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 4px 12px rgba(30, 58, 138, .28);
    text-transform: uppercase;
    letter-spacing: .3px;
    font-size: 10px;
    line-height: 1;
    animation: newBadgePulse 1.8s ease-in-out infinite;
    z-index: 2;
}

/* === New badge END === */

/* === VIP badge START === */
.job-corner-badge-vip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid #d97706;
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 6px 16px rgba(234, 88, 12, .28);
    animation: vipBadgePulse 1.8s ease-in-out infinite;
}

.job-corner-badge-vip i {
    font-size: 12px;
    color: #fff;
}

@keyframes vipBadgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 6px 16px rgba(234, 88, 12, .28);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 10px 22px rgba(234, 88, 12, .38);
    }
}

/* === VIP card pulse outline (medium balanced) START === */
.ny-card.is-vip-card,
.cat-card.is-vip-card {
    position: relative;
    z-index: 1;
    animation: vipCardPulseOutline 2.6s ease-in-out infinite;

    /* постоянная тонкая рамка */
    box-shadow:
        0 0 0 1px rgba(217, 119, 6, 0.9);
}

@keyframes vipCardPulseOutline {
    0% {
        box-shadow:
            0 0 0 1px rgba(217, 119, 6, 0.9),
            0 0 6px rgba(234, 88, 12, 0.25);
    }

    50% {
        box-shadow:
            0 0 0 1.8px rgba(234, 88, 12, 0.9),
            0 0 16px rgba(234, 88, 12, 0.55);
    }

    100% {
        box-shadow:
            0 0 0 1px rgba(217, 119, 6, 0.9),
            0 0 6px rgba(234, 88, 12, 0.25);
    }
}

/* === VIP card pulse outline (medium balanced) END === */

/* === VIP badge END === */

.job-corner-badge i {
    font-size: 12px;
}

.job-corner-badge.urgent {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-color: #dc2626;
}

.job-corner-badge.urgent i {
    color: #fff;
}

.job-corner-badge.new {
    color: #fff;
    background: #16a34a;
    border-color: #16a34a;
}

.job-corner-badge.new i {
    color: #fff;
}

.job-corner-badge.scheduled {
    color: #fff;
    background: linear-gradient(135deg, #475569, #64748b);
    border-color: #475569;
}

.job-corner-badge.scheduled i {
    color: #fff;
}

.job-corner-badge.archived {
    color: #111827;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    border-color: #f59e0b;
}

.job-corner-badge.archived i {
    color: #1f2937;
}

.ny-card .content {
    padding: 12px 18px 18px;
}

.ny-card .title {
    font-weight: 800;
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.3;
}

/* === Job card preview text START === */
.job-card-preview {
    display: -webkit-box;
    margin: 0 0 10px;
    color: var(--ny-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* === Job card preview text END === */

.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.job-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ny-border);
    color: var(--ny-text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}

.job-meta-pill i {
    font-size: 12px;
    color: var(--ny-navy);
    flex: 0 0 auto;
}

.job-meta-pill.is-location {
    color: var(--ny-navy);
    background: rgba(239, 246, 255, .82);
    border-color: rgba(30, 58, 138, .12);
}

.job-meta-pill.is-location i {
    color: var(--ny-orange);
}

/* === Request card category pill START === */
.job-meta-pill-request-category {
    color: var(--ny-orange);
    background: rgba(255, 247, 237, .95);
    border-color: rgba(234, 88, 12, .18);
}

.job-meta-pill-request-category i {
    color: var(--ny-orange);
}

/* === Request card category pill END === */

.job-meta-pill.is-time {
    color: #475569;
    background: rgba(248, 250, 252, .95);
    border-color: rgba(148, 163, 184, .22);
}

.job-meta-pill.is-time i {
    color: #64748b;
}



.ny-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ny-border);
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(246, 247, 251, .7);
    font-weight: 800;
    font-size: 12px;
}

.ny-pill i {
    color: var(--ny-navy);
}

.cta-box {
    background: linear-gradient(135deg, var(--ny-navy), #142c6b);
    border-radius: 4px;
    padding: 28px;
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-weight: 900;
    letter-spacing: -.4px;
    color: #fff;
}

.cta-sub {
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
    max-width: 58ch;
}

.cta-btn-light {
    font-weight: 800;
    color: var(--ny-navy) !important;
    background: #fff !important;
    border: 1px solid #fff !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.cta-btn-light:hover,
.cta-btn-light:focus,
.cta-btn-light:active {
    color: var(--ny-navy) !important;
    background: #fff !important;
    border-color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, .12) !important;
}


/* form block */
.form-check {
    padding-left: 0;
    margin: 0;
    min-height: auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.form-check-input {
    margin-top: 0;
    margin-left: 0 !important;
    position: static;
    float: none;
    flex: 0 0 auto;
}

.form-check-label {
    color: #374151;
    font-weight: 500;
    line-height: 1.4;
}

.form-outline {
    position: relative;
}

.field-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

.picker-wrap {
    cursor: pointer;
}

.picker-wrap .form-control[readonly] {
    cursor: pointer;
    background-color: #fff;
}

.native-picker {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.footer-brand-title {
    font-weight: 900;
    color: var(--ny-navy);
    line-height: 1;
}

.footer-brand-sub {
    font-size: 13px;
}

.footer-brand-sub a {
    color: var(--ny-navy);
    text-decoration: none;
}

.footer-brand-sub a:hover {
    text-decoration: underline;
}

/* Footer */
.ny-footer {
    background: #fff;
    border-top: 1px solid var(--ny-border);
    padding: 34px 0 22px;
    color: var(--ny-muted);
    font-weight: 400;
}

.footer-title {
    font-weight: 800;
    color: var(--ny-text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.footer-text {
    color: var(--ny-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 34ch;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--ny-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color .18s ease;
}

.footer-links a:hover {
    color: var(--ny-navy);
}

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-decoration: none;
    border: 1px solid var(--ny-border);
    color: var(--ny-navy);
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

.footer-social:hover {
    transform: translateY(-1px);
    border-color: rgba(30, 58, 138, .16);
    color: var(--ny-orange);
    box-shadow: 0 4px 10px rgba(15, 23, 42, .05);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;

}

.footer-badges span {
    color: var(--ny-muted);
    font-weight: 400;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ny-border);
    font-size: 13px;
    color: var(--ny-muted);
}

.footer-counter {
    font-weight: 400;
    color: var(--ny-text);
    font-size: 12px;
}

.footer-counter-plus {
    color: #16a34a;
    font-weight: 400;
    margin-left: 4px;
}

/* Small helpers */
.form-select-ny {
    height: 36px;
    min-height: 36px;
    box-sizing: border-box;

    border: 1px solid #cfd4dc;
    border-radius: .25rem;

    background-color: #fff;
    color: var(--ny-text);

    font-size: 0.9rem;
    line-height: 1.3;

    padding: .15rem 2.25rem .15rem .6rem;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    box-shadow: none;
    -webkit-box-shadow: none;
}

.form-select-ny:hover {
    border-color: #b8c0cc;
    background-color: #fff;
    box-shadow: none;
}

.form-select-ny:focus {
    border-color: var(--ny-navy);
    box-shadow: 0 0 0 1px rgba(30, 58, 138, .15);
    outline: none;
}

.footer-link {
    color: var(--ny-navy);
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}

.ny-card-content {
    transform: none;
}

.ny-card-content:hover {
    transform: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    border-color: var(--ny-border);
}

/* Content text block */
.content-text {
    color: var(--ny-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

/* Paragraphs */
.content-text p {
    margin: 0 0 14px;
}

/* Links */
.content-text a {
    color: var(--ny-navy);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color .18s ease;
}

.content-text a:hover {
    color: var(--ny-orange);
}

/* Strong text */
.content-text strong {
    font-weight: 700;
}

/* Lists */
.content-text ul,
.content-text ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

.content-text li {
    margin-bottom: 6px;
}

/* === Global site toast styles START === */
.site-toast-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    width: min(360px, calc(100vw - 24px));
    pointer-events: none;
}

.site-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 39, 71, 0.18);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: auto;
}

.site-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.site-toast--success {
    background: #198754;
}

.site-toast--error {
    background: #dc3545;
}

.site-toast--warning {
    background: #f0ad00;
    color: #1f2328;
}

.site-toast__icon {
    flex: 0 0 auto;
    line-height: 1;
    font-size: 18px;
    margin-top: 1px;
}

.site-toast__content {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
    font-size: 14px;
}

.site-toast__close {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: inherit;
    opacity: .9;
    line-height: 1;
    font-size: 18px;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.site-toast__close:hover {
    opacity: 1;
}

@media (max-width: 576px) {
    .site-toast-wrap {
        top: 12px;
        right: 12px;
        width: calc(100vw - 24px);
    }
}

/* === Global site toast styles END === */

/* === Profile avatar preview styles START === */
.profile-avatar-preview {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--ny-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* === Profile avatar preview styles END === */

.user-post-meta {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.user-post-meta-row {
    display: flex;
    gap: 12px;
}

.user-post-meta-row {
    margin-bottom: 4px;
}

.user-post-meta-row .popular-search-link {
    font-size: inherit;
    line-height: inherit;
}

.user-post-meta-row .popular-search-link-real {
    font-size: inherit;
    line-height: inherit;
}

/* === Small location badges (post regions) START === */
.job-meta-pill-loc-sm {
    font-size: 11px;
    padding: 5px 8px;
    min-height: 26px;
}

/* === Small location badges (post regions) END === */

.user-post-meta-strong span {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

/* === Post dates badge style START === */
.user-post-date-badge {
    background: #1E3A8A;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

/* === Post dates badge style END === */

.user-post-meta-strong .user-post-date-badge {
    background: #16A34A;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* === Status badge START === */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    border: 1px solid transparent;
}

/* active */
.status-badge--active {
    color: #fff;
    background: #16a34a;
    border-color: #16a34a;
}

.status-badge--active i {
    color: #fff;
}

/* pending */
.status-badge--pending {
    color: #fff;
    background: linear-gradient(135deg, #475569, #64748b);
    border-color: #475569;
}

.status-badge--pending i {
    color: #fff;
}

/* rejected */
.status-badge--rejected {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-color: #dc2626;
}

.status-badge--rejected i {
    color: #fff;
}

/* archived */
.status-badge--archived {
    color: #1f2937;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    border-color: #f59e0b;
}

.status-badge--archived i {
    color: #1f2937;
}

/* === Status badge END === */

/* Post.php */
.post-detail-modern {
    max-width: 1320px;
}

.post-detail-modern-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ny-muted);
    margin-bottom: 16px;
}

.post-detail-modern-breadcrumbs a {
    color: var(--ny-navy);
    text-decoration: none;
}

.post-detail-modern-breadcrumbs a:hover {
    color: var(--ny-orange);
    text-decoration: underline;
}

.post-detail-modern-hero {
    position: relative;
    min-height: 340px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--ny-border);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
    background: #dbe3f0;
}

.post-detail-modern-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
}

.post-detail-modern-hero-fallback-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.post-detail-modern-hero-fallback-icon i {
    font-size: clamp(60px, 9vw, 130px);
    line-height: 1;
    color: rgba(255, 255, 255, 0.16);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.post-detail-modern-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(2, 6, 23, .80) 0%, rgba(2, 6, 23, .50) 34%, rgba(2, 6, 23, .12) 65%, rgba(2, 6, 23, .04) 100%),
        linear-gradient(to right, rgba(2, 6, 23, .38) 0%, rgba(2, 6, 23, .12) 38%, transparent 65%);
}

.post-detail-modern-hero-content {
    position: relative;
    z-index: 2;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    color: #fff;
}

.post-detail-modern-hero-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.post-detail-modern-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
}

/* === Post detail hero VIP badge START === */
.post-detail-modern-hero-id-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-detail-modern-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #d97706;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 6px 16px rgba(234, 88, 12, .28);
    animation: vipBadgePulse 1.8s ease-in-out infinite;
}

.post-detail-modern-vip-badge i {
    font-size: 12px;
    color: #fff;
}

/* === Post detail hero VIP badge END === */

/* === Post type badge START === */
.post-detail-modern-hero-pill.is-post-type {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 6px 16px rgba(30, 58, 138, .35);
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* === Post type badge END === */

/* === Post type badge request START === */
.post-detail-modern-hero-pill.is-post-type-request {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 6px 16px rgba(234, 88, 12, .35);
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* === Post type badge request END === */

.post-detail-modern-hero-pill.is-active {
    background: rgba(22, 163, 74, .92);
    border-color: rgba(22, 163, 74, .92);
}

.post-detail-modern-hero-title {
    max-width: 850px;
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -.8px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}

.post-detail-modern-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.post-detail-modern-hero-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--ny-text);
    border: 1px solid rgba(255, 255, 255, .9);
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
}

.post-detail-modern-hero-price i {
    color: var(--ny-orange);
}

.post-detail-modern-hero-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-detail-modern-hero-sub .job-tag-pill,
.post-detail-modern-hero-sub .job-meta-pill {
    box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
}

.post-detail-modern-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr);
    gap: 18px;
    margin-top: 18px;
    align-items: start;
}

.post-detail-modern-card {
    border: 1px solid var(--ny-border);
    border-radius: 4px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(234, 88, 12, .05), transparent 26%),
        radial-gradient(circle at 0% 0%, rgba(30, 58, 138, .05), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(251, 252, 255, .98) 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.post-detail-modern-card-body {
    padding: 18px;
}

.post-detail-modern-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    grid-auto-rows: 160px;
    gap: 12px;
}

/* === Gallery top spacing START === */
.post-detail-modern-gallery-grid,
.post-detail-modern-gallery-grid-2,
.post-detail-modern-gallery-grid-3,
.post-detail-modern-gallery-grid-4 {
    margin-top: 0px;
}

/* === Gallery top spacing END === */

.post-detail-modern-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #dbe3f0;
    cursor: pointer;
    box-shadow:
        0 10px 22px rgba(30, 58, 138, .18),
        0 2px 6px rgba(15, 23, 42, .08);
}

.post-detail-modern-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.post-detail-modern-gallery-item:hover img {
    transform: scale(1.04);
}

.post-detail-modern-gallery-item.is-main {
    grid-row: span 2;
    min-height: 332px;
}

.post-detail-modern-gallery-item.is-more::after {
    content: attr(data-more);
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .46);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    backdrop-filter: blur(4px);
    border-radius: 14px;
}

.post-detail-modern-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--ny-border);
    background: rgba(248, 250, 252, .62);
}

.post-detail-modern-section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--ny-text);
}

.post-detail-modern-description {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ny-text);
}

.post-detail-modern-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.post-detail-modern-mini-box {
    border: 1px solid var(--ny-border);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}

.post-detail-modern-mini-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-weight: 800;
    color: var(--ny-muted);
    margin-bottom: 8px;
}

.post-detail-modern-mini-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--ny-text);
}

.post-detail-modern-mini-content a {
    color: var(--ny-navy);
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.post-detail-modern-mini-content a:hover {
    color: var(--ny-orange);
}

.post-detail-modern-location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-detail-modern-location-list .job-meta-pill.is-location {
    text-decoration: none;
}

.post-detail-modern-side {
    position: static;
}

.post-detail-modern-side-top {
    padding: 18px 18px 16px;
    background:
        radial-gradient(circle at 90% 10%, rgba(234, 88, 12, .08), transparent 26%),
        radial-gradient(circle at 10% 0%, rgba(30, 58, 138, .07), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(251, 252, 255, .98) 100%);
    border-bottom: 1px solid var(--ny-border);
}

.post-detail-modern-side-price {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
    color: var(--ny-text);
    margin-bottom: 8px;
    text-align: center;
}

.post-detail-modern-side-sub {
    color: var(--ny-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.post-detail-modern-side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-detail-modern-side-body {
    padding: 18px;
}

.post-detail-modern-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(229, 231, 235, .82);
}

.post-detail-modern-contact-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.post-detail-modern-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(30, 58, 138, .08);
    color: var(--ny-navy);
}

/* === Landing icon styles START === */
.landing-icon-box {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Landing icon styles END === */

.post-detail-modern-contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--ny-muted);
    font-weight: 800;
    margin-bottom: 3px;
}

.post-detail-modern-contact-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ny-text);
    line-height: 1.45;
}

.post-detail-modern-contact-value a {
    color: var(--ny-navy);
    text-decoration: none;
}

.post-detail-modern-contact-value a:hover {
    color: var(--ny-orange);
    text-decoration: underline;
}

.post-detail-modern-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
}

.post-detail-modern-stat {
    border: 1px solid var(--ny-border);
    border-radius: 14px;
    padding: 12px 8px;
    background: #fff;
    text-align: center;
}

.post-detail-modern-stat i {
    color: var(--ny-orange);
    font-size: 14px;
    margin-bottom: 6px;
}

.post-detail-modern-stat-num {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: var(--ny-text);
    line-height: 1;
    margin-bottom: 4px;
}

.post-detail-modern-stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .35px;
    color: var(--ny-muted);
    font-weight: 800;
    line-height: 1.2;
}

/* === Like stat button reset START === */
button.post-detail-modern-stat {
    appearance: none;
    width: 100%;
    cursor: pointer;
}

button.post-detail-modern-stat:disabled {
    cursor: default;
}

/* === Like stat button reset END === */

.post-detail-modern-reviews-summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 247, 237, .96);
    border: 1px solid rgba(234, 88, 12, .14);
    color: #b45309;
    font-weight: 800;
}

.post-detail-modern-reviews-summary i {
    color: #ea580c;
}

.post-detail-modern-review-item {
    border: 1px solid var(--ny-border);
    border-radius: 14px;
    padding: 16px;
    background: rgba(248, 250, 252, .62);
    margin-bottom: 12px;
}

.post-detail-modern-review-item:last-child {
    margin-bottom: 0;
}

.post-detail-modern-review-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.post-detail-modern-review-name {
    font-size: 15px;
    font-weight: 900;
    color: var(--ny-text);
}

.post-detail-modern-review-date {
    color: var(--ny-muted);
    font-size: 13px;
}

.post-detail-modern-review-stars {
    display: inline-flex;
    gap: 2px;
    color: #ea580c;
    font-size: 13px;
}

.post-detail-modern-review-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ny-text);
    margin-bottom: 6px;
}

.post-detail-modern-review-text {
    color: var(--ny-text);
    font-size: 14px;
    line-height: 1.75;
}

.post-detail-modern-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--ny-border);
}

.post-detail-modern-form .form-control,
.post-detail-modern-form .form-select {
    border-color: #cfd4dc;
}

.post-detail-modern-form .form-control:focus,
.post-detail-modern-form .form-select:focus {
    border-color: var(--ny-navy);
    box-shadow: 0 0 0 1px rgba(30, 58, 138, .15);
}

.post-detail-modern-rating-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-detail-modern-rating-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--ny-border);
    background: rgba(248, 250, 252, .75);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--ny-text);
}

.post-detail-modern-rating-row i {
    color: #ea580c;
}

.post-detail-modern-modal .modal-content {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #0f172a;
    color: #fff;
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
}

.post-detail-modern-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 14px 16px;
    flex: 0 0 auto;
}

.post-detail-modern-modal .modal-body {
    overflow-y: auto;
    flex: 1 1 auto;
}

.post-detail-modern-modal .btn-close {
    filter: invert(1);
    opacity: .9;
}

.post-detail-modern-modal-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 65vh;
    overflow: hidden;
    background: #111827;
}

.post-detail-modern-modal-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.post-detail-modern-modal-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 12px;
}

.post-detail-modern-modal-strip::-webkit-scrollbar {
    height: 8px;
}

.post-detail-modern-modal-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
}

.post-detail-modern-modal-thumb {
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    overflow: hidden;
    background: #111827;
    flex: 0 0 auto;
    width: 92px;
    height: 68px;
    opacity: .82;
}

.post-detail-modern-modal-thumb.is-active {
    border-color: rgba(234, 88, 12, .75);
    opacity: 1;
}

.post-detail-modern-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === Similar services block START === */
.similar-services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.similar-services-item {
    display: block;
    text-decoration: none;
}

.similar-services-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 2;
    overflow: hidden;
    border-radius: 14px;
    background: #dbe3f0;
}

.similar-services-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.similar-services-photo::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
}

.similar-services-title {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: #fff;
    z-index: 2;
}

/* === Similar services block END === */

/* === Test gallery layouts START === */
.post-detail-test-block {
    margin-top: 0px;
}

.post-detail-test-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ny-text);
}

.post-detail-modern-gallery-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.post-detail-modern-gallery-grid-2 .post-detail-modern-gallery-item {
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.post-detail-modern-gallery-grid-3 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-auto-rows: 160px;
    gap: 12px;
}

.post-detail-modern-gallery-grid-3 .post-detail-modern-gallery-item.is-main {
    grid-row: span 2;
    min-height: 332px;
}

.post-detail-modern-gallery-grid-3 .post-detail-modern-gallery-item.is-wide {
    min-height: 160px;
}

.post-detail-modern-gallery-grid-4 {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    grid-auto-rows: 160px;
    gap: 12px;
}

.post-detail-modern-gallery-grid-4 .post-detail-modern-gallery-item.is-main {
    grid-row: span 2;
    min-height: 332px;
}

.post-detail-modern-gallery-grid-4 .post-detail-modern-gallery-item.is-top-wide {
    grid-column: 2 / 4;
    min-height: 160px;
}

/* === Test gallery layouts END === */

/* === Modal image preloader START === */
.post-detail-modern-modal-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 2;
    transition: opacity .2s ease;
}

.post-detail-modern-modal-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.post-detail-modern-modal-loader-inner {
    position: relative;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-detail-modern-modal-loader-spinner {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: postDetailModalSpin 1s linear infinite;
}

.post-detail-modern-modal-loader-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: none;
}

@keyframes postDetailModalSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* === Modal image preloader END === */

@media (max-width: 991.98px) {
    .post-detail-modern-grid {
        grid-template-columns: 1fr;
    }

    .post-detail-modern-grid>div:first-child,
    .post-detail-modern-grid>div:last-child {
        display: contents;
    }

    .post-detail-modern-side {
        position: static;
        order: 20;
    }

    .post-detail-modern-reviews {
        order: 30;
    }

    .post-detail-modern-mini-grid {
        grid-template-columns: 1fr;
    }

    .post-detail-modern-gallery-grid,
    .post-detail-modern-gallery-grid-3,
    .post-detail-modern-gallery-grid-4 {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        grid-template-columns: none;
        grid-auto-rows: unset;
        gap: 10px;
    }

    .post-detail-modern-gallery-grid .post-detail-modern-gallery-item,
    .post-detail-modern-gallery-grid-3 .post-detail-modern-gallery-item,
    .post-detail-modern-gallery-grid-4 .post-detail-modern-gallery-item {
        aspect-ratio: 1 / 1;
        min-height: 0;
    }

    .post-detail-modern-gallery-grid .post-detail-modern-gallery-item.is-main,
    .post-detail-modern-gallery-grid-3 .post-detail-modern-gallery-item.is-main,
    .post-detail-modern-gallery-grid-4 .post-detail-modern-gallery-item.is-main,
    .post-detail-modern-gallery-grid-3 .post-detail-modern-gallery-item.is-wide,
    .post-detail-modern-gallery-grid-4 .post-detail-modern-gallery-item.is-top-wide {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .post-detail-modern-hero {
        min-height: 260px;
    }

    .post-detail-modern-hero-content {
        min-height: 260px;
        padding: 18px 14px 16px;
    }

    .post-detail-modern-hero-title {
        font-size: 28px;
    }

    .post-detail-modern-expired-hero-title {
        font-size: 18px;
        min-height: 48px;
    }

    .post-detail-modern-card-body,
    .post-detail-modern-side-top,
    .post-detail-modern-side-body,
    .post-detail-modern-section-head {
        padding-left: 14px;
        padding-right: 14px;
    }

    .post-detail-modern-gallery-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        grid-template-columns: none;
        grid-auto-rows: unset;
        gap: 10px;
    }

    .post-detail-modern-gallery-item {
        aspect-ratio: 1 / 1;
        min-height: 0;
    }

    .post-detail-modern-gallery-item.is-main {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
    }

    .post-detail-modern-stats {
        gap: 8px;
    }
}

/* Post.php */

/* Page user-posts.php */

/* === User posts cover fallback styles START === */
.user-post-cover-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #142c6b 0%, #1E3A8A 55%, #244f84 100%);
}

.user-post-cover-fallback-icon i {
    color: rgba(255, 255, 255, 0.35);
    font-size: 64px;
    line-height: 1;
    user-select: none;
}

/* === User posts cover fallback styles END === */

/* === User posts photos modal styles START === */
.user-post-photos-modal {
    width: fit-content;
    max-width: calc((160px * var(--user-post-photo-cols)) + (12px * (var(--user-post-photo-cols) - 1)) + 32px);
    margin-left: auto;
    margin-right: auto;
}

.user-post-photos-grid {
    display: grid;
    grid-template-columns: repeat(var(--user-post-photo-cols), 160px);
    justify-content: center;
    gap: 12px;
}

.user-post-photo-square {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f4f6;
}

.user-post-photo-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {

    .user-post-photos-modal {
        max-width: calc((80px * var(--user-post-photo-cols)) + (12px * (var(--user-post-photo-cols) - 1)) + 32px);
    }

    .user-post-photos-grid {
        grid-template-columns: repeat(var(--user-post-photo-cols), 80px);
    }

}

/* === User posts photos modal styles END === */

.user-post-stat-badge {
    border-color: transparent;
}

.user-post-stat-badge-total {
    color: #fff;
    background: var(--ny-navy);
    border-color: var(--ny-navy);
}

.user-post-stat-badge-total i {
    color: #fff;
}

.user-post-stat-badge-active {
    color: #fff;
    background: #16a34a;
    border-color: #16a34a;
}

.user-post-stat-badge-active i {
    color: #fff;
}

.user-post-stat-badge-pending {
    color: #fff;
    background: linear-gradient(135deg, #475569, #64748b);
    border-color: #475569;
}

.user-post-stat-badge-pending i {
    color: #fff;
}

.user-post-stat-badge-rejected {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-color: #dc2626;
}

.user-post-stat-badge-rejected i {
    color: #fff;
}

.user-post-stat-badge-archived {
    color: #1f2937;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    border-color: #f59e0b;
}

.user-post-stat-badge-archived i {
    color: #1f2937;
}

/* === User posts card bottom buttons START === */
.user-post-card {
    display: flex;
    flex-direction: column;
}

.user-post-card .content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.user-post-card-actions {
    margin-top: auto;
}

/* === Job card bottom area START === */
.job-card-bottom {
    margin-top: auto;
}

.job-card-regions-row {
    margin-bottom: 12px;
}

/* === Job card bottom area END === */

/* === Job card bottom footer link START === */
.job-card-footer-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 -18px -18px;
    min-height: 42px;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    border-radius: 0 0 4px 4px;
}

.job-card-footer-link:hover,
.job-card-footer-link:focus,
.job-card-footer-link:active,
.job-card-footer-link:visited {
    color: inherit;
    text-decoration: none;
}

.job-card-footer-view,
.job-card-footer-date {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.job-card-footer-view {
    background: var(--ny-navy);
    color: #fff;
}

.job-card-footer-link.is-vip-footer .job-card-footer-view {
    background: var(--ny-orange);
}

.job-card-footer-date {
    background: rgba(248, 250, 252, .95);
    color: #64748b;
    border-top: 1px solid rgba(148, 163, 184, .14);
}

.job-card-footer-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(248, 250, 252, .95);
    color: #64748b;
    border-top: 1px solid rgba(148, 163, 184, .14);
}

.job-card-footer-date i {
    font-size: 11px;
}

/* === Job card bottom footer link END === */

/* === User posts card bottom buttons END === */
/* Page user-posts.php */

/* === Expired card styles START === */
.is-expired-card .cover {
    position: relative;
    overflow: hidden;
}

.is-expired-card .cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.is-expired-card .job-corner-badge,
.is-expired-card .price,
.is-expired-card .cover-image,
.is-expired-card .user-post-cover-fallback {
    position: relative;
    z-index: 1;
}

.expired-cover-message {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.35);
}

.expired-card-blur-content {
    filter: blur(3px);
    opacity: .75;
    pointer-events: none;
    user-select: none;
}

.is-expired-card .user-post-card-actions {
    position: relative;
    z-index: 4;
}

/* === Expired card styles END === */

/* === Post expired hero overlay styles START === */
.post-detail-modern-hero.is-expired-hero {
    position: relative;
}

.post-detail-modern-expired-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.post-detail-modern-expired-hero-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.post-detail-modern-expired-hero-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 14px 22px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.post-detail-modern:not(.is-expired-view) .post-detail-modern-expired-hero-overlay {
    display: none;
}

/* === Post expired hero overlay styles END === */

/* === Expired blur utility START === */
.expired-card-blur-content {
    filter: blur(3px);
    opacity: .75;
    pointer-events: none;
    user-select: none;
}

/* === Expired blur utility END === */

/* === Review rating items START === */
.review-rating-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border: 1px solid #d9dee3;
    border-radius: 999px;
    background: #fff;
    color: #1f2a37;
    cursor: pointer;
    font-weight: 600;
    line-height: 1;
}

.review-rating-item i {
    color: var(--ny-orange);
}

.review-rating-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-rating-item:hover {
    border-color: var(--ny-orange);
}

.review-rating-item:hover i {
    color: var(--ny-orange);
}

.review-rating-item.is-active {
    border-color: var(--ny-orange);
    background: var(--ny-orange);
    color: #fff;
}

.review-rating-item.is-active i {
    color: #fff;
}

/* === Review rating items END === */

/* === Review rating error state START === */
.post-detail-modern-rating-row.is-error {
    border: 1px solid #dc3545;
    border-radius: 999px;
    padding: 6px;
}

/* === Review rating error state END === */

/* === User messages list styles START === */
.user-messages-list {
    display: flex;
    flex-direction: column;
}

.user-message-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ny-border);
    background: #fff;
    transition: background .18s ease;
}

.user-message-row:hover {
    background: #eef2f7;
}

.user-message-row.is-selected {
    background: #e9f0fa;
}

.user-message-row:last-child {
    border-bottom: 0;
}

.user-message-status {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 auto;
    margin-right: 4px;
}

.user-message-status-unread {
    background: var(--ny-navy);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, .10);
}

.user-message-status-read {
    background: #cbd5e1;
}

.user-message-check {
    margin: 0;
    width: 16px;
    height: 16px;

    appearance: none;
    -webkit-appearance: none;

    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: transparent;

    cursor: pointer;
    position: relative;
    transition: all .15s ease;
}

.user-message-check:hover {
    border-color: var(--ny-navy);
}

.user-message-check:checked {
    background: var(--ny-navy);
    border-color: var(--ny-navy);
}

.user-message-check:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.user-message-check-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-right: 6px;
}

.user-message-icon-wrap {
    flex: 0 0 auto;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Header checkbox always white START === */
.user-message-check-all {
    border-color: #fff !important;
    background: transparent !important;
}

.user-message-check-all:hover {
    border-color: #fff !important;
    background: transparent !important;
}

.user-message-check-all:checked {
    background: #fff !important;
    border-color: #fff !important;
}

.user-message-check-all:checked::after {
    border-color: var(--ny-navy) !important;
}

/* === Header checkbox always white END === */

.user-message-star-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
}

.user-message-star-btn.is-hover {
    background: #e5e7eb;
}

.user-message-star,
.user-message-replied {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1;
    pointer-events: none;
}

.user-message-star.is-active {
    color: var(--ny-orange);
}

.user-message-star.is-hover {
    color: var(--ny-text);
}

.user-message-replied.is-active {
    color: #16a34a;
}

.user-message-sender-wrap {
    position: relative;
    flex: 0 0 22ch;
    width: 22ch;
    min-width: 22ch;
    max-width: 22ch;
    margin-left: 10px;
    margin-right: 12px;
    overflow: hidden;
}

.user-message-sender-wrap::after {
    display: none;
}

.user-message-sender {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ny-text);
    font-size: 13px;
    font-weight: 500;
}

/* === Sent message read date column START === */
.user-message-row.is-sent .user-message-read-meta {
    flex: 0 0 10.5ch;
    width: 10.5ch;
    min-width: 10.5ch;
    max-width: 10.5ch;
}

/* === Sent message read date column END === */

.user-message-main {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.user-message-subject {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--ny-text);
}

.user-message-row.is-read .user-message-subject {
    font-weight: 500;
}

.user-message-row.is-unread .user-message-sender,
.user-message-row.is-unread .user-message-subject,
.user-message-row.is-unread .user-message-preview,
.user-message-row.is-unread .user-message-date {
    font-size: 14px;
    font-weight: 700;
}

.user-message-sep {
    flex: 0 0 auto;
    margin: 0 8px;
    color: var(--ny-muted);
}

.user-message-preview {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ny-muted);
    font-size: 13px;
    font-weight: 500;
}

.user-message-date {
    flex: 0 0 auto;
    min-width: 84px;
    margin-left: 12px;
    text-align: right;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: var(--ny-muted);
}

.user-messages-empty {
    padding: 18px 16px;
    color: var(--ny-muted);
}

@media (max-width: 767.98px) {
    .user-message-row {
        gap: 10px;
        padding: 12px 14px;
    }

    .user-message-sender-wrap {
        flex: 0 0 15ch;
        width: 15ch;
        min-width: 15ch;
        max-width: 15ch;
        margin-left: 8px;
        margin-right: 10px;
    }

    /* === Sent message read date column mobile START === */
    .user-message-row.is-sent .user-message-read-meta {
        flex: 0 0 9ch;
        width: 9ch;
        min-width: 9ch;
        max-width: 9ch;
    }

    /* === Sent message read date column mobile END === */

    .user-message-date {
        min-width: 30px;
        margin-left: 8px;
        font-size: 12px;
    }

    .user-message-sep {
        margin: 0 6px;
    }

    .user-message-row.is-unread .user-message-sender,
    .user-message-row.is-unread .user-message-subject,
    .user-message-row.is-unread .user-message-preview,
    .user-message-row.is-unread .user-message-date {
        font-size: 13px;
    }
}

.user-message-link-wrap {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}

.user-message-link {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    text-decoration: none !important;
    color: inherit;
}

.user-message-link:hover,
.user-message-link:focus,
.user-message-link:active,
.user-message-link:visited {
    text-decoration: none !important;
    color: inherit;
}

/* === User messages list styles END === */


/* === Search result styles START === */
.search-result-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.search-result-item {
    border: 1px solid var(--ny-border);
    border-radius: 4px;
    padding: 16px;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.search-result-item.is-highlighted {
    background: #EAF0F9;
    border-color: rgba(30, 58, 138, .25);
}

.search-result-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.search-result-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.search-result-chip.is-post {
    background: rgba(30, 58, 138, .10);
    color: var(--ny-navy);
}

.search-result-chip.is-review {
    background: rgba(234, 88, 12, .12);
    color: var(--ny-orange);
}

.search-result-chip.is-offer {
    background: #1E3A8A;
    color: #fff;
}

.search-result-chip.is-request {
    background: #ea580c;
    color: #fff;
}

.search-result-chip.is-search-category {
    background: rgba(255, 247, 237, .95);
    border: 1px solid var(--ny-orange);
    color: var(--ny-orange);
    padding: 3px 9px;
    min-height: 24px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.search-result-chip.is-search-category i {
    color: #ea580c;
    font-size: 10px;
}

.search-result-chip.is-vip {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    border: 1px solid #d97706;
    box-shadow: 0 6px 16px rgba(234, 88, 12, .28);
    animation: vipBadgePulse 1.8s ease-in-out infinite;
}

.search-result-chip.is-vip i {
    color: #fff;
}

@keyframes vipBadgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 6px 16px rgba(234, 88, 12, .28);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 10px 22px rgba(234, 88, 12, .38);
    }
}

.search-result-date {
    font-size: 12px;
    color: var(--ny-muted);
}

.search-result-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.search-result-title a {
    color: inherit;
    text-decoration: none;
}

.search-result-title a:hover {
    text-decoration: underline;
}

.search-result-post-link {
    font-size: 13px;
    color: var(--ny-muted);
    margin-bottom: 8px;
}

.search-result-post-link a {
    color: inherit;
    text-decoration: none;
}

.search-result-post-link a:hover {
    text-decoration: underline;
}

.search-result-snippet {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ny-text);
    margin: 0;
}

.search-highlight {
    background: rgba(255, 235, 59, .55);
    color: inherit;
    padding: 0 2px;
    border-radius: 4px;
    font-weight: 700;
}

/* === Search result styles END === */

.search-result-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.search-result-card:hover {
    color: inherit;
    text-decoration: none;
}

.search-result-card:hover .search-result-item {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
    border-color: rgba(30, 58, 138, .18);
    background: #EEF2F7;
}

.search-result-card:hover .search-result-item.is-highlighted {
    background: #EAF0F9;
}

.search-result-card-layout {
    display: block;
}

.search-result-card-image-wrap {
    display: none;
}

.search-result-card-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
}

.search-result-card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .22s ease;
}

.search-result-card:hover .search-result-card-image-box img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .search-result-card-layout {
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .search-result-card-main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .search-result-card-image-wrap {
        display: block;
        flex: 0 0 140px;
        width: 140px;
    }
}

/* === Search result styles END === */

/* === AI Improve Modal size control START === */

#aiImproveModal .modal-dialog {
    max-width: 720px;
    /* уменьшили ширину */
    width: 100%;
}

#aiImproveModal .modal-content {
    max-height: 90vh;
    /* не выше экрана */
    display: flex;
    flex-direction: column;
}

#aiImproveModal .modal-body {
    overflow-y: auto;
    /* скролл внутри */
}

/* mobile */
@media (max-width: 576px) {
    #aiImproveModal .modal-dialog {
        max-width: 100%;
        margin: 8px;
    }

    #aiImproveModal .modal-content {
        max-height: 95vh;
    }
}

/* === AI Improve Modal size control END === */

/* === Post language badge styles START === */
.post-lang {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 6px;
    background: #e0e3e7;
    color: #222;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-left: 10px;
}

/* === Post language badge styles END === */

/* === Social link brand colors START === */
.post-detail-modern-contact-icon--lg {
    width: 76px;
    height: 76px;
    border-radius: 16px;
}

.post-detail-modern-contact-icon--lg i {
    font-size: 24px;
}

.post-detail-modern-social-link {
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.post-detail-modern-social-link:hover {
    transform: translateY(-1px);
}

.post-detail-modern-social-facebook {
    color: #1877F2;
    background: rgba(24, 119, 242, .10);
}

.post-detail-modern-social-instagram {
    color: #E4405F;
    background: rgba(228, 64, 95, .10);
}

.post-detail-modern-social-telegram {
    color: #229ED9;
    background: rgba(34, 158, 217, .10);
}

.post-detail-modern-social-tiktok {
    color: #111827;
    background: rgba(17, 24, 39, .08);
}

.post-detail-modern-social-pinterest {
    color: #E60023;
    background: rgba(230, 0, 35, .10);
}

.post-detail-modern-social-youtube {
    color: #FF0000;
    background: rgba(255, 0, 0, .10);
}

.post-detail-modern-social-whatsapp {
    color: #25D366;
    background: rgba(37, 211, 102, .12);
}

.post-detail-modern-social-linkedin {
    color: #0A66C2;
    background: rgba(10, 102, 194, .10);
}

.post-detail-modern-social-x {
    color: #111827;
    background: rgba(17, 24, 39, .08);
}

.post-detail-modern-social-snapchat {
    color: #111827;
    background: rgba(255, 252, 0, .45);
}

.post-detail-modern-social-discord {
    color: #5865F2;
    background: rgba(88, 101, 242, .10);
}

.post-detail-modern-social-reddit {
    color: #FF4500;
    background: rgba(255, 69, 0, .10);
}

.post-detail-modern-social-github {
    color: #111827;
    background: rgba(17, 24, 39, .08);
}

.post-detail-modern-social-link-default {
    color: var(--ny-navy);
    background: rgba(30, 58, 138, .08);
}

.post-detail-modern-social-googlemaps {
    color: #EA4335;
    background: rgba(234, 67, 53, .10);
}

/* === Social link brand colors END === */

/* === User landing switch START === */
.ny-switch {
    position: relative;
    width: 64px;
    height: 34px;
    flex: 0 0 auto;
}

.ny-switch input {
    display: none;
}

.ny-switch label {
    position: absolute;
    inset: 0;
    background: #e5e7eb;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, .08);
}

.ny-switch label::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
    transition: transform .2s ease;
}

/* active */
.ny-switch input:checked+label {
    background: #16a34a;
}

.ny-switch input:checked+label::after {
    transform: translateX(30px);
}

.ny-switch-hint {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ny-navy);
    white-space: nowrap;
}

/* desktop only */
@media (min-width: 992px) {
    .ny-switch-hint {
        display: inline-flex;
    }
}

.ny-switch-hint-text {
    opacity: .9;
    animation: nyHintFade 1.6s ease-in-out infinite;
}

.ny-switch-hint-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ny-orange);
    animation: nyHintMove 1s ease-in-out infinite;
}

@keyframes nyHintMove {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }
}

@keyframes nyHintFade {

    0%,
    100% {
        opacity: .6;
    }

    50% {
        opacity: 1;
    }
}

/* === User landing switch END === */

/* === Landing cards START === */

.landing-blocks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.landing-card {
    display: block;
    cursor: pointer;
}

.landing-card input {
    display: none;
}

.landing-card-inner {
    border-radius: 18px;
    border: 1px solid var(--ny-border);
    padding: 12px;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .18s ease;
}

/* TOP */
.landing-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
}

/* CHECK */
.landing-card-check {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.landing-card-check i {
    font-size: 28px;
}

.landing-card-check .fa-circle-check {
    display: none;
    color: #22c55e;
    /* green */
}

/* checked state */
.landing-card input:checked+.landing-card-inner .fa-circle {
    display: none;
}

.landing-card input:checked+.landing-card-inner .fa-circle-check {
    display: inline-block;
}

/* LIGHT (Contacts / About) */
.landing-card-light .landing-card-inner {
    background: #f3f4f6;
    border-color: #cbd5e1;
    color: var(--ny-navy);
}

/* NAVY (Services) */
.landing-card-navy .landing-card-inner {
    background: rgba(30, 58, 138, 0.1);
    border-color: rgba(30, 58, 138, 0.2);
    color: var(--ny-navy);
}

/* ORANGE (Requests) */
.landing-card-orange .landing-card-inner {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.2);
    color: var(--ny-navy);
}

/* mobile */
@media (max-width: 575.98px) {
    .landing-blocks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* === Landing cards END === */

/* === Bump calendar styles START === */

.bump-calendar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

.bump-day {
    flex: 0 0 62px;
    width: 62px;
    padding: 8px 6px;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ny-border);
    font-weight: 700;
}

.bump-day-week {
    font-size: 11px;
    color: var(--ny-muted);
    margin-bottom: 2px;
}

.bump-day-num {
    font-size: 16px;
    font-weight: 900;
    color: var(--ny-text);
}

.bump-day.is-planned {
    background: rgba(30, 58, 138, .08);
    border-color: rgba(30, 58, 138, .2);
}

.bump-day.is-success {
    background: #16a34a;
    border-color: #16a34a;
}

.bump-day.is-warning {
    background: #facc15;
    border-color: #facc15;
}

.bump-day.is-error {
    background: #dc2626;
    border-color: #dc2626;
}

.bump-day.is-success .bump-day-week,
.bump-day.is-success .bump-day-num,
.bump-day.is-error .bump-day-week,
.bump-day.is-error .bump-day-num {
    color: #fff;
}

/* === Bump calendar styles END === */

/* === Auto bump form toggle styles START === */

.auto-bump-form-wrap {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: max-height .28s ease, opacity .18s ease, margin-bottom .18s ease;
}

.auto-bump-form-wrap.is-open {
    max-height: 2000px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

/* === Auto bump form toggle styles END === */

/* === Auto bump date and time fields START === */

.auto-bump-field {
    position: relative;
}

.auto-bump-control {
    height: 38px;
    padding-right: 10px;
    border-color: #cfd4dc;
    font-size: .9rem;
}

.auto-bump-control:focus {
    border-color: var(--ny-navy);
    box-shadow: 0 0 0 1px rgba(30, 58, 138, .15);
}

.auto-bump-field-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ny-navy);
    font-size: 14px;
    pointer-events: none;
}

.auto-bump-time-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.auto-bump-time-select {
    width: 100%;
}

/* === Auto bump date and time fields END === */