/*
Theme Name: Hafen & Hain DEMO Makler
Theme URI: https://connect.maklerkit.de/
Author: MaklerKit Demo
Description: Eigenständiges, klar gekennzeichnetes Demo-Theme für MaklerKit Connect mit ausschließlich erfundenen Platzhalterdaten.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hafen-hain-demo
License: GPL-2.0-or-later
*/

@font-face {
    font-family: "HH Geist";
    src: url("assets/fonts/geist-sans-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --hh-paper: #fbfaf7;
    --hh-white: #ffffff;
    --hh-ink: #0b2742;
    --hh-ink-soft: #2d4052;
    --hh-sage: #708071;
    --hh-copper: #b96e49;
    --hh-line: rgba(11, 39, 66, 0.2);
    --hh-line-light: rgba(255, 255, 255, 0.28);
    --hh-serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Palatino, Georgia, serif;
    --hh-sans: "HH Geist", "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
    --hh-shell: min(100% - 48px, 1480px);
    --hh-copy: 720px;
    --hh-section: clamp(72px, 9vw, 140px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--hh-ink);
    background: var(--hh-paper);
    font-family: var(--hh-sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .hh-site-header {
    top: 32px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

button,
input,
select,
textarea {
    color: var(--hh-ink);
    font: 500 0.94rem/1.25 var(--hh-sans);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--hh-copper);
    outline-offset: 4px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hh-shell {
    width: var(--hh-shell);
    margin-inline: auto;
}

.hh-prose {
    max-width: var(--hh-copy);
}

.hh-display,
h1,
h2,
h3 {
    margin-block: 0;
    font-family: var(--hh-serif);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 7.2rem);
}

h2 {
    font-size: clamp(2.35rem, 4.6vw, 5rem);
}

h3 {
    font-size: clamp(1.45rem, 2vw, 2.15rem);
}

p {
    margin-block: 0 1.3em;
}

.hh-kicker {
    color: var(--hh-sage);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hh-rule-heading::after {
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 26px;
    background: var(--hh-copper);
    content: "";
}

.hh-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border: 1px solid var(--hh-ink);
    border-radius: 2px;
    background: transparent;
    color: var(--hh-ink);
    font-family: var(--hh-serif);
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hh-button:hover {
    transform: translateY(-2px);
}

.hh-button--primary {
    background: var(--hh-ink);
    color: var(--hh-white);
}

.hh-button--primary:hover {
    background: #153b5e;
}

.hh-button--copper {
    border-color: var(--hh-copper);
    color: #e7a17e;
}

.hh-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--hh-copper);
    text-decoration: none;
}

.hh-arrow {
    width: 18px;
    height: 18px;
    transition: transform 180ms ease;
}

a:hover .hh-arrow {
    transform: translateX(4px);
}

/* Header */
.hh-demo-banner {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--hh-white);
    background: var(--hh-ink);
}

.hh-demo-banner__inner {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-block: 10px;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.35;
}

.hh-demo-banner strong {
    flex: 0 0 auto;
    padding: 4px 8px;
    border: 1px solid var(--hh-copper);
    color: #ffd8c3;
    letter-spacing: 0.12em;
}

.hh-site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(11, 39, 66, 0.08);
    background: rgba(255, 255, 255, 0.97);
}

.hh-header-inner {
    display: flex;
    min-height: 108px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hh-brand {
    display: inline-grid;
    color: var(--hh-ink);
    text-align: center;
    text-decoration: none;
}

.hh-brand__main {
    font-family: var(--hh-serif);
    font-size: clamp(1.5rem, 2.2vw, 2.25rem);
    letter-spacing: 0.08em;
    line-height: 1;
}

.hh-brand__sub {
    margin-top: 8px;
    font-size: 0.6rem;
    font-weight: 550;
    letter-spacing: 0.42em;
    line-height: 1;
}

.hh-nav-list,
.hh-nav-list ul {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 58px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.hh-nav-list a {
    position: relative;
    padding-block: 12px;
    font-family: var(--hh-serif);
    font-size: 1.02rem;
    text-decoration: none;
}

.hh-nav-list a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: var(--hh-copper);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.hh-nav-list a:hover::after,
.hh-nav-list .current-menu-item > a::after,
.hh-nav-list .current_page_item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hh-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--hh-line);
    border-radius: 2px;
    background: transparent;
}

.hh-menu-toggle > span[aria-hidden],
.hh-menu-toggle::before,
.hh-menu-toggle::after {
    display: block;
    width: 22px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
    content: "";
}

/* Hero */
.hh-hero {
    display: grid;
    min-height: min(780px, calc(100vh - 108px));
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.hh-hero__copy {
    display: flex;
    align-items: center;
    padding: clamp(60px, 8vw, 150px) clamp(32px, 5vw, 96px);
}

.hh-hero__copy-inner {
    max-width: 650px;
}

.hh-hero__copy h1 {
    max-width: 14ch;
    font-size: clamp(3.2rem, 5.7vw, 5.6rem);
}

.hh-hero__copy p {
    max-width: 570px;
    margin-top: 36px;
    color: var(--hh-ink-soft);
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    line-height: 1.55;
}

.hh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 42px;
}

.hh-hero__media {
    min-height: 580px;
    overflow: hidden;
}

.hh-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Homepage property rail */
.hh-featured {
    padding-block: var(--hh-section);
}

.hh-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: clamp(42px, 6vw, 76px);
}

.hh-section-head h2 {
    font-size: clamp(2.4rem, 4vw, 4.5rem);
}

.hh-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2.8vw, 46px);
}

.hh-property-card {
    min-width: 0;
}

.hh-property-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px;
    background: #e8e7e3;
}

.hh-property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.hh-property-card:hover .hh-property-card__media img {
    transform: scale(1.025);
}

.hh-property-card__body {
    padding-top: 22px;
}

.hh-property-card__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.hh-property-card h3 {
    font-size: clamp(1.45rem, 2vw, 2.1rem);
}

.hh-property-card h3 a {
    text-decoration: none;
}

.hh-property-card__location {
    margin: 8px 0 0;
    color: var(--hh-ink-soft);
    font-size: 0.92rem;
}

.hh-property-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 15px;
    color: var(--hh-ink-soft);
    font-size: 0.82rem;
}

.hh-property-card__facts span + span::before {
    margin-right: 12px;
    color: var(--hh-copper);
    content: "·";
}

/* Editorial seller section */
.hh-editorial {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    background: var(--hh-white);
}

.hh-editorial__copy {
    display: flex;
    align-items: center;
    padding: clamp(64px, 7vw, 130px);
}

.hh-editorial__copy-inner {
    max-width: 560px;
}

.hh-editorial__copy p {
    margin-top: 34px;
    color: var(--hh-ink-soft);
}

.hh-editorial__copy h2 {
    font-size: clamp(2.35rem, 3.8vw, 4.4rem);
}

.hh-service-links {
    display: grid;
    margin-top: 32px;
}

.hh-service-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 11px;
    border-bottom: 1px solid var(--hh-copper);
    font-family: var(--hh-serif);
    text-decoration: none;
}

.hh-editorial__media {
    min-height: 650px;
}

.hh-editorial__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hh-testimonial {
    padding: clamp(72px, 9vw, 130px) 24px;
    text-align: center;
}

.hh-testimonial blockquote {
    max-width: 930px;
    margin: 0 auto;
    font-family: var(--hh-serif);
    font-size: clamp(1.7rem, 3vw, 3.2rem);
    line-height: 1.22;
}

.hh-testimonial blockquote::after {
    display: block;
    width: 64px;
    height: 2px;
    margin: 32px auto 22px;
    background: var(--hh-copper);
    content: "";
}

.hh-testimonial cite {
    font-family: var(--hh-serif);
    font-style: normal;
}

/* Generic page hero */
.hh-page-hero {
    padding-block: clamp(72px, 9vw, 138px) clamp(60px, 7vw, 104px);
    border-bottom: 1px solid var(--hh-line);
}

.hh-page-hero h1 {
    max-width: 15ch;
    font-size: clamp(3.2rem, 6vw, 6.3rem);
}

.hh-page-hero p {
    max-width: 760px;
    margin-top: 28px;
    color: var(--hh-ink-soft);
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

.hh-page-hero--portfolio {
    padding-block: clamp(56px, 6vw, 86px) clamp(44px, 5vw, 72px);
}

.hh-page-hero--portfolio h1 {
    max-width: none;
    font-size: clamp(3rem, 4.5vw, 4.7rem);
}

.hh-content-section {
    padding-block: var(--hh-section);
}

.hh-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 8vw, 140px);
}

.hh-content-grid__body {
    color: var(--hh-ink-soft);
}

.hh-process {
    border-top: 1px solid var(--hh-line);
}

.hh-process__item {
    display: grid;
    grid-template-columns: 80px minmax(0, 0.65fr) minmax(0, 1fr);
    gap: 30px;
    padding-block: 36px;
    border-bottom: 1px solid var(--hh-line);
}

.hh-process__number {
    color: var(--hh-copper);
    font-family: var(--hh-serif);
    font-size: 1.25rem;
}

.hh-process__item p {
    margin: 0;
    color: var(--hh-ink-soft);
}

.hh-media-band {
    min-height: 520px;
    overflow: hidden;
}

.hh-media-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Forms */
.hh-form {
    display: grid;
    gap: 22px;
}

.hh-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.hh-form label {
    display: grid;
    gap: 8px;
    color: var(--hh-ink-soft);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hh-form input,
.hh-form textarea,
.hh-form select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--hh-line);
    border-radius: 2px;
    background: var(--hh-white);
}

.hh-form textarea {
    min-height: 150px;
    resize: vertical;
}

.hh-form__consent {
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    font-weight: 400 !important;
}

.hh-form__consent input {
    min-height: 0;
    margin-top: 4px;
}

.hh-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.hh-form-message {
    padding: 14px 18px;
    border-left: 2px solid var(--hh-sage);
    background: rgba(112, 128, 113, 0.08);
}

.hh-demo-form-notice {
    padding: 14px 18px;
    border-left: 3px solid var(--hh-copper);
    background: rgba(185, 110, 73, 0.08);
    color: var(--hh-ink-soft);
    font-size: 0.88rem;
}

.hh-contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(48px, 9vw, 150px);
}

.hh-contact-details {
    display: grid;
    align-content: start;
    gap: 28px;
}

.hh-contact-details a {
    text-decoration: none;
}

/* Portfolio / MaklerKit listing integration */
.hh-portfolio {
    padding-bottom: var(--hh-section);
}

.hh-portfolio .r2oi-wrap {
    --r2oi-primary: var(--hh-ink);
    --r2oi-primary-h: #163f64;
    --r2oi-primary-soft: #eef1ef;
    --r2oi-primary-border: #cfd8d1;
    --r2oi-primary-ink: var(--hh-ink);
    --r2oi-primary-shadow: rgba(11, 39, 66, 0.14);
    --r2oi-text: var(--hh-ink);
    --r2oi-muted: #65717b;
    --r2oi-border: rgba(11, 39, 66, 0.18);
    --r2oi-bg: var(--hh-paper);
    --r2oi-white: var(--hh-white);
    --r2oi-radius: 3px;
    --r2oi-shadow: 0 1px 2px rgba(11, 39, 66, 0.06), 0 8px 24px rgba(11, 39, 66, 0.06);
    --r2oi-shadow-h: 0 4px 10px rgba(11, 39, 66, 0.1), 0 14px 36px rgba(11, 39, 66, 0.1);
    --r2oi-listing-cols: 3;
    --r2oi-card-image-ratio: 4 / 3;
    --r2oi-card-image-fit: cover;
    max-width: none;
    padding: 0;
}

.hh-portfolio .r2oi-filter-wrap {
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 3px;
    box-shadow: none;
}

.hh-portfolio .r2oi-filter-form label {
    color: var(--hh-ink-soft);
    font: 600 0.78rem/1.2 var(--hh-sans);
}

.hh-portfolio .r2oi-filter-form select,
.hh-portfolio .r2oi-filter-form input {
    min-height: 44px;
    border: 1px solid var(--hh-line);
    border-radius: 3px;
    background-color: var(--hh-white);
    box-shadow: none;
    font-size: 0.9rem;
}

.hh-portfolio .r2oi-btn {
    border-radius: 3px;
    font-family: var(--hh-sans);
}

.hh-portfolio .r2oi-toolbar {
    margin-bottom: 18px;
}

.hh-portfolio .r2oi-count {
    font: 500 0.88rem/1.2 var(--hh-sans);
}

.hh-portfolio .r2oi-card__title {
    font-family: var(--hh-serif);
    font-weight: 400;
    letter-spacing: -0.015em;
}

.hh-featured .r2oi-wrap {
    --r2oi-primary: var(--hh-ink);
    --r2oi-primary-h: #163f64;
    --r2oi-primary-soft: #eef1ef;
    --r2oi-primary-border: #cfd8d1;
    --r2oi-primary-ink: var(--hh-ink);
    --r2oi-text: var(--hh-ink);
    --r2oi-muted: #65717b;
    --r2oi-border: rgba(11, 39, 66, 0.18);
    --r2oi-bg: var(--hh-paper);
    --r2oi-white: var(--hh-white);
    --r2oi-radius: 3px;
    --r2oi-listing-cols: 3;
    --r2oi-card-image-ratio: 4 / 3;
    --r2oi-card-image-fit: cover;
}

.hh-featured .r2oi-filter-wrap,
.hh-featured .r2oi-toolbar,
.hh-featured .r2oi-pagination,
.hh-featured .r2oi-load-more {
    display: none !important;
}

.hh-featured .r2oi-card__title {
    font-family: var(--hh-serif);
    font-weight: 400;
}

.hh-integration-note {
    padding: 28px;
    border: 1px solid var(--hh-line);
    background: var(--hh-white);
}

/* Property detail theme template */
.hh-property-single {
    padding-bottom: var(--hh-section);
}

.hh-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-block: 28px;
    color: var(--hh-ink-soft);
    font-size: 0.78rem;
}

.hh-breadcrumbs a {
    text-decoration: none;
}

.hh-property-hero {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    min-height: 690px;
    background: var(--hh-white);
}

.hh-property-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(46px, 6vw, 95px);
}

.hh-property-hero__copy h1 {
    font-size: clamp(3rem, 4.5vw, 5rem);
}

.hh-property-hero__location {
    margin-top: 22px;
    color: var(--hh-ink-soft);
}

.hh-property-hero__price {
    margin-top: 45px;
    padding-top: 28px;
    border-top: 2px solid var(--hh-copper);
    font: 400 clamp(2rem, 3.5vw, 3.8rem)/1 var(--hh-serif);
}

.hh-property-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 42px;
    border-top: 1px solid var(--hh-line);
}

.hh-property-fact {
    padding: 18px 10px 0;
    border-right: 1px solid var(--hh-line);
}

.hh-property-fact:first-child {
    padding-left: 0;
}

.hh-property-fact:last-child {
    padding-right: 0;
    border-right: 0;
}

.hh-property-fact strong {
    display: block;
    font-family: var(--hh-serif);
    font-size: 1.1rem;
    font-weight: 400;
}

.hh-property-fact span {
    color: var(--hh-ink-soft);
    font-size: 0.74rem;
}

.hh-property-hero__media {
    min-height: 690px;
    overflow: hidden;
}

.hh-property-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hh-property-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: clamp(48px, 7vw, 110px);
    padding-top: var(--hh-section);
}

.hh-property-copy-section {
    padding-bottom: 52px;
    margin-bottom: 52px;
    border-bottom: 1px solid var(--hh-line);
}

.hh-property-copy-section h2 {
    margin-bottom: 26px;
    font-size: clamp(2.1rem, 3vw, 3.5rem);
}

.hh-property-copy-section .hh-prose,
.hh-property-copy-section p {
    color: var(--hh-ink-soft);
}

.hh-property-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 54px;
}

.hh-property-gallery button {
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
}

.hh-property-gallery img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hh-amenities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 30px;
    padding: 0;
    list-style: none;
}

.hh-amenities li {
    position: relative;
    padding-left: 18px;
    color: var(--hh-ink-soft);
}

.hh-amenities li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 1px;
    background: var(--hh-copper);
    content: "";
}

.hh-detail-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--hh-ink-soft);
    font-size: 0.9rem;
}

.hh-detail-table td {
    padding: 11px 0;
    border-bottom: 1px solid var(--hh-line);
}

.hh-detail-table td:last-child {
    color: var(--hh-ink);
    text-align: right;
}

.hh-inquiry-card {
    position: sticky;
    top: 28px;
    padding: clamp(28px, 3.5vw, 48px);
    border: 1px solid var(--hh-line);
    background: var(--hh-white);
}

.hh-inquiry-card h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.hh-inquiry-card > p {
    color: var(--hh-ink-soft);
    font-size: 0.92rem;
}

/* CTA and footer */
.hh-site-footer {
    color: rgba(255, 255, 255, 0.82);
    background: var(--hh-ink);
}

.hh-footer-cta {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr auto;
    align-items: center;
    gap: clamp(34px, 6vw, 100px);
    padding-block: 44px;
    border-bottom: 1px solid var(--hh-line-light);
}

.hh-footer-cta h2 {
    max-width: 12ch;
    color: var(--hh-white);
    font-size: clamp(2rem, 3.3vw, 3.5rem);
}

.hh-footer-cta p {
    max-width: 520px;
    margin: 0;
}

.hh-footer-main {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 50px;
    padding-block: 50px;
}

.hh-footer-main .hh-brand {
    justify-content: start;
    color: var(--hh-white);
}

.hh-footer-main h3 {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.56);
    font-family: var(--hh-sans);
    font-size: 0.68rem;
    font-weight: 620;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hh-footer-main ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.hh-footer-main a {
    text-decoration: none;
}

.hh-footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px;
    border-top: 1px solid var(--hh-line-light);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
}

.hh-footer-legal nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* Generic WordPress content */
.hh-default-page {
    padding-block: var(--hh-section);
}

.hh-default-page__content {
    max-width: 850px;
}

.hh-default-page__content > * + * {
    margin-top: 1.3em;
}

.hh-not-found {
    min-height: 60vh;
    display: grid;
    place-items: center;
    padding-block: var(--hh-section);
    text-align: center;
}

/* Responsive */
@media (max-width: 1180px) {
    .hh-property-grid {
        gap: 22px;
    }

    .hh-portfolio .r2oi-wrap .r2oi-grid.r2oi-ansicht-grid,
    .hh-featured .r2oi-wrap .r2oi-grid.r2oi-ansicht-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hh-footer-main {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }

    .hh-footer-main > :last-child {
        grid-column: 2;
    }
}

@media (max-width: 920px) {
    :root {
        --hh-shell: min(100% - 32px, 1480px);
    }

    body.admin-bar .hh-site-header {
        top: 46px;
    }

    .hh-header-inner {
        min-height: 82px;
    }

    .hh-menu-toggle {
        display: block;
    }

    .hh-primary-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 14px 16px 28px;
        border-bottom: 1px solid var(--hh-line);
        background: var(--hh-white);
    }

    .hh-primary-nav.is-open {
        display: block;
    }

    .hh-nav-list,
    .hh-nav-list ul {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .hh-nav-list a {
        display: block;
        padding: 13px 4px;
        border-bottom: 1px solid var(--hh-line);
    }

    .hh-hero,
    .hh-editorial,
    .hh-property-hero {
        grid-template-columns: 1fr;
    }

    .hh-hero__copy {
        padding: 76px 24px;
    }

    .hh-hero__media {
        min-height: 58vw;
    }

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

    .hh-property-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 11px);
    }

    .hh-editorial__media {
        min-height: 62vw;
        grid-row: 1;
    }

    .hh-content-grid,
    .hh-contact-grid,
    .hh-property-body {
        grid-template-columns: 1fr;
    }

    .hh-process__item {
        grid-template-columns: 50px 1fr;
    }

    .hh-process__item p {
        grid-column: 2;
    }

    .hh-property-hero__media {
        min-height: 66vw;
        grid-row: 1;
    }

    .hh-inquiry-card {
        position: static;
    }

    .hh-footer-cta,
    .hh-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .hh-footer-cta .hh-button {
        justify-self: start;
    }

    .hh-footer-main > :last-child {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .hh-demo-banner__inner {
        flex-direction: column;
        gap: 8px;
        padding-block: 12px;
    }

    body {
        font-size: 16px;
    }

    .hh-brand__main {
        font-size: 1.26rem;
    }

    .hh-brand__sub {
        font-size: 0.5rem;
    }

    .hh-section-head {
        align-items: start;
        flex-direction: column;
    }

    .hh-hero__actions,
    .hh-form__grid {
        grid-template-columns: 1fr;
    }

    .hh-hero__actions {
        display: grid;
    }

    .hh-button {
        width: 100%;
    }

    .hh-property-grid {
        grid-template-columns: 1fr;
    }

    .hh-property-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .hh-property-card__media {
        aspect-ratio: 4 / 3;
    }

    .hh-editorial__copy {
        padding: 64px 24px;
    }

    .hh-page-hero {
        padding-top: 58px;
    }

    .hh-process__item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hh-process__item p {
        grid-column: auto;
    }

    .hh-portfolio .r2oi-wrap .r2oi-grid.r2oi-ansicht-grid,
    .hh-featured .r2oi-wrap .r2oi-grid.r2oi-ansicht-grid {
        grid-template-columns: 1fr;
    }

    .hh-property-hero__copy {
        padding: 48px 24px 64px;
    }

    .hh-property-facts,
    .hh-property-gallery,
    .hh-amenities {
        grid-template-columns: 1fr;
    }

    .hh-property-fact {
        padding-inline: 0;
        border-right: 0;
    }

    .hh-property-gallery img {
        aspect-ratio: 4 / 3;
    }

    .hh-footer-cta,
    .hh-footer-main {
        grid-template-columns: 1fr;
    }

    .hh-footer-legal {
        align-items: start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
