@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Public Sans", Times, serif;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow-x: clip;
  touch-action: auto;
}
body.nav-open {
  overflow: hidden;
  width: 100vw;
}

.video-wrapper {
  position: relative;
  width: 100vw;
  height: calc(var(--vh, 1svh) * 100);
  overflow: hidden;
  z-index: 10;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(var(--vh, 1svh) * 100);
  width: 100vw;
  z-index: 10;
  object-fit: cover;
  object-position: center;
  display: block;
}

.main-header {
  box-sizing: border-box;
  padding: 1rem 0 0.5rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(var(--vh, 1svh) * 100);
  z-index: 10;
}
.main-header h1 {
  font-size: clamp(3rem, 10vw, 10rem);
  margin: 0 0 0.5rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  text-align: center;
}

.main-menu-toggle {
  display: none;
  position: fixed;
  top: 2rem;
  right: 1.5rem;
  z-index: 100;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  order: -1;
}
.main-menu-toggle span {
  width: 18px;
  height: 2px;
  background: #000;
  border-radius: 1px;
  transition: all 0.3s ease;
}
.main-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.main-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.main-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#language-toggle {
  display: block;
  margin: 0 0 0 2rem;
  background: none;
  border: 1px solid #000;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}
#language-toggle:hover {
  background: #000;
  color: #fff;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-bottom: 1.5px solid #111;
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 5;
  width: calc(100% - 80px);
}
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.main-nav ul li a {
  font-size: 0.9rem !important;
  display: inline-block;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: 0.02em;
}
.main-nav ul li a:hover, .main-nav ul li a.active {
  background-color: #000;
  color: #fff;
  border-radius: 0;
}

@media (max-width: 768px) {
  .main-header {
    padding: 1rem 1.5rem 0.5rem;
  }
  .main-header h1 {
    margin-bottom: 0.3rem;
  }
  #swipe-edge-zone {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 24px;
    height: 100%;
    z-index: 50;
    touch-action: none;
  }
  .main-menu-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    padding: 0 40px;
  }
  .main-nav {
    position: fixed;
    flex-direction: column;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    box-sizing: border-box;
    background-color: #fff;
    transform: translateX(100vw);
    transition: transform 0.5s ease-in-out;
    padding: 2rem;
    overflow-y: auto;
    z-index: 10;
    border-bottom: none;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  .main-nav ul li a {
    width: 100vw;
    font-size: 2rem !important;
    text-align: center;
    padding: 0.5rem 1rem;
  }
  .main-nav ul li a:hover {
    background-color: transparent;
    color: #000;
  }
  .main-nav ul li a.active {
    background-color: #000;
    color: #fff;
  }
  #language-toggle {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    margin: 1.2rem auto 0;
  }
}
ul {
  list-style-type: none;
  padding: 0;
}

h2 {
  padding: 25px 0 0;
}

hr {
  margin: 50px 0;
}

.first-section {
  padding: 0;
}

.language-content .greeting-message,
.language-content .greeting-message-fr {
  margin-bottom: 75px;
}

.constitution {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.playground {
  font-style: italic;
  font-weight: 600;
}

#content-en {
  display: none;
}

.main-content {
  position: relative;
  text-align: justify;
  left: 0;
  width: 100vw;
  overflow-y: auto;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.5rem;
  min-height: calc(var(--vh, 1svh) * 100);
  padding-right: calc(1.5rem + 80px);
  box-sizing: border-box;
  overflow-x: hidden;
  background: #fff;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .main-menu-toggle {
    padding: 0;
    top: 1rem;
    right: 1rem;
  }
  .main-content {
    margin-top: 20px;
    padding: 1.5rem 40px 20px 20px;
  }
  nav ul li {
    display: block;
    margin: 10px 0;
  }
  nav ul li a {
    display: block;
    text-align: center;
  }
}
.main-content:has(.events-grid) {
  max-width: none;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  padding: 0 80px 0 0;
  text-align: left;
}

@media (max-width: 768px) {
  .main-content:has(.events-grid) {
    padding: 1.5rem 0 0;
  }
}
.right-audio-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80px;
  height: calc(var(--vh, 1svh) * 100);
  background: rgba(255, 255, 255, 0.9);
  border-left: 1.5px solid #111;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 0;
  box-sizing: border-box;
  transition: none;
}

body.ready .right-audio-menu {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.audio-menu-toggle {
  position: fixed;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  z-index: 9;
  background: transparent;
  border: none;
  width: 24px;
  height: 50px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
}
.audio-menu-toggle:hover {
  transform: translateY(-50%) scale(1.1);
}
.audio-menu-toggle span {
  width: 5px;
  height: 5px;
  background: #000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
}
.audio-menu-toggle:hover span {
  opacity: 1;
  background: #333;
}
.audio-menu-toggle.open span:nth-child(1) {
  transform: translateX(5px);
}
.audio-menu-toggle.open span:nth-child(3) {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .right-audio-menu {
    width: 60px;
    transform: translateX(100%);
  }
  .right-audio-menu.open {
    transform: translateX(0);
  }
  .audio-menu-toggle {
    color: #000;
    display: flex;
  }
  .audio-menu-toggle.open {
    right: calc(60px + 1rem);
  }
}
@media (min-width: 769px) {
  .audio-menu-toggle {
    display: none;
  }
}
.audio-player {
  height: auto;
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.time-display {
  font-size: 0.75rem;
  font-weight: 400;
  color: #111;
  font-family: "Courier New", monospace;
  letter-spacing: 0.5px;
  text-align: center;
  min-width: 40px;
}

.audio-progress {
  position: absolute;
  bottom: 280px;
  right: -112px;
  width: 300px;
  height: 16px;
  transform: rotate(-90deg);
  background: transparent;
  border: none;
  outline: none;
  opacity: 1;
  visibility: visible;
  transition: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  touch-action: pan-x;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.audio-progress:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
}
.audio-progress::-webkit-slider-runnable-track {
  height: 2px;
  background: #111;
  border-radius: 0;
}
.audio-progress::-moz-range-track {
  height: 2px;
  background: #111;
  border-radius: 0;
}
.audio-progress::-ms-fill-lower, .audio-progress::-ms-fill-upper {
  background: #111;
  border-radius: 0;
}
.audio-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #111;
  border-radius: 50%;
  border: none;
  margin-top: -5px;
  cursor: pointer;
  transition: background 0.2s;
}
.audio-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #111;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.audio-progress::-ms-thumb {
  width: 12px;
  height: 12px;
  background: #111;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.audio-progress:focus::-webkit-slider-thumb, .audio-progress:active::-webkit-slider-thumb, .audio-progress:focus::-moz-range-thumb, .audio-progress:active::-moz-range-thumb {
  background: #111;
}
.audio-progress::-moz-focus-outer {
  border: 0;
}

@media (max-width: 768px) {
  .audio-progress {
    right: -122px;
    height: 20px;
    touch-action: none;
  }
}
.audio-btn {
  background: #000 !important;
  opacity: 50%;
  color: #fff !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  padding: 6px;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.audio-btn:hover {
  background: #333 !important;
}

.news-listing .page-heading {
  padding: 0 1.5rem 1rem;
}
.news-listing .language-content {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem 0.5rem;
  box-sizing: border-box;
}

.events-section {
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.events-section-heading {
  padding: 1.5rem 0 1rem;
  border-top: 2px solid #000;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
}

.events-empty {
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #111;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

.events-grid-item {
  list-style: none;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

.events-grid-card {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 1/1;
  background: #fff;
}
.events-grid-card .card-default {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.events-grid-card .card-img-wrap {
  flex: 1;
  padding: 1.5rem 1.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.events-grid-card .card-img-wrap .card-primary-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.events-grid-card .card-info {
  flex-shrink: 0;
  padding: 0.5rem 1.5rem 1.25rem;
  text-align: center;
  overflow: hidden;
}
.events-grid-card .card-hover-face {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
}
.events-grid-card .card-hover-face .card-hover-img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}
.events-grid-card .card-hover-face .card-meta {
  flex-shrink: 0;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border-top: 1px solid #000;
  border-right: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  box-sizing: border-box;
}
.events-grid-card .card-hover-face.no-hover-img {
  justify-content: flex-end;
}
.events-grid-card.no-cover .card-img-wrap {
  display: none;
}
.events-grid-card.no-cover .card-default {
  justify-content: center;
}
.events-grid-card:hover .card-default {
  opacity: 0;
}
.events-grid-card:hover .card-hover-face {
  opacity: 1;
}

.events-grid-title {
  font-weight: 300;
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  line-height: 1.3;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.events-grid-date,
.events-grid-author {
  font-size: 0.75rem;
  color: #111;
}

.card-mobile-date {
  display: block;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  color: #111;
  z-index: 1;
}

.post-cover {
  width: 100%;
  margin-bottom: 2rem;
}
.post-cover img {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  object-position: center;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-nav-buttons {
  display: flex;
  gap: 0.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #000;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #000;
  padding: 0.5rem 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.back-link .back-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.back-link:hover {
  background: #000;
  color: #fff;
}
.back-link:hover .back-arrow {
  transform: translateX(-4px);
}

@media (hover: none), (max-width: 768px) {
  .events-grid-card .card-hover-face {
    display: none;
  }
  .events-grid-card:hover .card-default {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .events-grid-card.no-cover .card-img-wrap {
    display: none;
  }
  .events-grid-card.no-cover .card-default {
    justify-content: center;
  }
  .events-grid-card.no-cover .card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }
  .post-footer {
    flex-direction: column;
    gap: 0.75rem;
  }
  .post-footer .event-nav-buttons {
    order: 0;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .post-footer > .back-link {
    order: 1;
    align-self: center;
    justify-content: center;
  }
}
.playground-list {
  border: solid;
  padding: 20px;
  margin: 0;
}
.playground-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  margin-bottom: 0.5em;
}
.playground-list .playground {
  min-width: 110px;
  font-style: italic;
  font-weight: bold;
  flex-shrink: 0;
}
.playground-list .desc {
  flex: 1;
  word-break: break-word;
}

@media (max-width: 600px) {
  .playground-list {
    font-size: 0.65rem;
  }
  .playground-list .playground {
    min-width: 80px;
    font-size: 0.95em;
  }
  .playground-list li {
    gap: 0.3em;
  }
}

/*# sourceMappingURL=styles.css.map */
