/*
Theme Name: Bauhaus Colloquium
Description: A standalone theme for creating Bauhaus Colloquium pages with dynamic text effects and responsive design.
Author: Mona Kerntke, Leonard Behre, Jonas Märtens
Author URI: https://www.uni-weimar.de/
Version: 1.0
Text Domain: bauhaus-colloquium
*/

/* =====================
   Global Design Tokens
   ===================== */
:root {
  --ui-font: 700 13px/1.15 Arial, 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: 10px;
}
.nav {
    padding: 10px 10px 0 10px;
}

#wpadminbar {
    display: none !important;
}

/* =====================
   Global Layout Structure
   ===================== */
.colloquium-page {
  width: 100%;
  min-height: 100vh;
  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% !important;
}



/* =====================
   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;
}

.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;
}

.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;
  }

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

/* =====================
       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;
}