
/* --------------------------------------------------------------------
   DESIGN TOKENS (from m24-root.css)
   -------------------------------------------------------------------- */
:root {
  /* Colors */
  --m24-white: #fff;
  --m24-off-white: #fafafa;
  --m24-black: #000;
  --m24-theme: #2d765b;
  --m24-off-black: #161616;
  --m24-light-gray: #fafafa;
  --m24-light-mid-gray: #e8e8e8;
  --m24-mid-gray: #b3b3b3;
  --m24-dark-mid-gray: #6d6d6d;
  --m24-dark-gray: #414141;

  /* Spacing */
  --grid-gutter: 8px;
  --grid-margin: 16px;
  --spacer-lg: 24px;
  --spacer-md: 16px;
  --spacer-sm: 8px;
  --spacer-xs: 8px;
  --spacer-2xs: 4px;

  /* Container */
  --container-padding: 16px;
}

@media (min-width: 768px) {
  :root {
    --grid-gutter: 12px;
    --grid-margin: 24px;
    --spacer-lg: 32px;
    --spacer-md: 24px;
    --spacer-sm: 16px;
    --container-padding: 24px;
  }
}

@media (min-width: 1312px) {
  :root {
    --grid-gutter: 16px;
    --grid-margin: 32px;
    --container-padding: 32px;
  }
}

/* --------------------------------------------------------------------
   LIGHT-THEME — no variable overrides needed.
   The :root tokens above are already the light values, so
   .ui-footer-actions inherits them directly.
   -------------------------------------------------------------------- */


/* --------------------------------------------------------------------
   DONATE BUTTON — .ui-footer-donate
   -------------------------------------------------------------------- */
.ui-footer-donate {
  border: 5px solid var(--m24-theme);
  border-radius: 0;
  font-weight: 600;
  margin-bottom: var(--spacer-lg);   /* Mobile: space below before language box */
  max-width: 800px;
  padding: 8px 24px;
  position: relative;
  text-align: center;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  font-size: 16px;
  line-height: 1.5;
}


.ui-footer-donate {
  height: 61px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}


/* Remove bottom margin once inline */
@media (min-width: 768px) {
  .ui-footer-donate {
    margin-bottom: 0;
  }
}

/* Default link colors */
/*
.ui-footer-donate:link,
.ui-footer-donate:visited {
  color: var(--m24-black);
  text-decoration: none;
    background-color: white;
}
*/

/* DEFAULT — what your current hover is */
.ui-footer-donate {
  background-color: var(--m24-theme);
  color: var(--m24-white);
}


.mzp-c-button-icon-text {
  color: var(--m24-white);
  transition: color 0.15s ease;
}


.ui-footer-donate .mzp-c-button-icon-start path {
  fill: var(--m24-white);
}


/* HOVER — what your old default should be */
.ui-footer-donate:hover,
.ui-footer-donate:focus,
.ui-footer-donate:active,
.ui-footer-donate:focus-visible {
  background-color: transparent;
  border: 5px solid var(--m24-white);
  color: var(--m24-white);
  outline: none;
}

.ui-footer-donate:hover .mzp-c-button-icon-text,
.ui-footer-donate:focus .mzp-c-button-icon-text,
.ui-footer-donate:active .mzp-c-button-icon-text,
.ui-footer-donate:focus-visible .mzp-c-button-icon-text {
  color: var(--m24-white);
}

.ui-footer-donate:hover .mzp-c-button-icon-start path,
.ui-footer-donate:focus .mzp-c-button-icon-start path,
.ui-footer-donate:active .mzp-c-button-icon-start path,
.ui-footer-donate:focus-visible .mzp-c-button-icon-start path {
  fill: var(--m24-white);
}


/* Focus ring (accessibility) */
.ui-footer-donate:focus-visible {
  outline: 2px solid var(--m24-black);
  outline-offset: 2px;
}


/* --------------------------------------------------------------------
   BUTTON ICON HELPERS — .mzp-c-button-icon-start / -text
   -------------------------------------------------------------------- */
.mzp-c-button-icon-start {
  display: inline-block;
  font-size: 1em;
  height: 2em;
  line-height: 1em;
  vertical-align: baseline;
  width: 1em;
  margin-left: 0;
  margin-right: 0.5ch;
  flex-shrink: 0;
}

.mzp-c-button-icon-start img,
.mzp-c-button-icon-start svg {
  height: 100%;
  margin-bottom: -0.15em;
  width: 100%;
}


/* --------------------------------------------------------------------
   LANGUAGE SWITCHER WRAPPER — .ui-footer-language
   -------------------------------------------------------------------- */
.ui-footer-language {
  position: relative;
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------
   LANGUAGE PLACEHOLDER BOX — .language-placeholder
   An empty square box with the original border style.
   Content to be replaced in the future.
   -------------------------------------------------------------------- */
.language-placeholder {
  /* Square proportions — adjust size as needed */
  width: 40px;
  height: 40px;

  /* Border matches the language switcher styling from the original */
  border: 2px solid var(--m24-off-black);

  /* Square corners — matching the original selector's border-radius: 0 */
  border-radius: 0;

  /* Transparent interior — nothing inside yet */
  background: transparent;

  display: block;
  box-sizing: border-box;

  /* Subtle hover cue so the placeholder reads as interactive */
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.language-placeholder:hover {
  border-color: var(--m24-black);
}

