/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : 03.06.2026, 10:53:51
    Author     : waldeck
*/

/*Bildnachweise*/

.image-wrapper {
  position: relative;
  display: inline-block;
}

/* Icon */
.credit-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;

  width: 22px;
  height: 22px;

  font-size: 14px;
  color: white;
  text-align: center;
  line-height: 22px;

  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  cursor: pointer;

  transition: background 0.3s ease;
}

.credit-icon:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Tooltip */
.credit-tooltip {
  position: absolute;
  bottom: 30px;
  right: 0;

  background: rgba(0, 0, 0, 0.85);
  color: #fff;

  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;

  border-radius: 6px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);

  transition: all 0.25s ease;
}

/* Hover Desktop */
.credit-icon:hover .credit-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* mobile View */
.credit-tooltip.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.content-block {
  /*display: flex;*/
  /*align-items: flex-start;*/
  gap: 20px; /* Abstand zwischen Bild und Text */
}

.content-block .image img {
  max-width: 750px; 
  height: auto;
  display: block;
}

.text-list {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .content-block {
    flex-direction: column;
  }

  .content-block .image img {
    max-width: 100%;
  }
}