/*
Theme Name: Bauhaus - Colloquium - 3rd Phase
Description:
Version: 4.5
Text Domain: bauhaus-colloquium
*/

/* Add fonts from /fonts directory */
@font-face {
  font-family: 'CMU Serif';
  src: url('fonts/cmunrm.ttf') format('truetype');
}

@font-face {
  font-family: 'Arial Black';
  src: url('fonts/arialblack.ttf') format('truetype');
}

@font-face {
  font-family: 'Arial Narrow';
  src: url('fonts/arialnarrow.ttf') format('truetype');
}

/* =====================
   Global Design Tokens
   ===================== */
:root {
  --ui-font: normal 13px/1.15 'Arial Black', sans-serif;
  --ui-color: #000;
  --text-color: #000;
  font-size: clamp(34px, 5vw, 54px);
  --flow-leading: 0.92;
  --gap-lg: 80px;
  /* Standard-Gap unten */
  --arial-size: calc(0.88 * 1rem);
  --headline-gap: 80px;
  /* gewünschter Abstand zur grauen Headline */
  --muted: #D9D9D9;
  /* Grau für inaktiven Toggle */
  --tight-track: -0.12em;
  /* Negatives Tracking für einzelne CMU-Zeichen */
}

html,
body {
  height: 100% !important;
}

html {
    margin-top: 0 !important;
}

* {
  box-sizing: border-box;
}

.colloquium-page {
    padding: 189px 10px 10px 10px;
}

#wpadminbar {
    display: none !important;
}

/* =====================
   Global Layout Structure
   ===================== */
.colloquium-page {
  width: 100%;
  min-height: 100% !important;
  height: 100% !important;
  overflow: scroll;
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  color: var(--ui-color);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.colloquium-page::-webkit-scrollbar,
.colloquium-page::-webkit-scrollbar-thumb,
.colloquium-page::-webkit-scrollbar-track {
  display: none;
}


.page-content {
  width: 100%;
  padding-bottom: 294px;
}



/* =====================
   Navigation (Global Header)
   ===================== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font: var(--ui-font);
  color: var(--ui-color);
  z-index: 1;
  margin-top: auto;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  font: var(--ui-font);
  color: var(--ui-color);
  position: sticky;
  top: 0;
  z-index: 10;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 15px;
  padding: 6px 10px 40px 10px;
  background: linear-gradient(180deg, rgb(100% 100% 100% / 0.88) 0%, rgb(100% 100% 100% / 0.8765625) 6.25%, rgb(100% 100% 100% / 0.86625) 12.5%, rgb(100% 100% 100% / 0.8490625) 18.75%, rgb(100% 100% 100% / 0.825) 25%, rgb(100% 100% 100% / 0.7940625) 31.25%, rgb(100% 100% 100% / 0.75625) 37.5%, rgb(100% 100% 100% / 0.7115625) 43.75%, rgb(100% 100% 100% / 0.66) 50%, rgb(100% 100% 100% / 0.6015625) 56.25%, rgb(100% 100% 100% / 0.53625) 62.5%, rgb(100% 100% 100% / 0.4640625) 68.75%, rgb(100% 100% 100% / 0.385) 75%, rgb(100% 100% 100% / 0.2990625) 81.25%, rgb(100% 100% 100% / 0.20625000000000004) 87.5%, rgb(100% 100% 100% / 0.1065625) 93.75%, rgb(100% 100% 100% / 0) 100%);
}

.nav a {
  text-decoration: none;
  color: #000;
}

.nav-left {
  flex: 1;
  text-align: left;
}

.nav-center {
  flex: 1;
  text-align: center;
}

.nav-right {
  flex: 1;
  text-align: right;
}

@media (max-width:725px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 30px;
    background: linear-gradient(180deg, rgb(100% 100% 100%) 0%, rgb(100% 100% 100% / 0.99609375) 6.25%, rgb(100% 100% 100% / 0.984375) 12.5%, rgb(100% 100% 100% / 0.96484375) 18.75%, rgb(100% 100% 100% / 0.9375) 25%, rgb(100% 100% 100% / 0.90234375) 31.25%, rgb(100% 100% 100% / 0.859375) 37.5%, rgb(100% 100% 100% / 0.80859375) 43.75%, rgb(100% 100% 100% / 0.75) 50%, rgb(100% 100% 100% / 0.68359375) 56.25%, rgb(100% 100% 100% / 0.609375) 62.5%, rgb(100% 100% 100% / 0.52734375) 68.75%, rgb(100% 100% 100% / 0.4375) 75%, rgb(100% 100% 100% / 0.33984375) 81.25%, rgb(100% 100% 100% / 0.234375) 87.5%, rgb(100% 100% 100% / 0.12109375) 93.75%, rgb(100% 100% 100% / 0) 100%);
  }

  .nav-left,
  .nav-center,
  .nav-right {
    text-align: center;
    flex: none;
  }

  .nav-center {
    order: 1;
  }

  .nav-left {
    order: 3;
  }

  .nav-right {
    order: 2;
  }

  .colloquium-page {
    padding: 189px 10px 10px 10px;
  }

  .footer {
    flex-direction: column;
  }
    
}

/* =====================
       Hover 
       ===================== */
/* Datum mobile/desktop Umschaltung */
.nav-date-mobile { display: none; }
.nav-date-desktop { display: inline; }
@media (max-width: 725px) {
  .nav-date-mobile { display: inline; }
  .nav-date-desktop { display: none; }
}
a {
  color: #000 !important;
  text-decoration: none !important;
  transition: color 0.1s ease !important;
}

a:hover {
  color: var(--chunk-color) !important;
}

/* =====================
   Footer (Global)
   ===================== */
.footer {
  padding: 0;
}

.footer a {
  text-decoration: none;
  color: #000;
}

.footer-left {
  justify-self: start;
  text-align: left;
}

.footer-right {
  justify-self: end;
  text-align: right;
}

/* =====================
   WordPress Theme Resets
   ===================== */
body {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  color: var(--ui-color);
}

/* Hide WordPress theme elements */
.wp-block-template-part,
.wp-block-site-title,
.wp-block-site-tagline,
.wp-block-navigation {
  display: none !important;
}