/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1761820246
Updated: 2025-10-30 11:30:46

*/
.beitrag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px; /* Abstand zwischen den Beiträgen */
  margin-top: 0px;
	margin-bottom: 25px;
	margin-left: auto;
	margin-right: auto;

}

.beitrag-card {
  background: rgba(255, 255, 255, 0.2); /* halbtransparentes Weiß */
  backdrop-filter: blur(150px);         /* Weichzeichner-Effekt */
  -webkit-backdrop-filter: blur(150px); /* Safari-Unterstützung */
  border: 0px solid rgba(255, 255, 255, 0.3); /* leichter Rahmen */
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}


.beitrag-card:hover {
  transform: scale(1.02);
}

.beitrag-thumb-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9; /* oder eine feste Höhe, z. B. height: 300px */
  overflow: hidden;
  position: relative;
}

.beitrag-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.beitrag-content {
  padding: 15px;
	text-align: center;
	margin-bottom: 0.5em;
}

.beitrag-title {
  margin: 0 0 10px;
  font-size: clamp(1.0em, 5vw, 2.2rem);
  white-space: normal; /* erlaubt Umbrüche */
  word-wrap: break-word; /* bricht lange Wörter */
  overflow-wrap: break-word;
}

.beitrag-title a {
  text-decoration: none;
  color: inherit;
}

.beitrag-excerpt {
  color: #555;
  font-size: 0.95em;
}
