.hm-page {
    --hm-ink: var(--ink, #1a1a1a);
    --hm-muted: var(--muted, #6b6b6b);
    --hm-line: var(--border, #e8e4df);
    --hm-soft: var(--bg, #fafaf8);
    --hm-accent: var(--brand, #c8391a);
    --hm-accent-dark: var(--brand-dark, #a02d13);
    --hm-accent-soft: var(--brand-light, #fff0ed);
    background: var(--bg, #fafaf8);
    color: var(--hm-ink);
    min-height: calc(100vh - 180px);
    padding: 24px 0 72px;
}

.hm-page .breadcrumb {
    margin-bottom: 24px !important;
}

.hm-page .breadcrumb a:hover {
    color: var(--hm-accent) !important;
}

.hm-image-hero {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1024 / 440;
    margin-bottom: 24px;
    border-radius: 24px;
}

.hm-image-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hm-image-hero .hm-primary-btn {
    position: absolute;
    z-index: 2;
    left: 4.8%;
    bottom: 4%;
    min-height: 46px;
    padding: 0 18px;
    border-color: #fff;
    background: #fff;
    color: var(--brand-dark, #a02d13);
    box-shadow: 0 8px 24px rgba(72, 17, 8, .18);
}

.hm-image-hero .hm-primary-btn:hover {
    border-color: var(--brand-light, #fff0ed);
    background: var(--brand-light, #fff0ed);
    color: var(--brand-dark, #a02d13);
}

.hm-seo-intro {
    padding: 24px 28px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-left: 4px solid var(--hm-accent);
    border-radius: 16px;
}

.hm-seo-intro h1 {
    max-width: 980px;
    margin: 0 0 13px;
    color: var(--hm-ink);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.hm-seo-intro p {
    max-width: 900px;
    margin: 4px 0 0;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.7;
}

.hm-seo-intro p[dir="rtl"] {
    text-align: right;
}

.hm-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 260px;
    padding: 44px 48px;
    margin-bottom: 24px;
    color: #fff;
    background: var(--secondary-dark, #15296b);
    border: 1px solid var(--secondary-dark, #15296b);
    border-radius: 24px;
}

.hm-hero::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border: 48px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.hm-hero__content {
    position: relative;
    z-index: 1;
    max-width: 690px;
}

.hm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #dce6ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hm-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.hm-hero p {
    max-width: 600px;
    margin: 0;
    color: #e4eaff;
    font-size: 16px;
    line-height: 1.7;
}

.hm-primary-btn,
.hm-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.hm-primary-btn {
    border: 1px solid var(--hm-accent);
    background: var(--hm-accent);
    color: #fff;
}

.hm-primary-btn:hover {
    border-color: var(--hm-accent-dark);
    background: var(--hm-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.hm-hero .hm-primary-btn {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-height: 54px;
    padding: 0 24px;
    border-color: #fff;
    background: #fff;
    color: var(--secondary-dark, #15296b);
}

.hm-hero .hm-primary-btn:hover {
    background: var(--secondary-light, #e7f0ff);
    border-color: var(--secondary-light, #e7f0ff);
    color: var(--secondary-dark, #15296b);
}

.hm-secondary-btn {
    border: 1px solid var(--hm-line);
    background: #fff;
    color: var(--hm-ink);
}

.hm-secondary-btn:hover {
    border-color: #cec8c2;
    background: var(--hm-soft);
    color: var(--hm-ink);
}

.hm-filter {
    padding: 20px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(26, 26, 26, .05);
}

.hm-filter__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 750;
}

.hm-label {
    display: block;
    margin-bottom: 7px;
    color: #3d3d3d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.hm-control {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    color: var(--hm-ink);
    background: #fff;
    border: 1px solid #ddd8d2;
    border-radius: 11px;
    outline: none;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.hm-control:focus {
    border-color: var(--hm-accent);
    box-shadow: 0 0 0 4px rgba(200, 57, 26, .11);
}

.hm-control:disabled {
    color: #8a8784;
    background: #f3f1ee;
    cursor: not-allowed;
}

.hm-control.is-invalid {
    border-color: #c83b3b;
}

.hm-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.hm-results-head h2 {
    margin: 0;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.hm-results-count {
    color: var(--hm-muted);
    font-size: 14px;
}

.hm-card {
    height: 100%;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 18px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hm-card:hover {
    transform: translateY(-3px);
    border-color: #d2cac3;
    box-shadow: 0 15px 36px rgba(26, 26, 26, .09);
}

.hm-card__top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.hm-avatar {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--hm-accent-dark);
    background: var(--hm-accent-soft);
    border-radius: 14px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.hm-card h3 {
    margin: 0 0 4px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.hm-location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: var(--hm-muted);
    font-size: 12.5px;
}

.hm-activity {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    margin-bottom: 16px;
    color: var(--hm-accent-dark);
    background: var(--hm-accent-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hm-card__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 0;
    margin-bottom: 16px;
    border-top: 1px solid #efebe7;
    border-bottom: 1px solid #efebe7;
}

.hm-detail small {
    display: block;
    margin-bottom: 4px;
    color: var(--hm-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hm-detail strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.hm-stars {
    color: #d58d0b;
    letter-spacing: 1px;
}

.hm-card__actions {
    display: flex;
    gap: 9px;
}

.hm-card__actions a {
    flex: 1;
    min-height: 42px;
    padding: 0 12px;
}

.hm-empty {
    padding: 64px 24px;
    text-align: center;
    background: #fff;
    border: 1px dashed #cec7c0;
    border-radius: 20px;
}

.hm-empty__icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    place-items: center;
    color: var(--hm-accent);
    background: var(--hm-accent-soft);
    border-radius: 18px;
    font-size: 26px;
}

/* Registration */
.hm-register-hero {
    min-height: 220px;
}

.hm-form-shell {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(26, 26, 26, .06);
}

.hm-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--hm-line);
}

.hm-form-head h2 {
    margin: 0 0 4px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.hm-form-head p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 13px;
}

.hm-required-pill {
    padding: 7px 11px;
    color: #8a5711;
    background: #fff5df;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.hm-form-section {
    padding: 0 0 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid var(--hm-line);
}

.hm-form-section:last-of-type {
    padding-bottom: 0;
    margin-bottom: 22px;
    border-bottom: 0;
}

.hm-form-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 750;
}

.hm-form-section__icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--hm-accent);
    background: var(--hm-accent-soft);
    border-radius: 9px;
}

.hm-field-error {
    margin: 6px 0 0;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

.hm-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--hm-soft);
    border: 1px solid var(--hm-line);
    border-radius: 12px;
}

.hm-confirmation input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--hm-accent);
}

.hm-confirmation label {
    color: #3d3d3d;
    font-size: 13px;
    line-height: 1.7;
}

.hm-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    cursor: pointer;
}

.hm-info-card {
    position: sticky;
    top: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 18px;
}

.hm-info-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--hm-accent);
    background: var(--hm-accent-soft);
    border-radius: 14px;
    font-size: 21px;
}

.hm-info-card h3 {
    margin: 0 0 8px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.hm-info-card p {
    margin: 0 0 20px;
    color: var(--hm-muted);
    font-size: 13px;
    line-height: 1.7;
}

.hm-info-list {
    padding: 18px 0;
    margin: 0 0 20px;
    border-top: 1px solid var(--hm-line);
    border-bottom: 1px solid var(--hm-line);
    list-style: none;
}

.hm-info-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: #444;
    font-size: 13px;
}

.hm-info-list li:last-child {
    margin-bottom: 0;
}

.hm-info-list i {
    color: var(--hm-accent);
}

.hm-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    margin-bottom: 20px;
    color: #185432;
    background: #e7f5eb;
    border: 1px solid #b9dec5;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 600;
}

.hm-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.hm-pagination .archive-pager {
    width: 100%;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .hm-hero {
        align-items: flex-start;
        flex-direction: column;
        min-height: auto;
        padding: 36px;
    }

    .hm-info-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .hm-page {
        padding-top: 16px;
    }

    .hm-pagination .archive-pager {
        gap: 4px;
    }

    .hm-pagination .archive-pager__link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }

    .hm-hero {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .hm-image-hero {
        overflow: visible;
        aspect-ratio: 1024 / 440;
        margin-bottom: 84px;
        background: transparent;
        border-radius: 16px;
    }

    .hm-image-hero img {
        position: absolute;
        display: block;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        border-radius: 16px;
    }

    .hm-image-hero .hm-primary-btn {
        top: calc(100% + 12px);
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        border-color: var(--hm-accent);
        background: var(--hm-accent);
        color: #fff;
        box-shadow: none;
    }

    .hm-image-hero .hm-primary-btn:hover {
        border-color: var(--hm-accent-dark);
        background: var(--hm-accent-dark);
        color: #fff;
    }

    .hm-hero h1 {
        font-size: 34px;
    }

    .hm-hero .hm-primary-btn {
        width: 100%;
    }

    .hm-filter,
    .hm-form-shell {
        padding: 18px;
        border-radius: 15px;
    }

    .hm-seo-intro {
        padding: 20px;
        border-left-width: 3px;
    }

    .hm-seo-intro h1 {
        font-size: 22px;
    }

    .hm-card__details {
        grid-template-columns: 1fr;
    }

    .hm-form-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hm-card__actions {
        flex-direction: column;
    }
}
