:root {
  --bg: #eae6e5;      /* oldal háttere */
  --ink: #375742;     /* szövegszín */
  --panel: #3c4d42;   /* jobb oldali panel háttere */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to right, var(--bg) 0 50%, var(--panel) 50% 100%);
  color: var(--ink);
  font-family: Verdana, sans-serif;
  display: flex;
  flex-direction: column;  
  align-items: center;
  justify-content: flex-start; 
  padding: 16px 0;            
  gap: 30px;                  
}

/* Név sor */
.name-row {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 8px;
  position: relative;
  top: -40px;
}

/* bal oldal: SARA */
.name-row .first {
  width: 50%;
  text-align: right;       
  padding-right: 10px;    
  color: #3c4d42;
}

/* jobb oldal: MUDRAK */
.name-row .last {
  width: 50%;
  text-align: left;       
  padding-left: 10px;      
  color: #d9d4d2;
}
.extra-wrap {
  display: flex;
  width: min(1200px, 92%);
  margin: 80px auto 0; 
  gap: 40px;           
}

/* Bal oldal - kép */
.extra-left {
  flex: 0 0 45%;       
  display: flex;
  justify-content: center;
  
}
.extra-left img {
  width: auto;            
  max-width: 600px;    
  height: auto; 
  max-height: 700px;
  border-radius: 8px;
  object-fit: cover;
  margin-top: -70px; 
 
}

/* Jobb oldal - szöveg */
.extra-right {
  flex: 0 0 55%;       
  padding: 40px;
  color: #eae6e5;
}

.extra-right h1 {
  margin-top: -100px;
  font-size: 1.2rem;
  line-height: 2;
  text-decoration: underline;
}
.extra-right h2 {
  font-size: 1.2rem;
  line-height: 2;
  text-decoration: underline;
}


.extra-right p {
  font-size: 0.9rem;
  line-height: 2;
}

a {
  color: #eae6e5;       
  font-weight: bold;    
  text-decoration: underline; 
}
.back-link {
  position: fixed;   
  top: 20px;        
  left: 20px;        
  background: #eae6e5;
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}


/* --- Mobil (<940px) --- */
@media (max-width: 940px) {
  body {
    background: var(--panel); 
  }

  .name-row {
    flex-direction: column;
    align-items: center;
    top: 0;
  }

  .name-row .first,
  .name-row .last {
    width: auto;
    text-align: center;
    padding: 0;
    color: #d9d4d2; 
  }

  .extra-wrap {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;  
    margin: 20px auto 0;
  }

  .extra-left {
    width: 100%;
    display: block;
  }

  .extra-left img {
    max-width: 220px;   
    height: auto;
    display: block;
    margin: 0 0 30px 20px; 
  }

  .extra-right {
    width: 100%;
    padding: 0 20px;
    margin-top: 70px;  
    text-align: left;
  }

 

  .extra-right p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .back-link {
    background: none;   
    color: #fff;
    position: fixed;
    top: 20px;
    left: 20px;
    text-decoration: underline;
    font-weight: bold;
  }
}