/*
Theme Name: NamOpportunities
Theme URI: https://example.com/namopportunities
Author: Your Name
Description: A clean, mobile-first blog theme for opportunities in Namibia: simple 20-per-page lists, 14 region pages, WhatsApp Channel, Facebook feed, verified source box, moderated discussion and Article schema for latest career opportunities in Namibia: jobs, internships, graduate programmes, bursaries, tenders and career advice. Featured images, BlogPosting/Article schema, Open Graph previews for WhatsApp, closing dates and related opportunities built in.
Version: 4.3.1
Requires at least: 6.0
Tested up to: 6.6
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: namopps
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns
*/

:root {
	--ink: #0a1f44;
	--blue: #0b4ea2;
	--blue-deep: #06306a;
	--red: #c8102e;
	--red-dark: #a50d26;
	--green: #00784a;
	--sun: #ffc72c;
	--bg: #f4f6f9;
	--paper: #fff;
	--line: #dce2ec;
	--muted: #556178;
	--radius: 10px;
	--font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 2px solid transparent; border-radius: 8px; padding: .7em 1.2em; font: 600 .95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #005f3a; color: #fff; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--sm { padding: .45em .9em; font-size: .85rem; }
.btn--block { width: 100%; }

/* Notice + header */
.notice-bar { background: var(--ink); color: #d5def0; font-size: .82rem; }
.notice-bar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.notice-bar__date { white-space: nowrap; display: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__name { font: 800 1.45rem/1 var(--font-head); letter-spacing: -.02em; }
.brand--light, .brand--light:hover { color: #fff; }
.custom-logo { max-height: 46px; width: auto; }
.nav { display: none; }
.nav__list { display: flex; flex-direction: column; }
.nav__list a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current-cat > a { color: var(--red); }
.nav__list .sub-menu { padding-left: 14px; }
.nav__cta { margin-top: 14px; }
.nav-toggle { background: none; border: 2px solid var(--line); border-radius: 8px; width: 46px; height: 42px; cursor: pointer; display: grid; place-items: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.site-header.is-open .nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 6px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px -12px rgba(10, 31, 68, .25); }

/* Hero (the flag's diagonal band is the one decorative idea) */
.hero { position: relative; background: var(--blue-deep); color: #fff; overflow: hidden; padding: 44px 0 40px; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; right: -6%; top: 0; bottom: 0; width: 46%; }
.hero::before { background: #fff; clip-path: polygon(52% 0, 100% 0, 48% 100%, 0 100%); opacity: .95; }
.hero::after { background: var(--red); clip-path: polygon(60% 0, 92% 0, 40% 100%, 8% 100%); }
.hero__title { font-size: clamp(2.1rem, 6vw, 3.8rem); font-weight: 800; max-width: 17ch; margin-bottom: .35em; }
.hero__text { font-size: 1.1rem; max-width: 48ch; color: #d5e2f7; margin-bottom: 1.4em; }
.hero__meta { margin: 16px 0 0; font-size: .92rem; color: #cfdcf3; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero__meta a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.hero__meta a:hover { color: var(--sun); }

/* Search */
.opp-search { display: grid; gap: 12px; background: var(--paper); color: var(--ink); padding: 16px; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); max-width: 900px; }
.opp-search__field label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.opp-search input[type="search"], .opp-search select, .search-form input[type="search"] { width: 100%; height: 48px; border: 2px solid var(--line); border-radius: 8px; padding: 0 12px; font: inherit; color: var(--ink); background: #fff; }
.opp-search input:focus, .opp-search select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11, 78, 162, .2); }
.opp-search .btn { height: 48px; align-self: end; }
.opp-search--compact { margin-top: 18px; box-shadow: none; border: 1px solid var(--line); }
.search-form { display: flex; gap: 8px; }

/* Page headings */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0 26px; }
.page-head__title { font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 800; margin-bottom: .2em; }
.page-head__text { color: var(--muted); max-width: 64ch; margin-bottom: 0; }

/* Layout */
.layout { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 44px; }
.layout__main { min-width: 0; }
.layout--single { grid-template-columns: minmax(0, 1fr); }
.sidebar { display: grid; gap: 20px; align-content: start; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 1.6rem; margin: 0; }
.more { margin-top: 20px; }

/* Cards */
.badge { border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 600; background: var(--bg); border: 1px solid var(--line); color: #34425e; }
.badge--urgent { background: #fdecef; border-color: #f2b8c2; color: var(--red-dark); }
.badge--closed { background: #eceff4; color: var(--muted); text-decoration: line-through; }

/* Widgets */
.widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.widget__title { font-size: 1.1rem; margin-bottom: .6em; }
.widget--wa { border-color: var(--green); background: #effaf4; }
.widget--wa p { font-size: .94rem; }
.widget ul { list-style: none; }
.widget li { padding: 6px 0; }
.soon li { padding: 10px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.soon li:first-child { border-top: 0; padding-top: 0; }
.soon a { color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.3; }
.soon a:hover { color: var(--blue); }
.soon__when { font-size: .84rem; color: var(--muted); }
.soon__when--urgent { color: var(--red); }

/* Category rows + chips */
.cat-row { padding: 34px 0; border-top: 1px solid var(--line); background: var(--paper); }
.cat-row:nth-of-type(even) { background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9rem; background: var(--bg); }
.chips a:hover, .chips a[aria-current] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chips--tabs { margin-top: 16px; }
.chips--tags { margin: 22px 0; }

/* Single post */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a::after, .crumbs span::before { content: ""; }
.crumbs > * + *::before { content: "/"; margin: 0 8px; color: var(--line); }
.alert { background: #fdecef; border: 1px solid #f2b8c2; color: #7d0a1e; padding: 12px 16px; border-radius: var(--radius); }
.apply { margin-top: 30px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; }
.apply h2 { font-size: 1.3rem; }
.apply__due { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.scam { margin-top: 20px; padding: 12px 16px; border-left: 4px solid var(--sun); background: #fff8e1; font-size: .92rem; }
.author-box { display: flex; gap: 16px; margin-top: 28px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0; font-size: .94rem; }
.author-box__name { font-weight: 600; }
.related { background: var(--paper); border-top: 1px solid var(--line); padding: 36px 0 44px; }
.related h2 { font-size: 1.6rem; }

/* Misc */
.empty { background: var(--paper); border: 1px dashed #b9c6dc; border-radius: var(--radius); padding: 32px 22px; text-align: center; }
.empty h2, .empty h3 { font-size: 1.3rem; }
.pagination { margin-top: 26px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; text-decoration: none; color: var(--ink); }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 2px solid var(--line); border-radius: 8px; padding: 10px; font: inherit; }
.comment-form input[type="submit"] { background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 12px 20px; font: 600 1rem var(--font-body); cursor: pointer; }
.article__img { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #c4d0e8; padding-top: 46px; border-top: 6px solid var(--red); }
.footer-grid { display: grid; gap: 30px; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: .8em; }
.footer-about { margin-top: 14px; max-width: 42ch; font-size: .95rem; }
.footer-social { display: flex; gap: 16px; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: var(--sun); }
.footer-list li { margin-bottom: 6px; font-size: .94rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 34px; padding-top: 18px; padding-bottom: 26px; font-size: .84rem; color: #9fb0d0; }
.footer-base p { margin: 0; }

@media (min-width: 640px) {
	.notice-bar__date { display: block; }
	.opp-search { grid-template-columns: 1.6fr 1fr auto; align-items: end; padding: 14px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.nav, .site-header.is-open .nav { display: flex; align-items: center; gap: 22px; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
	.nav__list { flex-direction: row; gap: 22px; }
	.nav__list a { border: 0; padding: 8px 0; font-size: .95rem; }
	.nav__cta { margin: 0; }
	.hero { padding: 72px 0 64px; }
	.layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
	.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; }
	.layout--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
	.sidebar { position: sticky; top: 16px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .notice-bar, .site-footer, .sidebar, .share, .apply-bar, .related, .hero::before, .hero::after { display: none !important; } }

/* ============================================================
   Social layer (v3): feed, reactions, comments, regions, WhatsApp
   ============================================================ */
.btn--fb { background: #1877f2; color: #fff; }
.btn--fb:hover { background: #125fc2; color: #fff; }
.icon { flex: none; }
.nav__cta { white-space: nowrap; }
.site-header.is-open .nav__cta { width: 100%; }

/* Feed */


/* Home strip: stories + regions */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 0 14px; }
.strip__regions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }

/* Regions */
.region-card { display: grid; gap: 4px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 12px; text-decoration: none; color: var(--ink); height: 100%; }
.region-card:hover { border-left-color: var(--red); box-shadow: 0 10px 24px -16px rgba(10, 31, 68, .55); }
.region-card__name { font: 800 1.15rem var(--font-head); }
.region-card__count { font-size: .86rem; color: var(--muted); }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.other-regions { margin-top: 36px; }
.other-regions h2 { font-size: 1.2rem; }
.admin-hint { font-size: .88rem; background: #fff8e1; border-left: 4px solid var(--sun); padding: 10px 14px; margin-top: 14px; }
.entry--intro { margin-bottom: 20px; }
.crumbs { display: flex; }

/* WhatsApp everywhere */
.widget--wa .widget__title { display: flex; align-items: center; gap: 8px; color: #0b6b3a; }
.widget--wa .icon, .wa-banner > .icon { color: #25d366; }
.widget--fb .widget__title { display: flex; align-items: center; gap: 8px; }
.widget--fb .icon--facebook { color: #1877f2; }
.fb-embed { margin: 0 -6px 12px; min-height: 120px; overflow: hidden; }
.fb-embed iframe { display: block; max-width: 100%; }

/* Share buttons with visible icons */
.share { display: block; margin-top: 22px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.share__title { font-size: 1.2rem; margin-bottom: .2em; }
.share__text { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.share__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sbtn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 0; border-radius: 10px; color: #fff; font: 600 .95rem var(--font-body); text-decoration: none; cursor: pointer; }
.sbtn:hover { color: #fff; filter: brightness(.92); }
.sbtn--whatsapp { background: #25d366; }
.sbtn--facebook { background: #1877f2; }
.sbtn--x { background: #000; }
.sbtn--telegram { background: #229ed9; }
.sbtn--linkedin { background: #0a66c2; }
.sbtn--link { background: var(--ink); }

/* Post head, social style */

/* Initials avatars */
.avatar { border-radius: 50%; display: inline-block; flex: none; }
.avatar--initials { display: inline-grid; place-items: center; background: hsl(var(--h) 42% 32%); color: #fff; font-weight: 700; font-family: var(--font-head); line-height: 1; }

/* Comments, social style */
.comments { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; }
.comments__title { font-size: 1.3rem; margin-bottom: .2em; }
.comments__intro { color: var(--muted); font-size: .94rem; }
.comment-respond { background: var(--bg); border-radius: 12px; padding: 14px; margin: 14px 0 22px; }
.comment-reply-title { font: 700 1.05rem var(--font-head); margin-bottom: 8px; }
.comment-reply-title small a { font: 500 .85rem var(--font-body); margin-left: 10px; }
.comment-form textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; background: #fff; resize: vertical; min-height: 84px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; border: 2px solid var(--line); border-radius: 999px; padding: 10px 14px; font: inherit; background: #fff; }
.comment-form textarea:focus, .comment-form input:focus { border-color: var(--blue); outline: none; }
.comment-form p { margin: 0 0 10px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.comment-form .form-submit { margin: 0; }
.comment-form .btn { border-radius: 999px; padding: .75em 1.6em; }
.c-note { font-size: .82rem; color: var(--muted); }
.comment-list, .comment-list .children { list-style: none; padding: 0; margin: 0; }
.comment-list .children { margin-left: 22px; padding-left: 14px; border-left: 2px solid var(--line); }
.c-item { margin-top: 14px; }
.c-body { display: flex; gap: 10px; align-items: flex-start; }
.c-main { min-width: 0; flex: 1; }
.c-bubble { background: var(--bg); border-radius: 16px; padding: 9px 14px; display: inline-block; max-width: 100%; }
.c-name { margin: 0; font-weight: 700; font-size: .92rem; }
.c-name a { color: var(--ink); text-decoration: none; }
.c-badge { background: var(--red); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .7rem; margin-left: 6px; vertical-align: 1px; }
.c-text { font-size: .96rem; overflow-wrap: anywhere; }
.c-text p { margin: 0 0 .5em; }
.c-text p:last-child { margin: 0; }
.c-pending { font-size: .84rem; color: var(--muted); font-style: italic; margin: 2px 0; }
.c-actions { display: flex; align-items: center; gap: 14px; padding: 3px 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.c-actions a, .c-like { color: var(--muted); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.c-actions a:hover, .c-like:hover { text-decoration: underline; color: var(--ink); }
.c-like.is-liked { color: var(--blue); }
.c-time { font-weight: 400; }
.c-count { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; font-weight: 400; }
.c-count .icon { color: var(--blue); }
.comments__empty, .comments__closed { color: var(--muted); text-align: center; padding: 14px 0 0; }

/* Latest conversations */
.convo li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.convo li:first-child { border-top: 0; padding-top: 0; }
.convo p { margin: 0; font-size: .88rem; line-height: 1.35; }
.convo a { color: var(--ink); font-weight: 600; text-decoration: none; }
.convo a:hover { color: var(--blue); }
.convo__text { color: var(--muted); margin-top: 2px !important; }
.convo__av { flex: none; }

@media (min-width: 640px) {
	.share__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
	.sidebar { top: 16px; }
}
@media print { .wa-float, .comments, .reactions, .actions { display: none !important; } }

/* ---------- Verified box ---------- */
.verify { margin-top: 24px; background: #f2fbf6; border: 2px solid #1a9e5c; border-radius: 12px; padding: 16px 18px; }
.verify--no { background: #fff8e1; border-color: var(--sun); }
.verify__list { margin: 0; display: grid; gap: 10px; }
.verify__row { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.verify__row dt { flex: 0 0 170px; font-weight: 600; color: #34425e; }
.verify__row dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.verify__yes { display: inline-flex; align-items: center; gap: 6px; color: #0b6b3a; font-size: 1.05rem; }
.verify--no .verify__yes { color: #7a5a00; }
.verify__row a { font-weight: 600; }
.verify__host { display: block; font-size: .82rem; color: var(--muted); }
.verify__none { color: var(--muted); }
.verify__note { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }
.vtick { display: inline-flex; align-items: center; gap: 3px; color: #0b6b3a; font-weight: 600; }
.vtick .icon { color: #1a9e5c; }

/* ---------- Discussion forum ---------- */
.forum__head { margin-bottom: 4px; }
.forum__count { font: 500 .9rem var(--font-body); color: var(--muted); margin-left: 8px; }
.ctype { border: 0; padding: 0; margin: 0 0 12px; }
.ctype legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 8px; }
.ctype__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ctype__opt { cursor: pointer; }
.ctype__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ctype__opt span { display: inline-block; padding: 7px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; color: #34425e; }
.ctype__opt input:focus-visible + span { outline: 3px solid var(--sun); box-shadow: 0 0 0 5px var(--ink); }
.ctype__opt--question input:checked + span { background: #e6f0ff; border-color: var(--blue); color: var(--blue-deep); }
.ctype__opt--applied input:checked + span { background: #e8f8ef; border-color: #1a9e5c; color: #0b6b3a; }
.ctype__opt--tip input:checked + span { background: #fff4d6; border-color: #e0a800; color: #6b4e00; }
.ctype__opt--headsup input:checked + span { background: #fdecef; border-color: var(--red); color: var(--red-dark); }
.forum__filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.forum__filter button { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 600 .86rem var(--font-body); color: #34425e; cursor: pointer; }
.forum__filter button span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.forum__filter button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.forum__filter button.is-active span { color: #c4d0e8; }
.c-body[hidden] { display: none; }
.c-type { border-radius: 999px; padding: 1px 9px; font-size: .72rem; font-weight: 700; margin-left: 6px; vertical-align: 1px; }
.c-type--question { background: #e6f0ff; color: var(--blue-deep); }
.c-type--applied { background: #e8f8ef; color: #0b6b3a; }
.c-type--tip { background: #fff4d6; color: #6b4e00; }
.c-type--headsup { background: #fdecef; color: var(--red-dark); }
.convo__type { font-style: normal; font-size: .72rem; font-weight: 700; background: var(--bg); border-radius: 999px; padding: 0 7px; color: #34425e; }
.comment-form .comment-form-author, .comment-form .comment-form-email { margin-bottom: 10px; }
@media (min-width: 640px) {
	.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
	.comment-form > .ctype, .comment-form > .comment-form-comment, .comment-form > .comment-form-cookies-consent, .comment-form > .form-submit, .comment-form > .c-note { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .verify__row dt { flex-basis: 100%; } }

/* ---------- Report + pinned comment ---------- */
.report { margin-top: 14px; }
.report__box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.report__box summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--red-dark); list-style: none; }
.report__box summary::-webkit-details-marker { display: none; }
.report__box summary span { font-weight: 400; font-size: .86rem; color: var(--muted); }
.report__box[open] summary { border-bottom: 1px solid var(--line); }
.report__form { padding: 14px 16px 16px; display: grid; gap: 4px; }
.report__form label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 4px; }
.report__form select, .report__form textarea, .report__form input[type="email"] { width: 100%; border: 2px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; background: #fff; }
.report__form p { margin: 0 0 10px; }
.report__hp { position: absolute; left: -9999px; }
.report__thanks { display: flex; gap: 8px; align-items: center; background: #f2fbf6; border: 1px solid #1a9e5c; color: #0b6b3a; border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
.report__thanks--warn { background: #fff8e1; border-color: var(--sun); color: #6b4e00; }
.report__admin { font-size: .86rem; background: #fdecef; border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
.c-item--pinned > .c-body > .c-main > .c-bubble { background: #fff8e1; box-shadow: inset 0 0 0 2px var(--sun); }
.c-pinned { display: flex; align-items: center; gap: 6px; margin: 0 0 4px 50px; font-size: .8rem; font-weight: 700; color: #6b4e00; }
.c-pin { color: #6b4e00 !important; }

.comments__review { font-size: .86rem; font-weight: 600; color: #0b6b3a; background: #f2fbf6; border-radius: 8px; padding: 6px 12px; display: inline-block; }
.c-pending { background: #fff8e1; border-radius: 8px; padding: 6px 10px; font-style: normal; color: #6b4e00; }

/* ============================================================
   v4: simple list (round thumbnail left, title right)
   ============================================================ */
.rows { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; }
.row { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row:hover .row__title a { color: var(--blue); }
.row--closed { opacity: .6; }
.row__thumb { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; display: block; background: var(--line); }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row__mono { width: 100%; height: 100%; display: grid; place-items: center; background: hsl(var(--h) 45% 28%); }
.row__mono .sun { width: 24px; height: 24px; }
.row__main { min-width: 0; flex: 1; }
.row__title { font-size: 1.05rem; line-height: 1.3; margin: 0 0 4px; }
.row__title a { color: var(--ink); text-decoration: none; }
.row__title a::after { content: ""; position: absolute; inset: 0; }
.row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: .82rem; color: var(--muted); }

/* Home strip (regions) */
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chips--scroll a { white-space: nowrap; }
.strip__label { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.strip__regions { display: grid; gap: 8px; }

/* Region cards */
.region-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }

/* WhatsApp: header pill, floating button, banners (visible on phones) */
.wa-head { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; background: #25d366; color: #fff; text-decoration: none; font: 700 .84rem/1 var(--font-body); padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.wa-head:hover { background: #1ebe5b; color: #fff; }
.wa-head .icon { width: 18px; height: 18px; }
.nav__cta { display: none; }
.site-header.is-open .nav__cta { display: none; }
.wa-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0; padding: 16px 18px; background: #effaf4; border: 1px solid #b7e4c9; border-radius: 12px; }
.wa-banner > .icon { color: #25d366; flex: none; }
.wa-banner div { flex: 1; min-width: 200px; }
.wa-banner strong { display: block; }
.wa-banner span { font-size: .92rem; color: #34425e; }
.wa-banner .btn { width: 100%; }

@media (min-width: 640px) {
	.rows { padding: 0 22px; }
	.row { gap: 18px; padding: 16px 0; }
	.row__thumb { width: 64px; height: 64px; }
	.row__title { font-size: 1.15rem; }
	.region-grid { grid-template-columns: repeat(3, 1fr); }
	.wa-banner .btn { width: auto; }
	.strip__regions { display: flex; align-items: center; gap: 12px; }
}
@media (min-width: 960px) {
	.wa-head { display: none; }
	.nav__cta, .site-header.is-open .nav__cta { display: inline-flex; }
}
@media (max-width: 380px) {
	.brand__name { font-size: 1.2rem; }
	.wa-head { padding: 9px 10px; font-size: .8rem; }
}

/* ============================================================
   v4.1: post template
   ============================================================ */
.post-hero { position: relative; color: #fff; padding: 26px 0 32px; background: radial-gradient(circle at 92% 18%, rgba(255, 199, 44, .26), transparent 36%), linear-gradient(135deg, #06306a 0%, #0b4ea2 100%); border-bottom: 5px solid var(--red); }
.post-hero .crumbs { color: #bcd0f0; margin-bottom: 14px; }
.post-hero .crumbs a { color: #e6eefc; }
.post-hero .crumbs > * + *::before { color: #6f8fc4; }
.post-hero__cat { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 700; font-size: .82rem; text-decoration: none; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.post-hero__cat:hover { background: #ffd65c; color: var(--ink); }
.post-hero__title { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; line-height: 1.12; max-width: 26ch; margin-bottom: .45em; color: #fff; }
.post-hero__meta { color: #cfdcf3; font-size: .92rem; margin: 0 0 16px; }
.post-hero__meta a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }


.post .layout { padding-top: 32px; }


.entry { font-size: 1.08rem; line-height: 1.85; max-width: 70ch; overflow-wrap: anywhere; color: #1c2a45; }
.entry > p:first-of-type { font-size: 1.18rem; color: var(--ink); }
.entry p { margin: 0 0 1.15em; }
.entry a { color: var(--blue); text-decoration-thickness: 2px; }
.entry h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; padding-left: 14px; border-left: 5px solid var(--red); }
.entry h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; color: var(--blue-deep); }
.entry ul, .entry ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry ul { list-style: disc; }
.entry li { margin-bottom: .45em; padding-left: .2em; }
.entry li::marker { color: var(--red); font-weight: 700; }
.entry img { border-radius: 10px; }
.entry figure { margin: 1.6em 0; }
.entry hr { border: 0; border-top: 2px dashed var(--line); margin: 2em 0; }
.entry blockquote { margin: 1.6em 0; padding: 14px 20px; border-left: 5px solid var(--sun); background: #fffaf0; border-radius: 0 10px 10px 0; font-style: italic; }
.entry blockquote p:last-child { margin: 0; }
.entry table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: .97rem; }
.entry th { background: var(--ink); color: #fff; }
.entry td, .entry th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry tr:nth-child(even) td { background: #f7f9fc; }
.entry .wp-block-button__link { background: var(--red); color: #fff; border-radius: 8px; padding: .8em 1.4em; font-weight: 600; text-decoration: none; }
.entry--intro { margin-bottom: 20px; }

@media (min-width: 640px) {
}
@media (max-width: 639px) {
}
@media print { .post-hero { background: none; color: #000; border: 0; } .post-hero__title { color: #000; } }

/* ============================================================
   v4.2: homepage by date, title + Location/Deadline bullets
   ============================================================ */
.day { margin-bottom: 28px; }
.day__title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin: 0 0 12px; padding-left: 12px; border-left: 6px solid var(--blue); color: var(--ink); }
.day--today .day__title { border-left-color: var(--red); font-size: 1.55rem; }
.day--today .day__title .sun { background: var(--blue-deep); border-radius: 50%; padding: 3px; flex: none; }
.row { align-items: flex-start; }
.row__thumb { margin-top: 2px; }
.row__title { font-size: 1.12rem; line-height: 1.3; margin: 0 0 6px; font-family: var(--font-head); }
.row__facts { list-style: disc; margin: 0; padding-left: 1.15em; font-size: .93rem; color: #34425e; }
.row__facts li { margin: 0 0 2px; padding-left: .1em; }
.row__facts li::marker { color: var(--red); }
.row__facts strong { color: var(--ink); font-weight: 600; }
.row__facts .badge { margin-left: 6px; }
.post-hero { padding-bottom: 32px; }
@media (min-width: 640px) { .row__title { font-size: 1.22rem; } .post-hero { padding: 36px 0; } }

.strip__regions + .strip__regions { margin-top: 10px; }
