/* ---------------------------------------------------------------
   Temperatur 2027 – Konferenzlayout
   Menü links ausgeblendet, Navigation läuft über die externe Seite
   --------------------------------------------------------------- */

/* Obere dunkle Indico-Leiste (Symbole, Zeitzone, Anmelden) ausblenden
   Verwaltung weiterhin über https://conferences.ptb.de/event/30/manage/ */
header.event-page-header {
    display: none !important;
}

/* Untere Kopfzeile (Datum/Ort/Zeitzone) ausblenden */
.confSubTitleBox {
    display: none;
}

/* Nur den Text "Temperatur 2027" ausblenden, Banner bleibt */
.conference-title-link span[itemprop="title"] {
    display: none;
}

/* ----------- Menü links ausblenden ----------- */
/* Nicht mehr mit display:none, sonst wäre auch der Banner-Link weg.
   Das Menü wird unsichtbar und nimmt keinen Platz mehr ein,
   nur der Link zur Tagungsseite (siehe unten) bleibt sichtbar/klickbar. */
.conf_leftMenu {
    visibility: hidden !important;
    float: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: visible !important;
}

/* ----------- Banner verlinkt auf die Galaxy-Seite ----------- */
/* 1. Originalen Indico-Link am Banner unklickbar machen
      (der Link ist das <a> direkt im <h1>, nicht .conference-title-link) */
.confTitle h1 > a {
    pointer-events: none !important;
    cursor: default;
}

/* 2. Menülink zur Tagungsseite unsichtbar über das Banner legen
      (Menüeintrag mit URL https://www.temperatur.ptb.de/startseite) */
body {
    position: relative;
}

/* Elemente im Menü dürfen nicht "positioniert" sein, sonst richtet sich
   der Link nach dem (0 px breiten) Menü statt nach der Seite */
.conf_leftMenu,
.conf_leftMenu * {
    position: static !important;
    transform: none !important;
}

.conf_leftMenu a[href^="https://www.temperatur.ptb.de"] {
    visibility: visible !important;   /* sichtbar, obwohl das Menü versteckt ist */
    position: absolute !important;
    top: 25px !important;             /* Oberkante des Banners (ohne obere Leiste) */
    left: 50% !important;
    transform: translateX(-50%) !important;  /* mittig wie das Banner */
    width: 950px !important;          /* angezeigte Breite des Banners */
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1181 / 413 !important;  /* Seitenverhältnis der Banner-Grafik */
    z-index: 1000;
    font-size: 0 !important;          /* Linktext ausblenden */
    color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    /* zum Testen sichtbar machen: background: rgba(255, 0, 0, 0.3); */
}

/* Grauen Hover-Kasten des Indico-Menüs über dem Banner verhindern */
.conf_leftMenu a[href^="https://www.temperatur.ptb.de"],
.conf_leftMenu a[href^="https://www.temperatur.ptb.de"]:hover,
.conf_leftMenu a[href^="https://www.temperatur.ptb.de"]:focus,
.conf_leftMenu a[href^="https://www.temperatur.ptb.de"]:active {
    background: transparent !important;
    outline: none;
}

/* ----------- Seite: dezenter grauer Hintergrund ----------- */
.conf {
    background: #f3f5f8;
}

/* ----------- Inhalt als zentrierte Karte ----------- */
.confBodyBox {
    float: none !important;          /* Float verhindert sonst das Zentrieren */
    display: block !important;
    width: auto !important;
    max-width: 1000px;
    margin: 32px auto !important;
    padding: 40px 56px !important;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e1e6ec;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Banner gleich breit wie der Inhalt */
.confTitle {
    max-width: 1000px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ----------- Typografie im Inhalt ----------- */
.confBodyBox p,
.confBodyBox li {
    line-height: 1.6;
}

.confBodyBox h1,
.confBodyBox h2,
.confBodyBox h3 {
    color: #1b5e9a;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.confBodyBox h1:first-child,
.confBodyBox h2:first-child,
.confBodyBox h3:first-child {
    margin-top: 0;
}

/* Trennlinien dezenter */
.confBodyBox hr {
    border: none;
    border-top: 1px solid #e1e6ec;
    margin: 32px 0;
}

/* Bilder (z. B. Themen-Wortwolke) zentrieren und nie breiter als die Karte */
.confBodyBox img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
}

/* ----------- Schmale Bildschirme ----------- */
@media (max-width: 700px) {
    .confBodyBox {
        margin: 16px !important;
        padding: 24px 20px !important;
    }
}