/* Voima motion layer: hover feedback and entrance animations.
   Everything is disabled for users who prefer reduced motion. */

/* Navbar and footer links: underline draws in from the left */
.nav-pages-list a,
footer a:not(.btn):not(:has(img)) {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  padding-bottom: 2px;
  transition: background-size 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pages-list a:hover,
.nav-pages-list a:focus-visible,
footer a:not(.btn):not(:has(img)):hover,
footer a:not(.btn):not(:has(img)):focus-visible {
  background-size: 100% 1px;
}

/* Language switcher: flag keeps its size (scaling blurs it); the shadow behind it gets darker on hover */
.locale a {
  display: inline-block;
  border-radius: 9999px;
  transition: box-shadow 200ms ease, background-color 200ms ease;
}

.locale a img {
  transition: filter 200ms ease;
}

.locale a:hover,
.locale a:focus-visible {
  box-shadow: 0 0 0 6px rgba(0, 0, 0, .28);
  background-color: rgba(0, 0, 0, .28);
}

/* Buttons: small lift */
.main-navigation .btn,
.btn {
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.main-navigation .btn:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Arrows: only standalone text links (class cta-text) carry the straight arrow.
   Links inside running text and external links get no arrow at all. */
a[href^="https://"]:not(.cta-text)::after,
a[href^="http://"]:not(.cta-text)::after,
a.external:not(.cta-text)::after,
.home-account .minor ul a::after,
a.text-interactive::after {
  content: none !important;
}

/* Footer links: plain text colour, the animated underline is the only feedback */
footer a:not(.btn) {
  color: inherit;
  text-decoration: none;
}

footer a:not(.btn):not(:has(img)) {
  background-image: linear-gradient(currentColor, currentColor);
}

/* Secondary links ("Read more", "Lue lisää", class cta-text) are text with an animated arrow on every page.
   Real calls to action (open account, buy, sell, loan, login, supply) stay buttons. */
a.btn.cta-text {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  height: auto !important;
  max-width: none;
  margin-inline: 0 !important;
  align-self: flex-start;
  width: fit-content !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: inherit !important;
  font-weight: 600;
  font-size: 1.125rem;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

a.btn.cta-text::after {
  content: "\2192";
  position: static !important;
  display: inline-block;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

a.btn.cta-text:is(:hover, :focus-visible) {
  background-color: transparent !important;
  color: inherit !important;
  transform: none;
}

a.btn.cta-text:is(:hover, :focus-visible)::after {
  transform: translateX(0.4em);
}

@media (prefers-reduced-motion: reduce) {
  a.btn.cta-text, a.btn.cta-text::after { transition: none; }
  a.btn.cta-text:hover::after { transform: none; }
}

/* Blog post cards: dark cards, no scaling or shadow so nothing is clipped by the section.
   Hover is a small lift plus a lighter border and surface. */
.post-card {
  background: #0d0d0d;
  color: #fff;
  border: 1px solid #2e2e2e;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms ease, background-color 200ms ease;
}

.post-card p {
  color: inherit;
}

.post-card a {
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  padding-bottom: 2px;
  transition: background-size 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover,
.post-card:focus-within {
  transform: translateY(-2px);
  border-color: #8a8a8a;
  background: #161616;
}

.post-card:hover a,
.post-card a:focus-visible {
  background-size: 100% 1px;
}

/* Related posts section: black across the full width, with room for the hover lift */
.voima-related-original,
.voima-related-original > .minor,
.voima-related-original > .major,
.voima-related-original .major.flood {
  background: #000 !important;
  color: #fff;
}

.voima-related-original .major > div {
  padding-block: 4px;
}

/* Notice bar links: same colour as the text, underlined, readable on black */
.notification a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Centering: .container has a max-width but no auto margins, so outside a flex parent (the footer logo
   section lost the "screenful" class that centers it on the live site) it hugs the left edge. */
.container {
  margin-inline: auto;
}

.content-hero:not(.screenful) {
  display: flex;
  justify-content: center;
}

/* Newsletter form: dark, same type as the rest of the footer */
.newsletter-form {
  display: grid;
  gap: 0.75rem;
  max-width: 34rem;
}

.newsletter-form h2 { margin: 0; }
.newsletter-form p { margin: 0; }

.newsletter-form label {
  font-weight: 600;
}

.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #555;
  border-radius: 0.25rem;
  background: transparent;
  color: #fff;
  font: inherit;
}

.newsletter-form input[type="email"]::placeholder { color: #9a9a9a; }

.newsletter-form input[type="email"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-color: #fff;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-weight: 400 !important;
  font-size: 0.875rem;
}

.newsletter-consent input { margin-top: 0.2rem; accent-color: #fff; flex: none; }

.newsletter-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.newsletter-form button { margin-inline: 0; justify-self: start; }
.newsletter-form button:disabled { opacity: 0.6; cursor: wait; }

.newsletter-status { min-height: 1.5rem; font-size: 0.9375rem; }
.newsletter-status[data-kind="error"] { color: #ff8a80; }
.newsletter-status[data-kind="success"] { color: #9be3a4; }

/* Footer stays black */
footer.section-container {
  background: #000;
  color: #fff;
}

/* ---- UI review fixes ---- */

/* Newsletter consent checkbox: the rule that hides the mobile-menu checkbox (nav [type=checkbox]) also
   matched this one, because the footer is wrapped in a <nav>. */
.newsletter-form input[type="checkbox"] {
  display: inline-block !important;
  -webkit-appearance: auto;
  appearance: auto;
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  position: static;
  margin: 0.1rem 0.5rem 0 0;
  padding: 0;
  background: none;
  filter: none;
  cursor: pointer;
}

/* The small footer logo is black artwork on the black footer */
footer img[src$="/logo.svg"] {
  filter: invert(1);
}

/* Blue links on black: #1900ff is 2.5:1 there, below the 4.5:1 minimum. A lighter blue reads at about 7:1. */
.bg-black a:not(.btn):not(.cta-text),
.text-light a.text-interactive,
.home-account a:not(.btn):not(.cta-text),
.notification a {
  color: #aeb0ff;
}

.notification a {
  color: inherit;
}

/* Long words and URLs (the "Sources" blocks on HNWI and Institutions) must wrap instead of widening the page on phones */
.section-container .major,
.section-container .minor {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Keep the arrow on the same line as the link text */
a.text-interactive,
.home-account .minor ul a {
  white-space: nowrap;
}

/* Small notes (VAT, sources) stay readable */
main .text-xs {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Footer legal text and menu tap targets */
footer .text-xs {
  font-size: 0.875rem;
  line-height: 1.5;
}

.nav-pages-list a {
  display: inline-flex;
  align-items: center;
  padding: .7rem 0;
  background-origin: content-box;
  background-clip: content-box;
}


/* One height for every button (menu buttons were 36px, others 42px) */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
  box-sizing: border-box;
}

/* ---- Section rhythm: photos are part of the page, not six full screens in a row ---- */

/* The notice bar stays fixed under the 60px menu while scrolling (60px tall, so the fixed top area is 120px) */
.notification {
  position: fixed;
  overflow: hidden;
}

/* Anchor jumps land below the menu and the notice bar, not under them */
* {
  scroll-padding-top: 120px;
}

/* Hero: tall, but the next section peeks in */
.page-header.h-screen {
  height: 82vh;
  min-height: 540px;
}

/* Content sections: height comes from their content and a fixed-shape image, not from 100vh */
.screenful.major-minor,
.screenful.major-minor-quarter {
  min-height: 0 !important;
  height: auto !important;
  grid-template-rows: auto auto auto !important;
}

.screenful .major.flood {
  min-height: 0;
  aspect-ratio: 16 / 10;
  background-attachment: scroll !important;
  background-size: cover;
}

@media (min-width: 1026px) {
  .screenful.major-minor,
  .screenful.major-minor-quarter {
    /* Bottom row: 2.5x the gap, so sections breathe at the bottom as much as at the top */
    grid-template-rows: var(--top-space) auto calc(var(--gap) * 2.5) !important;
  }

  .screenful .major.flood {
    aspect-ratio: auto;
    min-height: clamp(380px, 54vh, 520px);
  }
}

/* The Supply banner and similar full-screen hero blocks become slim banners */
.content-hero.screenful {
  min-height: 56vh;
  padding-block: calc(var(--gap) * 1.5);
}

/* Closing logo block before the footer: a small brand mark, not a full screen */
.content-hero.text-center:not(.screenful) img {
  width: auto;
  max-height: 96px;
}

.content-hero.text-center:not(.screenful) {
  padding-block: 32px !important;
}

/* Highlight figures: brand gold and ink instead of traffic-light green and red */
.text-good {
  color: #8a6420;
}

.text-bad:not(.text-xs) {
  color: #111;
}

/* Small VAT notes are information, not errors */
p.text-bad.text-xs {
  color: #595959;
}

/* Publication lists: year headings and cards that are clickable as a whole */
.article-list {
  display: grid;
  gap: 1rem;
}

.article-list .text-xs {
  font-size: 0.875rem;
  line-height: 1.5;
}

.article-list .article-year {
  margin-top: 2rem;
}

.article-list .article-year h2 {
  margin: 0;
}

.article-list li.article {
  position: relative;
  padding: 1.25rem 1.5rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.75rem;
  transition: border-color 200ms ease, transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.article-list li.article a {
  color: inherit;
}

.article-list li.article a.promote {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.article-list li.article a.promote::after {
  content: "\2192";
  display: inline-block;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.article-list li.article:hover a.promote::after {
  transform: translateX(0.4em);
}

.article-list li.article > a:first-of-type::after {
  content: "";
  position: absolute;
  inset: 0;
}

.article-list li.article:hover,
.article-list li.article:focus-within {
  border-color: #000;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .article-list li.article:hover { transform: none; }
}

/* Supply and Login do not move on hover */
.main-navigation .btn:hover {
  transform: none !important;
}

/* Charts draw in once (class set by motion.js) */
.saver-chart.draw-pending[data-draw="left"] {
  clip-path: inset(0 100% 0 0);
}

.saver-chart.draw-pending[data-draw="up"] {
  clip-path: inset(100% 0 0 0);
}

.saver-chart.draw-pending.is-drawn {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1200ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .saver-chart.draw-pending { clip-path: none; }
}

/* Q&A search */
.faq-search {
  max-width: 40rem;
  margin: 0 0 2rem;
}

.faq-search label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.faq-search input {
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #8a8a86;
  border-radius: 0.25rem;
  background: #fff;
  color: #111;
  font: inherit;
}

.faq-search input:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.faq-search-status {
  min-height: 1.5rem;
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
}

main [hidden] {
  display: none !important;
}

/* Glass surfaces: the price strip and every content button share one look */
:root {
  --glass-bg: rgb(0 0 0 / 0.58);
  --glass-bg-solid: rgb(0 0 0 / 0.92);
  --glass-border: rgb(255 255 255 / 0.28);
  --glass-blur: blur(10px);
}

main .btn:not(.cta-text),
footer .btn:not(.cta-text),
.content-hero .btn:not(.cta-text),
header.page-header .btn:not(.cta-text) {
  background-color: var(--glass-bg-solid) !important;
  color: #fff !important;
  border: 1px solid var(--glass-border) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  transition: border-color 200ms ease, background-color 200ms ease;
}

/* On dark surfaces and photos the glass is translucent */
.bg-black .btn:not(.cta-text),
.text-light .btn:not(.cta-text),
footer .btn:not(.cta-text),
header.page-header .btn:not(.cta-text),
.content-hero .btn:not(.cta-text) {
  background-color: var(--glass-bg) !important;
}

a.btn.btn-glass--primary {
  border-color: rgb(255 255 255 / 0.75) !important;
}

main .btn:not(.cta-text):is(:hover, :focus-visible),
footer .btn:not(.cta-text):is(:hover, :focus-visible),
.content-hero .btn:not(.cta-text):is(:hover, :focus-visible),
header.page-header .btn:not(.cta-text):is(:hover, :focus-visible) {
  border-color: rgb(255 255 255 / 0.85) !important;
  color: #fff !important;
  transform: none;
}

/* The same thin underline as the menu and footer links, drawn under the label (span added by motion.js) */
.btn:not(.cta-text) > span {
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:not(.cta-text):is(:hover, :focus-visible) > span {
  background-size: 100% 1px;
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn > span { transition: none; }
}

/* Hero: live gold price card, top left on wide screens */
.page-header.h-screen {
  position: relative;
  height: auto;
  min-height: 82vh;
  padding-top: calc(120px + 2rem);
  padding-bottom: 3rem;
  box-sizing: border-box;
}

.hero-price {
  position: absolute;
  top: calc(120px + 1.5rem);
  left: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "id meta"
    "chart chart"
    "ranges ranges";
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  width: 20rem;
  padding: 0.875rem 1rem 0.75rem;
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: #fff;
  text-align: left;
}

.hero-price[hidden] { display: none; }
.hero-price p { margin: 0; }

.hero-price__id { grid-area: id; }
.hero-price__side { display: contents; }
.hero-price__meta { grid-area: meta; }
.hero-price__chart { grid-area: chart; }
.hero-price__ranges { grid-area: ranges; }

.hero-price__label {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.72);
}

.hero-price__value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-price__meta [data-when] {
  display: block;
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.65);
}

.hero-price__meta {
  justify-self: end;
  text-align: right;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: rgb(255 255 255 / 0.85);
  white-space: nowrap;
}

.hero-price__meta [data-dir="up"] { color: #e3c477; }
.hero-price__meta [data-dir="down"] { color: #d6d6d2; }

.hero-price__ranges { display: inline-flex; gap: 0.25rem; margin-left: -0.5rem; }

.hero-price__ranges button {
  margin: 0;
  max-width: none;
  min-height: 1.75rem;
  padding: 0.125rem 0.625rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgb(255 255 255 / 0.75);
  font-size: 0.875rem;
  cursor: pointer;
}

.hero-price__ranges button[hidden] { display: none; }
.hero-price__ranges button[aria-pressed="true"] { border-color: #fff; color: #fff; }
.hero-price__ranges button:hover { color: #fff; }

.hero-price__chart {
  display: block;
  width: 100%;
  height: 3.25rem;
  margin-top: 0.25rem;
  overflow: visible;
  cursor: crosshair;
  touch-action: pan-y;
}

.hero-price__chart:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.hero-price__line {
  fill: none;
  stroke: #e3c477;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-price__area { fill: rgb(227 196 119 / 0.12); stroke: none; }

.hero-price__cursor {
  stroke: rgb(255 255 255 / 0.7);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

/* Narrower screens: the card would overlap the headline, so it sits under the buttons */
@media (max-width: 1199px) {
  .hero-price {
    position: static;
    width: min(100%, 22rem);
    margin: 2rem auto 0;
  }
}

/* One button width in page content (the hero, navigation and text links are separate) */
main .btn:not(.cta-text):not(.btn-glass),
.section-container .btn:not(.cta-text):not(.btn-glass) {
  width: min(100%, 20rem);
  min-width: min(100%, 16rem);
}

/* Interactive gold chart replaces the picture */
.gold-chart {
  width: 100%;
  min-height: 320px;
}

.gold-chart[hidden] { display: none; }

/* Chart tooltips: one dark card for every chart */
#vg-tooltip-element.vg-tooltip {
  padding: 0.625rem 0.875rem;
  border: 0;
  border-radius: 0.5rem;
  background: #111;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
  color: #fff;
  font: 0.875rem/1.45 Inter, system-ui, sans-serif;
}

#vg-tooltip-element.vg-tooltip h2 {
  margin: 0 0 0.375rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
}

#vg-tooltip-element.vg-tooltip td.key {
  padding-right: 0.75rem;
  background: transparent;
  color: #bdbdb8;
  font-weight: 400;
  text-align: left;
}

#vg-tooltip-element.vg-tooltip td.value {
  color: #fff;
  font-weight: 600;
  text-align: left;
}

/* Buttons inside content columns line up with the text, not the middle of the column */
.minor .btn:not(.btn-glass),
.major .btn:not(.btn-glass) {
  margin-inline: 0;
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.main-navigation input[type="checkbox"]:focus-visible {
  outline-offset: 4px;
}

/* Entrance animations: headings animate in via motion.js; hero rises on load */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.page-header .container > * {
  animation: hero-rise 800ms cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

.page-header .container > *:nth-child(2) { animation-delay: 120ms; }
.page-header .container > *:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .page-header .container > * { animation: none; }
  .nav-pages-list a, footer a, .btn,
  a.text-interactive::after, a[href^="http"]::after { transition: none; }
  .btn:hover, .post-card:hover, .post-card:focus-within { transform: none; }
}

/* Hero headings: no glow behind the text on any page (it only showed on bright photos, so pages looked inconsistent) */
.page-header h1, .page-header .h1, .content-hero.screenful h1, .content-hero.screenful .h1 {
  --tw-drop-shadow: ;
  filter: none !important;
}

/* Hero: the Buy / Sell / Loan buttons share the row instead of overflowing it on tablets */
@media (min-width: 668px) {
  .page-header .s\:flex-row {
    width: 100%;
  }
  .page-header .s\:flex-row > .btn.fixed-width {
    flex: 0 1 320px;
    width: auto;
    min-width: 0;
  }
}

/* Menu toggle: 44x44 touch target, icon stays 24px and visually in place */
nav [type="checkbox"] {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-size: 24px 24px;
  margin-right: -10px;
}

/* Section labels that are links keep the label colour of their section (no link colour) */
h2 .preheader a:not(.btn):not(.cta-text) {
  color: inherit;
  text-decoration: none;
}
h2 .preheader a:not(.btn):not(.cta-text):is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Homepage hero: solid buttons instead of glass. No overlay on the photo.
   Primary = inverse of the nav Login button (white fill); secondary = like the nav Supply button (outlined, here on black). */
.page-landing header.page-header a.btn.btn-glass {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background-color: #000 !important;
  border: 1px solid #fff !important;
  color: #fff !important;
}
.page-landing header.page-header a.btn.btn-glass:is(:hover, :focus-visible) {
  background-color: #1a1a1a !important;
}

.page-landing header.page-header a.btn.btn-glass--primary {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
  font-weight: 600;
}
.page-landing header.page-header a.btn.btn-glass--primary:is(:hover, :focus-visible) {
  background-color: #e8e8e8 !important;
  border-color: #e8e8e8 !important;
  color: #000 !important;
}
.page-landing header.page-header a.btn.btn-glass:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Phones: secondary actions sit tight under the primary, so the price card moves up */
@media (max-width: 667px) {
  .page-landing header.page-header .btn-glass--primary {
    margin-bottom: 0.25rem;
  }
  .page-landing header.page-header [class*="s:flex-row"] {
    gap: 0.5rem;
  }
  .page-landing header.page-header [class*="s:flex-row"] > a.btn.btn-glass {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.9375rem;
  }
}

/* Footer newsletter: its own centred block above the link columns */
.footer-newsletter {
  max-width: 36rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.footer-newsletter #newsletter-container {
  width: 100%;
}

.footer-newsletter .newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-newsletter .newsletter-form input[type="email"] {
  width: 100%;
}

.footer-newsletter .newsletter-consent {
  justify-content: center;
  text-align: left;
}

/* Long single-word titles (e.g. "Tietosuojaseloste") wrap on phones instead of pushing the page sideways */
.page-header h1,
.page-header .h1 {
  overflow-wrap: break-word;
  hyphens: auto;
}
