/* Potenue Opportunity Layout v2 */
.pol, .pol-list {
	--pol-navy: #021964;
	--pol-navy-2: #1c4fd6;
	--pol-ink: #021964;
	--pol-ink-2: #2b3656;
	--pol-mute: #5b6b8f;
	--pol-line: #e6ebf5;
	--pol-soft: #f7f9fd;
	--pol-card: #ffffff;
	--pol-green: #0f7a4a;
	--pol-green-bg: #e8f6ee;
	--pol-amber: #9a5b00;
	--pol-amber-bg: #fff4e0;
	--pol-red: #b42318;
	--pol-red-bg: #fdecea;
	--pol-radius: 18px;
	--pol-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--pol-top: calc(var(--wp-admin--admin-bar--height, 0px) + 12px);
	color: var(--pol-ink);
	font-size: 16px;
	line-height: 1.6;
}
.pol *, .pol-list * { box-sizing: border-box; }
.pol.alignfull { max-width: none; margin-top: 0; }
.pol-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.pol a { color: var(--pol-navy-2); }
.pol-i { flex: none; vertical-align: -3px; }

/* Hide what the layout replaces (only on opportunity pages, never inside query loops). */
body.pol-opportunity main .wp-block-post-title:not(.wp-block-post-template *),
body.pol-opportunity main .wp-block-post-featured-image:not(.wp-block-post-template *),
body.pol-opportunity .sharedaddy.sd-like,
body.pol-opportunity .sd-rating { display: none !important; }
body.pol-opportunity main .entry-content > .pol:first-child,
body.pol-opportunity main .wp-block-post-content > .pol:first-child { margin-top: 0; }

/* Breadcrumb */
.pol-crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--pol-mute); padding: 20px 0 8px; }
.pol-crumbs a { color: var(--pol-mute); text-decoration: none; }
.pol-crumbs a:hover { color: var(--pol-navy); }

/* Hero */
.pol-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "hero side" "tabs side" "main side"; grid-template-rows: auto auto 1fr; column-gap: 48px; padding-bottom: 64px; }
.pol-hero { grid-area: hero; padding: 16px 0 32px; }
.pol-side { grid-area: side; padding-top: 16px; }
.pol-side .pol-dc { position: sticky; top: calc(var(--pol-top) + 4px); }
.pol-main { grid-area: main; padding-top: 28px; min-width: 0; }
.pol-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.pol-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #eef2ff; color: var(--pol-navy) !important; font-size: 13px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.pol-chip--sm { height: 24px; font-size: 11.5px; padding: 0 10px; }
.pol-verified { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--pol-green-bg); color: var(--pol-green); font-size: 13px; font-weight: 650; }
.pol-status { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 650; background: var(--pol-soft); color: var(--pol-ink-2); white-space: nowrap; }
.pol-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pol-status--open { background: var(--pol-green-bg); color: var(--pol-green); }
.pol-status--soon { background: var(--pol-amber-bg); color: var(--pol-amber); }
.pol-status--closed { background: var(--pol-red-bg); color: var(--pol-red); }
.pol-status--rolling { background: #eef2ff; color: var(--pol-navy-2); }
.pol-title--long { font-size: clamp(28px, 2.9vw, 38px) !important; }
.pol-title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.022em; font-weight: 750; color: var(--pol-navy); margin: 0 0 16px; }
.pol-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--pol-ink-2); font-size: 16px; margin: 0 0 16px; }
.pol-meta span { display: inline-flex; align-items: center; gap: 7px; }
.pol-meta .pol-i { color: var(--pol-mute); }
.pol-lede { font-size: 18px; line-height: 1.6; color: var(--pol-ink-2); margin: 0 0 24px; max-width: 62ch; }
.pol-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pol-tiles li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--pol-line); border-radius: 14px; background: var(--pol-card); margin: 0; }
.pol-tile-ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: #eef2ff; color: var(--pol-navy-2); display: grid; place-items: center; }
.pol-tile-k { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--pol-mute); line-height: 1.3; }
.pol-tile-v { font-size: 15px; font-weight: 600; color: var(--pol-ink); line-height: 1.35; }


/* Tabs */
.pol-tabs { grid-area: tabs; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px)); z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--pol-line); min-width: 0; }
.pol-tabs nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pol-tabs nav::-webkit-scrollbar { display: none; }
.pol-tabs a { flex: none; padding: 15px 14px; font-size: 15px; font-weight: 600; color: var(--pol-mute) !important; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pol-tabs a:hover { color: var(--pol-navy) !important; }
.pol-tabs a.is-active { color: var(--pol-navy) !important; border-bottom-color: var(--pol-navy); }

/* Body */
.pol-card { background: var(--pol-card); border: 1px solid var(--pol-line); border-radius: var(--pol-radius); padding: 32px 36px; margin: 0 0 20px; scroll-margin-top: calc(var(--pol-top) + 64px); }
.pol-card > h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; color: var(--pol-navy); margin: 0 0 18px; }
.pol-prose { color: var(--pol-ink-2); font-size: 16.5px; }
.pol-prose > :first-child { margin-top: 0; }
.pol-prose > :last-child { margin-bottom: 0; }
.pol-prose p { margin: 0 0 14px; }
.pol-prose h3 { font-size: 18px; color: var(--pol-ink); margin: 24px 0 10px; }
.pol-prose ul, .pol-prose ol { margin: 0 0 14px; padding-left: 22px; }
.pol-prose li { margin: 0 0 8px; }
.pol-prose strong { color: var(--pol-ink); }
.pol-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pol-prose td, .pol-prose th { border-bottom: 1px solid var(--pol-line); padding: 10px 8px; text-align: left; }
.pol-prose figure { margin: 0 0 14px; }

/* Check lists (eligibility, benefits) */
.pol-checks ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.pol-checks ul li { position: relative; padding: 12px 14px 12px 46px; background: var(--pol-soft); border-radius: 12px; margin: 0; line-height: 1.5; }
.pol-checks ul li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--pol-green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Fields as chips */
.pol-chips-list ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pol-chips-list ul li { margin: 0; padding: 7px 14px; border-radius: 999px; background: #eef2ff; color: var(--pol-navy); font-size: 14.5px; font-weight: 550; }

/* Steps */
.pol-steps ol { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 0; }
.pol-steps ol li { counter-increment: s; position: relative; padding: 0 0 18px 52px; margin: 0; min-height: 36px; }
.pol-steps ol li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 50%; background: var(--pol-navy); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.pol-steps ol li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 34px; bottom: 2px; width: 1px; background: var(--pol-line); }
.pol-apply-cta { margin-top: 20px !important; }

/* At a glance */
.pol-glance { display: grid; gap: 26px; }
.pol-glance-group h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--pol-mute); margin: 0 0 12px; }
.pol-glance dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--pol-line); border-radius: 14px; overflow: hidden; }
.pol-glance dl > div { padding: 14px 18px; border-bottom: 1px solid var(--pol-line); }
.pol-glance dl > div:nth-child(odd) { border-right: 1px solid var(--pol-line); }
.pol-glance dl > div:nth-last-child(1), .pol-glance dl > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.pol-glance dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.pol-glance dt { font-size: 13px; color: var(--pol-mute); margin: 0 0 3px; font-weight: 550; }
.pol-glance dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--pol-ink); line-height: 1.45; overflow-wrap: anywhere; }
.pol-glance dd.is-muted { color: var(--pol-mute); font-weight: 500; font-style: italic; }

/* FAQ */
.pol-faq details { border-bottom: 1px solid var(--pol-line); }
.pol-faq details:last-child { border-bottom: 0; }
.pol-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 650; font-size: 16.5px; color: var(--pol-ink); }
.pol-faq summary::-webkit-details-marker { display: none; }
.pol-faq summary .pol-i { color: var(--pol-mute); transition: transform .2s; }
.pol-faq details[open] summary .pol-i { transform: rotate(180deg); }
.pol-faq details > div { padding: 0 0 18px; color: var(--pol-ink-2); }

/* Newsletter */

/* Buttons */
.pol-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none !important; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.pol-btn--primary { background: var(--pol-navy); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(11, 31, 92, .7); }
.pol-btn--primary:hover { background: var(--pol-navy-2); transform: translateY(-1px); }
.pol-btn--ghost { background: #fff; border-color: var(--pol-line); color: var(--pol-ink) !important; height: 42px; font-size: 14px; font-weight: 600; padding: 0 10px; white-space: nowrap; }
.pol-btn--ghost:hover { border-color: #c7cede; }
.pol-btn--block { width: 100%; height: 52px; font-size: 16.5px; }

/* Key dates card */
.pol-dc { background: var(--pol-card); border: 1px solid var(--pol-line); border-radius: 22px; box-shadow: var(--pol-shadow); overflow: hidden; }
.pol-dc-img { margin: 0 0 14px; aspect-ratio: 16 / 9; background: var(--pol-soft); border-radius: 18px; overflow: hidden; box-shadow: 0 16px 36px -18px rgba(11, 31, 92, .45); }
.pol-dc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pol-dc-in { padding: 20px 22px 18px; }
.pol-dc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.pol-dc-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pol-mute); }
.pol-dc-date { font-size: 24px; font-weight: 750; letter-spacing: -.02em; color: var(--pol-navy); line-height: 1.15; }
.pol-dc-date--closed { color: var(--pol-mute); text-decoration: line-through; text-decoration-thickness: 2px; }
.pol-dc-date--na { font-size: 22px; }
.pol-dc-time { font-size: 13.5px; color: var(--pol-mute); margin: 2px 0 14px; }
.pol-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.pol-cd-u { background: var(--pol-soft); border-radius: 10px; text-align: center; padding: 8px 2px 6px; }
.pol-cd-u span { display: block; font-size: 19px; font-weight: 700; color: var(--pol-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pol-cd-u small { display: block; font-size: 11px; color: var(--pol-mute); margin-top: 2px; letter-spacing: .02em; }
.pol-dc[data-soon] .pol-cd-u:last-child { background: var(--pol-red-bg); }
.pol-dc[data-soon] .pol-cd-u:last-child span { color: var(--pol-red); }
.pol-dates-h { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pol-mute); margin: 4px 0 10px; }
.pol-dates { list-style: none; margin: 0 0 14px; padding: 0; position: relative; }
.pol-dates li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: start; padding: 0 0 12px; margin: 0; position: relative; }
.pol-dates li:not(:last-child)::after { content: ""; position: absolute; left: 6.5px; top: 18px; bottom: 0; width: 1px; background: var(--pol-line); }
.pol-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #c7cede; background: #fff; margin-top: 4px; }
.pol-dates li.is-next .pol-dot { border-color: var(--pol-navy); background: var(--pol-navy); box-shadow: 0 0 0 4px #e0e7ff; }
.pol-dates li.is-past { opacity: .55; }
.pol-dates li.is-past .pol-dates-d { text-decoration: line-through; }
.pol-dates-l { display: block; font-size: 14.5px; font-weight: 650; color: var(--pol-ink); line-height: 1.35; }
.pol-dates-d { display: block; font-size: 13.5px; color: var(--pol-mute); }
.pol-dates-r { font-size: 12.5px; font-weight: 650; color: var(--pol-ink-2); background: var(--pol-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.pol-dates li.is-next .pol-dates-r { background: #e0e7ff; color: var(--pol-navy); }
.pol-dc-note { font-size: 12.5px; color: var(--pol-mute); text-align: center; margin: 8px 0 16px; }
.pol-dc-sub { display: block; margin: 16px -22px -18px; padding: 14px 22px 16px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-top: 1px solid var(--pol-line); text-decoration: none !important; }
.pol-dc-sub-q { display: block; font-size: 14px; font-weight: 650; color: var(--pol-ink); line-height: 1.4; }
.pol-dc-sub-a { display: block; font-size: 13.5px; font-weight: 700; color: var(--pol-navy-2); margin-top: 3px; }
.pol-dc-sub:hover .pol-dc-sub-a { text-decoration: underline; }
.pol-dc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pol-dc-actions .pol-btn:only-child { grid-column: span 2; }

/* Mobile sticky bar */
.pol-mbar { display: none; }

@media (max-width: 1080px) {
	.pol-layout { grid-template-columns: minmax(0, 1fr) 330px; column-gap: 28px; }
}
@media (max-width: 900px) {
	.pol-wrap { padding: 0 18px; }
	.pol-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "side" "tabs" "main"; }
	.pol-hero { padding-bottom: 20px; }
	.pol-side { padding-top: 0; margin-bottom: 20px; }
	.pol-side .pol-dc { position: static; }
	.pol-main { padding-top: 20px; }
	.pol-card { padding: 24px 20px; border-radius: 16px; }
	.pol-card > h2 { font-size: 21px; }
	.pol-glance dl { grid-template-columns: 1fr; }
	.pol-glance dl > div:nth-child(odd) { border-right: 0; }
	.pol-glance dl > div:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--pol-line); }
	.pol-news { grid-template-columns: 1fr; }
	.pol-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--pol-line); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); transform: translateY(110%); transition: transform .25s; }
	.pol-mbar.is-on { transform: none; }
	.pol-mbar-k { display: block; font-size: 12px; color: var(--pol-mute); }
	.pol-mbar-v { display: block; font-weight: 700; color: var(--pol-navy); }
}
@media (max-width: 520px) {
	.pol-tiles { grid-template-columns: 1fr; }
	.pol-lede { font-size: 16.5px; }
	.pol-news-form form, .pol-news-form .wp-block-jetpack-subscriptions__form-elements { flex-wrap: wrap; }
}

/* ===================== Listing ===================== */
.pol-list { max-width: 1200px; margin: 0 auto; padding: 0 32px 56px; }
.pol-list-head { padding: 12px 0 24px; }
.pol-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pol-green); margin: 0 0 8px; }
.pol-list-title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.02em; font-weight: 750; color: var(--pol-navy); margin: 0 0 10px; }
.pol-list-sub { color: var(--pol-ink-2); font-size: 18px; margin: 0; max-width: 60ch; }
.pol-filters { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px)); z-index: 15; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); padding: 14px 0; border-bottom: 1px solid var(--pol-line); margin-bottom: 18px; }
.pol-filter-row { display: grid; grid-template-columns: minmax(0, 1fr) 200px 200px auto; gap: 10px; }
.pol-search { position: relative; }
.pol-search .pol-i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--pol-mute); }
.pol-list input[type=search], .pol-list select { width: 100%; height: 50px; border: 1px solid var(--pol-line); border-radius: 12px; background: #fff; padding: 0 14px; font-size: 15.5px; font-family: inherit; color: var(--pol-ink); }
.pol-list input[type=search] { padding-left: 44px; }
.pol-list input:focus, .pol-list select:focus { outline: 2px solid #c7d2fe; border-color: var(--pol-navy-2); }
.pol-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pol-pills::-webkit-scrollbar { display: none; }
.pol-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--pol-line); background: #fff; color: var(--pol-ink-2) !important; font-size: 14.5px; font-weight: 600; text-decoration: none !important; }
.pol-pill:hover { border-color: #c7cede; }
.pol-pill.is-on { background: var(--pol-navy); border-color: var(--pol-navy); color: #fff !important; }
.pol-pill small { font-size: 12px; opacity: .7; font-weight: 600; }
.pol-count { color: var(--pol-mute); font-size: 15px; margin: 4px 0 18px; }
.pol-count strong { color: var(--pol-ink); }
.pol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pol-empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--pol-line); border-radius: 18px; color: var(--pol-mute); }
.pol-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pol-pager a, .pol-pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center; border: 1px solid var(--pol-line); background: #fff; color: var(--pol-ink-2) !important; text-decoration: none !important; font-weight: 600; }
.pol-pager .is-on { background: var(--pol-navy); border-color: var(--pol-navy); color: #fff !important; }
.pol-pager .is-gap { border: 0; background: none; }
@media (max-width: 1080px) { .pol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.pol-list { padding: 0 16px 40px; }
	.pol-filter-row { grid-template-columns: 1fr 1fr; }
	.pol-search { grid-column: span 2; }
	.pol-filter-row .pol-btn { grid-column: span 2; }
	.pol-grid { grid-template-columns: 1fr; }
}

/* ---------- v2.0.1: theme integration ---------- */
.pol, .pol-list { --pol-accent: #3d5bb8; --pol-head: 'Montserrat', 'Inter', system-ui, sans-serif; --pol-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.pol, .pol-list, .pol p, .pol li, .pol dd, .pol dt, .pol td, .pol span, .pol a, .pol button, .pol input, .pol select,
.pol-list p, .pol-list a, .pol-list span, .pol-list button, .pol-list input, .pol-list select { font-family: var(--pol-body) !important; }
.pol h1, .pol h2, .pol h3, .pol h4, .pol .pol-title, .pol .pol-dc-date, .pol .pol-cd-u span, .pol-list h2, .pol-list h3, .pol-list .pol-list-title, .pol-list .pol-oc-t {
	font-family: var(--pol-head) !important; color: var(--pol-navy) !important; letter-spacing: -.02em !important; }
.pol .pol-title { font-weight: 800 !important; line-height: 1.15 !important; font-size: clamp(28px, 3.1vw, 40px) !important; margin: 0 0 16px !important; }
.pol .pol-title--long { font-size: clamp(26px, 2.6vw, 34px) !important; }
.pol .pol-card > h2 { font-size: 22px !important; font-weight: 800 !important; margin: 0 0 18px !important; line-height: 1.3 !important; }
.pol h3 { font-size: 17px !important; font-weight: 700 !important; margin: 22px 0 10px !important; }
.pol h1::before, .pol h2::before, .pol h3::before { content: none !important; display: none !important; }
.pol p, .pol li, .pol-prose { color: var(--pol-ink-2); }
.pol strong, .pol b { color: var(--pol-navy); font-weight: 650; }
.pol a, .pol-list a { text-decoration: none !important; }
.pol .pol-prose a { color: var(--pol-navy-2); text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: rgba(28, 79, 214, .35); }
.pol .pol-crumbs a { text-decoration: none !important; color: var(--pol-mute); }
.pol .pol-crumbs a:hover { color: var(--pol-navy); }
.pol .pol-chip { text-decoration: none !important; font-family: var(--pol-body) !important; }
.pol li::marker { color: var(--pol-accent); }

/* Remove the theme's own post header band (category, date, verified) and its gap above the layout. */
body.pol-opportunity .pot-post-hero, body.pol-opportunity .pot-post-figure { display: none !important; }
body.pol-opportunity .pot-post-body { padding-top: 28px !important; }
body.pol-opportunity .pot-post-content > .pol { max-width: none !important; margin-top: 0 !important; }

/* Newsletter: light card in theme colours. */
.pol .pol-news { scroll-margin-top: 80px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center;
	background: linear-gradient(135deg, #f3f6fd 0%, #ffffff 70%) !important; border: 1px solid #dde4f3 !important; color: var(--pol-ink-2); }
.pol .pol-news .pol-news-eyebrow { font-size: 12px !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--pol-accent) !important; margin: 0 0 8px !important; }
.pol .pol-news h2 { color: var(--pol-navy) !important; font-size: 21px !important; line-height: 1.3 !important; margin: 0 0 8px !important; }
.pol .pol-news p { margin: 0; color: var(--pol-ink-2) !important; font-size: 15px; line-height: 1.6; }
.pol .pol-news-form .wp-block-jetpack-subscriptions { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.pol .pol-news-form form, .pol .pol-news-form .wp-block-jetpack-subscriptions__form-elements { display: flex !important; gap: 8px; flex-wrap: nowrap; margin: 0 !important; background: transparent !important; }
.pol .pol-news-form p, .pol .pol-news-form .wp-block-jetpack-subscriptions__subscount { margin: 0 !important; }
.pol .pol-news-form p:has(input[type=email]) { flex: 1; min-width: 0; }
.pol .pol-news-form input[type=email] { width: 100% !important; min-width: 0; height: 48px !important; border-radius: 999px !important; border: 1px solid #d3dbef !important; background: #fff !important; color: var(--pol-navy) !important; padding: 0 18px !important; font-size: 15px !important; margin: 0 !important; box-shadow: none !important; }
.pol .pol-news-form button, .pol .pol-news-form input[type=submit], .pol .pol-news-form .wp-block-button__link { height: 48px !important; border-radius: 999px !important; background: var(--pol-navy) !important; color: #fff !important; font-family: var(--pol-head) !important; font-weight: 700 !important; font-size: 15px !important; border: 0 !important; padding: 0 24px !important; margin: 0 !important; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(2, 25, 100, .45) !important; }
.pol .pol-news-form button::after, .pol .pol-news-form .wp-block-button__link::after { content: none !important; }

/* Premium-locked calendar button */
.pol .pol-btn--locked { position: relative; color: var(--pol-mute) !important; background: var(--pol-soft) !important; border-style: dashed !important; cursor: pointer; }
.pol .pol-btn--locked .pol-pro { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #021964, #3d5bb8); border-radius: 999px; padding: 2px 7px; margin-left: 2px; }
.pol .pol-lock-tip { margin: 8px 0 0 !important; font-size: 13px !important; line-height: 1.45; color: var(--pol-ink-2) !important; background: #f3f6fd; border: 1px solid #dde4f3; border-radius: 10px; padding: 8px 12px; }
@media (max-width: 900px) { .pol .pol-news { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pol .pol-news-form form, .pol .pol-news-form .wp-block-jetpack-subscriptions__form-elements { flex-wrap: wrap; } .pol .pol-news-form button { width: 100%; } }
.pol .pol-dc-actions .pol-lock-tip { grid-column: 1 / -1; margin: 0 !important; }

/* ---------- v2.1: listing page ---------- */
/* Hide the page template's own title block and spacer (the listing has its own header). */
body.pol-listing-page main > .wp-block-group:first-child:has(.wp-block-post-title) { display: none !important; }
body.pol-listing-page .wp-site-blocks > main, body.pol-listing-page main > .entry-content, body.pol-listing-page main > .wp-block-post-content { margin-top: 0 !important; }
.pol-list { padding-top: 48px; }
.pol-list .pol-eyebrow { color: var(--pol-accent) !important; font-family: var(--pol-head) !important; font-weight: 700; font-size: 12.5px; letter-spacing: .18em; }
.pol-list .pol-list-title { font-weight: 800 !important; font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.12 !important; }
.pol-list .pol-filters { background: rgba(249, 249, 249, .94); border-bottom: 0; padding: 16px 0 14px; }
.pol-list .pol-pill { height: 36px; font-size: 14px; padding: 0 15px; background: #fff; }
.pol-list .pol-pill:hover { border-color: #b9c6e6; color: var(--pol-navy) !important; }
.pol-list .pol-pill.is-on { background: var(--pol-navy); border-color: var(--pol-navy); color: #fff !important; }
.pol-list .pol-count { color: var(--pol-mute); font-size: 15px; margin: 6px 0 20px; }

/* Cards: image, programme name, deadline. */
.pol-grid { gap: 26px; }
.pol-oc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ebf5; border-radius: 20px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(2, 25, 100, .04); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .35s ease; }
.pol-oc:hover { transform: translateY(-4px); border-color: #d3dcf0; box-shadow: 0 22px 44px -24px rgba(2, 25, 100, .32), 0 2px 6px rgba(2, 25, 100, .04); }
.pol-oc-img { aspect-ratio: 16 / 9; overflow: hidden; background: #f3f6fd; line-height: 0; }
.pol-oc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.pol-oc:hover .pol-oc-img img { transform: scale(1.035); }
.pol-oc-ph { display: grid; place-items: center; height: 100%; color: var(--pol-mute); font-weight: 650; line-height: 1.4; }
.pol-oc-body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 20px 22px 20px; }
.pol-list .pol-oc-t { margin: 0 !important; font-size: 17.5px !important; font-weight: 700 !important; line-height: 1.35 !important; letter-spacing: -.012em !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pol-list .pol-oc-t a { color: var(--pol-navy) !important; text-decoration: none !important; }
.pol-list .pol-oc-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pol-oc:hover .pol-oc-t a { color: #19347d !important; }
.pol-oc-dl { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #edf1f8; }
.pol-oc-dl-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #f3f6fd; color: var(--pol-accent); }
.pol-oc-dl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pol-oc-dl-t small { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pol-mute); }
.pol-oc-dl-t strong { font-family: var(--pol-head) !important; font-size: 15.5px; font-weight: 700; color: var(--pol-navy); margin-top: 2px; }
.pol-oc-tag { flex: none; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.pol-oc-tag--green { background: #e8f6ee; color: #0f7a4a; }
.pol-oc-tag--amber { background: #fff4e0; color: #9a5b00; }
.pol-oc-tag--red { background: #fdecea; color: #b42318; }
.pol-oc-tag--mute { background: #f1f3f8; color: #5b6b8f; }
.pol-oc--closed .pol-oc-img img { filter: grayscale(.55); opacity: .85; }
.pol-list h2::before, .pol-list h3::before { content: none !important; display: none !important; }
.pol-list .pol-list-title { margin: 6px 0 12px !important; }
.pol-list .pol-eyebrow { margin: 0 !important; }
@media (max-width: 640px) {
	.pol-list .pol-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
	.pol-list .pol-pills::-webkit-scrollbar { display: none; }
	.pol-list .pol-pill { flex: none; }
	.pol-list .pol-filters { position: static; }
}

/* ---------- v2.1.1: phones & tablets ---------- */
/* The template's own side padding stacks with ours on small screens; let the layout own the gutters. */
body.pol-opportunity .pot-post-body { padding-left: 0 !important; padding-right: 0 !important; }
body.pol-opportunity .pot-post-content { max-width: none !important; }
.pol, .pol-list { overflow-wrap: anywhere; }
.pol img { max-width: 100%; height: auto; }
.pol-main, .pol-hero, .pol-side, .pol-tabs { min-width: 0; }
@media (max-width: 1080px) and (min-width: 901px) {
	.pol-wrap { padding: 0 24px; }
}
/* Tablet portrait: single column, image + date card side by side so nothing floats alone. */
@media (max-width: 900px) and (min-width: 641px) {
	.pol-wrap { padding: 0 28px; }
	.pol-side { display: block; }
	.pol-side .pol-dc { position: static; }
	.pol-side .pol-dc-img { margin: 0 0 18px; border-radius: 18px; overflow: hidden; }
	.pol-side .pol-dc-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
	/* Date card: key info on the left, dates list + actions on the right. */
	.pol-dc-in { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
	.pol-dc-in > * { grid-column: 1; }
	.pol-dc-in > .pol-dates-h, .pol-dc-in > .pol-dates, .pol-dc-in > .pol-dc-actions { grid-column: 2; }
	.pol-dc-in > .pol-dates-h { grid-row: 1; margin-top: 0 !important; }
	.pol-dc-in > .pol-dates { grid-row: 2 / span 4; }
	.pol-dc-in > .pol-dc-actions { grid-row: 6; }
	.pol-dc-in > .pol-dc-sub { grid-column: 1 / -1; }
	.pol-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.pol-list .pol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
/* Phones (iOS & Android) */
@media (max-width: 640px) {
	.pol-wrap { padding: 0 16px; }
	.pol .pol-crumbs { margin: 4px 0 12px; font-size: 13.5px; }
	.pol .pol-badges { gap: 6px; }
	.pol .pol-chip, .pol .pol-status { height: 28px; font-size: 12px; padding: 0 10px; }
	.pol .pol-title, .pol .pol-title--long { font-size: 25px !important; line-height: 1.2 !important; }
	.pol .pol-meta { flex-direction: column; gap: 6px; font-size: 14.5px; }
	.pol .pol-lede { font-size: 16px; }
	.pol-tiles { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
	.pol-side .pol-dc { position: static; }
	.pol-side .pol-dc-img { margin: 0 0 14px; border-radius: 14px; overflow: hidden; }
	.pol-dc-in { padding: 18px !important; }
	.pol-dc-date { font-size: 21px !important; }
	.pol-cd { gap: 6px !important; }
	.pol .pol-cd-u span { font-size: 17px !important; }
	.pol-dc-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.pol .pol-dc-actions .pol-btn { font-size: 13px; padding: 0 8px; gap: 6px; }
	.pol .pol-btn--locked .pol-pro { display: none; }
	.pol .pol-btn--locked span::after { content: " 🔒"; }
	.pol-tabs { margin: 0 -16px; padding: 0 16px; }
	.pol-card { padding: 20px 18px !important; border-radius: 16px !important; }
	.pol .pol-card > h2 { font-size: 19px !important; }
	.pol-glance { grid-template-columns: minmax(0, 1fr) !important; }
	.pol .pol-news { gap: 16px; padding: 22px 18px !important; }
	.pol .pol-news h2 { font-size: 18px !important; }
	.pol-list { padding-top: 28px; }
	.pol-list .pol-filter-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
	.pol-list .pol-oc-body { padding: 16px 18px 18px; gap: 14px; }
	.pol-list .pol-oc-t { font-size: 16.5px !important; min-height: 0; }
}
@media (max-width: 380px) {
	.pol .pol-cd-u small { font-size: 10px; }
	.pol-oc-dl-ic { display: none !important; }
}

.pol .pol-prose a.pol-btn, .pol a.pol-btn { text-decoration: none !important; }
.pol .pol-prose a.pol-btn--primary { color: #fff !important; }
@media (max-width: 640px) {
	.pol .pol-tiles { display: none !important; }
	.pol .pol-lede { margin-bottom: 18px; }
}
/* Listing: let the plugin own the side gutters so phones don't get double padding. */
body.pol-listing-page .wp-block-post-content.has-global-padding, body.pol-listing-page main .entry-content.has-global-padding { padding-left: 0 !important; padding-right: 0 !important; }
body.pol-listing-page .wp-block-post-content > .pol-list, body.pol-listing-page .wp-block-post-content > p:has(> .pol-list) { max-width: none !important; }
.pol-oc { container-type: inline-size; }
.pol-oc-dl-t strong { white-space: nowrap; }
@container (max-width: 360px) {
	.pol-oc-dl-ic { display: none !important; }
	.pol-oc-dl { gap: 10px; }
}
@media (max-width: 1080px) and (min-width: 761px) {
	.pol-list { padding-left: 28px; padding-right: 28px; }
	.pol-filter-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto !important; }
	.pol-filter-row .pol-search { grid-column: 1 / -1; }
}
