/*
Theme Name: Vechnost Custom
Theme URI: https://center-vechnost.ru/
Author: OpenAI Codex
Author URI: https://openai.com/
Description: Custom theme for the Vechnost memorial architecture website.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: vechnost-custom
*/

:root {
  --vech-shell-bg: #f6f2ea;
  --vech-shell-text: #1b1b1d;
  --vech-shell-muted: #5e5a55;
  --vech-shell-line: rgba(27, 27, 29, 0.12);
  --vech-shell-panel: #fbf8f2;
  --vech-shell-shadow: 0 18px 44px rgba(10, 10, 10, 0.06);
  --vech-shell-radius: 24px;
  --vech-shell-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--vech-shell-bg);
  color: var(--vech-shell-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

.vech-default {
  max-width: var(--vech-shell-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.vech-default__card {
  background: color-mix(in srgb, var(--vech-shell-panel) 94%, transparent);
  border: 1px solid var(--vech-shell-line);
  border-radius: var(--vech-shell-radius);
  box-shadow: var(--vech-shell-shadow);
  padding: 32px;
}

.vech-default__title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.vech-default__content > * + * {
  margin-top: 1rem;
}

.vech-default__content h1,
.vech-default__content h2,
.vech-default__content h3,
.vech-default__content h4 {
  color: var(--vech-shell-text);
  line-height: 1.1;
}

.vech-default__content p,
.vech-default__content li {
  color: var(--vech-shell-muted);
  line-height: 1.75;
}

.vech-default__content ul,
.vech-default__content ol {
  padding-left: 1.5rem;
}

.vech-default__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--vech-shell-line);
  background: color-mix(in srgb, var(--vech-shell-text) 5%, transparent);
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.05);
  text-decoration: none;
}

.vech-default__back:hover {
  text-decoration: none;
}

@media (max-width: 782px) {
  .vech-default {
    padding: 28px 16px 56px;
  }

  .vech-default__card {
    padding: 24px 20px;
  }
}
