/* वादकारी महासंघ उत्तर प्रदेश — custom styles */
:root {
	--vm-navy: #0b2a6f;
	--vm-navy-d: #071b4a;
	--vm-saffron: #f28a1e;
	--vm-green: #138808;
	--vm-cream: #fff8ec;
	--vm-paper: #ffffff;
	--vm-ink: #1b2233;
	--vm-muted: #5b647a;
	--vm-line: #e6dcc7;
	--vm-radius: 14px;
	--vm-shadow: 0 10px 30px rgba(11, 42, 111, 0.12);
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif !important;
	font-size: 18px;
	line-height: 1.75;
	color: var(--vm-ink);
	background: var(--vm-cream);
}

h1, h2, h3, h4,
.wp-block-heading,
.wp-block-post-title,
.wp-block-site-title {
	font-family: 'Yatra One', 'Mukta', serif !important;
	font-weight: 400 !important;
	letter-spacing: 0;
	line-height: 1.35;
	color: var(--vm-navy);
}

a { color: var(--vm-navy); text-underline-offset: 3px; }
a:hover { color: var(--vm-saffron); }

.vm-wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* ---------- Top bar ---------- */
.vm-topbar {
	background: var(--vm-navy-d);
	color: #fff;
	font-size: 15px;
}
.vm-topbar a { color: #fff; text-decoration: none; }
.vm-topbar a:hover { color: var(--vm-saffron); }
.vm-topbar .wp-block-group { gap: 18px; }

/* ---------- Header ---------- */
.vm-header {
	background: var(--vm-paper);
	border-bottom: 4px solid transparent;
	border-image: linear-gradient(90deg, var(--vm-saffron) 33%, #fff 33% 66%, var(--vm-green) 66%) 1;
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 14px rgba(11, 42, 111, 0.08);
}
.vm-header .wp-block-site-logo img { width: 72px; height: 72px; object-fit: contain; }
.vm-logo-slot {
	width: 72px; height: 72px; border-radius: 50%;
	border: 2px dashed var(--vm-line);
	display: grid; place-items: center;
	font-size: 11px; color: var(--vm-muted); text-align: center; line-height: 1.2;
}
.vm-brand-title { margin: 0; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.15; }
.vm-brand-title a { color: var(--vm-navy); text-decoration: none; }
.vm-brand-tag { margin: 0; font-size: 13px; color: var(--vm-saffron); font-weight: 700; font-family: 'Mukta', sans-serif; }

.vm-header .wp-block-navigation { font-weight: 600; font-size: 16px; }
.vm-header .wp-block-navigation a { text-decoration: none; padding: 6px 4px; border-bottom: 2px solid transparent; }
.vm-header .wp-block-navigation a:hover,
.vm-header .wp-block-navigation .current-menu-item > a { color: var(--vm-saffron); border-color: var(--vm-saffron); }

/* ---------- Buttons ---------- */
.vm-btn,
.wp-block-button.vm-btn .wp-block-button__link {
	display: inline-block;
	background: var(--vm-saffron);
	color: #fff !important;
	border: 0;
	border-radius: 999px;
	padding: 12px 26px;
	font-family: 'Mukta', sans-serif;
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(242, 138, 30, 0.35);
	transition: transform .15s ease, background .15s ease;
}
.vm-btn:hover { background: #d9740d; transform: translateY(-2px); color: #fff !important; }
.vm-btn--small { padding: 7px 18px; font-size: 15px; box-shadow: none; }
.wp-block-button.vm-btn--navy .wp-block-button__link { background: var(--vm-navy); box-shadow: none; }
.wp-block-button.vm-btn--ghost .wp-block-button__link { background: transparent; border: 2px solid #fff; box-shadow: none; }

/* ---------- सभी बटन एक जैसे (Button ब्लॉक, File/Download ब्लॉक) ---------- */
.wp-block-button .wp-block-button__link,
.wp-block-file a.wp-block-file__button.wp-element-button {
	display: inline-block;
	background: var(--vm-saffron);
	color: #fff !important;
	border: 0;
	border-radius: 999px;
	padding: 12px 26px;
	font-family: 'Mukta', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(242, 138, 30, 0.35);
	transition: transform .15s ease, background .15s ease;
}
.wp-block-button:not([class*="vm-btn--"]) .wp-block-button__link:hover,
.wp-block-file a.wp-block-file__button.wp-element-button:hover {
	background: #d9740d;
	transform: translateY(-2px);
	color: #fff !important;
}
.wp-block-button .wp-block-button__link:focus-visible,
.wp-block-file a.wp-block-file__button:focus-visible,
.vm-btn:focus-visible { outline: 3px solid var(--vm-navy); outline-offset: 2px; }
.wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0; }
.wp-block-file > a:not(.wp-block-file__button) { font-weight: 600; color: var(--vm-navy); }

/* ---------- सिटेशन सूची तालिका (क्रम संख्या सहित) ---------- */
.vm-count { margin: 10px 0; font-weight: 700; color: var(--vm-navy); }
.vm-table-wrap { overflow-x: auto; margin: 18px 0; }
.vm-citation-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(11, 42, 111, 0.10); }
.vm-citation-table th { background: var(--vm-navy); color: #fff; text-align: left; padding: 12px 14px; font-family: 'Mukta', sans-serif; font-size: 16px; }
.vm-citation-table td { padding: 12px 14px; border-bottom: 1px solid #e6eaf3; vertical-align: top; }
.vm-citation-table tbody tr:nth-child(even) { background: #f7f9fd; }
.vm-citation-table .vm-sno { width: 90px; text-align: center; font-weight: 700; color: var(--vm-navy); }
.vm-citation-table .vm-ttl { font-weight: 600; }
.vm-citation-table .vm-pdf { white-space: nowrap; }
@media (max-width: 640px) {
	.vm-citation-table thead { position: absolute; left: -9999px; }
	.vm-citation-table, .vm-citation-table tbody, .vm-citation-table tr, .vm-citation-table td { display: block; width: 100%; }
	.vm-citation-table tr { border-bottom: 2px solid #e6eaf3; padding: 8px 0; }
	.vm-citation-table td { border: 0; padding: 6px 14px; }
	.vm-citation-table td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--vm-navy); }
	.vm-citation-table .vm-sno { width: auto; text-align: left; }
}

/* ---------- Hero ---------- */
.vm-hero {
	position: relative;
	background:
		radial-gradient(circle at 85% 20%, rgba(242, 138, 30, 0.28), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(19, 136, 8, 0.22), transparent 40%),
		linear-gradient(135deg, var(--vm-navy-d), var(--vm-navy));
	color: #fff;
	padding: clamp(48px, 8vw, 110px) 0;
	overflow: hidden;
}
.vm-hero::after {
	content: "⚖";
	position: absolute;
	right: 4%; bottom: -8%;
	font-size: clamp(180px, 30vw, 420px);
	color: rgba(255, 255, 255, 0.06);
	line-height: 1;
	pointer-events: none;
}
.vm-hero h1 {
	color: #fff;
	font-size: clamp(34px, 6vw, 68px);
	margin: 0 0 12px;
}
.vm-hero .vm-tagline {
	display: inline-block;
	font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
	font-weight: 700;
	color: var(--vm-saffron);
	font-size: clamp(20px, 3vw, 30px);
	border-left: 5px solid var(--vm-saffron);
	padding-left: 14px;
	margin-bottom: 18px;
}
.vm-hero p { color: #e8edf9; max-width: 640px; font-size: clamp(17px, 2vw, 21px); }
.vm-hero .vm-logo-hero img { width: clamp(150px, 22vw, 270px); height: auto; filter: drop-shadow(0 12px 28px rgba(0,0,0,.35)); }
.vm-eng-tag { font-family: 'Mukta', sans-serif; font-style: italic; opacity: .8; font-size: 16px; margin-top: 4px; }

/* ---------- Sections ---------- */
.vm-section { padding: clamp(40px, 6vw, 84px) 0; }
.vm-section--white { background: var(--vm-paper); }
.vm-section--navy { background: var(--vm-navy); color: #fff; }
.vm-section--navy h2, .vm-section--navy h3 { color: #fff; }
.vm-kicker {
	display: inline-block; color: var(--vm-saffron); font-weight: 700; letter-spacing: .5px;
	font-size: 15px; margin-bottom: 6px;
}
.vm-section-title { font-size: clamp(26px, 4vw, 42px); margin: 0 0 10px; }
.vm-section-title::after {
	content: ""; display: block; width: 72px; height: 4px; margin-top: 12px;
	background: linear-gradient(90deg, var(--vm-saffron) 33%, #cfd6e8 33% 66%, var(--vm-green) 66%);
	border-radius: 4px;
}
.vm-center { text-align: center; }
.vm-center .vm-section-title::after { margin-inline: auto; }

/* ---------- Stats ---------- */
.vm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.vm-stat {
	background: var(--vm-paper); border-radius: var(--vm-radius); padding: 24px 18px; text-align: center;
	border-top: 5px solid var(--vm-saffron); box-shadow: var(--vm-shadow);
}
.vm-stat strong { display: block; font-family: 'Yatra One', serif; font-size: 40px; color: var(--vm-navy); line-height: 1.1; }
.vm-stat span { color: var(--vm-muted); font-size: 16px; }

/* ---------- Card grids ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.vm-box {
	background: var(--vm-paper); border: 1px solid var(--vm-line); border-radius: var(--vm-radius);
	padding: 26px 24px; box-shadow: 0 4px 14px rgba(11, 42, 111, 0.06);
	transition: transform .2s ease, box-shadow .2s ease;
}
.vm-box:hover { transform: translateY(-4px); box-shadow: var(--vm-shadow); }
.vm-box .vm-ico {
	width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
	background: #fff1de; font-size: 26px; margin-bottom: 12px;
}
.vm-box h3 { margin: 0 0 8px; font-size: 22px; }
.vm-box p { margin: 0; color: var(--vm-muted); font-size: 17px; }
.vm-box--accent { border-left: 6px solid var(--vm-green); }

/* ---------- Steps (court ladder) ---------- */
.vm-steps { counter-reset: s; display: grid; gap: 14px; }
.vm-step { display: flex; gap: 16px; align-items: flex-start; background: var(--vm-paper); border: 1px solid var(--vm-line); border-radius: var(--vm-radius); padding: 18px 20px; }
.vm-step::before {
	counter-increment: s; content: counter(s);
	flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	background: var(--vm-navy); color: #fff; font-family: 'Yatra One', serif; font-size: 20px;
}
.vm-step h3 { margin: 0 0 4px; font-size: 20px; }
.vm-step p { margin: 0; color: var(--vm-muted); }

/* ---------- Quote ---------- */
.vm-quote {
	border-left: 6px solid var(--vm-saffron); background: #fff; padding: 22px 26px;
	border-radius: 0 var(--vm-radius) var(--vm-radius) 0; font-size: 20px; box-shadow: var(--vm-shadow);
}

/* ---------- CTA band ---------- */
.vm-cta {
	background: linear-gradient(120deg, var(--vm-saffron), #ffb347);
	color: #1b1200; border-radius: 22px; padding: clamp(26px, 4vw, 48px);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.vm-cta h2 { color: #1b1200; margin: 0; font-size: clamp(24px, 3.4vw, 36px); }
.vm-cta .wp-block-button__link { background: var(--vm-navy) !important; box-shadow: none; }

/* ---------- Page banner ---------- */
.vm-pagebanner {
	background: linear-gradient(135deg, var(--vm-navy-d), var(--vm-navy));
	color: #fff; padding: clamp(32px, 5vw, 64px) 0; position: relative;
}
.vm-pagebanner::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
	background: linear-gradient(90deg, var(--vm-saffron) 33%, #fff 33% 66%, var(--vm-green) 66%);
}
.vm-pagebanner h1 { color: #fff !important; margin: 0; font-size: clamp(28px, 4.6vw, 48px); }
.vm-pagecontent { padding: clamp(28px, 5vw, 60px) 0; }
.vm-pagecontent > * { max-width: 900px; margin-inline: auto; }
.vm-pagecontent > .alignwide, .vm-pagecontent > .alignfull { max-width: 1180px; }

/* ---------- Footer ---------- */
.vm-footer { background: var(--vm-navy-d); color: #d7def2; padding-top: 56px; }
.vm-footer h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.vm-footer a { color: #d7def2; text-decoration: none; }
.vm-footer a:hover { color: var(--vm-saffron); }
.vm-footer ul { list-style: none; margin: 0; padding: 0; }
.vm-footer li { margin-bottom: 6px; }
.vm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.vm-footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding: 18px 0; font-size: 14px; color: #aab5d6; }
@media (max-width: 800px) { .vm-footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.vm-form { background: #fff; border: 1px solid var(--vm-line); border-radius: var(--vm-radius); padding: clamp(18px, 3vw, 32px); box-shadow: var(--vm-shadow); }
.vm-form label { display: block; font-weight: 600; font-size: 16px; }
.vm-form input[type="text"], .vm-form input[type="tel"], .vm-form input[type="email"],
.vm-form input[type="search"], .vm-form select, .vm-form textarea,
.vm-filter input, .vm-filter select {
	width: 100%; padding: 11px 14px; border: 1.5px solid #cfd6e8; border-radius: 10px;
	font: inherit; background: #fbfcff; margin-top: 4px;
}
.vm-form input:focus, .vm-form select:focus, .vm-form textarea:focus,
.vm-filter input:focus, .vm-filter select:focus { outline: 3px solid rgba(242,138,30,.35); border-color: var(--vm-saffron); }
.vm-form .vm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .vm-form .vm-row { grid-template-columns: 1fr; } }
.vm-form .vm-check label { font-weight: 500; }
.vm-form .vm-check input { margin-right: 8px; }
.vm-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.vm-small { font-size: 14px; color: var(--vm-muted); }
.vm-notice { padding: 14px 18px; border-radius: 10px; background: #fff3dc; border: 1px solid #f3cf8f; margin-bottom: 18px; }
.vm-notice--ok { background: #e6f6e4; border-color: #9fd79a; }
.vm-notice--err { background: #fde8e8; border-color: #efaaaa; }

/* ---------- Digital library ---------- */
.vm-filter { display: grid; grid-template-columns: 2fr 1fr auto; gap: 10px; margin-bottom: 22px; align-items: end; }
@media (max-width: 700px) { .vm-filter { grid-template-columns: 1fr; } }
.vm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.vm-card { background: #fff; border: 1px solid var(--vm-line); border-top: 5px solid var(--vm-navy); border-radius: var(--vm-radius); padding: 20px; box-shadow: 0 4px 14px rgba(11,42,111,.06); }
.vm-card h3 { font-size: 19px; margin: 0 0 6px; }
.vm-card .vm-meta { color: var(--vm-saffron); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.vm-lock { color: var(--vm-muted); font-size: 14px; }
.vm-pagination { margin-top: 24px; text-align: center; }
.vm-pagination .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 2px; border-radius: 8px; border: 1px solid var(--vm-line); text-decoration: none; background: #fff; }
.vm-pagination .current { background: var(--vm-navy); color: #fff; border-color: var(--vm-navy); }
.vm-empty { text-align: center; color: var(--vm-muted); padding: 40px 0; }

/* ---------- Floating buttons ---------- */
.vm-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.vm-float a {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
	color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.25); font-size: 16px;
}
.vm-float .vm-wa { background: #25d366; }
.vm-float .vm-complaint { background: var(--vm-saffron); }

/* ---------- Posts ---------- */
.wp-block-post-title a { text-decoration: none; }
.wp-block-query .wp-block-post { background: #fff; border: 1px solid var(--vm-line); border-radius: var(--vm-radius); padding: 18px 20px; }

/* ---------- Misc ---------- */
.vm-disclaimer { font-size: 15px; background: #fff8e6; border-left: 5px solid var(--vm-saffron); padding: 12px 16px; border-radius: 0 10px 10px 0; color: #5a4a1f; }
.vm-placeholder { border: 2px dashed var(--vm-line); border-radius: var(--vm-radius); padding: 22px; text-align: center; color: var(--vm-muted); background: #fffdf7; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================
   Mobile-first refinements
   ===================================================== */
img, video, iframe, svg { max-width: 100%; height: auto; }
body { overflow-x: clip; -webkit-text-size-adjust: 100%; }
.vm-btn, .vm-float a, .vm-footer li a { min-height: 44px; }
.vm-footer li a { display: inline-flex; align-items: center; }
.vm-form input[type="text"], .vm-form input[type="tel"], .vm-form input[type="email"],
.vm-form select, .vm-form textarea, .vm-filter input, .vm-filter select { font-size: 16px; min-height: 46px; }

/* Tablet & desktop: brand row on top, menu as its own centered row */
@media (min-width: 601px) {
	.vm-header { position: static; }
	.vm-header .vm-wrap > .wp-block-navigation {
		flex: 1 1 100%;
		justify-content: center !important;
		border-top: 1px solid var(--vm-line);
		padding-top: 6px;
	}
}

@media (max-width: 900px) {
	.vm-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
	.vm-footer-grid { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 600px) {
	body { font-size: 17px; padding-bottom: 60px; }
	.vm-wrap { padding-inline: 16px; }

	.vm-topbar { font-size: 13px; }
	.vm-topbar .vm-wrap { justify-content: center !important; text-align: center; }
	.vm-topbar p:first-child { display: none; }

	.vm-header .wp-block-site-logo img { width: 48px; height: 48px; }
	.vm-brand-title { font-size: 19px; }
	.vm-brand-tag { display: none; }
	.vm-header .vm-wrap { flex-wrap: nowrap !important; gap: 8px; }

	.vm-hero { padding: 36px 0 44px; text-align: center; }
	.vm-hero .vm-tagline { text-align: left; font-size: 20px; }
	.vm-hero p { margin-inline: auto; }
	.vm-hero .vm-btn { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
	.vm-hero .vm-logo-hero { display: flex; justify-content: center; }
	.vm-hero .vm-logo-hero img { width: 170px !important; }
	.vm-hero::after { font-size: 220px; right: -8%; }

	.vm-section { padding: 34px 0; }
	.vm-box { padding: 20px 18px; }
	.vm-quote { font-size: 18px; padding: 16px 18px; }
	.vm-cta { flex-direction: column; align-items: flex-start; border-radius: 16px; }
	.vm-cta .vm-btn { width: 100%; text-align: center; }
	.vm-step { padding: 14px; gap: 12px; }
	.vm-step::before { flex-basis: 36px; height: 36px; font-size: 17px; }
	.vm-pagebanner { padding: 28px 0; }
	.vm-pagecontent { padding: 24px 0; }
	.vm-pagecontent > * { padding-inline: 0; }
	.vm-form { padding: 18px 14px; }
	.vm-cards { grid-template-columns: 1fr; }
	.vm-footer { padding-top: 36px; }

	/* Bottom action bar instead of floating bubbles */
	.vm-float { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
	.vm-float a { flex: 1; justify-content: center; border-radius: 0; padding: 14px 6px; font-size: 15px; box-shadow: 0 -4px 14px rgba(0,0,0,.18); }
}

/* Consistent primary-button palette; brand colors are reserved for social icons. */
.vm-btn,
.wp-block-button .wp-block-button__link,
.wp-block-file a.wp-block-file__button.wp-element-button,
.wp-block-button.vm-btn--navy .wp-block-button__link,
.wp-block-button.vm-btn--ghost .wp-block-button__link {
	background: var(--vm-saffron) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px;
	box-shadow: 0 6px 16px rgba(242, 138, 30, 0.25);
}
.vm-btn:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-block-file a.wp-block-file__button.wp-element-button:hover {
	background: #d9740d !important;
	color: #fff !important;
	transform: translateY(-2px);
}
.vm-social-title { margin: 16px 0 8px; color: #fff; }
.vm-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.vm-social {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 8px 14px; border-radius: 999px;
	color: #fff !important; font-weight: 700; text-decoration: none;
}
.vm-social--facebook { background: #1877f2; }
.vm-social--whatsapp { background: #128c7e; }
.vm-social:hover { color: #fff !important; filter: brightness(.92); transform: translateY(-1px); }

/* Digital Library: accessible teal buttons with strong white-text contrast. */
body.page-id-10 .vm-library .vm-btn,
body.page-id-10 .wp-block-button .wp-block-button__link,
body.page-id-10 .wp-block-file a.wp-block-file__button.wp-element-button {
  background: #0f766e !important;
  color: #ffffff !important;
  border-color: #0f766e !important;
}
body.page-id-10 .vm-library .vm-btn:hover,
body.page-id-10 .wp-block-button .wp-block-button__link:hover,
body.page-id-10 .wp-block-file a.wp-block-file__button.wp-element-button:hover {
  background: #115e59 !important;
  color: #ffffff !important;
}
body.page-id-10 .vm-library .vm-btn:focus-visible,
body.page-id-10 .wp-block-button .wp-block-button__link:focus-visible,
body.page-id-10 .wp-block-file a.wp-block-file__button.wp-element-button:focus-visible {
  outline: 3px solid #f59e0b !important;
  outline-offset: 3px;
}

/* Mobile-friendly homepage social links: centered, wrapped, and easy to tap. */
.vm-home-social { padding-top: 28px; padding-bottom: 28px; }
.vm-home-social-links { justify-content: center; align-items: center; margin-top: 16px; }
.vm-home-social-links .vm-social { min-height: 48px; padding: 10px 18px; }
.vm-home-social-links .vm-social svg { flex: 0 0 22px; }
@media (max-width: 600px) {
  .vm-home-social-links { gap: 12px; }
  .vm-home-social-links .vm-social { min-width: 132px; justify-content: center; }
  body.page-id-10 .wp-block-file a.wp-block-file__button.wp-element-button { min-height: 44px; padding: 10px 16px; }
}

/* Header logo: ensure the standalone image block remains visible on narrow screens. */
.vm-header .vm-header-logo {
  display: block !important;
  flex: 0 0 60px !important;
  width: 60px !important;
  max-width: 60px !important;
  margin: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.vm-header .vm-header-logo img {
  display: block !important;
  width: 60px !important;
  height: 60px !important;
  max-width: none !important;
  object-fit: contain !important;
}
@media (max-width: 600px) {
  .vm-header .vm-header-logo,
  .vm-header .vm-header-logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .vm-header .vm-header-logo { flex-basis: 48px !important; width: 48px !important; max-width: 48px !important; }
  .vm-header .vm-header-logo img { width: 48px !important; height: 48px !important; }
  .vm-header .vm-wrap > .wp-block-group:first-child { min-width: 0; gap: 8px; }
  .vm-header .vm-brand-title { overflow-wrap: anywhere; }
}

/* Accessible bilingual page reader with page translation */
.vm-audio-reader { max-width: 1120px; margin: 24px auto 16px; padding: 14px 16px; border: 1px solid #d8e3ed; border-left: 5px solid var(--vm-saffron); border-radius: 12px; background: #fff; color: #18324a; box-shadow: 0 5px 18px rgba(15,40,65,.10); }
.vm-audio-reader__title { font-weight: 700; margin-bottom: 10px; color: var(--vm-navy); }
.vm-audio-reader__hint { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: #334155; }
.vm-audio-reader__translate { margin: 8px 0 12px; min-height: 34px; }
.vm-audio-reader__translate .goog-te-gadget { font-family: inherit !important; font-size: 14px !important; color: #173b5c !important; }
.vm-audio-reader__translate .goog-te-combo { min-height: 40px; max-width: 100%; padding: 7px 10px; border: 1px solid #b9c9d8; border-radius: 7px; background: #fff; color: #173b5c; font: inherit; }
.vm-audio-reader__controls { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; }
.vm-audio-reader__field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.vm-audio-reader select, .vm-audio-reader button { min-height: 40px; border: 1px solid #b9c9d8; border-radius: 7px; padding: 8px 10px; font: inherit; background: #fff; color: #173b5c; }
.vm-audio-reader button { cursor: pointer; font-weight: 700; }
.vm-audio-reader #vm-audio-play { background: var(--vm-navy); color: #fff; border-color: var(--vm-navy); }
.vm-audio-reader button:focus-visible, .vm-audio-reader select:focus-visible { outline: 3px solid #e9a34b; outline-offset: 2px; }
.vm-audio-reader__status { font-size: 12px; line-height: 1.5; margin: 9px 0 0; color: #4b5c6b; }
@media (max-width: 600px) {
  .vm-audio-reader { margin: 18px 12px; padding: 12px; }
  .vm-audio-reader__controls { align-items: stretch; }
  .vm-audio-reader__field { flex: 1 1 42%; min-width: 120px; }
  .vm-audio-reader select, .vm-audio-reader button { width: 100%; }
  .vm-audio-reader button { flex: 1 1 28%; }
}
