.eu-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  margin-top: 10px;
  padding-inline: 10px;
}

.eu-wrapper{
    background: white;
    max-width: 1200px;
    margin-inline: auto;
    padding: 30px;
    margin-block: 40px;
    border-radius: 40px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.03);
}

.eu-tab{
    padding-inline: 40px;
}

.eu-wrapper{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}
.eu-wrapper.lazyloaded {
  opacity: 1;
  transform: translateY(0);
}

.eu-project{
    max-width: 1200px;
    margin-inline: auto;
    background: #f7f8f9;
    padding: 30px;
    padding-bottom: 10px;
    border-radius: 30px;
}

.eu-logo {
  display: block;
  max-height: 85px;  /* настрой според оригинала */
  width: auto;
}

.eu-title {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  color: #18407b;
  margin-bottom: 40px;
  max-width: 1200px;
  font-size: 30px;
}


.eu-title-wrapper{
    max-width: 1200px;
}

.eu-subtitle {
    display: block;
  font-weight: 500;
  color: #222;
  margin-top: 10px;
  font-size: 26px;
}

.eu-content {
    color: #2c2c30;
    font-family: Geologica;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.eu-content p {
  padding-bottom: 20px;
}

.eu-footnote{
    text-align: center;
}

.eu-link {
  text-align: center; /* центрира съдържанието в p */
}

.eu-link a:hover {
    background: #dadddd;
    transform: scale(1.03);
}

.eu-link a:active{
    transform: scale(1);
}

.eu-link a {
  display: inline-block;      /* за да можем да дадем padding и background */
  background: #eaebea;
  padding: 10px 17px;
  border-radius: 30px;
  font-family: Geologica;
  font-size: 20px;
  text-decoration: none;
  color: #013399;
  transition: background 0.2s ease, transform 0.2s ease;
}

@media (max-width: 900px) {
    .eu-hero {
        flex-direction: column;
        justify-content: flex-start; /* подравнява елементите отгоре надолу */
        align-items: center; 
        gap: 20px;    /* подравнява вляво */
    }
    .eu-logo {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }
    .eu-project{
        padding: 15px;
        padding-bottom: 0px;
        border-radius: 20px;
    }
    .eu-wrapper{
        padding: 15px;
        border-radius: 30px;
    }
    .eu-title-wrapper{
        padding-inline: 5px;
        padding-top: 5px;
    }

    .eu-tab{
    padding-inline: 20px;
    }
    .eu-footnote{
        text-align: left;
    }
}

@media (max-width: 940px) {
    .eu-title {
        font-size: 28px;
    }
    .eu-subtitle{
        font-size: 24px;
    }
    
}

@media (max-width: 600px) {
    .eu-title {
        font-size: 24px;
    }
    .eu-subtitle{
        font-size: 22px;
    }
    .eu-content p{
        font-size: 18px;
    }
    .eu-link a{
        font-size: 18px;
    }
}