/* Flavor Theme - Custom Styles */

/* Base font */
body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Prose content styles for article body */
.prose-content h1 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; font-size: 2rem; font-weight: 400; margin: 1.5em 0 0.5em; line-height: 1.3; }
.prose-content h2 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; font-size: 1.5rem; font-weight: 300; margin: 1.5em 0 0.5em; line-height: 1.3; }
.prose-content h3 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; font-size: 1.25rem; font-weight: 300; margin: 1.25em 0 0.5em; line-height: 1.4; }
.prose-content h4 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; font-size: 1.125rem; font-weight: 300; margin: 1em 0 0.5em; line-height: 1.4; }

.prose-content p { margin: 1em 0; }

.prose-content a {
	color: #059669;
	text-decoration: underline;
	text-decoration-color: rgba(5, 150, 105, 0.3);
	text-underline-offset: 2px;
	transition: text-decoration-color 0.2s;
}
.prose-content a:hover {
	text-decoration-color: #059669;
}

.prose-content ul,
.prose-content ol {
	margin: 1em 0;
	padding-left: 1.5em;
	list-style: unset;
}
.prose-content li { margin: 1em 0; }

.prose-content blockquote {
	border-left: 3px solid #059669;
	margin: 1.5em 0;
	padding: 0.5em 1em;
	color: #6b7280;
	font-style: italic;
}

.prose-content pre {
	background: #1f2937;
	color: #e5e7eb;
	border-radius: 0.5rem;
	padding: 1rem;
	overflow-x: auto;
	margin: 1.5em 0;
	font-size: 0.875rem;
	line-height: 1.7;
}

.prose-content code {
	font-size: 0.875em;
	background: #f3f4f6;
	padding: 0.125em 0.375em;
	border-radius: 0.25rem;
}

.prose-content pre code {
	background: none;
	padding: 0;
	border-radius: 0;
}

.prose-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
	margin: 1.5em 0;
}

.prose-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
}
.prose-content th,
.prose-content td {
	border: 1px solid #e5e7eb;
	padding: 0.5em 0.75em;
	text-align: left;
}
.prose-content th {
	background: #f9fafb;
	font-weight: 600;
}

.prose-content hr {
	border: none;
	border-top: 1px solid #e5e7eb;
	margin: 2em 0;
}

/* Dark mode prose overrides */
`@media` (prefers-color-scheme: dark) {
	.prose-content code {
		background: `#374151`;
	}
	.prose-content blockquote {
		color: `#9ca3af`;
	}
	.prose-content th {
		background: `#1f2937`;
	}
	.prose-content th,
	.prose-content td {
		border-color: `#374151`;
	}
}

/* Anpassungen MG 08.2026 */
h2 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; font-size: 1.5rem; font-weight: 300; margin: 1.5em 0 0.5em; line-height: 1.3; }

.projektliste {
	margin: 0.5em 0;
	font-size: 1.25rem;
}

img.tiny {
  width: 50%;
  height: auto;
}

.sphere-wrap::after{
  content:"";
  z-index:0;
  left:9px;
  top:47px;
  width:34px;
  height:17px;
  border-radius:50%;
  background:radial-gradient(
    ellipse at 50% 12%,
    rgba(47,145,75,.42) 0%,
    rgba(35,102,61,.27) 35%,
    rgba(16,43,30,.12) 62%,
    rgba(0,0,0,0) 100%
  );
  filter:blur(1.6px);
  transform:scaleY(.72);
}
.sphere{
	z-index:1;
  width:52px;
  height:52px;
  border-radius:50%;
  overflow:hidden;
  /*
   * Alpha is intentionally below 1 at the outer edge. This gives
   * the antialiased green-to-background transition visible in the
   * reference instead of a pasted-on opaque circle.
   */
  background:
    /* white specular point, reference approx. upper-left */
    radial-gradient(
      circle at 33% 21%,
      rgba(255,255,255,1) 0 4.7%,
      rgba(255,255,255,.94) 5.5%,
      rgba(255,255,255,.30) 9%,
      rgba(255,255,255,0) 15%
    ),
    /* main spherical illumination */
    radial-gradient(
      circle at 52% 57%,
      rgba(177,255,18,.98) 0%,
      rgba(106,239,4,.98) 25%,
      rgba(25,190,0,.96) 50%,
      rgba(0,126,20,.91) 73%,
      rgba(0,75,34,.64) 88%,
      rgba(0,48,28,0) 100%
    );

  /*
   * No conventional box-shadow around the object:
   * that produces the unrealistic grey/black seam seen in the
   * previous version. The halo is supplied separately above.
   */
  filter:saturate(1.04);
}
/* very subtle upper glass reflection */
.sphere .glass{
  inset:0;
  border-radius:50%;
  background:
    radial-gradient(
      ellipse at 49% -8%,
      rgba(255,255,255,.16) 0 24%,
      rgba(255,255,255,0) 52%
    );
  pointer-events:none;
}
/* tiny darker lower rim: follows the sphere rather than the page */
.sphere .rim{
  inset:0;
  border-radius:50%;
  box-shadow:
    inset 0 -1px 2px rgba(0,72,21,.32),
    inset 0 1px 1px rgba(205,255,110,.13);
  pointer-events:none;
}
