/*
Theme Name: Bildhauer Starter
Theme URI: https://example.com/
Author: Domenik Bildhauer
Author URI: https://example.com/
Description: A clean, responsive starter theme for WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bildhauer-starter
*/

:root {
  --color-bg: #f7f7f4;
  --color-surface: #ffffff;
  --color-text: #202124;
  --color-muted: #65676b;
  --color-border: #deded8;
  --color-accent: #245f73;
  --color-accent-strong: #174250;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--color-accent-strong);
}

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

.site-header,
.site-footer {
  background: var(--color-surface);
  border-color: var(--color-border);
  border-style: solid;
  border-width: 0 0 1px;
}

.site-footer {
  border-width: 1px 0 0;
  margin-top: 4rem;
}

.site-header__inner,
.site-footer__inner,
.site-main {
  margin: 0 auto;
  max-width: var(--container);
  padding: 1.2rem;
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.site-branding {
  min-width: 0;
}

.site-title {
  color: var(--color-text);
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.site-description {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0.2rem 0 0;
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus {
  color: var(--color-accent);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  line-height: 1;
  margin: 0 0 1rem;
  max-width: 850px;
}

.hero p {
  color: var(--color-muted);
  font-size: 1.2rem;
  max-width: 680px;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-card,
.content-area {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 2rem);
}

.entry-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.post-card .entry-title {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.entry-title a {
  color: var(--color-text);
  text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
  color: var(--color-accent);
}

.entry-meta,
.entry-footer,
.site-footer {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.button,
.wp-block-button__link {
  background: var(--color-accent);
  border-radius: 6px;
  color: #ffffff;
  display: inline-block;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: var(--color-accent-strong);
  color: #ffffff;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}

@media (max-width: 720px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-menu {
    justify-content: flex-start;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }
}
