/*
Theme Name: TalentGridX
Theme URI: https://talentgridx.com
Author: TalentGridX
Description: Jobs, visa tools, business directory and events theme for TalentGridX. Pair with the TalentGridX Core plugin.
Version: 2.0.0
Requires at least: 6.0
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: talentgridx
*/

/* ---------- Tokens ---------- */
:root {
	--tgx-brand: #2f5bff;
	--tgx-accent: #12c48b;
	--tgx-warm: #ffb547;
	--tgx-navy: #0b1a45;
	--tgx-ink: #0b1633;
	--tgx-muted: #5b6785;
	--tgx-line: #e2e7f1;
	--tgx-bg: #f7f9fd;
	--tgx-soft: #eef2fb;
	--tgx-card: #ffffff;
	--tgx-radius: 16px;
	--tgx-shadow: 0 1px 2px rgba(11, 22, 51, .04), 0 12px 32px -18px rgba(11, 22, 51, .18);
	--wrap: 1200px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--tgx-ink); background: var(--tgx-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tgx-brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.ic { width: 1.05em; height: 1.05em; flex: none; display: inline-block; vertical-align: -0.15em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--tgx-brand) 55%, transparent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; background: var(--tgx-brand); color: #fff; border: 0; border-radius: 999px; padding: .85em 1.5em; font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px var(--tgx-brand); color: #fff; }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--block { display: flex; width: 100%; margin-top: 10px; }
.btn--ghost { background: transparent; color: var(--tgx-brand); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tgx-brand) 35%, transparent); }
.btn--ghost:hover { color: var(--tgx-brand); background: color-mix(in srgb, var(--tgx-brand) 7%, transparent); box-shadow: inset 0 0 0 2px var(--tgx-brand); }
.btn--light { background: #fff; color: var(--tgx-navy); }
.btn--light:hover { color: var(--tgx-navy); box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn--wa { background: #1faa53; }
.btn--wa:hover { box-shadow: 0 10px 24px -10px #1faa53; }

/* ---------- Announcement (WhatsApp) bar ---------- */
.announce { background: var(--tgx-navy); color: #fff; font-size: .9rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 8px 14px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; text-align: center; }
.announce__text { margin: 0; font-weight: 600; }
.announce__btn { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: none; background: #128c4a; border-radius: 999px; padding: 6px 12px; min-height: 32px; font-size: .85rem; }
.announce__btn .ic { width: 16px; height: 16px; }
.announce__btn:hover { background: #0e7a40; color: #fff; }
.announce:not(.announce--wa) .announce__btn { background: transparent; padding: 0; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--tgx-line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(11, 22, 51, .35); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tgx-ink); flex: none; min-height: 44px; }
.brand__mark { width: 30px; height: 30px; }
.brand__mark rect { fill: var(--tgx-navy); }
.brand__mark rect.a { fill: var(--tgx-accent); }
.brand__name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.brand__name b { color: var(--tgx-brand); font-weight: 800; }
.custom-logo { max-height: 44px; width: auto; }

.nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav__list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--tgx-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__list a:hover, .nav__list .is-active > a, .nav__list .current-menu-item > a { background: var(--tgx-soft); color: var(--tgx-brand); }
.nav__list .sub-menu { display: none; }
.nav__mobile-extra { display: none; }

.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--tgx-ink); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; text-decoration: none; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--tgx-soft); color: var(--tgx-brand); }
.icon-btn .ic { width: 22px; height: 22px; }
.nav-toggle { display: none; background: var(--tgx-soft); }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

.search-panel { border-top: 1px solid var(--tgx-line); background: #fff; padding: 14px 0; box-shadow: 0 18px 30px -24px rgba(11,22,51,.35); }
.search-panel__form { display: flex; gap: 8px; flex-wrap: wrap; }
.search-panel__field { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; background: var(--tgx-soft); border-radius: 12px; padding: 0 12px; color: var(--tgx-muted); }
.search-panel__field input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1rem; min-height: 48px; color: var(--tgx-ink); outline: none; min-width: 0; }
.search-panel__type select { min-height: 48px; border: 1.5px solid var(--tgx-line); border-radius: 12px; padding: 0 12px; font: inherit; background: #fff; color: var(--tgx-ink); }

@media (max-width: 1180px) {
	.hdr-post { display: none; }
	.nav__list a { padding: 0 10px; font-size: .92rem; }
}
@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.icon-btn__label { display: none; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 12px 16px 32px; gap: 16px; overflow-y: auto; border-top: 1px solid var(--tgx-line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
	.nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; gap: 2px; }
	.nav__list a { min-height: 52px; padding: 0 14px; font-size: 1.08rem; border-radius: 12px; }
	.nav__mobile-extra { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--tgx-line); }
	.nav__mobile-extra .btn { min-height: 50px; }
	.nav__wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; background: #128c4a; color: #fff; font-weight: 700; text-decoration: none; }
	.nav__wa .ic { width: 20px; height: 20px; }
	.nav__post, .nav__signout { text-align: center; font-weight: 600; padding: 10px; }
}
@media (max-width: 380px) {
	.brand__name { font-size: 1.12rem; }
	.brand__mark { width: 26px; height: 26px; }
	.site-header__inner { gap: 8px; }
	.icon-btn { min-width: 42px; padding: 0 8px; }
}

/* ---------- Latest immigration update bar ---------- */
.ticker { background: #eef3ff; border-bottom: 1px solid #dbe4ff; font-size: .9rem; }
.ticker__inner { display: flex; align-items: center; gap: 10px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.ticker__label { flex: none; font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--tgx-brand); border-radius: 6px; padding: 4px 8px; }
.ticker__link { flex: 1; min-width: 0; color: var(--tgx-ink); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker__link:hover { color: var(--tgx-brand); text-decoration: underline; }
.ticker__all { flex: none; font-weight: 700; font-size: .85rem; }
@media (max-width: 560px) { .ticker__label { font-size: 0; padding: 4px 6px; } .ticker__label::before { content: "Latest"; font-size: .7rem; } .ticker__all { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--tgx-navy); color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); isolation: isolate; }
.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -220px; background: radial-gradient(circle, color-mix(in srgb, var(--tgx-brand) 70%, transparent), transparent 65%); filter: blur(10px); opacity: .8; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -140px; bottom: -220px; background: radial-gradient(circle, color-mix(in srgb, var(--tgx-accent) 55%, transparent), transparent 65%); opacity: .55; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: .35em; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 56ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--tgx-brand); margin: 0 0 10px; }
.eyebrow--light { color: var(--tgx-accent); }

.hero-search { display: grid; grid-template-columns: 1.3fr 1fr auto auto; gap: 8px; background: #fff; padding: 8px; border-radius: 20px; margin: 28px 0 18px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); color: var(--tgx-ink); align-items: center; }
.hero-search__field { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; background: var(--tgx-soft); color: var(--tgx-muted); }
.hero-search__field input { border: 0; background: transparent; font: inherit; padding: 14px 0; width: 100%; color: var(--tgx-ink); outline: none; min-width: 0; }
.hero-search__check { display: flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; padding: 0 8px; white-space: nowrap; }
.hero-search__check input { accent-color: var(--tgx-accent); width: 18px; height: 18px; }
.hero-search .btn { padding: 15px 22px; border-radius: 14px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.hero__chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; transition: background .15s; }
.hero__chips a:hover { background: rgba(255,255,255,.2); }
.hero__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 22px 20px; backdrop-filter: blur(6px); }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: rgba(255,255,255,.7); font-size: .9rem; }
.stat:nth-child(1) { border-top: 3px solid var(--tgx-accent); }
.stat:nth-child(2) { border-top: 3px solid var(--tgx-warm); }
.stat:nth-child(3) { border-top: 3px solid #8ea8ff; }
.stat:nth-child(4) { border-top: 3px solid #ff8fb1; }

@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; gap: 32px; }
	.hero-search { grid-template-columns: 1fr 1fr; }
	.hero-search__check { grid-column: 1 / 2; padding: 6px 4px; }
	.hero-search .btn { grid-column: 2 / 3; }
	.hero__panel { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
	.hero-search { grid-template-columns: 1fr; }
	.hero-search__check, .hero-search .btn { grid-column: auto; }
	.hero__panel { grid-template-columns: 1fr 1fr; }
	.stat { padding: 16px; }
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--tgx-navy); color: #fff; padding: 48px 0 56px; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -120px; top: -240px; background: radial-gradient(circle, color-mix(in srgb, var(--tgx-brand) 65%, transparent), transparent 65%); }
.page-hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .25em; max-width: 24ch; }
.page-hero__text { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 62ch; margin: 0; }
.page-hero--single h1 { max-width: 30ch; }
.back-link { display: inline-block; color: rgba(255,255,255,.75); text-decoration: none; font-weight: 600; font-size: .92rem; margin-bottom: 18px; }
.back-link:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section--soft { background: #fff; border-top: 1px solid var(--tgx-line); border-bottom: 1px solid var(--tgx-line); }
.section--first { padding-top: 36px; }
.section--tight { padding: 40px 0 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head__text { color: var(--tgx-muted); margin: 8px 0 0; max-width: 60ch; }
.view-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.view-all:hover .ic { transform: translateX(3px); }
.view-all .ic { transition: transform .15s; }
.guides-row { margin-top: 56px; }

/* ---------- Grids + cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { position: relative; background: var(--tgx-card); border: 1px solid var(--tgx-line); border-radius: var(--tgx-radius); box-shadow: var(--tgx-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tgx-brand) 40%, var(--tgx-line)); box-shadow: 0 22px 44px -26px rgba(11, 22, 51, .45); }
.card.is-featured { border-color: color-mix(in srgb, var(--tgx-warm) 70%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tgx-warm) 45%, transparent), var(--tgx-shadow); }
.card__link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.card__body { padding: 18px 20px 20px; }
.card__title { font-size: 1.1rem; margin: 0 0 4px; }
.card__sub { color: var(--tgx-muted); margin: 0; font-size: .95rem; }
.card__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tgx-brand); margin: 0 0 6px; }
.card__excerpt { color: var(--tgx-muted); font-size: .93rem; margin: 6px 0 0; }
.meta { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--tgx-muted); font-size: .9rem; }
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta .meta__ok { color: #07684a; font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--tgx-soft); color: var(--tgx-ink); line-height: 1.2; }
.badge--accent { background: color-mix(in srgb, var(--tgx-accent) 16%, #fff); color: #07684a; }
.badge--warm { background: color-mix(in srgb, var(--tgx-warm) 28%, #fff); color: #7a4a00; }
.badge--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.page-hero .badges { margin-bottom: 12px; }
.page-hero .badge--accent { background: var(--tgx-accent); color: #04291d; }
.chip { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--tgx-muted); background: var(--tgx-soft); padding: 4px 10px; border-radius: 999px; }
.chip--light { position: absolute; right: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--tgx-ink); }

/* Job card */
.card--job .card__link { padding: 20px; }
.card--job__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--tgx-brand), color-mix(in srgb, var(--tgx-brand) 40%, var(--tgx-accent))); flex: none; overflow: hidden; }
.avatar--img { background: var(--tgx-soft); }
.avatar--img img { width: 100%; height: 100%; object-fit: cover; }
.card--job .badges { justify-content: flex-end; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--tgx-line); margin-top: 16px; }
.card--job .meta { margin-bottom: 0; }
.card--job .card__link > .card__foot { margin-top: auto; }
.card--job .meta + .card__foot { margin-top: 16px; }
.card__time { font-size: .8rem; color: var(--tgx-muted); }

/* Business card */
.card--biz__media { position: relative; aspect-ratio: 16 / 8; background: linear-gradient(135deg, color-mix(in srgb, var(--tgx-brand) 14%, #fff), color-mix(in srgb, var(--tgx-accent) 18%, #fff)); display: grid; place-items: center; overflow: hidden; }
.card--biz__media img { width: 100%; height: 100%; object-fit: cover; }
.card--biz__initial { font-size: 2.6rem; font-weight: 800; color: color-mix(in srgb, var(--tgx-navy) 70%, transparent); width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.75); display: grid; place-items: center; }
.card--biz__media .badge { position: absolute; left: 12px; top: 12px; }
.card__actions { display: flex; gap: 8px; padding: 0 20px 18px; flex-wrap: wrap; }
.action { display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--tgx-soft); color: var(--tgx-ink); text-decoration: none; }
.action:hover { background: color-mix(in srgb, var(--tgx-brand) 12%, #fff); color: var(--tgx-brand); }
.action--wa { background: #e5f7ec; color: #147a3d; }

/* Event card */
.card--event__media { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--tgx-brand) 60%, transparent), transparent 55%), linear-gradient(135deg, var(--tgx-navy), color-mix(in srgb, var(--tgx-navy) 70%, var(--tgx-brand))); overflow: hidden; }
.card--event__media img { width: 100%; height: 100%; object-fit: cover; }
.datebox { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 12px; padding: 6px 12px; text-align: center; font-size: .75rem; font-weight: 800; text-transform: uppercase; color: var(--tgx-brand); line-height: 1.1; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.datebox b { display: block; font-size: 1.5rem; color: var(--tgx-ink); }

/* Post card */
.card--post__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tgx-soft); display: grid; place-items: center; }
.card--post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card--post__media img { transform: scale(1.03); }
.card--post__media.is-empty { background: linear-gradient(135deg, var(--tgx-soft), color-mix(in srgb, var(--tgx-accent) 14%, #fff)); font-size: 2.4rem; }
.grid--4 .card--post__media { aspect-ratio: 16 / 10; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; border: 1px solid var(--tgx-line); border-radius: 20px; padding: 10px; box-shadow: var(--tgx-shadow); margin: -64px 0 22px; position: relative; z-index: 2; }
.filters > label { flex: 1 1 180px; display: flex; align-items: center; gap: 8px; background: var(--tgx-soft); border-radius: 12px; padding: 0 12px; color: var(--tgx-muted); }
.filters .filters__kw { flex: 2 1 260px; }
.filters input, .filters select { border: 0; background: transparent; font: inherit; padding: 13px 0; width: 100%; color: var(--tgx-ink); outline: none; min-width: 0; }
.filters .btn { border-radius: 12px; }
.filters__extra { flex-basis: 100%; display: flex; align-items: center; gap: 16px; padding: 2px 6px; flex-wrap: wrap; }
.filters__extra:empty { display: none; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.toggle input { accent-color: var(--tgx-accent); width: 18px; height: 18px; }
.filters__clear { font-size: .9rem; font-weight: 600; }
.results-count { color: var(--tgx-muted); font-size: .92rem; margin: 0 0 14px; }

/* Pagination */
.pagination { margin-top: 36px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--tgx-line); color: var(--tgx-ink); text-decoration: none; font-weight: 700; }
.page-numbers.current { background: var(--tgx-brand); border-color: var(--tgx-brand); color: #fff; }

/* ---------- Single layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.layout__main { background: #fff; border: 1px solid var(--tgx-line); border-radius: var(--tgx-radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--tgx-shadow); }
.layout__side { display: grid; gap: 16px; position: sticky; top: 96px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .layout__side { position: static; } }
.side-card { background: #fff; border: 1px solid var(--tgx-line); border-radius: var(--tgx-radius); padding: 22px; box-shadow: var(--tgx-shadow); }
.side-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.side-card p { color: var(--tgx-muted); font-size: .93rem; margin-bottom: 4px; }
.side-card--soft { background: var(--tgx-soft); box-shadow: none; border-color: transparent; }
.side-card--warn { background: #fff8ec; border-color: #f6e2bd; box-shadow: none; }
.side-card__small { font-size: .82rem !important; text-align: center; margin: 12px 0 0 !important; }
.facts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--tgx-soft); color: var(--tgx-brand); }
.facts small { display: block; font-size: .75rem; color: var(--tgx-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.facts span { font-weight: 600; word-break: break-word; }
.feature-img { margin: 0 0 24px; border-radius: 12px; overflow: hidden; }

/* ---------- Job page sections ---------- */
.job-section + .job-section { border-top: 1px solid var(--tgx-line); margin-top: 32px; padding-top: 28px; }
.job-section > h2 { font-size: 1.35rem; margin: 0 0 14px; }
.job-note { background: var(--tgx-soft); border-radius: 12px; padding: 14px 16px; color: var(--tgx-muted); font-size: .95rem; }
.register-box { border: 1px solid var(--tgx-line); border-radius: 14px; padding: 18px 20px; background: #fbfcfe; }
.register-box p { margin: 0 0 10px; color: var(--tgx-muted); }
.register-box--ok { border-color: color-mix(in srgb, var(--tgx-accent) 45%, #fff); background: color-mix(in srgb, var(--tgx-accent) 7%, #fff); }
.register-box__title { font-weight: 800; color: var(--tgx-ink) !important; display: flex; align-items: center; gap: 8px; }
.register-box--ok .register-box__title .ic { color: #07684a; }
.register-box dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px 20px; margin: 4px 0 12px; }
.register-box dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tgx-muted); font-weight: 700; }
.register-box dd { margin: 2px 0 0; font-weight: 600; }
.register-box__small { font-size: .85rem; margin: 0 !important; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--tgx-accent) 18%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307684a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.job-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 32px; padding: 24px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, var(--tgx-navy), color-mix(in srgb, var(--tgx-navy) 45%, var(--tgx-brand))); }
.job-cta h2 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.job-cta p { margin: 0; color: rgba(255,255,255,.8); }

/* ---------- Members, guides, news ---------- */
.nav__account { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--tgx-ink); text-decoration: none; padding: 8px 10px; border-radius: 999px; }
.nav__account:hover { background: var(--tgx-soft); color: var(--tgx-brand); }
.card__lock { font-size: .75rem; font-weight: 700; color: #7a4a00; background: #fff4dc; padding: 3px 8px; border-radius: 999px; margin-left: auto; margin-right: 8px; }
.card__price { font-weight: 800; color: var(--tgx-brand); margin: 6px 0 0; }
.save-row { margin-top: 12px; text-align: center; }
.news-lede { font-size: 1.12rem; }
.news-source { margin-top: 24px; font-weight: 700; }
.news-licence { color: var(--tgx-muted); border-top: 1px solid var(--tgx-line); padding-top: 12px; margin-top: 20px; }
.layout__main .tgx-gate { background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 55px); }

/* ---------- Prose ---------- */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--tgx-accent); color: var(--tgx-muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--tgx-line); padding: 10px; text-align: left; }
.prose--page > p:first-child { font-size: 1.12rem; color: var(--tgx-muted); }
.wrap--narrow .prose { background: #fff; border: 1px solid var(--tgx-line); border-radius: var(--tgx-radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--tgx-shadow); }
.wrap--narrow .prose.prose--page:has(.tgx-form), .wrap--narrow .prose.prose--page:has(.tgx-finder) { background: transparent; border: 0; box-shadow: none; padding: 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0; }
.share span { font-weight: 700; margin-right: 4px; }
.share a { font-size: .88rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tgx-line); color: var(--tgx-ink); text-decoration: none; }
.share a:hover { border-color: var(--tgx-brand); color: var(--tgx-brand); }

/* ---------- CTA bands, empty states, about ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 5vw, 48px); border-radius: 28px; color: #fff; background: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--tgx-accent) 55%, transparent), transparent 45%), linear-gradient(120deg, var(--tgx-navy), color-mix(in srgb, var(--tgx-navy) 45%, var(--tgx-brand))); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 56ch; }
.cta-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band--wa { background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 45%), linear-gradient(120deg, #0f7a3e, #1faa53); }
.empty-state { background: #fff; border: 2px dashed var(--tgx-line); border-radius: var(--tgx-radius); padding: 32px; text-align: center; color: var(--tgx-muted); }
.empty-state__links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.about-strip { max-width: 860px; text-align: center; }
.about-strip h2 { font-size: 1.4rem; }
.about-strip p { color: var(--tgx-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--tgx-navy); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand__mark rect { fill: #fff; }
.site-footer .brand__mark rect.a { fill: var(--tgx-accent); }
.site-footer .brand__name b { color: var(--tgx-accent); }
.site-footer__brand p { max-width: 36ch; }
.socials { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.socials a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .85rem; }
.socials a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 18px; }
.site-footer__note { flex-basis: 100%; font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- WordPress bits ---------- */
.alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--tgx-muted); text-align: center; }
.comment-list { list-style: none; padding: 0; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   v2.0 — news platform, WhatsApp, article layout, dashboard
   ===================================================================== */

/* Hero search: 5 controls on desktop, stacked on phones */
.hero-search { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr) auto auto; }
.hero-search__select select { border: 0; background: transparent; font: inherit; color: var(--tgx-ink); min-height: 48px; width: 100%; outline: none; }
.hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 4px; }
.hero__link { color: rgba(255,255,255,.85); font-weight: 600; }
.hero__link:hover { color: #fff; }
@media (max-width: 1100px) { .hero-search { grid-template-columns: 1fr 1fr; } .hero-search__kw { grid-column: 1 / -1; } }
@media (max-width: 640px) {
	.hero-search { grid-template-columns: 1fr; }
	.hero-search__check { padding: 6px 4px; }
	.hero__ctas .btn { width: 100%; }
}

/* Value strip */
.value { padding-top: 32px; padding-bottom: 8px; }
.value__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value__grid li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--tgx-line); border-radius: var(--tgx-radius); padding: 18px; }
.value__grid h3 { font-size: 1rem; margin: 0 0 4px; }
.value__grid p { margin: 0; color: var(--tgx-muted); font-size: .9rem; }
.value__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tgx-soft); color: var(--tgx-brand); display: grid; place-items: center; }
.value__ic .ic { width: 20px; height: 20px; }
@media (max-width: 1000px) { .value__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value__grid { grid-template-columns: 1fr; } }

/* News cards */
.ncard { background: #fff; border: 1px solid var(--tgx-line); border-radius: var(--tgx-radius); overflow: hidden; box-shadow: var(--tgx-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.ncard:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tgx-brand) 40%, var(--tgx-line)); box-shadow: 0 22px 44px -26px rgba(11, 22, 51, .45); }
.ncard__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.ncard__media { aspect-ratio: 1200 / 630; background: linear-gradient(135deg, var(--tgx-navy), color-mix(in srgb, var(--tgx-navy) 60%, var(--tgx-brand))); overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.6); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ncard__media .ic { width: 36px; height: 36px; }
.ncard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.ncard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: .8rem; color: var(--tgx-muted); }
.ncard__cat { font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--tgx-brand); font-size: .74rem; }
.ncard__title { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.ncard__excerpt { margin: 0; color: var(--tgx-muted); font-size: .92rem; }
.ncard--lead .ncard__title { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.ncard--lead .ncard__body { padding: 20px 22px 24px; }
.ncard--row { box-shadow: none; }
.ncard--row .ncard__link { flex-direction: row; align-items: stretch; }
.ncard--row .ncard__media { flex: none; width: 132px; aspect-ratio: auto; }
.ncard--row .ncard__body { padding: 12px 14px; }
.ncard--row .ncard__title { font-size: .98rem; }
.news-lead { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; }
.news-lead__side { display: grid; gap: 12px; align-content: start; }
.news-lead--hub { grid-template-columns: 1fr; }
@media (max-width: 900px) { .news-lead { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ncard--row .ncard__media { width: 104px; } }

/* WhatsApp calls to action */
.wa-cta { display: flex; align-items: center; gap: 16px; border-radius: var(--tgx-radius); background: #ecf8f1; border: 1px solid #c7ebd6; padding: 18px 20px; color: #0b3b24; }
.wa-cta__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #128c4a; color: #fff; display: grid; place-items: center; }
.wa-cta__icon .ic { width: 26px; height: 26px; }
.wa-cta__copy { flex: 1; min-width: 0; }
.wa-cta__title { font-weight: 800; margin: 0; font-size: 1.05rem; }
.wa-cta__text { margin: 2px 0 0; color: #2f5c45; font-size: .93rem; }
.wa-cta .btn { flex: none; }
.wa-cta--band { padding: 26px 28px; }
.wa-cta--band .wa-cta__title { font-size: 1.3rem; }
.wa-cta--inline { margin: 28px 0; }
.wa-cta--compact { flex-wrap: wrap; padding: 16px; }
.wa-cta--compact .btn { width: 100%; }
@media (max-width: 700px) { .wa-cta { flex-wrap: wrap; } .wa-cta .btn { width: 100%; } }
.btn--wa { background: #128c4a; color: #fff; }
.btn--wa:hover { background: #0e7a40; color: #fff; box-shadow: 0 10px 24px -10px #128c4a; }
.btn--wa .ic { width: 18px; height: 18px; }

.wa-float { display: none; }
@media (max-width: 767px) {
	.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: #128c4a; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: opacity .2s, transform .2s; }
	.wa-float .ic { width: 28px; height: 28px; }
	.wa-float.is-hidden, .nav-open .wa-float { opacity: 0; transform: scale(.8); pointer-events: none; }
	.site-footer { padding-bottom: 84px; }
}

/* Join + rates blocks */
.join-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--tgx-line); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--tgx-shadow); }
.join-band h2 { font-size: 1.4rem; margin-bottom: 10px; }
.join-band__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.join-band__list li { padding-left: 26px; position: relative; color: var(--tgx-muted); }
.join-band__list li::before { content: "✓"; position: absolute; left: 0; color: #07684a; font-weight: 800; }
.join-band__actions { display: grid; gap: 10px; justify-items: center; }
.join-band__signin { font-weight: 600; font-size: .92rem; }
.rates-block { margin-top: 44px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .85rem; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--tgx-muted); }
.crumbs li + li::before { content: "›"; opacity: .7; }
.crumbs a { color: var(--tgx-muted); text-decoration: none; }
.crumbs a:hover { color: var(--tgx-brand); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--tgx-ink); font-weight: 600; }
.crumbs--light li, .crumbs--light a { color: rgba(255,255,255,.7); }
.crumbs--light li[aria-current] { color: #fff; }
.crumbs--light a:hover { color: #fff; }

/* Topic chips */
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tgx-line); color: var(--tgx-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chip-link span { color: var(--tgx-muted); font-weight: 500; font-size: .8rem; }
.chip-link:hover, .chip-link.is-active { border-color: var(--tgx-brand); color: var(--tgx-brand); background: #f3f6ff; }
@media (max-width: 640px) { .topic-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; } .topic-chips::-webkit-scrollbar { display: none; } .chip-link { flex: none; } }
.filters--search { margin-top: 0; }

/* Immigration hub */
.hub { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.hub__h { font-size: 1.35rem; margin: 0 0 14px; }
.hub__h--sm { font-size: 1.1rem; }
.hub__side { display: grid; gap: 16px; position: sticky; top: 90px; }
.hub__grid { margin-top: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-section { margin-top: 48px; }
.hub__all { text-align: center; margin-top: 36px; }
.hub__disclaimer { display: flex; gap: 8px; align-items: flex-start; color: var(--tgx-muted); font-size: .85rem; border-top: 1px solid var(--tgx-line); padding-top: 16px; margin-top: 40px; }
.most-read { margin: 0; padding: 0; list-style: none; counter-reset: mr; display: grid; gap: 12px; }
.most-read li { counter-increment: mr; display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; }
.most-read li::before { content: counter(mr); grid-row: span 2; font-weight: 800; font-size: 1.3rem; color: var(--tgx-brand); line-height: 1.2; }
.most-read a { font-weight: 700; color: var(--tgx-ink); text-decoration: none; line-height: 1.35; }
.most-read a:hover { color: var(--tgx-brand); text-decoration: underline; }
.most-read time { font-size: .78rem; color: var(--tgx-muted); }
@media (max-width: 960px) { .hub { grid-template-columns: 1fr; } .hub__side { position: static; } }
@media (max-width: 620px) { .grid--2 { grid-template-columns: 1fr; } }

/* Article */
.wrap--article { max-width: 820px; }
.article__head { background: #fff; border-bottom: 1px solid var(--tgx-line); padding: 26px 0 24px; }
.article__cat { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--tgx-brand); text-decoration: none; margin-bottom: 8px; }
.article__title { font-size: clamp(1.7rem, 4.2vw, 2.6rem); margin: 0 0 12px; }
.article__standfirst { font-size: 1.15rem; color: var(--tgx-muted); margin: 0 0 14px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--tgx-muted); font-size: .9rem; }
.article__meta strong { color: var(--tgx-ink); }
.article__source-top { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; padding: 6px 12px; border-radius: 999px; background: #ecf8f1; color: #0b3b24; font-size: .88rem; font-weight: 600; }
.article__source-top .ic { color: #128c4a; }
.article__source-top a { color: #0b5b35; }
.article__body { padding-top: 24px; padding-bottom: 48px; }
.article__image { margin: 0 0 24px; border-radius: var(--tgx-radius); overflow: hidden; aspect-ratio: 1200 / 630; background: var(--tgx-soft); }
.article__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article__content { background: transparent; }
.wrap--article .prose { background: transparent; border: 0; box-shadow: none; padding: 0; }
.article__content .news-source { display: none; }
.article__content .news-licence { font-size: .85rem; }
.article__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--tgx-line); }
.article__actions .share { margin: 0; }
.info-box { border-radius: var(--tgx-radius); padding: 18px 20px; margin: 0 0 24px; }
.info-box__title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin: 0 0 6px; font-size: 1.05rem; }
.info-box--key { background: #fff8e6; border: 1px solid #f2dca8; }
.info-box--key p:last-child { margin: 0; }
.info-box--wtm { background: #f3f6ff; border: 1px solid #d9e2ff; margin-top: 28px; }
.info-box--wtm .info-box__title { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; color: var(--tgx-brand); }
.info-box--wtm dl { margin: 12px 0 0; display: grid; gap: 14px; }
.info-box--wtm dt { font-weight: 800; }
.info-box--wtm dd { margin: 2px 0 0; color: #33405f; }
.info-box__note { font-size: .82rem; color: var(--tgx-muted); margin: 14px 0 0; }
.source-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border: 1px solid var(--tgx-line); background: #fff; border-radius: var(--tgx-radius); padding: 16px 18px; margin-top: 28px; }
.source-box p { margin: 0; }

/* Job cards v2 */
.card__closing { margin: 10px 0 0; font-size: .82rem; font-weight: 600; color: #7a4a00; }
.card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--tgx-brand); font-size: .92rem; }
.card--job .card__foot { margin-top: 14px; }

/* Account dashboard */
.tgx-dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
.tgx-dash__nav { background: #fff; border: 1px solid var(--tgx-line); border-radius: var(--tgx-radius); padding: 16px; }
.tgx-dash__hello { margin: 0 0 10px; }
.tgx-dash__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tgx-dash__nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--tgx-ink); text-decoration: none; font-weight: 600; }
.tgx-dash__nav a:hover, .tgx-dash__nav a.is-active { background: var(--tgx-soft); color: var(--tgx-brand); }
@media (max-width: 760px) {
	.tgx-dash { grid-template-columns: 1fr; }
	.tgx-dash__nav ul { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
	.tgx-dash__nav a { white-space: nowrap; border: 1px solid var(--tgx-line); border-radius: 999px; }
}
.wrap--narrow .prose.prose--page:has(.tgx-dash) { background: transparent; border: 0; box-shadow: none; padding: 0; }
.wrap--narrow:has(.tgx-dash) { max-width: 1040px; }

/* Footer v2 */
.site-footer__grid { grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); gap: 28px; }
.site-footer__h { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul a { display: inline-block; padding: 3px 0; }
.site-footer__brand .btn--wa { margin: 6px 0 14px; }
@media (max-width: 1100px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .site-footer ul a { padding: 6px 0; } }

/* Accessibility & touch targets */
.btn { min-height: 44px; }
.btn--sm { min-height: 40px; }
.share a { min-height: 40px; display: inline-flex; align-items: center; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #2f5bff; outline-offset: 2px; }
.page-hero .crumbs { margin-bottom: 4px; }
html, body { max-width: 100%; }
img { height: auto; }

.comment-form textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url] { width: 100%; max-width: 100%; box-sizing: border-box; border: 1.5px solid var(--tgx-line); border-radius: 10px; padding: 10px 12px; font: inherit; }
.tgx-rates__row { min-width: 0; }
.tgx-rates__name { min-width: 0; }
.layout > *, .hub > *, .grid > * { min-width: 0; }
@media (max-width: 480px) { .wrap { padding-left: 16px; padding-right: 16px; } .layout__main { padding: 20px 16px; } }
@media (min-width: 1101px) {
	.hero__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 56px; row-gap: 0; align-items: start; }
	.hero__copy { display: contents; }
	.hero__copy > * { grid-column: 1; }
	.hero__panel { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
	.hero .hero-search, .hero .hero__ctas { grid-column: 1 / -1; }
	.hero h1 { max-width: 20ch; }
}
.ncard--row .ncard__media { width: 150px; aspect-ratio: 1200 / 630; align-self: flex-start; margin: 12px 0 12px 12px; border-radius: 10px; }
@media (max-width: 420px) { .ncard--row .ncard__media { width: 110px; } }
@media (max-width: 560px) {
	.announce__inner { flex-wrap: nowrap; justify-content: space-between; gap: 10px; }
	.announce__text { font-size: .8rem; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
	.announce__btn { flex: none; font-size: 0; gap: 0; padding: 7px 10px; }
	.announce__btn .ic { width: 18px; height: 18px; }
	.announce__btn::after { content: "Join"; font-size: .82rem; margin-left: 6px; }
}

.tgx-dash > * { min-width: 0; }
.tgx-list li > a { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
