/*
Theme Name:   Lingolio.app
Theme URI:    https://lingolio.app/
Author:       Louis Daugs
Author URI:   https://lingolio.app/
Description:  Nur für die Lingolio.app Webseite.
Version:      1.3
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  custom-efficacy
*/

/* --- Reset --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: hsl(210, 20%, 98%);
	color: hsl(220, 13%, 18%);
	font-family: sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
}

/* --- Layout --- */
.min-h-screen {
	min-height: 100vh;
}
.bg-background {
	background-color: hsl(210, 20%, 98%);
}
.p-6 {
	padding: 1.5rem;
}
.max-w-7xl {
	max-width: 80rem;
}
.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

/* --- Grid --- */
.grid {
	display: grid;
}
.grid-cols-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
	.md-grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.lg-grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.gap-6 {
	gap: 1.5rem;
}

/* --- Card --- */
.card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 1rem;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px hsla(220, 13%, 18%, 0.1);
}
.card:hover {
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 
				0 4px 6px -2px rgba(0,0,0,0.05);
	transform: translateY(-0.25rem);
}

/* --- Image --- */
.image-container {
	flex-shrink: 0;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 1rem 1rem 0 0;
	overflow: hidden;
}
.w-full {
	width: 100%;
}
.h-48 {
	height: 12rem;
}
img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Card Inner --- */
.card-inner {
	background-color: #20a5fd; /* Titelbereich Farbe */
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
	text-align: center;
}

/* --- Text --- */
.text-sm {
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.font-bold {
	font-weight: 700;
}
.text-white {
	color: #ffffff;
}
.mb-6 {
	margin-bottom: 1.5rem;
}
.leading-tight {
	line-height: 1.25;
}
.text-xl {
	font-size: 1.25rem;
	line-height: 1.75rem;
}
a {
	text-decoration: none;
}

/* --- Button Centered --- */
.button {
	display: inline-block;
	margin: 0 auto;
	padding: 0.5rem 1.25rem;
	background: #038bef; /* Einfarbig */
	color: #fff;
	border-radius: 30px;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	text-align: center;
	min-width: 120px;
}
.button:hover {
	background: #0278d6;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* --- Pagination --- */
.pagination a {
	color: hsl(220, 13%, 18%);
}

/* --- Override Global --- */
body, .min-h-screen, .bg-background {
	background-color: hsl(210, 20%, 98%) !important;
	color: hsl(220, 13%, 18%) !important;
	font-family: sans-serif !important;
}
.card-inner a {
	color: #ffffff;
}
