.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 28px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.site-header nav {
  display: none;
}

.language-switcher a {
  min-width: 34px;
  padding: 8px 9px;
  border: 1px solid transparent;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-switcher a[aria-current="true"] {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.language-switcher a:hover {
  color: var(--gold);
}

.header-programme-link {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 10px 18px;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  transition: border-color 0.2s, color 0.2s;
}

.header-programme-link svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.header-programme-link:hover,
.header-programme-link:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 620px) {
  .header-programme-link {
    padding: 8px 10px;
  }

  .header-programme-link span {
    display: none;
  }
}

.site-footer > p a {
  color: inherit;
  text-decoration: none;
}

.site-footer > p a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wish-section {
  display: block;
  width: min(calc(100% - 64px), 1420px);
  margin: 18px auto 40px;
  padding: 44px 52px 38px;
  border: 1px solid #d4dfec;
  border-radius: 20px;
  background: radial-gradient(circle at 72% 11%, rgba(91, 151, 216, 0.12), transparent 30%), linear-gradient(118deg, #fff, #f8fbff);
}

.wish-heading {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  column-gap: 56px;
  align-items: center;
}

.wish-heading::after {
  content: "107";
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  color: transparent;
  background-color: #c5d7ec;
  background-image: radial-gradient(circle, #204592 0 18%, transparent 20%), radial-gradient(circle, #41b449 0 18%, transparent 20%), radial-gradient(circle, #8a2432 0 18%, transparent 20%), radial-gradient(circle, #65348c 0 18%, transparent 20%);
  background-position: 0 0, 9px 9px, 18px 0, 27px 9px;
  background-size: 36px 18px;
  -webkit-background-clip: text;
  background-clip: text;
  font: 700 clamp(100px, 13vw, 190px) / 0.85 Georgia, serif;
  letter-spacing: -0.08em;
}

.wish-heading > h2 {
  grid-column: 1;
  margin: 0 0 24px;
  font-size: clamp(54px, 6vw, 82px);
}

.wish-share-link,
.voice-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.18em;
  padding: 0.08em;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  vertical-align: 0.08em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.wish-share-link svg,
.voice-share-link svg {
  width: 0.42em;
  height: 0.42em;
  stroke-width: 1.8;
}

.wish-share-link:hover,
.wish-share-link:focus-visible,
.voice-share-link:hover,
.voice-share-link:focus-visible {
  border-color: #a9bdd5;
  background: #f1f6fb;
  color: #1879a7;
}

.wish-share-link:focus-visible,
.voice-share-link:focus-visible {
  outline: 2px solid #ffb60f;
  outline-offset: 3px;
}

.wish-share-link.is-copied,
.voice-share-link.is-copied {
  color: #23813b;
}

.wish-heading > p {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 42px 0 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #d4dfec;
  color: #153f78;
  font: italic clamp(28px, 3vw, 44px) / 1.25 Georgia, serif;
}

.wish-heading .wall-total {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.wish-heading .wall-total:hover {
  border: 0;
  box-shadow: none;
  transform: none;
}

.wish-heading .wall-total > svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid #204592;
  border-radius: 50%;
  color: #204592;
}

.wish-heading .wall-total strong {
  font: 700 16px/1 Arial, sans-serif;
}

.wish-heading .wall-total strong::before {
  content: "Jau ";
}

html[lang="en"] .wish-heading .wall-total strong::before {
  content: "Already ";
}

.wish-heading .wall-total span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

.wish-heading .wall-total::after {
  content: "♡  Paldies, ka esat daļa no LU!";
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid #d4dfec;
  color: #60738a;
  font-size: 15px;
}

html[lang="en"] .wish-heading .wall-total::after {
  content: "♡  Thank you for being part of UL!";
}

.wish-form-toggle {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border: 1px solid #1879a7;
  border-radius: 10px;
  background: #fff !important;
  color: #153f78;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 5px 0 rgba(24, 121, 167, 0.18);
}

.wish-form-toggle svg {
  width: 19px;
  height: 19px;
}

.wish-section .wish-form {
  display: none;
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 24px;
}

.wish-section[data-form-open="true"] .wish-form {
  display: grid;
}

.wish-heading > .wish-submit-notice {
  grid-column: 1 / -1;
  grid-row: auto;
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid #86b99a;
  border-left: 4px solid #237a46;
  background: #f2faf5;
  color: #185f36;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.wish-submit-notice[hidden] {
  display: none;
}

.wish-section .form-status.success {
  color: #185f36;
}

.wish-section .wall-live {
  margin-top: 28px;
}

.game-section .section-heading > p {
  display: none;
}

.wish-section .wish-wall {
  display: block;
  columns: 4;
  column-gap: 16px;
  margin: 0;
  padding: 0;
}

.wish-section .wish-column {
  display: contents;
}

.wish-section .wall-live .wish {
  position: relative;
  display: inline-block !important;
  break-inside: avoid;
  min-height: 0;
  width: 100%;
  margin: 0 0 16px;
  padding: 25px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--wish-tint), #fff);
  box-shadow: 0 9px 22px rgba(18, 58, 107, 0.06);
  transition: background 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.wish-section .wall-live .wish:hover {
  background: linear-gradient(145deg, #fff 0%, var(--wish-tint) 72%);
  box-shadow: 0 14px 34px rgba(18, 58, 107, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  filter: saturate(1.12) brightness(1.02);
  transform: none;
}

.wish-section .wall-live .wish::after {
  content: none;
  display: none;
}

.wish-section .wall-live .wish p {
  color: #153f78;
  font: italic 17px/1.42 Georgia, serif;
}

.wish-section .wall-live .wish p .wish-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
}

@media (max-width: 1100px) {
  .wish-heading {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 28px;
  }

  .wish-section .wish-wall {
    columns: 3;
  }

  .wish-heading .wall-total::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .wish-section {
    width: calc(100% - 24px);
    padding: 30px 20px;
  }

  .wish-heading {
    grid-template-columns: 1fr;
  }

  .wish-heading::after {
    display: none;
  }

  .wish-heading > h2,
  .wish-heading .wall-total,
  .wish-form-toggle {
    grid-column: 1;
  }

  .wish-heading .wall-total {
    grid-row: 2;
    margin-bottom: 18px;
  }

  .wish-form-toggle {
    grid-row: 3;
    justify-self: stretch;
    justify-content: center;
  }

  .wish-heading > p {
    grid-row: 4;
    margin-top: 34px;
  }

  .wish-section .wish-form {
    grid-row: 5;
  }

  .wish-section .wish-wall {
    columns: 1;
  }
}

.wish-section {
  width: 100%;
  margin: 0;
  padding: 100px 7vw;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.wish-heading {
  grid-template-columns: 1fr;
}

.wish-heading::after {
  content: none;
  display: none;
}

.wish-heading .wall-total > svg {
  display: none;
}

.wish-heading .wall-total::after {
  content: none;
  display: none;
}

.wish-heading .wall-total > div {
  gap: 6px;
}

.wall-thanks {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid #d4dfec;
  color: #60738a;
  font-size: 15px;
}

.wall-thanks svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: #c2374d;
  stroke-width: 2;
}

.wall-thanks .wall-thanks-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

.wish-form-toggle,
.wish-section .wall-live .wish {
  border-radius: 0;
}

.wish-form-toggle {
  box-shadow: none;
}

.wish-section .wish-form {
  border: 1px solid #cbd6e2;
  background: #f7f9fb;
  color: #0a2037;
  box-shadow: none;
}

.wish-section .wish-form .section-label {
  color: #63788d;
}

.wish-section .wish-form textarea,
.wish-section .wish-form input:not([type="checkbox"]) {
  border-color: #9cabb7;
  background: #fff;
  color: #0a2037;
}

.wish-section .wish-form textarea:focus,
.wish-section .wish-form input:not([type="checkbox"]):focus {
  border-color: #1879a7;
}

.wish-section .wish-form ::placeholder {
  color: #718295;
}

.wish-section .wish-form .consent {
  color: #405466;
}

@media (max-width: 760px) {
  .wish-section {
    width: 100%;
    padding: 72px 7vw;
  }

  .wish-heading .wall-total {
    flex-wrap: wrap;
  }

  .wall-thanks {
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #d4dfec;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .language-switcher {
    margin-left: auto;
    padding-left: 12px;
  }

  .language-switcher a {
    min-width: 31px;
    padding: 7px 6px;
  }

  .voice-options {
    gap: 12px;
  }

  .voice-heading {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .voice-heading > div:first-child {
    display: contents;
  }

  .voice-heading .section-label {
    order: 1;
  }

  .voice-heading h2 {
    order: 2;
  }

  .voice-logo {
    order: 3;
    width: 100%;
    margin: 18px auto 26px;
  }

  .voice-logo img {
    width: min(300px, 88vw);
    height: auto;
    margin: 0 auto;
  }

  .voice-heading > div:first-child > p:last-child {
    order: 4;
  }

  .voice-option {
    min-height: 280px;
    padding: 26px;
  }

  .voice-option h3 {
    margin: 8px 0 10px;
  }

  .voice-option p {
    margin: 0;
  }

  .voice-option b {
    margin-top: 24px;
  }
}

/* Balsu talka embed (replaces the old .voice-options cards).
   Fallback height until the embedded page reports its own; see info.js. */
.voice-embed iframe {
  display: block;
  width: 100%;
  height: 470px;
  border: 0;
  background: #fff;
}

@media (max-width: 480px) {
  .voice-embed iframe {
    height: 540px;
  }
}
