/******** BODY ********/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Libre Baskerville', Times, serif;
  font-size: 16px;
  line-height: 1.65;
  color: #444444;
  background: #ffffff;
}




/****** HEADER *******/


/****** HEADER *******/

.workshop-header {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 70px 30px 55px;

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

  text-align: center;

  background-image: url("images-workshop/wk-header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.workshop-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}

.workshop-header > * {
  position: relative;
  z-index: 1;
}

.workshop-header h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 400;
  color: #222222;
}

.workshop-subtitle {
  max-width: 760px;
  margin: 24px auto 30px;
  font-size: 28px;
  line-height: 1.5;
  color: #555555;
}

.workshop-date {
  margin: 0;
  font-size: 22px;
  color: #666666;
}

.eu-emblem {
  display: block;
  width: 320px;
  height: auto;
  margin: 30px auto 0;
}


/******* NAVIGATION TABS *******/

.workshop-tabs {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 35px;
  padding-top: 30px;
  padding-bottom: 10px;

    position: sticky; /* sticking at the top when scrolling */
    top: 0;
    z-index: 1000;
    background: white;
}

.tab {
  position: relative;
  padding: 14px 0 13px 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  color: #555555;
  cursor: pointer;
}

.tab:hover {
  color: #33a7b5;
}

.tab.active {
  color: #222222;
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #33a7b5;
}


/****** MAIN CONTENT ******/

.workshop-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 55px 30px 80px 30px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  margin: 0 0 30px 0;
  font-size: 27px;
  line-height: 1.3;
  font-weight: 400;
  color: #222222;
}


.tab-content h3 {
  margin: 38px 0 12px 0;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  color: #222222;
}


.tab-content p {
  margin: 0 0 20px 0;
}

.tab-content a {
  color: #185da3;
  text-decoration: none;
}

.tab-content a:hover {
  text-decoration: underline;
}

.about-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 55px;
  align-items: start;
  margin-top: 10px;
}

.about-text p {
  margin: 0 0 20px;
}

.about-poster {
  text-align: center;
}

.about-poster img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border: 1px solid #e5e5e5;
  transition: opacity 0.2s ease;
}

.about-poster a:hover img {
  opacity: 0.85;
}

.about-poster p {
  margin: 12px 0 0;
  font-size: 13px;
}





/*********** SPEAKERS *********/

/* SPEAKERS */

.speaker-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(9, auto);
  column-gap: 50px;
  row-gap: 0;
  margin-top: 5px;
}

.speaker {
  padding: 9px 0;
  border-bottom: 1px solid #eee;
}

.speaker h3 {
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #222;
}

.speaker p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #777;
}




/******** PROGRAMME *******/

.programme-note {
  color: #666666;
}

.programme-day {
  margin-top: 40px;
}

.programme-day h3 {
  margin: 0 0 15px 0;
  font-size: 19px;
  font-weight: 700;
}

.programme-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.programme-table tr {
  border-top: 1px solid #eeeeee;
}

.programme-table tr:last-child {
  border-bottom: 1px solid #eeeeee;
}

.programme-table td {
  padding: 13px 10px;
  vertical-align: top;
}

.programme-time {
  width: 90px;
  color: #666666;
  white-space: nowrap;
}

.programme-table .break td {
  color: #777777;
  font-style: italic;
}

.abstract {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #eeeeee;
}

.abstract h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 700;
  color: #222222;
}

.abstract p {
  font-size: 15px;
}


/******** REGISTRATION FORM ******/


.google-form {
  width: 100%;
  margin-top: 30px;
}

.google-form iframe {
  display: block;
  width: 100%;
  min-height: 1000px;
  border: none;
}

.registration-form {
  max-width: 600px;
  margin-top: 35px;
}

.form-field {
  margin-bottom: 23px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  color: #444444;
}


.optional {
  color: #888888;
}


.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #cccccc;
  border-radius: 0;
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  color: #333333;
}


.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #33a7b5;
}


.form-field textarea {
  resize: vertical;
}


.submit-button {
  padding: 10px 22px;
  border: none;
  background: #33a7b5;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}


.submit-button:hover {
  background: #278f9c;
}


/******* FOOTER ******/

.workshop-footer {
  border-top: 1px solid #e5e5e5;
}

.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 35px 30px 45px 30px;
  font-size: 13px;
  color: #777777;
}
.footer-inner p {
  margin: 0 0 10px 0;
}

.footer-inner .disclaimer {
  max-width: 720px;
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #888888;
}


/******** MOBILE OPTIMISATION ********/

@media (max-width: 700px) {

  body {
    font-size: 15px;
  }

  .workshop-header {
    margin-top: 35px;
    padding: 0 20px 30px 20px;
  }

  .workshop-header h1 {
    font-size: 29px;
  }

  .workshop-subtitle {
    font-size: 17px;
  }

  .workshop-tabs {
    justify-content: flex-start;
    gap: 22px;
    padding: 0 20px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .about-box {
      grid-template-columns: 1fr;
      gap: 35px;
  }
  
  .about-poster img {
      max-width: 280px;
  }
  
  .tab {
    flex-shrink: 0;
    font-size: 13px;
  }

  .workshop-content {
    padding: 40px 20px 60px 20px;
  }

  .tab-content h2 {
    font-size: 24px;
  }

  .speaker-list {
    grid-template-columns: 1fr;
  }

  .programme-table {
    font-size: 14px;
  }

  .programme-time {
    width: 70px;
  }

  .footer-inner {
    padding: 30px 20px 40px 20px;
  }

}
