/*
Theme Name: MediPath Abroad
Theme URI: https://example.com/medipath-abroad
Author: MediPath Abroad
Description: A professional, fast theme for "Study MBBS Abroad" guidance websites. Includes a fixed category menu bar with dropdown and mega menus, a 5-slide homepage slider, random featured guides per category, a student query form with an admin inbox and CSV export, 13 advertisement slots with automatic in-article placement, an affiliate box shortcode, and one-click sample content (54 guides covering 30+ countries).
Version: 1.6.1
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: mbbs-abroad
Tags: blog, education, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, theme-options, widgets
*/

:root {
	--c-primary: #0e4d5c;
	--c-primary-dark: #08323c;
	--c-primary-soft: #e3eff1;
	--c-accent: #e8774a;
	--c-accent-dark: #c95a2f;
	--c-bg: #faf7f2;
	--c-surface: #ffffff;
	--c-text: #1f2a2e;
	--c-muted: #5c6b70;
	--c-border: #e4ddd2;
	--c-success: #2e7d4f;
	--c-error: #b3261e;
	--radius: 14px;
	--shadow: 0 6px 24px rgba(14, 77, 92, 0.08);
	--font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; color: var(--c-primary-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; clip: auto; width: auto; height: auto; padding: 10px 16px; background: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }

/* Top bar + header */
.topbar { background: var(--c-primary-dark); color: #cfe3e7; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-contacts { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header { background: var(--c-surface); border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.header-main .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; font-size: 20px; }
.brand-name { font-family: var(--font-serif); font-size: 21px; font-weight: 700; color: var(--c-primary-dark); line-height: 1.1; }
.brand-tag { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--c-muted); font-weight: 400; }
.custom-logo { max-height: 52px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 12px; color: var(--c-text); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 8px; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--c-primary); background: var(--c-primary-soft); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; flex-direction: column; align-items: stretch; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.header-cta { white-space: nowrap; }



/* Ad slots */
.ad-slot { margin: 28px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 6px; }
.ad-placeholder { border: 2px dashed #c9bfae; border-radius: var(--radius); padding: 22px 16px; background: repeating-linear-gradient(45deg, #fdfbf7, #fdfbf7 10px, #f6f1e8 10px, #f6f1e8 20px); color: var(--c-muted); font-size: 14px; }
.ad-placeholder strong { display: block; color: var(--c-primary-dark); font-size: 15px; }
.ad-leaderboard .ad-placeholder { min-height: 90px; }
.sidebar .ad-placeholder { min-height: 250px; display: grid; place-content: center; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--c-primary) center/cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,50,60,.95) 0%, rgba(8,50,60,.82) 48%, rgba(8,50,60,.35) 100%); }
.hero .wrap { position: relative; padding-top: 88px; padding-bottom: 96px; }
.hero-content { max-width: 640px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 14px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; color: #d9eaee; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 30px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14.5px; color: #d9eaee; }
.hero-trust li::before { content: "\2713"; color: var(--c-accent); font-weight: 700; margin-right: 8px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.section-head { max-width: 680px; margin: 0 0 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--c-muted); }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--c-text); transition: border-color .2s, box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.pain-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--c-text); }
.pain-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--c-primary-soft); color: var(--c-primary); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.pain-card blockquote { margin: 0 0 10px; font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; color: var(--c-primary-dark); }
.pain-card p { color: var(--c-muted); font-size: 15px; margin-bottom: 14px; flex: 1; }
.pain-card .more { color: var(--c-accent-dark); font-weight: 600; font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px 22px; background: var(--c-bg); border-radius: var(--radius); border: 1px solid var(--c-border); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-accent); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--c-muted); margin: 0; }

.pledge { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.pledge ul { list-style: none; padding: 0; margin: 0; }
.pledge li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--c-border); position: relative; }
.pledge li::before { content: "\2713"; position: absolute; left: 0; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 13px; display: grid; place-items: center; }
.pledge-note { background: var(--c-primary); color: #e6f1f3; border-radius: var(--radius); padding: 32px; }
.pledge-note h3 { color: #fff; }

/* Cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.content-area .post-grid { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-thumb { aspect-ratio: 16/9; background: var(--c-primary-soft); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent-dark); text-decoration: none; }
.card h3 { margin: 8px 0 10px; font-size: 1.15rem; }
.card h3 a { color: var(--c-primary-dark); text-decoration: none; }
.card h3 a:hover { color: var(--c-accent-dark); }
.card p { color: var(--c-muted); font-size: 15px; flex: 1; }
.card-meta { font-size: 13px; color: var(--c-muted); }

/* Layout */
.page-head { background: var(--c-primary); color: #fff; padding: 48px 0 44px; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #cfe3e7; margin: 0; max-width: 720px; }
.breadcrumbs { font-size: 14px; color: #a9cbd2; margin-bottom: 10px; }
.breadcrumbs a { color: #fff; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 48px 0 64px; }
.layout.full { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.sidebar .widget { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.sidebar .widget-title, .sidebar .widget h2, .sidebar .wp-block-heading { font-size: 1.05rem; margin-bottom: 12px; }
.sidebar .wp-block-search__button { background: var(--c-primary); color: #fff; border: 0; border-radius: 10px; }
.sidebar .wp-block-search__input { border-radius: 10px; border: 1px solid #cfc6b8; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 7px 0; border-bottom: 1px solid var(--c-border); font-size: 15px; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { text-decoration: none; }
.widget-cta { background: var(--c-accent) !important; border: 0 !important; color: #fff; }
.widget-cta h3 { color: #fff; }
.widget-cta .btn { background: #fff; color: var(--c-accent-dark); }

/* Single */
.entry { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.entry-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.entry-content h2 { margin-top: 1.4em; font-size: 1.5rem; }
.entry-content h3 { margin-top: 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--c-primary-soft); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--c-accent); font-family: var(--font-serif); font-size: 1.1rem; color: var(--c-primary-dark); }
.quick-answer { background: var(--c-primary-soft); border-left: 5px solid var(--c-primary); border-radius: 10px; padding: 18px 22px; margin: 0 0 24px; }
.quick-answer strong:first-child { display: block; font-family: var(--font-serif); color: var(--c-primary-dark); margin-bottom: 4px; }
.warning-box { background: #fff4ec; border-left: 5px solid var(--c-accent); border-radius: 10px; padding: 16px 20px; margin: 22px 0; font-size: 15.5px; }
.disclosure { font-size: 13.5px; color: var(--c-muted); background: var(--c-bg); border-radius: 10px; padding: 10px 14px; margin-bottom: 22px; }
.entry-meta { font-size: 14px; color: var(--c-muted); margin-bottom: 16px; display: flex; gap: 14px; flex-wrap: wrap; }
.entry-footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--c-border); font-size: 14px; }
.post-cta { margin-top: 30px; background: var(--c-primary); color: #e6f1f3; border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.post-cta h3 { color: #fff; margin: 0 0 4px; }
.post-cta p { margin: 0; }
.related { margin-top: 40px; }
.related .post-grid { grid-template-columns: repeat(3, 1fr); }

/* Affiliate box */
.aff-box { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 2px solid var(--c-accent); border-radius: var(--radius); padding: 20px 22px; margin: 26px 0; background: #fffaf6; }
.aff-box h4 { margin: 0 0 4px; font-size: 1.1rem; }
.aff-box p { margin: 0; font-size: 15px; color: var(--c-muted); }
.aff-box small { display: block; margin-top: 6px; font-size: 12px; color: var(--c-muted); }

/* Pagination */
.pagination { margin-top: 36px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--c-border); background: #fff; text-decoration: none; }
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Query form */
.query-band { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); color: #e6f1f3; }
.query-band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.query-band h2 { color: #fff; }
.query-band ul { padding-left: 1.1em; }
.mpa-form { background: var(--c-surface); color: var(--c-text); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); border: 1px solid var(--c-border); }
.mpa-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.mpa-form legend { font-family: var(--font-serif); font-weight: 700; color: var(--c-primary-dark); font-size: 1.1rem; margin-bottom: 10px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.mpa-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.mpa-form .req { color: var(--c-error); }
.mpa-form input[type=text], .mpa-form input[type=email], .mpa-form input[type=tel], .mpa-form input[type=number], .mpa-form select, .mpa-form textarea {
	width: 100%; padding: 11px 13px; border: 1px solid #cfc6b8; border-radius: 10px; font: inherit; font-size: 15.5px; background: #fff; color: var(--c-text);
}
.mpa-form input:focus, .mpa-form select:focus, .mpa-form textarea:focus { outline: 2px solid var(--c-primary); outline-offset: 1px; border-color: var(--c-primary); }
.mpa-form textarea { min-height: 120px; resize: vertical; }
.mpa-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--c-muted); }
.mpa-form .consent input { margin-top: 5px; }
.mpa-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mpa-form .btn { width: 100%; justify-content: center; font-size: 16px; padding: 14px; }
.form-note { font-size: 13px; color: var(--c-muted); margin: 12px 0 0; text-align: center; }
.form-msg { border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-weight: 500; }
.form-msg.ok { background: #e6f4ec; color: var(--c-success); border: 1px solid #b7dcc6; }
.form-msg.err { background: #fbeaea; color: var(--c-error); border: 1px solid #efc1bf; }

/* Footer */
.site-footer { background: #0a2a32; color: #a9c4ca; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 36px; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #d9eaee; text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px; font-size: 13.5px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 13px; color: #87a6ad; max-width: 860px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #25d366; color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.2); font-size: 15px; }
.wa-float:hover { color: #fff; background: #1ebe5a; }

/* Search, 404, comments */
.search-form { display: flex; gap: 8px; }
.search-form input[type=search] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #cfc6b8; border-radius: 10px; font: inherit; font-size: 15px; }
.search-form button { padding: 10px 16px; border: 0; border-radius: 10px; background: var(--c-primary); color: #fff; font-weight: 600; cursor: pointer; }
.comments-area { margin-top: 36px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.comment-form textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url] { width: 100%; padding: 10px; border: 1px solid #cfc6b8; border-radius: 10px; font: inherit; }
.comment-form .submit { background: var(--c-primary); color: #fff; border: 0; padding: 12px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--c-muted); text-align: center; }
.sticky, .bypostauthor, .gallery-caption { }

/* Responsive */
@media (max-width: 1024px) {
	.layout { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.pain-grid, .post-grid, .related .post-grid { grid-template-columns: repeat(2, 1fr); }
	.query-band .wrap, .pledge { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.pain-grid, .post-grid, .content-area .post-grid, .related .post-grid, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
	.section { padding: 52px 0; }
	.hero .wrap { padding-top: 60px; padding-bottom: 66px; }
	.topbar-note { display: none; }
}


/* ==========================================================================
   v1.1: fixed category menu bar
   ========================================================================== */
:target, #ask { scroll-margin-top: 140px; }
.main-nav { margin-left: auto; }
.catbar { background: var(--c-primary); position: relative; }
.catbar .wrap { position: relative; }
.catbar-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; }
.catbar-menu > li { position: relative; display: flex; align-items: center; }
.catbar-menu > li > a { display: block; padding: 13px 13px; color: #e6f1f3; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.catbar-menu > li.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .8; }
.catbar-menu > li:hover > a, .catbar-menu > li:focus-within > a, .catbar-menu > li[data-current] > a { background: var(--c-primary-dark); color: #fff; }
.catbar-menu > li[data-current] > a { box-shadow: inset 0 -3px 0 var(--c-accent); }
.catbar-menu > li.catbar-cta { display: none; }
.sub-toggle { display: none; }

/* Simple dropdown */
.catbar-menu .drop, .catbar-manual .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 70; min-width: 300px; max-width: 360px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--c-border); border-top: 3px solid var(--c-accent); border-radius: 0 0 12px 12px; box-shadow: 0 14px 34px rgba(8, 50, 60, .18); }
.catbar-menu > li:hover > .drop, .catbar-menu > li:focus-within > .drop, .catbar-manual li:hover > .sub-menu, .catbar-manual li:focus-within > .sub-menu { display: block; }
.catbar-menu .drop a, .catbar-manual .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--c-text); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.catbar-menu .drop a:hover, .catbar-manual .sub-menu a:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.catbar-menu .drop-all a { color: var(--c-accent-dark); font-weight: 600; border-top: 1px solid var(--c-border); border-radius: 0; margin-top: 4px; padding-top: 10px; }
.catbar-manual .sub-menu .sub-menu { top: 0; left: 100%; }

/* Mega menu (categories with sub-categories, e.g. Country Guides) */
.catbar-menu > li.has-mega { position: static; }
.catbar-menu .mega { display: none; position: absolute; top: 100%; left: 20px; right: 20px; z-index: 70; padding: 22px 24px 18px; background: #fff; border: 1px solid var(--c-border); border-top: 3px solid var(--c-accent); border-radius: 0 0 14px 14px; box-shadow: 0 18px 40px rgba(8, 50, 60, .2); max-height: calc(100vh - 160px); overflow-y: auto; }
.catbar-menu > li.has-mega:hover > .mega, .catbar-menu > li.has-mega:focus-within > .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 18px 20px; }
.mega-head { display: block; font-family: var(--font-serif); font-weight: 700; color: var(--c-primary-dark); text-decoration: none; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 2px solid var(--c-primary-soft); font-size: 15.5px; }
.mega-head:hover { color: var(--c-accent-dark); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: block; padding: 4px 0; color: var(--c-text); font-size: 14.5px; text-decoration: none; }
.mega-col li a:hover { color: var(--c-accent-dark); }
.mega-all { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--c-accent-dark); text-decoration: none; }
.catbar-mobile-links { display: none; }

.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--c-border); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 15px; cursor: pointer; color: var(--c-text); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

@media (max-width: 1100px) {
	.catbar-menu > li > a { padding: 12px 9px; font-size: 13.5px; }
}
@media (max-width: 960px) {
	.main-nav, .header-cta { display: none; }
	.nav-toggle { display: inline-flex; }
	.header-main .wrap { min-height: 62px; }
	.catbar { display: none; max-height: calc(100vh - 62px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--c-border); }
	.catbar.is-open { display: block; }
	.catbar .wrap { padding-top: 8px; padding-bottom: 16px; }
	.catbar-menu { flex-direction: column; }
	.catbar-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--c-border); }
	.catbar-menu > li > a { flex: 1; color: var(--c-text); padding: 13px 4px; font-size: 15.5px; white-space: normal; }
	.catbar-menu > li.has-sub > a::after { display: none; }
	.catbar-menu > li:hover > a, .catbar-menu > li:focus-within > a, .catbar-menu > li[data-current] > a { background: none; color: var(--c-primary); box-shadow: none; }
	.sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
	.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(45deg); transition: transform .2s; }
	.sub-toggle[aria-expanded="true"]::before { transform: rotate(225deg); }
	.catbar-menu .drop, .catbar-menu .mega, .catbar-menu > li:hover > .drop, .catbar-menu > li:focus-within > .drop, .catbar-menu > li.has-mega:hover > .mega, .catbar-menu > li.has-mega:focus-within > .mega { display: none; position: static; width: 100%; max-width: none; min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 10px; max-height: none; }
	.catbar-menu > li.is-open > .drop, .catbar-menu > li.has-mega.is-open > .mega { display: block !important; }
	.mega-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.catbar-menu > li.catbar-cta { display: block; border: 0; padding-top: 14px; }
	.catbar-menu > li.catbar-cta > a { background: var(--c-accent); color: #fff; text-align: center; border-radius: 999px; }
	.catbar-mobile-links { display: block; margin-top: 12px; }
	.catbar-mobile-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
	.catbar-mobile-links a { color: var(--c-muted); font-size: 14.5px; text-decoration: none; }
	:target, #ask { scroll-margin-top: 80px; }
}

/* ==========================================================================
   v1.1: homepage slider
   ========================================================================== */
.hero-slider { position: relative; background: var(--c-primary-dark); color: #fff; overflow: hidden; }
.hero-slider .slides { position: relative; min-height: 540px; }
.hero-slider .slide { position: absolute; inset: 0; background: var(--c-primary) center/cover no-repeat; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; display: flex; align-items: center; }
.hero-slider .slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,50,60,.94) 0%, rgba(8,50,60,.78) 46%, rgba(8,50,60,.15) 100%); }
.hero-slider .slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.hero-slider .slide .wrap { position: relative; width: 100%; padding-top: 60px; padding-bottom: 90px; }
.slide-content { max-width: 620px; transform: translateY(14px); transition: transform .9s ease; }
.slide.is-active .slide-content { transform: none; }
.slide-title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: .45em; }
.hero-slider .lead { font-size: 1.15rem; color: #d9eaee; max-width: 560px; margin-bottom: 26px; }
.slider-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 24px; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 10px; }
.slider-arrow, .slider-pause { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(8,50,60,.35); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.slider-pause { font-size: 11px; letter-spacing: -1px; margin-left: 6px; }
.slider-arrow:hover, .slider-pause:hover { background: rgba(255,255,255,.18); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 11px; height: 11px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.slider-dot.is-active { width: 30px; background: var(--c-accent); }
.slider-progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.12); }
.slider-progress span { display: block; height: 100%; width: 0; background: var(--c-accent); }
.hero-slider.is-running .slider-progress span { animation: mpa-progress var(--mpa-interval, 5000ms) linear forwards; }
@keyframes mpa-progress { from { width: 0; } to { width: 100%; } }
@media (max-width: 600px) {
	.hero-slider .slides { min-height: 500px; }
	.hero-slider .slide::before { background: linear-gradient(180deg, rgba(8,50,60,.75), rgba(8,50,60,.95)); }
	.hero-slider .slide .wrap { padding-top: 40px; padding-bottom: 96px; }
	.slider-pause { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-slider .slide, .slide-content { transition: none; }
}

.trust-strip { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.trust-strip ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 16px; font-size: 14.5px; font-weight: 600; color: var(--c-primary-dark); }
.trust-strip li::before { content: "\2713"; color: var(--c-accent); margin-right: 8px; }

/* ==========================================================================
   v1.1: featured guides by category
   ========================================================================== */
.cat-feature { margin-bottom: 52px; }
.cat-feature:last-child { margin-bottom: 0; }
.cat-feature-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--c-border); }
.cat-feature-head h3 { font-size: 1.45rem; margin: 0 0 4px; }
.cat-feature-head h3 a { color: var(--c-primary-dark); text-decoration: none; }
.cat-feature-head h3 a:hover { color: var(--c-accent-dark); }
.cat-feature-head p { margin: 0; color: var(--c-muted); font-size: 15px; max-width: 720px; }
.view-all { white-space: nowrap; font-weight: 600; color: var(--c-accent-dark); text-decoration: none; }
.post-grid.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 .card h3 { font-size: 1.05rem; }
.grid-4 .card p { font-size: 14.5px; }
[data-shuffle] > .card:nth-child(n+5) { display: none; }
@media (max-width: 1024px) { .post-grid.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.post-grid.grid-4 { grid-template-columns: 1fr; }
	[data-shuffle] > .card:nth-child(n+4) { display: none; }
	.cat-feature-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.sidebar .children { padding-left: 14px; margin-top: 4px; border-top: 1px solid var(--c-border); }
.sidebar .children li { font-size: 14.5px; }

/* v1.3: visitor counter */
.visit-counter { position: fixed; z-index: 55; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; background: rgba(255,255,255,.96); color: var(--c-text); border: 1px solid var(--c-border); border-radius: 999px; box-shadow: 0 6px 22px rgba(8,50,60,.16); font-size: 13.5px; line-height: 1.2; backdrop-filter: blur(6px); }
.visit-counter strong { color: var(--c-primary-dark); font-size: 15px; font-variant-numeric: tabular-nums; }
.visit-counter .vc-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary-soft); position: relative; flex: none; }
.visit-counter .vc-icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #2e9d5b; box-shadow: 0 0 0 0 rgba(46,157,91,.5); animation: mpa-pulse 2s infinite; }
@keyframes mpa-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,157,91,.5); } 70% { box-shadow: 0 0 0 9px rgba(46,157,91,0); } 100% { box-shadow: 0 0 0 0 rgba(46,157,91,0); } }
.visit-counter .vc-sep { width: 1px; height: 18px; background: var(--c-border); }
.visit-counter.pos-bottom-left { left: 18px; bottom: 18px; }
.visit-counter.pos-bottom-right { right: 18px; bottom: 18px; }
.visit-counter.pos-bottom-right.has-wa { bottom: 76px; }
.visit-counter.pos-top-right { right: 18px; top: 140px; }
@media (max-width: 600px) {
	.visit-counter { font-size: 12.5px; padding: 7px 12px 7px 9px; gap: 8px; }
	.visit-counter strong { font-size: 13.5px; }
	.visit-counter .vc-icon { width: 20px; height: 20px; }
	.visit-counter.pos-bottom-left { left: 10px; bottom: 10px; }
	.visit-counter.pos-top-right { top: 76px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .visit-counter .vc-icon::before { animation: none; } }

/* ==========================================================================
   v1.4: floating side query panel
   ========================================================================== */
.mpa-panel { --mpp-bg: #f1faf6; --mpp-head: #dff3ea; --mpp-accent: #1f8a6a; --mpp-accent-dark: #17694f; --mpp-border: #cfe9dd; --mpp-top: 150px; font-size: 14px; color: var(--c-text); }
.mpa-panel.theme-sky { --mpp-bg: #f2f8fd; --mpp-head: #dcecf9; --mpp-accent: #2f6fa8; --mpp-accent-dark: #245785; --mpp-border: #cfe2f3; }
.mpa-panel.theme-peach { --mpp-bg: #fff6f1; --mpp-head: #ffe6d8; --mpp-accent: #c95f33; --mpp-accent-dark: #a64c26; --mpp-border: #f6d6c4; }
.mpa-panel.theme-lavender { --mpp-bg: #f7f4fd; --mpp-head: #e9e2fa; --mpp-accent: #6b54b8; --mpp-accent-dark: #554196; --mpp-border: #ddd3f3; }
.mpa-panel.theme-cream { --mpp-bg: #fffbf2; --mpp-head: #f8efd9; --mpp-accent: #94701f; --mpp-accent-dark: #765917; --mpp-border: #eee2c4; }

.mpa-panel .mpp-body { position: fixed; z-index: 58; right: 16px; top: var(--mpp-top); width: 304px; max-height: calc(100vh - var(--mpp-top) - 16px); overflow-y: auto; overscroll-behavior: contain; background: var(--mpp-bg); border: 1px solid var(--mpp-border); border-radius: 18px; box-shadow: 0 16px 40px rgba(8, 50, 60, .14); transition: opacity .28s ease, transform .28s ease; }
.mpp-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 16px 12px; background: var(--mpp-head); border-bottom: 1px solid var(--mpp-border); }
.mpp-title { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--c-primary-dark); line-height: 1.25; }
.mpp-sub { margin: 3px 0 0; font-size: 12.5px; color: var(--c-muted); line-height: 1.35; }
.mpp-min { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--mpp-border); background: #fff; color: var(--mpp-accent-dark); font-size: 20px; line-height: 1; cursor: pointer; }
.mpp-min:hover { background: var(--mpp-accent); color: #fff; }
.mpp-form { padding: 12px 16px 16px; }
.mpp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mpp-field { margin-bottom: 9px; min-width: 0; }
.mpp-field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 3px; color: #36454a; }
.mpp-field .req { color: var(--c-error); }
.mpp-field input, .mpp-field select, .mpp-field textarea { width: 100%; min-width: 0; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--c-text); background: #fff; border: 1px solid var(--mpp-border); border-radius: 9px; }
.mpp-field input:focus, .mpp-field select:focus, .mpp-field textarea:focus { outline: 2px solid var(--mpp-accent); outline-offset: 0; border-color: var(--mpp-accent); }
.mpp-field textarea { resize: vertical; min-height: 62px; }
.mpp-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--c-muted); margin: 4px 0 12px; line-height: 1.4; }
.mpp-consent input { margin-top: 2px; }
.mpp-consent a { color: var(--mpp-accent-dark); }
.mpa-panel .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mpp-submit { width: 100%; padding: 11px; border: 0; border-radius: 999px; background: var(--mpp-accent); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s; }
.mpp-submit:hover { background: var(--mpp-accent-dark); }
.mpp-msg { margin: 12px 16px 0; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; }
.mpp-msg.ok { background: #e6f4ec; color: var(--c-success); border: 1px solid #b7dcc6; margin-bottom: 16px; }
.mpp-msg.err { background: #fbeaea; color: var(--c-error); border: 1px solid #efc1bf; }

/* Tab (minimised state, and the opener on tablets/phones) */
.mpp-tab { display: none; position: fixed; z-index: 58; right: 0; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; padding: 16px 10px; border: 1px solid var(--mpp-border); border-right: 0; border-radius: 0 14px 14px 0; background: var(--mpp-accent); color: #fff; font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .03em; cursor: pointer; box-shadow: -4px 6px 20px rgba(8, 50, 60, .18); transition: opacity .28s ease; }
.mpp-tab-dot { display: inline-block; width: 8px; height: 8px; margin-bottom: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.mpa-panel.is-min .mpp-body { display: none; }
.mpa-panel.is-min .mpp-tab { display: block; }

/* Hidden while scrolling, near the page's own form, or before the script runs */
.mpa-panel.is-scrolling .mpp-body, .mpa-panel.near-form .mpp-body { opacity: 0; transform: translateX(30px); pointer-events: none; }
.mpa-panel.is-scrolling .mpp-tab, .mpa-panel.near-form .mpp-tab { opacity: 0; pointer-events: none; }

/* Wide screens: keep page content clear of the open panel */
@media (min-width: 1200px) {
	body.mpp-wide .site-main, body.mpp-wide > .wrap { padding-right: 336px; }
	body.mpp-wide .site-footer .wrap { padding-right: 356px; }
}

/* Tablets and phones: a tab opens the form as a drawer */
@media (max-width: 1199px) {
	.mpa-panel .mpp-body { display: none; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); max-height: none; border-radius: 18px 0 0 18px; transform: none; }
	.mpa-panel .mpp-tab { display: block; }
	.mpa-panel.is-drawer .mpp-body { display: block; opacity: 1; transform: none; pointer-events: auto; z-index: 90; animation: mpp-in .25s ease; }
	.mpa-panel.is-drawer .mpp-tab { display: none; }
	.mpa-panel.is-drawer::before { content: ""; position: fixed; inset: 0; z-index: 89; background: rgba(8, 30, 36, .35); }
	.mpp-tab { padding: 14px 8px; font-size: 13px; }
}
@keyframes mpp-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mpa-panel .mpp-body, .mpp-tab { transition: none; } .mpa-panel.is-drawer .mpp-body { animation: none; } }
@media (min-width: 1200px) { body.mpp-wide .wa-float { right: 340px; } }

/* v1.5: WhatsApp confirm button in thank-you messages */
.mpa-wa-confirm { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; background: #25d366; color: #fff !important; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.mpa-wa-confirm:hover { background: #1ebe5a; }
.form-msg .mpa-wa-confirm, .mpp-msg .mpa-wa-confirm { display: flex; width: fit-content; }

/* ---------- v1.6.0: AdSense units, affiliate resources, contact, article blocks ---------- */
.ad-unit { min-height: var(--ad-min, 250px); }
.ad-unit ins.adsbygoogle { min-height: inherit; }
@media (max-width: 600px) { .ad-unit { min-height: var(--ad-min-m, 250px); } }
@media (min-width: 1025px) { .sidebar .ad-slot:last-child { position: sticky; top: 140px; } }
.ad-placeholder.is-auto { padding: 12px 14px; font-size: 13px; border-width: 1px; min-height: 0 !important; display: block !important; }

.aff-link { font-weight: 600; text-decoration-color: var(--c-accent); }
.aff-link::after { content: "\2197"; font-size: .75em; margin-left: 2px; vertical-align: super; color: var(--c-accent-dark); }
.aff-resources { margin: 34px 0 6px; padding: 22px 24px; background: var(--c-primary-soft); border-radius: var(--radius); }
.aff-resources h2 { margin: 0 0 10px !important; font-size: 1.2rem !important; }
.aff-resources ul { margin: 0; padding-left: 1.1em; }
.aff-resources li { margin-bottom: 6px; }
.aff-resources-note { margin: 10px 0 0; font-size: 12.5px; color: var(--c-muted); }

.entry-content .lead { font-size: 1.12rem; color: var(--c-primary-dark); }
.key-facts { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 6px 20px 10px; margin: 0 0 24px; background: #fff; }
.key-facts h2 { font-size: 1.1rem !important; margin: 12px 0 6px !important; }
.key-facts table { margin: 6px 0 4px; font-size: 14.5px; }
.key-facts th { width: 38%; background: transparent; }
.key-facts .checked { font-size: 12.5px; color: var(--c-muted); margin: 6px 0 4px; }
.toc { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 12px; padding: 14px 20px; margin: 0 0 24px; font-size: 15px; }
.toc strong { display: block; margin-bottom: 4px; font-family: var(--font-serif); color: var(--c-primary-dark); }
.toc ol { margin: 0; }
.next-step { background: var(--c-primary); color: #e6f1f3; border-radius: var(--radius); padding: 22px 24px; margin: 30px 0; }
.next-step h2, .next-step h3 { color: #fff !important; margin-top: 0 !important; }
.next-step a { color: #fff; }
.next-step .btn { margin-top: 6px; }
.entry-content .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.faq details { border: 1px solid var(--c-border); border-radius: 10px; padding: 12px 16px; margin: 0 0 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--c-primary-dark); }
.faq details[open] summary { margin-bottom: 8px; }
.faq details > div > p:last-child { margin-bottom: 0; }
.sources { font-size: 14px; color: var(--c-muted); }
.sources a { word-break: break-word; }

.contact-alt { margin-top: 36px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 14px; }
.contact-card { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.contact-card h3 { margin: 6px 0 6px !important; font-size: 1.05rem; }
.contact-card p { margin: 0 0 6px; }
.contact-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--c-primary-soft); color: var(--c-primary); font-size: 18px; }
.contact-small { font-size: 13px; color: var(--c-muted); }
.form-alt a { color: var(--c-primary); }
.mpp-mail { margin: 4px 0 0; font-size: 12px; color: var(--c-muted); }
.mpp-mail a { color: inherit; }
.footer-contact li { margin-bottom: 8px; }
.topbar-ask { font-weight: 600; }
.mpa-calc { border: 2px solid var(--c-primary); border-radius: var(--radius); padding: 20px 22px; margin: 26px 0; background: #fff; }
.mpa-calc h3 { margin: 0 0 4px !important; }
.mpa-calc label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: var(--c-primary-dark); }
.mpa-calc label.full { margin: 10px 0; }
.mpa-calc input, .mpa-calc select { font: inherit; font-weight: 400; padding: 9px 10px; border: 1px solid var(--c-border); border-radius: 8px; background: #fff; width: 100%; box-sizing: border-box; }
.mpa-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.mpa-calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.mpa-calc-out div { background: var(--c-primary-soft); border-radius: 10px; padding: 12px 14px; }
.mpa-calc-out span { display: block; font-size: 13px; color: var(--c-muted); }
.mpa-calc-out strong { font-size: 1.35rem; font-family: var(--font-serif); color: var(--c-primary-dark); }
.mpa-calc-note { font-size: 13px; color: var(--c-muted); margin: 6px 0; }
.contact-card a { overflow-wrap: anywhere; word-break: break-word; }
.footer-contact a { overflow-wrap: anywhere; }
.layout > * { min-width: 0; }
@media (max-width: 600px) {
	.topbar-contacts a[href^="mailto:"], .topbar-contacts a[href^="tel:"] + a[href^="tel:"] { display: none; }
	.topbar-contacts { gap: 14px; }
}
