:root {
	--hamta-primary: #2B7FFF;
	--hamta-blue: #508EFF;
	--hamta-tag-bg: #508EFF;
	--hamta-body-bg: #06070D;
	--hamta-text: #FFFFFF;
	--hamta-text-muted: #808C9E;
	--hamta-neutral-200: #394049;
	--hamta-neutral-500: #808C9E;
	--hamta-neutral-600: #A6AEBA;
	--hamta-border: rgba(128, 140, 158, 0.2);
	--hamta-card-bg: rgba(255, 255, 255, 0.03);
	--hamta-card-hover: rgba(43, 127, 255, 0.08);
	--hamta-radius: 16px;
	--hamta-container: 1200px;
	--hamta-header-h: 72px;
	--hamta-hero-space: 48px;
	--hamta-tag-news: #FBB409;
	--hamta-tag-news-bg: #FBB40929;
	--hamta-tag-analysis: #00C278;
	--hamta-tag-analysis-bg: #00C27829;
	--hamta-tag-learn: #508EFF;
	--hamta-tag-learn-bg: #508EFF29;
	--hamta-tag-guide: #14B8A6;
	--hamta-tag-guide-bg: #14B8A629;
	--hamta-error: #F04438;
	--hamta-input-bg: #000005;
	--hamta-input-bg-hover: #06070D;
	--hamta-input-border: #262C34;
	--hamta-input-text: #ffffff;
	--hamta-input-placeholder: #646E7D;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: HamtaFont, Tahoma, Arial, sans-serif;
	background: var(--hamta-body-bg);
	color: var(--hamta-text);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	padding-top: var(--hamta-header-h);
}

a {
	color: inherit;
	text-decoration: none;
}

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

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hamta-blog-container {
	width: min(100% - 32px, var(--hamta-container));
	margin-inline: auto;
}

/* Buttons */
.hamta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: 0;
	border-radius: 10px;
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s ease, background 0.2s ease;
}

.hamta-btn--primary {
	background: var(--hamta-primary);
	color: #fff;
}

.hamta-btn--primary:hover {
	opacity: 0.92;
}

.hamta-btn--sm {
	min-height: 36px;
	padding: 0 14px;
	font-size: 13px;
}

.hamta-btn--block {
	width: 100%;
	min-height: 44px;
}

.hamta-btn__divider {
	width: 2px;
	height: 20px;
	margin: 0 4px;
	background: rgba(255, 255, 255, 0.6);
}

/* ========== Header ========== */
.hamta-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 100;
	overflow: visible;
}

/* Sit below WP admin bar when logged in */
body.admin-bar .hamta-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .hamta-header {
		top: 46px;
	}
}

.hamta-header__nav {
	width: 100%;
	overflow: visible;
	padding: 10px 12px;
	border-bottom: 1px solid #394049;
	background: rgba(6, 7, 13, 0.4);
	-webkit-backdrop-filter: blur(64px);
	backdrop-filter: blur(64px);
}

@media (min-width: 1024px) {
	.hamta-header__nav {
		padding: 0 12px;
	}
}

@media (min-width: 1280px) {
	.hamta-header__nav {
		padding: 0 32px;
	}
}

.hamta-header__desktop {
	display: none;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1024px) {
	.hamta-header__desktop {
		display: flex;
	}
}

.hamta-header__brand {
	margin-left: 40px;
}

@media (min-width: 1280px) {
	.hamta-header__brand {
		margin-left: 56px;
	}
}

.hamta-header__brand img {
	width: 128px;
	height: 28px;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.hamta-header__item {
	position: relative;
	display: flex;
	align-items: center;
	padding: 24px 8px;
	transition: color 0.15s ease;
}

@media (min-width: 1280px) {
	.hamta-header__item {
		padding: 24px 16px;
	}
}

.hamta-header__trigger,
.hamta-header__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hamta-text);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hamta-header__item.is-open .hamta-header__trigger,
.hamta-header__item.is-open .hamta-header__link,
.hamta-header__item:hover .hamta-header__link {
	color: var(--hamta-blue);
}

.hamta-header__trigger--icon {
	color: var(--hamta-neutral-500);
}

.hamta-header__item.is-open .hamta-header__trigger--icon {
	color: var(--hamta-blue);
}

.hamta-header__angle {
	display: inline-flex;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	color: #808c9e;
	transform-origin: center;
	transition: transform 0.2s ease, color 0.2s ease;
}

.hamta-header__item.is-open .hamta-header__angle {
	transform: rotate(180deg);
	color: #3b82f6;
}

.hamta-header__underline {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin-inline: auto;
	height: 2px;
	width: 0;
	background: var(--hamta-blue);
	transform: translateY(24px);
	transition: width 0.3s ease;
	box-shadow: 0 2px 25px 1px #3b82f6;
}

.hamta-header__item.is-open .hamta-header__underline,
.hamta-header__item:hover .hamta-header__link .hamta-header__underline {
	width: 100%;
}

.hamta-header__submenu {
	position: fixed;
	z-index: 110;
	display: none;
	min-width: 320px;
	padding: 12px 8px;
	border-radius: 16px;
	isolation: isolate;
	background:
		linear-gradient(180deg, rgba(85, 153, 255, 0.16) -10.41%, rgba(85, 153, 255, 0) 31.76%),
		rgba(13, 14, 21, 0.96);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hamta-header__submenu.is-open {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hamta-header__submenu::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(
		from 45deg at 50% 50%,
		rgba(166, 174, 186, 0.14) 0deg,
		rgba(166, 174, 186, 0.24) 40deg,
		rgba(166, 174, 186, 0.15) 80deg,
		rgba(166, 174, 186, 0.24) 130deg,
		rgba(166, 174, 186, 0.16) 175deg,
		rgba(166, 174, 186, 0.24) 225deg,
		rgba(166, 174, 186, 0.15) 270deg,
		rgba(166, 174, 186, 0.13) 315deg,
		rgba(166, 174, 186, 0.14) 360deg
	);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.hamta-header__submenu-link {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px;
	border-radius: 16px;
	transition: background 0.2s ease;
}

.hamta-header__submenu-link:hover {
	background: #ebf3ff0a;
}

.hamta-header__submenu-arrow {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--hamta-blue);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.hamta-header__submenu-link:hover .hamta-header__submenu-arrow {
	opacity: 1;
}

.hamta-header__submenu-link img {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.hamta-header__submenu-link span {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	text-align: right;
}

.hamta-header__submenu-link strong {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	color: #fff;
}

.hamta-header__submenu-link small {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 500;
	line-height: 20px;
	color: #a6aeba;
}

.hamta-header__submenu--app {
	align-items: center;
	min-width: 176px;
	padding: 16px;
	text-align: center;
}

.hamta-header__qr {
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
}

.hamta-header__qr img {
	width: 104px;
	height: 104px;
	object-fit: contain;
}

.hamta-header__qr-hint {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 12px 0;
	font-size: 12px;
	line-height: 1.4;
	color: #fff;
}

.hamta-header__app-divider {
	width: 100%;
	height: 1px;
	margin: 4px 0 12px;
	background: rgba(255, 255, 255, 0.1);
}

.hamta-header__app-stores {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hamta-header__app-stores a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	font-size: 12px;
	color: #fff;
	transition: opacity 0.2s ease;
}

.hamta-header__app-stores a:hover {
	opacity: 0.8;
}

.hamta-header__app-stores img,
.hamta-header__app-stores svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	object-fit: contain;
}

.hamta-header__tools {
	margin-right: 16px;
}

.hamta-header__tools img {
	height: 36px;
	width: auto;
}

.hamta-header__cta {
	margin-right: auto;
	display: flex;
	align-items: center;
	padding: 12px 0;
}

.hamta-header__item--app {
	padding-inline: 0;
	margin-right: 16px;
}

@media (min-width: 1280px) {
	.hamta-header__item--app {
		margin-right: 24px;
	}
}

.hamta-header__mobile {
	display: flex;
	align-items: center;
}

@media (min-width: 1024px) {
	.hamta-header__mobile {
		display: none;
	}
}

.hamta-header__menu-btn {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: inherit;
}

.hamta-header__mobile-divider {
	width: 1px;
	height: 24px;
	margin: 0 12px;
	background: var(--hamta-neutral-200);
}

.hamta-header__mobile-cta {
	margin-right: auto;
}

/* Drawer — full-screen mobile nav from TheHeader.vue */
.hamta-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0s linear 0.28s;
}

.hamta-drawer.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.2s ease, visibility 0s linear 0s;
}

.hamta-drawer__panel {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	background: var(--hamta-body-bg);
	color: #fff;
	transform: translateX(100%);
	transition: transform 0.28s ease;
}

.hamta-drawer.is-open .hamta-drawer__panel {
	transform: translateX(0);
}

.hamta-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid #394049;
}

.hamta-drawer__logo {
	flex-shrink: 0;
}

.hamta-drawer__head img {
	width: 128px;
	height: 28px;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.hamta-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: #A6AEBA;
	cursor: pointer;
}

.hamta-drawer__nav {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding: 8px 16px;
}

.hamta-drawer__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hamta-drawer__row {
	display: flex;
	width: 100%;
	align-items: center;
	padding: 12px 0;
	border: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	text-align: right;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.hamta-drawer__acc.is-open > .hamta-drawer__row {
	color: #508EFF;
}

.hamta-drawer__icon {
	display: block;
	flex-shrink: 0;
	margin-left: 8px;
}

.hamta-drawer__icon path {
	fill: #646E7D;
}

.hamta-drawer__icon--trade path {
	fill: #808C9E;
}

.hamta-drawer__acc.is-open .hamta-drawer__icon--trade path {
	fill: url(#hamta-drawer-grad-trade);
}

.hamta-drawer__acc.is-open .hamta-drawer__icon--features path {
	fill: url(#hamta-drawer-grad-features);
}

.hamta-drawer__acc.is-open .hamta-drawer__icon--help path {
	fill: url(#hamta-drawer-grad-help);
}

.hamta-drawer__acc.is-open .hamta-drawer__icon--app path {
	fill: url(#hamta-drawer-grad-app);
}

.hamta-drawer__angle {
	flex-shrink: 0;
	margin-right: auto;
	transition: transform 0.2s ease;
}

.hamta-drawer__acc.is-open .hamta-drawer__angle {
	transform: rotate(180deg);
}

.hamta-drawer__collapse {
	display: grid;
	grid-template-rows: 0fr;
	margin-top: 4px;
	transition: grid-template-rows 0.3s ease-out;
}

.hamta-drawer__acc.is-open .hamta-drawer__collapse {
	grid-template-rows: 1fr;
}

.hamta-drawer__collapse-inner {
	min-height: 0;
	overflow: hidden;
}

.hamta-drawer__box {
	padding: 16px 32px 16px 16px;
	border: 1px solid #262C34;
	border-radius: 12px;
	background: #0D0E15;
}

.hamta-drawer__sub {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hamta-drawer__sub a {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	color: #A6AEBA;
	text-decoration: none;
}

.hamta-drawer__sub a.hamta-drawer__store {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	color: #fff;
}

.hamta-drawer__store img {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	object-fit: contain;
}

.hamta-drawer__store-text {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.hamta-drawer__store-prefix {
	color: #A6AEBA;
}

.hamta-drawer__tools {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.hamta-drawer__tools img {
	height: 36px;
	width: auto;
}

.hamta-drawer__foot {
	flex-shrink: 0;
	padding: 12px;
}

@media (min-width: 1024px) {
	.hamta-drawer {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hamta-drawer,
	.hamta-drawer__panel,
	.hamta-drawer__collapse,
	.hamta-drawer__angle,
	.hamta-footer__acc-panel {
		transition: none;
	}
}

/* ========== Hero ========== */
.hamta-blog-hero {
	position: relative;
	z-index: 6;
	padding: var(--hamta-hero-space) 0;
	text-align: right;
	border-bottom: 1px solid var(--hamta-border);
}

.hamta-blog-hero__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.hamta-blog-hero__copy {
	flex: 1 1 280px;
	text-align: right;
}

.hamta-blog-hero__title {
	margin: 0 0 12px;
	font-family: Morabba, HamtaFont, Tahoma, sans-serif;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.3;
}

.hamta-blog-hero__title-plain {
	color: var(--hamta-text);
}

.hamta-blog-hero__title-brand {
	color: var(--hamta-primary);
}

.hamta-blog-hero__subtitle {
	margin: 0;
	max-width: 640px;
	font-size: 16px;
	color: var(--hamta-text-muted);
}

/* Follow Us */
.hamta-follow {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.hamta-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: min(100%, 320px);
	padding: 8px 12px;
	border-radius: 10px;
	border: 1px solid var(--hamta-input-border);
	background: var(--hamta-input-bg);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.hamta-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--hamta-input-text);
	font-family: inherit;
	font-size: 14px;
	outline: none;
	appearance: none;
}

.hamta-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.hamta-search__input::placeholder {
	color: var(--hamta-input-placeholder);
}

.hamta-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hamta-input-placeholder);
	cursor: pointer;
}

.hamta-search:hover {
	background: var(--hamta-input-bg-hover);
}

.hamta-search:focus-within {
	border-color: var(--hamta-primary);
	background: var(--hamta-input-bg);
}

.hamta-search:focus-within .hamta-search__submit {
	color: var(--hamta-primary);
}

.hamta-search__suggest {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-end: 0;
	width: max(100%, 380px);
	max-height: min(420px, 70vh);
	overflow: auto;
	padding: 8px;
	border-radius: 12px;
	border: 1px solid var(--hamta-border);
	background: #10131c;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	z-index: 20;
	animation: hamta-fade-in 0.2s ease;
}

.hamta-search__status,
.hamta-search__empty {
	margin: 0;
	padding: 14px 12px;
	font-size: 13px;
	color: var(--hamta-text-muted);
	text-align: right;
}

.hamta-search__results {
	display: flex;
	flex-direction: column;
}

.hamta-search__results > li + li {
	border-top: 1px solid var(--hamta-border);
}

.hamta-search__result {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	padding: 15px 12px;
	border-radius: 8px;
	text-align: right;
	transition: background 0.2s ease;
}

.hamta-search__result:hover,
.hamta-search__result:focus-visible {
	background: rgba(255, 255, 255, 0.05);
}

.hamta-search__result .hamta-blog-tag {
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
}

.hamta-search__result-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hamta-search__result-date {
	font-size: 12px;
}

.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;
}

.hamta-follow__label {
	font-size: 13px;
	color: var(--hamta-text-muted);
}

.hamta-follow__list {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hamta-follow__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--hamta-card-bg);
	border: 1px solid var(--hamta-border);
	color: var(--hamta-text-muted);
	transition: border-color 0.2s ease, background 0.2s ease;
}

.hamta-follow__item svg {
	width: auto;
	height: auto;
	max-width: 24px;
	max-height: 24px;
	flex-shrink: 0;
}

.hamta-follow__item:hover {
	border-color: rgba(43, 127, 255, 0.4);
	background: rgba(255, 255, 255, 0.06);
}

/* Tabs */
.hamta-blog-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	justify-content: flex-start;
	min-height: 34px;
	margin: 0 0 32px;
	padding-bottom: 0;
	border-bottom: 0;
}

.hamta-blog-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 12px;
	border-radius: 8px;
	border: 0;
	background: rgba(84, 95, 118, 0.07);
	color: var(--hamta-text-muted);
	font-size: 13px;
	font-weight: 500;
	transition: color 0.2s ease, background 0.2s ease;
	cursor: pointer;
}

.hamta-blog-tab:hover {
	color: var(--hamta-text);
	background: rgba(84, 95, 118, 0.14);
}

.hamta-blog-tab.is-active {
	background: rgba(43, 127, 255, 0.07);
	color: var(--hamta-primary);
	box-shadow: none;
	font-weight: 600;
}

/* Layout: main (right in RTL) + sticky hot sidebar (left) */
.hamta-blog-listing {
	padding-bottom: 80px;
}

.hamta-blog-listing > .hamta-blog-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	column-gap: 40px;
	align-items: start;
	padding-top: var(--hamta-hero-space);
}

.hamta-blog-listing__primary {
	min-width: 0;
}

.hamta-blog-listing .hamta-hot {
	align-self: start;
}

.hamta-blog-layout {
	display: block;
	min-width: 0;
	width: 100%;
}

.hamta-blog-single-page .hamta-blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	column-gap: 40px;
	align-items: start;
}

.hamta-blog-layout__main {
	min-width: 0;
	width: 100%;
	text-align: right;
}

/* Posts list — full-row horizontal cards */
.hamta-blog-posts {
	--hamta-stagger: 70ms;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hamta-blog-posts .hamta-blog-card {
	--i: 12;
	animation: hamta-list-enter 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
	animation-delay: calc(var(--i) * var(--hamta-stagger));
}

.hamta-blog-posts .hamta-blog-card:nth-child(1) { --i: 1; }
.hamta-blog-posts .hamta-blog-card:nth-child(2) { --i: 2; }
.hamta-blog-posts .hamta-blog-card:nth-child(3) { --i: 3; }
.hamta-blog-posts .hamta-blog-card:nth-child(4) { --i: 4; }
.hamta-blog-posts .hamta-blog-card:nth-child(5) { --i: 5; }
.hamta-blog-posts .hamta-blog-card:nth-child(6) { --i: 6; }
.hamta-blog-posts .hamta-blog-card:nth-child(7) { --i: 7; }
.hamta-blog-posts .hamta-blog-card:nth-child(8) { --i: 8; }
.hamta-blog-posts .hamta-blog-card:nth-child(9) { --i: 9; }
.hamta-blog-posts .hamta-blog-card:nth-child(10) { --i: 10; }
.hamta-blog-posts .hamta-blog-card:nth-child(11) { --i: 11; }

.hamta-blog-pagination,
.hamta-blog-empty {
	animation: hamta-fade-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hamta-blog-layout__main.is-exiting .hamta-blog-card,
.hamta-blog-layout__main.is-exiting .hamta-blog-pagination,
.hamta-blog-layout__main.is-exiting .hamta-blog-empty {
	animation: hamta-list-leave 0.28s cubic-bezier(0.4, 0, 1, 1) both;
	animation-delay: 0s;
}

@keyframes hamta-list-enter {
	from {
		opacity: 0;
		translate: 0 22px;
		scale: 0.98;
	}

	to {
		opacity: 1;
		translate: 0 0;
		scale: 1;
	}
}

@keyframes hamta-list-leave {
	from {
		opacity: 1;
		translate: 0 0;
		scale: 1;
	}

	to {
		opacity: 0;
		translate: 0 -8px;
		scale: 0.99;
	}
}

@keyframes hamta-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hamta-blog-posts .hamta-blog-card,
	.hamta-blog-pagination,
	.hamta-blog-empty,
	.hamta-blog-layout__main.is-exiting .hamta-blog-card,
	.hamta-blog-layout__main.is-exiting .hamta-blog-pagination,
	.hamta-blog-layout__main.is-exiting .hamta-blog-empty {
		animation: none;
	}
}

.hamta-blog-card {
	--hamta-card-pad: 18px;
	border-radius: 12px;
	background: transparent;
	border: 0;
	/* Hover pad sticks out past tab-aligned content (inline-start = right in RTL) */
	margin-inline-start: calc(var(--hamta-card-pad) * -1);
	overflow: visible;
	transition:
		background 0.25s ease,
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.hamta-blog-card:hover {
	background: rgba(128, 140, 158, 0.12);
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.hamta-blog-card__link {
	display: flex;
	flex-direction: row-reverse;
	align-items: stretch;
	gap: 16px;
	min-height: 180px;
	/* Content stays flush with tabs; pad only shows on hover bg */
	padding: var(--hamta-card-pad);
}

.hamta-blog-card__media {
	flex: 0 0 240px;
	max-width: 240px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 10px;
}

.hamta-blog-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom right;
	transition: transform 0.35s ease;
}

.hamta-blog-card:hover .hamta-blog-card__image {
	transform: scale(1.03);
}

.hamta-blog-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
	padding-block: 4px;
	padding-inline: 0;
	text-align: right;
	min-height: 156px;
}

.hamta-blog-tag {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 3px 10px;
	border-radius: 6px;
	background: var(--hamta-tag-learn-bg);
	color: var(--hamta-tag-bg);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
}

.hamta-blog-tag--news {
	background: var(--hamta-tag-news-bg);
	color: var(--hamta-tag-news);
}

.hamta-blog-tag--analysis {
	background: var(--hamta-tag-analysis-bg);
	color: var(--hamta-tag-analysis);
}

.hamta-blog-tag--learn {
	background: var(--hamta-tag-learn-bg);
	color: var(--hamta-tag-learn);
}

.hamta-blog-tag--guide {
	background: var(--hamta-tag-guide-bg);
	color: var(--hamta-tag-guide);
}

.hamta-blog-card__labels,
.hamta-related__labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.hamta-blog-author-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: HamtaFont, Tahoma, Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--hamta-text-muted);
}

.hamta-blog-author-label__icon {
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.hamta-blog-author-label__name {
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	color: inherit;
}

.hamta-blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
	color: var(--hamta-text-muted);
}

.hamta-blog-card__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hamta-blog-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: var(--hamta-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	min-height: calc(1.75em * 3);
}

.hamta-blog-date {
	font-size: 13px;
	color: var(--hamta-text-muted);
}

.hamta-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--hamta-text-muted);
}

.hamta-blog-meta__facts {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.hamta-blog-meta .hamta-blog-author-label,
.hamta-blog-meta .hamta-blog-author-label__name {
	font-family: HamtaFont, Tahoma, Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--hamta-text-muted);
}

.hamta-blog-meta__sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--hamta-text-muted);
	flex-shrink: 0;
	margin-inline: 2px;
}

.hamta-blog-meta__icon {
	flex-shrink: 0;
	display: block;
	width: 16px;
	height: 16px;
	color: inherit;
}

.hamta-blog-meta__reading {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	line-height: 1.4;
	color: inherit;
}

.hamta-blog-single__title + .hamta-blog-meta {
	margin-top: -4px;
}

/* Hot sidebar */
.hamta-hot {
	position: sticky;
	top: calc(var(--hamta-header-h) + 16px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.admin-bar .hamta-hot {
	top: calc(var(--hamta-header-h) + 32px + 16px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .hamta-hot {
		top: calc(var(--hamta-header-h) + 46px + 16px);
	}
}

.hamta-hot__inner {
	padding: 0;
	border-radius: 0;
	border: 0;
	background: transparent;
}

.hamta-campaign {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.hamta-campaign:hover {
	opacity: 0.95;
	transform: translateY(-2px);
}

.hamta-campaign img {
	width: 100%;
	height: auto;
	display: block;
}

.hamta-hot__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.45;
}

.hamta-blog-listing .hamta-hot__title {
	min-height: 34px;
	margin-bottom: 24px;
}

.hamta-hot__fire {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.hamta-hot__list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.hamta-hot__item {
	border-top: 1px solid var(--hamta-border);
}

.hamta-hot__item:first-child {
	border-top: 0;
}

.hamta-hot__link {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	text-align: right;
}

.hamta-hot__item:first-child .hamta-hot__link {
	padding-top: 0;
}

.hamta-hot__media {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(128, 140, 158, 0.12);
}

.hamta-hot__image,
.hamta-hot__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom right;
	transition: transform 0.35s ease;
}

.hamta-hot__placeholder {
	background: linear-gradient(135deg, rgba(80, 142, 255, 0.28), rgba(128, 140, 158, 0.08));
}

.hamta-hot__link:hover .hamta-hot__image {
	transform: scale(1.03);
}

.hamta-hot__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	flex: 1;
}

.hamta-hot__item-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--hamta-text);
	display: block;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color 0.4s ease-in-out;
}

.hamta-hot__link:hover .hamta-hot__item-title {
	color: var(--hamta-primary);
}

.hamta-hot__item-excerpt {
	display: block;
	min-width: 0;
	font-size: 12px;
	color: var(--hamta-text-muted);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color 0.4s ease-in-out;
}

.hamta-hot__item-date {
	font-size: 12px;
	transition: color 0.4s ease-in-out;
}

.hamta-hot__link:hover .hamta-hot__item-excerpt,
.hamta-hot__link:hover .hamta-hot__item-date {
	color: #fff;
}

/* Pagination */
.hamta-blog-pagination {
	margin-top: 40px;
}

.hamta-blog-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hamta-blog-pagination li a,
.hamta-blog-pagination li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid var(--hamta-border);
	color: var(--hamta-text-muted);
	font-size: 14px;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.hamta-blog-pagination li a:hover {
	border-color: var(--hamta-primary);
	background: rgba(43, 127, 255, 0.15);
	color: var(--hamta-text);
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 3px 10px rgba(43, 127, 255, 0.12);
}

.hamta-blog-pagination .page-numbers.current {
	border-color: rgba(43, 127, 255, 0.45);
	background: rgba(43, 127, 255, 0.12);
	color: var(--hamta-text);
	font-weight: 500;
	cursor: default;
}

.hamta-blog-empty {
	padding: 64px 0;
	text-align: center;
	color: var(--hamta-text-muted);
}

/* Single / coin */
.hamta-blog-single-page {
	padding: 32px 0 96px;
}

.hamta-blog-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	font-size: 14px;
	color: var(--hamta-text-muted);
}

.hamta-blog-breadcrumb a:hover {
	color: var(--hamta-primary);
}

.hamta-blog-breadcrumb__sep {
	width: 10px;
	height: 6px;
	flex-shrink: 0;
	transform: rotate(90deg);
	color: var(--hamta-text-muted);
}

.hamta-blog-breadcrumb__current {
	color: var(--hamta-primary);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hamta-blog-single__header {
	margin-bottom: 28px;
	text-align: right;
}

.hamta-blog-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.hamta-blog-single__title {
	margin: 0 0 12px;
	font-size: clamp(24px, 3.5vw, 34px);
	font-weight: 700;
	line-height: 1.35;
}

.hamta-blog-single__excerpt {
	margin: 0;
	font-size: 16px;
	color: var(--hamta-text-muted);
}

.hamta-blog-meta + .hamta-blog-single__excerpt {
	margin-top: 4px;
}

.hamta-blog-single__figure {
	margin: 0 0 28px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--hamta-border);
}

.hamta-blog-single__image {
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: cover;
	object-position: bottom right;
}

.hamta-blog-single__content {
	width: 100%;
	max-width: none;
	font-size: 14px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.92);
	text-align: right;
}

@media (min-width: 1024px) {
	.hamta-blog-single__content {
		font-size: 16px;
	}
}

.hamta-blog-single__content h2,
.hamta-blog-single__content h3 {
	margin: 32px 0 16px;
	color: var(--hamta-text);
	font-weight: 600;
}

.hamta-blog-single__content p,
.hamta-blog-single__content li,
.hamta-blog-single__content blockquote {
	font-weight: 300;
}

.hamta-blog-single__content p {
	margin: 0 0 16px;
}

.hamta-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.hamta-post-tags__item {
	color: var(--hamta-text-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}

.hamta-blog-ad {
	margin: 28px 0 32px;
}

.hamta-blog-ad__link {
	display: block;
	overflow: hidden;
	border: 1px solid var(--hamta-border);
	border-radius: 12px;
	background: var(--hamta-card-bg);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.hamta-blog-ad__link:hover {
	border-color: rgba(43, 127, 255, 0.45);
	transform: translateY(-1px);
}

.hamta-blog-ad__image {
	width: 100%;
	height: auto;
	display: block;
}

.hamta-blog-ad__code {
	overflow: hidden;
	border: 1px solid var(--hamta-border);
	border-radius: 12px;
	background: var(--hamta-card-bg);
	text-align: center;
}

.hamta-blog-ad__code iframe,
.hamta-blog-ad__code ins,
.hamta-blog-ad__code img {
	max-width: 100%;
}

.hamta-blog-single__content ul,
.hamta-blog-single__content ol {
	margin: 0 0 16px;
	padding-right: 24px;
	color: var(--hamta-text-muted);
	list-style: disc;
}

.hamta-blog-single__content li {
	margin-bottom: 8px;
}

.hamta-blog-single__content blockquote {
	margin: 24px 0;
	padding: 16px 20px;
	border-right: 3px solid var(--hamta-primary);
	background: rgba(43, 127, 255, 0.08);
	border-radius: 0 12px 12px 0;
	color: var(--hamta-text-muted);
	font-style: normal;
}

.hamta-blog-single__content a {
	color: var(--hamta-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hamta-blog-single__footer {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--hamta-border);
	width: 100%;
	max-width: none;
}

.hamta-related__title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	color: var(--hamta-text);
}

.hamta-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.hamta-related__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 10px;
	border-radius: 12px;
	border: 1px solid var(--hamta-border);
	background: var(--hamta-card-bg);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hamta-related__card:hover {
	border-color: rgba(43, 127, 255, 0.4);
	background: var(--hamta-card-hover);
	transform: translateY(-2px);
}

.hamta-related__media {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(128, 140, 158, 0.12);
}

.hamta-related__image,
.hamta-related__placeholder {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: bottom right;
}

.hamta-related__placeholder {
	background:
		linear-gradient(135deg, rgba(80, 142, 255, 0.28), rgba(128, 140, 158, 0.08));
}

.hamta-related__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}

.hamta-related__card .hamta-blog-tag {
	font-size: 10px;
	padding: 2px 8px;
}

.hamta-related__card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.55;
	color: var(--hamta-text);
}

/* Comments */
.hamta-comments {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--hamta-border);
}

.hamta-comments .comment-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.hamta-comments__title,
.hamta-comments__reply-title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
}

.hamta-comments__reply-title {
	margin-bottom: 6px;
}

.hamta-comments__form {
	margin-bottom: 24px;
}

.hamta-comments__cancel {
	display: inline-block;
	margin-right: 10px;
	font-size: 13px;
	font-weight: 500;
}

.hamta-comments__cancel a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 8px;
	background: #FD4B4E29;
	color: #FD4B4E;
	line-height: 1.5;
}

.hamta-comments__notes {
	margin: 3px 0 8px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--hamta-text-muted);
}

.hamta-comment-form__logged-in,
.hamta-comments__closed {
	margin: 0 0 20px;
	font-size: 13px;
	color: var(--hamta-text-muted);
}

.hamta-comment-form__logged-in a {
	color: var(--hamta-primary);
}

.hamta-comments__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.hamta-comments__list .children {
	margin: 16px 0 0;
	padding: 0 20px 0 0;
	border-right: 1px solid var(--hamta-border);
	list-style: none;
}

.hamta-comment__body {
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid var(--hamta-border);
	background: var(--hamta-card-bg);
}

.hamta-comment__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.hamta-comment__meta .hamta-blog-date {
	margin-inline-start: auto;
}

.hamta-comment__author {
	font-size: 14px;
	font-weight: 600;
}

.hamta-base-notification {
	width: 100%;
	padding: 12px 16px;
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.9);
}

.hamta-base-notification--warning {
	background: #F7701C29;
}

.hamta-base-notification__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
}

.hamta-comment__meta + .hamta-base-notification {
	margin-bottom: 10px;
}

.hamta-comment__content {
	font-size: 15px;
	color: #A6AEBA;
}

.hamta-comment__content p {
	margin: 0 0 8px;
}

.hamta-comment__content p:last-child {
	margin-bottom: 0;
}

.hamta-comment__reply {
	margin-top: 10px;
}

.hamta-comment__reply a {
	font-size: 13px;
	font-weight: 600;
	color: var(--hamta-primary);
}

.hamta-comment-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.hamta-comments__notes,
.hamta-comment-form__logged-in,
.hamta-comment-form__field--comment,
.hamta-comment-form__submit,
.hamta-comment-form .comment-form-comment,
.hamta-comment-form .form-submit {
	grid-column: 1 / -1;
}

.hamta-comment-form__field {
	margin: 0;
}

.hamta-comment-form label {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	color: var(--hamta-text-muted);
}

.hamta-comment-form .required {
	color: var(--hamta-error);
}

.hamta-comment-form input[type="text"],
.hamta-comment-form input[type="email"],
.hamta-comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--hamta-input-border);
	background: var(--hamta-input-bg);
	color: var(--hamta-input-text);
	font-family: inherit;
	font-size: 14px;
	outline: none;
	resize: vertical;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.hamta-comment-form input::placeholder,
.hamta-comment-form textarea::placeholder {
	color: var(--hamta-input-placeholder);
}

.hamta-comment-form input:hover,
.hamta-comment-form textarea:hover {
	background: var(--hamta-input-bg-hover);
}

.hamta-comment-form input:focus,
.hamta-comment-form textarea:focus {
	border-color: var(--hamta-primary);
	background: var(--hamta-input-bg);
}

.hamta-comment-form input.is-invalid,
.hamta-comment-form textarea.is-invalid {
	border-color: var(--hamta-error);
}

.hamta-comment-form input.is-invalid:focus,
.hamta-comment-form textarea.is-invalid:focus {
	border-color: var(--hamta-error);
}

.hamta-comment-form__error {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--hamta-error);
}

.hamta-comment-form__error[hidden] {
	display: none;
}

.hamta-comment-form__submit {
	margin: 0;
}

.hamta-comment-form .hamta-btn {
	height: 40px;
	min-height: 40px;
	padding: 0 22px;
}

/* ========== Footer ========== */
.hamta-footer {
	position: relative;
	margin-top: 64px;
	padding-bottom: 0;
	overflow: visible;
	background: var(--hamta-body-bg);
}

@media (min-width: 1024px) {
	.hamta-footer {
		margin-top: 96px;
	}
}

.hamta-footer__glow {
	position: relative;
	z-index: 0;
	height: 0;
}

.hamta-footer__glow-fade {
	pointer-events: none;
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 64px;
	background: linear-gradient(
		to top,
		rgba(43, 127, 255, 0.08),
		rgba(43, 127, 255, 0.03) 50%,
		transparent 100%
	);
}

@media (min-width: 1024px) {
	.hamta-footer__glow-fade {
		height: 80px;
	}
}

.hamta-footer__line {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	width: 100%;
	background: linear-gradient(
		to left,
		transparent 0%,
		rgba(43, 127, 255, 0.25) 20%,
		var(--hamta-primary) 50%,
		rgba(43, 127, 255, 0.25) 80%,
		transparent 100%
	);
	box-shadow: 0 -8px 22px 3px rgba(43, 127, 255, 0.06);
}

.hamta-footer__logo-glow {
	pointer-events: none;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	height: 80px;
	overflow: hidden;
	width: max-content;
}

@media (min-width: 1024px) {
	.hamta-footer__logo-glow {
		height: 112px;
	}
}

.hamta-footer__logo-glow img {
	display: block;
	height: 160px;
	width: auto;
	max-width: none;
	user-select: none;
	opacity: 0.85;
}

@media (min-width: 1024px) {
	.hamta-footer__logo-glow img {
		height: 224px;
	}
}

.hamta-footer__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 75rem;
	margin-inline: auto;
	padding: 48px 16px 32px;
}

@media (min-width: 1024px) {
	.hamta-footer__inner {
		padding: 64px 32px 48px;
	}
}

.hamta-footer__mobile {
	display: block;
}

.hamta-footer__desktop {
	display: none;
}

@media (min-width: 1024px) {
	.hamta-footer__mobile {
		display: none;
	}

	.hamta-footer__desktop {
		display: block;
	}
}

.hamta-footer__grid {
	display: grid;
	gap: 0;
	align-items: start;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.75fr)) minmax(0, 1fr);
}

.hamta-footer__brand {
	max-width: 16.875rem;
}

.hamta-footer__mobile-brand a img,
.hamta-footer__brand a img {
	width: 128px;
	height: 28px;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.hamta-footer__desc {
	margin: 16px 0 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	color: var(--hamta-text-muted);
}

.hamta-footer__mobile-brand .hamta-footer__desc {
	min-width: 250px;
}

.hamta-footer__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.hamta-footer__badge {
	flex: 1 1 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border-radius: 10px;
	background: var(--hamta-card-bg);
	border: 1px solid var(--hamta-border);
}

.hamta-footer__badge img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.hamta-footer__heading {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	color: #fff;
}

.hamta-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hamta-footer__col a {
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	color: var(--hamta-text-muted);
	transition: color 0.2s ease;
}

.hamta-footer__col a:hover {
	color: #fff;
}

.hamta-footer__contact-card {
	padding: 12px;
	border-radius: 12px;
	background: var(--hamta-card-bg);
	border: 1px solid var(--hamta-border);
}

.hamta-footer__contact-card ul {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hamta-footer__contact-card .hamta-footer__heading {
	margin-bottom: 20px;
}

.hamta-footer__contact-card li,
.hamta-footer__contact-card a {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	color: #646E7D;
}

.hamta-footer__contact-card a span {
	transition: color 0.2s ease;
}

.hamta-footer__contact-card a:hover span {
	color: #fff;
}

.hamta-footer__contact-card svg {
	flex-shrink: 0;
	margin-top: 2px;
}

.hamta-footer__muted {
	color: #A6AEBA;
}

.hamta-footer__contact {
	width: 100%;
}

.hamta-footer__fabs--mobile {
	display: none;
}

iframe#goftino_w {
	animation: none !important;
	transition: none !important;
	z-index: 2147483000;
}

iframe#goftino_w.goftino-launcher {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 40px !important;
	height: 40px !important;
	left: 24px !important;
	right: auto !important;
	bottom: 24px !important;
	border-radius: 10px;
	overflow: hidden;
	background-color: var(--hamta-body-bg);
	animation: none !important;
	transition: none !important;
}

.hamta-footer__fab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 44px;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	padding: 0 10px;
}

.hamta-footer__fab--primary {
	background: var(--hamta-primary);
}

.hamta-footer__accs {
	margin-top: 32px;
}

.hamta-footer__acc-btn {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	text-align: right;
}

.hamta-footer__acc-btn .hamta-footer__heading {
	margin: 0;
}

.hamta-footer__acc-minus {
	display: none;
}

.hamta-footer__acc.is-open .hamta-footer__acc-plus {
	display: none;
}

.hamta-footer__acc.is-open .hamta-footer__acc-minus {
	display: block;
}

.hamta-footer__acc-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease-out;
}

.hamta-footer__acc.is-open .hamta-footer__acc-panel {
	grid-template-rows: 1fr;
}

.hamta-footer__acc-clip {
	min-height: 0;
	overflow: hidden;
}

.hamta-footer__acc-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 16px;
}

.hamta-footer__acc-links a {
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	color: var(--hamta-text-muted);
	transition: color 0.2s ease;
}

.hamta-footer__acc-links a:hover {
	color: #fff;
}

.hamta-footer__mobile-aside {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	margin: 24px 0 0;
}

.hamta-footer__mobile-aside .hamta-footer__contact-card {
	width: 100%;
}

.hamta-footer__badges--mobile {
	width: 100%;
	flex-wrap: nowrap;
	margin-top: 24px;
}

.hamta-footer__badges--mobile .hamta-footer__badge {
	flex: 1 1 0;
	min-width: 0;
}

.hamta-footer__badges--mobile .hamta-footer__badge img {
	width: auto;
	max-width: 100%;
	height: 56px;
	object-fit: contain;
}

.hamta-footer__bottom {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-top: 48px;
	padding-top: 32px;
}

.hamta-footer__bottom::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 1px;
	background: rgba(84, 95, 118, 0.6);
}

.hamta-footer__bottom--desktop {
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
	margin-top: 20px;
}

.hamta-footer__socials--center {
	align-items: center;
}

.hamta-footer__socials--center .hamta-footer__socials-label {
	text-align: center;
}

.hamta-footer__socials,
.hamta-footer__apps {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hamta-footer__socials-label,
.hamta-footer__apps-label {
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	color: var(--hamta-text-muted);
}

.hamta-footer__socials-list,
.hamta-footer__apps-list {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hamta-footer__apps-list {
	padding: 4px;
	border-radius: 10px;
	background: var(--hamta-card-bg);
	border: 1px solid var(--hamta-border);
}

.hamta-footer__social,
.hamta-footer__apps-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	color: #808C9E;
	transition: color 0.2s ease;
}

.hamta-footer__social {
	background: var(--hamta-card-bg);
	border: 1px solid var(--hamta-border);
	overflow: hidden;
}

.hamta-footer__apps-list a {
	border-radius: 8px;
}

.hamta-footer__social svg {
	display: block;
	flex-shrink: 0;
}

.hamta-footer__social--youtube:hover {
	color: #FF0000;
}

.hamta-footer__social--telegram:hover {
	color: #2AABEE;
}

.hamta-footer__social--bale:hover {
	color: #00A99D;
}

.hamta-footer__social--aparat .hamta-social-aparat__petal,
.hamta-footer__social--aparat .hamta-social-aparat__core {
	fill: currentColor;
	transition: fill 0.2s ease;
}

.hamta-footer__social--aparat:hover .hamta-social-aparat__petal {
	fill: #fff;
}

.hamta-footer__social--aparat:hover .hamta-social-aparat__core {
	fill: #ED145B;
}

.hamta-footer__social--instagram .hamta-social-ig__solid {
	opacity: 1;
	transition: opacity 0.2s ease;
}

.hamta-footer__social--instagram .hamta-social-ig__grad {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.hamta-footer__social--instagram:hover .hamta-social-ig__solid {
	opacity: 0;
}

.hamta-footer__social--instagram:hover .hamta-social-ig__grad {
	opacity: 1;
}

.hamta-footer__copy {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #A6AEBA;
	text-align: center;
	flex: 1;
}

.hamta-footer__watermark {
	pointer-events: none;
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 0;
	display: flex;
	justify-content: center;
	padding: 0 16px;
	overflow: hidden;
}

.hamta-footer__watermark img {
	width: 100%;
	max-width: 1200px;
	object-fit: contain;
	object-position: bottom;
	user-select: none;
	opacity: 0.7;
}

/* Responsive */
@media (max-width: 1023px) {
	.hamta-blog-listing > .hamta-blog-container {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}

	.hamta-blog-listing {
		padding-bottom: 0;
	}

	.hamta-hot {
		position: static;
		width: 100%;
		max-width: 100%;
	}

	.hamta-blog-single-page .hamta-hot {
		display: none;
	}

	.hamta-blog-single-page .hamta-blog-layout {
		display: block;
	}

	.hamta-blog-single-page {
		padding-bottom: 0;
	}

	.hamta-footer__contact-card li,
	.hamta-footer__contact-card a {
		font-size: 12px;
		line-height: 20px;
	}

	.hamta-blog-card {
		margin-inline-start: 0;
	}

	.hamta-blog-card__link {
		flex-direction: column;
	}

	.hamta-blog-card__media {
		flex: none;
		max-width: none;
		width: 100%;
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 640px) {
	:root {
		--hamta-hero-space: 32px;
	}

	.hamta-search {
		min-width: 100%;
	}

	.hamta-search__suggest {
		width: 100%;
	}

	.hamta-comment-form {
		grid-template-columns: 1fr;
	}

	.hamta-blog-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.hamta-blog-tabs::-webkit-scrollbar {
		display: none;
	}

	.hamta-blog-tab {
		flex-shrink: 0;
	}

	.hamta-related__grid {
		grid-template-columns: 1fr;
	}

	.hamta-related__card {
		flex-direction: row;
		align-items: stretch;
		gap: 12px;
	}

	.hamta-related__media {
		flex: 0 0 96px;
		width: 96px;
		align-self: flex-start;
	}
}

/* Editorial article features. */
.hamta-author-page {
	padding-top: var(--hamta-hero-space);
}

.hamta-toc,
.hamta-author-box,
.hamta-disclaimer,
.hamta-faq {
	margin-block: 24px;
	padding: 20px 24px;
	border: 1px solid var(--hamta-border);
	border-radius: var(--hamta-radius);
	background: var(--hamta-card-bg);
	color: var(--hamta-neutral-600);
	font-size: 14px;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.hamta-toc > strong,
.hamta-author-box > strong {
	display: block;
	color: var(--hamta-text);
	font-size: 15px;
	font-weight: 600;
}

.hamta-blog-single__content .hamta-toc ol {
	margin: 12px 0 0;
	padding: 0;
	padding-inline-start: 24px;
	list-style: decimal;
	color: var(--hamta-text-muted);
}

.hamta-toc li {
	padding-inline-start: 4px;
}

.hamta-toc li:last-child {
	margin-bottom: 0;
}

.hamta-blog-single__content .hamta-toc a {
	color: var(--hamta-neutral-600);
	text-decoration: none;
}

.hamta-author-box a {
	color: var(--hamta-blue);
	text-decoration: none;
}

.hamta-blog-single__content .hamta-toc a:hover,
.hamta-author-box a:hover {
	color: var(--hamta-blue);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.hamta-author-box p {
	margin: 8px 0 0;
}

.hamta-author-box h1 {
	margin: 0 0 12px;
	color: var(--hamta-text);
	font-size: clamp(24px, 3.5vw, 34px);
	line-height: 1.4;
}

.hamta-disclaimer {
	border-color: rgba(251, 180, 9, 0.14);
	border-inline-start: 3px solid rgba(251, 180, 9, 0.45);
	background: rgba(251, 180, 9, 0.045);
	color: #BDB5A2;
}

.hamta-blog-single__content .hamta-faq > h2 {
	margin: 0 0 8px;
	color: var(--hamta-text);
	font-size: 18px;
	line-height: 1.6;
}

.hamta-faq details + details {
	border-top: 1px solid var(--hamta-border);
}

.hamta-faq summary {
	padding-block: 14px;
	color: var(--hamta-neutral-600);
	font-weight: 500;
	cursor: pointer;
}

.hamta-faq summary::marker {
	color: var(--hamta-text-muted);
	font-size: 12px;
}

.hamta-faq summary:hover,
.hamta-faq details[open] > summary,
.hamta-faq details[open] > summary::marker {
	color: var(--hamta-blue);
}

.hamta-blog-single__content .hamta-faq details > p {
	margin: 0 0 16px;
	color: var(--hamta-neutral-600);
	font-size: 14px;
	line-height: 1.9;
}

.hamta-toc a:focus-visible,
.hamta-author-box a:focus-visible,
.hamta-faq summary:focus-visible {
	outline: 2px solid var(--hamta-blue);
	outline-offset: 4px;
	border-radius: 4px;
}

.hamta-updated {
	margin-block: 16px;
	color: var(--hamta-text-muted);
	font-size: 12px;
}

.entry-content h2[id],
.entry-content h3[id] {
	scroll-margin-top: calc(var(--hamta-header-h) + 48px);
}

@media (max-width: 640px) {
	.hamta-toc,
	.hamta-author-box,
	.hamta-disclaimer,
	.hamta-faq {
		padding: 16px;
		border-radius: 12px;
	}
}
