/*
Theme Name: Kierunek Pełnia — Blocksy Child
Template: blocksy
Version: 1.0.0
Text Domain: dw-blocksy-child
*/

:root {
  --kp-navy: #00274a;
  --kp-bg: #0a0a14;
  --kp-surface: #12122a;
  --kp-cream: #f4ebd3;
  --kp-orange: #f28705;
  --kp-gold: #fab216;
  --kp-text: #f0f0ff;
  --kp-muted: rgba(240, 240, 255, .72);
  --kp-radius: 18px;
}

body { background: var(--kp-bg); color: var(--kp-text); }
a { color: var(--kp-gold); }
a:hover { color: var(--kp-orange); }
.wp-site-blocks, .site-main { overflow: clip; }
.wp-block-button__link, button, input[type="submit"] {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kp-orange), var(--kp-gold));
  color: var(--kp-bg);
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wp-block-button__link:hover, button:hover, input[type="submit"]:hover {
  color: var(--kp-bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(242, 135, 5, .25);
}
.wp-block-group, .wp-block-cover { border-radius: var(--kp-radius); }
.entry-content > h1, .entry-content > h2, .entry-content > h3 { color: var(--kp-text); }
.entry-content p, .entry-content li { color: var(--kp-muted); }
.kp-card { background: var(--kp-surface); border: 1px solid rgba(240,240,255,.08); border-radius: var(--kp-radius); padding: clamp(1.25rem, 3vw, 2.5rem); }
.kp-section { max-width: 100%; margin-block: clamp(1rem, 3vw, 3rem); padding: clamp(1.5rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem); background: linear-gradient(145deg, rgba(18,18,42,.96), rgba(10,10,20,.96)); }
.kp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(1rem, 3vw, 2rem); max-width: 1180px; margin-inline: auto; }
.kp-column { min-width: 0; }
.kp-module { margin-block: 1rem; }
.kp-module h1, .kp-module h2, .kp-module h3 { color: var(--kp-text); text-wrap: balance; }
.kp-module blockquote { margin: 0; padding: 1.25rem; border-left: 3px solid var(--kp-orange); background: rgba(18,18,42,.72); border-radius: 0 var(--kp-radius) var(--kp-radius) 0; color: var(--kp-muted); }
.kp-module cite { display: block; margin-bottom: .75rem; color: var(--kp-text); font-style: normal; font-weight: 700; }
.kp-subhead { color: var(--kp-gold) !important; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; }
.kp-lang-switcher { position: fixed; right: 0; top: 50%; z-index: 1000; transform: translateY(-50%); display: flex; flex-direction: column; }
.kp-lang-switcher a, .kp-lang-switcher .active { padding: .65rem .9rem; background: var(--kp-surface); color: var(--kp-text); text-decoration: none; font-size: .8rem; font-weight: 700; border-radius: 8px 0 0 8px; margin: 1px 0; }
.kp-lang-switcher a:hover { background: var(--kp-orange); color: var(--kp-bg); }
.kp-lang-switcher .active { background: var(--kp-orange); color: var(--kp-bg); }
@media (max-width: 767px) {
  .kp-lang-switcher { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; justify-content: center; }
  .kp-lang-switcher a, .kp-lang-switcher .active { flex: 1; text-align: center; border-radius: 0; }
}
