/*
Theme Name: David Cantor & Assoc.
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Child theme for the Divi theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.0
*/
/****** OPEN SANS HEBREW *******/
:root {
  --color-primary: #79012b;
  --color-secondary: #e5d6db;
  --body-color: #1e2a32;
  --text-dark: var(--body-color);
  --background-color: #f2f0ea;
  --dark-color: #04040b;
}

body {
  font-family: "Open Sans", sans-serif;
}
h4 {
  font-size: 20px !important;
  font-weight: 400;
  line-height: 1.1;
}
.fs-20 {
  font-size: 20px !important;
}
.w-100 {
  width: 100% !important;
}
.d-flex {
  display: flex;
}
.justify-center {
  justify-content: center;
}
.align-items-start {
  align-items: flex-start;
}
.align-items-center {
  align-items: center;
}
body:not(.et-fb):not(.et-bfb) #page-container {
  direction: rtl;
}

#main-header {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.text-left {
  text-align: left !important;
}
.flex-middle {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.column-gap-24 {
  display: flex;
  gap: 24px;
}

.column-gap-24 .et_pb_column {
  margin-right: 0 !important;
}

.four-in-a-row-gap-24 {
  display: flex;
  gap: 24px;
}

.four-in-a-row-gap-24 .et_pb_column {
  width: calc((100% - 72px) / 4) !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.four-in-a-row-gap-24 .et_pb_column:last-child {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mobile-fullwidth-button {
  width: auto;
}

.cantor-icon-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  text-align: center;
}

.cantor-icon-item img {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 10px;
}

.cantor-icon-item h4 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.3;
}

#main-header .et_menu_container.custom-header-layout {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  direction: ltr !important;
  gap: 0;
}

.custom-header-right,
.custom-header-center,
.custom-header-left {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-header-right {
  order: 3;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.custom-header-center {
  order: 2;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  margin-right: 50px;
  margin-left: 50px;
}

.custom-header-left {
  order: 1;
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 10px;
}

#main-header .logo_container {
  position: relative !important;
  float: none !important;
  width: auto !important;
  display: flex !important;
  align-items: center;
}

#main-header #et-top-navigation {
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  align-items: center;
  width: 100%;
}

#main-header #top-menu-nav {
  float: none !important;
  width: 100%;
}

#main-header #top-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  direction: rtl;
  width: 100%;
}

#main-header .mobile_menu_bar {
  display: none;
}

#main-header #et_mobile_nav_menu {
  display: none;
}

.header-social-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.read-more {
  display: inline-block;
  margin-top: 30px;
  width: 100%;
  font-weight: 700;
}
.read-more a {
  color: var(--body-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.read-more a::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("images/icons/chevron-left.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.cantor-breadcrumbs {
  direction: rtl;
  color: #363636;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.cantor-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cantor-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.cantor-breadcrumbs li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("images/icons/chevron-breadcrumbs.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.cantor-breadcrumbs a,
.cantor-breadcrumbs span {
  color: #363636;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

.cantor-aliyah-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  direction: rtl;
}

.cantor-aliyah-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #000;
  color: var(--body-color);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.cantor-aliyah-links img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Service Boxes */
.service-box {
  color: #fff4e3;
  direction: rtl;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 10px;
}

.service-title-area {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-title-area img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 4px;
}

.service-title-area h3 {
  margin: 0;
  color: #fff4e3;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.service-link img {
  width: 24px;
  height: 24px;
}

.service-content p {
  margin-bottom: 15px;
  font-size: 22px;
  line-height: 1.2;
}

.service-content ul {
  margin: 0;
  padding-right: 20px;
}

.service-content li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.2;
}

ul.expertise-list {
  padding-right: 20px;
}
ul.expertise-list li {
  margin-bottom: 15px;
  line-height: 1.2;
}
/* =========================

   Custom 56 / 44 Row

========================= */

.row-56-44 {
  display: flex;

  gap: 24px;
}

.row-56-44 .et_pb_column_3_5 {
  width: calc(56% - 12px) !important;
  margin-right: 0 !important;
}

.row-56-44 .et_pb_column_2_5 {
  width: calc(44% - 12px) !important;
  margin-right: 0 !important;
}

/* =========================

   Custom 50 / 50 Row

========================= */

.row-50-50 {
  display: flex;
  gap: 24px;
}

.row-50-50 .et_pb_column {
  width: calc(50% - 12px) !important;
  margin-right: 0 !important;
}

/* End of Service Boxes */

/*** Featured boxes ***/
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  direction: rtl;
}

.feature-box {
  padding: 44px 50px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-box.dark {
  background: var(--color-primary);
  color: #fff;
}

.feature-box.light {
  background: #d9cfd3;
  color: var(--body-color);
}

.feature-box h3 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.feature-box.dark h3 {
  color: #fff;
}

.feature-box p {
  margin: 0;
  font-size: 17px;
}
/*** end of Featured boxes ***/

.cantor-customer-logos-section {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 26px 0 34px;
  overflow: hidden;
  direction: ltr;
}

.cantor-customer-logos {
  direction: rtl;
}

.cantor-customer-logos:not(.slick-initialized) {
  display: flex;
  gap: 24px;
  overflow: hidden;
}

.cantor-customer-logo-slide {
  padding: 0 12px;
}

.cantor-customer-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(121, 1, 43, 0.08);
}

.cantor-customer-logo-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.86;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.cantor-customer-logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.cantor-slick-unavailable .cantor-customer-logo-slide {
  flex: 0 0 18%;
}

.et_pb_toggle_title {
  padding-right: 0 !important;
}

#q-and-a + .et_pb_row .et_pb_accordion .et_pb_toggle_title,
body.home #page-container .et_pb_accordion .et_pb_toggle_title,
#q-and-a .et_pb_accordion .et_pb_toggle_title,
.faq-row .et_pb_accordion .et_pb_toggle_title,
.faq-row.et_pb_accordion .et_pb_toggle_title {
  padding-right: 0 !important;
  padding-left: 40px !important;
  text-align: right;
}

#q-and-a + .et_pb_row .et_pb_accordion .et_pb_toggle_title:before,
body.home #page-container .et_pb_accordion .et_pb_toggle_title:before,
#q-and-a .et_pb_accordion .et_pb_toggle_title:before,
.faq-row .et_pb_accordion .et_pb_toggle_title:before,
.faq-row.et_pb_accordion .et_pb_toggle_title:before {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 50%;
  right: auto;
  left: 0;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  background-image: url("images/icons/chevron-up-dark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

#q-and-a
  + .et_pb_row
  .et_pb_accordion
  .et_pb_toggle_open
  .et_pb_toggle_title:before,
body.home
  #page-container
  .et_pb_accordion
  .et_pb_toggle_open
  .et_pb_toggle_title:before,
#q-and-a .et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before,
.faq-row .et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before,
.faq-row.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
  transform: rotate(0deg) !important;
}

body.home
  #page-container
  .et_pb_accordion
  .et_pb_toggle_close
  .et_pb_toggle_title:before,
.faq-row .et_pb_accordion .et_pb_toggle_close .et_pb_toggle_title:before,
.faq-row.et_pb_accordion .et_pb_toggle_close .et_pb_toggle_title:before {
  transform: rotate(180deg) !important;
}

/* Custom Footer */
#main-footer {
  background: var(--dark-color);
  color: #fff;
}

.cantor-footer {
  direction: rtl;
  padding: 72px 0 64px;
}

.cantor-footer .disclaimer {
  width: 90%;
  max-width: 1280px;
  margin: 30px auto;
}

.cantor-footer__inner {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.cantor-footer__column {
  min-width: 0;
}

.cantor-footer__logo {
  display: inline-block;
  margin-bottom: 34px;
}

.cantor-footer__logo img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}

.cantor-footer__address,
.cantor-footer__contact-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cantor-footer__address img,
.cantor-footer__contact-list img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  margin-top: 2px;
}

.cantor-footer__address h4 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 18px !important;
  line-height: 1.45;
  font-weight: 600;
}

.cantor-footer__title {
  margin: 0 0 24px;
  padding: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.cantor-footer__contact-list,
.cantor-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cantor-footer__contact-list li,
.cantor-footer__menu li {
  margin: 0 0 14px;
  padding: 0;
}

.cantor-footer__contact-list a,
.cantor-footer__menu a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.45;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.cantor-footer__contact-list a:hover,
.cantor-footer__menu a:hover {
  color: #fff;
}

.cantor-footer__contact-list span {
  direction: ltr;
  unicode-bidi: embed;
}

.large-contact-form-section {
  position: relative;
}

.large-contact-form-section:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 120px;
  background-image: url("images/icons/footer-decoration.svg");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  transform: translateY(-84%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle Motion */
body:not(.et-fb):not(.et-bfb) .cantor-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

body:not(.et-fb):not(.et-bfb) .cantor-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-box,
.service-box,
.cantor-customer-logo-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.feature-box:hover,
.service-box:hover,
.cantor-customer-logo-card:hover {
  transform: translateY(-3px);
}

.read-more a img,
.custom-form .form-submit img,
.cantor-footer__contact-list img,
.header-social-icon img {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.read-more a:hover img,
.custom-form .form-submit button:hover img,
.cantor-footer__contact-list a:hover img,
.header-social-icon:hover img {
  transform: translateX(-3px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    scroll-behavior: auto !important;
  }

  body:not(.et-fb):not(.et-bfb) .cantor-reveal {
    opacity: 1 !important;
  }
}

/* =========================
   Global Form Structure
========================= */

.custom-form {
  direction: rtl;
}

.custom-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.custom-form .form-row-3 .form-field {
  width: calc((100% - 40px) / 3);
}

.custom-form .form-field {
  width: 100%;
}

.custom-form label {
  display: block;
  margin-bottom: 10px;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.footer-credit {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 0;
}
/* =========================
   Fields
========================= */

.custom-form input,
.custom-form textarea,
.custom-form select {
  width: 100%;

  border: none;
  outline: none;
  box-shadow: none;

  background: #fff;

  font-size: 16px;
  font-family: inherit;
  color: var(--body-color);

  padding: 0 20px;

  border-radius: 0;

  transition: all 0.2s ease;
}

.custom-form input,
.custom-form select {
  height: 56px;
}

.custom-form select {
  appearance: none;
  background-image: url("images/icons/chevron-down.svg");
  background-position: left 20px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  padding-left: 42px;
}

.custom-form textarea {
  min-height: 180px;
  padding-top: 18px;
  resize: vertical;
}

/* =========================
   Dark Background Version
========================= */

.custom-form-dark label {
  color: #f7f2eb;
}

/* =========================
   Light Background Version
========================= */

.custom-form-light label {
  color: var(--text-dark);
}

/* =========================
   Submit Button
========================= */

/* =========================
   Submit Button
========================= */

.custom-form .form-submit {
  margin-top: 10px;
}

.custom-form .form-submit button {
  width: 200px;
  height: 59px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: none;
  background: #ffffff;

  cursor: pointer;

  padding: 0;

  font-size: 18px;
  font-weight: 700;
  font-family: inherit;

  color: var(--body-color);

  transition: all 0.2s ease;
}

.custom-form-light .form-submit button,
.custom-form-light input[type="submit"] {
  background: var(--color-primary);
  color: #f7f2eb;
}

.custom-form-light .form-submit img {
  content: url("images/icons/chevron-left-light.svg");
}

.custom-form .form-submit button:hover {
  opacity: 0.9;
}

.custom-form .form-submit img {
  width: 18px;
  height: 18px;

  object-fit: contain;
}

.cantor-aliyah-form .form-row {
  align-items: flex-start;
}

.cantor-aliyah-form .form-radio-field .wpcf7-form-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0;
  background: transparent;
}

.cantor-aliyah-form .form-radio-field .wpcf7-list-item {
  flex: 1 1 0;
  margin: 0;
}

.cantor-aliyah-form .form-radio-field .wpcf7-list-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  margin: 0;
  border: 1px solid #000;
  background: #fff;
  color: var(--body-color);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.cantor-aliyah-form
  .form-radio-field
  .wpcf7-list-item
  label:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #f7f2eb;
}

.cantor-aliyah-form input[type="radio"] {
  position: static;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 1;
  pointer-events: auto;
  accent-color: var(--color-primary);
}

.cantor-aliyah-form .form-radio-field .wpcf7-list-item label:focus-within {
  outline: 2px solid var(--body-color);
  outline-offset: 3px;
}

.cantor-aliyah-form .form-submit-field {
  align-self: end;
}

.cantor-aliyah-form .form-submit {
  margin-top: 0;
}

.cantor-aliyah-form .form-submit button {
  width: 100%;
}
.custom-form .form-submit img {
  width: 18px;
  height: 18px;

  object-fit: contain;
}

/* =========================
   Contact Form 7 Fixes
========================= */

.custom-form .wpcf7-spinner {
  display: none;
}

.custom-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 14px;
}

.custom-form .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 15px !important;
}

/* Presentation Download Archive */
.cantor-presentations-page {
  direction: rtl;
  min-height: 100vh;
  background: #f2f0ea !important;
  color: var(--body-color);
}

#main-content.cantor-presentations-page {
  background: #f2f0ea !important;
}

.cantor-presentations-container {
  width: min(1520px, calc(100% - 48px));
  margin: 0 auto;
}

.cantor-presentations-hero {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--color-primary);
}

.cantor-presentations-hero h1 {
  margin: 0;
  padding: 0;
  color: #f7f2eb;
  font-size: 70px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.cantor-presentations-section {
  background: #f2f0ea;
  padding: 46px 0 86px;
}

.cantor-presentations-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 34px;
  padding: 0;
}

.cantor-presentations-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 18px;
  border: 1px solid rgba(30, 42, 50, 0.34);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.cantor-presentations-filter input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.cantor-presentations-filter span {
  color: var(--body-color);
  font-size: 17px;
  line-height: 1.2;
}

.cantor-presentations-filter:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(121, 1, 43, 0.08);
}

.cantor-presentations-filter input:focus-visible {
  outline: 2px solid var(--body-color);
  outline-offset: 3px;
}

.cantor-presentations-list {
  display: grid;
  gap: 0;
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
  background: #f2f0ea;
  margin-top: 80px !important;
}

.cantor-presentation-item {
  margin: 0 !important;
  padding: 0 !important;
  border-width: 0 0 1px 0 !important;
  border-style: solid !important;
  border-color: rgba(30, 42, 50, 0.22) !important;
  background: #f2f0ea !important;
}

.cantor-presentation-item__toggle {
  width: 100%;
  min-height: 78px;
  display: block;
  position: relative;
  padding: 24px 0 24px 40px !important;
  border: 0;
  background: transparent;
  color: #161617;
  font: inherit;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  cursor: pointer;
}

.cantor-presentations-list .cantor-presentation-item__toggle:before {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 50%;
  right: auto;
  left: 0;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  background-image: url("images/icons/chevron-up-dark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  transform: rotate(180deg) !important;
  transition: transform 0.2s ease;
}

.cantor-presentations-list
  .cantor-presentation-item.et_pb_toggle_close
  .cantor-presentation-item__toggle:before {
  transform: rotate(180deg) !important;
}

.cantor-presentations-list
  .cantor-presentation-item.et_pb_toggle_open
  .cantor-presentation-item__toggle:before {
  transform: rotate(0deg) !important;
}

.cantor-presentation-item__panel {
  display: block;
  padding: 0 0 28px !important;
}

.cantor-presentation-item__panel[hidden] {
  display: none !important;
}

.cantor-presentation-item__content {
  max-width: 920px;
  color: var(--body-color);
  font-size: 19px;
  line-height: 1.65;
}

.cantor-presentation-item__content ul,
.cantor-presentation-item__content ol {
  display: block;
  margin: 0;
  padding: 0 22px 18px 0 !important;
  list-style-position: outside;
}

.cantor-presentation-item__content ul {
  list-style-type: disc;
}

.cantor-presentation-item__content ol {
  list-style-type: decimal;
}

.cantor-presentation-item__content li {
  display: list-item;
  margin-bottom: 8px;
}

.cantor-presentation-item__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 24px;
}

.cantor-presentation-item__terms span {
  padding: 5px 11px;
  border: 1px solid rgba(121, 1, 43, 0.28);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
}

.cantor-posts-page .cantor-presentations-list {
  gap: 34px;
}

.cantor-post-archive-item {
  margin-bottom: 34px;
  padding: 0 0 34px;
  box-shadow: 0 1px 0 0 rgba(204, 203, 197, 1);
}

.cantor-post-archive-item:last-child {
  margin-bottom: 0;
}

.cantor-post-archive-item__inner {
  padding-right: 24px;
  box-shadow: 2px 0 0 0 rgba(137, 30, 67, 1);
}

.cantor-post-archive-item__terms {
  margin: 0 0 12px;
}

.cantor-post-archive-item__title {
  margin: 0;
  padding: 0;
  color: #161617;
  font-size: 20px !important;
  line-height: 1.35;
  font-weight: 700;
}

.cantor-post-archive-item__title a {
  color: inherit;
  text-decoration: none;
}

.cantor-post-archive-item__separator {
  height: 1px;
  margin: 18px 0 34px;
  background: rgba(242, 240, 234, 1);
}

.cantor-post-archive-item__excerpt {
  margin: 0 0 18px;
  padding: 0;
  color: var(--body-color);
  font-size: 17px;
  line-height: 1.6;
}

.cantor-post-archive-item__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--body-color);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.cantor-post-archive-item__read-more:after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("images/icons/chevron-left.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.cantor-presentation-request,
.cantor-presentations-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff4e3;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.cantor-presentation-request:hover,
.cantor-presentations-load-more:hover {
  background: transparent;
  color: var(--color-primary);
}

.cantor-presentations-actions {
  margin-top: 32px;
  text-align: center;
}

.cantor-presentations-empty {
  margin: 26px 0 0;
  color: var(--body-color);
  font-size: 20px;
  text-align: center;
}

.cantor-presentations-page.is-loading .cantor-presentations-list {
  opacity: 0.55;
}

.cantor-presentations-load-more:disabled {
  cursor: wait;
  opacity: 0.55;
}

.cantor-modal-open {
  overflow: hidden;
}

.cantor-presentation-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  direction: rtl;
}

.cantor-presentation-modal.is-open {
  display: flex;
}

.cantor-presentation-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 56, 76, 0.3);
}

.cantor-presentation-modal__dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 40px;
  background: #fffaf0;
  color: var(--body-color);
  box-shadow: 8px 24px 64px 0 rgba(0, 0, 0, 0.15);
}

.cantor-presentation-modal__close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(30, 42, 50, 0.24);
  background: transparent;
  background-image: url("images/icons/arrow-left-dark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.cantor-presentation-modal h2 {
  margin: 0 0 26px;
  padding: 0 0 0 52px;
  color: var(--body-color);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 600;
}

.cantor-presentation-modal.has-success h2 {
  display: none;
}

.cantor-presentation-modal .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.cantor-presentation-modal .wpcf7-form p {
  margin: 0;
  padding: 0;
}

.cantor-presentation-modal .wpcf7-form p:has(input[type="submit"]) {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.cantor-presentation-modal .wpcf7-spinner {
  display: block;
  margin: 10px 0 0 !important;
}

.cantor-presentation-modal .wpcf7-form > input[type="hidden"] {
  display: none;
}

.cantor-presentation-modal input[type="text"],
.cantor-presentation-modal input[type="email"],
.cantor-presentation-modal input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(30, 42, 50, 0.28);
  background: #fff;
  color: var(--body-color);
  font-size: 16px;
}

.cantor-presentation-modal input[type="submit"] {
  width: calc((100% - 48px) / 4);
  min-height: 50px;
  padding: 12px 24px 12px 52px;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  background-image: url("images/icons/chevron-left-light.svg");
  background-repeat: no-repeat;
  background-position: left 22px center;
  background-size: 18px 18px;
  color: #fff4e3;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.cantor-presentation-success {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cantor-presentation-success img {
  width: 72px;
  height: 72px;
  margin: 0 0 22px;
  object-fit: contain;
}

.cantor-presentation-success p {
  max-width: 560px;
  margin: 0;
  padding: 0;
  color: #161617;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 600;
}

.cantor-presentation-form-missing {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(121, 1, 43, 0.24);
  background: rgba(121, 1, 43, 0.06);
  color: var(--color-primary);
}

@media (max-width: 980px) {
  #main-header {
    height: 65px !important;
    min-height: 65px;
  }

  #main-header .et_menu_container.custom-header-layout {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 32px, 1520px);
    height: 65px;
    min-height: 65px;
    direction: ltr !important;
  }

  .custom-header-left,
  .custom-header-right,
  .custom-header-center {
    display: flex !important;
    align-items: center;
    min-width: 0;
  }

  .custom-header-left {
    order: 1;
    flex: 1 1 0;
    justify-content: flex-start;
    gap: 16px;
  }

  .custom-header-right {
    order: 2;
    flex: 0 0 auto;
    justify-content: center;
  }

  .custom-header-center {
    order: 3;
    flex: 1 1 0;
    justify-content: flex-end;
    margin: 0;
  }

  #main-header .logo_container,
  #main-header #et-top-navigation {
    height: 65px !important;
  }

  #main-header #et-top-navigation {
    justify-content: flex-end;
    width: auto;
  }

  #main-header #et_mobile_nav_menu,
  #main-header .mobile_nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 32px;
    height: 32px;
  }

  #main-header .select_page {
    display: none !important;
  }

  #main-header #top-menu-nav,
  #main-header #top-menu {
    display: none !important;
  }

  #main-header .mobile_menu_bar {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    line-height: 1;
  }

  #main-header .mobile_menu_bar:before {
    top: auto;
    font-size: 32px;
  }

  #main-header #mobile_menu.et_mobile_menu {
    position: fixed !important;
    top: 65px !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    width: 100vw !important;
    max-height: calc(100dvh - 65px);
    margin: 0 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    text-align: right;
    z-index: 99999;
  }

  .header-social-icon img {
    width: 32px;
    height: 32px;
  }

  .mobile-reverse-columns {
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  .mobile-reverse-columns > .et_pb_column {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .mobile-fullwidth-button,
  .mobile-fullwidth-button.et_pb_button,
  .mobile-fullwidth-button .et_pb_button,
  .mobile-fullwidth-button a {
    width: 100% !important;
  }

  .mobile-fullwidth-button.et_pb_button,
  .mobile-fullwidth-button .et_pb_button,
  .mobile-fullwidth-button a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: rtl;
    text-align: center;
  }

  .mobile-fullwidth-button.et_pb_button,
  .mobile-fullwidth-button .et_pb_button {
    padding-right: 1em !important;
    padding-left: 1em !important;
  }

  .mobile-fullwidth-button.et_pb_button:after,
  .mobile-fullwidth-button .et_pb_button:after,
  body
    #page-container
    .et_pb_section
    .mobile-fullwidth-button.et_pb_button:after,
  body
    #page-container
    .et_pb_section
    .mobile-fullwidth-button
    .et_pb_button:after {
    content: none !important;
    display: none !important;
  }

  .mobile-fullwidth-button.et_pb_button:before,
  .mobile-fullwidth-button .et_pb_button:before,
  body
    #page-container
    .et_pb_section
    .mobile-fullwidth-button.et_pb_button:before,
  body
    #page-container
    .et_pb_section
    .mobile-fullwidth-button
    .et_pb_button:before {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    opacity: 1 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: inherit !important;
    transform: none !important;
    order: 2;
  }

  .mobile-column-padding-32 {
    padding: 32px !important;
  }

  .row-56-44,
  .row-50-50,
  .four-in-a-row-gap-24 {
    flex-direction: column;

    gap: 24px;
  }

  .row-56-44 .et_pb_column_3_5,
  .row-56-44 .et_pb_column_2_5,
  .row-50-50 .et_pb_column,
  .four-in-a-row-gap-24 .et_pb_column {
    width: 100% !important;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-box {
    min-height: auto;
    padding: 40px 30px;
  }

  .feature-box h3 {
    font-size: 34px;
  }

  .feature-box p {
    font-size: 18px;
  }

  .cantor-customer-logos-section {
    width: auto;
    max-width: 100%;
    margin-right: calc(50% - 50%);
    margin-left: calc(50% - 50%);
    padding: 20px 0 28px;
    overflow-x: hidden;
  }

  .cantor-customer-logos,
  .cantor-customer-logos .slick-list {
    overflow: hidden;
  }

  .cantor-customer-logos .slick-track {
    max-width: none;
  }

  .cantor-customer-logo-card {
    min-height: 104px;
    padding: 16px;
  }

  .cantor-slick-unavailable .cantor-customer-logo-slide {
    flex-basis: 30%;
  }

  .cantor-footer {
    padding: 56px 0;
  }

  .cantor-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 36px;
  }

  .custom-form .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .custom-form .form-row-3 .form-field {
    width: 100%;
  }
}

@media (max-width: 767px) {
  html,
  body,
  #page-container,
  #et-main-area,
  #main-content,
  .entry-content,
  .et-l,
  .et_builder_inner_content,
  .et_pb_section {
    max-width: 100%;
    overflow-x: hidden;
  }

  h2,
  .et_pb_text h2 {
    font-size: 38px !important;
    font-weight: 600 !important;
  }

  .et_pb_slider .et-pb-arrow-prev,
  .et_pb_slider .et-pb-arrow-next {
    display: none !important;
  }

  .et_pb_module.et_pb_image[style*="position: absolute"],
  .et_pb_module.et_pb_image[style*="position:absolute"] {
    max-width: 100%;
  }

  .et_pb_row {
    width: 90% !important;
  }
  .cantor-presentations-container {
    width: min(100% - 32px, 1520px);
  }

  .cantor-presentations-hero {
    height: 180px;
  }

  .cantor-presentations-hero h1 {
    font-size: 42px;
  }

  .cantor-presentations-section {
    padding: 32px 0 58px;
  }

  .cantor-presentations-filter {
    width: 100%;
  }

  .cantor-presentation-item__toggle {
    min-height: 66px;
    padding: 18px 0 18px 38px !important;
    font-size: 21px !important;
  }

  .cantor-presentation-item__panel {
    padding: 0 0 24px !important;
  }

  .cantor-presentation-modal {
    padding: 16px;
  }

  .cantor-presentation-modal__dialog {
    padding: 58px 22px 26px;
  }

  .cantor-presentation-modal__close {
    top: 14px;
    left: 18px;
    width: 30px;
    height: 30px;
    background-size: 16px 16px;
  }

  .cantor-presentation-modal h2 {
    padding-left: 0;
    font-size: 23px;
  }

  .cantor-presentation-modal .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .cantor-presentation-modal input[type="submit"] {
    width: 100%;
  }

  .service-header {
    position: relative;
    display: block;
    min-height: 42px;
  }

  .service-title-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .service-title-area img {
    margin-top: 0;
  }

  .service-link {
    position: absolute;
    top: 0;
    left: 0;
  }

  .service-title-area h3 {
    width: 100%;
  }

  .cantor-icon-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
  }

  .cantor-icon-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .cantor-icon-item img {
    flex: 0 0 32px;
    margin: 0;
  }

  .cantor-icon-item h4 {
    flex: 1 1 auto;
  }

  .cantor-customer-logo-slide {
    padding: 0 8px;
  }

  .cantor-customer-logo-card img {
    max-height: 64px;
  }

  .cantor-slick-unavailable .cantor-customer-logo-slide {
    flex-basis: 42%;
  }

  .cantor-footer__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cantor-footer__logo {
    margin-bottom: 24px;
  }

  .cantor-footer__title {
    margin-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .cantor-icon-row {
    gap: 14px;
  }

  .cantor-slick-unavailable .cantor-customer-logo-slide {
    flex-basis: 70%;
  }
}

@media (min-width: 981px) {
  #main-header {
    height: 96px !important;
    min-height: 96px;
  }

  #main-header .et_menu_container.custom-header-layout {
    height: 96px;
    min-height: 96px;
  }

  #main-header .logo_container,
  #main-header #et-top-navigation,
  #main-header #top-menu-nav,
  #main-header #top-menu {
    height: 96px !important;
  }

  #main-header #et-top-navigation {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #main-header #top-menu > li {
    display: flex;
    align-items: center;
    height: 96px;
    padding-bottom: 0;
    position: relative;
  }

  #main-header #top-menu > li > a {
    display: flex;
    align-items: center;
    height: 96px;
    padding-bottom: 0 !important;
    line-height: 1.2;
  }

  #main-header #top-menu > .menu-item-has-children > a:first-child:after {
    top: 50% !important;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  #main-header #top-menu > li > ul.sub-menu {
    top: 100% !important;
    bottom: auto !important;
    right: 0;
    left: auto;
  }

  #main-header #top-menu li li.menu-item-has-children > a:first-child:after {
    top: 50% !important;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  #main-header #top-menu li li ul.sub-menu {
    top: 0 !important;
    bottom: auto !important;
  }
}
