/*
Theme Name: VoloZaim Avant-Garde
Author: Creative Lab
Description: Финансовый конструктивизм — смелый дизайн для современных МФО
Version: 1.0
*/

:root {
  /* Уникальная палитра: Терракота + Изумруд + Крем */
  --terra: #D4764E;
  --emerald: #2D6A4F;
  --emerald-dark: #1B4332;
  --cream: #F9F6F0;
  --graphite: #1D1D1D;
  --light-grey: #E8E3DA;
  --soft-white: #FEFDFB;
  
  /* Градиенты */
  --gradient-hero: linear-gradient(135deg, var(--terra) 0%, #C25E3A 100%);
  --gradient-emerald: linear-gradient(160deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  
  /* Размеры */
  --sidebar-width: 80px;
  --container-max: 1400px;
  
  /* Типографика */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-accent: 'DM Mono', monospace;
}

/* ============================================
   RESET & BASE STYLES
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--graphite);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

ul { list-style: none; }

::selection {
  background: var(--terra);
  color: var(--soft-white);
}

/* Smooth Scroll Reveal Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-item {
  animation: fadeInUp 0.6s ease-out both;
}

.card-item:nth-child(1) { animation-delay: 0.1s; }
.card-item:nth-child(2) { animation-delay: 0.2s; }
.card-item:nth-child(3) { animation-delay: 0.3s; }
.card-item:nth-child(4) { animation-delay: 0.4s; }
.card-item:nth-child(5) { animation-delay: 0.5s; }
.card-item:nth-child(6) { animation-delay: 0.6s; }

/* Pulse Animation for CTA */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 118, 78, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(212, 118, 78, 0); }
}

.btn-primary {
  animation: pulse 2s infinite;
}

/* ============================================
   LAYOUT UTILITIES
============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 4rem;
}

/* Уникальная кнопка - не круглая! */
.btn-primary {
  display: inline-block;
  background: var(--emerald);
  color: var(--soft-white);
  padding: 1.1rem 3rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terra);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(212, 118, 78, 0.3);
}

/* ============================================
   ASYMMETRIC HEADER
============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--graphite);
  border-bottom: 4px solid var(--terra);
  padding: 0;
}

.header-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 1.8rem 4rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Логотип с акцентом */
.brand-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--soft-white);
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.brand-logo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: var(--terra);
  transition: width 0.3s ease;
}

.brand-logo:hover::before {
  width: 8px;
}

.brand-logo span {
  color: var(--terra);
  font-style: italic;
}

.brand-logo:hover {
  color: var(--terra);
  padding-left: 1.5rem;
}

/* Навигация */
.header-nav {
  justify-self: center;
}

.header-nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.header-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-nav a:hover {
  color: var(--soft-white);
}

.header-nav a:hover::after {
  width: 100%;
}

/* Контактная информация в шапке */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.header-phone {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--soft-white);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.header-phone:hover {
  color: var(--terra);
}

.header-tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-accent);
}

/* ============================================
   HERO SECTION - DIAGONAL SPLIT
============================================ */
.hero-area {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 60fr 40fr;
  position: relative;
  overflow: hidden;
  background: var(--soft-white);
}

/* Left Side - Content */
.hero-content {
  background: var(--gradient-hero);
  padding: 8rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  z-index: 2;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 30px 30px;
  opacity: 0.3;
}

.hero-title-wrap {
  position: relative;
  z-index: 2;
}

/* Kinetic Typography */
.hero-big-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9;
  color: var(--soft-white);
  margin-bottom: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  position: relative;
}

.hero-big-title span {
  display: block;
  position: relative;
}

.hero-big-title span:nth-child(2) {
  padding-left: 3rem;
  font-style: italic;
  color: var(--cream);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Large Decorative Number */
.hero-decor-number {
  position: absolute;
  font-size: 25rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  top: 50%;
  right: -5rem;
  transform: translateY(-50%);
  font-family: var(--font-display);
  pointer-events: none;
}

/* Right Side - Visual Element */
.hero-visual {
  background: var(--gradient-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 350px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-left: 4px solid var(--terra);
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--soft-white);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============================================
   ASYMMETRIC BENTO GRID LAYOUT
============================================ */
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  padding: 8rem 0;
  position: relative;
}

/* Чередующиеся размеры карточек */
.card-item:nth-child(3n+1) {
  grid-column: span 7;
}

.card-item:nth-child(3n+2) {
  grid-column: span 5;
}

.card-item:nth-child(3n+3) {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.card-item:nth-child(3n+3) .card-img-link {
  height: 100%;
}

.card-item {
  background: var(--soft-white);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(29, 29, 29, 0.08);
}

.card-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--terra) 0%, var(--emerald) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.card-item:hover::before {
  opacity: 0.03;
}

.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 60px rgba(29, 29, 29, 0.12),
    0 2px 8px rgba(212, 118, 78, 0.1);
  border-color: var(--terra);
}

.card-img-link {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--light-grey);
}

.card-img-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(29, 29, 29, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card-item:hover .card-img-link::after {
  opacity: 1;
}

.card-img-link img {
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.card-item:hover .card-img-link img {
  transform: scale(1.08) rotate(1deg);
}

.card-content {
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--emerald);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-family: var(--font-accent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.card-meta::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--terra);
}

.card-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.card-item:hover .card-title {
  color: var(--emerald);
}

.card-excerpt {
  color: rgba(29, 29, 29, 0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--graphite);
  position: relative;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--terra);
  transition: all 0.3s ease;
}

.read-link::after {
  content: '→';
  font-size: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.read-link:hover {
  color: var(--terra);
  padding-left: 10px;
}

.read-link:hover::after {
  transform: translateX(5px);
}

/* ============================================
   SINGLE POST PAGE
============================================ */
.post-header-block {
  padding: 8rem 0 4rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.single-h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 2rem;
  border-left: 6px solid var(--terra);
}

.single-meta-row {
  display: flex;
  gap: 3rem;
  font-size: 0.9rem;
  color: rgba(29, 29, 29, 0.6);
  padding: 2rem 0;
  margin-bottom: 4rem;
  border-top: 2px solid var(--light-grey);
  border-bottom: 2px solid var(--light-grey);
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-featured-wrap {
  margin-bottom: 5rem;
  overflow: hidden;
  position: relative;
  max-height: 600px;
}

.single-featured-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-narrow {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(29, 29, 29, 0.85);
}

.content-narrow p {
  margin-bottom: 2.2rem;
}

.content-narrow h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--emerald);
}

.content-narrow h3 {
  margin-top: 3rem;
  color: var(--emerald);
}

.content-narrow a {
  color: var(--terra);
  border-bottom: 2px solid var(--terra);
  transition: all 0.3s ease;
}

.content-narrow a:hover {
  color: var(--emerald);
  border-color: var(--emerald);
}

/* ============================================
   FOOTER - DIAGONAL DESIGN
============================================ */
.main-footer {
  margin-top: 10rem;
  position: relative;
  background: var(--graphite);
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  padding-top: 12rem;
  padding-bottom: 4rem;
}

.main-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-emerald);
  opacity: 0.05;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.footer-brand h3 {
  color: var(--soft-white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  max-width: 350px;
}

.footer-brand-accent {
  width: 60px;
  height: 4px;
  background: var(--terra);
  margin: 2rem 0;
}

.footer-col h4 {
  color: var(--terra);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  font-weight: 700;
  font-family: var(--font-accent);
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--soft-white);
  transform: translateX(5px);
  padding-left: 5px;
  border-left: 2px solid var(--terra);
}

.footer-contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-link {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: var(--soft-white) !important;
}

.footer-contact-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  font-family: var(--font-accent);
  position: relative;
  z-index: 2;
}

/* ============================================
   PAGINATION
============================================ */
.page-nav {
  text-align: center;
  padding: 5rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.page-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  padding: 0 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  background: var(--soft-white);
  color: var(--graphite);
  border: 2px solid var(--light-grey);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.page-nav .page-numbers:hover {
  background: var(--terra);
  color: var(--soft-white);
  border-color: var(--terra);
  transform: translateY(-3px);
}

.page-nav .current {
  background: var(--emerald);
  color: var(--soft-white);
  border-color: var(--emerald);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 1200px) {
  .container {
    padding: 0 3rem;
  }
  
  .grid-wrapper {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .card-item:nth-child(3n+1),
  .card-item:nth-child(3n+2) {
    grid-column: span 6;
  }
  
  .card-item:nth-child(3n+3) {
    grid-column: span 6;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Header */
  .site-header {
    position: relative;
  }
  
  .header-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem;
  }
  
  .brand-logo {
    justify-self: center;
    font-size: 1.5rem;
  }
  
  .header-nav {
    justify-self: center;
  }
  
  .header-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .header-nav a {
    font-size: 0.85rem;
  }
  
  .header-contact {
    align-items: center;
  }
  
  .header-phone {
    font-size: 1rem;
  }
  
  .header-tagline {
    font-size: 0.7rem;
  }
  
  /* Hero adjustments */
  .hero-area {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-content {
    clip-path: none;
    padding: 4rem 2rem;
  }
  
  .hero-decor-number {
    font-size: 12rem;
    right: -2rem;
  }
  
  .hero-visual {
    padding: 3rem 2rem;
  }
  
  /* Grid */
  .container {
    padding: 0 1.5rem;
  }
  
  .grid-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0;
  }
  
  .card-item:nth-child(3n+1),
  .card-item:nth-child(3n+2),
  .card-item:nth-child(3n+3) {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  
  .card-content {
    padding: 2rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .main-footer {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    padding-top: 8rem;
  }
  
  /* Single post */
  .single-h1 {
    padding-left: 1rem;
    border-left-width: 4px;
  }
  
  .single-meta-row {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .content-narrow {
    font-size: 1.05rem;
  }
}

/* ============================================
   FORMS & INPUTS
============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--light-grey);
  background: var(--soft-white);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(212, 118, 78, 0.1);
}

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

button,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
  font-family: var(--font-body);
}

/* ============================================
   SEARCH FORM
============================================ */
.search-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto;
}

.search-form input[type="search"] {
  flex: 1;
}

.search-form input[type="submit"] {
  background: var(--emerald);
  color: var(--soft-white);
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.search-form input[type="submit"]:hover {
  background: var(--terra);
  transform: translateY(-2px);
}

/* ============================================
   UTILITY CLASSES
============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.color-terra { color: var(--terra); }
.color-emerald { color: var(--emerald); }

/* Decorative Accent Line */
.accent-line {
  width: 80px;
  height: 4px;
  background: var(--terra);
  margin: 2rem 0;
}

/* ============================================
   BLOCKQUOTE & SPECIAL CONTENT
============================================ */
blockquote {
  padding: 2rem 2.5rem;
  margin: 3rem 0;
  background: var(--light-grey);
  border-left: 6px solid var(--terra);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.7;
  position: relative;
}

blockquote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(212, 118, 78, 0.15);
  position: absolute;
  top: -1rem;
  left: 1rem;
  line-height: 1;
}

blockquote p {
  margin: 0;
  color: var(--graphite);
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(29, 29, 29, 0.6);
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lists in Content */
.content-narrow ul,
.content-narrow ol {
  margin: 2rem 0;
  padding-left: 2rem;
}

.content-narrow ul {
  list-style: none;
}

.content-narrow ul li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.content-narrow ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--terra);
  transform: rotate(45deg);
}

.content-narrow ol {
  counter-reset: custom-counter;
  list-style: none;
}

.content-narrow ol li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 3rem;
  counter-increment: custom-counter;
}

.content-narrow ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: var(--emerald);
  color: var(--soft-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-accent);
}

/* ============================================
   WIDGETS & SIDEBAR (если понадобятся)
============================================ */
.widget {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--soft-white);
  border: 1px solid var(--light-grey);
}

.widget-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--terra);
  color: var(--emerald);
}

.widget ul {
  list-style: none;
}

.widget ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.widget ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--terra);
  font-weight: 700;
}

.widget a {
  color: var(--graphite);
  transition: all 0.3s ease;
}

.widget a:hover {
  color: var(--emerald);
  padding-left: 5px;
}

/* ============================================
   PRINT STYLES
============================================ */
@media print {
  body {
    margin-left: 0;
    background: white;
    color: black;
  }
  
  .site-header,
  .main-footer,
  .page-nav,
  .read-link {
    display: none;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
  }
}
