/* =====================================================
   HOW THE INTERNET FEELS – Editorial Layout
   basiert auf index.css (About)
===================================================== */

[data-page="how_the_internet_feels"] {
  background-color: #eaeaea;
  color: rgba(25, 25, 25, 0.9);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow: hidden;
}

/* -------------------------------------
   MAIN LAYOUT – Golden Ratio Positioning
------------------------------------- */

[data-page="how_the_internet_feels"] main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - var(--nav-h, 80px) - var(--footer-h, 60px));
  padding-inline: 2rem;
  padding-top: 18vh; /* optische Balance */
}

/* -------------------------------------
   HERO BLOCK
------------------------------------- */

[data-page="how_the_internet_feels"] .htif-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  max-width: 62ch;
  margin: 0 auto;
  padding: 0 1rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInInfo 1.2s ease-out forwards;
}

/* -------------------------------------
   TEXT
------------------------------------- */

[data-page="how_the_internet_feels"] .htif-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  opacity: 0.9;
}

[data-page="how_the_internet_feels"] .htif-hero p + p {
  margin-top: 1.3rem;
}

/* -------------------------------------
   LINKS
------------------------------------- */

[data-page="how_the_internet_feels"] .htif-links a {
  color: rgba(25, 25, 25, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.25s ease;
}

[data-page="how_the_internet_feels"] .htif-links a:hover {
  opacity: 0.6;
}

/* -------------------------------------
   FOOTER
------------------------------------- */

[data-page="how_the_internet_feels"] .site-footer {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* -------------------------------------
   ANIMATION
------------------------------------- */

@keyframes fadeInInfo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------
   RESPONSIVE
------------------------------------- */

@media (max-width: 768px) {
  [data-page="how_the_internet_feels"] main {
    padding-top: 22vh;
  }

  [data-page="how_the_internet_feels"] .htif-hero {
    max-width: 55ch;
    line-height: 1.65;
  }

  [data-page="how_the_internet_feels"] .htif-hero p {
    font-size: 1rem;
  }
}

