.custom-container {
    /* padding-block: 21px; */
    position: relative;
    z-index: 1;
}

.entire-header {
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
    /* opacity: 0.5; */
}

.lang-select {
    position: relative;
    display: inline-block;
}

.lang-select select {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    border-radius: 8px;
    padding: 6px 14px 6px 24px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    background-color: transparent;
}

.fa-chevron-down {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    font-size: 12px;
    left: 4px;
}

.logo {
    width: 192px;
    height: 48px;
}

.logo-mini {
    height: 48px;
}

.py-22px {
    padding-block: 22px;
}

.new-letter_btn {
    border: none;
    background: linear-gradient(to bottom, #247cf8, #0463fb);
    border-radius: 2rem;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.ul {
    list-style: none !important;
}

li {
    cursor: pointer;
}

.li {
    text-align: center;
}

.li:hover {
    color: #0463fb;
}

.menu-item {
    font-weight: 500;
}

.menu-item:hover {
    color: #0d6efd;
}

.for_orgs {
    text-align: center;
    vertical-align: middle;
}

.mobile-menu {
    position: fixed;
    width: 270px;
    top: 0;
    bottom: 0;
    background-color: #faf3f3;
    transition: 0.41s all ease;
}

.menu-item {
    padding: 0.5rem;
    border-radius: 8px;
}

.menu-item:hover {
    background-color: #eaeaea;
}

.left-100 {
    left: -100%;
}

.left-0 {
    left: 0;
}

img {
    cursor: pointer;
}

.new-letter {
    padding: 24px;
    display: flex;
    flex-direction: column;
    /* background: url("../../../../public/img/telegram-symbol.png"); */
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 200px;
    width: 100%;
}

::ng-deep .mat-mdc-dialog-inner-container {
    width: 100%;
    max-width: none !important;
}

.close_btn {
    background: none;
    border: none;
}

.new-letter-title {
    font-size: clamp(
        22px,
        calc(22px + (36 - 22) * ((100vw - 350px) / (1800 - 350))),
        36px
    );
    font-weight: 700;
}

.new-letter-desc {
    font-size: clamp(
        16px,
        calc(16px + (20 - 16) * ((100vw - 350px) / (1800 - 350))),
        20px
    );
    font-weight: 300;
}

.email {
    padding: 12px 24px;
    border-radius: 2rem;
    border: none;
    width: 340px;
    max-width: 100%;
}

.subscribe_btn {
    border: none;
    background: linear-gradient(to bottom, #247cf8, #0463fb);
    border-radius: 2rem;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

/* Модальное окно */
.modal {
    display: none; /* скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;

    /* плавное появление */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Когда модальное окно активно */
.modal.show {
    display: flex;
    opacity: 1;
}

/* Содержимое модального окна */
.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

/* Анимация при открытии */
.modal.show .modal-content {
    transform: scale(1);
}

/* Кнопка закрытия */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
}

.telegram-modal{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width:35%;
}

a {
  color: inherit ;
}

@media (max-width: 550px) {
    .new-letter {
        width: 100%;
    }
}
