/* HappyMod APKs – main stylesheet */
:root {
	--g: #16a34a;          /* primary green */
	--g-d: #0f7a37;        /* dark green */
	--g-dd: #0b5d2a;
	--g-l: #e8f8ee;        /* light green bg */
	--g-ll: #f4fbf6;
	--acc: #22c55e;
	--ink: #13201a;
	--muted: #5b6b62;
	--line: #dfe9e2;
	--bg: #f6f8f7;
	--card: #ffffff;
	--red: #dc2626;
	--radius: 14px;
	--shadow: 0 6px 24px rgba(16, 64, 36, .08);
	--wrap: 1140px;
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.lang-hi { --font: "Poppins", "Hind", system-ui, sans-serif; }
.lang-bn { --font: "Hind Siliguri", "Poppins", system-ui, sans-serif; }
.lang-ur { --font: "Noto Nastaliq Urdu", "Poppins", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
.lang-ur body, body.lang-ur { line-height: 2.2; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--g-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g); }
h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); margin: 1.6em 0 .6em; font-weight: 700; }
.lang-ur h1, .lang-ur h2, .lang-ur h3 { line-height: 1.9; }
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.screen-reader-text, .hm-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.hm-skip { position: absolute; inset-inline-start: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 999; }
.hm-skip:focus { inset-inline-start: 8px; }
.hm-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.hm-narrow { max-width: 860px; }
.hm-center { text-align: center; }
.hm-ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Header ---------- */
.hm-header {
	position: sticky; top: 0; z-index: 50;
	background: linear-gradient(90deg, var(--g-d), var(--g));
	box-shadow: 0 2px 14px rgba(0, 0, 0, .12);
}
.admin-bar .hm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hm-header { top: 46px; } }
.hm-header__in { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.hm-brand, .custom-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.25rem; }
.hm-brand img { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.custom-logo { max-height: 48px; width: auto; }
.hm-header .hm-brand:hover { color: #fff; }
.hm-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.hm-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.hm-menu a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem;
}
.hm-menu a:hover, .hm-menu .current-menu-item > a { background: rgba(255, 255, 255, .18); color: #fff; }
.hm-menu .sub-menu { display: none; }

.hm-lang { position: relative; }
.hm-lang summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
	color: #fff; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; font-size: .9rem;
}
.hm-lang summary::-webkit-details-marker { display: none; }
.hm-lang ul {
	position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px;
	list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
	border: 1px solid var(--line);
}
.hm-lang ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.hm-lang ul a:hover, .hm-lang ul a.is-active { background: var(--g-l); color: var(--g-d); font-weight: 600; }

.hm-burger { display: none; margin-inline-start: auto; background: transparent; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.hm-burger .hm-ico { width: 28px; height: 28px; }

@media (max-width: 860px) {
	.hm-burger { display: block; }
	.hm-nav {
		display: none; position: absolute; top: 100%; inset-inline: 0;
		flex-direction: column; align-items: stretch; gap: 6px;
		background: var(--g-d); padding: 10px 16px 18px; margin: 0;
	}
	.hm-nav.is-open { display: flex; }
	.hm-menu { flex-direction: column; }
	.hm-menu a { border-radius: 10px; padding: 11px 14px; }
	.hm-lang ul { position: static; margin-top: 8px; box-shadow: none; }
}

/* ---------- Buttons ---------- */
.hm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 26px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--g); color: #fff; font: inherit; font-weight: 700; letter-spacing: .02em;
	text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	box-shadow: 0 8px 20px rgba(22, 163, 74, .32);
}
.hm-btn:hover { background: var(--g-d); color: #fff; transform: translateY(-2px); }
.hm-btn--xl { font-size: 1.15rem; padding: 16px 38px; }
.hm-btn--sm { padding: 9px 18px; font-size: .9rem; box-shadow: none; }
.hm-btn--light { background: #fff; color: var(--g-d); box-shadow: none; }
.hm-btn--light:hover { background: var(--g-l); color: var(--g-dd); }
.hm-btn--ghost { background: transparent; color: var(--g-d); border: 2px solid var(--g); box-shadow: none; }
.hm-btn--ghost:hover { background: var(--g); color: #fff; }
.hm-btn--dl .hm-ico { width: 1.3em; height: 1.3em; }
.hm-btn--xl { animation: hm-pulse 2.4s ease-in-out infinite; }
@keyframes hm-pulse { 0%, 100% { box-shadow: 0 8px 20px rgba(22, 163, 74, .32); } 50% { box-shadow: 0 8px 34px rgba(22, 163, 74, .55); } }
@media (prefers-reduced-motion: reduce) { .hm-btn--xl { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Hero ---------- */
.hm-hero {
	background:
		radial-gradient(1000px 400px at 85% -10%, rgba(34, 197, 94, .25), transparent 60%),
		linear-gradient(180deg, var(--g-l), var(--bg));
	padding: 46px 0 30px;
}
.hm-hero__in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hm-hero__icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: var(--shadow); background: #fff; margin-bottom: 14px; }
.hm-badge { display: inline-block; background: var(--g); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.hm-hero h1 { margin: .35em 0 .15em; }
.hm-hero__sub { color: var(--g-d); font-weight: 600; margin-bottom: .6em; }
.hm-hero__intro { color: var(--muted); max-width: 60ch; }
.hm-meta { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.hm-meta li { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.hm-meta .hm-ico { color: var(--g); }
.hm-hero__media img { margin-inline: auto; max-height: 520px; width: auto; filter: drop-shadow(0 20px 40px rgba(16, 64, 36, .2)); }
@media (max-width: 860px) {
	.hm-hero { padding-top: 28px; text-align: center; }
	.hm-hero__in { grid-template-columns: 1fr; gap: 24px; }
	.hm-hero__icon { margin-inline: auto; }
	.hm-meta { justify-content: center; }
	.hm-hero__intro { margin-inline: auto; }
	.hm-hero__media img { max-height: 380px; }
}

/* ---------- Article / content ---------- */
.hm-article-wrap { max-width: 920px; }
.hm-article {
	background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: clamp(20px, 4vw, 44px); margin: 26px 0;
}
.hm-content > :first-child { margin-top: 0; }
.hm-content h2 { padding-inline-start: 14px; border-inline-start: 5px solid var(--g); scroll-margin-top: 90px; }
.hm-content h3 { scroll-margin-top: 90px; color: var(--g-dd); }
.hm-content ul, .hm-content ol { padding-inline-start: 1.4em; }
.hm-content li { margin-bottom: .4em; }
.hm-content li::marker { color: var(--g); font-weight: 700; }
.hm-content blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--g-ll); border-inline-start: 4px solid var(--g); border-radius: 8px; }
.hm-content img { border-radius: 10px; }
.hm-content figure { margin: 1.4em 0; }
.hm-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
.hm-content pre { overflow-x: auto; background: #0f1a14; color: #e7f5ec; padding: 16px; border-radius: 10px; font-size: .9rem; }
.hm-content .wp-block-button__link { background: var(--g); border-radius: 999px; }

/* Tables */
.hm-table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: 12px; border: 1px solid var(--line); }
.hm-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hm-content th, .hm-content td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.hm-content tr:last-child th, .hm-content tr:last-child td { border-bottom: 0; }
.hm-info caption { caption-side: top; text-align: start; font-weight: 700; padding: 12px 16px; background: var(--g); color: #fff; }
.hm-info th { width: 42%; background: var(--g-ll); font-weight: 600; }
.hm-compare thead th { background: var(--g); color: #fff; }
.hm-compare tbody tr:nth-child(even) { background: var(--g-ll); }
.wp-block-table table { border: 1px solid var(--line); }

/* TOC */
.hm-toc { background: var(--g-ll); border: 1px solid #cfe9d8; border-radius: 12px; margin: 0 0 28px; overflow: hidden; }
.hm-toc__toggle {
	width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer;
	background: var(--g-l); border: 0; font: inherit; font-weight: 700; color: var(--g-dd); text-align: start;
}
.hm-toc__toggle i { margin-inline-start: auto; width: 10px; height: 10px; border-inline-end: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s; }
.hm-toc__toggle[aria-expanded="false"] i { transform: rotate(-45deg); }
.hm-toc ol { margin: 0; padding-inline-start: 1.4em; counter-reset: none; }
.hm-toc__list { padding: 12px 18px 16px 2.4em !important; }
.is-rtl .hm-toc__list { padding: 12px 2.4em 16px 18px !important; }
.hm-toc li { margin: .25em 0; font-size: .95rem; }
.hm-toc li ol { margin-top: .2em; list-style: lower-alpha; }
.hm-toc a { text-decoration: none; color: var(--ink); }
.hm-toc a:hover { color: var(--g-d); text-decoration: underline; }
.hm-toc.is-collapsed .hm-toc__list { display: none; }

/* Features */
.hm-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 1.4em 0; }
.hm-feature { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; transition: border-color .2s, transform .2s; }
.hm-feature:hover { border-color: var(--acc); transform: translateY(-3px); }
.hm-feature__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--g-l); color: var(--g-d); }
.hm-feature__icon .hm-ico { width: 24px; height: 24px; }
.hm-feature h3 { margin: .6em 0 .3em; font-size: 1.05rem; color: var(--ink); }
.hm-feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.hm-steps { list-style: none; counter-reset: step; padding: 0 !important; }
.hm-steps li { counter-increment: step; position: relative; padding: 12px 16px; padding-inline-start: 58px; margin-bottom: 10px; background: var(--g-ll); border-radius: 10px; }
.hm-steps li::before {
	content: counter(step); position: absolute; inset-inline-start: 14px; top: 12px;
	width: 30px; height: 30px; border-radius: 50%; background: var(--g); color: #fff;
	display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.hm-checklist { list-style: none; padding: 0 !important; }
.hm-checklist li { padding-inline-start: 30px; position: relative; }
.hm-checklist li::before { content: "✔"; position: absolute; inset-inline-start: 4px; color: var(--g); font-weight: 700; }

/* Pros / cons */
.hm-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.2em 0; }
.hm-pros, .hm-cons { border-radius: 12px; padding: 16px 18px; }
.hm-pros { background: #ecfdf3; border: 1px solid #bbf0cf; }
.hm-cons { background: #fef2f2; border: 1px solid #fbd0d0; }
.hm-pros h3, .hm-cons h3 { margin-top: 0; }
.hm-cons h3 { color: var(--red); }
.hm-proscons ul { list-style: none; padding: 0 !important; margin: 0; }
.hm-proscons li { display: flex; gap: 8px; align-items: flex-start; }
.hm-proscons li .hm-ico { margin-top: .35em; }
.hm-pros .hm-ico { color: var(--g); }
.hm-cons .hm-ico { color: var(--red); }
@media (max-width: 640px) { .hm-proscons { grid-template-columns: 1fr; } }

/* FAQ */
.hm-faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.hm-faq summary { cursor: pointer; list-style: none; padding: 14px 18px; display: flex; align-items: center; gap: 10px; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; margin-inline-start: auto; font-size: 1.5rem; line-height: 1; color: var(--g); font-weight: 400; }
.hm-faq details[open] summary::after { content: "–"; }
.hm-faq details[open] summary { background: var(--g-ll); }
.hm-faq summary h3 { margin: 0; font-size: 1rem; color: var(--ink); }
.hm-faq__a { padding: 4px 18px 6px; }

/* CTA band */
.hm-cta { background: linear-gradient(90deg, var(--g-dd), var(--g)); color: #fff; padding: 28px 0; margin: 10px 0 30px; }
.hm-cta__in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hm-cta__in img { border-radius: 16px; background: #fff; }
.hm-cta h2, .hm-cta__title { color: #fff; margin: 0; font-size: 1.3rem; font-weight: 700; }
.hm-cta p { margin: 0; opacity: .9; }
.hm-cta .hm-btn { margin-inline-start: auto; }
.hm-cta--box { border-radius: var(--radius); padding: 20px 24px; }
@media (max-width: 640px) { .hm-cta__in { justify-content: center; text-align: center; flex-direction: column; } .hm-cta .hm-btn { margin-inline-start: 0; } }

/* Cards / blog */
.hm-section-title { text-align: center; margin: 1.4em 0 .9em; }
.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-bottom: 30px; }
.hm-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s; }
.hm-card:hover { transform: translateY(-4px); }
.hm-card__img { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--g), var(--acc)); }
.hm-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-card__ph { display: grid; place-items: center; height: 100%; color: #fff; }
.hm-card__ph .hm-ico { width: 54px; height: 54px; opacity: .9; }
.hm-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hm-card__title { margin: 0; font-size: 1.1rem; }
.hm-card__title a { color: var(--ink); text-decoration: none; }
.hm-card__title a:hover { color: var(--g-d); }
.hm-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.hm-card time { margin-top: auto; font-size: .82rem; color: var(--muted); }
.hm-chip { align-self: flex-start; display: inline-block; background: var(--g-l); color: var(--g-d); font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; text-decoration: none; }
.hm-chip--soft { margin: 0 4px 6px 0; }
.hm-page-head { text-align: center; padding: 10px 0 20px; }
.hm-page-head .hm-title { margin-top: .3em; }
.hm-page-desc { color: var(--muted); }

.nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 10px 0 40px; }
.nav-links .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nav-links .current, .nav-links a:hover { background: var(--g); color: #fff; border-color: var(--g); }

/* Single */
.hm-title { margin-top: .2em; }
.hm-post-head { margin-bottom: 18px; }
.hm-post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); margin: 0; }
.hm-featured { margin: 0 0 24px; }
.hm-featured img { border-radius: 12px; width: 100%; }
.hm-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 26px; }
.hm-share strong { display: inline-flex; gap: 6px; align-items: center; }
.hm-share a { padding: 6px 14px; border-radius: 999px; background: var(--g-l); text-decoration: none; font-size: .88rem; font-weight: 600; }
.hm-share a:hover { background: var(--g); color: #fff; }
.hm-tags { margin-top: 22px; }

/* Breadcrumbs */
.hm-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 18px 0 0; font-size: .85rem; color: var(--muted); }
.hm-crumbs li + li::before { content: "›"; margin-inline-end: 4px; }
.is-rtl .hm-crumbs li + li::before { content: "‹"; }
.hm-crumbs a { color: var(--muted); text-decoration: none; }
.hm-crumbs a:hover { color: var(--g-d); }

/* Download page */
.hm-dl { text-align: center; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 44px); margin: 18px 0 0; }
.hm-dl__icon { width: 110px; height: 110px; border-radius: 26px; margin: 0 auto 12px; box-shadow: var(--shadow); }
.hm-dl h1 { margin: .2em 0 .4em; }
.hm-dl__intro { color: var(--muted); max-width: 56ch; margin-inline: auto; }
.hm-dl__box { margin: 22px auto; max-width: 520px; }
.hm-dl__wait { font-weight: 600; }
.hm-dl__num { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border-radius: 50%; background: var(--g); color: #fff; font-size: 1.2rem; margin: 0 4px; }
.hm-progress { height: 8px; background: var(--g-l); border-radius: 99px; overflow: hidden; margin: 10px 0 18px; }
.hm-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g), var(--acc)); transition: width 1s linear; }
.hm-dl__ready { color: var(--g-d); font-weight: 700; }
.hm-dl__help { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.hm-dl .hm-table-wrap { max-width: 560px; margin-inline: auto; text-align: start; }
.hm-dl table { width: 100%; border-collapse: collapse; }
.hm-dl th, .hm-dl td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: start; }

/* Alerts & forms */
.hm-alert { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 12px 16px; }
.hm-alert--ok { background: #ecfdf3; border-color: #bbf0cf; }
.hm-alert--err { background: #fef2f2; border-color: #fbd0d0; }
.hm-form { display: grid; gap: 14px; margin-top: 18px; }
.hm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .hm-form__row { grid-template-columns: 1fr; } }
.hm-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.hm-form input, .hm-form textarea, .comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; font: inherit; font-weight: 400; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
}
.hm-form input:focus, .hm-form textarea:focus { border-color: var(--g); outline: none; box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.hm-form button { justify-self: start; }
.comment-form .submit { background: var(--g); color: #fff; border: 0; padding: 12px 26px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }

/* Search */
.hm-search { display: flex; max-width: 520px; margin: 14px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.hm-search input { flex: 1; border: 0; padding: 12px 18px; font: inherit; min-width: 0; background: transparent; }
.hm-search input:focus { outline: none; }
.hm-search button { border: 0; background: var(--g); color: #fff; padding: 0 18px; cursor: pointer; }

/* Comments */
.hm-comments { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); margin: 26px 0; }
.hm-comment-list { list-style: none; padding: 0; }
.hm-comment-list .comment-body { border-bottom: 1px solid var(--line); padding: 14px 0; }
.hm-comment-list .avatar { border-radius: 50%; float: left; margin-inline-end: 10px; }

/* 404 */
.hm-404 { text-align: center; padding: 50px 16px; }
.hm-404__code { font-size: 6rem; font-weight: 800; color: var(--g); line-height: 1; margin: 0; }
.hm-404 .hm-center { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Footer */
.hm-footer { background: #0d1f15; color: #c8d6cd; margin-top: 30px; font-size: .95rem; }
.hm-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; }
.hm-footer .hm-brand { color: #fff; margin-bottom: 12px; }
.hm-footer__about p { margin-bottom: 16px; }
.hm-footer__h { color: #fff; font-size: 1.02rem; margin: 0 0 12px; }
.hm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hm-footer .hm-menu { flex-direction: column; gap: 6px; }
.hm-footer a, .hm-footer .hm-menu a { color: #c8d6cd; text-decoration: none; padding: 0; background: none; font-weight: 400; }
.hm-footer a:hover, .hm-footer .hm-menu a:hover { color: var(--acc); background: none; }
.hm-footer .hm-btn { color: #fff; background: var(--g); padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.hm-footer .hm-btn:hover { background: var(--acc); color: #fff; }
.hm-footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .85rem; text-align: center; }
.hm-footer__bar p { margin: 4px 0; }
.hm-footer__note { opacity: .75; }
@media (max-width: 860px) { .hm-footer__grid { grid-template-columns: 1fr 1fr; } .hm-footer__about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .hm-footer__grid { grid-template-columns: 1fr; } }

/* Back to top */
.hm-top {
	position: fixed; inset-inline-end: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%;
	background: var(--g); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
	opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40;
}
.hm-top.is-visible { opacity: 1; pointer-events: auto; }
.hm-top:hover { color: #fff; background: var(--g-d); }

/* Gutenberg alignments */
.alignwide { margin-inline: calc(-1 * clamp(0px, 4vw, 44px)); }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-inline: auto; }

/* RTL tweaks */
.is-rtl .hm-comment-list .avatar { float: right; }
.is-rtl .hm-hero__intro, .is-rtl .hm-content { text-align: right; }
