/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
/* Balansio - Чехія - Баланс харчування */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --wp-primary: #D97D28;
  --wp-primary-dark: #B56820;
  --wp-bg: #F5F1E8;
  --wp-white: #FFFFFF;
  --wp-text: #2C2C2C;
  --wp-text-light: #666666;
  --wp-border: #E0D7C6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--wp-bg);
  color: var(--wp-text);
  line-height: 1.7;
}

.wp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wp-header {
  background: var(--wp-white);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.wp-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--wp-primary);
  text-decoration: none;
}

.wp-phone {
  color: var(--wp-text);
  text-decoration: none;
  font-weight: 500;
}

.wp-breadcrumbs {
  padding: 15px 0;
  font-size: 14px;
  color: var(--wp-text-light);
}

.wp-breadcrumbs a {
  color: var(--wp-primary);
  text-decoration: none;
}

.wp-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--wp-primary);
  z-index: 101;
  transition: width 0.1s;
}

.wp-main {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  padding: 40px 0;
}

.wp-content {
  background: var(--wp-white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.wp-hero-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.wp-category {
  display: inline-block;
  background: var(--wp-primary);
  color: var(--wp-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wp-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--wp-text);
}

.wp-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--wp-border);
  font-size: 14px;
  color: var(--wp-text-light);
}

.wp-lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--wp-text);
  margin-bottom: 30px;
  font-weight: 400;
}

.wp-article p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}

.wp-article h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--wp-text);
}

.wp-article h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--wp-text);
}

.wp-blockquote {
  border-left: 4px solid var(--wp-primary);
  padding: 20px 30px;
  margin: 30px 0;
  background: var(--wp-bg);
  font-style: italic;
  font-size: 18px;
  color: var(--wp-text);
}

.wp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--wp-border);
}

.wp-tag {
  background: var(--wp-bg);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--wp-text);
  text-decoration: none;
  transition: all 0.3s;
}

.wp-tag:hover {
  background: var(--wp-primary);
  color: var(--wp-white);
}

.wp-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.wp-sidebar-block {
  background: var(--wp-white);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.wp-sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--wp-text);
}

.wp-sidebar-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wp-border);
}

.wp-sidebar-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.wp-sidebar-item a {
  text-decoration: none;
  color: var(--wp-text);
  display: block;
  transition: color 0.3s;
}

.wp-sidebar-item a:hover {
  color: var(--wp-primary);
}

.wp-sidebar-item-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
}

.wp-sidebar-item-desc {
  font-size: 14px;
  color: var(--wp-text-light);
  line-height: 1.5;
}

.wp-form {
  background: var(--wp-bg);
  padding: 25px;
  border-radius: 8px;
}

.wp-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--wp-border);
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 15px;
  font-family: 'Work Sans', sans-serif;
}

.wp-btn {
  width: 100%;
  background: var(--wp-primary);
  color: var(--wp-white);
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Work Sans', sans-serif;
}

.wp-btn:hover {
  background: var(--wp-primary-dark);
}

.wp-related {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid var(--wp-border);
}

.wp-related-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.wp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.wp-related-item {
  background: var(--wp-bg);
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--wp-text);
  transition: transform 0.3s, box-shadow 0.3s;
}

.wp-related-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.wp-related-item-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
}

.wp-related-item-desc {
  font-size: 14px;
  color: var(--wp-text-light);
}

.wp-footer {
  background: var(--wp-white);
  padding: 50px 0 30px;
  margin-top: 60px;
  border-top: 1px solid var(--wp-border);
}

.wp-footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.wp-footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--wp-primary);
  margin-bottom: 15px;
}

.wp-footer-text {
  font-size: 14px;
  color: var(--wp-text-light);
  line-height: 1.6;
}

.wp-footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.wp-footer-links {
  list-style: none;
}

.wp-footer-links li {
  margin-bottom: 10px;
}

.wp-footer-links a {
  color: var(--wp-text-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.wp-footer-links a:hover {
  color: var(--wp-primary);
}

.wp-footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--wp-border);
  font-size: 13px;
  color: var(--wp-text-light);
}

.wp-disclaimer {
  font-size: 12px;
  color: var(--wp-text-light);
  font-style: italic;
  margin-top: 15px;
}

.wp-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--wp-white);
  padding: 20px;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none;
}

.wp-cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.wp-cookie-text {
  font-size: 14px;
  color: var(--wp-text);
}

.wp-cookie-btn {
  background: var(--wp-primary);
  color: var(--wp-white);
  border: none;
  padding: 10px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.wp-policy-content {
  background: var(--wp-white);
  padding: 50px;
  border-radius: 8px;
  max-width: 900px;
  margin: 40px auto;
}

.wp-policy-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 30px;
}

.wp-policy-content h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 35px 0 15px;
}

.wp-policy-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.wp-policy-content ul {
  margin: 15px 0 15px 25px;
  line-height: 1.8;
}

@media (max-width: 968px) {
  .wp-main {
    grid-template-columns: 1fr;
  }
  
  .wp-sidebar {
    position: static;
  }
  
  .wp-content {
    padding: 30px 25px;
  }
  
  .wp-title {
    font-size: 32px;
  }
  
  .wp-related-grid {
    grid-template-columns: 1fr;
  }
  
  .wp-footer-content {
    grid-template-columns: 1fr;
  }
  
  .wp-cookie-content {
    flex-direction: column;
  }
}