/*
Theme Name: TaggoTech Machining
Version: 1.0.8
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: taggotech-machining
License: GPL-2.0-or-later
Description: TaggoTechi muudetav plokkteema. Eesti, inglise, soome, läti, leedu, poola, saksa ja rootsi keele tugi tasuta Polylangiga.
*/


:root {
  --ink: #17202b;
  --muted: #68727f;
  --line: #dfe4e8;
  --paper: #f6f7f8;
  --white: #ffffff;
  --blue: #277bc8;
  --blue-dark: #165c9e;
  --navy: #111923;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 14px clamp(24px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 32, 43, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  width: min(260px, 100%);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
  color: #46505b;
  font-size: 15px;
  font-weight: 800;
}

.main-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.hero {
  width: min(1500px, calc(100% - 48px));
  min-height: calc(100vh - 110px);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(430px, 1.07fr);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-copy {
  padding: clamp(70px, 8vw, 132px) clamp(42px, 6vw, 105px) 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  margin: 0 0 30px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker span {
  width: 30px;
  height: 2px;
  display: inline-block;
  background: currentColor;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(50px, 6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero h1 em {
  color: #76b9f3;
  font-style: normal;
  font-weight: 400;
}

.hero-lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: #bac3cc;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 39px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: #338bdd;
}

.button-quiet {
  border: 1px solid #4b5662;
  color: #dce2e7;
}

.button-quiet:hover {
  border-color: #88929d;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin-top: clamp(55px, 7vw, 105px);
  padding-top: 25px;
  border-top: 1px solid #35404c;
}

.hero-facts div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-facts strong {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.hero-facts span {
  color: #8f9aa5;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 25, 35, 0.18), transparent 38%);
  pointer-events: none;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(100px, 10vw, 160px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading .kicker {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(45px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading > p {
  max-width: 540px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 340px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(20, 32, 45, 0.1);
}

.service-image {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.service-card:hover .service-image img {
  transform: scale(1.035);
}

.service-body {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-body h3 {
  margin: 0 0 20px;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.service-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

section[id] {
  scroll-margin-top: 100px;
}

.about {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  background: var(--white);
}

.about-media {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  padding: clamp(70px, 7vw, 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy .kicker {
  margin-bottom: 24px;
}

.about-copy h2,
.equipment-intro h2,
.quality-copy h2,
.brand-story-copy h2,
.social-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.about-lead {
  margin: 30px 0 42px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-points {
  border-top: 1px solid var(--line);
}

.about-points > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.about-points h3 {
  margin: 0;
  font-size: 14px;
}

.about-points p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.equipment {
  width: min(1500px, calc(100% - 48px));
  margin: 24px auto 0;
  padding: clamp(80px, 8vw, 125px);
  background: var(--navy);
  color: var(--white);
}

.equipment-intro {
  max-width: 930px;
}

.equipment-intro .kicker {
  margin-bottom: 22px;
}

.equipment-intro h2 {
  max-width: 850px;
}

.equipment-intro > p:last-child {
  max-width: 680px;
  margin: 30px 0 0;
  color: #aab5bf;
  font-size: 17px;
  line-height: 1.7;
}

.equipment-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(45px, 6vw, 95px);
  align-items: stretch;
  margin-top: 65px;
}

.equipment-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.equipment-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 11, 18, 0.72));
  pointer-events: none;
}

.equipment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-list article {
  display: grid;
  grid-template-columns: 1fr;
  padding: 27px 0;
  border-top: 1px solid #36414c;
}

.equipment-list article:last-child {
  border-bottom: 1px solid #36414c;
}

.equipment-list h3 {
  margin: 0 0 10px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.equipment-list p {
  margin: 0;
  color: #98a4af;
  font-size: 14px;
  line-height: 1.65;
}

.quality {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(105px, 10vw, 165px) 0;
  display: grid;
  grid-template-columns: 0.92fr 0.78fr;
  gap: clamp(65px, 9vw, 145px);
  align-items: center;
}

.quality-copy .kicker {
  margin-bottom: 24px;
}

.quality-lead {
  max-width: 650px;
  margin: 30px 0 40px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list > div {
  display: grid;
  grid-template-columns: 1fr;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.process-list strong {
  font-size: 15px;
}

.process-list p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quality-photo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.quality-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #eaf1f7;
}

.brand-story-photo {
  min-height: 700px;
  overflow: hidden;
}

.brand-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-copy {
  padding: clamp(70px, 7vw, 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-story-copy .kicker {
  margin-bottom: 24px;
}

.vp4mx-logo-link {
  width: min(390px, 100%);
  margin: 0 0 42px;
  display: block;
  transition: transform 180ms ease;
}

.vp4mx-logo-link:hover {
  transform: translateY(-3px);
}

.vp4mx-logo-link img {
  width: 100%;
  height: auto;
}

.brand-story-copy > p:not(.kicker) {
  margin: 31px 0 34px;
  color: #5f6e7c;
  font-size: 17px;
  line-height: 1.75;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.social {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(105px, 10vw, 160px) 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 9vw, 145px);
  align-items: start;
}

.social-heading .kicker {
  margin-bottom: 24px;
}

.social-heading h2 {
  font-size: clamp(43px, 4.2vw, 64px);
}

.social-heading > p:last-child {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.social-links {
  border-top: 1px solid var(--line);
}

.social-links > .link-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 130px;
  padding: 25px 10px;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.social-links > .link-card:hover {
  padding-left: 24px;
  padding-right: 24px;
  background: var(--white);
}

.social-links h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.social-links strong {
  font-size: 18px;
}

.contact {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  background: var(--blue);
  color: var(--white);
}

.contact-copy {
  padding: clamp(70px, 7vw, 115px);
}

.contact-copy .kicker {
  margin-bottom: 24px;
  color: #d8edff;
}

.contact-copy h2 {
  max-width: 780px;
  font-size: clamp(44px, 4.7vw, 72px);
}

.contact-copy > p:not(.kicker) {
  max-width: 650px;
  margin: 30px 0 35px;
  color: #d8e9f7;
  font-size: 17px;
  line-height: 1.75;
}

.contact-copy .button-primary {
  background: var(--white);
  color: var(--ink);
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(55px, 6vw, 95px);
  background: var(--navy);
}

.contact-details > * {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid #35404c;
}

.contact-details > *:first-child {
  border-top: 1px solid #35404c;
}

.contact-details > .link-card:hover strong {
  color: #76b9f3;
}

.contact-company strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.contact-details span {
  color: #788592;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details strong {
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.035em;
  transition: color 160ms ease;
}

.contact-details small {
  color: #a3adb7;
  font-size: 12px;
  line-height: 1.55;
}

.site-footer {
  width: min(1360px, calc(100% - 48px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer > div:last-child {
  display: flex;
  gap: 26px;
  color: var(--ink);
  font-weight: 700;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand img {
  width: 180px;
  height: auto;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(200px, 1fr) auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.86fr;
  }

  .hero-copy {
    padding-left: 48px;
    padding-right: 40px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 540px;
  }

  .about-copy {
    padding: 80px 65px;
  }

  .equipment-layout {
    grid-template-columns: 1fr;
  }

  .quality {
    gap: 55px;
  }

  .brand-story {
    grid-template-columns: 1fr;
  }

  .brand-story-photo {
    min-height: 630px;
  }

  .social {
    grid-template-columns: 1fr;
  }

  .social-heading {
    max-width: 760px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 72px;
    padding: 10px 18px;
  }

  .brand {
    width: 190px;
  }

  .hero {
    width: calc(100% - 24px);
    min-height: auto;
    margin-top: 12px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 66px 28px 44px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .hero-facts {
    margin-top: 58px;
    gap: 12px;
  }

  .hero-facts strong {
    font-size: 19px;
  }

  .hero-facts span {
    font-size: 10px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .services {
    width: calc(100% - 32px);
    padding: 90px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading h2 {
    font-size: 48px;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-image {
    min-height: 270px;
  }

  .service-body {
    padding: 32px 28px 38px;
  }

  .about,
  .equipment,
  .brand-story,
  .contact {
    width: calc(100% - 24px);
  }

  .about-media {
    min-height: 390px;
  }

  .about-copy,
  .brand-story-copy,
  .contact-copy {
    padding: 65px 28px;
  }

  .about-copy h2,
  .equipment-intro h2,
  .quality-copy h2,
  .brand-story-copy h2,
  .social-heading h2,
  .contact-copy h2 {
    font-size: 45px;
  }

  .about-points > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .equipment {
    margin-top: 12px;
    padding: 70px 28px;
  }

  .equipment-photo {
    min-height: 390px;
  }

  .quality,
  .social {
    width: calc(100% - 32px);
  }

  .quality {
    padding: 95px 0;
    grid-template-columns: 1fr;
  }

  .quality-photo {
    min-height: 470px;
  }

  .brand-story-photo {
    min-height: 420px;
  }

  .social {
    padding: 95px 0;
  }

  .social-links > .link-card {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .social-links > .link-card:hover {
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact-details {
    padding: 28px;
  }

  .contact-details strong {
    font-size: 25px;
  }

  .site-footer {
    width: calc(100% - 40px);
    padding: 34px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer > div:last-child {
    flex-wrap: wrap;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* WordPress block integration; retain the approved page design. */
.wp-site-blocks { padding:0; }
.wp-site-blocks > *, .wp-block-post-content > * { margin-block-start:0; margin-block-end:0; }
.wp-block-group { box-sizing:border-box; }
.wp-block-image { margin:0; }
.wp-block-image img { display:block; }
.wp-block-group > p { margin-block-start:0; }
.hero-visual,.service-image,.about-media,.equipment-photo,.quality-photo,.brand-story-photo { display:flex; }
.hero-visual > figure,.service-image > figure,.about-media > figure,.equipment-photo > figure,.quality-photo > figure,.brand-story-photo > figure { width:100%; align-self:stretch; }
.hero-visual figure img,.service-image figure img,.about-media figure img,.equipment-photo figure img,.quality-photo figure img,.brand-story-photo figure img { width:100%;height:100%;object-fit:cover; }
.hero-facts p,.about-points p,.process-list p,.contact-details p,.site-footer p { margin:0; }
.service-body p {font-size:1rem;line-height:1.7;margin:0;color:var(--muted);}
.about-points p,.equipment-list p,.process-list p {font-size:1rem;line-height:1.6;}
.hero-facts span {font-size:.875rem;}
.contact-details span {font-size:.875rem;}
.contact-details small {font-size:.875rem;}
.social-links .link-card { display:grid;grid-template-columns:1fr auto; }
.social-links .link-card p {margin:0;}
.social-links .link-card a {display:block;}
.hero-actions .wp-block-button {padding:0;}
.wp-block-button__link {background:transparent;color:inherit;border-radius:0;font:inherit;min-height:54px;display:inline-flex;align-items:center;gap:18px;padding:14px 24px;}
.contact-copy .wp-block-button {width:fit-content;padding:0;}
.site-header {grid-template-columns:minmax(190px,1fr) auto auto;gap:24px;}
.wp-block-navigation.main-nav {display:flex;font-size:.95rem;}
.wp-block-navigation .wp-block-navigation-item__content {color:inherit;}
/* Compact native disclosure: language links stay above the hero. */
.language-switcher {position:relative;font-size:.875rem;font-weight:600;justify-self:end;color:var(--ink);}
.language-picker {position:relative;}
.language-picker summary {display:flex;align-items:center;justify-content:center;gap:12px;min-width:76px;min-height:46px;padding:8px 13px;border:1px solid var(--line);border-radius:6px;cursor:pointer;list-style:none;background:#fff;box-sizing:border-box;}
.language-picker summary::-webkit-details-marker {display:none;}
.language-chevron {width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px;}
.language-picker[open] .language-chevron {transform:rotate(225deg);margin-top:4px;}
.language-options {position:absolute;z-index:100;right:0;top:calc(100% + 12px);width:min(340px,calc(100vw - 40px));max-height:calc(100dvh - 140px);overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0;padding:10px;list-style:none;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 35px #11192333;box-sizing:border-box;}
.language-options li {margin:0;min-width:0;}
.language-options a {display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 10px;border-radius:4px;text-decoration:none;box-sizing:border-box;}
.language-options a:hover,.language-options a:focus-visible {background:#edf5fc;}
.language-options a[aria-current] {background:#e9f3fc;color:var(--blue-dark);}
.language-code {font-size:.75rem;color:var(--muted);font-weight:700;}
.language-options a[aria-current] .language-code {color:var(--blue-dark);}
.language-picker summary:focus-visible {outline:3px solid #76b9f3;outline-offset:3px;}
.site-footer {font-size:.875rem;}
.brand-story-copy .text-link-wrap {margin:0;}
.hero h1 {line-height:1.02;}
body {line-height:1.5;}
.wp-site-blocks > header {position:sticky;top:0;z-index:20;}
.site-header {position:static;overflow:visible;}
body.admin-bar .wp-site-blocks > header {top:32px;}
figure.brand,figure.vp4mx-logo-link {height:auto;}
.footer-brand figure {width:180px;}
.main-nav .wp-block-navigation__responsive-container.is-menu-open {padding:28px;background:#fff;color:#17202b;}
:where(a,button):focus-visible {outline:3px solid #76b9f3;outline-offset:5px;}
@media(max-width:1120px){.site-header{gap:18px;}.main-nav .wp-block-navigation-item{font-size:.875rem;}.wp-block-navigation__container{gap:14px;}}
@media(max-width:900px){.wp-block-navigation.main-nav{display:none !important;}.site-header{grid-template-columns:1fr auto;}.language-switcher{grid-column:2;}}
@media(max-width:600px){body.admin-bar .wp-site-blocks > header{top:46px;}.site-header{gap:14px;}.brand{width:160px;}.language-switcher{gap:3px;}.hero h1{font-size:clamp(40px,12vw,60px);}.hero-facts span{font-size:.875rem;}.about-copy h2,.equipment-intro h2,.quality-copy h2,.brand-story-copy h2,.social-heading h2,.contact-copy h2,.section-heading h2{font-size:clamp(34px,10vw,45px);letter-spacing:-.035em;line-height:1.1;}.contact-details strong{font-size:clamp(20px,6vw,25px);overflow-wrap:anywhere;}}

/* Finnish compound words must not widen the narrow mobile grid. */
.brand-story > * {min-width:0;}
.brand-story-copy h2 {overflow-wrap:anywhere;hyphens:auto;}

/* Keep the expanded language picker compact on narrow screens. */
.language-options a > span:last-child {min-width:0;overflow-wrap:anywhere;}

/* Spoken languages beside the editable, clickable telephone number. */
.contact-details .phone-with-languages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.phone-with-languages > strong {white-space: nowrap;}
.contact-details .phone-languages {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  line-height: 0;
}
.contact-details .phone-languages img {
  display: block;
  flex: 0 0 auto;
  width: 33px;
  height: 21px;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: fill;
}
.contact-details .phone-languages .phone-language-en {width: 42px;}
@media (max-width: 600px) {
  .contact-details .phone-with-languages {column-gap: 14px;}
  .contact-details .phone-languages {gap: 8px;}
  .contact-details .phone-languages img {width: 27px; height: 17px;}
  .contact-details .phone-languages .phone-language-en {width: 34px;}
}
