/*
Theme Name: TAMC GeneratePress Child
Theme URI: https://tamc.co.il/
Description: TAMC child theme for GeneratePress.
Author: TAMC
Template: generatepress
Version: 2.0.30
Text Domain: tamc
*/

:root {
    --tamc-blue: #3580cb;
    --tamc-dark-blue: #001b4d;
    --tamc-text: #001b4d;
    --tamc-white: #fff;
    --tamc-header-height: 92px;
    --tamc-font: "Noto Sans Hebrew", "Noto Sans Display", Arial, sans-serif;
    /* Legacy body CSS named Noto Sans without loading it. Match its actual
       fallback: Hebrew/Latin use Noto Sans Hebrew; basic Cyrillic uses Arial. */
    --tamc-font-text: "Noto Sans Hebrew", Arial, sans-serif;
}

/* Low-specificity fallback for new buttons. Components own their hover/focus
   colours; GeneratePress' global button colours are disabled in functions.php. */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
:where(a.button, a.wp-block-button__link:not(.has-background)) {
    background-color: var(--tamc-blue);
    color: var(--tamc-white);
}

html.tamc-modal-open,
html.tamc-modal-open body {
    overflow: hidden;
}

html.tamc-mobile-menu-open .pojo-a11y-toolbar-toggle,
html.tamc-mobile-menu-open #contactUs-btn,
html.tamc-mobile-menu-open .grecaptcha-badge {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.tamc-skip-link {
    position: fixed;
    z-index: 100001;
    top: 12px;
    inset-inline-start: 12px;
    padding: 12px 18px;
    border-radius: 3px;
    background: #fff;
    color: #001b4d;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-200%);
}

.tamc-skip-link:focus {
    color: #001b4d;
    transform: translateY(0);
}

.breadcrumb-wrapper,
.tamc-single-default__breadcrumbs,
.tamc-single-departament__breadcrumbs {
    display: block;
    position: relative;
    width: 100%;
    color: var(--tamc-dark-blue);
    font-family: var(--tamc-font-text);
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
    margin-top: 24px;
    margin-bottom: 24px;
}

.breadcrumb-wrapper nav,
.tamc-single-default__breadcrumbs nav,
.tamc-single-departament__breadcrumbs nav {
    margin: 0;
}

.breadcrumb-wrapper a,
.tamc-single-default__breadcrumbs a,
.tamc-single-departament__breadcrumbs a {
    color: #078bd1;
    text-decoration: none;
}

.breadcrumb-wrapper a:hover,
.breadcrumb-wrapper a:focus-visible,
.tamc-single-default__breadcrumbs a:hover,
.tamc-single-default__breadcrumbs a:focus-visible,
.tamc-single-departament__breadcrumbs a:hover,
.tamc-single-departament__breadcrumbs a:focus-visible {
    color: #006fac;
    text-decoration: underline;
}

.breadcrumb-wrapper .breadcrumb_last,
.tamc-single-default__breadcrumbs .breadcrumb_last,
.tamc-single-departament__breadcrumbs .breadcrumb_last {
    color: var(--tamc-dark-blue);
}

/* Yoast outputs the home label as the first link; keep it accessible and
 * replace only its visual text with the local home icon. */
.breadcrumb-wrapper > a:first-child,
.breadcrumb-wrapper > span > span:first-child > a:first-child,
.breadcrumb-wrapper nav > span > span:first-child > a:first-child,
.tamc-single-default__breadcrumbs > span > span:first-child > a:first-child,
.tamc-single-default__breadcrumbs nav > span > span:first-child > a:first-child,
.tamc-single-departament__breadcrumbs > span > span:first-child > a:first-child,
.tamc-single-departament__breadcrumbs nav > span > span:first-child > a:first-child {
    display: inline-flex;
    width: 22px;
    height: 32px;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    vertical-align: top;
}

.breadcrumb-wrapper > a:first-child::before,
.breadcrumb-wrapper > span > span:first-child > a:first-child::before,
.breadcrumb-wrapper nav > span > span:first-child > a:first-child::before,
.tamc-single-default__breadcrumbs > span > span:first-child > a:first-child::before,
.tamc-single-default__breadcrumbs nav > span > span:first-child > a:first-child::before,
.tamc-single-departament__breadcrumbs > span > span:first-child > a:first-child::before,
.tamc-single-departament__breadcrumbs nav > span > span:first-child > a:first-child::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask: url("assets/svg/home-outline.svg") center / contain no-repeat;
    mask: url("assets/svg/home-outline.svg") center / contain no-repeat;
}

@media (max-width: 768px) {
    .breadcrumb-wrapper,
    .tamc-single-default__breadcrumbs,
    .tamc-single-departament__breadcrumbs {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: .25px;
    }

    .breadcrumb-wrapper > a:first-child,
    .breadcrumb-wrapper > span > span:first-child > a:first-child,
    .breadcrumb-wrapper nav > span > span:first-child > a:first-child,
    .tamc-single-default__breadcrumbs > span > span:first-child > a:first-child,
    .tamc-single-default__breadcrumbs nav > span > span:first-child > a:first-child,
    .tamc-single-departament__breadcrumbs > span > span:first-child > a:first-child,
    .tamc-single-departament__breadcrumbs nav > span > span:first-child > a:first-child {
        width: 19px;
        height: 24px;
    }

    .breadcrumb-wrapper > a:first-child::before,
    .breadcrumb-wrapper > span > span:first-child > a:first-child::before,
    .breadcrumb-wrapper nav > span > span:first-child > a:first-child::before,
    .tamc-single-default__breadcrumbs > span > span:first-child > a:first-child::before,
    .tamc-single-default__breadcrumbs nav > span > span:first-child > a:first-child::before,
    .tamc-single-departament__breadcrumbs > span > span:first-child > a:first-child::before,
    .tamc-single-departament__breadcrumbs nav > span > span:first-child > a:first-child::before {
        width: 17px;
        height: 17px;
    }
}

body,
button,
input,
select,
textarea {
    font-family: var(--tamc-font);
}

/* Restore the legacy reading font without changing header/footer or display cards.
 * Shortcode roots keep their own explicit --tamc-font declarations. */
.tamc-page-content,
.tamc-single-default__content,
.tamc-single-departament__content {
    font-family: var(--tamc-font-text);
}

/* Reading copy and headings used different Cyrillic fonts in the legacy theme. */
.tamc-page-content :where(h1, h2, h3, h4),
.tamc-single-default__content :where(h1, h2, h3, h4),
.tamc-single-departament__content :where(h1, h2, h3, h4) {
    font-family: var(--tamc-font);
}

/* Plain article h2 headings: 32px type / 32px line height on desktop.
 * Classed shortcode headings retain their component-specific spacing. */
.tamc-page-content h2:not([class]),
.tamc-single-default__content h2:not([class]),
.tamc-single-departament__content h2:not([class]) {
    line-height: 1;
}

/* Native list markers keep wrapping, RTL positioning and list semantics.
 * Only plain/editor text lists are selected, not component/menu lists. */
:is(.tamc-page-content, .tamc-single-default__content, .tamc-single-departament__content)
:where(ul:not([class]), ul.wp-block-list) > li {
    list-style-image: url("assets/svg/list-check.svg?v=16");
}

/* Do not inherit the image into numbered lists nested inside a bullet item. */
:is(.tamc-page-content, .tamc-single-default__content, .tamc-single-departament__content)
ol > li {
    list-style-image: none;
}

/* This directory formerly inherited the site's display font. */
.ac-department-directory {
    font-family: var(--tamc-font);
}

/* WPBakery adds -15px side margins which cause horizontal page overflow. */
.vc_row {
    margin-right: 0;
    margin-left: 0;
}

/* Legacy WPBakery disease lists retain their original scrollable viewport. */
.scroll_bolezni {
    height: 50vh;
    overflow-y: auto;
}

body .vc_col-has-fill>.vc_column-inner,
body .vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner,
body .vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner,
body .vc_row-has-fill+.vc_vc_row>.vc_row>.vc_vc_column>.vc_column_container>.vc_column-inner,
body .vc_row-has-fill+.vc_vc_row_inner>.vc_row>.vc_vc_column_inner>.vc_column_container>.vc_column-inner,
body .vc_row-has-fill>.vc_column_container>.vc_column-inner,
body .vc_row-has-fill>.vc_row>.vc_vc_column>.vc_column_container>.vc_column-inner,
body .vc_row-has-fill>.vc_vc_column_inner>.vc_column_container>.vc_column-inner,
body .vc_section.vc_section-has-fill,
body .vc_section.vc_section-has-fill+.vc_row-full-width+.vc_section,
body .vc_section.vc_section-has-fill+.vc_section {
    padding-top: 0px;
}

.text-center {
    text-align: center;
}

#wrapper {
    position: relative;
    z-index: 10;
    background-color: #fff;
    padding-bottom: 0;
}

.page-template-default .tamc-page-content {
    padding: 0;
    padding-top: 40px;
}

.tamc-icon {
    width: 1em;
    height: 1em;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: inherit;
    background-color: currentColor;
    line-height: 0;
    -webkit-mask: var(--tamc-icon-source) center / contain no-repeat;
    mask: var(--tamc-icon-source) center / contain no-repeat;
}

.tamc-icon--comment { color: #3580cb; }

h1, h2, h3, h4, h5, .container h1, .container h2, .container h3, .container h4, .container h5 {
    letter-spacing: -.01em;
    line-height: 1.3;
    margin: 0;
    font-weight: 600;
    margin-bottom: 20px;
}

#header,
#footer,
#header button,
#header input,
#header select,
#footer button,
#footer input,
#footer select {
    font-family: var(--tamc-font);
}

/* Header */
#header {
    height: 100vh;
    min-height: 100vh;
    position: relative;
    z-index: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    color: var(--tamc-white);
    background: #000;
    isolation: isolate;
}

#header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--tamc-header-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Keep the old Sway visual level: the hero image was covered by ~60% black. */
#header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, .60);
    pointer-events: none;
}

#header.is-doctor-page::before {
    filter: blur(18px);
    transform: scale(1.08);
}

.redesign-header-top {
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--tamc-header-height);
    padding: 0 10px;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.admin-bar .redesign-header-top {
    top: 32px;
}

.redesign-header-top.with-background {
    background: rgba(0, 0, 0, .65);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
    backdrop-filter: blur(8px);
}

.redesign-header-container {
    width: min(1250px, 100%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-info-container {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.redesign-header-logo {
    flex: 0 0 auto;
    display: block;
    width: 180px;
    text-decoration: none;
}

.redesign-header-logo img {
    display: block;
    width: 100%;
    height: 50px;
    object-fit: contain;
    object-position: left center;
}

html[dir="rtl"] .redesign-header-logo img {
    object-position: right center;
}

.header-menu,
.header-nav {
    min-width: 0;
}

.header-nav .topNavWrapper {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav .topNavWrapper > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav .topNavWrapper > li::marker {
    content: "";
}

.header-nav .topNavWrapper > li > a {
    display: block;
    padding: 0 10px;
    color: #fff;
    font-size: 16px;
    line-height: normal;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

.header-nav .topNavWrapper > li > a:hover,
.header-nav .topNavWrapper > li.current-menu-item > a {
    color: #fff;
    text-decoration: underline;
}

.header-tools-lang-switcher {
    display: flex;
    align-items: center;
    gap: 2.5px;
    white-space: nowrap;
}

.header-tools-lang-switcher .language-flag img {
    display: block;
    width: 25px;
    height: 15px;
    margin: 0 2.5px;
    object-fit: cover;
}

.header-tools-lang-switcher .language-switcher {
    width: 60px;
    margin: 0;
    padding: 4px 10px 4px 4px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}

.header-tools-lang-switcher .language-switcher option {
    color: #fff;
    background: #202020;
}

#header a:focus-visible,
#header button:focus-visible,
#header select:focus-visible,
.search-modal a:focus-visible,
.search-modal button:focus-visible,
.search-modal input:focus-visible,
.contactUsModal a:focus-visible,
.contactUsModal button:focus-visible,
#footer a:focus-visible {
    outline: 2px solid #70be90;
    outline-offset: 3px;
}

.header-search-icon,
.header-mobile-nav-btn,
.tamc-mobile-nav__close,
.search-modal-close,
.contactUsModalClose {
    border: 0;
    background: transparent !important;
    background-color: transparent !important;
    cursor: pointer;
}

.header-search-icon {
    padding: 10px 4px;
    color: #fff;
    font-size: 17px;
}

.cta-buttons-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-whatsapp {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(53, 128, 203, .1);
    text-decoration: none;
}

.header-whatsapp .tamc-icon {
    color: #40c351;
    font-size: 30px;
}

.recall-button {
    background: 0 0;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 20px;
    display: block;
    border: 2px solid #fff;
    white-space: nowrap;
    min-width: 150px;
}

.recall-button:hover,
.header-whatsapp:hover,
.header-search-icon:hover {
    opacity: .75;
}

.header-content {
    flex: 1;
    width: min(1000px, calc(100% - 40px));
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-content.align-bottom {
    justify-content: flex-end;
    padding-bottom: 100px;
}

.header-content h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 48px;
    line-height: 62px;
    font-weight: 700;
}

.header-content p {
    max-width: 1000px;
    margin: 0 0 40px;
    color: #fff;
    font-size: 18px;
    line-height: 24px;
}

.header-content-description {
    max-width: 1000px;
    margin: 0;
    color: #fff;
    font-size: 21px;
    line-height: 28px;
}

.buttons-container {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    gap: 2.5px;
    margin: 0;
    padding: 0;
}

.button-item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 150px;
    border: 2px solid #3580CB66;
    background: linear-gradient(135.06deg, #3580CB -68.87%, rgba(0, 0, 0, .3) 97.06%);
}

.button-item:hover {
    background: linear-gradient(135.06deg, #3580CB -68.87%, rgba(0, 0, 0, .6) 97.06%);
}

.button-item > a {
    min-height: 150px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    text-decoration: none;
}

.button-item-title {
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.button-item-icon {
    width: 100%;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.button-item-icon.icon-services { background-image: url("https://tamc.co.il/wp-content/uploads/2025/03/icon-1.png"); }
.button-item-icon.icon-departments { background-image: url("https://tamc.co.il/wp-content/uploads/2025/03/icon-2.png"); }
.button-item-icon.icon-testimonials { background-image: url("https://tamc.co.il/wp-content/uploads/2025/03/icon-3.png"); }
.button-item-icon.icon-doctors { background-image: url("https://tamc.co.il/wp-content/uploads/2025/03/icon-4.png"); }
.button-item-icon.icon-charity { background-image: url("https://tamc.co.il/wp-content/uploads/2025/03/icon-5.png"); }
.button-item-icon.icon-news { background-image: url("https://tamc.co.il/wp-content/uploads/2025/05/icon-6-1.png"); }
.button-item-icon.icon-pediatric { background-image: url("https://tamc.co.il/wp-content/uploads/2025/08/icon-7-1.png"); }

.header-mobile-nav-btn {
    display: none;
    color: #fff;
    font-size: 26px;
}

.header-search-icon .tamc-icon,
.header-mobile-nav-btn .tamc-icon,
.tamc-mobile-nav__close .tamc-icon,
.search-modal-close .tamc-icon,
.contactUsModalClose .tamc-icon {
    display: block;
}

/* Mobile navigation */
.tamc-mobile-nav[hidden] { display: none !important; }

.tamc-mobile-nav {
    position: fixed;
    z-index: 9000;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 18, 42, .58);
}

.tamc-mobile-nav__inner {
    width: min(477px, 100%);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 24px 22px 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #fff;
    background: linear-gradient(180deg, #3887d3 0%, #1c466c 100%);
    box-shadow: -12px 0 35px rgba(0, 0, 0, .18);
    text-align: start;
    animation: tamc-mobile-nav-enter .25s ease-out both;
}

html[dir="rtl"] .tamc-mobile-nav__inner {
    margin-inline-start: 0;
    margin-inline-end: auto;
    box-shadow: 12px 0 35px rgba(0, 0, 0, .18);
}

@keyframes tamc-mobile-nav-enter {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

html[dir="rtl"] .tamc-mobile-nav__inner {
    animation-name: tamc-mobile-nav-enter-rtl;
}

@keyframes tamc-mobile-nav-enter-rtl {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.tamc-mobile-nav__top {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.tamc-mobile-nav__close {
    width: 40px;
    height: 40px;
    padding: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    font-size: 28px;
}

.tamc-mobile-languages {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.tamc-mobile-languages__label,
.tamc-mobile-languages__list,
.tamc-mobile-language {
    display: flex;
    align-items: center;
}

.tamc-mobile-languages__label {
    gap: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    white-space: nowrap;
}

.tamc-mobile-languages__label .tamc-icon {
    font-size: 22px;
}

.tamc-mobile-languages__list {
    gap: 10px;
}

.tamc-mobile-language {
    min-height: 32px;
    gap: 4px;
    padding: 4px 3px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.tamc-mobile-language.is-current {
    padding-inline: 6px;
    color: #21609d;
    background: #fff;
}

.tamc-mobile-language__flag img {
    width: 24px;
    height: 18px;
    display: block;
    object-fit: cover;
}

.tamc-mobile-actions {
    display: grid;
    gap: 11px;
    margin-bottom: 12px;
}

.tamc-mobile-action {
    min-height: 64px;
    padding: 7px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 5px;
    color: #fff;
    background: rgba(255, 255, 255, .025);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.tamc-mobile-action:hover,
.tamc-mobile-action:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.tamc-mobile-action__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: rgba(164, 210, 250, .35);
    font-size: 24px;
}

.tamc-mobile-action--whatsapp .tamc-mobile-action__icon {
    background: #22bd71;
}

.tamc-mobile-action__content {
    min-width: 0;
    display: grid;
    line-height: 1.25;
}

.tamc-mobile-action__label {
    color: rgba(255, 255, 255, .7);
    font-size: 17px;
}

.tamc-mobile-action strong {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.tamc-mobile-search {
    margin: 0 0 13px;
}

.tamc-mobile-search label {
    min-height: 55px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .27);
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.tamc-mobile-search__icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: #fff;
    font-size: 23px;
}

.tamc-mobile-search input[type="search"] {
    min-width: 0;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 17px;
    box-shadow: none;
}

.tamc-mobile-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, .56);
    opacity: 1;
}

.tamc-mobile-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tamc-mobile-menu .tamc-icon, .tamc-icon--close {
    width: 20px;
    height: 20px;
}

.tamc-mobile-menu li {
    list-style: none;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.tamc-mobile-menu a {
    min-height: 53px;
    padding: 6px 5px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: 19px;
    text-decoration: none;
}

.tamc-mobile-menu a:hover,
.tamc-mobile-menu a:focus-visible,
.tamc-mobile-menu .current-menu-item > a {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.tamc-mobile-menu__icon {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #c7e4ff;
    font-size: 25px;
}

.tamc-mobile-menu__title {
    min-width: 0;
    flex: 1 1 auto;
}

.tamc-mobile-menu__chevron,
.tamc-mobile-route__chevron {
    display: inline-flex;
    flex: 0 0 auto;
    color: rgba(203, 229, 252, .7);
    font-size: 17px;
}

html[dir="rtl"] .tamc-mobile-menu__chevron,
html[dir="rtl"] .tamc-mobile-route__chevron {
    transform: scaleX(-1);
}

.tamc-mobile-route {
    min-height: 64px;
    margin-top: 0;
    padding: 8px 5px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    color: #fff;
    text-decoration: none;
}

.tamc-mobile-route:hover,
.tamc-mobile-route:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.tamc-mobile-route__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 5px;
    color: #fff;
    background: rgba(167, 213, 253, .32);
    font-size: 27px;
}

.tamc-mobile-route__content {
    min-width: 0;
    display: grid;
    flex: 1 1 auto;
    line-height: 1.35;
}

.tamc-mobile-route__content strong {
    font-size: 17px;
    font-weight: 600;
}

.tamc-mobile-route__content small {
    color: rgba(197, 223, 247, .65);
    font-size: 12px;
}

.tamc-mobile-contact-meta {
    display: grid;
    gap: 11px;
    padding: 17px 5px 14px;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
}

.tamc-mobile-contact-meta a,
.tamc-mobile-contact-meta p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.tamc-mobile-contact-meta .tamc-icon {
    color: #fff;
    font-size: 20px;
}

.tamc-mobile-socials {
    padding: 4px 0 2px;
}

.tamc-mobile-socials .tamc-social-menu {
    justify-content: center;
    gap: 20px;
}

.tamc-mobile-socials .tamc-social-menu a {
    width: 43px;
    height: 43px;
    color: #fff;
    background: #157df0;
}

.tamc-mobile-socials .tamc-social-menu__item--instagram a {
    background: linear-gradient(145deg, #7d4fe7, #f52b78 58%, #ffaf45);
}

.tamc-mobile-socials .tamc-social-menu__item--youtube a {
    background: #f00;
}

@media (prefers-reduced-motion: reduce) {
    .tamc-mobile-nav__inner {
        animation: none;
    }
}

/* Search modal */
.search-modal[hidden] { display: none !important; }

.search-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(315deg, #3580cb -100%, rgba(0, 0, 0, .82) 100%);
    backdrop-filter: blur(12px);
}

.search-modal-content {
    width: min(600px, 100%);
    padding: 24px;
    border-radius: 10px;
    background: #fff;
}

.search-modal-content form,
.search-modal-content input[type="search"] {
    width: 100%;
}

.search-modal-content input[type="search"] {
    min-height: 50px;
    padding: 10px 14px;
    border: 1px solid #d9e1e8;
    color: #333;
    font-size: 20px;
}

.search-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #fff;
    font-size: 28px;
}

/* Contact modal + floating button */
.contactUsModal[hidden] { display: none !important; }

.contactUsModal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
    background: linear-gradient(315deg, #3580cb -100%, rgba(0, 0, 0, .5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.contactUsModalContent {
    width: min(750px, 90vw);
    max-height: 95vh;
    overflow: hidden;
    position: relative;
    padding: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--tamc-text);
    text-align: center;
    animation: tamc-modal-enter .35s ease;
}

@keyframes tamc-modal-enter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contactUsModal-inner {
    max-height: 95vh;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: #0c79bc #e8e8e8;
    scrollbar-width: auto;
}

.contactUsModal-inner::-webkit-scrollbar { width: 10px; }
.contactUsModal-inner::-webkit-scrollbar-track { background: #e8e8e8; }
.contactUsModal-inner::-webkit-scrollbar-thumb {
    border: 2px solid #b0d3e8;
    border-radius: 10px;
    background: #0c79bc;
}

.contactUsModalClose {
    position: absolute;
    z-index: 5;
    top: 8px;
    right: 20px;
    width: 32px;
    height: 32px;
    padding: 3px;
    color: var(--tamc-dark-blue);
    cursor: pointer;
}

.contactUsModalClose .tamc-icon {
    width: 100%;
    height: 100%;
    font-size: 26px;
}

html[lang="he-IL"] .contactUsModalClose {
    right: auto;
    left: 20px;
}

.contactUsModalLogo {
    position: absolute;
    z-index: 4;
    top: 15px;
    left: 20px;
    width: 180px;
    background: #fff;
    box-shadow: 0 0 30px 35px #fff;
}

html[lang="he-IL"] .contactUsModalLogo {
    right: 20px;
    left: auto;
}

.contactUsModalLogo img {
    display: block;
    width: 100%;
    max-height: 55px;
    object-fit: contain;
    object-position: left center;
}

.contactUsModal-image img {
    display: block;
    width: 100%;
    max-height: 25vh;
    margin: 0 !important;
    object-fit: cover;
}

.contactUsModal-title {
    margin: 0;
    padding: 15px 20px 20px;
    color: var(--tamc-dark-blue);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.contactUsModal-description {
    display: none;
}

.contactUsModal-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.modal-social {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.modal-social .tamc-icon {
    width: 100%;
    height: 100%;
    font-size: 30px;
}

.modal-social:hover { opacity: .8; transform: translateY(-1px); }
.modal-whatsapp { background: #d4f8d9; color: #40c351; }
.modal-telegram { background: #d6f0fb; color: #0a85d9; }
.modal-viber { background: #e4d5fd; color: #6d4aff; }
.modal-mail,
.modal-phone { background: #d6ebff; color: #3580cb; }

.contactUsModal-or-divider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 20px 0 -10px;
    padding: 0 60px;
}

.contactUsModal-or-divider span {
    flex: 1;
    height: 2px;
    background: #2f8bd6;
}

.contactUsModal-or-divider p {
    margin: 0;
    color: #2f78c8;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
}

.contactUsModal-form .widget {
    margin: 0;
}

.callbackModal .wpcf7 {
    margin: 0;
    padding: 15px 40px 40px;
}

.callbackModal .wpcf7 form,
.callbackModal .wpcf7 p {
    margin: 0;
    padding: 0;
}

.callbackModal .input-groups,
.callbackModal .submit-groups {
    display: flex;
    gap: 10px;
}

.callbackModal .submit-groups { justify-content: space-between; }
.callbackModal .input-controls,
.callbackModal .input-select { flex: 1 1 0; min-width: 0; }

.callbackModal .input-with-icons,
.callbackModal .input-select {
    position: relative;
    margin-bottom: 0;
}

.callbackModal .input-with-icons .icon {
    position: absolute;
    z-index: 2;
    inset-inline-start: 10px;
    top: 40px;
    width: 20px;
    height: 20px;
    display: block;
    color: #3580cb;
    background-color: currentColor;
}

.callbackModal .icon--person {
    -webkit-mask: url("assets/svg/contacts.svg") no-repeat center / contain;
    mask: url("assets/svg/contacts.svg") no-repeat center / contain;
}
.callbackModal .icon--phone {
    -webkit-mask: url("assets/svg/phone.svg") no-repeat center / contain;
    mask: url("assets/svg/phone.svg") no-repeat center / contain;
}
.callbackModal .icon--email {
    -webkit-mask: url("assets/svg/email.svg") no-repeat center / contain;
    mask: url("assets/svg/email.svg") no-repeat center / contain;
}
.callbackModal .icon--message {
    -webkit-mask: url("assets/svg/comment.svg") no-repeat center / contain;
    mask: url("assets/svg/comment.svg") no-repeat center / contain;
}
.callbackModal .icon--doc {
    -webkit-mask: url("assets/svg/news.svg") no-repeat center / contain;
    mask: url("assets/svg/news.svg") no-repeat center / contain;
}
.callbackModal .icon--doctor {
    -webkit-mask: url("assets/svg/doctors.svg") no-repeat center / contain;
    mask: url("assets/svg/doctors.svg") no-repeat center / contain;
}

.callbackModal .input-field,
.callbackModal input[type="text"].input-field,
.callbackModal input[type="tel"].input-field,
.callbackModal input[type="email"].input-field,
.callbackModal .select-field,
.callbackModal textarea.input-field {
    width: 100%;
    min-height: 44px !important;
    height: auto !important;
    margin: 0;
    padding: 10px 10px 10px 35px !important;
    border: 0 !important;
    border-radius: 4px !important;
    outline: 0 !important;
    background: #e9f1f9 !important;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, .05) !important;
    color: #001b4d !important;
    font-family: var(--tamc-font) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

.callbackModal .input-field::placeholder { color: rgba(0, 27, 77, .6); }
.callbackModal .input-field:focus { box-shadow: 0 0 0 2px rgba(56, 132, 232, .25) !important; }
.callbackModal textarea.input-field { height: 120px !important; resize: vertical; }
.callbackModal .input-select select { color: #818487 !important; }

.callbackModal .wpcf7-submit,
.callbackModal input[type="submit"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 54px !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #3580cb !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.callbackModal .wpcf7-submit:hover { opacity: .8; }
.callbackModal .wpcf7-submit:disabled,
.callbackModal input[type="submit"]:disabled {
    opacity: .5 !important;
    cursor: not-allowed !important;
}
.callbackModal .wpcf7-spinner { display: none; }
.callbackModal .wpcf7-response-output {
    margin: 10px 0 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, .08);
}

.callbackModal .wpcf7-list-item { margin: 0 !important; }
.callbackModal .wpcf7-list-item label {
    width: 100%;
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.callbackModal .wpcf7-list-item input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px !important;
    height: 20px !important;
    margin: 2px 0 0 !important;
    outline: 2px solid #2f80d8;
    outline-offset: -1px;
}
.callbackModal .wpcf7-list-item-label {
    font-size: 11px !important;
    font-weight: 500;
    line-height: 1.1 !important;
}
.callbackModal .wpcf7-list-item-label a {
    display: inline;
    padding: 0;
    color: #3580cb;
    text-decoration: underline;
}

html[dir="rtl"] .callbackModal .input-field,
html[dir="rtl"] .callbackModal textarea.input-field {
    padding: 10px 35px 10px 10px !important;
    text-align: right;
}

html[dir="rtl"] .callbackModal .input-with-icons .icon {
    inset-inline-start: auto;
    inset-inline-end: 10px;
}

@media (max-width: 640px) {
    .contactUsModal { padding: 10px; }
    .contactUsModalContent { width: 100%; max-height: calc(100vh - 20px); }
    .contactUsModal-inner { max-height: calc(100vh - 20px); }
    .contactUsModalLogo { display: none; }
    .contactUsModalClose { top: 6px; }
    .contactUsModal-image img { max-height: 22vh; }
    .contactUsModal-title { padding: 12px 42px 14px; font-size: 21px; }
    .contactUsModal-buttons-container { gap: 12px; }
    .modal-social { width: 44px; height: 44px; padding: 9px; }
    .contactUsModal-or-divider { gap: 12px; margin: 12px 0 4px; padding: 0 20px; }
    .contactUsModal-or-divider p { font-size: 20px; }
    .callbackModal .wpcf7 { padding: 12px 15px 20px; }
    .callbackModal .input-groups,
    .callbackModal .submit-groups { display: block; }
}

.contactUs-btn-container {
    position: fixed;
    z-index: 800;
    right: 25px;
    bottom: 20px;
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background-color: rgba(117, 196, 84, .7) !important;
    box-shadow: 0 8px 25px rgba(80, 185, 35, .25);
    cursor: pointer;
}

.contactUs-btn-container:hover {
    background-color: #75c454 !important;
}

.contactUs-btn-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #0c3400;
    font-size: 16px;
    font-weight: 700;
}

.contactUs-btn-title .tamc-icon {
    font-size: 19px;
}

/* Footer */
.tamc-footer {
    width: 100%;
    color: var(--tamc-text);
}

.redesign-top-footer {
    padding: 30px 20px 27px;
    background: rgba(53, 128, 203, .07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 180px;
    height: 50px;
}

.footer-logo .logo,
.footer-logo img {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-logo img {
    object-fit: contain;
}

html[lang="he-IL"] .footer-logo {
    width: 200px;
    height: 60px;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 20px;
}

.short-contact-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.short-contact-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 20px;
    font-weight: 500;
}

.short-contact-info a {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--tamc-dark-blue);
    text-decoration: none;
}

.short-contact-info a:hover {
    color: var(--tamc-blue);
    text-decoration: underline;
}

.short-contact-info .tamc-icon {
    color: #4ea4db;
    margin-inline: 10px;
    font-size: 18px;
}

.tamc-social-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tamc-social-menu li {
    list-style: none;
}

.tamc-social-menu a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(53, 128, 203, .1);
    color: var(--tamc-blue);
    font-size: 21px;
    text-decoration: none;
}

.tamc-social-menu .tamc-icon {
    font-size: 21px;
}

.tamc-social-menu__item--whatsapp a { color: #40c351; }
.tamc-social-menu__item--youtube a { color: #f00; }
.tamc-social-menu__item--instagram a { color: #833ab4; }
.tamc-social-menu__item--facebook a { color: #1877f2; }
.tamc-social-menu__item--telegram a { color: #2aabee; }
.tamc-social-menu__item--viber a { color: #7360f2; }

.redesign-lower-footer {
    min-height: 400px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #3580cb, #1a4065);
    color: #fff;
}

.logo-container {
    width: min(1400px, calc(100% - 40px));
    min-height: 350px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    position: relative;
    direction: ltr;
}

.footer-watermark {
    width: 334px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 75px;
    z-index: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.logo-container > .col-md-5,
.logo-container > .col-md-7 {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.redesign-footer-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding-top: 0;
    position: relative;
    z-index: 1;
    direction: ltr;
}

html[dir="rtl"] .redesign-footer-wrapper {
    direction: rtl;
    text-align: right;
}

.redesign-footer-col {
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 0 1 auto;
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
}

.redesign-footer-col li {
    list-style: none;
}

.redesign-footer-col a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.footer-desktop-heading > a {
    font-weight: 700;
}

.redesign-footer-col a:hover {
    color: #d9e8f5;
    text-decoration: underline;
}

.footer-acc-head,
.footer-acc-btn {
    display: none;
}

.footer-desktop-list,
.footer-acc-panel-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-acc-details {
    display: none;
}

.desc-container {
    width: min(1000px, calc(100% - 40px));
    max-width: 1000px;
    margin: 15px auto 0;
    color: rgba(221, 234, 246, .77);
    font-size: 10px;
    line-height: 15px;
    text-align: center;
}

.redesign-footer-copyright {
    padding: 20px;
    border-bottom: 2.5px solid var(--tamc-blue);
    background: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.redesign-footer-copyright .container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

@media (max-width: 1050px) {
    .header-nav .topNavWrapper > li > a {
        padding-inline: 6px;
        font-size: 14px;
    }

    .header-info-container {
        gap: 10px;
    }

    .redesign-header-logo {
        width: 155px;
    }
}

@media (max-width: 900px) {
    :root { --tamc-header-height: 76px; }

    .admin-bar .redesign-header-top { top: 46px; }

    .header-nav,
    .cta-buttons-container {
        display: none;
    }


    .header-info-container {
        width: 100%;
        gap: 10px;
        justify-content: flex-start;
    }

    .redesign-header-logo { order: 1; }

    .header-lang-select {
        order: 2;
        margin-inline-start: auto;
    }

    .header-search-icon {
        order: 3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .header-menu {
        order: 4;
        display: flex;
    }

    .header-mobile-nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-content {
        margin-bottom: 205px;
    }

    .buttons-container {
        flex-wrap: wrap;
    }

    .button-item {
        flex: 1 1 calc(25% - 2px);
        min-height: 100px;
    }

    .button-item > a {
        min-height: 100px;
        padding: 10px;
        justify-content: center;
        gap: 5px;
    }

    .button-item-icon {
        height: 40px;
    }

}

@media (max-width: 768px) {
    .redesign-top-footer {
        padding: 20px;
    }

    .footer-info {
        width: 100%;
    }

    .short-contact-info {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .short-contact-info p {
        font-size: 18px;
    }

    .footer-socials {
        padding-bottom: 20px;
    }

    .redesign-lower-footer {
        min-height: 0;
        padding: 20px;
    }

    .logo-container {
        width: 100%;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .desc-container,
    .redesign-footer-copyright .container {
        width: 100%;
    }

    .footer-watermark {
        width: auto;
        height: 100%;
        max-width: 80%;
        left: 50%;
        object-fit: contain;
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    .logo-container > .col-md-5 {
        display: none;
    }

    .redesign-footer-wrapper {
        display: block;
        padding-top: 0;
    }

    .redesign-footer-col {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-acc-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        list-style: none;
        user-select: none;
    }

    .footer-acc-head::-webkit-details-marker {
        display: none;
    }

    .footer-acc-head::marker {
        content: "";
    }

    .footer-acc-title {
        font-size: 18px;
        font-weight: 700;
    }

    .footer-desktop-menu {
        display: none;
    }

    .footer-acc-details {
        display: block;
    }

    .footer-acc-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        margin-inline-start: 12px;
        padding: 4px;
        line-height: 1;
        color: #fff;
        transform: rotate(0deg);
        transition: transform .25s ease;
    }

    .footer-acc-btn svg {
        width: 25px;
        height: 25px;
        display: block;
    }

    .footer-acc-details[open]:not(.is-closing) .footer-acc-btn {
        transform: rotate(180deg);
    }

    .footer-acc-panel-list {
        margin: 0;
        padding: 0;
        list-style: none;
        overflow: hidden;
        will-change: height, opacity;
    }

    .redesign-footer-col .footer-acc-panel-list li:first-child a {
        font-weight: 500;
    }

    .redesign-footer-copyright {
        padding: 15px 20px;
        font-size: 14px;
        line-height: 1.75;
        margin-top: 35px;
    }
}

@media (max-width: 600px) {
    .redesign-header-top {
        padding-inline: 12px;
    }

    .redesign-header-logo {
        width: 150px;
    }

    .header-info-container { gap: 5px; }

    .header-tools-lang-switcher .language-flag img {
        width: 23px;
        height: 15px;
    }

    .header-tools-lang-switcher .language-switcher {
        width: 54px;
        padding-inline: 2px;
        font-size: 14px;
    }

    .header-content {
        width: calc(100% - 24px);
        margin-top: 60px;
        margin-bottom: 210px;
        padding-inline: 0;
    }

    .header-content h1 {
        font-size: 30px;
    }

    .header-content p,
    .header-content-description {
        font-size: 17px;
    }

    .button-item {
        flex-basis: calc(50% - 2px);
    }

    .button-item:nth-child(n+5) {
        display: none;
    }

    .footer-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-socials {
        align-self: center;
        padding-bottom: 0;
    }

    .short-contact-info p {
        font-size: 16px;
    }

    .footer-logo {
        width: 170px;
        height: 50px;
    }

    html[lang="he-IL"] .footer-logo {
        width: 170px;
        height: 50px;
    }

    .contactUsModalLogo {
        display: none;
    }

    .contactUsModalContent {
        padding: 0;
    }

    .contactUs-btn-container {
        right: 14px;
        bottom: 14px;
        padding: 10px 14px;
    }
}
.contactUsModal-form .redux-social-media-list {
    display: none;
}

/* Callback form submit states. */
.contactUsFormState,
.contactUsFormState__form {
    width: 100%;
}

.contactUsFormState [hidden] {
    display: none !important;
}

.contactUsFormState__loading,
.contactUsFormState__success {
    min-height: 320px;
    padding: 40px 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.contactUsFormState__loading:not([hidden]),
.contactUsFormState__success:not([hidden]) {
    display: flex;
}

.contactUsFormState__message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contactUsFormState__title {
    color: #001b4d;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.contactUsFormState__message p {
    margin: 0;
    color: #001b4d;
    font-size: 17px;
    line-height: 1.5;
}

.contactUsSpinner {
    width: 56px;
    height: 56px;
    border: 5px solid rgba(53, 128, 203, .2);
    border-top-color: #3580cb;
    border-radius: 50%;
    animation: contactUsSpinnerRotation .8s linear infinite;
}

@keyframes contactUsSpinnerRotation {
    to { transform: rotate(360deg); }
}

.contactUsSuccessIcon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #41aa46;
    color: #fff;
    font-size: 38px;
}

@media (prefers-reduced-motion: reduce) {
    .contactUsSpinner { animation-duration: 1.5s; }
}

@media (max-width: 380px) {
    .redesign-header-logo { width: 125px; }
    .header-search-icon { font-size: 21px; }
    .header-mobile-nav-btn { padding-inline: 4px; font-size: 23px; }

    .tamc-mobile-nav__inner {
        padding-inline: 16px;
    }

    .tamc-mobile-languages {
        gap: 10px;
        font-size: 14px;
    }

    .tamc-mobile-languages__list { gap: 8px; }
    .tamc-mobile-language { gap: 3px; padding-inline: 2px; }
    .tamc-mobile-language.is-current { padding-inline: 4px; }
    .tamc-mobile-language__flag img { width: 22px; height: 16px; }
    .tamc-mobile-nav__close { width: 38px; height: 38px; }
}

@media (max-width: 425px) {
    .header-content h1 {
        margin-bottom: 10px;
        font-size: 24px;
        line-height: 31px;
    }

    .header-content p {
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 24px;
    }

    .header-content-description {
        font-size: 16px;
        line-height: 20px;
    }
}

/* Shared WPBakery toggles across all page and post templates. */
:root .vc_toggle { margin: 16px 0; padding: 0; border: 0; background: transparent; }
:root .vc_toggle .vc_toggle_title { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0; background: #e8f0f7; border: 0; border-radius: 14px; padding: 18px; cursor: pointer; box-shadow: 0 6px 18px rgba(16, 24, 40, .06); }
:root .vc_toggle .vc_toggle_title h4 { margin: 0 !important; padding: 0 !important; color: #3580cb; font-size: 22px; font-weight: 700; line-height: 1.25; }
/* One decorative control works with both WPBakery and the native toggle scripts. */
:root .vc_toggle .vc_toggle_title::after { content: ''; display: block; position: static; flex: 0 0 34px; width: 34px; height: 34px; margin: 0; border: 0; border-radius: 8px; background: #2a78ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat; transform: none; opacity: 1; }
:root .vc_toggle.vc_toggle_active .vc_toggle_title { background: transparent; box-shadow: none; }
:root .vc_toggle.vc_toggle_active .vc_toggle_title::after { transform: rotate(180deg); opacity: .5; }
:root .vc_toggle .vc_toggle_title:hover,
:root .vc_toggle.vc_toggle_active .vc_toggle_title:hover { background: #e8f0f7; box-shadow: 0 10px 26px rgba(16, 24, 40, .1); }
:root .vc_toggle .vc_toggle_title:hover h4 { color: #3580cb; }
:root .vc_toggle .vc_toggle_title .vc_toggle_icon,
:root .vc_toggle .vc_toggle_title .vc_toggle_icon::before,
:root .vc_toggle .vc_toggle_title .vc_toggle_icon::after,
:root .vc_toggle .vc_toggle_title .ac-toggle-btn { display: none !important; }
:root .vc_toggle .vc_toggle_content { padding: 18px !important; margin: 12px 0 0 !important; background: #fff; border-radius: 14px; }
:root .vc_toggle .vc_toggle_content ul { margin: 10px 0 14px; margin-inline-start: 18px; padding: 0; }
:root .vc_toggle .vc_toggle_content li { margin: 6px 0; color: #2b3a55; }
:root .vc_toggle .vc_toggle_content :is(b, strong) { font-weight: 700; }
:root .vc_toggle .vc_toggle_content blockquote { margin: 14px 0 0; padding: 14px; display: flex; flex-direction: column; background: #fffbec; border: 0; border-inline-start: 6px solid #f19d0f; border-radius: 10px; color: #2b3a55; }
:root .vc_toggle .vc_toggle_content blockquote::before { display: none; }
:root .vc_toggle .vc_toggle_content blockquote p { margin: 0 0 8px !important; }
:root .vc_toggle .vc_toggle_content blockquote p:last-child { margin-bottom: 0 !important; }
:root .vc_toggle_content[hidden] { display: none !important; }
:root .vc_toggle .vc_toggle_title:focus-visible,
:root .vc_toggle .vc_toggle_title:focus-within { outline: 2px solid rgba(42, 120, 234, .25); outline-offset: 2px; }
@media (max-width: 768px) {
    :root .vc_toggle .vc_toggle_title { padding: 14px; }
    :root .vc_toggle .vc_toggle_title h4 { font-size: 16px; }
    :root .vc_toggle .vc_toggle_content { padding: 14px !important; }
}

/* Shared search form, also used by the 404 template and widgets. */
.tamc-search-form { display: flex; gap: 10px; max-width: 740px; }
.tamc-search-form input[type="search"] { min-width: 0; flex: 1; border: 1px solid #cadbe8; border-radius: 8px; background: #fff; color: #001b4d; }
.tamc-search-form button { border: 0; border-radius: 8px; background: #3580cb; color: #fff; }
.tamc-search-form button:is(:hover, :focus, :active) { background: #2866a3; color: #fff; }
.tamc-search-form :is(input, button):focus-visible { outline: 2px solid #3580cb; outline-offset: 3px; }
/* Russian reading copy uses the original Hebrew/Arial stack; keep display headings. */
html:lang(ru) {
    --tamc-font: "Noto Sans Hebrew", Arial, sans-serif;
    --tamc-font-text: "Noto Sans Hebrew", Arial, sans-serif;
}
html:lang(ru) body {
    font-family: var(--tamc-font-text);
    font-weight: 400;
}
html:lang(ru) :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"]) {
    --tamc-font: "Noto Sans Hebrew", "Noto Sans Display", Arial, sans-serif;
    font-family: var(--tamc-font);
}
html:lang(ru) :is(p, li, td, input, select, textarea, [class*="description"], .home-main-section__contacts, .contact-card__row):not(:is([class*="title"], [class*="heading"])) {
    font-family: var(--tamc-font-text) !important;
    font-weight: 400;
}
