/*--------------------------------------------------------------
# EU project pages / Brain Awareness Week
--------------------------------------------------------------*/
.eu-project-page {
  background: #f8f9fa;
  padding: 0 0 50px 0;
}

.eu-project-page .container {
  max-width: 1080px;
}

.eu-article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  padding: 34px 42px;
  margin: 0 auto;
}

.eu-project-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 30px;
}

.poc4triage-hero {
  background: linear-gradient(135deg, #25afa7 0%, #0ea5ca 100%);
}

.eaststroke-hero {
    background: linear-gradient(
        180deg,
        #2f5474 0%,
        #4f86aa 35%,
        #7ec8ee 65%,
        #4f86aa 100%
    );
}

.eu-project-logo-wrap {
  flex: 0 0 118px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eu-project-logo {
  max-width: 82px;
  max-height: 82px;
  position: relative;
}

.eu-logo {
    display: block;
    margin-top: 16px;

    height: 54px;
    width: auto;

    background: rgba(255,255,255,.95);
    padding: 4px;
    border-radius: 4px;
}

.eaststroke-logo-wrap {
  flex: 0 0 300px;
  width: 300px;
  height: 120px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 18px;
}

.eaststroke-logo {
  max-width: 260px;
  max-height: 90px;
}

@media (max-width: 768px) {
  .eaststroke-logo-wrap {
    flex-basis: auto;
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .eaststroke-logo {
    max-width: 100%;
    max-height: 90px;
  }
}

.umbrella-hero {
  background: radial-gradient(
    circle at top right,
    #c8c1ff 0%,
    #8f82eb 40%,
    #5746b6 100%
  );
  gap: 28px;
}

.umbrella-logo-wrap {
  background: transparent;
  border-radius: 0;
  flex: 0 0 180px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.umbrella-logo {
  max-width: 180px;
  max-height: 180px;
}

.validate-hero {
  background: linear-gradient(
    12deg,
    #4b0a78 0%,
    #7a1fa2 40%,
    #e85bc8 100%
  );
}

.resq-hero {
    background: linear-gradient(213deg, var(--yellow) 0%, var(--info) 48%, var(--cyan) 100%);
}

.resq-logo-wrap {
  flex: 0 0 310px;
  width: 310px;
  height: 120px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 18px;
}

.resq-logo {
  max-width: 270px;
  max-height: 90px;
}

@media (max-width: 768px) {
  .resq-logo-wrap {
    flex-basis: auto;
    width: 100%;
    max-width: 330px;
    height: auto;
  }

  .resq-logo {
    max-width: 100%;
    max-height: 90px;
  }
}
/*==========general============*/

.eu-project-content {
    flex: 1;
}

.eu-project-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.eu-project-eu-logo {
    height: 52px;
    width: auto;
    flex-shrink: 0;
    background: rgba(255,255,255,.95);
    padding: 4px;
    border-radius: 4px;
}



.eu-project-hero h1 {
  color: #fff;
  font-size: 38px;
  margin: 0 0 8px 0;
  line-height: 1.1;
}

.eu-kicker {
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.eu-lead {
    font-size: 1.35rem !important;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 8px;
    margin-bottom: 16px;
}

.eu-article h2 {
  color: #0ea5ca;
  font-size: 24px;
  margin: 34px 0 14px 0;
}

.eu-article p,
.eu-article li {
  font-size: 16px;
  line-height: 1.75;
}

.eu-intro-box {
  background: #eaf8fb;
  border-left: 6px solid #0ea5ca;
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.eu-intro-box p {
  margin: 0;
}

.eu-list {
  padding-left: 22px;
  margin-bottom: 22px;
}

.eu-list li {
  margin-bottom: 10px;
}

.eu-quote {
  background: #f7fbfc;
  border-left: 6px solid #25afa7;
  padding: 22px 26px;
  margin: 30px 0;
  border-radius: 8px;
}

.eu-quote p {
  font-style: italic;
  font-weight: 600;
  margin-bottom: 12px;
}

.eu-quote footer {
  color: #545454;
  font-size: 14px;
  font-weight: 700;
}

.eu-info-panel {
  background: #f5f5f5;
  padding: 22px 26px;
  border-radius: 8px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.eu-info-panel h2 {
  margin-top: 0;
}

.eu-info-panel ul {
  margin-bottom: 0;
}

.eu-funding-note {
  font-size: 14px !important;
  color: #666;
  border-top: 1px solid #e5e5e5;
  padding-top: 18px;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .eu-article {
    padding: 22px 18px;
    border-radius: 0;
  }

  .eu-project-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .eu-project-logo-wrap {
    width: 94px;
    height: 94px;
    flex-basis: 94px;
  }

  .eu-project-logo {
    max-width: 68px;
    max-height: 68px;
  }

  .eu-project-hero h1 {
    font-size: 30px;
  }

  .eu-lead {
    font-size: 17px;
  }

  .eu-article h2 {
    font-size: 21px;
  }

  .eu-article p,
  .eu-article li {
    font-size: 15px;
    line-height: 1.65;
  }
}

.ai-process {
  background: #f4f2ff;
  border-left: 6px solid #7a70d6;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
}

.ai-process h2 {
  margin-top: 0;
  color: #5746b6;
}

.ai-intro {
  margin-bottom: 30px;
}

.ai-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.ai-step:last-child {
  margin-bottom: 0;
}

.ai-number {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;

  background: #7a70d6;
  color: #fff;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 1.1rem;
}

.ai-content {
  flex: 1;
}

.ai-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #5746b6;
  font-size: 1.2rem;
}

.ai-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {

/*Umbrella*/

  .ai-process {
    padding: 20px;
  }

  .ai-step {
    gap: 15px;
  }

  .ai-number {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

}

/*================össszefoglaló oldal====================*/

.baw-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 35px 20px 60px;
}

/* FEJLÉC */

.baw-header {
  text-align: center;
  margin-bottom: 50px;
}

.baw-kicker {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.baw-kicker,
.baw-header h1,
.baw-header h2 {
    color: #4d9ad1;
}

.baw-header h1 {
  margin: 0 0 20px 0;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
}

.baw-header h2 {
  margin: 15px 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
  }

.baw-project-list {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.baw-eu-logo {
  display: block;
  margin: 0 auto 30px;
  max-width: 260px;
  width: 100%;
  height: auto;
}

.baw-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* PROJEKTKÁRTYÁK */

.baw-project {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border: 1px solid #e8eef1;
}

.project-topbar {
  height: 10px;
}

.project-inner {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
}

.project-logo-box {
  width: 160px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7f8;
  border-radius: 12px;
  padding: 14px;
}

.project-logo-box img {
  max-width: 150px;
  max-height: 95px;
  object-fit: contain;
}

.project-logo-box.wide-logo {
  width: 170px;
}

.project-logo-box.wide-logo img {
  max-width: 155px;
}

.project-logo-box.transparent-logo {
  background: transparent;
}

.project-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.baw-project h3 {
  margin: 6px 0 12px;
  font-size: 1.25rem;
  color: #222;
}

.baw-project p {
  margin-bottom: 18px;
  color: #444;
}

.baw-button {
  display: inline-block;
  color: #fff;
  padding: 10px 18px;
  border-radius: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}

.baw-button:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* PROJEKTSZÍNEK */

.poc4 .project-topbar,
.poc4 .baw-button {
  background: #25afa7;
}

.poc4 .project-title {
  color: #25afa7;
}

.umbrella .project-topbar,
.umbrella .baw-button {
  background: #7a68dd;
}

.umbrella .project-title {
  color: #7a68dd;
}

.east .project-topbar,
.east .baw-button {
  background: #2b79c8;
}

.east .project-title {
  color: #2b79c8;
}

.resq .project-topbar,
.resq .baw-button {
  background: #2aaac3;
}

.resq .project-title {
  color: #2aaac3;
}

.validate .project-topbar,
.validate .baw-button {
  background: #b24db5;
}

.validate .project-title {
  color: #b24db5;
}

.baw-eu-panel {
    max-width: 650px;
    margin: 30px auto;
    padding: 10px 0px 0px 0px;

    background: #f3f5f7;

    border: 1px solid #dfe5ea;

    border-radius: 12px;

    text-align: center;
}

.baw-eu-panel h2 {
    margin-bottom: 12px;
    color: #4d9ad1;
}

.baw-project-list {
    margin-bottom: 20px;
    font-weight: 600;
}

/* MOBIL */

@media (max-width: 768px) {
  .baw-page {
    padding: 25px 15px 45px;
  }

  .baw-header h1 {
    font-size: 2.2rem;
  }

  .baw-header h2 {
    font-size: 1.2rem;
  }

  .baw-eu-logo {
    max-width: 300px;
  }

  .project-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-logo-box {
    margin: 0 auto;
  }

  .project-title {
    font-size: 1.55rem;
  }

  .baw-project h3 {
    font-size: 1.1rem;
  }
}

.project-video {
    text-align: center;
    margin: 40px 0;
}

.project-video iframe {
    margin: 0 auto;
}