.blog-ia {
  --hub-cream: #fffaf1;
  --hub-paper: #fffdf8;
  --hub-brown: #3d2d23;
  --hub-copy: #665448;
  --hub-green: #5f7045;
  --hub-copper: #9b652b;
  --hub-line: rgba(91, 73, 59, .14);
  color: var(--hub-brown);
}

.blog-ia__hero,
.blog-news,
.topic-world {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.blog-ia__hero {
  margin-top: clamp(1rem, 2vw, 1.8rem);
  padding: clamp(2.2rem, 7vw, 5.4rem) clamp(1.25rem, 5vw, 4.4rem);
  border: 1px solid var(--hub-line);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 88% 14%, rgba(95, 112, 69, .14), transparent 18rem),
    linear-gradient(145deg, #fff7e9, #eef2ea);
}

.blog-ia__eyebrow,
.section-heading__eyebrow,
.hub-card__eyebrow,
.hub-detail__eyebrow {
  margin: 0 0 .7rem;
  color: var(--hub-green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.blog-ia__hero h1 {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--hub-brown);
  font-size: clamp(2.25rem, 6vw, 4.6rem);
  line-height: .98;
}

.blog-ia__lead {
  max-width: 780px;
  margin: 0;
  color: var(--hub-copy);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.blog-news,
.topic-world {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(1.5rem, 3vw, 2.3rem);
}

.section-heading h2 {
  margin: 0 0 .8rem;
  color: var(--hub-brown);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.06;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--hub-copy);
  font-size: 1.03rem;
  line-height: 1.7;
}

.blog-news__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.news-card,
.hub-primary,
.hub-detail {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hub-line);
  border-radius: 1.25rem;
  background: var(--hub-paper);
  box-shadow: 0 16px 38px rgba(53, 40, 29, .09);
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #e8e2d7;
}

.news-card img,
.hub-primary img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card--sagen img {
  object-position: 68% 12%;
}

.news-card--passau img {
  object-position: 50% 62%;
}

.news-card__body,
.hub-primary__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.3rem, 2.8vw, 2rem);
}

.news-card h3,
.hub-primary h3,
.hub-detail h3 {
  margin: 0 0 .7rem;
  color: var(--hub-brown);
  line-height: 1.16;
}

.news-card h3 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.news-card__body > p:not(.hub-card__eyebrow),
.hub-primary__body > p:not(.hub-card__eyebrow),
.hub-detail > p:not(.hub-detail__eyebrow) {
  margin: 0 0 1.25rem;
  color: var(--hub-copy);
  line-height: 1.62;
}

.hub-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: .7rem 1.05rem;
  border-radius: .7rem;
  background: linear-gradient(135deg, #c98a35, #bd6b50);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(111, 67, 28, .2);
}

.hub-button:focus-visible,
.hub-link-list a:focus-visible,
.hub-detail a:focus-visible {
  outline: 3px solid var(--hub-copper);
  outline-offset: 3px;
}

.topic-world {
  position: relative;
  border-top: 1px solid var(--hub-line);
}

.topic-world::before {
  position: absolute;
  inset: 1.1rem -1rem;
  z-index: -1;
  border-radius: 2rem;
  content: "";
  background: linear-gradient(145deg, rgba(255, 250, 241, .78), rgba(238, 242, 234, .64));
}

.topic-world:nth-of-type(even)::before {
  background: linear-gradient(145deg, rgba(239, 243, 234, .72), rgba(255, 248, 237, .74));
}

.topic-world__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
  gap: clamp(1rem, 2.4vw, 1.5rem);
  align-items: stretch;
}

.hub-primary {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
}

.hub-primary picture {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #e8e2d7;
}

.hub-primary h3 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.hub-primary--winter img {
  object-position: 50% 50%;
}

.hub-primary--excursions img {
  object-position: 50% 19%;
}

.hub-primary--weather img {
  object-position: 50% 50%;
}

.hub-primary--active img {
  object-position: 50% 52%;
}

.hub-primary--cuisine img {
  object-position: 54% 58%;
}

.hub-primary--culture img {
  object-position: 50% 38%;
}

.hub-details {
  display: grid;
  gap: .9rem;
}

.hub-detail {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(53, 40, 29, .07);
}

.hub-detail h3 {
  font-size: 1.2rem;
}

.hub-detail > a:not(.hub-button),
.hub-detail__body > a:not(.hub-button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: auto;
  color: #6f431c;
  font-weight: 800;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

.hub-detail--bike {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(155, 101, 43, .2), transparent 7rem),
    linear-gradient(145deg, #fff7e8, #e9f0e4);
}

.hub-detail--bike picture {
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #dfe6d8;
}

.hub-detail--bike img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}

.hub-detail--ski {
  padding: 0;
}

.hub-detail--ski picture {
  display: block;
  height: 185px;
  overflow: hidden;
  background: #dfe7ee;
}

.hub-detail--ski img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.hub-detail__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.hub-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hub-link-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .55rem .75rem;
  border: 1px solid rgba(95, 112, 69, .2);
  border-radius: 999px;
  background: rgba(255, 253, 248, .86);
  color: #425038;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 900px) {
  .topic-world__layout,
  .hub-primary {
    grid-template-columns: 1fr;
  }

  .hub-primary picture {
    aspect-ratio: 16 / 8;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .blog-ia__hero,
  .blog-news,
  .topic-world {
    width: min(100% - 24px, 1120px);
  }

  .blog-ia__hero {
    padding: 2.1rem 1.1rem;
    border-radius: 1.25rem;
  }

  .blog-news,
  .topic-world {
    padding-block: 3rem;
  }

  .blog-news__grid {
    grid-template-columns: 1fr;
  }

  .news-card picture {
    height: clamp(220px, 62vw, 250px);
    aspect-ratio: auto;
  }

  .news-card--sagen img {
    object-position: 70% 30%;
  }

  .news-card--passau img {
    object-position: 50% 54%;
  }

  .hub-primary picture {
    height: 230px;
    aspect-ratio: auto;
  }

  .hub-detail--ski picture {
    height: 235px;
  }

  .hub-primary--culture img {
    object-position: 50% 32%;
  }

  .news-card__body,
  .hub-primary__body {
    padding: 1.3rem 1.15rem 1.45rem;
  }

  .hub-button {
    width: 100%;
  }

  .hub-link-list {
    display: grid;
  }

  .hub-link-list a {
    border-radius: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .hub-primary,
  .hub-detail,
  .hub-button {
    scroll-behavior: auto;
    transition: none;
  }
}
