/* Generated pages: a contemporary Berlin field guide.
   Loaded after landing.css. The shell owns color/chrome; blog-editorial.css
   owns the blog layout. Dedicated guide/about compositions keep their layout. */
.seo-shell {
  --fh-ink: #17211f;
  --fh-mist: #ffffff;
  --fh-surface: #ffffff;
  --fh-blue: #176457;
  --fh-blue-hover: #104d43;
  --fh-blue-soft: #dfeee7;
  --fh-blue-muted: #edf5f0;
  --fh-blue-light: #176457;
  --fh-teal: #176457;
  --fh-teal-hover: #104d43;
  --fh-muted: #5e6d68;
  --fh-muted-2: #65736e;
  --fh-border: #dfe7e2;
  --fh-border-soft: #e9eeeb;
  --seo-surface-subtle: #f4f7f5;
  --primary: var(--fh-blue);
  --primary-dark: var(--fh-blue-hover);
  --primary-light: var(--fh-blue-soft);
  --primary-lighter: var(--seo-surface-subtle);
  --text-primary: var(--fh-ink);
  --text-secondary: var(--fh-muted);
  --text-muted: var(--fh-muted-2);
  --bg-white: #ffffff;
  --bg-light: var(--seo-surface-subtle);
  --bg-section: var(--seo-surface-subtle);
  --border-light: var(--fh-border);
  --border-lighter: var(--fh-border-soft);
  --color-primary: var(--fh-blue);
  --color-primary-hover: var(--fh-blue-hover);
  --color-primary-light: var(--fh-blue-soft);
  --color-primary-dark: var(--fh-blue-hover);
  --color-secondary: var(--fh-muted);
  --color-bg: #ffffff;
  --color-bg-elevated: #ffffff;
  --color-text-primary: var(--fh-ink);
  --color-text-secondary: var(--fh-muted);
  --color-text-muted: var(--fh-muted-2);
  --color-border: var(--fh-border);
  --bs-primary: #176457;
  --bs-primary-rgb: 23, 100, 87;
  --bs-link-color: #176457;
  --bs-link-color-rgb: 23, 100, 87;
  --bs-link-hover-color: #104d43;
  --bs-link-hover-color-rgb: 16, 77, 67;
  --bs-body-color: #17211f;
  --bs-body-bg: #ffffff;
  --bs-border-color: #dfe7e2;
  --shadow-primary: none;
  --fh-cookie-primary: var(--fh-blue);
  --fh-cookie-primary-hover: var(--fh-blue-hover);
  --fh-cookie-bg: var(--fh-surface);
  --fh-cookie-text: var(--fh-ink);
  --fh-cookie-text-secondary: var(--fh-muted);
  --fh-cookie-text-muted: var(--fh-muted-2);
  --fh-cookie-border: var(--fh-border);
  --fh-cookie-radius: 8px;
  --fh-cookie-radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 31, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 33, 31, 0.07);
  --header-height: 4.5rem;
  background: #ffffff;
  color: var(--fh-ink);
  font-family: var(--fh-font-body);
}

.seo-shell :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--fh-blue);
  outline-offset: 4px;
}

/* Compact shared navigation, with the existing logo asset. */
.seo-shell .landing-nav {
  min-height: var(--header-height);
  padding: 0.75rem 0;
  background: #ffffff;
  border-top: 0;
  border-bottom: 1px solid var(--fh-border);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.seo-shell .landing-nav__content {
  max-width: 1184px;
  padding-inline: 1.5rem;
}

.seo-shell .landing-nav__logo {
  gap: 0.6rem;
  font-size: 1.2rem;
}

.seo-shell .landing-nav__logo-text :is(.text-primary, .text-muted) {
  color: var(--fh-ink) !important;
}

.seo-shell .landing-nav__links {
  gap: 1.25rem;
  font-size: 0.875rem;
}

.seo-shell .landing-nav__actions {
  font-size: 0.875rem;
}

.seo-shell .landing-nav__link {
  padding-block: 0.5rem;
}

.seo-shell .landing-nav__menu-btn,
.seo-shell .landing-nav__mobile-menu__close {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.seo-shell .landing-layout__main {
  padding-top: var(--header-height);
}

.seo-shell .btn {
  border-radius: 8px;
  min-height: 44px;
  box-shadow: none;
}

.seo-shell .btn-primary {
  background: var(--fh-blue);
  border-color: var(--fh-blue);
  color: #ffffff !important;
}

.seo-shell .btn-primary:hover {
  background: var(--fh-blue-hover);
  border-color: var(--fh-blue-hover);
  transform: none;
}

.seo-shell .landing-nav__actions .btn-primary {
  background: var(--fh-ink);
  border-color: var(--fh-ink);
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
}

.seo-shell .landing-nav__actions .btn-primary:hover {
  background: var(--fh-blue-hover);
  border-color: var(--fh-blue-hover);
}

.seo-shell .btn-outline-primary {
  border-color: var(--fh-border);
  background: #ffffff;
}

.seo-shell .btn-outline-primary:hover {
  background: var(--seo-surface-subtle);
  border-color: var(--fh-blue);
  box-shadow: none;
  transform: none;
}

.seo-shell .seo-page {
  background: #ffffff;
}

/* Existing long-guide composition: color changes only. */
.seo-shell .housing-guide {
  --hg-paper: var(--seo-surface-subtle);
}

.seo-shell :is(.housing-guide__badge, .housing-guide__find-flat-badge) {
  background: var(--fh-blue-muted);
}

.seo-shell .housing-guide__card--soft {
  border-color: var(--fh-border);
}

.seo-shell .housing-guide__n-link {
  border-bottom-color: #afc4b9;
}

.seo-shell .seo-breadcrumbs-bar {
  border-bottom: 0;
  padding-block: 1rem 0.25rem;
  background: #ffffff;
}

.seo-shell .seo-breadcrumbs-bar > .container {
  max-width: 1184px;
  padding-inline: 1.5rem;
}

.seo-shell .seo-breadcrumbs__list {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.seo-shell .seo-breadcrumbs__item a {
  color: var(--fh-muted);
}

.seo-shell .seo-breadcrumbs__item a:hover {
  color: var(--fh-blue);
}

.seo-shell .seo-page-wrap {
  padding-inline: 1.5rem;
}

.seo-shell :is(.seo-page--hub, .seo-page--district, .seo-page--listing) .seo-page-wrap {
  max-width: 1184px;
}

.seo-shell .seo-h1 {
  font-family: var(--fh-font-display);
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.seo-shell :is(.seo-h2, .seo-h3, .seo-district-card__title, .related-links__title, .seo-listing-card__price-value) {
  font-family: var(--fh-font-body);
}

.seo-shell .seo-h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-wrap: balance;
}

.seo-shell .seo-kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.seo-shell .seo-hero--band {
  margin-inline: 0;
  margin-bottom: 2.5rem;
  padding: 1.25rem 0 2.5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--fh-border);
  border-radius: 0;
  overflow: visible;
}

.seo-shell .seo-hero--band::after {
  content: none;
}

.seo-shell .seo-hero .seo-h1 {
  max-width: 24ch;
  margin-block: 0.5rem 1.15rem;
}

.seo-shell .seo-hero :is(.seo-lead, .seo-summary) {
  max-width: 66ch;
  font-size: 1.125rem;
  line-height: 1.65;
}

.seo-shell .seo-page:not(:has(.housing-guide)) .seo-hero-image {
  box-shadow: none;
  border: 0;
  border-radius: 12px;
}

/* Plain reading sections; cards are reserved for distinct destinations. */
.seo-shell .seo-section:not(.seo-cta-panel):not(.seo-faq) {
  margin-bottom: 3rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  scroll-margin-top: 6rem;
}

.seo-shell .seo-section:not(.seo-cta-panel):not(.seo-faq) > .seo-h2:first-child {
  padding: 0;
  margin-bottom: 1rem;
  border: 0;
}

.seo-shell .seo-section > :is(p, ul, ol, .seo-lead),
.seo-shell .seo-faq-item__answer {
  max-width: 68ch;
  line-height: 1.75;
}

.seo-shell .seo-section p a {
  text-decoration: underline;
  text-decoration-color: #afc4b9;
  text-underline-offset: 3px;
  border-bottom: 0;
}

.seo-shell .seo-toc {
  background: var(--seo-surface-subtle);
  border-color: var(--fh-border);
  border-radius: 8px;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
}

.seo-shell .seo-toc__title {
  font-weight: 700;
}

.seo-shell .seo-toc__list {
  gap: 0.5rem;
}

.seo-shell .seo-blockquote {
  background: var(--seo-surface-subtle);
}

.seo-shell .seo-blockquote p {
  font-family: var(--fh-font-body);
  font-style: normal;
}

.seo-shell :is(.seo-choice-card, .seo-district-card, .seo-district-picks__group) {
  background: var(--seo-surface-subtle);
  border-color: var(--fh-border);
  border-radius: 8px;
  box-shadow: none;
}

.seo-shell :is(.seo-choice-card, .seo-district-card):hover {
  border-color: #b3c9be;
  box-shadow: none;
  transform: none;
}

.seo-shell :is(.seo-link-chips__item, .seo-district-card__nearby-chip, .seo-listing-filters__chip, .related-links__list a, .seo-internal-links__tile) {
  max-width: 100%;
  min-height: 36px;
  border-radius: 6px;
  border-color: var(--fh-border);
  background: #ffffff;
  color: var(--fh-muted);
  white-space: normal;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.seo-shell :is(.seo-link-chips__item, .seo-district-card__nearby-chip, .seo-listing-filters__chip, .related-links__list a, .seo-internal-links__tile):hover {
  background: var(--seo-surface-subtle);
  border-color: #b3c9be;
  color: var(--fh-blue);
  box-shadow: none;
  transform: none;
}

.seo-shell .seo-listing-filters__chip--active {
  background: var(--fh-blue-muted);
  border-color: #b3c9be;
  color: var(--fh-blue-hover);
}

.seo-shell .seo-page:not(:has(.housing-guide)) :is(.related-links, .seo-internal-links--tiles) {
  padding: 1.5rem 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--fh-border);
  border-radius: 0;
  box-shadow: none;
}

.seo-shell .seo-internal-links__grid:has(.seo-internal-links__tile--detail) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.seo-shell .seo-internal-links__tile--detail {
  background: var(--seo-surface-subtle);
}

.seo-shell .seo-listings-block {
  margin-bottom: 3.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.seo-shell .seo-listings-grid {
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.seo-shell .seo-listing-card {
  border-color: var(--fh-border);
  border-radius: 10px;
  box-shadow: none;
}

.seo-shell .seo-listing-card:is(:hover, :focus-within) {
  border-color: #b3c9be;
  box-shadow: 0 6px 20px rgba(23, 33, 31, 0.06);
  transform: none;
}

.seo-shell .seo-listing-card__body {
  gap: 0.5rem;
  padding: 1rem;
}

.seo-shell .seo-listing-card__title {
  font-weight: 700;
  line-height: 1.4;
}

.seo-shell .seo-listing-card__price-value {
  color: var(--fh-ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.seo-shell .seo-listing-card__amenity,
.seo-shell .seo-listing-card__pet-policy--on-request {
  background: var(--fh-blue-muted);
  border-color: var(--fh-border);
}

.seo-shell .seo-listing-card__spec {
  background: var(--seo-surface-subtle);
}

.seo-shell .seo-faq {
  padding: 0;
  margin-block: 3rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.seo-shell .seo-faq-list {
  gap: 0;
  border-top: 1px solid var(--fh-border);
}

.seo-shell .seo-faq-item {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--fh-border);
  border-radius: 0;
  background: transparent;
}

.seo-shell .seo-faq-item__question {
  padding: 1.15rem 0;
  min-height: 44px;
  font-weight: 600;
  line-height: 1.5;
}

.seo-shell .seo-faq-item__answer {
  margin-top: 0;
  padding-bottom: 1.15rem;
}

.seo-shell .seo-cta-panel--signal {
  padding: 2.5rem 2rem;
  background: var(--fh-ink);
  border-radius: 12px;
}

.seo-shell .seo-cta-panel--signal::before {
  content: none;
}

.seo-shell .seo-cta-panel--signal .btn-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--fh-ink) !important;
}

.seo-shell .seo-cta-panel--signal .btn-primary:hover {
  background: var(--fh-blue-soft);
  border-color: var(--fh-blue-soft);
}

.seo-shell .seo-cta-panel--signal .btn-outline-primary {
  background: transparent;
  border-color: rgb(255 255 255 / 50%);
  color: #ffffff !important;
}

.seo-shell .seo-cta-panel--signal .btn-outline-primary:hover {
  background: rgb(255 255 255 / 12%);
  border-color: #ffffff;
  color: #ffffff !important;
}

.seo-shell .seo-cta-panel--signal .seo-cta-panel__note {
  margin-inline: auto;
}

.seo-shell .seo-footer {
  padding-block: 3rem 1.5rem;
  background: var(--seo-surface-subtle);
  border-color: var(--fh-border);
}

.seo-shell .seo-footer > .container {
  max-width: 1184px;
  padding-inline: 1.5rem;
}

.seo-shell .seo-footer__cluster-title {
  color: var(--fh-ink);
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
}

.seo-shell .seo-footer__cluster-list {
  gap: 0.65rem;
}

.seo-shell .seo-footer__copy {
  white-space: normal;
}

@media (max-width: 1023px) {
  .seo-shell .landing-nav--subpage .landing-nav__links,
  .seo-shell .landing-nav--subpage .landing-nav__actions {
    display: none;
  }

  .seo-shell .landing-nav--subpage .landing-nav__menu-btn {
    display: inline-flex;
  }

  .seo-shell .landing-nav__mobile-menu .landing-nav__mobile-link {
    display: block !important;
    min-height: 44px;
    padding-block: 0.75rem;
  }
}

@media (max-width: 767px) {
  .seo-shell {
    --header-height: 4rem;
  }

  .seo-shell .landing-nav {
    padding-block: 0.5rem;
  }

  .seo-shell .landing-nav__content,
  .seo-shell .seo-page-wrap,
  .seo-shell .seo-breadcrumbs-bar > .container,
  .seo-shell .seo-footer > .container {
    padding-inline: 1.25rem;
  }

  .seo-shell .seo-hero--band {
    padding-block: 1rem 2rem;
  }

  .seo-shell .seo-hero :is(.seo-lead, .seo-summary) {
    font-size: 1rem;
  }

  .seo-shell .seo-section:not(.seo-cta-panel):not(.seo-faq) {
    margin-bottom: 2.5rem;
  }

  .seo-shell .seo-toc {
    padding: 1rem 1.15rem;
  }

  .seo-shell :is(.seo-link-chips__item, .seo-district-card__nearby-chip, .seo-listing-filters__chip, .related-links__list a, .seo-internal-links__tile) {
    min-height: 44px;
  }

  .seo-shell .seo-cta-panel--signal {
    padding: 2rem 1.25rem;
  }

  .seo-shell .seo-cta-panel__actions {
    flex-direction: column;
  }

  .seo-shell .seo-cta-panel__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-shell :is(.seo-listing-card, .seo-listing-card__img, .seo-choice-card, .seo-district-card, .btn) {
    transition: none;
  }

  .seo-shell .seo-listing-card:hover .seo-listing-card__img {
    transform: none;
  }
}
