.custom-link {
  text-decoration: none;
  position: relative;
}

.custom-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: rgb(58, 158, 216);
  transition: width 0.3s ease;
}

.custom-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .tabdatacontainer table tr {
    display: block;
    margin-bottom: 1em;
  }

  .tabdatacontainer table td {
    display: block;
    width: 100% !important;
  }

  .tabdatacontainer table td:first-child {
    font-weight: bold;
  }
}


.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 40px;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(50% - 20px); 
  background-color: #2a3650;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.5);
  transition: box-shadow 0.3s ease;
}

.carousel-slide:hover {
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.8);
}

.carousel-slide img {
  width: 97%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: brightness(0.6);
  transition: filter 0.3s ease;
}

.carousel-slide:hover img {
  filter: brightness(0.75);
}

.carousel-caption {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  padding: 0 15px;
  letter-spacing: 0.04em;
}

.carousel-caption h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.carousel-caption p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.85;
  font-family: 'Open Sans', sans-serif;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  bottom: 10px;
  width: 60px;
  height: 2px;
  background: rgba(255 255 255 / 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(255 255 255 / 0.7);
}

.arrow-left {
  left: 12px;
  transform: translateY(-50%);
}

.arrow-right {
  right: 12px;
  transform: translateY(-50%);
}

.carousel-arrow::before,
.carousel-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 2px;
  background: inherit;
  border-radius: 2px;
  transform-origin: center center;
}

.arrow-left::before {
  left: -6px;
  transform: translateY(-50%) rotate(45deg);
}

.arrow-left::after {
  left: -6px;
  transform: translateY(-50%) rotate(-45deg);
}

.arrow-right::before {
  right: -6px;
  transform: translateY(-50%) rotate(-45deg);
}

.arrow-right::after {
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 100%; /* 1 item per row */
  }

  .carousel-slide img {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 100%;
  }

  .carousel-slide img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
    margin: 0 auto;
    max-width: 320px;
  }

  .carousel-track {
    gap: 15px;
  }

  .carousel-slide img {
    height: 200px;
  }

  .carousel-wrapper {
    max-width: 90vw;
  }
}
.africa-container {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
  padding: 20px 12px 40px;
  border-radius: 4px 4px 8px 8px;
  position: relative;
}

.africa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 32px;
  padding: 5px;
  position: relative;
  z-index: 1;
  background-color: transparent;
}

.africa-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: transparent;
}

.africa-column h3 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 15px;
}

.africa-column h3.highlight {
  color: #6f641b;
}

.africa-column ul {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-weight: 400;
  font-size: 12px;
  color: #3f3d1c;
  list-style-type: none;
  padding-left: 0;        
  margin: 0;
}

.africa-column ul li a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;     
  gap: 8px;
  text-decoration:none;                  
}

.africa-img-wrapper {
  margin-top: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.12);
}

.africa-img-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 150px;
  border-radius: 8px;
  transition: none;
}



.africa-summary {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.3;
}


.africa-summary strong {
  display: block;
  margin-bottom: 4px;
  color: #333;
}

.africa-summary ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
  margin-top: 8px;	
}
.africa-summary ul li a {
  text-decoration: none;
  color: inherit;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .africa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .africa-grid {
    grid-template-columns: 1fr;
  }

  .africa-highlight-left,
  .africa-highlight-right {
    display: none;
  }
}

.small-screen {
  display: none;
}

@media (max-width: 768px) {
  .large-screen {
    display: none;
  }
.africa-summary{
  padding-top:30px;
}
  .small-screen {
    display: table-row;
  }

  /* Hide Dauer and Flug ONLY in large-screen rows on mobile */
  .table tbody tr.large-screen td:nth-child(3), 
  .table tbody tr.large-screen td:nth-child(4) {
    display: none;
  }

  /* Ensure all td in .small-screen rows are shown */
  .table tbody tr.small-screen td {
    display: table-cell !important;
  }
}

