/* CSS specific to the Lifestyle Archive page */

.blog-main-content {
		max-width: 1200px;
		margin: 0 auto;
}

.blog-main-content table {
  border: 1px solid #b6b4b4;
  font-size: 13px;
}

.blog-main-content thead {
  background-color: #e5e5e5;
  border: 1px solid black;
	text-align: left;
}

.blog-main-content h1{
	width: 100%;
	text-align: center;
}
.blog-main-content a, .blog-main-content a:visited {
	color: #fff;
}

.blog-main-content .category-title {
	width: 100%;
	text-align: center;;
}

.title {
		font-size: 3rem;
		margin-bottom: 0;
}

.subtitle {
		font-size: 1.2rem;
		color: #666;
		margin-top: 0;
		text-align: center;
}

.category-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-wrap: wrap;
}

.category-list li {
    margin: 0 10px;
		margin-bottom: 35px;
}

.category-list a {
    text-decoration: none;
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.category-list li a.active {

    background-color: #666;
}
.category-list a:hover {
    background-color: #0056b3;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card-wrapper {
    position: relative;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    text-decoration: none; /* Remove underline from link */
}

.card {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-height: 300px;
    padding: 20px;
    z-index: 1;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
    transition: background-color 0.3s ease;
    z-index: 2;
}

.card:hover::before {
    background-color: rgba(0, 0, 0, 0.3); /* Change color on hover */
}

.card-content {
	position: absolute;
z-index: 4;
height: calc(100% - 40px);
width: calc(100% - 40px);
display: flex;
flex-direction: column;
justify-content: space-between;
}




.card h2 {
            display: inline;
            background-color: white;
						padding: 2px;
  					line-height: 1.8;
						color:black;
						font-size: 20px;
						margin-bottom: 10px;
        }
        .card h2 .h2-wrapper {
            display: inline-block;
            line-height: 1.5;
        }
        .card h2 .h2-wrapper::after {
            content: '';
            display: block;
            height: 5px; /* Höhe des transparenten Abstands zwischen den Zeilen */
        }





.card button {
	width: 150px;
    background-color: #10e4a9;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px; /* Add margin */
}
