MediaWiki:Common.css: Difference between revisions

From Infektiopedia
(Hide titlebar on Hauptseite)
No edit summary
Tag: Reverted
Line 1: Line 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */


/* Allow limiting of which header levels are shown in a TOC;
/* Allow limiting of which header levels are shown in a TOC;
  <div class="toclimit-3">, for instance, will limit to
<div class="toclimit-3">, for instance, will limit to
  showing ==headings== and ===headings=== but no further
showing ==headings== and ===headings=== but no further
  (as long as there are no =headings= on the page, which
(as long as there are no =headings= on the page, which
  there shouldn't be according to the MoS).
there shouldn't be according to the MoS).
*/
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-3 .toclevel-2 ul,
Line 14: Line 13:
.toclimit-6 .toclevel-5 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
.toclimit-7 .toclevel-6 ul {
    display: none;
display: none;
}
 
/* ============================================
  GLOBAL VARIABLES & BASE STYLES
  ============================================ */
 
:root {
  --color-primary:  #c0121c;
  --color-primary-dark: #8b0d14;
  --color-accent:    #f5f5f5;
  --color-border:    #e0e0e0;
  --color-text:      #1a1a1a;
  --color-muted:    #666666;
  --color-bg:        #ffffff;
  --font-body:      'Georgia', 'Times New Roman', serif;
  --font-sans:      'Helvetica Neue', 'Arial', sans-serif;
  --radius:          6px;
  --shadow-sm:      0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.12);
  --transition:      0.2s ease;
}
 
body {
  background-color: #f7f8fa;
  color: var(--color-text);
  font-family: var(--font-body);
}
}


/*Anpassung Styling Seite generell*/
/* ============================================
  HEADER
  ============================================ */


header.main-header {
header.main-header {
    background-color: #efefef;
  background-color: #ffffff;
 
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
}


.bs-custom-menu>.level-1 {
.bs-custom-menu>.level-1 {
    padding: 0 1rem;
  padding: 0 1rem;
}
}


.bs-page-before-header {
.bs-page-before-header {
    margin-top: 2em;
  margin-top: 2em;
}
}


/*
/* ============================================
#bs-breadcrumb-rootnode{
  BREADCRUMBS & PAGE INFO
display:none;
  ============================================ */
}
*/


/*.bs-page-breadcrumbs, .btn-group .dropdown , .btn .bs-breadcrumb-node  {
    font-size: 2.3em !important;
}
*/
.btn.bs-breadcrumb-node {
.btn.bs-breadcrumb-node {
    font-size: 2.4em !important;
  font-size: 2.4em !important;
    line-height: 1em !important;
  line-height: 1em !important;
}
}


Line 55: Line 77:
.mw-watchlink,
.mw-watchlink,
.bs-page-info-element-button {
.bs-page-info-element-button {
    font-size: 0.7rem !important;
  font-size: 0.7rem !important;
    line-height: 0.7rem;
  line-height: 0.7rem;
    color: #666666 !important;
  color: var(--color-muted) !important;
}
}


.bs-page-namespaces {
.bs-page-namespaces {
    display: none;
  display: none;
}
}


/*Sitenotice*/
/* ============================================
  SITE NOTICE
  ============================================ */
 
#localNotice>.mw-parser-output>.infobox {
#localNotice>.mw-parser-output>.infobox {
    max-width: 100%;
  max-width: 100%;
    margin-left: 0 !important;
  margin-left: 0 !important;
    font-size: 0.5rem;
  font-size: 0.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
  background: #fff8f8;
}
}


#localNotice>.mw-parser-output>.infobox>p {
#localNotice>.mw-parser-output>.infobox>p {
    font-size: 0.8rem !important;
  font-size: 0.8rem !important;
}
}


/*Tags*/
/* ============================================
  TAGS / CATEGORIES
  ============================================ */
 
.bs-category-container-categories .pill {
.bs-category-container-categories .pill {
    color: #666666 !important;
  color: var(--color-muted) !important;
    background: rgb(241, 241, 241) !important;
  background: #f1f3f5 !important;
    font-size: 0.75em !important;
  font-size: 0.75em !important;
  border-radius: 20px !important;
  padding: 0.2em 0.75em !important;
  border: 1px solid var(--color-border) !important;
  transition: background var(--transition), color var(--transition);
}
 
.bs-category-container-categories .pill:hover {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
}
}


.bs-category-add-category i::after {
.bs-category-add-category i::after {
    content: " Tags:";
  content: " Tags:";
}
}


/*Remove first horizontal line*/
/* ============================================
  CONTENT AREA
  ============================================ */
 
/* Remove first horizontal line */
#content>.v-line {
#content>.v-line {
    display: none;
  display: none;
}
}


#content>.v-line~.v-line {
#content>.v-line~.v-line {
    display: block;
  display: block;
    border-bottom: 2px solid #e9e9e9;
  border-bottom: 2px solid var(--color-border);
}
}
/*
#firstHeading {
    display: none;
}
*/


#content {
#content {
    padding-top: 2em;
  padding-top: 2em;
  background-color: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
}


 
/* ============================================
 
  TYPOGRAPHY
 
  ============================================ */
/*h2 {
    top: 1.8em!important;
    position: sticky;
    background-color: white !important;
    z-index: 10;
}*/


#mw-content-text p,
#mw-content-text p,
#mw-content-text ul>li,
#mw-content-text ul>li,
#mw-content-text ol>li {
#mw-content-text ol>li {
    font-size: 1.1rem !important;
  font-size: 1.05rem !important;
    line-height: 1.7rem
  line-height: 1.8rem;
}
}


/*adjustment for tables*/
/* Adjustment for tables */
#mw-content-text td p,
#mw-content-text td p,
#mw-content-text th p,
#mw-content-text th p,
#mw-content-text td ul>li {
#mw-content-text td ul>li {
    font-size: 0.875rem !important;
  font-size: 0.875rem !important;
    line-height: 1.42857143;
  line-height: 1.42857143;
}
}


.toctitle {
.toctitle {
    display: none;
  display: none;
}
 
/* Headings */
h1 {
  font-family: var(--font-sans);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5em;
}
}


h2 {
h2 {
    padding: 0.2em;
  font-family: var(--font-sans);
    font-size: 2.2rem;
  padding: 0.3em 0.5em;
    font-weight: 500;
  font-size: 1.85rem;
    margin-top: 2em;
  font-weight: 600;
    margin-bottom: 0.9375rem;
  margin-top: 2.2em;
    background: none;
  margin-bottom: 1rem;
    border-bottom: 5px solid #d11520;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-left: 5px solid #d11520;
  border: none;
    border-top: none;
  border-left: 5px solid var(--color-primary);
    border-right: none;
  border-bottom: 2px solid var(--color-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}


h3 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
  margin-top: 1.5em;
  padding-bottom: 0.3em;
  color: #2c2c2c;
}
}


h3 {
h4, h5 {
    border-bottom: 1px solid #333333;
  font-family: var(--font-sans);
    margin-top: 1.2em;
  font-weight: 600;
  margin-top: 1.2em;
  color: #333;
}
}


h6 {
h6 {
    margin-top: 1.7em;
  margin-top: 1.7em;
  font-family: var(--font-sans);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}
 
/* ============================================
  TABLES
  ============================================ */
 
.wikitable {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5em;
  font-size: 0.95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
}


.mw-collapsed {
.wikitable th {
    width: 100%;
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  padding: 0.65em 0.9em;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.03em;
}
 
.wikitable td {
  padding: 0.6em 0.9em;
  border: 1px solid var(--color-border);
  vertical-align: top;
}
 
.wikitable tr:nth-child(even) td {
  background-color: #fafafa;
}
}


.wikitable tr:hover td {
  background-color: #fff5f5;
  transition: background var(--transition);
}


/* ============================================
  COLLAPSE / EXPAND
  ============================================ */


/*Klinische Situationsboxen preview*/
.mw-collapsed {
  width: 100%;
}
 
/* ============================================
  SITUATIONSBOXEN (Clinical boxes)
  ============================================ */


small ul li {
small ul li {
    font-size: 1em !important;
  font-size: 1em !important;
    line-height: 1.2em;
  line-height: 1.2em;
}
}


.contenttable-blue {
.contenttable-blue {
    width: 100%;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
}


.contenttable-blue th {
.contenttable-blue th {
    max-width: 10%;
  max-width: 10%;
  background-color: #1a6fa3;
  color: #ffffff;
}
}


.contenttable-blue td {
.contenttable-blue td {
    width: 80%;
  width: 80%;
}
}


Line 189: Line 297:
.contenttable-blue th,
.contenttable-blue th,
.contenttable-blue td {
.contenttable-blue td {
    position: relative;
  position: relative;
}
}


.contenttable-blue .mini-more-link {
.contenttable-blue .mini-more-link {
    position: absolute;
  position: absolute;
    bottom: 0.5em;
  bottom: 0.5em;
    right: 1em;
  right: 1em;
}


/* ============================================
  INFOBOXES
  ============================================ */
.infobox {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fafafa;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}
}


/* ============================================
  LINKS
  ============================================ */
#mw-content-text a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
#mw-content-text a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
/* ============================================
  FOOTER
  ============================================ */


/* adjust footer*/
#footer-icons {
#footer-icons {
    display: none !important;
  display: none !important;
}
 
#footer {
  background: #2c2c2c;
  color: #cccccc;
  padding: 1.5em 2em;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  border-top: 3px solid var(--color-primary);
}
 
#footer a {
  color: #e8a0a4;
}
 
#footer a:hover {
  color: #ffffff;
}
}


/*Contribution Section Hallo Welt extension*/
/* ============================================
  CONTRIBUTION SECTION
  ============================================ */


.contrib-section-start,
.contrib-section-start,
.contrib-section-stop {
.contrib-section-stop {
    display: none;
  display: none;
}
}


.contrib-inline-start,
.contrib-inline-start,
.contrib-inline-stop {
.contrib-inline-stop {
    display: none;
  display: none;
}
}


/* ============================================
  MAIN PAGE CSS
  ============================================ */


/* Main Page CSS */
.CategoryTreeItem:hover {
.CategoryTreeItem:hover {
    background-color: #d9d9d9;
  background-color: #fce8e9;
  border-radius: var(--radius);
  transition: background var(--transition);
}
}


.mp .CategoryTreeLabel {
.mp .CategoryTreeLabel {
    font-size: 1.1rem;
  font-size: 1.1rem;
}
}


/*
.mp .CategoryTreeLabelCategory {
color: black !important;
cursor: default;
    pointer-events: none;
}*/
.mp-bullet li {
.mp-bullet li {
    list-style-type: none;
  list-style-type: none;
}
}


.mp-bullet li:hover {
.mp-bullet li:hover {
    background-color: #d9d9d9;
  background-color: #fce8e9;
  border-radius: var(--radius);
}
}


.mp-arrow {
.mp-arrow {
    font-size: 0.875rem;
  font-size: 0.875rem;
  color: var(--color-primary);
}
}


.mp-child {
.mp-child {
    background-color: #f9f9f9;
  background-color: var(--color-bg);
    flex: 1 0 auto;
  flex: 1 0 auto;
    padding: 2em;
  padding: 1.8em 2em;
    flex-basis: 40%;
  flex-basis: 40%;
    box-shadow: 3px 3px 4px 2px #d9d9d9;
  box-shadow: var(--shadow-md);
    border-radius: 5px;
  border-radius: var(--radius);
    text-align: left !important;
  text-align: left !important;
  border-top: 4px solid var(--color-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
 
.mp-child:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
}


.mp-box {
.mp-box {
    display: flex;
  display: flex;
    justify-content: space-around;
  justify-content: space-around;
    height: fit-content;
  height: fit-content;
    flex-wrap: wrap;
  flex-wrap: wrap;
    padding: 1.1em;
  padding: 1.1em;
    align-content: stretch;
  align-content: stretch;
    margin: auto !important;
  margin: auto !important;
    column-gap: 1.5em;
  column-gap: 1.5em;
    row-gap: 1.5em;
  row-gap: 1.5em;
    align-items: stretch;
  align-items: stretch;
    border-top: 5px solid #d11520;
  border-top: 5px solid var(--color-primary);
    padding-top: 2em;
  padding-top: 2em;
}
}


.mp-heading {
.mp-heading {
    padding: 0.1em;
  padding: 0.1em;
    margin-top: 0px;
  margin-top: 0px;
}
}


.mp-headline {
.mp-headline {
    font-family: 'Helvetica Neue', sans-serif;
  font-family: var(--font-sans);
    font-size: calc(30px + 7.8vw) !important;
  font-size: calc(28px + 5vw) !important;
    font-weight: bold;
  font-weight: 800;
    line-height: 1;
  line-height: 1.1;
    padding-bottom: 0.5vw;
  padding-bottom: 0.5vw;
    margin: auto !important;
  margin: auto !important;
    max-width: 100% !important;
  max-width: 100% !important;
    text-align: center !important;
  text-align: center !important;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
}


.mp-subhead {
.mp-subhead {
    font-family: 'Open Sans', sans-serif;
  font-family: var(--font-sans);
    font-size: calc(6px + 2vw) !important;
  font-size: calc(6px + 1.5vw) !important;
    font-weight: 300;
  font-weight: 400;
    line-height: 32px;
  line-height: 1.6;
    margin: 0 0 72px;
  margin: 0 0 60px;
    text-align: center;
  text-align: center;
    letter-spacing: 5px !important;
  letter-spacing: 4px !important;
  color: var(--color-muted);
  text-transform: uppercase;
}
}


.mp-abstract {
.mp-abstract {
    padding: 1em;
  padding: 1em 1.5em;
    font-size: 18px;
  font-size: 1.05rem;
    margin: auto !important;
  margin: auto !important;
    text-align: left !important;
  text-align: left !important;
    padding-bottom: 1em;
  padding-bottom: 1em;
  line-height: 1.8;
}
}


#mp-participate {
#mp-participate {
    text-align: left !important;
  text-align: left !important;
    font-size: 18px;
  font-size: 1.05rem;
}
}


#mp-authors {
#mp-authors {
    font-size: 18px;
  font-size: 1.05rem;
    text-align: left !important;
  text-align: left !important;
    padding: 1em;
  padding: 1em 1.5em;
}
}


#mp-news {
#mp-news {
    font-size: 18px;
  font-size: 1.05rem;
    padding: 1em;
  padding: 1em 1.5em;
}
}


/* End Main Page CSS */
/* End Main Page CSS */
/* ============================================
  REFERENCES
  ============================================ */


.reference {
.reference {
    text-decoration: none;
  text-decoration: none;
    font-size: 75%;
  font-size: 75%;
    font-weight: normal;
  font-weight: normal;
  color: var(--color-primary);
}
 
.references {
  font-size: 0.85rem;
  line-height: 1.6;
  border-top: 2px solid var(--color-border);
  padding-top: 1em;
  margin-top: 2em;
}
}
/* ============================================
  MISC UTILITIES
  ============================================ */


#mw-content-text p {
#mw-content-text p {
    text-align: left !important;
  text-align: left !important;
    padding-left: 1em;
  padding-left: 1em;
    padding-right: 1em;
  padding-right: 1em;
}
}


#mp-br {
#mp-br {
    height: 1vw;
  height: 1vw;
}
}


.padding-left {
.padding-left {
    padding-left: 1em;
  padding-left: 1em;
}
}
/*
.mw-redirect {
display:none;
}
*/


.mw-wiki-logo {
.mw-wiki-logo {
    width: 300px !important;
  width: 300px !important;
}
}


p>br:only-child {
p>br:only-child {
    display: none;
  display: none;
}
}


.rootpage-Hauptseite .title-section {
.rootpage-Hauptseite .title-section {
    display: block !important;
  display: block !important;
}
}
/* ============================================
  RESPONSIVE
  ============================================ */


@media only screen and (max-width: 991px) {
@media only screen and (max-width: 991px) {
    .mp-box {
  .mp-box {
        flex-direction: column;
    flex-direction: column;
    }
  }


    .mw-parser-output {
  .mw-parser-output {
        overflow-x: hidden;
    overflow-x: hidden;
     }
  }
 
  h2 {
    font-size: 1.5rem;
  }
 
  .mp-headline {
     font-size: calc(22px + 5vw) !important;
  }
}
}
/* ============================================
  EDIT BOX ICON
  ============================================ */


.infektiopedia-editbox > i.icon-pencil::before {
.infektiopedia-editbox > i.icon-pencil::before {
    content: "✎";
  content: "✎";
    font-family: sans-serif;
  font-family: sans-serif;
    color: #999999;
  color: var(--color-muted);
}
}
/* TOC bold toggle */
.toclimit-2 > b,
.toclimit-2 > b,
.toclimit-3 > b,
.toclimit-3 > b,
Line 383: Line 577:
.toclimit-6 > b,
.toclimit-6 > b,
.toclimit-7 > b {
.toclimit-7 > b {
    display: none;
  display: none;
}
}
/* Hauptseite: hide title bar and discussion tab */
/* Hauptseite: hide title bar and discussion tab */
.page-Hauptseite .vector-page-titlebar,
.page-Hauptseite .vector-page-titlebar,
.page-Hauptseite .vector-page-toolbar {
.page-Hauptseite .vector-page-toolbar {
    display: none !important;
  display: none !important;
}
 
/* ============================================
  TABLE OF CONTENTS
  ============================================ */
 
.toc {
  background: #fafafa;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1em 1.5em;
  display: inline-block;
  min-width: 220px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}
 
.toc li {
  line-height: 1.8;
}
 
.toc a {
  color: var(--color-primary) !important;
  text-decoration: none !important;
}
 
.toc a:hover {
  text-decoration: underline !important;
  color: var(--color-primary-dark) !important;
}
 
/* ============================================
  SCROLLBAR (WebKit)
  ============================================ */
 
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
 
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
 
::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 4px;
}
 
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
}

Revision as of 11:07, 22 May 2026

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}

/* ============================================
   GLOBAL VARIABLES & BASE STYLES
   ============================================ */

:root {
  --color-primary:   #c0121c;
  --color-primary-dark: #8b0d14;
  --color-accent:    #f5f5f5;
  --color-border:    #e0e0e0;
  --color-text:      #1a1a1a;
  --color-muted:     #666666;
  --color-bg:        #ffffff;
  --font-body:       'Georgia', 'Times New Roman', serif;
  --font-sans:       'Helvetica Neue', 'Arial', sans-serif;
  --radius:          6px;
  --shadow-sm:       0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:       0 4px 12px rgba(0,0,0,0.12);
  --transition:      0.2s ease;
}

body {
  background-color: #f7f8fa;
  color: var(--color-text);
  font-family: var(--font-body);
}

/* ============================================
   HEADER
   ============================================ */

header.main-header {
  background-color: #ffffff;
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.bs-custom-menu>.level-1 {
  padding: 0 1rem;
}

.bs-page-before-header {
  margin-top: 2em;
}

/* ============================================
   BREADCRUMBS & PAGE INFO
   ============================================ */

.btn.bs-breadcrumb-node {
  font-size: 2.4em !important;
  line-height: 1em !important;
}

.bs-page-edit-elements>li,
.bs-page-info-element>ul>li,
.bs-page-info-element-button-col,
.bs-page-info-element-text-col,
.bs-category-add-category,
.bs-page-last-edit a,
.mw-watchlink,
.bs-page-info-element-button {
  font-size: 0.7rem !important;
  line-height: 0.7rem;
  color: var(--color-muted) !important;
}

.bs-page-namespaces {
  display: none;
}

/* ============================================
   SITE NOTICE
   ============================================ */

#localNotice>.mw-parser-output>.infobox {
  max-width: 100%;
  margin-left: 0 !important;
  font-size: 0.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
  background: #fff8f8;
}

#localNotice>.mw-parser-output>.infobox>p {
  font-size: 0.8rem !important;
}

/* ============================================
   TAGS / CATEGORIES
   ============================================ */

.bs-category-container-categories .pill {
  color: var(--color-muted) !important;
  background: #f1f3f5 !important;
  font-size: 0.75em !important;
  border-radius: 20px !important;
  padding: 0.2em 0.75em !important;
  border: 1px solid var(--color-border) !important;
  transition: background var(--transition), color var(--transition);
}

.bs-category-container-categories .pill:hover {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
}

.bs-category-add-category i::after {
  content: " Tags:";
}

/* ============================================
   CONTENT AREA
   ============================================ */

/* Remove first horizontal line */
#content>.v-line {
  display: none;
}

#content>.v-line~.v-line {
  display: block;
  border-bottom: 2px solid var(--color-border);
}

#content {
  padding-top: 2em;
  background-color: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

#mw-content-text p,
#mw-content-text ul>li,
#mw-content-text ol>li {
  font-size: 1.05rem !important;
  line-height: 1.8rem;
}

/* Adjustment for tables */
#mw-content-text td p,
#mw-content-text th p,
#mw-content-text td ul>li {
  font-size: 0.875rem !important;
  line-height: 1.42857143;
}

.toctitle {
  display: none;
}

/* Headings */
h1 {
  font-family: var(--font-sans);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5em;
}

h2 {
  font-family: var(--font-sans);
  padding: 0.3em 0.5em;
  font-size: 1.85rem;
  font-weight: 600;
  margin-top: 2.2em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  border: none;
  border-left: 5px solid var(--color-primary);
  border-bottom: 2px solid var(--color-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
  margin-top: 1.5em;
  padding-bottom: 0.3em;
  color: #2c2c2c;
}

h4, h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  margin-top: 1.2em;
  color: #333;
}

h6 {
  margin-top: 1.7em;
  font-family: var(--font-sans);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

/* ============================================
   TABLES
   ============================================ */

.wikitable {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5em;
  font-size: 0.95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.wikitable th {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  padding: 0.65em 0.9em;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.wikitable td {
  padding: 0.6em 0.9em;
  border: 1px solid var(--color-border);
  vertical-align: top;
}

.wikitable tr:nth-child(even) td {
  background-color: #fafafa;
}

.wikitable tr:hover td {
  background-color: #fff5f5;
  transition: background var(--transition);
}

/* ============================================
   COLLAPSE / EXPAND
   ============================================ */

.mw-collapsed {
  width: 100%;
}

/* ============================================
   SITUATIONSBOXEN (Clinical boxes)
   ============================================ */

small ul li {
  font-size: 1em !important;
  line-height: 1.2em;
}

.contenttable-blue {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contenttable-blue th {
  max-width: 10%;
  background-color: #1a6fa3;
  color: #ffffff;
}

.contenttable-blue td {
  width: 80%;
}

.contenttable-blue table,
.contenttable-blue th,
.contenttable-blue td {
  position: relative;
}

.contenttable-blue .mini-more-link {
  position: absolute;
  bottom: 0.5em;
  right: 1em;
}

/* ============================================
   INFOBOXES
   ============================================ */

.infobox {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fafafa;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}

/* ============================================
   LINKS
   ============================================ */

#mw-content-text a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

#mw-content-text a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

#footer-icons {
  display: none !important;
}

#footer {
  background: #2c2c2c;
  color: #cccccc;
  padding: 1.5em 2em;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  border-top: 3px solid var(--color-primary);
}

#footer a {
  color: #e8a0a4;
}

#footer a:hover {
  color: #ffffff;
}

/* ============================================
   CONTRIBUTION SECTION
   ============================================ */

.contrib-section-start,
.contrib-section-stop {
  display: none;
}

.contrib-inline-start,
.contrib-inline-stop {
  display: none;
}

/* ============================================
   MAIN PAGE CSS
   ============================================ */

.CategoryTreeItem:hover {
  background-color: #fce8e9;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.mp .CategoryTreeLabel {
  font-size: 1.1rem;
}

.mp-bullet li {
  list-style-type: none;
}

.mp-bullet li:hover {
  background-color: #fce8e9;
  border-radius: var(--radius);
}

.mp-arrow {
  font-size: 0.875rem;
  color: var(--color-primary);
}

.mp-child {
  background-color: var(--color-bg);
  flex: 1 0 auto;
  padding: 1.8em 2em;
  flex-basis: 40%;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  text-align: left !important;
  border-top: 4px solid var(--color-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.mp-child:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mp-box {
  display: flex;
  justify-content: space-around;
  height: fit-content;
  flex-wrap: wrap;
  padding: 1.1em;
  align-content: stretch;
  margin: auto !important;
  column-gap: 1.5em;
  row-gap: 1.5em;
  align-items: stretch;
  border-top: 5px solid var(--color-primary);
  padding-top: 2em;
}

.mp-heading {
  padding: 0.1em;
  margin-top: 0px;
}

.mp-headline {
  font-family: var(--font-sans);
  font-size: calc(28px + 5vw) !important;
  font-weight: 800;
  line-height: 1.1;
  padding-bottom: 0.5vw;
  margin: auto !important;
  max-width: 100% !important;
  text-align: center !important;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.mp-subhead {
  font-family: var(--font-sans);
  font-size: calc(6px + 1.5vw) !important;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 60px;
  text-align: center;
  letter-spacing: 4px !important;
  color: var(--color-muted);
  text-transform: uppercase;
}

.mp-abstract {
  padding: 1em 1.5em;
  font-size: 1.05rem;
  margin: auto !important;
  text-align: left !important;
  padding-bottom: 1em;
  line-height: 1.8;
}

#mp-participate {
  text-align: left !important;
  font-size: 1.05rem;
}

#mp-authors {
  font-size: 1.05rem;
  text-align: left !important;
  padding: 1em 1.5em;
}

#mp-news {
  font-size: 1.05rem;
  padding: 1em 1.5em;
}

/* End Main Page CSS */

/* ============================================
   REFERENCES
   ============================================ */

.reference {
  text-decoration: none;
  font-size: 75%;
  font-weight: normal;
  color: var(--color-primary);
}

.references {
  font-size: 0.85rem;
  line-height: 1.6;
  border-top: 2px solid var(--color-border);
  padding-top: 1em;
  margin-top: 2em;
}

/* ============================================
   MISC UTILITIES
   ============================================ */

#mw-content-text p {
  text-align: left !important;
  padding-left: 1em;
  padding-right: 1em;
}

#mp-br {
  height: 1vw;
}

.padding-left {
  padding-left: 1em;
}

.mw-wiki-logo {
  width: 300px !important;
}

p>br:only-child {
  display: none;
}

.rootpage-Hauptseite .title-section {
  display: block !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media only screen and (max-width: 991px) {
  .mp-box {
    flex-direction: column;
  }

  .mw-parser-output {
    overflow-x: hidden;
  }

  h2 {
    font-size: 1.5rem;
  }

  .mp-headline {
    font-size: calc(22px + 5vw) !important;
  }
}

/* ============================================
   EDIT BOX ICON
   ============================================ */

.infektiopedia-editbox > i.icon-pencil::before {
  content: "✎";
  font-family: sans-serif;
  color: var(--color-muted);
}

/* TOC bold toggle */
.toclimit-2 > b,
.toclimit-3 > b,
.toclimit-4 > b,
.toclimit-5 > b,
.toclimit-6 > b,
.toclimit-7 > b {
  display: none;
}

/* Hauptseite: hide title bar and discussion tab */
.page-Hauptseite .vector-page-titlebar,
.page-Hauptseite .vector-page-toolbar {
  display: none !important;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */

.toc {
  background: #fafafa;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1em 1.5em;
  display: inline-block;
  min-width: 220px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.toc li {
  line-height: 1.8;
}

.toc a {
  color: var(--color-primary) !important;
  text-decoration: none !important;
}

.toc a:hover {
  text-decoration: underline !important;
  color: var(--color-primary-dark) !important;
}

/* ============================================
   SCROLLBAR (WebKit)
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}