/*
Theme Name: Varjendi
Template: twentytwentyfive
Description: Varjendi.ee kohandatud teema — Claude Design v2 kujunduse järgi.
Version: 1.0.0
Author: Riin Agency
Text Domain: varjendi
*/

body {
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { text-decoration: none; }

/* ── Topbar ─────────────────────────────── */
.vj-topbar {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
}
.vj-topbar a { color: #ffffff; font-weight: 600; }
.vj-topbar a.vj-topbar-mail { color: rgba(255,255,255,0.82); font-weight: 400; }
.vj-topbar a:hover { color: #ffffff; }

/* ── Sticky header ──────────────────────── */
.vj-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid #e4e2dd;
  box-shadow: 0 1px 12px rgba(30,31,78,0.05);
}
.vj-header .wp-block-site-logo img { height: 54px; width: auto; }

/* Nav */
.vj-nav .wp-block-navigation-item__content {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1e1f4e;
  padding: 10px 16px;
}
.vj-nav .wp-block-navigation-item__content:hover { color: #2c72c7; }

/* Header CTA button */
.vj-cta a.wp-block-button__link {
  background: #2c72c7;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 24px;
  border-radius: 2px;
}
.vj-cta a.wp-block-button__link:hover { background: #1e1f4e; color: #ffffff; }

/* ── Buttons ────────────────────────────── */
.wp-block-button__link { border-radius: 2px; font-weight: 600; }
.wp-block-button.is-style-outline > .wp-block-button__link {
  border: 1px solid #c9c6bf;
  color: #1e1f4e;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
  border-color: #1e1f4e;
  color: #1e1f4e;
}

/* ── Hero (esileht) ─────────────────────── */
.vj-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(30,31,78,0.96) 0%, rgba(30,31,78,0.88) 46%, rgba(30,31,78,0.45) 100%) !important;
  opacity: 1 !important;
}
.vj-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 24ch;
}
.vj-hero .vj-hero-lead { max-width: 60ch; font-size: 20px; line-height: 1.6; color: rgba(255,255,255,0.84); margin-left: 0 !important; margin-right: auto !important; }
.vj-hero h1 { margin-left: 0 !important; margin-right: auto !important; }

/* Eyebrow label */
.vj-eyebrow {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2c72c7;
}
.vj-eyebrow--light { color: #a9c6ea; }

/* ── Page header band (navy) ────────────── */
.vj-pagehead .wp-block-image {
  width: fit-content;
}
.vj-pagehead h1 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 26ch;
}

/* ── Callout boxes (seadus) ─────────────── */
.vj-callout {
  background: #f7f6f3;
  border-left: 4px solid #2c72c7;
  padding: 26px 28px;
}
.vj-callout p { font-size: 18px; line-height: 1.62; color: #2b2c45; }
.vj-callout--navy { border-left-color: #1e1f4e; }
.vj-callout--big p { font-size: 19px; color: #1e1f4e; font-weight: 600; }

/* ── Checkmark lists ────────────────────── */
ul.vj-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
ul.vj-check li {
  display: flex;
  gap: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: #3a3b52;
  margin: 0;
}
ul.vj-check li::before {
  content: '✓';
  color: #2c72c7;
  font-weight: 700;
  line-height: 1.6;
  flex: none;
}
ul.vj-check--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 48px;
}
ul.vj-check--light li { color: rgba(255,255,255,0.9); font-size: 18px; }
ul.vj-check--light li::before { color: #a9c6ea; }
@media (max-width: 781px) {
  ul.vj-check--grid { grid-template-columns: 1fr; }
}

/* ── Cards (esileht 2 teemablokki) ──────── */
.vj-card {
  border: 1px solid #e4e2dd;
  height: 100%;
}
.vj-card .vj-card-img { height: 230px; object-fit: cover; width: 100%; margin: 0; }
.vj-card .vj-card-img a { display: block; width: 100%; }
.vj-card .vj-card-img img { height: 230px; object-fit: cover; width: 100%; display: block; }
.vj-card h3 { font-size: 25px; line-height: 1.24; text-transform: uppercase; }
.vj-card h3 a { color: #1e1f4e; }
.vj-card h3 a:hover { color: #2c72c7; }
.vj-card .vj-card-body { padding: 36px 34px; }

/* ── Bordered info box ──────────────────── */
.vj-box { border: 1px solid #e4e2dd; padding: 30px 32px; }

/* ── RBE partner strip ──────────────────── */
.vj-partner { align-items: center; }
.vj-partner .wp-block-image { margin: 0; flex: none; }
.vj-partner .wp-block-image img { display: block; }
.vj-partner p { margin: 0; }

/* Column heading underline */
.vj-colhead {
  font-size: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #1e1f4e;
}

/* ── Tagline band ───────────────────────── */
.vj-tagline {
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ── Gallery captions ───────────────────── */
.vj-gallery figcaption {
  margin-top: 10px;
  font-size: 16px;
  color: #4a4b60;
  text-align: left;
}

/* ── Footer ─────────────────────────────── */
.vj-footer { color: rgba(255,255,255,0.72); }
.vj-footer a { color: rgba(255,255,255,0.82); }
.vj-footer a:hover { color: #ffffff; }
.vj-footer .vj-footer-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a9c6ea;
}
.vj-footer .wp-block-site-logo img { background: #ffffff; padding: 8px 12px; height: 56px; width: auto; }
.vj-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 15px;
  color: rgba(255,255,255,0.55);
}

/* Muted small text */
.vj-muted { color: #6d6e80; }

/* Section vertical rhythm */
.vj-section { padding-top: 72px; padding-bottom: 72px; }
.vj-section--sm { padding-top: 48px; padding-bottom: 48px; }
.vj-pagehead { padding-top: 64px; padding-bottom: 60px; }

@media (max-width: 781px) {
  .vj-section { padding-top: 48px; padding-bottom: 48px; }
  .vj-hero h1 { font-size: clamp(32px, 8vw, 44px); }
  .vj-cta { display: none; }
  .vj-topbar { display: none; }
}
