/* Albania Real Estate - design 2026: shared components (cards, forms, sections) and home page blocks. */

.ico--fill { fill: currentColor; stroke: none; }
.accent { color: var(--accent); }
.ink { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--sm { height: 44px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 800; }
.btn--field { height: 48px; border-radius: 12px; }
.btn--line { background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; height: 44px; font-size: 14px; }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }

.h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.h2--lg { font-size: 40px; }
.h2--xl { font-size: 42px; line-height: 1.08; }
.h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.kicker .ico { width: 16px; height: 16px; stroke-width: 2; }
.kicker--light { color: #fff; }
.alerts .kicker { color: var(--accent-text); }
.kicker-pill { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; background: var(--accent); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 800; }
.kicker-pill .ico { width: 14px; height: 14px; }
.more-link { font-weight: 700; text-decoration: none; }
.pill { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; min-height: 40px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; max-width: 100%; }
.pill:hover { color: var(--ink); border-color: var(--line-2); }
.pill__badge { background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 9px; font-weight: 700; flex: none; }
.pill__text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.section__inner { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.section__inner--roomy { padding-top: 64px; padding-bottom: 64px; }
.section--lined { border-top: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.section__intro { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.section__intro--tight { gap: 8px; max-width: none; }
.section__lead { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.6; }
.section__actions { display: flex; gap: 8px; }

/* ---------- form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.field select, .field input {
  height: 48px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px;
  font: 500 15px var(--font); color: var(--ink); background: #fff; width: 100%;
}
.field input::placeholder { color: #8a93a3; }
.field select:focus, .field input:focus { border-color: var(--link); outline: 2px solid rgba(0, 102, 255, .2); }
.field--grow { flex: 1 1 220px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 6px; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: var(--accent-hover); font-size: 14px; }

/* ---------- hero ---------- */
.hero__inner { display: flex; flex-direction: column; gap: 28px; padding-top: 48px; padding-bottom: 40px; }
.hero__row { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.hero__title { font-size: 64px; line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
.hero__lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 580px; }
.hero__media { flex: 1 1 460px; min-width: 0; min-height: 440px; border-radius: 28px; overflow: hidden; position: relative; background: #9FC0CB; }
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__card { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 20px; padding: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero__thumb { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; }
.hero__card-text { flex: 1 1 160px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero__card-kicker { font-size: 12px; font-weight: 700; color: var(--accent); }
.hero__card-title { font-weight: 700; }
.hero__card-meta { font-size: 13px; color: var(--muted); }

.search { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: 0 20px 40px rgba(0, 18, 41, .07); display: flex; flex-direction: column; gap: 14px; }
.segmented { align-self: flex-start; display: flex; gap: 4px; background: var(--bg-soft); border-radius: 12px; padding: 4px; }
.segmented button { height: 40px; padding: 0 20px; border-radius: 9px; border: none; cursor: pointer; font: 600 14px var(--font); background: transparent; color: var(--ink); }
.segmented button[aria-selected="true"] { background: var(--ink); color: #fff; font-weight: 700; }
.search__panel { display: flex; flex-direction: column; gap: 14px; }
.search__panel[hidden] { display: none; }
.search__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: end; }
.search__fields--rent { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.chips__label { color: var(--muted); padding: 6px 0; }
.chip { text-decoration: none; background: var(--bg-soft); color: var(--ink); padding: 6px 12px; border-radius: 999px; }
.chip:hover { background: #e6edf2; color: var(--ink); }

/* ---------- property card ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.card__media { height: 250px; position: relative; background: #B9D0D6; display: block; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge, .tag { position: absolute; top: 14px; border-radius: 8px; padding: 5px 10px; font-size: 12px; font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.badge { left: 14px; }
.badge .ico { width: 13px; height: 13px; }
.badge--excl { background: var(--accent); color: #fff; }
.badge--signature { background: var(--signature); color: #fff; }
.badge--soon { background: var(--soon); color: var(--ink); }
.badge--white { background: #fff; color: var(--ink); }
.card__unit { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.tag { right: 14px; background: #fff; color: var(--ink); font-weight: 700; }
.tag--left { left: 10px; right: auto; top: 10px; padding: 4px 8px; border-radius: 7px; }
.tag--sold { background: var(--sold); color: #fff; font-weight: 800; }
.tag--reserved { background: var(--ink); color: #fff; font-weight: 800; }
.card__video { position: absolute; bottom: 12px; left: 14px; display: inline-flex; gap: 6px; align-items: center; background: rgba(0, 18, 41, .78); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.card__video .ico { width: 12px; height: 12px; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card__perk { font-size: 12px; font-weight: 700; color: #17753F; }
.card__perk--media { position: absolute; bottom: 10px; right: 60px; background: #fff; padding: 4px 9px; border-radius: 7px; }
.card__price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card__price > span:first-child { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.card__m2 { font-size: 13px; color: var(--muted); }
.card__title-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card__title { font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }
.card__title:hover { color: var(--accent); }
.card__meta { font-size: 14px; color: var(--muted); }
.card__income { font-size: 14px; font-weight: 600; color: var(--wa); }
.card__cta { margin-top: auto; }
.card--closed .card__media img { filter: grayscale(.6); opacity: .75; }
.card--closed .card__price, .card--closed .card__title { color: var(--muted); }
.share-btn { flex: none; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.share-btn .ico { width: 16px; height: 16px; stroke-width: 2; }
.share-btn:hover { border-color: var(--ink); }
.share-btn.is-done { border-color: var(--wa); color: var(--wa); }

/* card: the photo is a link under the badges and the heart */
.card__media-link { position: absolute; inset: 0; display: block; }
.card__media-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav-btn {
  position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 999px; border: none;
  background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 18, 41, .16); padding: 0;
}
.fav-btn .ico { width: 20px; height: 20px; stroke-width: 2; }
.fav-btn[aria-pressed="true"] { color: var(--accent); }
.fav-btn[aria-pressed="true"] .ico { fill: currentColor; }

/* ---------- mini cards (new this month) ---------- */
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.mini-card { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.mini-card:hover { color: var(--ink); border-color: var(--line-2); }
.mini-card__media { height: 160px; background: #C9D9DE; position: relative; display: block; }
.mini-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.mini-card__price { font-size: 20px; font-weight: 800; }
.mini-card__title { font-weight: 600; font-size: 15px; }
.mini-card__meta { font-size: 13px; color: var(--muted); }

/* ---------- alerts (Bora Selects) ---------- */
.alerts { margin-top: 16px; background: #E9F6F9; border-radius: 28px; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.alerts__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.alerts__text p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.alerts__form { flex: 1 1 520px; min-width: 0; background: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.alerts__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.alerts__submit { display: flex; gap: 10px; flex-wrap: wrap; }
.alerts__submit .btn { font-weight: 800; height: 50px; }
.alerts__submit .field input { height: 50px; }
.channels { border: 0; margin: 0; padding: 0; min-width: 0; }
.channels__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.channel { position: relative; }
.channel input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.channel span { height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); cursor: pointer; }
.channel input:focus-visible + span { outline: 3px solid var(--link); outline-offset: 2px; }
.channel--wa input:checked + span { background: var(--wa); color: #fff; border-color: var(--wa); }
.channel--ms input:checked + span { background: var(--messenger); color: #fff; border-color: var(--messenger); }
.channel--em input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- video viewing ---------- */
.viewing { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.viewing__media { flex: 1 1 440px; min-width: 0; min-height: 360px; border-radius: 28px; background: var(--ink); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.viewing__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.viewing__play { position: relative; width: 76px; height: 76px; border-radius: 999px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.viewing__play .ico { width: 30px; height: 30px; }
a.viewing__play { text-decoration: none; transition: transform .15s; }
a.viewing__play:hover { color: var(--ink); transform: scale(1.06); }
a.viewing__play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.viewing__live { position: absolute; left: 24px; bottom: 24px; right: 24px; width: max-content; max-width: calc(100% - 48px); background: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 10px; display: flex; gap: 8px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: #C0392B; flex: none; }
.viewing__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps__n { width: 36px; height: 36px; flex: none; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps li > span:last-child { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.steps strong { color: var(--ink); font-weight: 800; font-size: 16px; }

/* ---------- guide + valuation ---------- */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; padding-bottom: 72px; }
.bento__card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.bento__card p { margin: 0; line-height: 1.6; }
.bento__card--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.bento__cta { align-self: flex-start; margin-top: auto; }
.link-list { display: flex; flex-direction: column; gap: 10px; }
.link-list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--bg-soft); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; }
.link-list a:hover { background: #e6edf2; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; padding-bottom: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.service:hover { color: var(--ink); border-color: var(--line-2); }
.service__icon { width: 44px; height: 44px; border-radius: 12px; background: #E9F6F9; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.service__icon .ico { width: 22px; height: 22px; stroke-width: 2; }
.service__icon--green { background: #E3F1E8; color: var(--wa); }
.service__icon--soft { background: var(--bg-soft); color: var(--ink); }
.service__title { font-weight: 800; font-size: 18px; }
.service__text { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- watch ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.video { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.video:hover { color: var(--accent); }
.video__media { height: 300px; border-radius: 20px; background: #A9C7D0; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play { position: relative; width: 56px; height: 56px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.video__play .ico { width: 22px; height: 22px; }
.video__kind { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.video__len { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 18, 41, .8); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.video__title { font-weight: 800; line-height: 1.3; }

/* ---------- reviews ---------- */
.rating { font-weight: 700; color: var(--ink); text-decoration: none; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: var(--accent); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.review figcaption { font-size: 14px; color: var(--muted); margin-top: auto; }
.review figcaption strong { color: var(--ink); }

/* ---------- thank-you ---------- */
.thanks { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 720px; }
.thanks p { margin: 0; font-size: 18px; color: var(--muted); line-height: 1.6; }
.thanks__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.thanks .thanks__more { font-size: 15px; }
.thanks__more a { color: var(--accent); text-decoration: none; font-weight: 700; }

@media (max-width: 960px) {
  .hero__inner { padding-top: 20px; gap: 20px; }
  .hero__row { gap: 18px; }
  .hero__text { gap: 14px; }
  .hero__title { font-size: 36px; line-height: 1.04; }
  .hero__lead { font-size: 15px; line-height: 1.55; }
  .hero__media { min-height: 300px; border-radius: 22px; }
  .hero__card { left: 12px; right: 12px; bottom: 12px; padding: 12px; border-radius: 16px; }
  .search { padding: 14px; border-radius: 20px; }
  .segmented { align-self: stretch; }
  .segmented button { flex: 1; padding: 0 10px; }
  .search__fields, .search__fields--rent { grid-template-columns: 1fr 1fr; }
  .search__fields .btn { grid-column: 1 / -1; }
  .h2, .h2--lg, .h2--xl { font-size: 28px; }
  .h3 { font-size: 24px; }
  .section__inner { padding-top: 36px; padding-bottom: 36px; }
  .section__inner--roomy { padding-top: 44px; padding-bottom: 44px; }
  .cards { grid-template-columns: 1fr; }
  .card__media { height: 220px; }
  .alerts { padding: 20px 16px; border-radius: 22px; gap: 18px; }
  .alerts__form { padding: 14px; }
  .alerts__fields { grid-template-columns: 1fr 1fr; }
  .alerts__fields .field:first-child { grid-column: 1 / -1; }
  .alerts__submit .btn { flex: 1 1 100%; }
  .viewing { padding-top: 44px; padding-bottom: 44px; gap: 24px; }
  .viewing__media { min-height: 240px; border-radius: 22px; }
  .bento { grid-template-columns: 1fr; padding-bottom: 44px; }
  .bento__card { padding: 22px; border-radius: 22px; }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video__media { height: 220px; }
  .thanks { padding-top: 56px; padding-bottom: 56px; }
}
.video__media--reel { background: #C9BFA9; }
.video__media--market { background: #001229; }
.video__media--life { background: #B5C7B8; }

/* mini card: price / title + share / meta (phone: price + share / meta) */
.mini-card__body { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "price price" "title share" "meta meta"; column-gap: 8px; row-gap: 4px; align-items: center; }
.mini-card__price { grid-area: price; }
.mini-card__title { grid-area: title; color: var(--ink); text-decoration: none; }
.mini-card__title:hover { color: var(--accent); }
.mini-card__share { grid-area: share; width: 32px; height: 32px; }
.mini-card__meta { grid-area: meta; }

/* ---------- phone texts: the maket has shorter copies on the phone ---------- */
.m-only { display: none !important; }

/* ---------- phone layout of the maket Home-Mobile (390 px) ---------- */
@media (max-width: 960px) {
  .d-only { display: none !important; }
  .m-only { display: revert !important; }

  /* horizontal rails instead of stacked cards */
  .cards--rail {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .cards--rail::-webkit-scrollbar { display: none; }
  .cards--rail > * { scroll-snap-align: start; min-width: 0; }
  .mini-cards.cards--rail { grid-auto-columns: 46%; }
  .videos.cards--rail { grid-auto-columns: 40%; }

  .hero__media { min-height: 220px; }
  .hero__thumb, .hero__card-meta { display: none; }
  .hero__card { flex-wrap: nowrap; padding: 10px 10px 10px 14px; }
  .hero__card-title { font-size: 15px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * 14px); }
  .chips::-webkit-scrollbar { display: none; }
  .chips__label { display: none; }
  .chip { white-space: nowrap; padding: 8px 12px; border: 1px solid var(--line); background: #fff; }

  .section__head { flex-wrap: nowrap; gap: 12px; }
  .section__intro { min-width: 0; flex: 1; }
  .section__lead { font-size: 14px; }
  .more-link { white-space: nowrap; font-size: 15px; }
  .kicker-pill { font-size: 12px; padding: 5px 10px; }
  .card__body { padding: 14px 14px 16px; gap: 8px; }
  .card__price > span:first-child { font-size: 22px; }
  .card__media { height: 170px; }
  .tag:not(.tag--left):not(.tag--sold):not(.tag--reserved) { display: none; }

  .mini-card { border-radius: 16px; position: relative; }  /* the hidden title below stays inside its card and the rail, not widening the page */
  .mini-card__media { height: 100px; }
  .mini-card__body { padding: 10px 12px 12px; grid-template-areas: "price share" "meta meta"; }
  /* Home-Mobile has no title on the card, but the title stays the card's link for the keyboard and screen readers
     (the photo link is hidden from them): out of sight, the whole card is outlined when it has the focus */
  .mini-cards:not(.similar__cards) .mini-card__title {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; grid-area: auto;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .mini-card:has(.mini-card__title:focus-visible) { outline: 3px solid var(--link); outline-offset: 2px; }
  .mini-card__price { font-size: 17px; }
  .mini-card__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
  .mini-card .tag--left { font-size: 12px; }

  .alerts { flex-direction: column; align-items: stretch; margin-top: 8px; }
  .alerts__text { flex: none; }
  .alerts__text p { font-size: 14px; }
  .alerts__form { flex: none; background: transparent; padding: 0; gap: 12px; }
  .alerts__fields { grid-template-columns: 1fr 1fr; }
  .alerts__fields .field:first-child { grid-column: auto; }
  .channels .field-label { display: none; }
  .alerts__submit { flex-direction: column; }
  .alerts__submit .field--grow { flex: none; }

  .viewing { flex-direction: column; align-items: stretch; gap: 16px; }
  .viewing__media { flex: none; min-height: 190px; border-radius: 18px; }
  .viewing__play { width: 58px; height: 58px; }
  .viewing__live { left: 12px; bottom: 12px; font-size: 12px; padding: 5px 8px; }
  /* phone: the one heading goes above the photo (as in Home-Mobile) without a second copy in the page */
  .viewing__text { display: contents; }
  .viewing__title { order: -1; }
  .steps li > span:last-child { font-size: 13px; }
  .steps strong { font-size: 15px; }
  .steps__n { width: 28px; height: 28px; font-size: 14px; }
  .viewing__cta { align-self: stretch; height: 48px; border-radius: 12px; }

  .bento { gap: 14px; }
  .bento__card .h3 { font-size: 20px; }
  .alerts .h3 { font-size: 21px; line-height: 1.2; }
  .bento__card p { font-size: 14px; }
  .link-list a { padding: 12px 14px; font-size: 14px; }
  .bento__cta { align-self: stretch; height: 46px; border-radius: 12px; }

  .services { grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 8px; }
  .service { padding: 14px; border-radius: 16px; gap: 4px; }
  .service__icon { display: none; }
  .service__title { font-size: 14px; }
  .service__text { font-size: 12px; line-height: 1.4; }

  .video__kind { display: none; }
  .video__media { height: 230px; border-radius: 16px; }
  .video__title { font-size: 14px; }

  .review { background: var(--bg-soft); border: 0; padding: 18px; gap: 10px; }
  /* maket Home-Mobile: every section 28px top, 0 bottom, gap 12px */
  .section__inner, .section__inner--roomy { padding-top: 28px; padding-bottom: 0; gap: 12px; }
  main > .section:last-child .section__inner { padding-bottom: 28px; }
  .section--lined { border-top: 0; }
  .hero__inner { padding-bottom: 12px; }
  .viewing { padding-top: 28px; padding-bottom: 0; }
  .bento { padding-top: 28px; padding-bottom: 0; gap: 12px; }
  .alerts__submit .btn { flex: none; width: 100%; }
  .card__title { font-size: 16px; }
  .card__meta { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .review blockquote { font-size: 15px; }
  .rating { font-size: 13px; font-weight: 500; color: var(--muted); }
}

/* breadcrumbs and the light kicker: catalog, property and owner pages */
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.kicker--soft { color: var(--soon); }
@media (max-width: 960px) { .crumbs { font-size: 13px; } }

/* page bottom bar on phone: main action + Messenger + call (Sell, Rent with us, Blog, About) */
.owner-bar { display: none; }
@media (max-width: 960px) {
  .owner-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(0, 18, 41, .08);
  }
  .owner-bar a { height: 50px; border-radius: 14px; display: flex; gap: 8px; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; text-decoration: none; }
  .owner-bar .ico { width: 18px; height: 18px; }
  .owner-bar__wa { flex: 1; background: var(--wa); color: #fff; }
  .owner-bar__wa:hover { color: #fff; }
  .owner-bar__ms { width: 50px; flex: none; background: var(--messenger); color: #fff; }
  .owner-bar__call { flex: 0 0 auto; padding: 0 18px; border: 1px solid var(--line-2); color: var(--ink); background: #fff; }
}

/* Privacy policy and terms (text from the admin, plain text split into headings, paragraphs and lists) */
.legal { max-width: 800px; padding-top: 40px; padding-bottom: 96px; }
.legal__title { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 32px; }
.legal h2 { font-size: 22px; line-height: 1.3; font-weight: 800; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--ink-2, var(--ink)); overflow-wrap: anywhere; }
.legal h2 { overflow-wrap: anywhere; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal a { color: var(--accent); }
@media (max-width: 760px) {
  .legal { padding-top: 20px; padding-bottom: 64px; }
  .legal__title { font-size: 30px; margin-bottom: 24px; }
  .legal h2 { font-size: 19px; margin-top: 28px; }
  .legal p, .legal li { font-size: 16px; }
}

/* Cookie banner (only when a Google Analytics ID is set in the settings): a small card in the site style */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 60; width: 360px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0, 18, 41, .16);
  padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: start; }
.cookie[hidden] { display: none; }
.cookie__icon { width: 32px; height: 32px; border-radius: 10px; background: var(--bg-soft); color: var(--ink);
  display: flex; align-items: center; justify-content: center; }
.cookie__icon .ico { width: 18px; height: 18px; }
.cookie__text { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cookie__text a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie__btns .btn { justify-content: center; min-height: 38px; padding-top: 8px; padding-bottom: 8px; font-size: 14px; }
.footer__cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 960px) {
  /* above the bottom bar of the page (its height is put into --cookie-lift by site.js) */
  .cookie { left: 12px; right: 12px; width: auto; bottom: calc(12px + var(--cookie-lift, 0px)); padding: 12px 14px; }
}
