@import url("https://fonts.adam-test.com/css/invention.css");

:root {
  --text-default: #0d2340;
  --default-color: #2e9e97;

  /* Type scale */
  --text-xs: 0.5rem;
  --text-sm: 0.75rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
}

/* Layout */
body {
  font-family: "Invention", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: var(--text-default);
}

.first-block {
  position: relative;
  overflow: hidden;
  height: 80vh;
  text-align: center;
  padding: 50px 20px;
  background-color: white;
  background-image: url("../images/hero-bg-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

video {
  object-fit: cover;
  width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.container.head {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Header & Footer */
.header {
  background-color: white;
}

.header {
  position: relative;
  z-index: 9999;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  width: 100px;
}

.footer {
  background-color: #e5e5e5;
  padding: 40px 20px;
  color: white;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #000;
}

.footer-column {
  width: 25%;
  font-size: var(--text-sm);
}

.footer-column p {
  line-height: 1rem;
  margin: 15px 0;
}

/* .footer-grid .footer-column:nth-child(1),
.footer-grid .footer-column:nth-child(2) {
  width: 30%;
}

.footer-grid .footer-column:nth-child(3),
.footer-grid .footer-column:nth-child(4) {
  width: 20%;
} */

.footer-support-link {
  color: #000;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding: 10px 20px;
  font-size: var(--text-sm);
  color: #000;
}

/* Typography */
h1 {
  color: #fff !important;
  font-family: "Invention";
  font-weight: 700;
}

.first-block h1 {
  color: var(--text-default);
  margin: 10px 0;
}

.first-block h1:nth-child(2) {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--default-color);
}

.hero-title {
  font-size: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: #fff;
  max-width: 800px;
  margin: 16px auto 0;
  line-height: 1.5;
}

.hero-divider {
  width: 15%;
  border: none;
  margin: 20px auto;
  height: 1px;
  background-color: #fff;
}

h2.hero {
  color: var(--text-default);
  margin-bottom: 30px;
  /* font-family: "Invention"; */
  letter-spacing: 0.5rem;
  font-size: 1.5em;
}

h3.sat {
  color: #fff;
  letter-spacing: 0.1rem;
  font-family: "Invention", sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
}

.black {
  color: var(--text-default) !important;
}

.green {
  color: var(--default-color) !important;
}

.sponsor {
  color: #fff;
  font-size: 0.9rem;
  margin-top: 0;
}

.sub {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  display: block;
  color: #e8f7f6;
  margin-bottom: 50px;
}

.sm {
  display: none !important;
}

.date {
  display: flex;
  color: #fff;
  font-size: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.8rem;
  justify-content: space-evenly;
  align-items: center;
}

.sp {
  font-family: "Invention", sans-serif;
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.2rem;
}

.sp-label {
  font-size: clamp(0.75rem, 1.6vw, 1.25rem);
  letter-spacing: 0.05rem;
}

.time-info {
  font-size: clamp(1rem, 1.75vw, 1.5rem);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 15px 100px;
  font-size: var(--text-base);
  /* background-color: var(--default-color); */
  background-color: var(--default-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  border: 1.5px solid var(--text-default);
}

.cta-button:hover {
  background-color: white;
  ;
  color: var(--default-color);
}

/* Speakers */
.speakers-block {
  display: none;
  padding: 50px 20px;
  background-color: #e9f7f6;
}

.moderator-section,
.faculty-section {
  margin-bottom: 40px;
}

.moderator-section h2,
.faculty-section h2 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-default);
  margin-bottom: 20px;
}

.speaker-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.speaker {
  text-align: center;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speaker img {
  width: 70%;
  height: auto;
  border-radius: 50%;
  border: 4px solid var(--default-color);
  margin-bottom: 10px;
}

.speaker-name {
  font-size: 0.9rem;
  color: var(--default-color);
  font-style: italic;
}

.speaker p {
  font-size: 0.9rem;
  color: #555;
}

/* Agenda */
.agenda-block {
  padding: 50px 20px;
  background-color: #f6f7f7;
}

.agenda {
  text-align: center;
  margin-bottom: 0;
}

.agenda-sub {
  text-align: center;
  margin-top: 0;
  color: var(--default-color);
}

.agenda-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.agenda-item>.agenda-item-titles {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.agenda-item>.agenda-item-titles>.title {
  font-weight: 700;
  color: var(--text-default);
  font-size: var(--text-base);
  font-family: "Invention", sans-serif;
  text-align: center;
}

.agenda-item>.agenda-item-titles>.subtitle {
  width: 100%;
  text-align: center;
}

.time {
  font-size: 0.95rem;
  width: 20%;
  font-weight: 700;
}

.time.sm {
  font-weight: 500;
  font-size: 0.8rem;
}

.regi-btn {
  color: #fff;
  line-height: 1.7rem;
}

.topic {
  width: 60%;
}

.speaker-name {
  width: 30%;
}

.agenda-session {
  padding-bottom: 40px;
}

.agenda-session h3 {
  font-size: var(--text-base);
  text-align: center;
  margin-bottom: 30px;
  color: var(--default-color);
  font-weight: 700;
  text-transform: uppercase;
}

.agenda-session-divider {
  width: 100%;
  height: 0px;
  background-color: var(--default-color);
  margin: 20px 0;
}

.agenda-column-titles {
  line-height: 180%;
  padding: 30px 0;
  border-bottom: 1px solid #ccc;
}

.column-title {
  display: block;
  font-size: var(--text-lg);
}

.column-subtitle {
  display: block;
  font-size: 0.95rem;
  color: var(--default-color);
}

.column-subtitle.small {
  font-size: 0.8rem;
  font-style: italic;
}

.column-title-hold {
  width: 40%;
}

/* Banner */
.banner-block {
  text-align: center;
  padding: 40px 20px;
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  color: var(--default-color);
}

/* Misc */
.vod {
  display: block;
  color: var(--text-default);
}

.vod-tm {
  display: block;
  margin-top: 30px;
  font-size: 0.9rem;
}

.vod-title {
  font-family: "Invention", sans-serif;
  font-weight: 700;
}

p.disclaimer {
  font-size: var(--text-sm);
}

img.adm {
  width: 160px;
}

p.card-content {
  height: 85px;
}

.contact {
  font-size: var(--text-xs);
}

/* Accordion */
.accordion {
  background-color: #f4f4f4;
  color: var(--text-default);
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: var(--text-base);
  transition: 0.4s;
}

.accordion.active,
.accordion:hover {
  background-color: var(--default-color);
  color: white;
}

.panel {
  padding: 0 20px;
  display: none;
  background-color: white;
  overflow: hidden;
}

/* Video */
.video-wrapper {
  padding: 4rem;
}

.video-wrapper video,
.video-wrapper .plyr {
  aspect-ratio: 16 / 9;
  min-height: 400px;
  object-fit: contain;
  --plyr-color-main: #2e9e97;
}

.video-wrapper .plyr .plyr__control--overlaid {
  background: #0d2340;
  border-color: #0d2340;
}

/* THEOplayer – progressbar e pulsanti */
.theoplayer-container {
  --theo-color-brand: #2D9E94;
}

.theoplayer-container .theo-time-progress,
.theoplayer-container .vjs-load-progress,
.theoplayer-container .theo-seekbar-progress,
.theoplayer-container .vjs-play-progress {
  background-color: #2D9E94 !important;
}

.theoplayer-container .theo-primary-color,
.theoplayer-container .vjs-icon-placeholder::before,
.theoplayer-container .vjs-button>.vjs-icon-placeholder::before {
  color: #ffffff !important;
}

.theoplayer-container .theo-seekbar-buffer-progress,
.theoplayer-container .vjs-slider-bar {
  color: #2D9E94 !important;
}

/* Responsive */
@media (max-width: 1180px) {
  .container.footer-grid {
    flex-direction: column;
    row-gap: 20px;
  }

  .footer-column {
    width: 100%;
  }

  video {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .cta-button {
    padding: 15px 60px;
  }
}

@media (max-width: 780px) {
  .first-block {
    height: auto;
    min-height: 50vh;
    padding: 30px 20px;
  }

  .date {
    flex-direction: column;
  }

  .cta-button {
    padding: 12px 40px;
  }

  .program {
    padding: 0;
  }

  .agenda-block {
    padding: 30px 15px;
  }

  .agenda-item {
    column-gap: 10px;
  }

  .agenda-item>.agenda-item-titles>.title {
    text-align: start;
  }

  .agenda-item>.agenda-item-titles>.subtitle {
    text-align: start;
  }

  .agenda-column-titles {
    column-gap: 10px;
  }

  .footer-column {
    width: 100% !important;
  }

  .video-wrapper {
    padding: 1rem;
  }

  .video-wrapper video,
  .video-wrapper .plyr {
    aspect-ratio: 16 / 9;
    min-height: unset;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .date {
    line-height: 1.6rem;
  }

  .cta-button {
    padding: 12px 30px;
    width: 100%;
    box-sizing: border-box;
  }

  .agenda-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 0;
  }

  .time {
    width: 100%;
  }

  .topic {
    width: 100%;
  }

  .speaker-name {
    width: 100%;
    font-style: italic;
  }

  .video-wrapper {
    padding: 0.5rem;
  }
}