/* 2026 Magazine — shared styles (exact clone of original) */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { background: #fff; color: #111; font-family: 'DM Mono', monospace; font-weight: 300; -webkit-font-smoothing: antialiased; }

/* Sidebar */
.sidebar { position: fixed; top: 22px; left: 0; width: 140px; padding: 0 24px; z-index: 100; }
.sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.nav-link { font-family: 'DM Mono', monospace; font-size: 10px; color: #aaa; text-decoration: none; letter-spacing: 0.06em; display: block; }
.nav-link:hover { color: #333; font-style: italic; }
.nav-link.active { color: #111; }
.mobile-header { display: none; }

.site-date { position: fixed; top: 22px; right: 32px; z-index: 300; font-size: 13px; font-weight: 700; color: #111; letter-spacing: 0.01em; cursor: pointer; }

/* Article list (home / contributions) */
.page-content { padding-left: 140px; min-height: 100vh; display: flex; justify-content: center; }
.list { padding: 80px 40px; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 620px; }
.article-row { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 0; width: 100%; text-decoration: none; transition: opacity 0.15s; }
.article-row:hover .article-title, .article-row:hover .article-meta { font-style: italic; }
.article-title { font-size: 11px; font-weight: 300; color: #888; letter-spacing: 0.02em; line-height: 1.4; }
.article-meta { font-size: 9px; color: #bbb; margin-top: 3px; letter-spacing: 0.04em; }
.loading { color: #bbb; font-size: 10px; }

/* Article view */
.article-wrap { padding: 40px 40px 120px; width: 100%; max-width: 820px; }
.cover { width: 100%; }
.cover img { width: 100%; height: auto; display: block; }
.image-credit { text-align: right; font-size: 9px; color: #bbb; margin-top: 6px; letter-spacing: 0.04em; }
.article-header { margin-top: 28px; }
.article-title-main { font-size: 11px; font-weight: 500; color: #888; letter-spacing: 0.02em; }
.article-date { font-size: 9px; color: #bbb; margin-top: 2px; }
.article-author { font-size: 9px; color: #bbb; margin-top: 2px; }
.article-body { margin-top: 36px; }
.block-text { font-size: 11px; font-weight: 300; color: #333; line-height: 2; letter-spacing: 0.01em; margin-bottom: 20px; white-space: pre-wrap; }
.block-text strong { font-weight: 500; color: #333; }
.block-text em { font-style: italic; }
.block-text a { color: #333; }
.block-text a:hover { color: #111; font-style: italic; }
.block-image { margin: 28px 0; }
.block-image img { width: 100%; height: auto; display: block; }
.block-caption { text-align: right; font-size: 9px; color: #bbb; margin-top: 6px; letter-spacing: 0.04em; }
.block-embed { margin: 28px 0; }
.back-top { display: block; text-align: center; margin-top: 60px; font-size: 12px; color: #aaa; text-decoration: none; }
.back-top:hover { color: #111; font-style: italic; }

/* Search */
.search-section { padding: 80px 40px; max-width: 500px; width: 100%; }
#searchInput { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 300; color: #111; border: none; border-bottom: 0.5px solid #ddd; background: transparent; outline: none; padding: 6px 0; width: 100%; }
#searchInput::placeholder { color: #ccc; }
.results { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.result-item { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 300; color: #333; text-decoration: none; }
.result-item:hover { color: #111; font-style: italic; }
.no-results { font-size: 10px; color: #bbb; }

/* Info */
.info-section { padding: 80px 40px; max-width: 500px; width: 100%; display: flex; flex-direction: column; gap: 60px; }
.info-block p { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 300; color: #333; line-height: 2; }
.info-block a { color: #333; }
.info-block a:hover { color: #111; }
.impressum-title { font-size: 9px !important; letter-spacing: 0.1em !important; color: #aaa !important; margin-bottom: 12px; }
.small { font-size: 9px !important; color: #999 !important; line-height: 1.8 !important; }
.nolink { pointer-events: none; }

/* Newsletter */
.news-window { width: 100%; max-width: 620px; margin: 0 auto; }
.news-placeholder { width: 100%; height: 40vh; background: #fff; }
.newsletter-section { max-width: 500px; margin: 40px auto 0; text-align: center; }
.newsletter-intro { font-family: 'DM Mono', monospace; font-size: 10px; color: #aaa; margin-bottom: 16px; }
.subscribe-wrap { display: flex; justify-content: center; width: 100%; }

/* Mobile */
@media (max-width: 600px) {
  .sidebar { display: none; }
  .site-date { position: fixed; top: 14px; right: auto; left: 50%; transform: translateX(-50%); font-size: 12px; white-space: nowrap; padding: 0; text-align: center; }
  .mobile-header { display: block; width: 100%; padding: 14px 20px 0; }
  .mobile-nav { display: flex; justify-content: space-between; width: 100%; padding: 38px 4px 0; }
  .mobile-nav a { font-family: 'DM Mono', monospace; font-size: 9px; color: #aaa; letter-spacing: 0; text-decoration: none; transition: color 0.15s; }
  .mobile-nav a:hover { color: #111; font-style: italic; }
  .mobile-nav a.active { color: #111; }
  .page-content { padding-left: 0; }
  .list { padding: 30px 20px 60px; }
  .article-wrap { padding: 20px 20px 80px; }
  .search-section, .info-section { padding: 20px 20px 80px; }
}

.site-date { font-weight: 700 !important; }

.page-content { position: relative; }
.newsletter-section { max-width: 560px; width: 100%; padding: 0 40px; position: absolute; top: 50%; left: calc(50% + 70px); transform: translate(-50%, -50%); margin: 0; text-align: left; }
.news-window { max-width: 560px; width: 100%; padding: 0 40px; position: absolute; top: 25%; left: calc(50% + 70px); transform: translate(-50%, -50%); margin: 0; }
.news-placeholder { width: 100%; height: 40vh; background: #fff; display: block; }
.newsletter-intro { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 300; color: #999; line-height: 1.6; margin-bottom: 24px; text-align: left; }
.subscribe-wrap { display: block; width: 100%; }
.subscribe-wrap form, .subscribe-wrap [class*="eocampaign"] { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; font-family: 'DM Mono', monospace !important; display: flex !important; flex-direction: column !important; gap: 18px !important; }
.subscribe-wrap input[type="email"] { font-family: 'DM Mono', monospace !important; font-size: 11px !important; font-weight: 300 !important; color: #111 !important; background: transparent !important; border: none !important; border-bottom: 0.5px solid #ddd !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important; padding: 8px 0 !important; width: 100% !important; height: auto !important; margin: 0 !important; text-align: left !important; }
.subscribe-wrap input[type="email"]::placeholder { color: #ccc !important; font-family: 'DM Mono', monospace !important; text-align: left !important; }
.subscribe-wrap button[type="submit"], .subscribe-wrap input[type="submit"] { font-family: 'DM Mono', monospace !important; font-size: 10px !important; font-weight: 300 !important; color: #aaa !important; background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; cursor: pointer !important; letter-spacing: 0.06em !important; width: auto !important; height: auto !important; align-self: flex-start !important; }
.subscribe-wrap button[type="submit"]:hover, .subscribe-wrap input[type="submit"]:hover { color: #111 !important; background: transparent !important; }
.subscribe-wrap label, .subscribe-wrap p, .subscribe-wrap span { font-family: 'DM Mono', monospace !important; font-size: 10px !important; font-weight: 300 !important; color: #aaa !important; background: transparent !important; margin: 0 !important; text-align: left !important; }
.subscribe-wrap .octopus-branding, .subscribe-wrap .eo-branding, .subscribe-wrap [class*="powered"], .subscribe-wrap [class*="Powered"], .subscribe-wrap [class*="branding"], .subscribe-wrap [class*="Branding"], .subscribe-wrap a[href*="emailoctopus"], .subscribe-wrap a[href*="EmailOctopus"], .subscribe-wrap p:has(> a[href*="emailoctopus"]) { display: none !important; visibility: hidden !important; height: 0 !important; width: 0 !important; overflow: hidden !important; }
@media (max-width: 600px) { .newsletter-section { left: 50%; padding: 0 20px; } .news-window { left: 50%; padding: 0 20px; top: 20%; } }

.page-content.home { padding-left: 0; align-items: center; }
.hero { width: 100%; display: flex; justify-content: center; padding: 80px 40px 60px; }
.hero-link { display: block; text-decoration: none; width: 100%; max-width: 700px; }
.hero-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; }
.hero-link:hover img { opacity: 0.8; }
.hero-title { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 400; color: #999; line-height: 1.6; text-align: center; }
.hero-link:hover .hero-title { color: #111; }
@media (max-width: 600px) { .page-content.home { min-height: calc(100vh - 80px); padding-left: 0; } .hero { padding: 0 20px; } }

.block-list { list-style: none; margin: 32px 0 14px; padding: 0; text-align: center; }
.block-list li { font-size: 11px; font-weight: 300; color: #999; line-height: 1.8; margin-bottom: 1.8em; list-style: none; }
.block-list li:last-child { margin-bottom: 0; }
.block-list a, .block-text a { color: inherit; text-decoration: none; transition: color 0.15s; }
.block-list a:hover, .block-text a:hover { color: #ccc; font-style: normal; }

.page-content.article-page { padding-left: 0; }
.article-wrap { max-width: 560px; padding: 20px 40px 100px; margin: 0 auto; }
@media (max-width: 600px) { .article-wrap { padding: 20px 20px 80px; } }
