/* Naraway blog consistency layer */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfaf8;
  color: #1f2933;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0 !important;
  overflow-x: hidden;
}

body > main,
body > article,
.page-wrapper,
.article-container,
.content,
.post-content,
.blog-content {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

main,
article {
  display: block;
}

article,
.article-container,
.content,
.post-content,
.blog-content,
.article-content {
  max-width: 880px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
span,
strong,
em,
blockquote,
figcaption {
  letter-spacing: 0 !important;
}

h1 {
  max-width: 980px;
  font-size: clamp(2rem, 4vw, 3.75rem) !important;
  line-height: 1.08 !important;
  margin: 0 0 1rem;
  color: #0f172a;
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.15rem) !important;
  line-height: 1.2 !important;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: #111827;
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem) !important;
  line-height: 1.25 !important;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

p,
li {
  font-size: clamp(1rem, 1.1vw, 1.08rem) !important;
}

p {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

a {
  color: #c85a17;
  text-underline-offset: 0.18em;
}

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

article img,
main img,
.hero img,
.article-header img,
.featured-image img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.hero,
.hero-section,
.article-header,
.blog-hero,
.post-hero {
  width: 100%;
  min-height: auto !important;
  padding: clamp(72px, 10vw, 132px) 20px clamp(42px, 7vw, 84px) !important;
  background-position: center !important;
  background-size: cover !important;
  overflow: hidden;
}

.hero > *,
.hero-section > *,
.article-header > *,
.blog-hero > *,
.post-hero > * {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1,
.hero-section h1,
.article-header h1,
.blog-hero h1,
.post-hero h1 {
  overflow-wrap: anywhere;
}

.subtitle,
.article-subtitle,
.excerpt,
.dek,
.lead {
  max-width: 800px;
  color: #4b5563;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important;
  line-height: 1.65 !important;
}

.meta,
.article-meta,
.post-meta,
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  color: #64748b;
  font-size: 0.95rem !important;
}

blockquote,
.callout,
.note,
.highlight-box,
.key-takeaway,
.quick-answer {
  border-radius: 8px !important;
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

pre,
code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sidebar,
.sidebar-wrap,
aside {
  max-width: 320px;
}

.page-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.global-cities-carousel-section {
  overflow: hidden;
}

@media (max-width: 900px) {
  body > main,
  body > article,
  .page-wrapper,
  .article-container,
  .content,
  .post-content,
  .blog-content {
    width: min(100% - 24px, 760px);
  }

  .page-wrapper {
    display: block;
  }

  .sidebar,
  .sidebar-wrap,
  aside {
    max-width: none;
  }

  .hero,
  .hero-section,
  .article-header,
  .blog-hero,
  .post-hero {
    padding: 64px 16px 40px !important;
  }
}
