/*
 Theme Name:   kernenergie-faq
 Description:  Layout f�r Kernkraft FAQ
 Author:       Stephan Worseck
 Author URI:   
 Template:     twentytwentyfive
 Version:      1.0
 Text Domain:  kernenergie-faq


*/

/*  Schriftart aus dem Logo
@font-face {
  font-family: 'Bristol';
  src: url('/wp-content/themes/kernfusion-faq/font/Bristol.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*/ 

/* Mobile-Optimierung des Templates "Seite-breit"*/
@media (max-width: 768px) {
  html body .has-global-padding {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}


.Schlagwortliste {
    line-height: .8em;
}



/* Formatierung des "Weiterlesen" am Ende der FAQs*/ 
weiterlesen{
  border: 1px;
  background-color: #04AA6D;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}


/* Verbergen der Literaturreferenz auf die Quellen */ 
lit_hidden {  
	display: none;
	}






.eprf-stars-module__text{
    font-size: var(--wp--preset--font-size--x-large) !important;
}

/*       Cookie Widget als Schlatfläche dauerhaft anzeigen */
.rcb-floating-button {
    position: fixed;       /* bleibt immer sichtbar */
    bottom: 20px;          /* Abstand vom unteren Rand */
    left: 20px;            /* Abstand vom linken Rand */
    background: #333;      /* dunkler Hintergrund */
    color: #fff;           /* Textfarbe */
    padding: 10px 15px;    /* Innenabstand */
    border-radius: 5px;    /* abgerundete Ecken */
    text-decoration: none; 
    font-size: 16px;
    z-index: 9999;         /* immer im Vordergrund */
    opacity: 0.8;
    transition: opacity 0.2s;
}
.rcb-floating-button:hover {
    opacity: 1;
}

/* Darstellung der Komentarbox für eingeloggte Nutzer*/
#comment {
  width: 90% !important;
  max-width: 900px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.8em;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ------------------------------------------------------------------------------------------------------------------------------*/

.wp-block-quote  {
	font-style: italic ;}

/* ------------------------------------------------------------------------------------------------------------------------------*/
/* Grundlegender Tooltip-Stil */
.glossar-tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted #333;
}

.glossar-tooltip .tooltip-content {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9em;
  line-height: 1.3;
  white-space: normal;
  min-width: 100px;
  max-width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  display: block;
  word-wrap: break-word;
}

/* kleine Dreiecksspitze */
.glossar-tooltip .tooltip-content::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0,0,0,0.85) transparent transparent transparent;
}

/* Hover / active */
@media (hover: hover) and (pointer: fine) {
  .glossar-tooltip:hover .tooltip-content {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

/* Aktiv für Mobilgeräte */
.glossar-tooltip.active .tooltip-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Optional: Hervorhebung */
.glossar-tooltip.active {
  color: #0073aa;
}
.glossar-tooltip:focus .tooltip-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
/* ------------------------------------------------------------------------------------------------------------------------------*/

/*Ausblenden der Suche bei
Haftungsausschluss
Kontakt
Newsletter 
Impressum
Datenschutzerklärung
Spenden
*/
body.page-id-2139 .suche-block,
body.page-id-2133 .suche-block,
body.page-id-3774 .suche-block,
body.page-id-63 .suche-block,
body.page-id-62 .suche-block,
body.page-id-2198 .suche-block {
    display: none !important;
}

.responsive-iframe {
    width: 100%;
    overflow-x: auto; /* verhindert Abschneiden */
  }

.responsive-iframe iframe {
    max-width: 100%;  /* verhindert Überschreiten der Containerbreite */
}

.internes-linkmenue {
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
}

header,
.wp-block-template-part,
.wp-site-header {
    position: relative;
    z-index: 100;
    overflow: visible !important;
}

/* Beitagsbild auf der Homepage formatieren*/
.featured-image-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.featured-image-figure {
  max-width: 100%;
}

.rs-review-list {
  margin-top: 15px;
}

background-color: red;
.rs-review-item {
  padding: 15px;
  border: 1px solid red;
  margin-bottom: 10px;
  background-color: magenta;
}

.rs-review-item:nth-child(even) {
  background-color: blue;
}

.rs-review-item:nth-child(odd) {
  background-color: gray;
}

/* Hervorhebung Suchbegriff */
mark {
    background-color: #fff59d; /* sanftes Gelb */
    padding: 0 2px;
}