/*
Theme Name: eProbash
Theme URI: https://eprobash.com/
Author: eProbash
Author URI: https://eprobash.com/
Description: A modern, fast and secure resource-hub theme for guides about life abroad. Featured images with an automatic generated cover when none is set, dark mode, table of contents, breadcrumbs, related posts and AdSense-friendly ad slots (widget areas). No web fonts.
Version: 1.1.17
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eprobash
Tags: blog, news, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, editor-style, custom-background

eProbash WordPress Theme, (C) 2024-2026 eProbash.
eProbash is distributed under the terms of the GNU General Public License v2 or later.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #ffffff;
	--surface: #f5f7fb;
	--surface-2: #eaeef6;
	--text: #151a26;
	--muted: #556070;
	--border: #dde3ee;
	--accent: #2347d6;
	--accent-ink: #ffffff;
	--accent-soft: #e6ecff;
	--focus: #ff8a00;
	--art-1: #2347d6;
	--art-2: #7b5cff;
	--art-3: #ff8a3d;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 20px rgba(16, 24, 40, .05);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Nirmala UI", "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0f131b;
		--surface: #171c27;
		--surface-2: #1f2634;
		--text: #e8ecf4;
		--muted: #9aa6ba;
		--border: #2a3345;
		--accent: #8aa4ff;
		--accent-ink: #0f131b;
		--accent-soft: #1b2442;
		--art-1: #4b6bff;
		--art-2: #9a7bff;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #0f131b;
	--surface: #171c27;
	--surface-2: #1f2634;
	--text: #e8ecf4;
	--muted: #9aa6ba;
	--border: #2a3345;
	--accent: #8aa4ff;
	--accent-ink: #0f131b;
	--accent-soft: #1b2442;
	--art-1: #4b6bff;
	--art-2: #9a7bff;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
ul, ol { padding-left: 1.3em; }
img, svg, video, iframe { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: .5rem; left: .5rem; z-index: 100; width: auto; height: auto; margin: 0;
	clip: auto; padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink); border-radius: 8px;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 1.25rem; }
.wrap--narrow { max-width: 900px; }
.wrap--wide { max-width: 1320px; }
.site-main { min-height: 60vh; padding-block: 1.25rem 3rem; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.primary-nav a { display: block; padding: .5rem .75rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-cat > a { background: var(--accent-soft); color: var(--accent); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 0 0 0 1rem; }
.header-tools { display: flex; gap: .4rem; }
.icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text);
	font-size: 1.05rem; line-height: 1; cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn__dark { display: none; }
:root[data-theme="dark"] .icon-btn__light { display: none; }
:root[data-theme="dark"] .icon-btn__dark { display: inline; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .icon-btn__light { display: none; }
	:root:not([data-theme="light"]) .icon-btn__dark { display: inline; }
}
.nav-toggle { display: none; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
}
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

@media (max-width: 1023px) {
	.site-header__inner { flex-wrap: nowrap; }
	.header-tools { margin-left: auto; }
	.nav-toggle { display: inline-grid; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; z-index: 20; margin: 0; padding: .5rem 1rem 1rem; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
	.site-header { position: relative; }
	.js .primary-nav.is-open { display: block; }
	.no-js .primary-nav { display: block; position: static; box-shadow: none; padding: 0 0 .75rem; flex-basis: 100%; }
	.primary-nav .menu { flex-direction: column; }
}

/* ---------- Hero ---------- */
.hero { padding: 2.25rem 0 1.5rem; }
.hero__eyebrow { margin: 0 0 .5rem; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero__title { font-size: clamp(1.9rem, 5vw, 3rem); max-width: 18em; margin-bottom: 1.25rem; font-weight: 800; }
.topics { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Chips, buttons, forms ---------- */
.chip {
	display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
	font-size: .8rem; font-weight: 700; text-decoration: none; line-height: 1.5;
}
.chip:hover { text-decoration: underline; }
.chip--lg { font-size: .92rem; padding: .35rem .9rem; border: 1px solid transparent; }
.chip__count { opacity: .7; font-weight: 600; margin-left: .2em; }
.btn, .comment-form input[type="submit"] {
	display: inline-block; padding: .65rem 1.1rem; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; text-decoration: none;
}
.btn:hover, .comment-form input[type="submit"]:hover { filter: brightness(1.08); }
.search-form { display: flex; gap: .5rem; max-width: 520px; }
.search-form__field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: .65rem .9rem; border: 1px solid var(--border); border-radius: 10px;
	background: var(--surface); color: var(--text); font: inherit;
}
.search-form__field { flex: 1; }

/* ---------- Cards / grid ---------- */
.section-title { font-size: 1.25rem; margin: 1.5rem 0 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid__full { grid-column: 1 / -1; }
.card {
	display: flex; flex-direction: column; background: var(--surface); overflow: hidden;
	border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.card__title { font-size: 1.1rem; margin: 0; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__top { position: relative; z-index: 2; }
.card__excerpt { margin: 0; color: var(--muted); font-size: .95rem; }
.meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: auto 0 0; font-size: .85rem; color: var(--muted); }
.entry .meta { margin-top: .5rem; }
.meta__item + .meta__item::before { content: "\00b7"; margin-right: .9rem; opacity: .6; }
@media (prefers-reduced-motion: reduce) { .card, html { transition: none; scroll-behavior: auto; } }

/* ---------- Archive / page heads ---------- */
.page-head { padding: 1rem 0 1.25rem; }
.page-head__title { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.page-head__desc { color: var(--muted); max-width: 40em; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin: 0 0 1rem; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .25rem; opacity: .55; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--text); }

/* ---------- Article ---------- */
.entry__header { margin-bottom: 1.25rem; }
.entry__cat { margin-bottom: .6rem; }
.entry__title { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; margin-bottom: .25rem; }

.prose { font-size: 1.125rem; line-height: 1.8; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 1.1rem; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; color: var(--muted); }
.prose code { font-family: var(--mono); font-size: .9em; padding: .1em .35em; background: var(--surface-2); border-radius: 6px; }
.prose pre { overflow-x: auto; padding: 1rem; background: var(--surface-2); border-radius: 10px; }
.prose pre code { padding: 0; background: none; }
.prose > p:first-of-type { font-size: 1.2rem; }
.prose > p:first-of-type strong:first-child { color: var(--accent); }
.prose em { color: inherit; }
.prose .wp-caption, .prose figure { margin: 1.5rem 0; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .97rem; line-height: 1.5; }
.table-wrap th, .table-wrap td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table-wrap thead th { background: var(--surface-2); font-weight: 700; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) { background: var(--surface); }

/* Table of contents */
.toc { margin: 1.25rem 0 1.75rem; padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; line-height: 1.5; }
.toc summary { cursor: pointer; font-weight: 800; }
.toc__list { margin: .6rem 0 0; padding-left: 1.2rem; }
.toc__list ol { margin: .3rem 0; padding-left: 1.1rem; list-style: circle; }
.toc__list li { margin: .3rem 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Related + nav */
.related { margin-top: 2.5rem; padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.related .section-title { margin-top: 0; }
.related__list { margin: 0; padding-left: 1.2rem; }
.related__list li { margin: .4rem 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 1.5rem 0 0; }
.tags a { display: inline-block; padding: .15rem .6rem; border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; color: var(--muted); text-decoration: none; }
.post-navigation { margin-top: 2rem; }
.post-navigation .nav-links { display: grid; gap: .75rem; }
@media (min-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } }
.post-navigation a { display: block; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; }
.post-navigation a:hover { border-color: var(--accent); }
.nav-sub { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.post-navigation .nav-next { text-align: right; }

/* Pagination */
.pagination { margin-top: 2rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers { padding: .45rem .85rem; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Ads (no images; reserved space prevents layout shift) ---------- */
.ad-slot { margin: 1.5rem auto; text-align: center; min-height: 100px; clear: both; overflow: hidden; }
.ad-label { display: block; margin-bottom: .25rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ad-slot--ad-content { min-height: 280px; }
.ad-slot--ad-after { min-height: 280px; }
@media (max-width: 760px) { .ad-slot--ad-header { min-height: 100px; } }

/* ---------- Comments ---------- */
.comments { margin-top: 2.5rem; }
.comment-list, .comment-list ol { list-style: none; padding-left: 0; }
.comment-list .children { padding-left: 1.25rem; border-left: 2px solid var(--border); }
.comment-body { padding: 1rem; margin-bottom: .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; font-size: .97rem; }
.comment-meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: .25rem; }

/* ---------- WordPress alignment helpers ---------- */
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }

@media print {
	.site-header, .site-footer, .ad-slot, .related, .post-navigation, .comments, .header-tools { display: none !important; }
	body { background: #fff; color: #000; }
}


/* ================= v1.1: covers, hero, pillars ================= */
.cover { position: relative; overflow: hidden; background: var(--surface-2); line-height: 0; }
.cover img, .cover__svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover--card { aspect-ratio: 16 / 9; }
.cover--feature { aspect-ratio: 16 / 9; }
.cover--hero { aspect-ratio: 1200 / 630; margin: 0 0 1.75rem; border-radius: var(--radius); }
.card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.2rem 1.2rem; flex: 1; }
.card:hover .cover img, .card:hover .cover__svg { transform: scale(1.03); }
.cover img, .cover__svg { transition: transform .35s ease; }
.card--featured { display: grid; grid-template-columns: 1fr; }
@media (min-width: 860px) {
	.card--featured { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
	.card--featured .cover--feature { aspect-ratio: auto; min-height: 100%; }
	.card--featured .card__body { justify-content: center; padding: 2rem; }
}
.card__title--lg { font-size: clamp(1.4rem, 3vw, 2rem); }
.chip--solid { background: var(--accent); color: var(--accent-ink); }

.hero { display: grid; gap: 2rem; align-items: center; padding: 2rem 0 1.25rem; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr .9fr; padding: 3rem 0 2rem; } }
.hero__title { font-size: clamp(2rem, 5.2vw, 3.4rem); max-width: 16em; margin-bottom: .75rem; font-weight: 800; }
.hero__lead { max-width: 34em; color: var(--muted); font-size: 1.125rem; margin-bottom: 1.25rem; }
.hero__art svg { display: block; width: 100%; max-width: 460px; margin-inline: auto; height: auto; }
@media (max-width: 859px) { .hero__art { display: none; } }

.pillars { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin: .5rem 0 2rem; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.pillar {
	display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; text-decoration: none; color: var(--text);
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s, transform .15s;
}
.pillar:hover { border-color: var(--accent); transform: translateY(-2px); }
.pillar__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: .5rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.pillar__name { font-weight: 800; line-height: 1.25; }
.pillar__count { font-size: .85rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .cover img, .cover__svg, .pillar, .card { transition: none; } .card:hover, .pillar:hover { transform: none; } .card:hover .cover img, .card:hover .cover__svg { transform: none; } }


/* ================= v1.1.1: header, footer, pages ================= */
:root { --header-bg: rgba(255, 255, 255, .86); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --header-bg: rgba(15, 19, 27, .86); } }
:root[data-theme="dark"] { --header-bg: rgba(15, 19, 27, .86); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .2s, background .2s; }
@supports (backdrop-filter: blur(8px)) {
	.site-header { background: var(--header-bg); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 24, 40, .08); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.site-header__inner { min-height: 68px; }
.brand__link { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; }
.brand__mark { display: inline-grid; line-height: 0; }
.brand__name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 0; }
.custom-logo-link img { display: block; max-height: 44px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: .5rem; }
.btn--sm { padding: .45rem .95rem; font-size: .9rem; border-radius: 999px; }
.nav-cta { margin-left: .25rem; }
.search-panel { border-top: 1px solid var(--border); background: var(--bg); padding: .85rem 0; }
.search-panel[hidden] { display: none; }
.search-panel .search-form { max-width: 640px; }
.read-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent), var(--art-3)); }
@media (max-width: 1023px) {
	.site-header__inner { min-height: 64px; }
	.primary-nav { top: 100%; flex-direction: column; align-items: stretch; gap: .5rem; max-height: calc(100vh - 80px); overflow-y: auto; }
	.nav-cta { margin: .25rem 0 0; text-align: center; }
	.no-js .primary-nav { flex-direction: column; }
}

/* Page band */
.page-hero { padding: 2rem 0 1.75rem; background: linear-gradient(180deg, var(--accent-soft), transparent); border-bottom: 1px solid var(--border); margin: -1.25rem 0 2rem; }
.page-hero .breadcrumbs { margin-bottom: .75rem; }
.page-hero__title { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800; margin-bottom: .5rem; }
.page-hero__lead { max-width: 40em; color: var(--muted); font-size: 1.1rem; margin: 0 0 .75rem; }
.page-hero .search-form { margin-top: 1rem; }
.topic-head { display: flex; gap: 1.1rem; align-items: flex-start; }
.pillar__icon--lg { width: 64px; height: 64px; border-radius: 18px; flex: none; margin: 0; }
.entry--page .entry__content { margin-bottom: 2rem; }
.prose--wide { max-width: none; }
.directory { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.5rem 0 2rem; }
@media (min-width: 760px) { .directory { grid-template-columns: repeat(2, 1fr); } }
.directory__group { padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.directory__title { display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; margin: 0 0 .75rem; }
.directory__title a { color: var(--text); text-decoration: none; }
.directory__title .pillar__icon { width: 40px; height: 40px; margin: 0; }
.directory__list { margin: 0; padding-left: 1.1rem; font-size: .98rem; line-height: 1.5; }
.directory__list li { margin: .35rem 0; }
.page-hero + .wrap > .entry--page { padding-top: .25rem; }

/* 404 */
.notfound { text-align: center; padding: 3rem 0 2rem; background: radial-gradient(60% 80% at 50% 0, var(--accent-soft), transparent); margin-top: -1.25rem; }
.notfound__code { font-size: clamp(5rem, 22vw, 10rem); line-height: 1; margin: 0; font-weight: 900; letter-spacing: -.04em; background: linear-gradient(135deg, var(--accent), var(--art-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound__title { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.notfound__text { color: var(--muted); }
.notfound .search-form { margin: 1.25rem auto; }

/* Footer */
.site-footer { margin-top: 2rem; background: var(--surface); border-top: 1px solid var(--border); color: var(--muted); font-size: .95rem; }
.footer-cta { background: linear-gradient(120deg, var(--art-1), var(--art-2)); color: #fff; }
.footer-cta__inner { display: grid; gap: 1rem; align-items: center; padding-block: 1.75rem; }
@media (min-width: 760px) { .footer-cta__inner { grid-template-columns: 1fr 1fr; } }
.footer-cta__title { margin: 0; font-size: 1.35rem; font-weight: 800; }
.footer-cta__text { margin: .25rem 0 0; opacity: .9; }
.footer-cta .search-form { max-width: none; }
.footer-cta .search-form__field { background: rgba(255, 255, 255, .95); color: #151a26; border-color: transparent; }
.footer-cta .btn { background: #151a26; color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; } }
.footer-brand { margin: 0 0 .5rem; font-size: 1.3rem; font-weight: 800; color: var(--text); }
.footer-col__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text); margin: 0 0 .75rem; }
.footer-col ul, .footer-col .menu { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: .45rem 0; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--accent); text-decoration: underline; }
.footer-widget__title { font-size: 1rem; }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; padding-block: 1.1rem; }
.footer-copy { margin: 0; font-size: .85rem; max-width: 60em; }
.to-top { padding: .4rem .85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }


/* ================= v1.1.2: modern home page ================= */
.home-hero { margin-top: -1.25rem; padding: 2.5rem 0 2rem; background: radial-gradient(60% 90% at 85% 0, var(--accent-soft), transparent), radial-gradient(40% 60% at 0 100%, color-mix(in srgb, var(--art-3) 12%, transparent), transparent); }
.home-hero__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .home-hero__inner { grid-template-columns: 1.15fr .85fr; padding-block: 1.5rem; } }
.home-hero__title { font-size: clamp(2.1rem, 5.6vw, 3.7rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin-bottom: .9rem; max-width: 14em; }
.quick-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; font-size: .9rem; }
.quick-links::before { content: "Popular:"; color: var(--muted); align-self: center; margin-right: .15rem; }
.quick-links a { display: inline-block; padding: .25rem .8rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; background: var(--bg); }
.quick-links a:hover { border-color: var(--accent); color: var(--accent); }
.home-hero .search-form { max-width: 560px; }
.home-hero .search-form__field { padding: .85rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow); }
.home-hero .btn { border-radius: 12px; padding-inline: 1.4rem; }

.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 1rem; padding: 0; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.25rem; background: var(--surface); }
.stats strong { font-size: 1.7rem; line-height: 1.1; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.stats span { font-size: .85rem; color: var(--muted); line-height: 1.35; }

.home-section { margin: 2.75rem 0; }
.home-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.home-section__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; font-weight: 800; }
.home-section__more { font-weight: 600; text-decoration: none; }
.pillars--lg { margin: 0; }
.pillars--lg .pillar { padding: 1.3rem 1.3rem 1.1rem; gap: .25rem; }
.pillars--lg .pillar__icon { width: 52px; height: 52px; border-radius: 14px; }
.pillar__desc { font-size: .93rem; color: var(--muted); line-height: 1.5; margin-bottom: .6rem; }
.pillars--lg .pillar__count { margin-top: auto; font-weight: 700; color: var(--accent); }
.pillars--lg .pillar { transition: border-color .15s, transform .15s, box-shadow .15s; }
.pillars--lg .pillar:hover { box-shadow: var(--shadow); }

.journey { display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: j; }
@media (min-width: 860px) { .journey { grid-template-columns: repeat(3, 1fr); } }
.journey__card {
	position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.4rem 1.2rem; overflow: hidden; text-decoration: none; color: #fff; border-radius: var(--radius);
	background: linear-gradient(135deg, var(--art-1), var(--art-2)); transition: transform .15s, box-shadow .15s;
}
.journey__card:nth-child(2) { background: linear-gradient(135deg, #0e8f7a, #2fc7a6); }
.journey__card:nth-child(3) { background: linear-gradient(135deg, #c2410c, #f59e0b); }
.journey__card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16, 24, 40, .18); }
.journey__num { position: absolute; right: .9rem; top: -.6rem; font-size: 6.5rem; font-weight: 900; line-height: 1; opacity: .16; }
.journey__label { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.journey__title { font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.journey__go { margin-top: auto; padding-top: .75rem; font-weight: 700; }

.countries { list-style: none; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); padding: 0; margin: 0; }
@media (min-width: 860px) { .countries { grid-template-columns: repeat(4, 1fr); } }
.countries a { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; text-decoration: none; color: var(--text); font-weight: 700; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.countries a:hover { border-color: var(--accent); color: var(--accent); }
.countries__code { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: .85rem; font-weight: 800; letter-spacing: .04em; flex: none; }

.trust__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 860px) { .trust__grid { grid-template-columns: repeat(3, 1fr); } }
.trust__item { padding: 1.2rem 1.3rem; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.trust__item h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.trust__item p { margin: 0; color: var(--muted); font-size: .97rem; }

.home-cta { margin-top: 1rem; padding: 3rem 0; text-align: center; color: #fff; background: linear-gradient(120deg, var(--art-1), var(--art-2)); }
.home-cta h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: .4rem; }
.home-cta p { opacity: .92; margin-bottom: 1.25rem; }
.btn--light { background: #fff; color: #151a26; }
.btn--light:hover { filter: none; background: #f0f3ff; }
.page-hero__title--plain { padding-top: .5rem; }
@media (prefers-reduced-motion: reduce) { .journey__card { transition: none; } .journey__card:hover { transform: none; } }


/* ================= v1.1.3: wider layout, article sidebar, tools ================= */
@media (min-width: 1400px) { body { font-size: 1.0625rem; } }
.home-hero__title { max-width: 15em; }

/* Article layout */
.single-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
	.single-layout { grid-template-columns: minmax(0, 800px) 340px; justify-content: center; gap: 3.5rem; }
}
.single-aside__sticky { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 1100px) { .single-aside__sticky { position: sticky; top: 92px; } }
@media (max-width: 1099px) { .single-aside { display: none; } .single-layout .toc--inline { display: block; } }
@media (min-width: 1100px) { .toc--inline { display: none; } }
.toc--side { margin: 0; max-height: calc(100vh - 220px); overflow: auto; }
.toc--side summary { pointer-events: none; list-style: none; }
.toc--side summary::-webkit-details-marker { display: none; }
.help-card { padding: 1.2rem; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--art-1), var(--art-2)); }
.help-card__title { margin: 0 0 .35rem; font-weight: 800; font-size: 1.1rem; }
.help-card p { margin-bottom: .8rem; opacity: .92; font-size: .95rem; line-height: 1.5; }
.help-card .btn { background: #fff; color: #151a26; }
.single-after { max-width: 800px; margin-inline: auto; }
.related { margin-top: 3rem; padding: 0; border: 0; background: none; }

/* Share bar */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2rem 0 1rem; padding: 1rem 0; border-block: 1px solid var(--border); }
.share__label { font-weight: 800; margin-right: .25rem; }
.share__btn { padding: .4rem .85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.share__btn:hover { border-color: var(--accent); color: var(--accent); }

/* Coloured topic chips */
.chip--c0 { --c: #2347d6; } .chip--c1 { --c: #0e8f7a; } .chip--c2 { --c: #c2410c; }
.chip--c3 { --c: #0b6bcb; } .chip--c4 { --c: #a21caf; } .chip--c5 { --c: #475569; }
.chip[class*="chip--c"] { background: color-mix(in srgb, var(--c) 12%, var(--bg)); color: var(--c); }
:root[data-theme="dark"] .chip[class*="chip--c"] { color: color-mix(in srgb, var(--c) 45%, #fff); background: color-mix(in srgb, var(--c) 28%, var(--bg)); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .chip[class*="chip--c"] { color: color-mix(in srgb, var(--c) 45%, #fff); background: color-mix(in srgb, var(--c) 28%, var(--bg)); }
}

/* Quick help */
.help-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .help-grid { grid-template-columns: repeat(4, 1fr); } }
.help-item { display: flex; align-items: center; gap: .85rem; padding: .95rem 1.1rem; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--art-3); border-radius: var(--radius); transition: transform .15s, border-color .15s; }
.help-item:hover { transform: translateY(-2px); border-color: var(--accent); border-left-color: var(--art-3); }
.help-item__dot { display: none; }
.help-item__text { display: flex; flex-direction: column; flex: 1; line-height: 1.35; }
.help-item__text span { color: var(--muted); font-size: .86rem; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero polish */
.home-hero { position: relative; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.home-hero__inner { position: relative; }
@keyframes eprobash-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__art svg { animation: eprobash-float 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero__art svg { animation: none; } }
@media print { .share, .single-aside, .help-card { display: none !important; } }


/* ================= v1.1.4: contact form ================= */
.cform { margin: 2rem 0 3rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cform__row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cform__row { grid-template-columns: 1fr 1fr; } }
.cform__field { display: block; margin-bottom: 1rem; }
.cform__field span { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .3rem; }
.cform input[type="text"], .cform input[type="email"], .cform select, .cform textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__hint { font-size: .85rem; color: var(--muted); }
.cform__note { padding: .8rem 1rem; border-radius: 10px; font-weight: 600; }
.cform__note--ok { background: color-mix(in srgb, #16a34a 16%, var(--bg)); }
.cform__note--bad { background: color-mix(in srgb, #dc2626 14%, var(--bg)); }


/* ================= v1.1.5: header, mega panel, footer, destinations ================= */
.topbar { background: linear-gradient(90deg, var(--art-1), var(--art-2)); color: #fff; font-size: .8rem; max-height: 40px; overflow: hidden; transition: max-height .25s ease; }
.site-header.is-scrolled .topbar { max-height: 0; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 34px; }
.topbar__text { margin: 0; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__links { list-style: none; display: flex; gap: 1.1rem; margin: 0; padding: 0; }
.topbar__links a { color: #fff; text-decoration: none; font-weight: 600; opacity: .92; }
.topbar__links a:hover { text-decoration: underline; opacity: 1; }
@media (max-width: 760px) { .topbar__links { display: none; } .topbar__inner { justify-content: center; } .topbar__text { font-size: .75rem; } }

.explore-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
.explore-btn:hover, .explore-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.explore-btn[aria-expanded="true"] span { transform: rotate(180deg); display: inline-block; }
.explore-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px rgba(16, 24, 40, .14); max-height: calc(100vh - 110px); overflow-y: auto; }
.explore-panel[hidden] { display: none; }
.explore-grid { display: grid; gap: 1.75rem; padding-block: 1.5rem 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .explore-grid { grid-template-columns: 1fr 1.6fr 1fr; } }
.explore-title { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.explore-list, .explore-dest { list-style: none; margin: 0; padding: 0; }
.explore-list a { display: flex; align-items: center; gap: .65rem; padding: .45rem .5rem; margin-inline: -.5rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.explore-list a:hover, .explore-dest a:hover { background: var(--accent-soft); color: var(--accent); }
.explore-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.explore-dest { display: grid; grid-template-columns: repeat(2, 1fr); gap: .15rem .75rem; }
@media (min-width: 640px) { .explore-dest { grid-template-columns: repeat(3, 1fr); } }
.explore-dest a { display: flex; align-items: center; gap: .55rem; padding: .4rem .5rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.explore-dest .code { display: inline-grid; place-items: center; min-width: 30px; height: 24px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.explore-note { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); }

/* Live search */
.live-results { list-style: none; margin: .75rem 0 0; padding: 0; max-width: 640px; }
.live-results:empty { display: none; }
.live-results a { display: block; padding: .55rem .75rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.live-results a:hover, .live-results a:focus-visible { background: var(--accent-soft); color: var(--accent); }
.search-hint { margin: .5rem 0 0; font-size: .78rem; color: var(--muted); }
.search-hint kbd { padding: 0 .35em; border: 1px solid var(--border); border-radius: 4px; font-family: var(--mono); }

/* Footer */
.site-footer { position: relative; overflow: hidden; }
.trust-row { list-style: none; display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0; padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-row li { display: flex; gap: .8rem; align-items: center; font-size: .88rem; line-height: 1.35; }
.trust-row strong { display: block; color: var(--text); }
.trust-row__ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; flex: none; }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr 1fr; } }
.footer-wordmark { margin: 0 auto; max-width: 1320px; padding: 0 1.25rem; font-size: clamp(3rem, 14vw, 11rem); font-weight: 900; letter-spacing: -.05em; line-height: .9; text-align: center; white-space: nowrap; overflow: hidden; color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0; padding: 0; font-size: .85rem; }
.footer-legal a { color: var(--muted); }
.footer-bottom { position: relative; background: var(--surface); }

/* Destinations on the home page */
.dest-grid { list-style: none; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; }
@media (min-width: 700px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .dest-grid { grid-template-columns: repeat(4, 1fr); } }
.dest { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "code name" "code num"; column-gap: .85rem; align-items: center; padding: .9rem 1rem; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s, transform .15s; }
.dest:hover { border-color: var(--accent); transform: translateY(-2px); }
.dest__rank { position: absolute; top: .4rem; right: .7rem; font-size: .72rem; font-weight: 800; color: var(--muted); }
.dest__code { grid-area: code; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .82rem; letter-spacing: .04em; }
.dest__name { grid-area: name; font-weight: 800; line-height: 1.25; }
.dest__num { grid-area: num; font-size: .95rem; font-weight: 700; color: var(--accent); }
.dest__num span { font-weight: 500; color: var(--muted); font-size: .8rem; }
.dest__badge { position: absolute; bottom: .55rem; right: .7rem; padding: .05rem .5rem; border-radius: 999px; background: #16a34a; color: #fff; font-size: .68rem; font-weight: 800; }
.dest-source { margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .topbar, .dest { transition: none; } }

/* 1.1.6 Header layout, language dropdown, Bengali blog typography */
.site-header__inner { flex-wrap: nowrap; gap: 1.25rem; }
.brand { flex: 0 0 auto; }
.brand__name { white-space: nowrap; }
.primary-nav { flex: 1 1 auto; min-width: 0; margin-left: 0; justify-content: center; gap: .35rem; }
.primary-nav .menu { flex-wrap: nowrap; gap: .1rem; }
.primary-nav a { white-space: nowrap; padding: .5rem .8rem; font-size: .93rem; }
.explore-btn { white-space: nowrap; flex: 0 0 auto; }
.header-tools { flex: 0 0 auto; align-items: center; gap: .5rem; margin-left: auto; }
.nav-cta--mobile { display: none; }
.nav-cta { margin-left: 0; white-space: nowrap; }
@media (max-width: 1023px) {
	.nav-cta--desktop { display: none; }
	.nav-cta--mobile { display: block; }
	.primary-nav { justify-content: flex-start; }
	.primary-nav .menu { flex-wrap: wrap; }
}
@media (max-width: 480px) {
	.langs__name { display: none; }
	.header-tools { gap: .35rem; }
	.site-header__inner { gap: .6rem; }
}
.langs { position: relative; }
.langs__btn { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 700; cursor: pointer; list-style: none; user-select: none; }
.langs__btn::-webkit-details-marker { display: none; }
.langs__btn:hover, .langs[open] .langs__btn { border-color: var(--accent); }
.langs__caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.langs[open] .langs__caret { transform: rotate(-135deg); }
.flag { display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); flex: 0 0 auto; }
.langs__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; margin: 0; padding: .35rem; list-style: none; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(16, 24, 40, .16); }
.langs__menu a { display: flex; align-items: center; gap: .6rem; padding: .55rem .65rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 600; }
.langs__menu a:hover { background: var(--accent-soft); color: var(--accent); }
.langs__menu a[aria-current="true"] { background: var(--surface); }
.langs__tick { margin-left: auto; color: var(--accent); font-style: normal; }
.langs--footer .langs__menu { top: auto; bottom: calc(100% + 8px); }
html[lang^="bn"] .prose, html[lang^="bn"] .entry__title { letter-spacing: normal; }
html[lang^="bn"] .prose { line-height: 1.9; }
html[lang^="bn"] .entry__title { line-height: 1.4; }

/* 1.1.9 */
.explore-search { padding-block: 1rem .25rem; }
.explore-search .search-form { max-width: 640px; }
.entry__actions { margin: .5rem 0 0; }
.share__btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.trust-box { margin: 2rem 0 1rem; padding: 1rem 1.15rem; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--surface); font-size: .93rem; }
.trust-box p { margin: 0; }
.trust-box__title { font-weight: 800; margin-bottom: .25rem !important; }
.saved-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .6rem; }
.saved-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.saved-list a { font-weight: 700; text-decoration: none; color: var(--text); }
.saved-count { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; text-align: center; }
.guide-filter { margin: 0 0 1.5rem; }
.guide-filter input { width: 100%; max-width: 520px; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; }

/* 1.1.10 Modern content pages: About, Privacy, Terms, Contact */
.pg-lead { font-size: 1.25rem; line-height: 1.6; color: var(--muted); margin: 0 0 1.5rem; }
.pg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.pg-stats li { padding: 1.1rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg, var(--accent-soft), var(--surface)); text-align: center; margin: 0; }
.pg-stats strong { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--accent); }
.pg-stats span { font-size: .85rem; color: var(--muted); }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.pg-card { padding: 1.25rem 1.25rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.pg-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.pg-card h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.pg-card p { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--muted); }
.pg-card__icon { display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; margin-bottom: .7rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; }
.pg-toc { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pg-toc strong { display: block; margin-bottom: .4rem; }
.pg-toc ol { margin: 0; padding-left: 1.2rem; columns: 2 220px; column-gap: 2rem; font-size: .98rem; }
.pg-toc a { text-decoration: none; }
.pg-note { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-soft); font-size: 1rem; line-height: 1.6; }
.pg-note--warn { border-left-color: var(--focus); }
.pg-steps { counter-reset: pgstep; list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; }
.pg-steps li { counter-increment: pgstep; position: relative; padding: .9rem 1rem .9rem 3.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin: 0; }
.pg-steps li::before { content: counter(pgstep); position: absolute; left: .9rem; top: .85rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.pg-cta { margin: 2.2rem 0 1rem; padding: 1.6rem; border-radius: calc(var(--radius) + 4px); background: linear-gradient(135deg, var(--art-1), var(--art-2)); color: #fff; }
.pg-cta h2 { margin: 0 0 .4rem !important; color: #fff; font-size: 1.4rem; }
.pg-cta p { margin: 0 0 1rem; color: rgba(255,255,255,.92); }
.pg-cta a.pg-btn { display: inline-block; padding: .7rem 1.3rem; border-radius: 999px; background: #fff; color: #1b2a6b; font-weight: 700; text-decoration: none; }
.pg-meta { font-size: .9rem; color: var(--muted); margin: 0 0 1.5rem; }
.pg-email { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding: 1.1rem 1.25rem; border: 1px dashed var(--accent); border-radius: var(--radius); background: var(--surface); margin: 1.2rem 0 2rem; }
.pg-email a { font-weight: 700; font-size: 1.1rem; word-break: break-all; }
.pg-legal h2 { padding-top: .4rem; border-top: 1px solid var(--border); margin-top: 2.2rem; }
@media (max-width: 600px) { .pg-toc ol { columns: 1; } .pg-lead { font-size: 1.1rem; } }
.pg-card p:empty, .pg-toc p:empty, .pg-cta p:empty, .pg-grid > p:empty, .pg-stats + p:empty { display: none; margin: 0; }
.pg-toc > strong { display: block; }

/* 1.1.11 Modern Explore panel */
.nav-cta--mobile { display: none !important; }
.explore-btn { position: relative; background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.explore-btn:hover, .explore-btn[aria-expanded="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.explore-panel { animation: explore-in .18s ease-out; border-top: 1px solid var(--border); box-shadow: 0 30px 60px rgba(8, 12, 28, .28); }
@keyframes explore-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.explore-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(8, 12, 28, .45); backdrop-filter: blur(2px); animation: explore-fade .18s ease-out; }
.explore-backdrop[hidden] { display: none; }
@keyframes explore-fade { from { opacity: 0; } to { opacity: 1; } }
.explore-panel { z-index: 40; }
.site-header { z-index: 50; }
.explore-search { padding-block: 1.25rem .25rem; }
.explore-search .search-form { max-width: 760px; display: flex; gap: .5rem; }
.explore-search .search-form__field { flex: 1; min-width: 0; padding: .9rem 1.2rem; font-size: 1.05rem; border: 2px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); }
.explore-search .search-form__field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-hint { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.chip { display: inline-block; padding: .15rem .7rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .8rem; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.live-results a.is-active { background: var(--accent-soft); color: var(--accent); }
@media (min-width: 900px) { .explore-grid { grid-template-columns: 1.15fr 1.3fr 1fr; gap: 2rem; } }
.topic-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.topic-card { display: flex; align-items: center; gap: .7rem; padding: .75rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; height: 100%; }
.topic-card:hover, .topic-card:focus-visible { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.topic-card strong { display: block; font-size: .92rem; line-height: 1.25; }
.topic-card small, .explore-latest small, .explore-help small { display: block; color: var(--muted); font-size: .76rem; font-weight: 500; }
.explore-more { display: inline-block; margin-top: .8rem; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--accent); }
.explore-more:hover { text-decoration: underline; }
.explore-latest { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.explore-latest a, .explore-help a { display: block; padding: .5rem .6rem; margin-inline: -.6rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.35; }
.explore-latest a:hover, .explore-help a:hover { background: var(--accent-soft); color: var(--accent); }
.explore-title--gap { margin-top: 1.25rem; }
.explore-help a { display: block; }
@media (max-width: 899px) { .explore-panel { max-height: calc(100vh - 70px); } .topic-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .topic-cards { grid-template-columns: 1fr; } .explore-search .search-form .btn { padding-inline: 1rem; } }
@media (prefers-reduced-motion: reduce) { .explore-panel, .explore-backdrop { animation: none; } }

/* 1.1.12 Explore fixes: single-column topics, flags, header stays clear of the backdrop */
.explore-backdrop { position: absolute; top: 100%; left: 0; right: 0; bottom: auto; height: 100vh; inset: auto; top: 100%; left: 0; right: 0; z-index: 30; }
.site-header__inner { position: relative; z-index: 45; }
.explore-panel { z-index: 40; }
.topic-cards { grid-template-columns: 1fr !important; gap: .45rem; }
.topic-card { padding: .6rem .8rem; }
.topic-card strong { font-size: .98rem; }
@media (min-width: 900px) { .explore-grid { grid-template-columns: 1fr 1.5fr 1fr; align-items: start; } }
.explore-dest a { gap: .65rem; }
.cflag { flex: 0 0 auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(128, 128, 128, .35); }
.explore-dest { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .explore-dest { grid-template-columns: repeat(3, 1fr); } }


/* ================= 1.1.13 Mobile menu + mobile tables ================= */
@media (max-width: 1023px) {
	.site-header__inner { position: static; flex-wrap: nowrap; }
	.nav-toggle { display: inline-grid; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 44; flex: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .5rem; margin: 0; padding: .75rem 1.25rem 1.1rem; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px rgba(16, 24, 40, .16); max-height: calc(100vh - 90px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
	.js .primary-nav.is-open, .no-js .primary-nav { display: flex; }
	.primary-nav .menu { flex-direction: column; flex-wrap: nowrap; gap: .1rem; width: 100%; }
	.primary-nav .menu a { white-space: normal; padding: .75rem .85rem; font-size: 1rem; border-radius: 12px; }
	.primary-nav .explore-btn { width: 100%; justify-content: space-between; padding: .75rem 1rem; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
}

/* Tables: never wider than the screen */
.prose, .entry__content { overflow-wrap: break-word; }
.prose img, .prose video, .prose iframe { max-width: 100%; height: auto; }
.table-wrap { max-width: 100%; }
@media (max-width: 760px) {
	.table-wrap { overflow: visible; border: 0; border-radius: 0; margin: 1.25rem 0; }
	.table-wrap table { min-width: 0; width: 100%; font-size: .92rem; table-layout: auto; }
	.table-wrap th, .table-wrap td { padding: .55rem .6rem; overflow-wrap: anywhere; word-break: normal; }
	.table-wrap--stack table, .table-wrap--stack tbody, .table-wrap--stack tr, .table-wrap--stack td { display: block; width: 100%; }
	.table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.table-wrap--stack tr { margin: 0 0 .8rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); }
	.table-wrap--stack tbody tr:nth-child(even) { background: var(--bg); }
	.table-wrap--stack td { display: grid; grid-template-columns: minmax(84px, 34%) 1fr; gap: .75rem; padding: .6rem .8rem; border-bottom: 1px solid var(--border); text-align: left; }
	.table-wrap--stack td:not([data-label]) { display: block; }
	.table-wrap--stack td:last-child { border-bottom: 0; }
	.table-wrap--stack td::before { content: attr(data-label); font-weight: 700; color: var(--muted); font-size: .85rem; }
	.table-wrap--stack td:first-child { background: var(--surface-2); font-weight: 700; }
	.table-wrap--stack td:first-child::before { color: var(--accent); }
}


/* ================= 1.1.14 WordPress core classes ================= */
.sticky { position: relative; }
.sticky .card__title::before { content: "\2605\00a0"; color: var(--accent, #2347d6); }
.gallery-caption { display: block; font-size: .875rem; color: var(--muted, #5b6478); margin-top: .25rem; }
.bypostauthor { border-inline-start: 3px solid var(--accent, #2347d6); padding-inline-start: .75rem; }
.wp-block-quote.is-style-eprobash-note { border-inline-start: 4px solid var(--accent, #2347d6); background: var(--surface, #f5f7fb); padding: 1rem 1.25rem; border-radius: 8px; }
.alignwide { max-width: min(100%, 1000px); margin-inline: auto; }
.alignfull { max-width: 100%; }
.comments-area { margin-top: 2rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .avatar { border-radius: 50%; vertical-align: middle; margin-inline-end: .5rem; }
