/* Shared footer treatment: keep the footer identical across every page bundle. */
.site-footer {
  --footer-action-width: min(100%, 380px);
  position: relative;
  z-index: 30;
  margin-top: 0;
  background: #282828 !important;
  color: #fff;
}

.site-footer::before {
  display: none;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(150px, 1fr));
  column-gap: clamp(34px, 4vw, 72px);
  row-gap: 34px;
  align-items: start;
  padding: 42px 56px 44px;
  background: #282828;
}

.site-footer .footer-main > .footer-logo {
  grid-column: 1;
}

.site-footer .footer-logo {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
}

.site-footer .footer-logo img {
  width: min(250px, 100%);
  height: auto;
}

.site-footer .footer-links {
  display: contents;
}

.site-footer .footer-links > div {
  width: 100%;
  min-width: 0;
}

.site-footer .footer-links > div:nth-child(1) {
  grid-column: 2;
}

.site-footer .footer-links > div:nth-child(2) {
  grid-column: 3;
}

.site-footer .footer-links > div:nth-child(3) {
  grid-column: 4;
}

.site-footer .footer-links > div:nth-child(4) {
  grid-column: 5;
  justify-self: start;
}

.site-footer .footer-links h2 {
  margin: 0 0 26px;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1.2;
}

.site-footer .footer-links a {
  display: block;
  width: fit-content;
  margin-bottom: 7px;
  color: #fff;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #bb8b16;
}

.site-footer .footer-utility {
  display: block;
  padding: 0;
  border: 0;
  background: #303030;
  color: #fff;
}

.site-footer .footer-contact-row,
.site-footer .footer-engagement-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding: 28px 56px 34px;
  background: #303030;
}

.site-footer .footer-contact-row .footer-contact {
  grid-column: 1 / 2;
  justify-self: start;
}

.site-footer .footer-contact-row .footer-subscribe {
  grid-column: 3 / 4;
  justify-self: end;
  width: var(--footer-action-width);
  max-width: var(--footer-action-width);
  text-align: left;
}

.site-footer .footer-contact,
.site-footer .footer-social,
.site-footer .footer-experience,
.site-footer .footer-apps {
  color: #fff;
}

.site-footer .footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.site-footer .footer-contact i {
  color: #bb8b16;
  font-size: 1.65rem;
}

.site-footer .footer-subscribe label,
.site-footer .footer-social strong,
.site-footer .footer-experience p,
.site-footer .footer-apps p {
  display: block;
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.site-footer .footer-subscribe label,
.site-footer .footer-apps p {
  width: 100%;
  text-align: left;
}

.site-footer .footer-subscribe > div {
  display: flex;
  width: 100%;
  margin-left: 0;
}

.site-footer .footer-subscribe input {
  min-width: 0;
  flex: 1 1 auto;
}

.site-footer .footer-subscribe button {
  flex: 0 0 120px;
}

.site-footer .footer-subscribe .footer-subscribe-feedback {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.4;
}

.site-footer .footer-experience-form {
  display: contents;
}

.site-footer .footer-experience-feedback {
  display: block;
  min-height: 1.4em;
  margin-top: 8px;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
}

.site-footer .footer-social {
  display: flex;
  grid-column: 1 / 2;
  justify-self: start;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer .footer-social strong {
  flex: 0 0 100%;
}

.site-footer .footer-experience {
  grid-column: 2 / 3;
  justify-self: center;
  max-width: 100%;
  text-align: center;
}

.site-footer .footer-experience > div {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer .footer-apps {
  grid-column: 3 / 4;
  justify-self: end;
  width: var(--footer-action-width);
  max-width: var(--footer-action-width);
  text-align: left;
}

.site-footer .footer-apps > div {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 8px;
}

.site-footer .footer-apps a {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: center;
  margin: 0 56px;
  padding: 28px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.site-footer .footer-bottom p {
  width: 100%;
  margin: 0;
  color: #fff;
  text-align: center;
}

@media (max-width: 1120px) {
  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-footer .footer-main > .footer-logo,
  .site-footer .footer-links > div:nth-child(1),
  .site-footer .footer-links > div:nth-child(2),
  .site-footer .footer-links > div:nth-child(3),
  .site-footer .footer-links > div:nth-child(4) {
    grid-column: auto;
  }

  .site-footer .footer-links {
    display: contents;
  }

  .site-footer .footer-contact-row,
  .site-footer .footer-engagement-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-footer .footer-experience {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-footer .footer-social {
    grid-column: 1 / 2;
    grid-row: 2;
  }

  .site-footer .footer-apps {
    grid-column: 3 / 4;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-main,
  .site-footer .footer-contact-row,
  .site-footer .footer-engagement-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-footer .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    text-align: center;
  }

  .site-footer .footer-links > div,
  .site-footer .footer-links > div:nth-child(4),
  .site-footer .footer-contact-row .footer-contact,
  .site-footer .footer-contact-row .footer-subscribe,
  .site-footer .footer-social,
  .site-footer .footer-experience,
  .site-footer .footer-apps {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    text-align: center;
  }

  .site-footer .footer-contact-row .footer-contact,
  .site-footer .footer-social,
  .site-footer .footer-experience {
    width: 100%;
  }

  .site-footer .footer-contact-row .footer-subscribe,
  .site-footer .footer-apps {
    width: var(--footer-action-width);
  }

  .site-footer .footer-links a {
    width: auto;
    margin-right: auto;
    margin-left: auto;
  }

  .site-footer .footer-subscribe label,
  .site-footer .footer-apps p {
    text-align: center;
  }

  .site-footer .footer-contact {
    justify-content: center;
  }

  .site-footer .footer-subscribe > div {
    display: flex;
    width: 100%;
    margin-left: 0;
  }

  .site-footer .footer-social,
  .site-footer .footer-experience > div,
  .site-footer .footer-apps > div {
    justify-content: center;
  }

  .site-footer .footer-apps a {
    flex: 1 1 0;
    justify-content: center;
  }

  .site-footer .footer-bottom {
    margin: 0 20px;
  }
}

@media (max-width: 420px) {
  .site-footer {
    --footer-action-width: 100%;
  }

  .site-footer .footer-subscribe > div,
  .site-footer .footer-apps > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer .footer-subscribe button {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 18px;
  }

  .site-footer .footer-apps a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  html[dir="ltr"] .site-footer .footer-main,
  html[dir="ltr"] .site-footer .footer-contact-row,
  html[dir="ltr"] .site-footer .footer-engagement-row {
    justify-items: start;
  }

  html[dir="ltr"] .site-footer .footer-links {
    text-align: left;
  }

  html[dir="ltr"] .site-footer .footer-main > .footer-logo,
  html[dir="ltr"] .site-footer .footer-links > div,
  html[dir="ltr"] .site-footer .footer-links > div:nth-child(4),
  html[dir="ltr"] .site-footer .footer-contact-row .footer-contact,
  html[dir="ltr"] .site-footer .footer-contact-row .footer-subscribe,
  html[dir="ltr"] .site-footer .footer-social,
  html[dir="ltr"] .site-footer .footer-experience,
  html[dir="ltr"] .site-footer .footer-apps {
    justify-self: start;
    text-align: left;
  }

  html[dir="ltr"] .site-footer .footer-links a {
    width: fit-content;
    margin-right: 0;
    margin-left: 0;
  }

  html[dir="ltr"] .site-footer .footer-subscribe label,
  html[dir="ltr"] .site-footer .footer-apps p,
  html[dir="ltr"] .site-footer .footer-bottom,
  html[dir="ltr"] .site-footer .footer-bottom p {
    text-align: left;
  }

  html[dir="ltr"] .site-footer .footer-contact,
  html[dir="ltr"] .site-footer .footer-social,
  html[dir="ltr"] .site-footer .footer-experience > div,
  html[dir="ltr"] .site-footer .footer-apps > div {
    justify-content: flex-start;
  }

  html[dir="ltr"] .site-footer .footer-subscribe > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  html[dir="ltr"] .site-footer .footer-subscribe input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    background: #fff;
  }

  html[dir="ltr"] .site-footer .footer-subscribe button {
    flex: 0 0 auto;
    width: auto;
    min-width: 120px;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 18px;
    line-height: 1;
    align-self: start;
  }

  html[dir="ltr"] .site-footer .footer-bottom {
    justify-content: flex-start;
  }
}

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

html[dir="rtl"] .site-footer .footer-main > .footer-logo {
  grid-column: 1;
  justify-self: start;
}

html[dir="rtl"] .site-footer .footer-links > div:nth-child(1) {
  grid-column: 2;
}

html[dir="rtl"] .site-footer .footer-links > div:nth-child(2) {
  grid-column: 3;
}

html[dir="rtl"] .site-footer .footer-links > div:nth-child(3) {
  grid-column: 4;
}

html[dir="rtl"] .site-footer .footer-links > div:nth-child(4) {
  grid-column: 5;
  justify-self: start;
}

html[dir="rtl"] .site-footer .footer-links h2,
html[dir="rtl"] .site-footer .footer-links a,
html[dir="rtl"] .site-footer .footer-contact,
html[dir="rtl"] .site-footer .footer-subscribe,
html[dir="rtl"] .site-footer .footer-subscribe label,
html[dir="rtl"] .site-footer .footer-social,
html[dir="rtl"] .site-footer .footer-social strong,
html[dir="rtl"] .site-footer .footer-apps,
html[dir="rtl"] .site-footer .footer-apps p {
  text-align: right;
}

html[dir="rtl"] .site-footer .footer-links a {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .site-footer .footer-contact-row .footer-contact {
  grid-column: 1 / 2;
  justify-self: start;
}

html[dir="rtl"] .site-footer .footer-contact-row .footer-subscribe {
  grid-column: 3 / 4;
  justify-self: end;
  text-align: right;
}

html[dir="rtl"] .site-footer .footer-subscribe > div {
  direction: ltr;
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .site-footer .footer-subscribe input {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .site-footer .footer-social {
  grid-column: 1 / 2;
  justify-self: start;
  justify-content: flex-start;
}

html[dir="rtl"] .site-footer .footer-apps {
  grid-column: 3 / 4;
  justify-self: end;
  text-align: right;
}

html[dir="rtl"] .site-footer .footer-apps > div {
  justify-content: flex-start;
}

html[dir="rtl"] .site-footer .footer-bottom,
html[dir="rtl"] .site-footer .footer-bottom p {
  text-align: right;
}

@media (max-width: 1120px) {
  html[dir="rtl"] .site-footer .footer-main > .footer-logo,
  html[dir="rtl"] .site-footer .footer-links > div:nth-child(1),
  html[dir="rtl"] .site-footer .footer-links > div:nth-child(2),
  html[dir="rtl"] .site-footer .footer-links > div:nth-child(3),
  html[dir="rtl"] .site-footer .footer-links > div:nth-child(4) {
    grid-column: auto;
  }

  html[dir="rtl"] .site-footer .footer-main > .footer-logo,
  html[dir="rtl"] .site-footer .footer-links > div,
  html[dir="rtl"] .site-footer .footer-links > div:nth-child(4) {
    justify-self: start;
    text-align: right;
  }

  html[dir="rtl"] .site-footer .footer-social {
    grid-column: 1 / 2;
    grid-row: 2;
    justify-self: start;
  }

  html[dir="rtl"] .site-footer .footer-apps {
    grid-column: 3 / 4;
    grid-row: 2;
    justify-self: end;
  }
}

@media (max-width: 640px) {
  html[dir="rtl"] .site-footer .footer-main,
  html[dir="rtl"] .site-footer .footer-contact-row,
  html[dir="rtl"] .site-footer .footer-engagement-row {
    justify-items: start;
  }

  html[dir="rtl"] .site-footer .footer-contact-row,
  html[dir="rtl"] .site-footer .footer-engagement-row {
    row-gap: 30px;
  }

  html[dir="rtl"] .site-footer .footer-links {
    text-align: right;
  }

  html[dir="rtl"] .site-footer .footer-main > .footer-logo,
  html[dir="rtl"] .site-footer .footer-links > div,
  html[dir="rtl"] .site-footer .footer-links > div:nth-child(4),
  html[dir="rtl"] .site-footer .footer-contact-row .footer-contact,
  html[dir="rtl"] .site-footer .footer-contact-row .footer-subscribe,
  html[dir="rtl"] .site-footer .footer-social,
  html[dir="rtl"] .site-footer .footer-experience,
  html[dir="rtl"] .site-footer .footer-apps {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    text-align: right;
  }

  html[dir="rtl"] .site-footer .footer-links a {
    width: fit-content;
    margin-right: 0;
    margin-left: auto;
  }

  html[dir="rtl"] .site-footer .footer-contact,
  html[dir="rtl"] .site-footer .footer-social,
  html[dir="rtl"] .site-footer .footer-apps > div,
  html[dir="rtl"] .site-footer .footer-experience > div {
    justify-content: flex-start;
  }

  html[dir="rtl"] .site-footer .footer-contact {
    direction: rtl;
    width: 100%;
  }

  html[dir="rtl"] .site-footer .footer-contact span {
    text-align: right;
  }

  html[dir="rtl"] .site-footer .footer-subscribe label,
  html[dir="rtl"] .site-footer .footer-experience p,
  html[dir="rtl"] .site-footer .footer-apps p {
    text-align: right;
  }

  html[dir="rtl"] .site-footer .footer-subscribe > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    margin-right: 0;
    margin-left: auto;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  html[dir="rtl"] .site-footer .footer-subscribe input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    background: #fff;
    direction: rtl;
    text-align: right;
  }

  html[dir="rtl"] .site-footer .footer-subscribe button {
    flex: 0 0 auto;
    width: auto;
    min-width: 120px;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 18px;
    line-height: 1;
    justify-self: start;
    align-self: start;
  }

  html[dir="rtl"] .site-footer .footer-social,
  html[dir="rtl"] .site-footer .footer-apps,
  html[dir="rtl"] .site-footer .footer-experience {
    width: 100%;
  }

  html[dir="rtl"] .site-footer .footer-social {
    order: 1;
    grid-row: 1;
  }

  html[dir="rtl"] .site-footer .footer-experience {
    order: 2;
    grid-row: 2;
  }

  html[dir="rtl"] .site-footer .footer-apps {
    order: 3;
    grid-row: 3;
    margin-top: 4px;
  }

  html[dir="rtl"] .site-footer .footer-social,
  html[dir="rtl"] .site-footer .footer-experience {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 12px;
  }

  html[dir="rtl"] .site-footer .footer-social {
    column-gap: 10px;
  }

  html[dir="rtl"] .site-footer .footer-social a,
  html[dir="rtl"] .site-footer .footer-experience button {
    display: inline-grid !important;
    flex: 0 0 auto;
    place-items: center;
    box-sizing: border-box;
    min-width: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    color: #fff;
    text-decoration: none;
  }

  html[dir="rtl"] .site-footer .footer-social a {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 50% !important;
    background: transparent !important;
    font-size: 15px;
  }

  html[dir="rtl"] .site-footer .footer-experience button {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 50% !important;
    background: transparent !important;
    font-size: 20px;
  }

  html[dir="rtl"] .site-footer .footer-social i,
  html[dir="rtl"] .site-footer .footer-experience i,
  html[dir="rtl"] .site-footer .footer-apps i,
  html[dir="rtl"] .back-to-top i {
    display: inline-block !important;
    opacity: 1;
    visibility: visible;
    color: currentColor;
    font-style: normal;
    line-height: 1;
  }

  html[dir="rtl"] .site-footer :is(.fab, .fa-brands) {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
  }

  html[dir="rtl"] .site-footer :is(.fas, .fa-solid, .far, .fa-regular),
  html[dir="rtl"] .back-to-top :is(.fas, .fa-solid) {
    font-family: "Font Awesome 6 Free" !important;
  }

  html[dir="rtl"] .site-footer :is(.fas, .fa-solid),
  html[dir="rtl"] .back-to-top :is(.fas, .fa-solid) {
    font-weight: 900;
  }

  html[dir="rtl"] .site-footer :is(.far, .fa-regular) {
    font-weight: 400;
  }

  html[dir="rtl"] .site-footer .footer-social strong,
  html[dir="rtl"] .site-footer .footer-experience p {
    flex: 0 0 100%;
    margin-bottom: 0;
  }

  html[dir="rtl"] .site-footer .footer-experience > div {
    width: 100%;
    gap: 12px;
  }

  html[dir="rtl"] .site-footer .footer-apps a {
    display: inline-flex !important;
    width: 100%;
    min-height: 42px;
    justify-content: center;
    align-items: center;
    clear: both;
  }

  html[dir="rtl"] .site-footer .footer-bottom {
    justify-content: flex-end;
    text-align: right;
  }

  html[dir="rtl"] .site-footer .footer-bottom p {
    text-align: right;
  }
}
