/* poea-native: Elementor one-off pages restyled to the clone design. Everything scoped under body.poea-pg. */
body.poea-pg { --pg-serif: var(--font-sans); --pg-card: var(--card-bg); }
body.poea-pg .elementor { font-family: var(--font-sans); color: var(--text-secondary); }

/* ---- rhythm: no empty gaps, clear the fixed header ---- */
body.poea-pg .elementor-widget-spacer .elementor-spacer-inner { height: 8px !important; }
body.poea-pg .elementor-top-section { background-image: none !important; background-color: transparent !important; }
body.poea-pg .elementor-top-section > .elementor-background-overlay { display: none; }
body.poea-pg .elementor-top-section > .elementor-container { max-width: 1200px; padding: 0 20px; }
body.poea-pg .elementor-section.elementor-top-section { padding-top: clamp(8px, 1.4vw, 20px) !important; padding-bottom: clamp(8px, 1.4vw, 20px) !important; margin: 0 !important; }
body.poea-pg main .elementor { padding-top: 0; } /* .l-clear-header wrapper already clears the fixed header */
body.poea-pg .elementor-top-section:not(:has(.elementor-widget:not(.elementor-widget-spacer))) { padding: 0 !important; }
body.poea-pg .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 8px 12px; }
body.poea-pg .c-page-header + .section { padding-block: 16px; }
body.poea-pg .elementor-widget:not(:last-child) { margin-bottom: 16px; }

/* ---- type scale ---- */
body.poea-pg .elementor .elementor-heading-title { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.025em; color: var(--text-primary); text-wrap: balance; }
body.poea-pg :is(.elementor h1.elementor-heading-title, .c-page-header__title) { font-size: clamp(28px, 2.5vw + 18px, 44px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
body.poea-pg .elementor h2.elementor-heading-title { font-size: clamp(22px, 1.5vw + 16px, 32px); line-height: 1.2; }
body.poea-pg .elementor :is(h3, h4, h5, h6).elementor-heading-title { font-family: var(--font-sans); font-weight: 600; font-size: 15px; line-height: 1.4; letter-spacing: 0; color: var(--text-primary); }
body.poea-pg .elementor h3.elementor-heading-title { font-size: 19px; }
body.poea-pg .elementor :is(.elementor-tab-title, .elementor-accordion-title, .elementor-icon-box-title, .elementor-cta__title, .elementor-image-box-title) { font-weight: 600; font-size: 17px; }
body.poea-pg .elementor h5.elementor-heading-title, body.poea-pg .elementor h6.elementor-heading-title { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); }
body.poea-pg .elementor .elementor-widget-text-editor, body.poea-pg .elementor .elementor-widget-text-editor p { font-size: 17px; line-height: 1.7; color: var(--text-secondary); }
body.poea-pg .elementor .elementor-widget-text-editor p { margin: 0 0 1em; }
body.poea-pg .elementor-widget-text-editor, body.poea-pg .elementor-widget-heading p.elementor-heading-title { max-width: 68ch; }
body.poea-pg .elementor-widget-text-editor a:not(.elementor-button):not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

/* ---- hero: light glass panel instead of the old blue slab (first section) ---- */
body.poea-pg .elementor-top-section:has(h1.elementor-heading-title) > .elementor-container { background: var(--gradient-hero), var(--pg-card); border: 1px solid var(--card-border); border-radius: var(--radius-xl, 24px); box-shadow: var(--card-shadow); padding: clamp(20px, 2.4vw, 28px); align-items: center; }
body.poea-pg .elementor-top-section:has(h1.elementor-heading-title) .elementor-heading-title { color: var(--text-primary) !important; }
body.poea-pg .elementor-top-section:has(h1.elementor-heading-title) h5.elementor-heading-title { color: var(--primary-light) !important; }
body.poea-pg .elementor-top-section:has(h1.elementor-heading-title) :is(.elementor-widget-text-editor, p) { color: var(--text-secondary) !important; }
body.poea-pg .elementor-top-section:has(h1.elementor-heading-title) img { max-width: min(100%, 420px); height: auto; margin-inline: auto; display: block; }
body.poea-pg .elementor-inner-section > .elementor-container { max-width: 100%; }

body.poea-pg .elementor h2.elementor-heading-title[data-hl] { font-family: var(--font-sans); letter-spacing: -.025em; }
body.poea-pg .elementor-accordion .elementor-accordion-title { text-decoration: none !important; }
body.poea-pg:is(.poea-pg--about-us, .poea-pg--contact-us-inquiry) .elementor-top-section:first-of-type > .elementor-container { background: var(--gradient-hero), var(--pg-card); border: 1px solid var(--card-border); border-radius: 24px; box-shadow: var(--card-shadow); padding: clamp(20px, 4vw, 48px); align-items: center; }

/* ---- pill buttons ---- */
body.poea-pg .elementor a.elementor-button, body.poea-pg .elementor .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px !important; padding: 12px 26px; font-family: var(--font-sans); font-weight: 600; font-size: 15px; line-height: 24px; border: 0; background: linear-gradient(135deg, #303af7, #181c95) !important; color: #fff !important; box-shadow: 0 0 20px var(--primary-glow); transition: transform .2s ease, box-shadow .2s; }
body.poea-pg .elementor a.elementor-button:hover { transform: translateY(-1px); box-shadow: 0 0 30px var(--primary-glow); }
body.poea-pg .elementor .elementor-button-text, body.poea-pg .elementor .elementor-button .elementor-button-icon { color: #fff !important; }

/* ---- rounded glass cards (CTA flag cards, inner columns) ---- */
body.poea-pg .elementor-top-section:not(:has(h1.elementor-heading-title)) .elementor-inner-section .elementor-inner-column > .elementor-widget-wrap { background: var(--pg-card); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--card-shadow); padding: 20px !important; transition: box-shadow .2s, border-color .2s; }
body.poea-pg .elementor-top-section:not(:has(h1.elementor-heading-title)) .elementor-inner-section .elementor-inner-column > .elementor-widget-wrap:hover { box-shadow: var(--card-shadow-hover); border-color: var(--card-border-hover); }
body.poea-pg .elementor-top-section:not(:has(h1.elementor-heading-title)) .elementor-inner-section .elementor-inner-column { padding: 8px; }
body.poea-pg .elementor img.flags { width: 100%; max-width: 220px; height: 130px; object-fit: cover; border-radius: 12px; display: block; margin: 0 auto 12px; }
body.poea-pg .elementor-widget-call-to-action .elementor-cta__title { font-family: var(--font-sans); font-size: 18px; font-weight: 600; color: var(--text-primary); }
body.poea-pg .elementor-widget-call-to-action :is(.elementor-cta__description, .elementor-cta__content) { color: var(--text-secondary); }
body.poea-pg .elementor-ribbon-inner { color: #fff; }

/* ---- accordion / tabs ---- */
body.poea-pg .elementor-accordion { max-width: 760px; display: grid; gap: 10px; }
body.poea-pg .elementor-accordion .elementor-accordion-item { border: 1px solid var(--card-border) !important; border-radius: 16px; background: var(--pg-card); box-shadow: var(--card-shadow); overflow: hidden; }
body.poea-pg .elementor-accordion .elementor-tab-title { padding: 16px 20px; border: 0 !important; }
body.poea-pg .elementor-accordion .elementor-accordion-title { font-size: 16px; font-weight: 600; color: var(--primary-light) !important; text-decoration: none; }
body.poea-pg .elementor-accordion .elementor-tab-title.elementor-active { background: var(--primary-50); }
body.poea-pg .elementor-accordion .elementor-tab-content { border: 0 !important; padding: 8px 20px 20px; font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
body.poea-pg .elementor-accordion .elementor-accordion-icon { color: var(--primary-light); }
body.poea-pg .elementor-tabs .elementor-tab-title { border-radius: 999px; padding: 8px 18px; }
body.poea-pg .elementor-tabs .elementor-tab-content { border-radius: 16px; }

/* ---- contact info icons ---- */
body.poea-pg .elementor-widget-icon .elementor-icon { font-size: 36px; color: var(--primary-light); }
body.poea-pg .elementor-widget-icon .elementor-icon svg { width: 36px; height: 36px; fill: currentColor; }

/* ---- legal prose ---- */
body.poea-pg:is(.poea-pg--terms-of-use, .poea-pg--disclaimer, .poea-pg--privacy-policy-2) .elementor-top-section > .elementor-container { max-width: 820px; }
body.poea-pg:is(.poea-pg--terms-of-use, .poea-pg--disclaimer, .poea-pg--privacy-policy-2) .elementor-widget-heading .elementor-heading-title:is(h3, h4, h5, h6) { font-size: 17px; text-transform: none; letter-spacing: 0; margin-top: 12px; }
body.poea-pg:is(.poea-pg--terms-of-use, .poea-pg--disclaimer, .poea-pg--privacy-policy-2) .elementor-top-section:has(h1.elementor-heading-title) > .elementor-container { background: none; border: 0; box-shadow: none; padding: 0 20px; }

/* ---- agency-list intro ---- */
body.poea-pg--agency-list .elementor-top-section:has(h1.elementor-heading-title) > .elementor-container { text-align: center; justify-content: center; }
body.poea-pg--agency-list .elementor-widget-heading .elementor-heading-title, body.poea-pg--agency-list .elementor-widget-text-editor { margin-inline: auto; }

/* ---- dark ---- */
[data-theme="dark"] body.poea-pg { --pg-card: rgba(255,255,255,.05); }
[data-theme="dark"] body.poea-pg .elementor :is(h1, h2, .elementor-heading-title) { color: #fff; }
[data-theme="dark"] body.poea-pg .elementor :is(.elementor-widget-text-editor, p) { color: #c4c3d6; }
[data-theme="dark"] body.poea-pg .elementor h5.elementor-heading-title, [data-theme="dark"] body.poea-pg .elementor h6.elementor-heading-title { color: #92adfe; }
[data-theme="dark"] body.poea-pg .elementor-accordion .elementor-accordion-title, [data-theme="dark"] body.poea-pg .elementor-accordion .elementor-accordion-icon { color: #92adfe !important; }
[data-theme="dark"] body.poea-pg .elementor-widget-icon .elementor-icon { color: #92adfe; }
[data-theme="dark"] body.poea-pg .elementor-widget-container a:not(.elementor-button):not(.btn) { color: #92adfe; }
[data-theme="dark"] body.poea-pg .elementor-top-section:has(h1.elementor-heading-title) .elementor-heading-title { color: #fff !important; }
[data-theme="dark"] body.poea-pg .elementor-top-section:has(h1.elementor-heading-title) h5.elementor-heading-title { color: #92adfe !important; }
[data-theme="dark"] body.poea-pg .elementor-top-section:has(h1.elementor-heading-title) :is(.elementor-widget-text-editor, p) { color: #c4c3d6 !important; }
[data-theme="dark"] body.poea-pg .elementor-widget-call-to-action :is(.elementor-cta__title, .elementor-cta__description) { color: #fff; }
[data-theme="dark"] body.poea-pg .elementor-top-section > .elementor-container { color: #c4c3d6; }

@media (max-width: 767px) {
	body.poea-pg .elementor-top-section > .elementor-container { padding: 0 16px; }
	body.poea-pg .elementor-column { width: 100% !important; }
}

/* ---- contrast / surface fixes ---- */
body.poea-pg .elementor :is(h1, h2).elementor-heading-title { color: var(--text-primary) !important; }
body.poea-pg .elementor p.elementor-heading-title { color: var(--text-secondary) !important; font-family: var(--font-sans); font-size: 17px; font-weight: 400; line-height: 1.7; }
[data-theme="dark"] body.poea-pg .elementor :is(h1, h2).elementor-heading-title { color: #fff !important; }
[data-theme="dark"] body.poea-pg .elementor p.elementor-heading-title { color: #c4c3d6 !important; }
[data-theme="dark"] body.poea-pg .c-page-header { background: transparent !important; }
[data-theme="dark"] body.poea-pg .elementor-element-f2036a0, [data-theme="dark"] body.poea-pg .elementor-element-f2036a0 > .elementor-widget-container { background-color: rgba(0, 176, 255, .1) !important; border-radius: 16px; }
[data-theme="dark"] body.poea-pg .elementor-element-f2036a0 .elementor-widget-wrap, [data-theme="dark"] body.poea-pg .elementor-widget-wrap:has(> .elementor-element-f2036a0) { background-color: transparent !important; }
[data-theme="dark"] body.poea-pg .c-breadcrumbs :is(a, .last, span) { color: #c4c3d6; }

/* ---- category grid (poea-hiring, job-categories style widgets) ---- */
body.poea-pg .job_listing-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 0; padding: 0; }
body.poea-pg .job_listing-categories .listing-category { width: auto !important; max-width: none !important; flex: none !important; float: none !important; margin: 0 !important; padding: 0 !important; }
body.poea-pg .job_listing-categories .listing-category > a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--card-border); border-radius: 16px; background: var(--pg-card); box-shadow: var(--card-shadow); text-decoration: none !important; transition: box-shadow .2s, border-color .2s; }
body.poea-pg .job_listing-categories .listing-category > a:hover { box-shadow: var(--card-shadow-hover); border-color: var(--card-border-hover); }
body.poea-pg .job_listing-categories h2.title { font-family: var(--font-sans) !important; font-size: 16px !important; font-weight: 600; line-height: 1.35; letter-spacing: 0; margin: 0 0 4px; }
body.poea-pg .job_listing-categories .positions { font-size: 13px; color: var(--primary-light); }
[data-theme="dark"] body.poea-pg .job_listing-categories .positions { color: #92adfe; }
[data-theme="dark"] body.poea-pg .c-page-header :is(h1, h2) { color: #fff; }

/* ---- round 12 ---- */
/* Elementor per-element typography (Arial-like globals) beats the scale above: force it for h1/h2 and sub-headings. */
body.poea-pg .elementor :is(h1, h2).elementor-heading-title:not([data-hl]) { font-weight: 700 !important; letter-spacing: -.025em !important; }
body.poea-pg .elementor h1.elementor-heading-title { font-size: clamp(28px, 2.5vw + 18px, 44px) !important; line-height: 1.15 !important; }
body.poea-pg .elementor h2.elementor-heading-title:not([data-hl]) { font-size: clamp(22px, 1.5vw + 16px, 32px) !important; line-height: 1.2 !important; }
body.poea-pg .elementor :is(h3, h4, h5, h6, h2[data-hl]).elementor-heading-title { font-family: var(--font-sans) !important; letter-spacing: 0; }
body.poea-pg .elementor h5.elementor-heading-title, body.poea-pg .elementor h6.elementor-heading-title { letter-spacing: .12em; }
body.poea-pg .elementor .elementor-widget-text-editor :is(p, span, strong, li) { font-family: var(--font-sans) !important; }

/* /add-agency/: main.c-dash is a grid; give the form a centred reading column */
body.poea-pg--add-agency main.site-main { display: block; }
body.poea-pg--add-agency main.site-main > .container { width: min(100%, 760px); max-width: 760px; margin-inline: auto; padding: 16px 16px 48px; box-sizing: border-box; }
body.poea-pg--add-agency #submit-company-form :is(input:not([type=checkbox], [type=radio], [type=file], [type=submit]), select, textarea) { width: 100%; box-sizing: border-box; }

/* /contact-us-inquiry/: centred notice + heading, two-column form card, full-width fields */
body.poea-pg--contact-us-inquiry .elementor-column:has(> .elementor-widget-wrap:not(.elementor-element-populated)) { display: none; }
body.poea-pg--contact-us-inquiry .elementor-top-section > .elementor-container { justify-content: center; align-items: center; }
body.poea-pg--contact-us-inquiry .elementor-top-section:first-of-type > .elementor-container { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 20px !important; }
body.poea-pg--contact-us-inquiry .elementor-top-section:first-of-type .elementor-column { width: min(100%, 820px); }
body.poea-pg--contact-us-inquiry .elementor-top-section:first-of-type .elementor-widget-wrap { text-align: left; border-radius: 16px; padding: 20px 24px !important; background: var(--primary-50) !important; border: 1px solid var(--card-border); }
body.poea-pg--contact-us-inquiry .elementor-top-section:first-of-type .elementor-widget-wrap :is(p, strong) { color: var(--text-primary) !important; }
body.poea-pg--contact-us-inquiry .elementor-top-section:first-of-type .elementor-widget-container { background: none !important; border: 0 !important; }
body.poea-pg--contact-us-inquiry .elementor-column:has(h2) { text-align: center; width: 100%; }
body.poea-pg--contact-us-inquiry .elementor-column:has(h2) .elementor-widget-wrap { background: none !important; border: 0 !important; padding: 0 !important; }
body.poea-pg--contact-us-inquiry .elementor-column:has(.wpcf7) { width: min(100%, 560px); }
body.poea-pg--contact-us-inquiry .elementor-column:has(.wpcf7) > .elementor-widget-wrap { background: var(--pg-card); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--card-shadow); padding: 28px !important; }
body.poea-pg--contact-us-inquiry .wpcf7 :is(input:not([type=submit]), textarea, select) { width: 100%; box-sizing: border-box; border: 1px solid var(--input-border); border-radius: 12px; background: var(--input-bg); color: var(--input-text); padding: 12px 14px; font: inherit; }
body.poea-pg--contact-us-inquiry .wpcf7 textarea { min-height: 140px; }
body.poea-pg--contact-us-inquiry .wpcf7 p { margin: 0 0 14px; }
body.poea-pg--contact-us-inquiry .wpcf7 input[type=submit] { border: 0; border-radius: 999px; padding: 12px 28px; font-weight: 600; background: linear-gradient(135deg, #303af7, #181c95); color: #fff; cursor: pointer; }
body.poea-pg--contact-us-inquiry .elementor-column:has(.wpcf7) + .elementor-column img { max-width: 100%; height: auto; }
[data-theme="dark"] body.poea-pg--contact-us-inquiry .elementor-top-section:first-of-type .elementor-widget-wrap { background: rgba(0, 176, 255, .1) !important; border-color: rgba(255,255,255,.12); }
[data-theme="dark"] body.poea-pg--contact-us-inquiry .elementor-top-section:first-of-type .elementor-widget-wrap :is(p, strong) { color: #e8e8f2 !important; }

/* Country pages: skeleton rows while the AJAX list is empty (no li yet), reserving the space so nothing jumps */
body.poea-country ul.job_listings:not(:has(li)) { min-height: 330px; position: relative; --sk: var(--primary-100); }
body.poea-country ul.job_listings:not(:has(li))::before { content: ""; display: block; height: 88px; border-radius: 16px; background: var(--sk); box-shadow: 0 104px 0 var(--sk), 0 208px 0 var(--sk); animation: poea-sk 1.2s ease-in-out infinite alternate; }
@keyframes poea-sk { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.poea-country ul.job_listings:not(:has(li))::before { animation: none; } }
body.poea-pg--contact-us-inquiry .wpcf7 .wpcf7-form-control-wrap { display: block; }
body.poea-pg--contact-us-inquiry .elementor-column:has(h2) :is(.elementor-widget-text-editor, p) { margin-inline: auto; text-align: center; max-width: 60ch; }
body.poea-pg--contact-us-inquiry .elementor-column:has(h2) { margin-bottom: 0; }
body.poea-pg--contact-us-inquiry .wpcf7 :is(input:not([type=submit]), textarea, select, .wpcf7-form-control-wrap) { width: 100% !important; max-width: 100% !important; }
[data-theme="dark"] body.poea-pg--contact-us-inquiry .elementor .elementor-top-section.elementor-element-1bf6cb83 { background-color: transparent !important; }
[data-theme="dark"] body.poea-pg--contact-us-inquiry .elementor-element-f2036a0, [data-theme="dark"] body.poea-pg--contact-us-inquiry .elementor-element-f2036a0 > .elementor-widget-container { background: none !important; border: 0 !important; border-radius: 0; }

/* round 13: contrast on Elementor-coloured sub-headings (white eyebrow, #757575 h3) */
body.poea-pg .elementor :is(h5, h6).elementor-heading-title { color: var(--primary-light) !important; }
body.poea-pg .elementor h3.elementor-heading-title { color: var(--text-secondary) !important; }
[data-theme="dark"] body.poea-pg .elementor :is(h5, h6).elementor-heading-title { color: #92adfe !important; }
[data-theme="dark"] body.poea-pg .elementor h3.elementor-heading-title { color: #c4c3d6 !important; }
@media (max-width: 767px) {
	body.poea-pg:is(.poea-pg--terms-of-use, .poea-pg--disclaimer, .poea-pg--privacy-policy-2) .elementor-top-section > .elementor-container { padding: 0 16px !important; }
	body.poea-pg:is(.poea-pg--terms-of-use, .poea-pg--disclaimer, .poea-pg--privacy-policy-2) .elementor-column > .elementor-widget-wrap { padding: 0 !important; }
	body.poea-pg:is(.poea-pg--terms-of-use, .poea-pg--disclaimer, .poea-pg--privacy-policy-2) .elementor-widget:is(.elementor-widget-text-editor, .elementor-widget-heading) { max-width: none; }
	body.poea-pg--contact-us-inquiry .elementor-top-section { padding-top: 16px !important; padding-bottom: 16px !important; }
	body.poea-pg--contact-us-inquiry .elementor-widget-spacer { display: none; }
}
@media (max-width: 767px) {
	body.poea-pg:is(.poea-pg--terms-of-use, .poea-pg--disclaimer, .poea-pg--privacy-policy-2) .elementor-section.elementor-top-section { padding-inline: 0 !important; }
	body.poea-pg:is(.poea-pg--terms-of-use, .poea-pg--disclaimer, .poea-pg--privacy-policy-2) .elementor-top-section > .elementor-container { padding: 0 12px !important; }
}

/* All Elementor headings and heading-like titles use the app sans (Elementor per-element typography must not leak Poppins/serif) */
body .elementor :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title, .elementor-tab-title, .elementor-icon-box-title, .elementor-accordion-title, .elementor-cta__title, .elementor-image-box-title) { font-family: var(--font-sans) !important; }
body.poea-pg--faq .elementor-top-section:has(h1.elementor-heading-title) { margin-top: -8px !important; }
body.poea-pg--add-agency .cariera-listing-submission { margin-top: 0; }
body.poea-pg--add-agency .submit-listing-box { margin-bottom: 8px; padding-bottom: 12px; }
body.poea-pg--add-agency #submit-company-form > .fieldset-company_header_image, body.poea-pg--add-agency .fieldset-company_header_image { margin-bottom: 0; }
/* Round 18: Elementor per-widget typography must not beat the scale */
body.poea-pg .elementor :is(h5, h6).elementor-heading-title { font-size: 14px !important; font-weight: 600 !important; }
body.poea-pg .elementor h2.elementor-cta__title { font-size: 18px !important; font-weight: 600 !important; line-height: 1.3 !important; }
/* Round 20 */
body.poea-pg--job-alerts .entry-content .btn { margin-top: 16px; }
body.poea-pg .elementor ins.adsbygoogle, body.poea-pg .elementor-widget:has(> .elementor-widget-container > ins.adsbygoogle) { border-radius: 16px; overflow: hidden; background: var(--card-bg); }
body.poea-pg .elementor-widget:has(ins.adsbygoogle) .elementor-widget-container { padding: 12px; background: var(--card-bg); border-radius: 16px; }
body.poea-pg--partners .elementor-section.elementor-top-section { padding-top: 4px !important; padding-bottom: 4px !important; }
/* Round 21: AdSense frame fits the column (no clipping at 320-414) */
body.poea-pg .elementor ins.adsbygoogle { display: block; max-width: 100%; overflow: hidden; }
body.poea-pg .elementor ins.adsbygoogle iframe { max-width: 100% !important; }

/* ---- Legacy pages: contrast / link fixes only (no restyle) ---- */
body.poea-leg .company-letters a.c-tag.all, body.poea-leg a.c-tag.all.chosen { border-radius: 9999px; padding: 0 14px; min-height: 36px; background: #303af7 !important; color: #fff !important; }
body.poea-leg .elementor-widget-text-editor a:not(.elementor-button) { text-decoration: underline; text-underline-offset: 3px; }
body.poea-leg p.elementor-heading-title, body.poea-leg .entry-content :is(p, li) { color: var(--text-secondary) !important; }
[data-theme="dark"] body.poea-leg .elementor-section, [data-theme="dark"] body.poea-leg .elementor-section .elementor-background-overlay { background-color: transparent !important; background-image: none !important; }
body.poea-leg .elementor :is(h1, h2, h3, h4, h5, h6).elementor-heading-title, body.poea-leg .elementor-icon-box-title { color: var(--text-primary) !important; }
body.poea-leg--jobs :is(input, textarea)::placeholder, body.poea-leg--jobs .select2-selection__placeholder { color: var(--text-secondary) !important; opacity: 1; }
[data-theme="dark"] body.poea-leg :is(.elementor-widget-wrap, .elementor-widget-container, .elementor-icon-box-wrapper, .elementor-icon-box-content, .elementor-element-populated) { background-color: transparent !important; }

/* ---- Round 22 ---- */
body.poea-leg .elementor-heading-title a { text-decoration: underline; text-underline-offset: 3px; }
/* AdSense slots never exceed their column (no sideways pan at 320-414) */
body.poea-leg :is(.elementor-widget, .elementor-widget-container):has(ins.adsbygoogle) { max-width: 100%; overflow: hidden; }
body.poea-leg ins.adsbygoogle, body.poea-pg ins.adsbygoogle { display: block; width: 100% !important; max-width: 100% !important; overflow: hidden; box-sizing: border-box; }
body.poea-leg ins.adsbygoogle iframe { max-width: 100% !important; }
/* companies-list letter bar: disabled letters stay readable (>=4.5:1) in both themes */
body.poea-leg .company-letters { background: transparent !important; }
body.poea-leg .company-letters .is-disabled { color: var(--text-secondary) !important; background: transparent !important; border: 1px dashed var(--card-border) !important; opacity: 1 !important; }
/* /jobs/ dark: light-touch surfaces and text */
[data-theme="dark"] body.poea-leg--jobs :is(.job_filters, .search_jobs, form, .job_listings, ul.job_listings > li) { background-color: transparent; color: var(--text-secondary); }
[data-theme="dark"] body.poea-leg--jobs :is(input, select, textarea, .select2-selection) { background-color: var(--card-bg) !important; color: var(--text-primary) !important; border-color: var(--card-border) !important; }
[data-theme="dark"] body.poea-leg--jobs :is(input, textarea)::placeholder { color: #c4c3d6 !important; opacity: 1; }
@media (max-width: 767px) { body.poea-leg .elementor-widget-wrap { margin-left: 0 !important; margin-right: 0 !important; max-width: 100%; box-sizing: border-box; } }
