/*
Theme Name: AI Mag
Description: Egyedi AI és tech magazin sablon az onlinepatika.com részére. Gutenberg blokkszerkesztővel teljesen kompatibilis blokktéma, a Twenty Twenty-Five gyerektémája.
Author: Kirsten
Template: twentytwentyfive
Version: 1.0
Text Domain: aimag
*/

/* ---- Fejléc ---- */
.site-header {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	position: sticky;
	top: 0;
	z-index: 90;
}

.site-header .wp-block-site-title a {
	text-decoration: none;
	letter-spacing: -0.02em;
}

/* ---- Hero ---- */
.aimag-hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
	color: #f8fafc;
	position: relative;
	overflow: hidden;
}
.aimag-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 15%, rgba(79, 70, 229, 0.35) 0%, transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.25) 0%, transparent 40%);
	pointer-events: none;
}
.aimag-hero > .wp-block-group {
	position: relative;
}
.aimag-hero .wp-block-button__link {
	border-radius: 999px;
}

/* ---- Rovat-kártyák ---- */
.aimag-rovat {
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #ffffff;
	padding: 28px 20px;
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	display: block;
}
.aimag-rovat:hover {
	transform: translateY(-4px);
	border-color: #4f46e5;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}
.aimag-rovat .aimag-rovat-emoji {
	font-size: 34px;
	line-height: 1;
	display: block;
	margin-bottom: 10px;
}
.aimag-rovat .aimag-rovat-name {
	font-weight: 700;
	color: #0f172a;
	display: block;
}

/* ---- Cikk-kártyák ---- */
.aimag-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	height: 100%;
}
.aimag-card:hover {
	transform: translateY(-4px);
	border-color: #4f46e5;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}
.aimag-card .wp-block-post-featured-image {
	margin-bottom: 0;
}
.aimag-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
}
.aimag-card .aimag-card-body {
	padding: 20px 22px 24px;
}
.aimag-card .wp-block-post-title {
	margin: 6px 0 8px;
}
.aimag-card .wp-block-post-title a {
	text-decoration: none;
}
.aimag-card .wp-block-post-title a:hover {
	text-decoration: underline;
}
.aimag-card .wp-block-post-excerpt {
	font-size: 0.95rem;
	color: #475569;
	margin-top: 8px;
}
.aimag-card .wp-block-post-terms a {
	display: inline-block;
	background: #eef2ff;
	color: #4338ca;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 999px;
	text-decoration: none;
}
.aimag-card .wp-block-post-date {
	font-size: 0.8rem;
	color: #64748b;
}

/* ---- Archívumlista ---- */
.aimag-list-row {
	display: flex;
	gap: 24px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	margin-bottom: 20px;
}
.aimag-list-row:hover {
	border-color: #4f46e5;
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
.aimag-list-row .aimag-list-thumb {
	flex: 0 0 320px;
	margin: 0;
}
.aimag-list-row .aimag-list-thumb img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;
	min-height: 200px;
}
.aimag-list-row .aimag-list-body {
	padding: 22px 24px;
}
.aimag-list-body .wp-block-post-terms a {
	display: inline-block;
	background: #eef2ff;
	color: #4338ca;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 999px;
	text-decoration: none;
}

/* ---- Single cikk ---- */
.aimag-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	color: #64748b;
	font-size: 0.9rem;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	padding: 12px 0;
}
.aimag-author-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 20px 24px;
}

/* ---- Lábléc ---- */
.site-footer {
	background: #0f172a;
	color: #94a3b8;
}
.site-footer .wp-block-site-title a {
	color: #f8fafc;
	text-decoration: none;
}

/* ---- Reszponzív ---- */
@media (max-width: 781px) {
	.aimag-list-row {
		flex-direction: column;
	}
	.aimag-list-row .aimag-list-thumb {
		flex: none;
	}
}
