@import url("general.css");



/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 2rem;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38, 42, 46, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 42, 46, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 30% 20%, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(
    ellipse at 30% 20%,
    black 45%,
    transparent 85%
  );
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-copy {
  flex: 1 1 420px;
}
.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-title em {
  font-weight: 1000;
  font-style: normal;
  color: var(--logo-gray);
}
.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-copy {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-sub {
    max-width: 47ch;
    margin: 1.25rem auto;
    line-height: 1.4;
  }
}

/* ---------------- Main Layout ---------------- */
.event-page-main {
  padding: 0 0 5rem 0;
}

.event-content-grid {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.event-text {
  flex: 1 1 550px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--font-body);
  line-height: 1.6;
}

.event-sidebar {
  flex: 1 1 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 2rem;
}

.event-poster img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.white-bg {
  mix-blend-mode: multiply;
}

.event-caption {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ---------------- Sections & Typography ---------------- */
.event-section-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
}

.event-sub-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.event-meta {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.event-text ul,
.event-text ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-text ul ul {
  margin-top: 0.25rem;
}

/* ---------------- Table Styles ---------------- */
.event-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 1rem 0;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.event-table th,
.event-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.event-table th {
  font-family: var(--font-head);
  font-weight: 600;
  background-color: var(--card, #f9f9f9);
}

.event-table tr:last-child td {
  border-bottom: none;
}

/* ---------------- Sidebar Actions ---------------- */

.action-box {
  /* background-color: var(--card); */
  /* border-radius: 8px; */
  /* padding: 1.5rem; */
  text-align: center;
  align-items: center;
  /* display: flex; */
  gap: 1rem;
}

.pdf-links-box {
  display: flex;
  padding: 1.5rem 0;
  /* flex-direction: column; */
  gap: 0.5rem;
  align-items: center;
}

.action-box h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  opacity: 0.8;
}

/* .btn-register {
  display: inline-block;
  background-color: var(--moss-deep);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
} */

.pdf-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--moss-deep);
  color: var(--card);
  font-family: "STIX Two Text", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: transform 0.1s ease;
}

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--moss-deep);
  color: var(--card);
  font-family: "STIX Two Text", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: transform 0.1s ease;
}

.btn-register:hover {
  color: var(--card);
  transform: translateY(-1px);
}

.btn-register:active {
  transform: translateY(0);
}

.event-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-secondary-link {
  display: block;
  background-color: transparent;
  color: var(--logo-gray, #262a2e);
  border: 1px solid var(--line);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--logo-gray);
  font-family: "STIX Two Text", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: transform 0.1s ease;
}

.btn-secondary-link:hover {
  background-color: var(--card, #f9f9f9);
  border-color: var(--logo-gray, #262a2e);
}

/* Responsive collapse */
@media (max-width: 900px) {
  .event-content-grid {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .event-sidebar {
    max-width: 100%;
    position: static;
  }
}


/* ---------------- Video Embed ---------------- */
.event-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin: 1.5rem 0;
}

.event-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ---------------- Organizers Grid ---------------- */
.organizer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.5rem 1rem;
  margin: 1.5rem 0 2.5rem;
}

.organizer-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.organizer-member a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.organizer-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
}

.organizer-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}


/* ---------------- Sidebar Navigation ---------------- */
.sidebar-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line, #e5e5e5);
}

.sidebar-nav-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #666);
  margin-bottom: 0.75rem;
}

.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main, #333);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  display: block;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-nav-link:hover {
  background-color: var(--bg-hover, rgba(0, 0, 0, 0.04));
  color: var(--text-main, #000);
}

.sidebar-nav-link.active {
  font-weight: 600;
  background-color: var(--bg-active, rgba(0, 0, 0, 0.06));
  color: var(--accent, #111);
}


/* ---------------- PDF Preview Embed ---------------- */
.event-pdf-container {
  position: relative;
  width: 100%;
  height: 750px;
  border-radius: 8px;
  border: 1px solid var(--line, #e5e5e5);
  overflow: hidden;
  margin: 1.5rem 0;
}

.event-pdf-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .event-pdf-container {
    height: 500px;
  }
}