:root {
    --hn-red: #e8132f;
    --hn-radius: 6px;
    --hn-red-dark: #c50e27;
    --hn-red-soft: rgba(232, 19, 47, 0.08);
    --hn-ink: #0d0e11;
    --hn-ink-2: #16171b;
    --hn-muted: #6a6d75;
    --hn-muted-2: #9c9fa6;
    --hn-line: #e8e8e5;
    --hn-bg: #f7f7f5;
    --hn-band: #efede6;
    --hn-paper: #ffffff;
    --hn-shadow-card: 0 1px 2px rgba(13, 14, 17, 0.04);
    --hn-shadow-hover: 0 18px 40px -16px rgba(13, 14, 17, 0.22);
    --hn-container: 1264px;
}

.hn-main,
.hn-main *,
.hn-main *::before,
.hn-main *::after {
    box-sizing: border-box;
}

.hn-main {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    color: var(--hn-ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.hn-main *,
.hn-main *::before,
.hn-main *::after {
    margin: 0;
    padding: 0;
}

.hn-main .hn-offer-loc span {
    color: inherit;
}

.hn-main h1,
.hn-main h2,
.hn-main h3 {
    display: block;
    width: auto;
    text-transform: none;
    letter-spacing: normal;
    background: none;
    border: 0;
}

.hn-main h2::before,
.hn-main h2::after,
.hn-main h3::before,
.hn-main h3::after {
    content: none;
}

.hn-main a {
    color: inherit;
    text-decoration: none;
}

.hn-main img {
    display: block;
    max-width: 100%;
}

.hn-main button {
    font-family: inherit;
    cursor: pointer;
}

.hn-container {
    max-width: var(--hn-container);
    margin: 0 auto;
    padding: 0 32px;
}

.hn-section {
    display: block;
    width: 100%;
    padding: 104px 0;
    background: var(--hn-paper);
}

.hn-section-head {
    margin-bottom: 0;
}

.hn-main .hn-section-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.hn-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hn-red);
    margin-bottom: 14px;
}

.hn-main .hn-section-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--hn-ink);
    text-align: left;
}

.hn-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hn-ink);
    white-space: nowrap;
}

.hn-see-all:hover {
    color: var(--hn-red);
}

.hn-hero {
    position: relative;
    display: block;
    width: 100%;
    background-color: var(--hn-ink);
    background-size: cover;
    background-position: 70% 50%;
    background-repeat: no-repeat;
    color: #fff;
}

.hn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 14, 17, 1) 0%, rgba(13, 14, 17, 0.96) 38%, rgba(13, 14, 17, 0.7) 64%, rgba(13, 14, 17, 0.35) 100%);
}

.hn-hero--plain {
    background-color: var(--hn-ink);
}

.hn-hero--plain::before {
    content: none;
}

.hn-hero-grid {
    position: relative;

    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 96px;
}

.hn-hero-content {
    min-width: 0;
}

.hn-main .hn-hero h1 {
    font-size: clamp(36px, 3.2vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 520px;
    color: #fff;
    text-align: left;
    text-wrap: balance;
}

.hn-main .hn-hero h1 em,
.hn-main .hn-hero h1 strong {
    font-style: normal;
    font-weight: inherit;
    color: var(--hn-red);
}

.hn-main .hn-hero-content > p {
    margin-top: 24px;
    font-size: 16.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    max-width: 480px;
    text-align: left;
}

.hn-hero-search {
    position: relative;
    margin-top: 36px;
    max-width: 540px;
}

.hn-main .hn-search-row {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: calc(var(--hn-radius) + 2px);
    padding: 6px;
    margin: 0;
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
}

.hn-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 8px 0 14px;
    color: var(--hn-muted);
}

.hn-main .hn-search-field > svg {
    flex: none;
    width: 18px;
    height: 18px;
}

.hn-main .hn-search-row input.c-search__input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 52px;
    border: 0;
    outline: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--hn-ink);
    padding: 0;
    margin: 0;
}

.hn-main .hn-search-row input.c-search__input::placeholder {
    color: var(--hn-muted-2);
    font-weight: 600;
}

.hn-main .hn-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--hn-red);
    color: #fff;
    border: 0;
    border-radius: var(--hn-radius);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 26px;
    height: 52px;
    flex: none;
    margin: 0;
    transition: background 0.15s ease;
}

.hn-main .hn-search-btn:hover {
    background: var(--hn-red-dark);
}

.hn-main .hn-search-btn svg {
    width: 16px;
    height: 16px;
}

.hn-main .hn-hero .ajaxSpinner {
    display: none;
    flex: none;
    align-self: center;
    margin-right: 10px;
}

.hn-main #dynamic-search {
    display: none;
    position: absolute;
    top: calc(100% + 8px);

    bottom: auto;
    transform: none;
    padding: 0;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: 8px;
    box-shadow: 0 24px 48px -16px rgba(13, 14, 17, 0.25);
    max-height: 380px;
    overflow-y: auto;
    z-index: 60;
}

.hn-main #dynamic-search-inner {
    max-height: none;
    overflow: visible;
}

.hn-main #dynamic-search-inner a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    color: var(--hn-ink);
    border-bottom: 1px solid var(--hn-line);
}

.hn-main #dynamic-search-inner a:last-child {
    border-bottom: 0;
}

.hn-main #dynamic-search-inner a:hover {
    background: var(--hn-red-soft);
}

.hn-main #dynamic-search-inner a p {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

.hn-main #dynamic-search-inner a p:last-child {
    color: var(--hn-muted);
    font-size: 13px;
    white-space: nowrap;
}

.hn-main #dynamic-search-inner > p {
    margin: 0;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--hn-muted);
    text-align: left;
}

.hn-main #dynamic-search-inner > p.hn-ds-head {
    padding: 11px 16px 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hn-muted-2);
    background: var(--hn-bg);
    border-bottom: 1px solid var(--hn-line);
}

.hn-hero-popular {
    margin-top: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}

.hn-main .hn-hero-popular span {
    color: #fff;
}

.hn-main .hn-hero-popular a {
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 1px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.hn-main .hn-hero-popular a:hover {
    color: var(--hn-red);
    border-color: var(--hn-red);
}

.hn-hero-reviews {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.hn-rev {
    background: #fff;
    color: var(--hn-ink);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
}

.hn-hero-reviews .hn-rev:nth-child(odd) {
    transform: translateX(28px);
}

.hn-hero-reviews .hn-rev:nth-child(even) {
    transform: translateX(-16px);
}

.hn-rev .head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.hn-rev .ava {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--hn-bg);
    border: 1px solid var(--hn-line);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: var(--hn-muted);
    flex: none;
}

.hn-rev .who {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
}

.hn-rev .where {
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--hn-muted);
}

.hn-rev .stars {
    margin-left: auto;
    color: #e8a013;
    font-size: 14px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.hn-main .hn-rev p {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--hn-ink-2);
    text-align: left;
}

.hn-main .hn-hero-reviews-link {
    align-self: flex-end;
    margin-right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.hn-devs {
    background: var(--hn-band);
}

.hn-dev-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.hn-dev-card {
    position: relative;
    background: var(--hn-paper);
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    padding: 28px 24px 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-shadow: var(--hn-shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hn-dev-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hn-shadow-hover);
    border-color: transparent;
}

.hn-main .hn-dev-card h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0 0 16px;
    color: var(--hn-ink);
    text-align: left;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-dev-rate {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.hn-main .hn-dev-rate .stars {
    color: #e8a013;
    letter-spacing: 2px;
    font-size: 13px;
}

.hn-main .hn-dev-rate .n {
    color: var(--hn-ink);
    font-weight: 800;
}

.hn-main .hn-dev-rate .cnt {
    color: var(--hn-muted);
    font-weight: 600;
}

.hn-main .hn-dev-rate--empty .stars {
    color: var(--hn-muted-2);
}

.hn-main .hn-dev-card h3:has(+ .hn-dev-rate) {
    margin-bottom: 6px;
}

.hn-dev-meta {
    border-top: 1px solid var(--hn-line);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--hn-muted);
    text-align: left;
}

.hn-dev-meta b {
    color: var(--hn-ink);
    font-weight: 800;
}

.hn-dev-cities {
    color: var(--hn-muted-2);
    font-weight: 600;
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hn-main .hn-dev-cta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border: 1.5px solid var(--hn-red);
    border-radius: var(--hn-radius);
    color: var(--hn-red);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease;
}

.hn-main .hn-dev-cta:hover {
    background: var(--hn-red);
    color: #fff;
}

.hn-main .hn-dev-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hn-city-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hn-main .hn-city-tab {
    display: inline-block;
    border: 1.5px solid var(--hn-line);
    background: var(--hn-paper);
    color: var(--hn-ink);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    padding: 11px 20px;
    border-radius: 999px;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.hn-main .hn-city-tab:hover {
    border-color: var(--hn-ink);
    color: var(--hn-ink);
}

.hn-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.hn-offer-card {
    position: relative;
    background: var(--hn-paper);
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--hn-shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hn-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hn-shadow-hover);
    border-color: transparent;
}

.hn-main .hn-offer-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hn-offer-card:hover .hn-offer-cta {
    background: var(--hn-red-dark);
}

.hn-offer-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--hn-bg);
    overflow: hidden;
}

.hn-offer-media > a {
    position: absolute;
    inset: 0;
    display: block;
}

.hn-offer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hn-main .hn-offer-media .favorite-button {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    margin: 0;
    color: var(--hn-ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    transition: color 0.15s ease, box-shadow 0.15s ease;
}

.hn-main .hn-offer-media .favorite-button:hover {
    color: var(--hn-red);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.hn-main .hn-offer-media .favorite-button svg {
    width: 18px;
    height: 18px;
}

.hn-offer-body {
    padding: 24px 24px 0;
}

.hn-main .hn-offer-name {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-align: left;
    transition: color 0.15s ease;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-offer-card:hover .hn-offer-name {
    color: var(--hn-red);
}

.hn-offer-loc {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--hn-muted);
    line-height: 1.45;
    text-align: left;
}

.hn-offer-loc span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hn-offer-loc svg {
    width: 14px;
    height: 14px;
    flex: none;
    color: var(--hn-muted-2);
}

.hn-offer-specs {
    margin: 18px 24px 0;
    border-top: 1px solid var(--hn-line);
}

.hn-offer-specs .spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
}

.hn-offer-specs .spec + .spec {
    border-top: 1px solid var(--hn-line);
}

.hn-offer-specs dt {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--hn-muted);
    white-space: nowrap;
}

.hn-offer-specs dd {
    font-size: 14px;
    font-weight: 800;
    color: var(--hn-ink);
    line-height: 1.4;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hn-main .hn-offer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 24px 24px;
    height: 50px;
    border: 0;
    border-radius: var(--hn-radius);
    background: var(--hn-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: background 0.15s ease;
}

.hn-main .hn-offer-cta:hover {
    background: var(--hn-red-dark);
    color: #fff;
}

.hn-features {
    background: var(--hn-ink);
    color: #fff;
}

.hn-features .hn-section-head {
    margin-bottom: 44px;
}

.hn-main .hn-features .hn-section-title {
    color: #fff;
}

.hn-op-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hn-op-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 32px 30px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hn-op-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
}

.hn-main .hn-op-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    text-align: left;
}

.hn-main .hn-op-card p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
    text-align: left;
}

.hn-op-quote {
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 34px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
}

.hn-main .hn-op-quote .q {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    text-align: left;
}

.hn-op-quote .q::before {
    content: "\201E";
    color: var(--hn-red);
}

.hn-op-quote .q::after {
    content: "\201D";
    color: var(--hn-red);
}

.hn-op-quote .who-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hn-op-quote .ava {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    flex: none;
}

.hn-op-quote .who {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.hn-op-quote .where {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.55);
}

.hn-op-quote .stars {
    display: block;
    color: #e8a013;
    letter-spacing: 2px;
    font-size: 13px;
    white-space: nowrap;
}

.hn-op-cta-bar {
    margin-top: 28px;
    background: var(--hn-red);
    border-radius: 10px;
    padding: 26px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hn-op-cta-bar .txt {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    text-align: left;
}

.hn-main .hn-op-cta-bar .sub {
    margin-top: 4px;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.hn-main .hn-op-cta-bar .btn-white {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 50px;
    padding: 0 28px;
    background: #fff;
    color: var(--hn-ink);
    border-radius: var(--hn-radius);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hn-main .hn-op-cta-bar .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}

.hn-main .hn-op-quote .q:not(#wpadminbar *),
.hn-main .hn-op-cta-bar .txt:not(#wpadminbar *) {
    font-family: 'Google Sans', 'Sora', sans-serif !important;
}

.hn-blog {
    background: var(--hn-band);
}

.hn-blog .hn-section-head {
    margin-bottom: 44px;
}

.hn-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.hn-main .hn-blog-card {
    background: var(--hn-paper);
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: var(--hn-shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hn-main .hn-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hn-shadow-hover);
    border-color: transparent;
}

.hn-blog-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #ecece9;
    overflow: hidden;
}

.hn-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hn-blog-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

.hn-main .hn-blog-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--hn-ink);
    text-align: left;
    text-wrap: pretty;
    transition: color 0.15s ease;
}

.hn-main .hn-blog-card:hover h3 {
    color: var(--hn-red);
}

.hn-main .hn-blog-card p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--hn-muted);
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-blog-more {
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hn-red);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hn-directory {
    background: var(--hn-paper);
}

.hn-dir-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--hn-line);
    margin-bottom: 36px;
}

.hn-main .hn-dir-tab {
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    margin: 0 36px -1px 0;
    padding: 14px 4px 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hn-muted-2);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.hn-main .hn-dir-tab:hover {
    color: var(--hn-ink);
}

.hn-main .hn-dir-tab.is-active {
    color: var(--hn-ink);
    border-bottom-color: var(--hn-red);
}

.hn-dir-panel {
    display: none;
}

.hn-dir-panel.is-active {
    display: block;
}

.hn-dir-cols {
    columns: 3;
    column-gap: 40px;
}

.hn-main .hn-dir-cols a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--hn-ink-2);
    break-inside: avoid;
    transition: color 0.12s ease;
}

.hn-main .hn-dir-cols a:hover {
    color: var(--hn-red);
}

.hn-dir-cols a .t {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
}

.hn-dir-cols .cnt {
    flex: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--hn-muted-2);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1180px) {
    .hn-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hn-dev-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hn-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hn-dir-cols {
        columns: 2;
    }
}

@media (max-width: 1160px) {
    .hn-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .hn-hero::before {
        background: linear-gradient(180deg, rgba(13, 14, 17, 1) 0%, rgba(13, 14, 17, 0.92) 50%, rgba(13, 14, 17, 0.7) 100%);
    }

    .hn-hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hn-hero-popular {
        justify-content: center;
    }

    .hn-hero-search {
        max-width: none;
    }

    .hn-hero-reviews {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }

    .hn-hero-reviews .hn-rev {
        transform: none;
    }

    .hn-main .hn-hero-reviews-link {
        grid-column: 1 / -1;
        justify-self: center;
        align-self: auto;
        margin-right: 0;
    }

    .hn-op-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hn-container {
        padding: 0 20px;
    }

    .hn-hero-grid {
        padding-top: 48px;
        padding-bottom: 56px;
    }

    .hn-section {
        padding: 64px 0;
    }

    .hn-main .hn-section-title {
        font-size: 26px;
    }

    .hn-main .hn-hero h1 {
        font-size: 32px;
        max-width: 100%;
    }

    .hn-main .hn-hero-content > p {
        font-size: 15.5px;
        max-width: 100%;
    }

    .hn-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hn-hero-reviews {
        grid-template-columns: minmax(0, 1fr);
        max-width: 460px;
    }

    .hn-hero-reviews .hn-rev:nth-child(even) {
        transform: translateX(-28px);
    }

    .hn-op-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .hn-dir-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hn-dir-tabs::-webkit-scrollbar {
        display: none;
    }

    .hn-main .hn-dir-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        margin-right: 18px;
        font-size: 12px;
        letter-spacing: 0.04em;
        padding: 12px 2px 14px;
    }

    .hn-op-quote {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 24px;
    }

    .hn-main .hn-op-quote .q {
        font-size: 18px;
    }

    .hn-op-cta-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 24px;
    }

    .hn-main .hn-op-cta-bar .btn-white {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .hn-dev-grid,
    .hn-offer-grid,
    .hn-blog-grid {
        display: flex;
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 6px 0 14px;
        scrollbar-width: thin;
        scrollbar-color: var(--hn-red) rgba(13, 14, 17, 0.08);
        -webkit-overflow-scrolling: touch;
    }

    .hn-dev-grid::-webkit-scrollbar,
    .hn-offer-grid::-webkit-scrollbar,
    .hn-blog-grid::-webkit-scrollbar {
        height: 4px;
    }

    .hn-dev-grid::-webkit-scrollbar-track,
    .hn-offer-grid::-webkit-scrollbar-track,
    .hn-blog-grid::-webkit-scrollbar-track {
        background: rgba(13, 14, 17, 0.08);
    }

    .hn-dev-grid::-webkit-scrollbar-thumb,
    .hn-offer-grid::-webkit-scrollbar-thumb,
    .hn-blog-grid::-webkit-scrollbar-thumb {
        background: var(--hn-red);
    }

    .hn-dev-grid > *,
    .hn-offer-grid > *,
    .hn-blog-grid > * {
        scroll-snap-align: start;
    }

    .hn-offer-grid > * {
        flex: 0 0 84%;
    }

    .hn-dev-grid > * {
        flex: 0 0 72%;
    }

    .hn-blog-grid > * {
        flex: 0 0 78%;
    }

    .hn-city-tabs {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .hn-city-tabs::-webkit-scrollbar {
        display: none;
    }

    .hn-main .hn-city-tab {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .hn-dir-cols {
        columns: auto;
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(8, auto);
        grid-auto-columns: 74%;
        gap: 2px 28px;
        overflow-x: auto;
        padding-bottom: 14px;
        scrollbar-width: thin;
        scrollbar-color: var(--hn-red) rgba(13, 14, 17, 0.1);
    }

    .hn-dir-cols::-webkit-scrollbar {
        height: 6px;
    }

    .hn-dir-cols::-webkit-scrollbar-track {
        background: rgba(13, 14, 17, 0.1);
    }

    .hn-dir-cols::-webkit-scrollbar-thumb {
        background: var(--hn-red);
    }

    .hn-main .hn-search-row {
        padding: 5px;
        flex-wrap: wrap;
    }

    .hn-main .hn-search-field {
        width: 100%;
    }

    .hn-main .hn-search-row input.c-search__input {
        font-size: 14.5px;
    }

    .hn-main .hn-search-btn {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
        height: 46px;
        padding: 0 16px;
        font-size: 12.5px;
        letter-spacing: 0.05em;
    }
}

.hn-main.hn-nearby {
    background: var(--hn-bg);
    padding: 72px 0;
}

.hn-main.hn-nearby > h2 {
    max-width: var(--hn-container);
    margin: 0 auto 28px;
    padding: 0 32px;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--hn-ink);
    text-align: left;
}

.hn-main.hn-nearby > .hn-offer-grid,
.hn-main.hn-nearby > .hn-nearby-empty {
    max-width: var(--hn-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.hn-main.hn-nearby > .hn-nearby-empty {
    font-size: 16px;
    font-weight: 600;
    color: var(--hn-muted);
}

.hn-main .hn-offer-dist {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(13, 14, 17, 0.82);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}

@media (max-width: 760px) {
    .hn-main.hn-nearby {
        padding: 56px 0;
    }

    .hn-main.hn-nearby > h2,
    .hn-main.hn-nearby > .hn-offer-grid,
    .hn-main.hn-nearby > .hn-nearby-empty {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (pointer: coarse) {
    .hn-main .hn-search-row input.c-search__input {
        font-size: 16px;
    }
}
