/* ==========================
   404 Page Title Link
========================== */
h1.page-title a {
	color: #585858;
	display: block;
	width: 100%;
	font-size: 32px;
	letter-spacing: -0.5px;
	font-weight: bold;
	text-decoration: none;
	line-height: 1.2;
}

.error-404 .page-content {
	margin-top: 0px;
}

.error-404 .page-content h1 {
	margin-top: 20px;
}

.error-404 .page-content .post {
	padding: 0px;
}

/* ==========================
   Post Container
========================== */
.post {
	clear: both;
	width: 100%;
	max-width: 744px;
	float: none;
	box-sizing: border-box;
}

/* ====== GLOBAL LAYOUT ====== */
.tax-platform .content-area {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
}

.tax-platform .platform-wrapper {
	width: 744px;
}

.tax-platform .right-side {
	width: 336px;
	padding: 20px;
}

.tax-platform .meta-info i {
	margin-right: 4px;
}

.tax-platform .meta-info .fa-video-camera {
	color: #ff4b2b;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
	.tax-platform .content-area {
		flex-direction: column;
		align-items: center;
	}

	.tax-platform .platform-wrapper,
	.tax-platform .right-side {
		width: 100%;
		max-width: 100%;
	}
}

/* ===== TITLE & SEPARATORS ===== */
.tax-platform .platform h1 {
	margin-top: 20px;
}

.tax-platform .valaszto {
	width: 100%;
	padding: 0;
	margin: 0;
	border-top: 5px solid #ECECEC;
}

/* ===== PLATFORM GRID ===== */
.tax-platform .platform-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin: 18px 0;
}

.tax-platform.one-block .platform-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
	margin: 20px 0;
}

/* ===== PLATFORM POST CARD ===== */
.tax-platform .platform-post {
	background: #fff;
	transition: transform 0.3s ease;
	position: relative;
}

/* ===== THUMBNAIL AREA ===== */
.tax-platform .thumb-wrap {
	position: relative;
	display: block;
	overflow: hidden;
}

.tax-platform .thumb-wrap img.wp-post-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.8s ease-in-out, filter 0.8s ease-in-out;
	position: relative;
	z-index: 1;
}

.tax-platform.one-block .platform-grid .thumb-wrap img {
	height: 300px;
}

.thumb-wrap {
	overflow: hidden;
	/* keeps zoomed image inside container */
	display: inline-block;
	position: relative;
	width: 100%;
}

.thumb-wrap a img.wp-post-image {
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	/* faster but smooth */
	display: block;
}

.thumb-wrap a:hover img.wp-post-image {
	transform: scale(1.18);
	/* zoom in */
}

/* ===== FIX CLICK OVERLAP ISSUE ===== */
.tax-platform .thumb-wrap a {
	display: block;
	position: relative;
	z-index: 1;
}

.tax-platform .comment-count,
.tax-platform .platform-meta {
	position: absolute;
	z-index: 10;
	pointer-events: auto;
}

.tax-platform .meta-info a,
.tax-platform .meta-info i {
	pointer-events: auto;
	z-index: 4;
	position: relative;
}

/* ===== META OVERLAY (TAG + META INFO) ===== */
.tax-platform .platform-meta {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	z-index: 3;
}

/* ===== PLATFORM TAGS ===== */
.tax-platform .tags {
	display: flex;
	background: none;
	padding: 0px;
	border: 0px;
}

.tax-platform .tags::-webkit-scrollbar {
	display: none;
}

.tax-platform .tag {
	padding: 3px 7px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	text-transform: lowercase;
}

/* ===== META INFO ===== */
.tax-platform .meta-info {
	margin-top: 4px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 2px 6px;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1.4;
}

/* ===== COMMENT COUNT ===== */
.tax-platform .comment-count {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 12px;
	padding: 2px 6px;
	display: flex;
	align-items: center;
	gap: 4px;
	z-index: 10;
}

/* ===== POST TITLE ===== */
.tax-platform h2.post-title {
	color: #585858;
	font-weight: 600;
	border-bottom: 0;
	padding: 10px 5px 15px 5px;
	margin: 0;
}

.tax-platform .post-title a:hover {
	text-decoration: none
}

.tax-platform.one-block .platform-grid .post-title {
	position: absolute;
	top: 32%;
	z-index: 1;
	font-size: 52px;
	line-height: 52px;
	letter-spacing: -0.5px;
	/* width: 100%; */
	color: #fff;
	text-shadow: -1px 0 #1C1C1C, 0 1px #1C1C1C, 1px 0 #1C1C1C, 0 -1px #1C1C1C;
	font-weight: bold;
	border: none;
	padding: 0;
	left: 10px;
	display: block;
    word-wrap: break-word;
}

/* ===== Pagination ===== */
.tax-platform .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0px;
	flex-wrap: wrap;
	margin: 30px 0;
	font-size: 14px;
}

.tax-platform .pagination span {
	border-right: 1px solid #ddd;
	background: #fff;
	color: #555;
	padding: 10px 15px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tax-platform .pagination span:hover {
	background: #f0f0f0;
}

.tax-platform .pagination span.active {
	background-color: #f3f3f3;
	color: #333;
}

.tax-platform .pagination span.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.tax-platform .pagination .dots {
	padding: 6px 10px;
	color: #888;
}

/* ==========================
   Responsive Breakpoints
========================== */

/* Large devices (desktop, ≥992px) */
@media (min-width: 992px) {
	h1.page-title a {
		font-size: 38px;
	}
}

/* Small devices (phones, <768px) */
@media (max-width: 767px) {
	h1.page-title a {
		font-size: 26px;
	}

}

/* Medium devices (tablets, 768px–991px) */
@media (min-width: 768px) and (max-width: 991px) {
	h1.page-title a {
		font-size: 30px;
	}
}

/* taxonomy-platform CSS*/
.platform h1 {
	margin-top: 20px;
}