/*

Theme Name: LogAnalyzer - zakra Theme
Description: Child theme for loganalyzer.adiscon.com (Zakra)

Author: Andre Lorbach
Author URI:

Template: zakra
Version: 1.0
Tags: zakra
Text Domain: zakra-loganalyzer

*/

body {
	font-family: blinkmacsystemfont, "segoe ui", roboto, "oxygen-sans", ubuntu, cantarell, "helvetica neue", helvetica, arial, sans-serif;
}

.site-branding .site-title {
	font-family: blinkmacsystemfont, "segoe ui", roboto, "oxygen-sans", ubuntu, cantarell, "helvetica neue", helvetica, arial, sans-serif;
	margin: 0;
}

/* Front page (596): do not show theme featured-image slot above content (OG image kept via Yoast) */
.post-596 .zak-entry-thumbnail {
	display: none !important;
}

/* Homepage hero (block editor) */
.la-hero-wrap {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.la-hero-inner {
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.hero-subheadline.has-text-align-center {
	max-width: 42rem;
	margin-left: auto !important;
	margin-right: auto !important;
}

.hero-headline {
	color: #1f4e79 !important;
	font-size: clamp(2rem, 4vw, 3rem) !important;
	font-weight: 700 !important;
	margin-bottom: 16px !important;
	line-height: 1.15 !important;
}

.hero-subheadline {
	color: #333333 !important;
	font-size: 1.2rem !important;
	line-height: 1.6 !important;
	margin-bottom: 16px !important;
}

.hero-primary-button .wp-block-button__link {
	background-color: #1f4e79 !important;
	color: #ffffff !important;
	border-color: #1f4e79 !important;
	padding: 12px 30px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	border-width: 2px !important;
	border-style: solid !important;
}

.hero-primary-button .wp-block-button__link:hover {
	background-color: #154165 !important;
	border-color: #154165 !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(31, 78, 121, 0.3);
}

.hero-secondary-button .wp-block-button__link {
	background-color: transparent !important;
	color: #1f4e79 !important;
	border: 2px solid #1f4e79 !important;
	padding: 12px 30px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
}

.hero-secondary-button .wp-block-button__link:hover {
	background-color: #1f4e79 !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(31, 78, 121, 0.3);
}

.hero-ghost-button .wp-block-button__link {
	background-color: transparent !important;
	color: #3f3f46 !important;
	border: 2px solid #d4d4d8 !important;
	padding: 12px 24px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
}

.hero-ghost-button .wp-block-button__link:hover {
	border-color: #1f4e79 !important;
	color: #1f4e79 !important;
	background-color: rgba(31, 78, 121, 0.06) !important;
}

.la-hero-buttons {
	gap: 10px 12px !important;
}

/* Latest release callout (homepage) */
.la-latest-release-wrap {
	margin-top: 8px;
	margin-bottom: 16px;
}

.la-latest-release-box {
	background: linear-gradient(135deg, rgba(2, 122, 187, 0.08) 0%, rgba(31, 78, 121, 0.06) 100%);
	border: 1px solid rgba(31, 78, 121, 0.25);
	border-radius: 10px;
	padding: 24px 28px;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.la-release-box-kicker {
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1f4e79 !important;
	margin-bottom: 6px !important;
	margin-top: 0 !important;
}

.la-release-box-version {
	font-size: 2rem !important;
	line-height: 1.2 !important;
	margin-top: 0 !important;
	margin-bottom: 12px !important;
}

.la-release-box-version strong {
	color: #1f4e79;
	font-weight: 700;
}

.la-release-box-summary {
	color: #3f3f46 !important;
	font-size: 1.05rem !important;
	line-height: 1.55 !important;
	margin-bottom: 14px !important;
	margin-top: 0 !important;
}

.la-release-box-links {
	font-size: 0.95rem !important;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

.la-release-box-links a {
	color: #027abb;
	font-weight: 600;
	text-decoration: none;
}

.la-release-box-links a:hover {
	text-decoration: underline;
}

/* Handbook screenshot strip */
.la-handbook-shots-section {
	padding-top: 20px;
	padding-bottom: 12px;
}

.la-handbook-shots-section .wp-block-heading.has-text-align-center {
	color: #1f4e79 !important;
	margin-bottom: 12px !important;
}

.la-handbook-shots-intro {
	font-size: 1rem !important;
	color: #52525b !important;
	margin-bottom: 28px !important;
	max-width: 46rem;
	margin-left: auto !important;
	margin-right: auto !important;
}

.la-handbook-shots-intro a {
	color: #027abb;
	font-weight: 600;
	text-decoration: none;
}

.la-handbook-shots-intro a:hover {
	text-decoration: underline;
}

.la-handbook-shot-wrap {
	margin: 0;
}

.la-handbook-preview {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.06);
	background: #f4f4f5;
	border-radius: 8px;
	cursor: zoom-in;
	position: relative;
	overflow: hidden;
	line-height: 0;
	text-align: center;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.la-handbook-preview:hover,
.la-handbook-preview:focus {
	box-shadow: 0 10px 32px rgba(15, 23, 42, 0.16);
	transform: translateY(-2px);
	outline: none;
}

.la-handbook-preview:focus-visible {
	outline: 2px solid #027abb;
	outline-offset: 2px;
}

.la-handbook-preview-img {
	width: 100%;
	max-height: 240px;
	height: auto;
	object-fit: contain;
	object-position: center top;
	display: inline-block;
	vertical-align: middle;
}

/* Main viewer: crop to 400px tall (top of image), hide overflow below */
.la-handbook-preview-crop--400 {
	height: 400px;
	overflow: hidden;
	position: relative;
	border-radius: 7px;
}

.la-handbook-preview-img--crop {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: top;
}

.la-handbook-preview.la-handbook-preview--main {
	height: auto;
	min-height: 0;
}

.la-handbook-preview-hint {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.5rem 0.65rem 0.45rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #fff;
	text-align: center;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
	line-height: 1.3;
	pointer-events: none;
}

.la-handbook-shot-caption {
	font-size: 0.95rem !important;
	color: #3f3f46 !important;
	margin-top: 10px !important;
	margin-bottom: 0 !important;
}

/* Full-page screenshot overlay (homepage) */
.la-screenshot-overlay[hidden] {
	display: none !important;
}

.la-screenshot-overlay:not([hidden]) {
	display: flex;
	align-items: center;
	justify-content: center;
}

.la-screenshot-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	padding: min(3vw, 2rem);
	background: rgba(0, 0, 0, 0.88);
	cursor: zoom-out;
}

.la-screenshot-overlay-img {
	max-width: min(96vw, 1600px);
	max-height: 92vh;
	width: auto;
	height: auto;
	object-fit: contain;
	cursor: default;
	border-radius: 6px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.la-screenshot-overlay-close {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 100001;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

.la-screenshot-overlay-close:hover {
	background: rgba(255, 255, 255, 0.24);
}

.la-feature-section {
	padding-top: 48px;
	padding-bottom: 32px;
}

.la-feature-section .wp-block-heading.has-text-align-center {
	color: #1f4e79 !important;
	margin-bottom: 32px !important;
}

.la-ecosystem-section {
	padding-top: 24px;
	padding-bottom: 48px;
}

.la-ecosystem-section .wp-block-heading.has-text-align-center {
	color: #1f4e79 !important;
	margin-bottom: 16px !important;
}

/* Audience cards */
.product-card {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 32px 28px;
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	box-shadow: 0 4px 12px rgba(31, 78, 121, 0.15);
	transform: translateY(-4px);
	border-color: #1f4e79;
}

.product-card .wp-block-heading {
	color: #1f4e79 !important;
	font-size: 1.35rem !important;
	margin-bottom: 16px !important;
}

.product-card p {
	color: #333333 !important;
	line-height: 1.6 !important;
}

.product-card a {
	color: #1f4e79;
	font-weight: 600;
	text-decoration: none;
}

.product-card a:hover {
	text-decoration: underline;
}

@media (max-width: 781px) {
	.hero-headline {
		font-size: 1.85rem !important;
	}
}
