.section {
	padding:0 0 !important;
}
.arrow-lg.arrow-bottom {
	bottom: -53px !important;
}
.flag.flag-en {
    background-position: -160px -154px;
}

.mobile_float {
}
@media (min-width: 576px) {
	.formPadding {
		padding-top:6px;		
	}
}

@media (max-width: 992px) {
	.display-5{
		font-size:2rem !important;
		font-weight:300;
		line-height:1.2
	}

	.mobile_float {
		float: right;
		margin-right:-5px;
	}

}

ul.custom-reset {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.custom-list {
  list-style-type: none;
  padding-left: 20px;
}

/* =====================================================================================*/
/* DARK LAYOUT ohne body, vollständig gekapselt */

.dark-layout-wrapper {
  background: #121212;
  color: #e0e0e0;
  margin: 0;
  padding: 2rem;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

.popular-articles {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 2rem 1rem 2rem 4rem;
  width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

.mini-card-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  gap: 0;
}

.mini-card {
  flex: 0 0 280px;
  margin-left: -80px;
  padding: 1.75rem;
  background: linear-gradient(30deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform-origin: left center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  min-height: 320px;
}

.mini-card:first-child {
  margin-left: 0;
}

.mini-card:hover {
  transform: translateX(-40px) rotate(5deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.mini-card time {
  font-size: 0.75rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.mini-card h3 {
  margin: 0;
  font-size: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-card h3 a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.mini-card h3 a:hover {
  text-decoration: underline;
  color: #80bfff;
}

.mini-card .tags {
  margin-top: auto;
}

.mini-card .tags a {
  display: inline-block;
  background: #37474f;
  color: #b2ebf2;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mini-card .tags a:hover {
  background: #455a64;
  color: #fff;
}

.mini-card .author-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mini-card .author-row img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #444;
}

.mini-card .author-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #ddd;
  text-decoration: none;
}

.mini-card .author-name:hover {
  color: #fff;
}

/* Responsive: Karten untereinander, volle Breite */
@media (max-width: 768px) {
  .dark-layout-wrapper {
    padding: 1rem;
  }

  .popular-articles {
    padding: 1rem;
  }

  .mini-card-row {
    flex-direction: column;
    gap: 1rem;
    align-items: left;
  }

  .mini-card {
    flex: none;
    width: 100%;
    margin-left: 0 !important;
    transform: none !important;
    z-index: auto;
  }

  .mini-card:hover {
    transform: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
}
/* =====================================================================================*/
