/* Article IPTV template */

body.page-template-template-article-php .hx-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

body.page-template-template-article-php .hx-hero {
	background: linear-gradient(135deg, var(--hatchet-primary) 0%, var(--hatchet-secondary) 100%);
	color: #fff;
	padding: 90px 0 80px;
	position: relative;
	overflow: hidden;
}

body.page-template-template-article-php .hx-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 216, 3, 0.22) 0%, rgba(255, 216, 3, 0) 70%);
	pointer-events: none;
}

body.page-template-template-article-php .hx-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 18px;
	color: rgba(255, 255, 255, 0.7);
}

body.page-template-template-article-php .hx-crumbs a {
	color: var(--hatchet-accent);
	text-decoration: none;
}

body.page-template-template-article-php .hx-crumbs a:hover {
	text-decoration: underline;
}

body.page-template-template-article-php .hx-hero .hx-title {
	color: #fff;
	font-size: 56px;
	line-height: 1.05;
	letter-spacing: -1.5px;
	margin: 0 0 18px;
	max-width: 900px;
}

body.page-template-template-article-php .hx-lead {
	font-size: 19px;
	line-height: 1.6;
	max-width: 760px;
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.88);
}

body.page-template-template-article-php .hx-meta {
	display: inline-block;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

body.page-template-template-article-php .hx-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	padding-top: 64px;
	padding-bottom: 96px;
}

body.page-template-template-article-php .hx-content {
	background: #fff;
	border-radius: 16px;
	padding: 48px 56px;
	box-shadow: 0 10px 40px rgba(7, 24, 66, 0.06);
	font-size: 17px;
	line-height: 1.8;
	color: var(--hatchet-text);
}

body.page-template-template-article-php .hx-content > *:first-child {
	margin-top: 0;
}

body.page-template-template-article-php .hx-content h2 {
	font-size: 32px;
	line-height: 1.2;
	letter-spacing: -0.6px;
	margin: 48px 0 16px;
	padding-left: 16px;
	border-left: 5px solid var(--hatchet-accent);
}

body.page-template-template-article-php .hx-content h3 {
	font-size: 23px;
	letter-spacing: -0.3px;
	margin: 32px 0 10px;
}

body.page-template-template-article-php .hx-content p {
	margin: 0 0 18px;
}

body.page-template-template-article-php .hx-content strong {
	color: var(--hatchet-primary);
}

body.page-template-template-article-php .hx-content a {
	color: var(--hatchet-secondary);
	font-weight: 500;
}

body.page-template-template-article-php .hx-content ul {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
}

body.page-template-template-article-php .hx-content ul li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 10px;
}

body.page-template-template-article-php .hx-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--hatchet-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071842' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

body.page-template-template-article-php .hx-content ol {
	counter-reset: hx-step;
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

body.page-template-template-article-php .hx-content ol li {
	counter-increment: hx-step;
	position: relative;
	padding: 14px 18px 14px 64px;
	margin-bottom: 12px;
	background: var(--hatchet-bg);
	border-radius: 12px;
}

body.page-template-template-article-php .hx-content ol li::before {
	content: counter(hx-step);
	position: absolute;
	left: 16px;
	top: 12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--hatchet-primary);
	color: var(--hatchet-accent);
	font-weight: 600;
	font-size: 15px;
	line-height: 32px;
	text-align: center;
}

body.page-template-template-article-php .hx-note {
	margin: 28px 0;
	padding: 20px 24px;
	border-radius: 12px;
	background: #fffbe0;
	border-left: 5px solid var(--hatchet-accent);
}

body.page-template-template-article-php .hx-note p:last-child {
	margin-bottom: 0;
}

body.page-template-template-article-php .hx-table-wrap {
	overflow-x: auto;
	margin: 0 0 26px;
}

body.page-template-template-article-php .hx-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

body.page-template-template-article-php .hx-content th,
body.page-template-template-article-php .hx-content td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid var(--hatchet-bg-2);
	vertical-align: top;
}

body.page-template-template-article-php .hx-content th {
	background: var(--hatchet-primary);
	color: #fff;
	font-weight: 600;
}

body.page-template-template-article-php .hx-content tr:nth-child(even) td {
	background: #fafafa;
}

body.page-template-template-article-php .hx-faq details {
	border: 1px solid var(--hatchet-bg-2);
	border-radius: 12px;
	margin-bottom: 12px;
	background: #fff;
}

body.page-template-template-article-php .hx-faq summary {
	cursor: pointer;
	padding: 16px 20px;
	font-weight: 600;
	color: var(--hatchet-primary);
	list-style: none;
	position: relative;
	padding-right: 48px;
}

body.page-template-template-article-php .hx-faq summary::-webkit-details-marker {
	display: none;
}

body.page-template-template-article-php .hx-faq summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	color: var(--hatchet-secondary);
}

body.page-template-template-article-php .hx-faq details[open] summary::after {
	content: "–";
}

body.page-template-template-article-php .hx-faq details > p {
	padding: 0 20px 16px;
	margin: 0;
}

body.page-template-template-article-php .hx-side {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

body.page-template-template-article-php .hx-box {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 10px 40px rgba(7, 24, 66, 0.06);
	position: sticky;
	top: 24px;
}

body.page-template-template-article-php .hx-box + .hx-box {
	position: static;
}

body.page-template-template-article-php .hx-box h3 {
	font-size: 20px;
	margin: 0 0 16px;
}

body.page-template-template-article-php .hx-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.page-template-template-article-php .hx-links li {
	border-bottom: 1px solid var(--hatchet-bg-2);
}

body.page-template-template-article-php .hx-links li:last-child {
	border-bottom: 0;
}

body.page-template-template-article-php .hx-links a {
	display: block;
	padding: 11px 0;
	color: var(--hatchet-primary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s, padding-left 0.2s;
}

body.page-template-template-article-php .hx-links a:hover {
	color: var(--hatchet-secondary);
	padding-left: 6px;
}

body.page-template-template-article-php .hx-cta {
	background: var(--hatchet-primary);
	color: rgba(255, 255, 255, 0.85);
}

body.page-template-template-article-php .hx-cta h3 {
	color: #fff;
}

body.page-template-template-article-php .hx-btn {
	display: inline-block;
	margin-top: 6px;
	padding: 14px 26px;
	background: var(--hatchet-accent);
	color: var(--hatchet-primary);
	font-weight: 600;
	text-decoration: none;
	border-radius: 0;
	transition: background 0.2s;
}

body.page-template-template-article-php .hx-btn:hover {
	background: var(--hatchet-accent-dark);
	color: var(--hatchet-primary);
}

body.page-template-template-article-php .hx-content a.hx-inline {
	color: var(--hatchet-secondary);
	text-decoration: underline;
	text-decoration-color: var(--hatchet-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

body.page-template-template-article-php .hx-content a.hx-inline:hover {
	color: var(--hatchet-primary);
	background: #fffbe0;
}

body.page-template-template-article-php .hx-related {
	margin-top: 56px;
	padding-top: 8px;
	border-top: 1px solid var(--hatchet-bg-2);
}

body.page-template-template-article-php .hx-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

body.page-template-template-article-php .hx-content a.hx-related-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border-radius: 12px;
	background: var(--hatchet-bg);
	color: var(--hatchet-text);
	text-decoration: none;
	font-weight: 400;
	line-height: 1.5;
	transition: transform 0.2s, box-shadow 0.2s;
}

body.page-template-template-article-php .hx-content a.hx-related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(7, 24, 66, 0.1);
}

body.page-template-template-article-php .hx-related-card strong {
	font-size: 16px;
	line-height: 1.3;
}

body.page-template-template-article-php .hx-related-card span {
	font-size: 14px;
}

body.page-template-template-article-php .hx-related-card em {
	margin-top: auto;
	font-style: normal;
	font-size: 14px;
	font-weight: 600;
	color: var(--hatchet-secondary);
}

@media (max-width: 1024px) {
	body.page-template-template-article-php .hx-related-grid {
		grid-template-columns: 1fr;
	}

	body.page-template-template-article-php .hx-layout {
		grid-template-columns: 1fr;
	}

	body.page-template-template-article-php .hx-box {
		position: static;
	}

	body.page-template-template-article-php .hx-hero .hx-title {
		font-size: 44px;
	}
}

@media (max-width: 767px) {
	body.page-template-template-article-php .hx-hero {
		padding: 64px 0 56px;
	}

	body.page-template-template-article-php .hx-hero .hx-title {
		font-size: 36px;
		letter-spacing: -1px;
	}

	body.page-template-template-article-php .hx-lead {
		font-size: 17px;
	}

	body.page-template-template-article-php .hx-content {
		padding: 28px 22px;
		font-size: 16px;
	}

	body.page-template-template-article-php .hx-content h2 {
		font-size: 26px;
	}
}
