body {
  background-color: #fff;
}

/* ══════════════════════════════════════════
   Header
   ══════════════════════════════════════════ */

#header-logo {
  position: relative;
  background-color: var(--color-header-background);
  border-bottom: 3px solid var(--color-button-primary, #A71F2D);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.header-logo-inner {
  position: relative;
  z-index: 2;
  gap: 8px;
  padding: 20px 16px;
}

.header-logo-img {
  max-height: 80px;
}

.header-subtitle {
  font-family: var(--font-bold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--color-dark-second-grey);
}

.header-body {
  margin: 20px auto 8px;
  padding: 0 24px;
}

.header-body h2 {
  margin: 0;
  color: var(--color-commune-header); /*#3d4547;*/
  font-family: 'Euclid Flex', 'TradeGothic Bold', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════
   Typography
   ══════════════════════════════════════════ */
h1 {
  font-size: 24px;
  color: #3d4547;
  font-family: 'Euclid Flex', 'TradeGothic Bold', sans-serif;
}

h2 {
  font-size: 20px;
  color: #3d4547;
}

h3,
.left-body-panel-desc {
  color: #3d4547;
}

h3 {
  font-size: 18px;
}

/* ══════════════════════════════════════════
   Content colors
   ══════════════════════════════════════════ */
.single-icon,
.left-body-panel-desc,
#translation_adult_management,
#translation_children_management,
#translation_start_comment,
#translation_title_order_card,
#translation_title_payment_page,
#translation_all_infos_correct,
.content-create-card-info-amount {
  color: var(--color-main);
}

/* ══════════════════════════════════════════
   Footer
   ══════════════════════════════════════════ */
#footer {
  background: #fff;
  padding: 32px 20px 24px;
  text-align: center;
}

#footer .footer-content {
  max-width: 760px;
  gap: 28px;
}

#footer-note {
  font-weight: 700;
  margin-bottom: 4px;
}

#footer-links {
  gap: 42px;
  align-items: flex-start;
}

#footer-first-block,
#footer-second-block {
  display: grid;
  grid-template-rows: 70px auto;
  justify-items: center;
  align-items: start;
  gap: 8px;
  max-width: 300px;
  text-align: left;
}

#footer-first-block img,
#footer-second-block img {
  max-height: 58px;
  width: auto;
  margin: 0;
  align-self: center;
}

#footer p,
#footer .footer_contact {
  margin: 0;
  line-height: 1.35;
  text-align: left;
  width: 100%;
}

#footer-copyright {
  margin-top: 4px !important;
  gap: 4px;
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: center;
}

#translation_copyright {
  margin: 0;
  text-align: center;
}

/* ══════════════════════════════════════════
   Cards & buttons
   ══════════════════════════════════════════ */
#available-card-management {
  border-bottom-color: var(--color-main);
}

.action-button {
  border: 0;
}

.enabled-action-button,
.disabled-action-button {
  color: var(--color-second);
  width: 100%;
}

/* ══════════════════════════════════════════
   Lang selector
   ══════════════════════════════════════════ */
.menu-lang-button {
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #fefefe;
  margin-top: 0;
}

.menu-lang-button .bi-chevron-down,
.menu-lang-button .bi-globe {
  -webkit-text-stroke: 2px;
}

.menu-lang-button .bi-globe {
  margin-right: 2px;
}

.menu-lang-button .menu-lang-content {
  box-shadow: 0 5px 10px #8080804f;
}

.menu-lang-content {
  border: 0;
  background-color: #fefefe;
}

#current-lang {
  color: var(--color-button-secondary);
  /* font-family: 'TradeGothic Bold', sans-serif; */
  font-size: 20px;
  text-transform: uppercase;
}

.menu-lang-button {
  display: flex;
  justify-content: space-around;
}

.menu-lang-button > img,
.menu-lang-button > span {
  align-self: center;
}

.lang-card-element {
  width: fit-content;
  height: fit-content;
  /* min-height: 13px; */
  align-self: flex-start;
}

/* ══════════════════════════════════════════
   Theme specific
   ══════════════════════════════════════════ */
#translation_home_error,
#translation_payment_error {
  color: var(--color-red);
}

.card-guest-body {
  padding-top: 10px;
}

.card-guest-header {
  color: var(--color-second-light);
  font-weight: bold;
  margin-bottom: 5px;
}

#translation_title_home_page {
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  line-height: 30px;
  margin-bottom: 25px;
}

#send_cards,
#download_cards,
#translation_processing_cards_info,
#translation_fail_processing_cards_info,
#translation_fail_processing_cards_info_bold {
  background-color: var(--color-main);
  color: var(--color-second-light);
}

#card-and-discount {
  display: inline;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin: auto;
  width: 100%;
  height: 200px;
}

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */


@media (max-width: 800px) {
  #header-logo {
    height: 120px;
    margin: 0 !important;
  }

  .header-logo-inner {
    gap: 10px;
    padding: 6px 16px;
  }

  .header-logo-img {
    height: 40px;
  }

  .header-subtitle {
    font-size: 0.62rem;
    letter-spacing: 1.2px;
  }

  .header-body {
    margin: 8px auto 0;
    padding: 0 0px;
  }

  .header-body h2 {
    font-size: 1.15rem;
    line-height: 0.2;
  }  

  h1 {
    font-size: 22px;
  }
}

@media only screen and (max-width: 800px) {
  .body-content > .title h1,
  .body-content > .title h2,
  .body-content > .title h2.text-2xl\! {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
}