#palloYhteys {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  background: radial-gradient(circle, #f0ebdb 60%, transparent 100%);
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
  transition: background 0.3s ease;
}

#palloYhteys {
  pointer-events: none !important;
}

body.light-mode #palloYhteys {
  background: radial-gradient(circle, #0d1321 60%, transparent 100%);
}

.yhteydenotto-hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #000000;
  color: white;

}

.hero-tekstit {
  max-width: 800px;
  margin-top: -5rem; 
}

.hero-otsikko {

  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: -2rem;
}
.hero-otsikko {
  font-size: 5rem !important;
}

.yhteydenotto-hero .hero-text h2,
.yhteydenotto-hero .hero-text p {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  filter: blur(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    filter 0.6s ease;
}

.yhteydenotto-hero .hero-text.visible h2 {
  opacity: 1;
  transform: scaleY(1);
  filter: blur(0);
  transition-delay: 0.1s;
}

.yhteydenotto-hero .hero-text.visible p {
  opacity: 1;
  transform: scaleY(1);
  filter: blur(0);
  transition-delay: 0.4s;
}

.hero-kuvaus {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.hero-nappi {
  position: absolute;
  bottom: 40px;
  
  left: 0;               
  right: 0;              
  margin: 0 auto;        
  transform: none;       

  width: 80px;
  height: 80px;
  background-color: #00000000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 10;
}

.hero-nappi:hover {
  background-color: #000000;
  transform: scale(1.2);
}

.hero-nappi .btn-icon {
  width: 32px;
  height: 32px;
  transform: rotate(90deg); 
  transition: transform 0.3s ease;
}



.hero-text h2,
.hero-text p {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  filter: blur(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    filter 0.6s ease;
}


.hero-text.visible h2 {
  opacity: 1;
  transform: scaleY(1);
  filter: blur(0);
  transition-delay: 0.1s;
}

.hero-text.visible p {
  opacity: 1;
  transform: scaleY(1);
  filter: blur(0);
  transition-delay: 0.4s;
}


#yhteydenotto {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;

  min-height: 100vh;
  box-sizing: border-box;
  background-color: #000 !important; 
  overflow: hidden;
  z-index: 0;

}


.yhteydenotto-wrapper label {
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 20px;
  font-size: 18px;
  color: #f0ebdb;
}


.kaksikenttaa {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: center;
}

.kentta {
  flex: 1 1 600px;
  max-width: 650px;
  display: flex;
  flex-direction: column;
}





body.light-mode #palloYhteys {
  background: radial-gradient(circle, #0d1321 60%, transparent 100%);
}


body.light-mode .yhteydenotto-hero {
  background: #ffffff;   
  color: #0d1321;        
}

body.light-mode .hero-otsikko {
  color: #0d1321;
}

body.light-mode .hero-tekstit h2,
body.light-mode .hero-tekstit p {
  color: #0d1321;
}


body.light-mode .hero-kuvaus {
  color: #3e5c76;  
}


body.light-mode .hero-nappi {
  background-color: #f0ebdb00;  
}

body.light-mode .hero-nappi:hover {
  background-color: #3e5c7600;    
}

body.light-mode .hero-nappi .btn-icon {
  filter: invert(15%) sepia(10%) saturate(200%) hue-rotate(180deg) brightness(90%) contrast(95%);
}


body.light-mode #yhteydenotto {
  background-color: #f0ebdb;
}


body.light-mode .yhteydenotto-wrapper label {
  color: #0d1321;
}


body.light-mode .kentta input,
body.light-mode .kentta textarea {
  background-color: #ffffff;
  color: #0d1321;
  border: 1px solid #748cab;
}


body.light-mode .kentta input:focus,
body.light-mode .kentta textarea:focus {
  border-color: #3e5c76;
  outline: none;
  box-shadow: 0 0 5px rgba(62, 92, 118, 0.3);
}


body.light-mode .kaksikenttaa {
  gap: 2rem; 
}



.yhteydenotto-wrapper input,
.yhteydenotto-wrapper textarea {
  width: 100%;
  padding: 26px;
  font-size: 18px;
  border: none;
  background-color: #0d1321;
  color: #f0ebdb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.yhteydenotto-wrapper input::placeholder,
.yhteydenotto-wrapper textarea::placeholder {
  color: #f0ebdba2;
  opacity: 0.8;
  font-style: italic;
}

.yhteydenotto-wrapper input:focus,
.yhteydenotto-wrapper textarea:focus {
  background-color: #f0ebdb;
  color: #0d1321;
  outline: none;
  z-index: 120;
}


.kokorivi {
  margin-top: 00px;
  width: 100%;
  max-width: 1340px; 
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}


.nappirivi {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-right: 80px; 
}

.captcha-wrapper {
  display: none;              
}

.captcha-wrapper.visible {
  display: flex;              
  justify-content: flex-end;
  width: 100%;
}


.yhteydenotto-wrapper button {
  position: relative;
  pointer-events: auto;
  width: 160px;
  padding: 18px 32px;
  font-size: 1.3rem;
  background: none;
  color: #f0ebdb;
  border: 2px solid #748cab;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 109;
  margin-bottom: 65px;
  transition: background-color 0s ease, color 0s ease, transform 0s ease;
}


.yhteydenotto-wrapper button:hover {
  background-color: none;
  color: #0d1321;
  border: none;
  transform: scale(1.05); 
  margin-bottom: 65px; 
}


.magnet-contact-text {
  transition: transform 0.15s ease-out;
  will-change: transform;
}


.valinnallinen {
  position: relative;
}

.vaihtoehdot {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background:  #f0ebdb;
  border-radius: 12px 12px 12px 12px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  z-index: 10;
  border-top: 1px solid #3e5c76;
  visibility: hidden;       
  pointer-events: none;     
}

.vaihtoehdot .valinta {
  padding: 14px 20px;
  cursor: pointer;
  font-size: 16px;
  color: #0d1321;
  transition: background 0.2s ease;
}

.vaihtoehdot .valinta:hover {
  background-color: #0d1321;
  color: #f0ebdb;
}


.vaihtoehdot.nayta {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;      
  pointer-events: auto;     
}


body.light-mode .yhteydenotto-wrapper{
  background-color: #ffffff; 
  color: #0d1321; 
}

body.light-mode .yhteydenotto-wrapper input,
body.light-mode .yhteydenotto-wrapper textarea {
  background-color: #ffffff; 
  color: #0d1321; 
}

body.light-mode .yhteydenotto-wrapper input::placeholder,
body.light-mode .yhteydenotto-wrapper textarea::placeholder {
  color: #0d1321a2; 
}

body.light-mode .yhteydenotto-wrapper input:focus,
body.light-mode .yhteydenotto-wrapper textarea:focus {
  background-color: #0d1321; 
  color: #f0ebdb; 
}


body.light-mode .yhteydenotto-wrapper button {
  color: #0d1321;
  border: 2px solid #748cab;
  background: none;
}

body.light-mode .yhteydenotto-wrapper button:hover {
  color: #f0ebdb;
  background-color: #0d1321; 
  border: none;
}


body.light-mode .vaihtoehdot {
  background: #0d1321;
  border-top: 1px solid #748cab;
}

body.light-mode .vaihtoehdot .valinta {
  color: #f0ebdb;
}

body.light-mode .vaihtoehdot .valinta:hover {
  background-color: #f0ebdb;
  color: #0d1321;
}







.väli-container {
  position: relative;
  height: 65vh;
  width: 100vw;
  background-color: #000; 
  color: #f0ebdb;

  overflow: hidden;
}

.otsikko-wrapper {
  position: absolute;
  top: 15vh;
  left: 5vw;
  display: flex;
  flex-direction: column;
  gap: 0.2em; 
}

.vasen-top {
  font-size: 8rem;
  font-weight: 900;
  line-height: 0.9;
  max-width: 90vw;
  user-select: none;
  color: transparent;
  background: linear-gradient(
    90deg,
    #f0ebdb 0%,
    #f0ebdb var(--paint, 0%),
    #748cab var(--paint, 0%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 2px 12px rgba(240, 235, 219, 0.15);
  transition: transform 0.8s ease-out, color 0.5s ease;
}

@media (max-width: 900px){
  .väli-container {
    display: flex;
    align-items: center;     
    justify-content: center; 
    height: 35svh;           
    text-align: center;      
  }

  .väli-container .otsikko-wrapper{
    margin: 0;
    transform: none; 
  }

  .väli-container .otsikko-yksi,
  .väli-container .otsikko-kaksi{
    font-size: clamp(3rem, 8vw, 4rem); 
    line-height: 1.15;
  }
}



body.light-mode .yhteydenotto-wrapper input,
body.light-mode .yhteydenotto-wrapper textarea {
  background-color: #ffffff;
  color: #0d1321;
  border: 1px solid #748cab;
}

body.light-mode .yhteydenotto-wrapper input::placeholder,
body.light-mode .yhteydenotto-wrapper textarea::placeholder {
  color: rgba(13, 19, 33, 0.5);
}

body.light-mode .yhteydenotto-wrapper input:focus,
body.light-mode .yhteydenotto-wrapper textarea:focus {
  background-color: #f0ebdb;
  color: #0d1321;
  outline: none;
}


body.light-mode .yhteydenotto-wrapper button {
  color: #0d1321;
  border: 2px solid #748cab;
  background-color: #f0ebdb;
}

body.light-mode .yhteydenotto-wrapper button:hover {
  color: #f0ebdb;
  background-color: #00000000;
  border: none;
}


body.light-mode .valinnallinen .vaihtoehdot {
  background: #f0ebdb;
  border-top: 1px solid #748cab;
}

body.light-mode .valinnallinen .vaihtoehdot .valinta {
  color: #0d1321;
}

body.light-mode .valinnallinen .vaihtoehdot .valinta:hover {
  background-color: #0d1321;
  color: #f0ebdb;
}


body.light-mode .väli-container {
  background-color: #ffffff;
  color: #0d1321;
}


body.light-mode .otsikko-wrapper .vasen-top {
  color: transparent;
  background: linear-gradient(
    90deg,
    #0d1321 0%,
    #0d1321 var(--paint, 0%),
    #748cab var(--paint, 0%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 2px 12px rgba(13, 19, 33, 0.15);
  z-index: 20;
}



.väli-container.tyhja {
  position: relative;
  height: 17vh;  
  width: 100vw;
  background-color: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.viiva {
  width: 90vw;
  height: 2px;
  background-color: #f0ebdb;
  opacity: 0;
  transform: translateY(100px); 
  transition: opacity 0.9s ease, transform 0.9s ease; 
  will-change: opacity, transform;
}

.viiva.nakyva {
  opacity: 1;
  transform: translateY(0);
}


.teksti-rivi {  
  height: 20vh;
  width: 90vw;
  display: flex;
  align-items: center;
  position: relative;
}



.viiva-teksti {
  color: #f0ebdb;
  font-size: 1.8rem;
  font-weight: 400;
  white-space: nowrap;
  text-align: left;
  opacity: 0;
  transform: translateY(100px); 
  transition: opacity 0.9s ease, transform 0.9s ease; 
}


.viiva-teksti.vasen {
  position: absolute;
  left: 0;
  transition-delay: 0.3s;
}


.viiva-teksti.oikea {
  position: absolute;
  left: 32vw;
  transition-delay: 0.5s;
}


.teksti-rivi.nakyva .viiva-teksti {
  opacity: 1;
  transform: translateY(0); 
}

.viiva-teksti.oikea .magnet-wrapper {
  display: inline-block;
  transition: transform 0.3s ease; 
  will-change: transform;
}
.magnet-word {
  display: inline-block;
  transition: transform 0.1s ease;
  will-change: transform;
}


@media (max-width: 900px){
  .väli-container.tyhja{
    min-height: 44svh;        
    height: auto;
    margin: 0;           
    padding: 2.5svh 4vw;      
    gap: 1.25rem;             
    justify-content: center;  
  }

  .väli-container.tyhja .viiva{
    width: 100%;              
    height: 1px;              
    margin: 0.5rem 0;         
    opacity: 1;               
    transform: none;          
  }

  .väli-container.tyhja .teksti-rivi{
    height: auto;
    min-height: 44px;         
    width: 100%;              
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0.25rem 2vw;     
    position: relative;       
  }

  .väli-container.tyhja .viiva-teksti{
    position: static;         
    opacity: 1;               
    transform: none;          
    transition: none;         
    font-size: clamp(1rem, 3.8vw, 1.15rem); 
    line-height: 1.25;
    white-space: normal;      
  }
  .väli-container.tyhja .viiva-teksti.vasen{ text-align: left; }
  .väli-container.tyhja .viiva-teksti.oikea{ text-align: right; }

  .väli-container.tyhja .magnet-wrapper,
  .väli-container.tyhja .magnet-word,
  .väli-container.tyhja .magnet-word a{
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .väli-container.tyhja .viiva-teksti.vasen{
    flex: 1 1 50%;
    padding-left: 2vw;
    text-align: left;
  }
  .väli-container.tyhja .viiva-teksti.oikea{
    flex: 1 1 50%;
    padding-right: 2vw;
    text-align: right;
  }
}




body.light-mode .väli-container.tyhja {
  background-color: #ffffff; 
}

body.light-mode .viiva {
  background-color: #0d1321; 
}

body.light-mode .viiva-teksti {
  color: #0d1321; 
}


body.light-mode .viiva-teksti.vasen {
  transition-delay: 0.3s;
}

body.light-mode .viiva-teksti.oikea {
  transition-delay: 0.5s;
}





.form-banner {
  width: 90vw;
  max-width: 600px;
  min-height: 0;          
  margin: 40px auto 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: #16a34a;
  color: #ffffff;

  padding: 20px 24px;     
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);

  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity .4s ease, transform .4s ease;
}

    .form-banner.show {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    .form-banner img {
      width: 64px;
      height: 64px;
      margin-bottom: 20px;      
    }

    .form-banner h2 {
      font-size: 2rem;
      margin: 0 0 10px;         
      font-weight: 700;
    }

    .form-banner p {
      font-size: 1.2rem;
      margin: 0;
      opacity: 0.9;
    }

    .form-banner.error {
      background: #dc2626;
    }

    .yhteydenotto-wrapper .form-banner {
      max-width: 1100px;
    }


    
.error-message {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #dc2626; 
  min-height: 1.2em; 
}


input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border: 2px solid #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.15);
}


body.light-mode input[aria-invalid="true"],
body.light-mode textarea[aria-invalid="true"] {
  border: 2px solid #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.15);
}


.valinnallinen input[aria-expanded="true"] {
  outline: 2px solid #3e5c76;
  outline-offset: 2px;
}


@media (max-width: 900px){
  
  .yhteydenotto-hero{
    min-height: 100svh;
    padding: 0 6vw;
    padding-bottom: max(16px, calc(2.5svh + env(safe-area-inset-bottom)));
    gap: 1rem;
    height: auto; 
  }

  
  .hero-otsikko{
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: -2rem;
    font-size: clamp(2rem, 8vw, 3.25rem) !important;
    line-height: 1.05;
  }

  
  .yhteydenotto-hero .hero-text h2,
  .yhteydenotto-hero .hero-text p{
    transform: translateY(8px); 
    filter: blur(6px);
  }
  .yhteydenotto-hero .hero-text.visible h2,
  .yhteydenotto-hero .hero-text.visible p{
    transform: translateY(0);
    filter: blur(0);
  }

  
  .hero-kuvaus{
    font-size: clamp(1rem, 3.6vw, 1.15rem);
    padding: 0 2vw;
  }

  
  .hero-nappi{
    bottom: max(18px, calc(2svh + env(safe-area-inset-bottom)));
    width: 64px;
    height: 64px;
  }
  .hero-nappi .btn-icon{
    width: 24px;
    height: 24px;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
  }

  
  .hero-tekstit{
    position: absolute;
    left: 50%;
    top: 68svh;        
    transform: translateX(-50%);
    margin-top: 0;
    max-width: 92vw;
    margin-left: 0;
    margin-right: 0;
  }

  
  .hero-nappi{ display: none !important; }

  
  .hero-otsikko{
    text-wrap: balance;       
    word-break: normal;
    hyphens: auto;
    line-height: 1.08;        
    letter-spacing: 0.015em;  
  }
}


@media (max-width: 900px) and (hover: hover){
  .hero-nappi:hover{
    background-color: #000000;
    transform: scale(1.08);
  }
}
@media (max-width: 900px) and (hover: none){
  .hero-nappi{
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
}




@media (max-width: 900px) and (prefers-reduced-motion: reduce){
  .yhteydenotto-hero .hero-text h2,
  .yhteydenotto-hero .hero-text p{
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}


@media (max-width: 900px){
  
  #yhteydenotto{
    min-height: 100svh;
    padding: 0 !important;
    overflow: visible;
  }

  
  .kaksikenttaa{
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
    justify-content: stretch;
  }
  .kentta{
    flex: 1 1 auto;
  }

  
  .yhteydenotto-wrapper input,
  .yhteydenotto-wrapper textarea{
    padding: 16px;
    font-size: 16px; 
    border-radius: 12px;
  }
  .kokorivi{
    max-width: 100%;
    margin-top: 8px;
  }

  
  .nappirivi{
    justify-content: center;
    padding-right: 0;
    margin-top: 16px;
    gap: 12px;
  }
  .yhteydenotto-wrapper button{
    width: 100%;
    max-width: 480px;
    padding: 14px 18px;
    font-size: 1.05rem;
    border-radius: 999px;
    margin-bottom: 0;            
    transform: none;             
    border: 2px solid #748cab;   
  }
  
  .yhteydenotto-wrapper button:hover{
    height: auto;
    transform: none;
    border: 2px solid #748cab;
    background: #0d1321; 
    color: #f0ebdb;
  }

  
  .valinnallinen{ position: relative; }
  .valinnallinen .vaihtoehdot{
    max-height: 50svh;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1000;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
  }

  .valinnallinen .vaihtoehdot.nayta{
    visibility: visible;
    pointer-events: auto;
  }

  
  .error-message{ font-size: 0.95rem; margin-top: 4px; }

  
  .yhteydenotto-wrapper .form-banner{ width: 94vw; }
}


@media (max-width: 480px){
  #yhteydenotto{ padding: 3svh 4vw; }
  .yhteydenotto-wrapper input,
  .yhteydenotto-wrapper textarea{ padding: 14px; }
  .yhteydenotto-wrapper button{ max-width: 420px; }
}


@media (max-width: 900px) {
  form {
    padding-left: 7%;
    padding-right: 7%;
  }

  form .form-group,
  form input,
  form select,
  form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  form label {
    display: block;
    margin-bottom: 0.4rem;
    text-align: left;
  }
}

.yhteydenotto-wrapper{
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.yhteydenotto-wrapper form{
  width: 100%;
  max-width: 1200px;     
  margin: 0 auto;        
  padding: 0 4vw;        
  box-sizing: border-box;
}


@media (min-width: 900px){
  .kaksikenttaa{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;                 
    justify-content: space-between;
  }
  .kaksikenttaa .kentta{
    flex: 1 1 48%;             
    max-width: 48%;
    min-width: 360px;          
  }
  .kokorivi{
    width: 100%;               
    max-width: none;
    padding-left: 0;           
    padding-right: 0;
  }
}

@media (min-width: 900px) and (max-width: 1150px){
  .kaksikenttaa{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  .kaksikenttaa .kentta{
    flex: 1 1 calc(50% - 20px);   
    max-width: calc(50% - 20px);
    min-width: 300px;             
  }
}


@media (max-width: 480px){
  .yhteydenotto-hero{
    min-height: 100svh;              
    padding: 0 6vw;                 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .yhteydenotto-hero .hero-text{    
    max-width: 90vw;                
    margin: 0 auto;                 
  }

  .yhteydenotto-hero .hero-text .hero-otsikko{
    text-transform: none !important;
    font-weight: 800;
    font-size: clamp(1.9rem, 8vw, 2.4rem) !important;
    line-height: 1.15;
    letter-spacing: .01em;
    margin: 0 0 .75rem;             
    text-wrap: balance;             
  }

  .yhteydenotto-hero .hero-text .hero-kuvaus{
    font-size: clamp(1rem, 4vw, 1.15rem);
    line-height: 1.5;
    opacity: .92;
  }
}


@media (max-width: 480px){
  .yhteydenotto-hero{
    justify-content: flex-start;   
    padding-top: 12svh;            
  }
  .yhteydenotto-hero .hero-text{
    margin-top: 0;                 
  }
}
.magnet-word[href^="mailto:"] {
  color: inherit !important;        
  text-decoration: none !important; 
}

.magnet-word[href^="mailto:"]:visited {
  color: inherit !important;        
}

.magnet-word[href^="mailto:"]:hover,
.magnet-word[href^="mailto:"]:focus-visible {
  color: inherit !important;        
  text-decoration: none !important;
}

