/*
Theme Name: Combitek
Theme URI: https://combitek.com/
Author: Combitek
Author URI: https://combitek.com/
Description: Custom WordPress theme for the Combitek CodeIgniter to WordPress migration.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: combitek
Domain Path: /languages
*/

:root {
	--combitek-color-primary: #005aa9;
	--combitek-color-accent: #f2b705;
	--combitek-color-text: #1e2933;
	--combitek-color-muted: #65758b;
	--combitek-color-border: #d9e2ec;
	--combitek-color-surface: #ffffff;
	--combitek-color-background: #f5f7fa;
	--combitek-font-base: Arial, Helvetica, sans-serif;
	--combitek-layout-width: 1170px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--combitek-color-background);
	color: var(--combitek-color-text);
	font-family: var(--combitek-font-base);
	font-size: 16px;
	line-height: 1.6;
}

a {
	color: var(--combitek-color-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

img {
	height: auto;
	max-width: 100%;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-header {
	background: var(--combitek-color-surface);
	border-bottom: 1px solid var(--combitek-color-border);
}

.site-header__inner,
.site-main,
.site-footer__inner {
	width: min(100% - 32px, var(--combitek-layout-width));
	margin: 0 auto;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.site-title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.site-description {
	margin: 0;
	color: var(--combitek-color-muted);
	font-size: 14px;
}

.primary-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	color: var(--combitek-color-text);
	font-weight: 600;
}

.site-main {
	flex: 1;
	padding: 40px 0;
}

.site-footer {
	background: #17212b;
	color: #d9e2ec;
}

.site-footer__inner {
	padding: 24px 0;
}

.site-footer a {
	color: #ffffff;
}

.page-header,
.entry-header {
	margin-bottom: 24px;
}

.entry-title {
	margin: 0;
	font-size: 32px;
	line-height: 1.25;
}

.entry-content {
	background: var(--combitek-color-surface);
	border: 1px solid var(--combitek-color-border);
	border-radius: 6px;
	padding: 24px;
}

@media (max-width: 768px) {
	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.primary-menu {
		gap: 12px;
	}

	.entry-title {
		font-size: 26px;
	}
}

.combitek-technology-archive {
	background: #f7f9fc;
	padding: 60px 0;
}

.combitek-technology-archive .items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.combitek-technology-archive .item {
	min-height: 260px;
}

.combitek-technology-archive .item.special {
	grid-column: span 2;
	grid-row: span 2;
}

.combitek-technology-archive .wrap {
	background: #ffffff;
	border: 1px solid #d9e4ff;
	border-radius: 8px;
	color: #222b45;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.combitek-technology-archive .wrap:hover {
	box-shadow: 0 16px 42px rgba(34, 43, 69, 0.14);
	text-decoration: none;
}

.combitek-technology-archive .wrap img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
}

.combitek-technology-archive .desc {
	padding: 18px 20px;
}

.combitek-technology-archive h2 {
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.combitek-technology-archive p {
	color: #65758b;
	margin: 12px 0 0;
}

.combitek-technology-archive .hide {
	display: none;
}

.combitek-technology-archive .section-readmore {
	margin-top: 32px;
	text-align: center;
}

.combitek-empty-state {
	background: #ffffff;
	border: 1px solid #d9e4ff;
	border-radius: 8px;
	padding: 24px;
}

.combitek-technology-detail .product-gallery {
	background: #f7f9fc;
	padding: 60px 0;
}

.combitek-technology-detail .product-media,
.combitek-technology-detail .gallery-desc,
.combitek-content-detail .entry-content {
	background: #ffffff;
	border: 1px solid #d9e4ff;
	border-radius: 8px;
	padding: 24px;
}

.combitek-technology-detail .photos .wrap {
	align-items: center;
	background: #f7f9fc;
	display: flex;
	justify-content: center;
	min-height: 360px;
}

.combitek-technology-detail .photo-thumbs {
	margin-top: 16px;
}

.combitek-technology-detail .photo-thumbs .item {
	border: 1px solid #d9e4ff;
	cursor: pointer;
	height: 96px;
	overflow: hidden;
}

.combitek-technology-detail .photo-thumbs img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.combitek-content-detail {
	padding: 40px 0 70px;
}

.combitek-content-detail .entry-content img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.combitek-software-archive {
	background: #f7f9fc;
	padding: 60px 0;
}

.combitek-software-archive .section-title {
	margin-bottom: 44px;
}

.combitek-software-archive .box-software b a {
	color: #222b45;
}

.combitek-software-archive .box-software b a:hover {
	color: #ff3d71;
	text-decoration: none;
}

.combitek-detail-hero {
	background: #f7f9fc;
	padding: 60px 0;
}

.combitek-detail-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(220px, 360px) 1fr;
}

.combitek-detail-media,
.combitek-detail-summary,
.combitek-download-item {
	background: #ffffff;
	border: 1px solid #d9e4ff;
	border-radius: 8px;
}

.combitek-detail-media {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 320px;
	padding: 36px;
}

.combitek-detail-media img {
	max-height: 260px;
	object-fit: contain;
}

.combitek-detail-summary {
	padding: 34px;
}

.combitek-kicker {
	color: #ff3d71;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 10px;
}

.combitek-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.combitek-downloads {
	padding: 44px 0 0;
}

.combitek-download-list {
	display: grid;
	gap: 16px;
}

.combitek-download-item {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	padding: 18px 22px;
}

.combitek-download-item strong {
	color: #222b45;
}

.combitek-download-item p {
	color: #65758b;
	margin: 4px 0 0;
}

.combitek-download-item span {
	background: #f7f9fc;
	border: 1px solid #d9e4ff;
	border-radius: 999px;
	color: #005aa9;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 4px 10px;
}

.combitek-card-archive {
	background: #f7f9fc;
	padding: 60px 0;
}

.combitek-card-archive .section-title {
	margin-bottom: 44px;
}

.combitek-card-grid {
	display: grid;
	gap: 28px 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.combitek-card {
	background: #ffffff;
	border: 1px solid #d9e4ff;
	border-radius: 8px;
	overflow: hidden;
	padding: 18px;
}

.combitek-card .img {
	align-items: center;
	background: #f7f9fc;
	display: flex;
	justify-content: center;
	min-height: 190px;
}

.combitek-card .img img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	width: 100%;
}

.combitek-card .desc {
	padding-top: 16px;
}

.combitek-card h2 {
	font-size: 1.15rem;
	line-height: 1.35;
	margin: 14px 0 6px;
}

.combitek-partner-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.combitek-partner-card {
	text-align: center;
}

.combitek-partner-logo {
	align-items: center;
	background: #ffffff;
	display: flex;
	height: 120px;
	justify-content: center;
}

.combitek-partner-logo img {
	max-height: 90px;
	object-fit: contain;
}

.combitek-card-link {
	color: #ff3d71;
	font-weight: 700;
}

@media (max-width: 991.98px) {
	.combitek-technology-archive .items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.combitek-technology-archive .item.special {
		grid-column: span 2;
		grid-row: span 1;
	}

	.combitek-detail-grid {
		grid-template-columns: 1fr;
	}

	.combitek-card-grid,
	.combitek-partner-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.combitek-technology-archive {
		padding: 40px 0;
	}

	.combitek-technology-archive .items {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.combitek-technology-archive .item.special {
		grid-column: span 1;
	}

	.combitek-card-grid,
	.combitek-partner-grid {
		grid-template-columns: 1fr;
	}
}
