/*
Theme Name: Vesenniy Reliz
Theme URI: https://spring-wars.ru/
Description: Child theme for "Vesenniy Reliz" based on Twenty Twenty-Five.
Author: Codex
Template: twentytwentyfive
Version: 1.0.0
Text Domain: vesenniy-reliz
*/

:root {
  --vr-green: #0f7a55;
  --vr-leaf: #6bbf2a;
  --vr-ink: #102a43;
  --vr-muted: #4b6358;
  --vr-line: #d7e8dd;
  --vr-soft: #f4fbf5;
}

body {
  background: #f8faf7;
}

.wp-site-blocks {
  background:
    linear-gradient(135deg, rgba(15, 122, 85, 0.06), transparent 36rem),
    linear-gradient(180deg, #fbfdf9 0%, #f8faf7 42%, #ffffff 100%);
}

.vr-site-header {
  border-bottom: 1px solid var(--vr-line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.vr-site-header > .wp-block-group.alignwide {
  box-sizing: border-box;
  padding-left: clamp(18px, 3vw, 52px) !important;
  padding-right: clamp(18px, 3vw, 52px) !important;
  width: 100%;
}

.vr-brand {
  min-width: 0;
}

.vr-brand .wp-block-site-logo img {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 122, 85, 0.17);
}

.vr-brand-copy {
  min-width: 0;
}

.vr-brand-copy .wp-block-site-title {
  line-height: 1.05;
  margin: 0;
}

.vr-brand-copy .wp-block-site-title a {
  text-decoration: none;
}

.vr-brand-copy .wp-block-site-tagline {
  color: var(--vr-muted);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.vr-site-header .wp-block-navigation a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.vr-site-header .wp-block-navigation a:hover {
  color: var(--vr-green);
}

.wp-block-post-title a,
.wp-block-query-title,
.wp-block-heading {
  text-wrap: balance;
}

.wp-block-post,
.wp-block-file {
  border-radius: 8px;
}

.wp-block-post {
  border: 1px solid rgba(215, 232, 221, 0.95);
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

.wp-block-post + .wp-block-post {
  margin-top: 1rem;
}

.wp-block-file {
  align-items: center;
  background: var(--vr-soft);
  border: 1px solid var(--vr-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 18px 0;
  padding: 14px 16px;
}

.wp-block-file .wp-block-file__button,
.wp-block-file a.wp-block-file__button {
  background: var(--vr-green);
  border-radius: 8px;
  color: #fff;
  margin-left: 0;
}

.wp-block-preformatted,
pre.wp-block-preformatted {
  background: #f5f8f5;
  border: 1px solid var(--vr-line);
  border-radius: 8px;
  overflow-x: auto;
  padding: 14px 16px;
}

.vr-release-download {
  background: var(--vr-soft);
  border: 1px solid var(--vr-line);
  border-radius: 8px;
  margin: 1.5rem 0;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.vr-release-download .wp-block-button__link {
  background: var(--vr-green) !important;
  color: #fff !important;
  border-radius: 8px;
}

.vr-home-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(250, 204, 21, 0.32), transparent 18rem),
    linear-gradient(135deg, rgba(15, 122, 85, 0.12), rgba(107, 191, 42, 0.08) 42%, rgba(255, 255, 255, 0.84));
  border-bottom: 1px solid var(--vr-line);
}

.vr-home-kicker {
  color: var(--vr-green);
  font-weight: 700;
  letter-spacing: 0;
}

.vr-home-hero h1 {
  letter-spacing: 0;
  line-height: 1;
  max-width: 12ch;
}

.vr-home-hero p {
  max-width: 68ch;
}

.vr-home-points {
  color: var(--vr-muted);
}

.vr-home-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--vr-green) !important;
  color: #fff !important;
}

.vr-home-hero .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: var(--vr-ink);
}

.vr-home-hero .wp-block-button .wp-block-button__link:hover {
  transform: translateY(-1px);
}

.vr-section-title {
  color: var(--vr-ink);
}

@media (max-width: 720px) {
  .vr-site-header .alignwide {
    gap: 1rem;
  }

  .vr-site-header > .wp-block-group.alignwide {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .vr-brand-copy .wp-block-site-tagline {
    display: none;
  }
}
