﻿
* {
  box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0f1114;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

header {
    background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
    padding: 0px;
    border-bottom: 2px solid #3b82f6;
}

    header h1 {
        margin: 0;
        color: #e5e7eb;
        font-size: 28px;
    }

nav {
  margin-top: 10px;
}

    nav a {
        color: #ccc;
        text-decoration: none;
        margin-right: 5px;
        /*        margin-left: 5px;*/
        padding: 8px 12px 8px 0px;
        border-radius: 4px;
        transition: background 0.3s, color 0.3s;
    }

        nav a:hover,
        nav a.active {
            color: #3b82f6;
        }

.lang-switcher {
    float: right;
    padding: 25px 20px 20px 20px;
}

/* Mobile: un-float lang switcher so it stacks ABOVE title instead of overlapping it.
   At 390px the title wrapped underneath float:right and visually crossed the
   "EN | HE | RU" buttons. Mobile real-estate is vertical anyway. */
@media (max-width: 768px) {
    .lang-switcher {
        float: none;
        display: flex;
        justify-content: flex-end;
        gap: 4px;
        padding: 12px 16px 0 16px;
    }
}

main section {
  margin-bottom: 40px;
}

main h2 {
  color: #3b82f6;
  font-size: 24px;
  margin-bottom: 16px;
}

main h3 {
  color: #3b82f6;
}

main p, main li {
  color: #d0d0d0;
  font-size: 18px;
}

.Content h3 {
    color: #3b82f6;
    font-size: 20px;
}

.Content h4 {
    color: #3b82f6;
    font-size: 18px;
}

ul {
  padding-left: 20px;
}

blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 16px;
  margin-left: 0;
  color: #aaa;
  font-style: italic;
}

footer {
    background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
    color: #999;
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #3b82f6;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s;
}

    .whatsapp-button:hover {
        background-color: #1ebe5d;
    }

    .whatsapp-button img {
        width: 30px;
        height: 30px;
    }

.standart-list {
    list-style: revert; /* или circle, square */
    margin: revert; /* добавим отступ */
    padding: revert; /* немного внутреннего отступа */
}

.Content ul {
    list-style: revert; /* или circle, square */
    margin: revert; /* добавим отступ */
    padding: revert; /* немного внутреннего отступа */
}

.Content ol {
    list-style: revert; /* или circle, square */
    margin: revert; /* добавим отступ */
    padding: revert; /* немного внутреннего отступа */
}

.img-normal {
    max-width: initial;
    height: initial;
    display: initial;
    vertical-align: initial;
}

.aTitle {
    text-decoration: none;
}

.aTitle:hover {
    text-decoration: none;
}

.Logos p {
    background-color: white;
    text-align: -webkit-center;
    border-radius: 0.75rem;
}

/* AI-Layout-Phase2A (H3): #hylEN / #hylHE / #hylRU render as bare inline text
   at 19x17 px (text dimensions). On touch viewports the brief requires
   >= 44x44 hit area. Scope this to <= 1024 px so the desktop visual layout
   ("EN | HE | RU" inline) stays unchanged. Pairs with Languages.css?v=2. */
@media (max-width: 1024px) {
    .lang-switcher #hylEN,
    .lang-switcher #hylHE,
    .lang-switcher #hylRU {
        display: inline-block;
        min-width: 44px;
        min-height: 44px;
        padding: 12px 8px;
        text-align: center;
        vertical-align: middle;
        line-height: 20px;
        box-sizing: border-box;
    }
}