body { font-family: Arial, sans-serif; margin:0;}

header {
            background-color: #363636; 
            background-image: url('https://ezdili-znaem.com/wp-content/uploads/2025/07/logo-bg-poloska-01.webp'); 
            height: 80px; /* высота шапки */
			  background-repeat: repeat-x;
			  background-position: center calc(100% - 8px); /* прижать к низу с отступом 8px */
            background-size: auto 38px;
            position: relative; /* нужно для позиционирования логотипа */
        }
		
.logo {
            position: absolute;
            top: 0;
            left: 18px;
            height: 80px;
        }
		
		/* Мобильные экраны*/
@media (max-width: 768px) {
    header {
		            height: 80px; /* высота шапки */
					  background-size: auto 28px;
	  			     background-position: center center; 
    }
	.logo {
            top: 2px;
        }
}
	
	.content-twov { max-width: 600px; margin: 40px auto; padding: 0 20px; }
		
        h1 { margin: 0;  font-size: 1.5em; }
        form { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
        label { font-weight: bold; }
        select, input[type="datetime-local"] { padding: 5px; font-size: 1em; }
button {
  padding: 10px 28px;
  font-size: 1em;
  cursor: pointer;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 8px;
  width: fit-content;     
  max-width: 100%;        
  margin: 0 auto;       
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #999;
}
  .results { 
    padding: 0 18px;
    color: #222;
    background: #fff;
  }
   .melko {
    font-weight: 500;
    font-size: 0.8em;
    text-align: center;
    margin: 0 0 8px;
    color: #888;
  }
 .route {
    font-weight: 700;
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 6px;
    color: #333;
  }
  .transit-time {
    font-size: 1em;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
  }
    .topblock {
    padding: 0 8px;
    margin-bottom: 18px;
  }
    .topblock h2 {
    margin: 18px auto; 
	    text-align: center;
    font-weight: 600;
    color: #2e7d32;
    font-size: 1.1em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
  }
  .block {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
	line-height: 1.5;
  }

    .sovet {
	background:#fff8e1; 
	padding:18px; 
	border-left:4px solid #ffb300; 
	margin:9px 0 18px; 
	border-radius:8px; 
  }
    .block h2, .sovet h2  {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
    color: #111;
    font-size: 1.1em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  ul {
    margin: 0;
    padding-left: 18px;
		line-height: 1.5;
  }
 .topblock ul {
	list-style:none;
  }
  a {
    color: #007acc;
  text-decoration: underline;
  }
  a:hover {
    color: #0057b8;
  }
  .info-note {
    font-size: 0.9em;
	 font-weight: 500;
    color: #555;
    margin-top: 12px;
    font-style: italic;
  }
  .arrow-down {
	  display: block;  
  margin: 6px auto;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.sovet-conv {
  max-width: 420px;
      border: 1px solid #ddd;
  margin: 25px auto;
  background: #f9f9f9;
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #444;
  padding: 0;
  overflow: hidden;
}

.sovet-conv h2 {
  background-color: #0057b8; /* глубокий синий */
  color: #fff;
  font-weight: 700;
  font-size: 1.4em;
  margin: 0;
  padding: 18px 25px;
  border-bottom: 3px solid #f4a261; /* контрастный акцент */
  user-select: none;
}

.sovet-conv ul {
  list-style: none;
  margin: 0;
  padding: 18px 25px 9px 28px;
}

.sovet-conv ul li {
  margin-bottom: 14px;
  font-size: 1em;
  line-height: 1.4;
  position: relative;
  padding-left: 24px;
}

.sovet-conv ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: #2a9d8f; /* зеленый — знак одобрения */
  font-weight: 700;
  font-size: 1.1em;
}

.sovet-conv a {
  color: #f4a261; 
  font-weight: 600;
  transition: color 0.3s ease;
}

.sovet-conv a:hover {
  color: #e76f51; 
  cursor: pointer;
  }
  
    .disclaimer {
    font-size: 0.8em;
    text-align: center;
    color: #666;
    max-width: 900px;
    margin: 44px auto 8px;
	padding: 18px;
	  border-top: 1px solid #ddd;
  }