/* Zarenia - Unique Sticky Sidebar Editorial Blog | Lithuania 2026 */
/* Completely new design: Ice Blue & Graphite palette, sticky left sidebar, sharp UI (radius 8px), left accent bars on cards, different from previous sage asymmetric */

:root {
  --bg-ice: #F0F7FA;
  --text-graphite: #1E2937;
  --accent-teal: #0891B2;
  --accent-teal-dark: #0E7490;
  --sand-light: #E0F2FE;
  --card-white: #FFFFFF;
  --border-slate: #CBD5E1;
  --radius: 8px;
  --shadow-soft: 0 4px 6px -1px rgb(15 23 42 / 0.05);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-graphite);
  background-color: var(--bg-ice);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-graphite);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.55rem; }

.prose-content {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.prose-content p {
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
}

/* New UI System - Sharp & Teal */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-teal);
  color: white;
  border-color: var(--accent-teal);
}

.btn-primary:hover {
  background-color: var(--accent-teal-dark);
  border-color: var(--accent-teal-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-teal);
  border-color: var(--accent-teal);
}

.btn-secondary:hover {
  background-color: var(--accent-teal);
  color: white;
}

.btn-ghost {
  background-color: var(--sand-light);
  color: var(--text-graphite);
  border: 1px solid var(--border-slate);
}

.btn-ghost:hover {
  background-color: var(--accent-teal);
  color: white;
  border-color: var(--accent-teal);
}

/* Cards with left accent bar - new style */
.card {
  background-color: var(--card-white);
  border: 1px solid var(--border-slate);
  border-left: 5px solid var(--accent-teal);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* Sticky Sidebar Layout - unique for this site */
.sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
  background: var(--card-white);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  font-weight: 500;
  color: var(--text-graphite);
  transition: all 0.15s ease;
}

.sidebar-nav a:hover {
  background: var(--sand-light);
  color: var(--accent-teal);
}

.sidebar-nav a.active {
  background: var(--accent-teal);
  color: white;
  font-weight: 600;
}

/* Hero - clean split */
.hero {
  background: linear-gradient(135deg, #F0F7FA 0%, #E0F2FE 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-dark) 100%);
  color: white;
}

/* Form */
input, textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-slate);
  border-radius: var(--radius);
  font-size: 1rem;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #334155;
}

/* Footer */
footer {
  background-color: #0F172A;
  color: #94A3B8;
}

footer a {
  color: #94A3B8;
  transition: color 0.2s;
}

footer a:hover {
  color: #E0F2FE;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  border-radius: 9999px;
  background: var(--sand-light);
  color: var(--accent-teal);
}

/* Article header */
.article-header {
  background: linear-gradient(to right, var(--accent-teal), var(--accent-teal-dark));
  color: white;
  padding: 3rem 0;
}

/* Decor */
.decor-line {
  height: 3px;
  background: linear-gradient(to right, var(--accent-teal), #67E8F9);
  width: 70px;
}

/* Responsive */
@media (max-width: 1023px) {
  .sidebar {
    position: static;
    margin-bottom: 2rem;
  }
}