/* PR-Center site templates (article, archive, search, 404, page shell for theme pages). Builds on prc-widgets.css tokens. */

body.prc-site { margin: 0; background: #fff; color: var(--e-global-color-text, #17212B); font-family: var(--e-global-typography-text-font-family, "Heebo"), "Heebo", "Arial Hebrew", Arial, sans-serif; }
.prc-site-main { display: block; padding-block: 8px 48px; outline: none; }

/* Never a sideways page scroll (helper regions, wide legacy tables). */
body.prc-site { overflow-x: clip; }

/* Breadcrumbs */
.prc-ew .prc-crumbs { margin-block: 18px 14px; font-size: 13px; color: var(--prc-muted); }
.prc-ew .prc-crumbs a { color: var(--prc-navy); }
.prc-ew .prc-crumbs a:hover { color: var(--prc-red); text-decoration: underline; }
.prc-ew .prc-crumbs .breadcrumb_last { color: var(--prc-muted); }

/* Article head */
.prc-article__head { max-width: 1040px; padding-block-end: 20px; border-bottom: 1px solid var(--prc-line); margin-block-end: 28px; }
.prc-ew .prc-article__title { font-family: var(--prc-head); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.18; letter-spacing: -0.01em; color: var(--prc-text); margin-block: 4px 14px; overflow-wrap: anywhere; }
.prc-article__lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: #333E4A; max-width: 860px; margin-block-end: 16px; }
.prc-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--prc-muted); margin-block-end: 16px; }
.prc-article__by a { color: var(--prc-navy); font-weight: 700; }
.prc-article__by a:hover { color: var(--prc-red); }

/* Share */
.prc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.prc-share__label { font-size: 13px; font-weight: 700; color: var(--prc-muted); margin-inline-end: 2px; }
.prc-share__btn { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--prc-line); border-radius: 4px; background: #fff; color: var(--prc-navy) !important; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s; }
.prc-share__btn:hover { border-color: var(--prc-navy); color: var(--prc-red) !important; }
.prc-share__status { font-size: 13px; color: var(--prc-navy); }

/* Layout */
.prc-article__layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 48px; align-items: start; justify-content: space-between; }
@media (max-width: 1100px) { .prc-article__layout { grid-template-columns: minmax(0, 1fr); gap: 36px; } .prc-article__main { max-width: 780px; } }
.prc-article__aside { display: grid; gap: 24px; align-content: start; }
.prc-aside-box { border-top: 3px solid var(--prc-text); padding-top: 12px; }
.prc-ew .prc-aside-box__title { font-size: 18px; font-weight: 800; margin-block-end: 6px; color: var(--prc-text); }

/* Figure */
.prc-article__figure { margin: 0 0 24px; }
.prc-article__img { width: 100%; height: auto !important; border-radius: var(--prc-radius); background: var(--prc-alt); aspect-ratio: auto; }
.prc-article__figure figcaption { margin-top: 8px; font-size: 13px; color: var(--prc-muted); }
.prc-article__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.prc-article__gallery-item { margin: 0; }
.prc-article__gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.prc-article__gallery-item figcaption { margin-top: 6px; font-size: 13px; color: var(--prc-muted); }
@media (max-width: 600px) { .prc-article__gallery { grid-template-columns: minmax(0, 1fr); } }

/* Reading column */
.prc-prose { font-size: 18px; line-height: 1.8; color: #1E2933; overflow-wrap: break-word; }
.prc-prose > * + * { margin-top: 1em; }
.prc-prose p { margin: 0 0 1em; }
.prc-prose h2, .prc-prose h3, .prc-prose h4 { font-family: var(--prc-head); color: var(--prc-text); line-height: 1.3; margin: 1.6em 0 .6em; }
.prc-ew .prc-prose h2 { font-size: 26px; }
.prc-ew .prc-prose h3 { font-size: 21px; }
.prc-prose a { color: var(--prc-navy); text-decoration: underline; text-underline-offset: 3px; }
.prc-prose a:hover { color: var(--prc-red); }
.prc-prose ul, .prc-prose ol { padding-inline-start: 1.4em; margin: 0 0 1em; }
.prc-ew .prc-prose ul { list-style: disc; }
.prc-ew .prc-prose ol { list-style: decimal; }
.prc-prose li + li { margin-top: .35em; }
.prc-prose blockquote { margin: 1.4em 0; padding: 4px 18px; border-inline-start: 3px solid var(--prc-red); color: #333E4A; font-size: 19px; }
.prc-prose img { max-width: 100% !important; height: auto !important; border-radius: 4px; }
.prc-prose iframe, .prc-prose video, .prc-prose embed, .prc-prose object { max-width: 100%; }
.prc-prose iframe[src*="youtube"], .prc-prose iframe[src*="youtu.be"], .prc-prose iframe[src*="vimeo"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; }
.prc-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.prc-prose td, .prc-prose th { border: 1px solid var(--prc-line); padding: 6px 10px; }
.prc-prose [style*="width"] { max-width: 100% !important; }
/* Imported Word/legacy markup: one type scale and font in the article body (bold, italics, colours and alignment stay). */
.prc-prose [style*="font-size"], .prc-prose font[size] { font-size: inherit !important; }
.prc-prose [style*="font-family"], .prc-prose font[face] { font-family: inherit !important; }
.prc-prose [style*="line-height"] { line-height: inherit !important; }
.prc-prose p[style*="margin"], .prc-prose span[style*="margin"], .prc-prose p[style*="text-indent"] { margin-inline: 0 !important; text-indent: 0 !important; }
@media (max-width: 600px) { .prc-prose { font-size: 17px; line-height: 1.75; } }

.prc-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-block: 28px 8px; }
.prc-article__tags-label { font-size: 13px; font-weight: 700; color: var(--prc-muted); }
.prc-article__foot { margin-block: 20px 8px; padding-block: 16px; border-top: 1px solid var(--prc-line); border-bottom: 1px solid var(--prc-line); }

/* Chips */
.prc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prc-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border: 1px solid var(--prc-line); border-radius: 999px; background: #fff; color: var(--prc-navy) !important; font-size: 13px; font-weight: 500; }
.prc-chip:hover { border-color: var(--prc-red); color: var(--prc-red) !important; }

/* Responses */
.prc-responses { margin-block: 32px 8px; }
.prc-responses__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--prc-line); padding-bottom: 10px; margin-bottom: 16px; }
.prc-ew .prc-responses__title { font-size: 22px; font-weight: 800; color: var(--prc-text); }
.prc-responses__count { font-weight: 500; color: var(--prc-muted); font-size: 16px; }
.prc-btn--outline { background: #fff; color: var(--prc-navy) !important; border-color: var(--prc-navy); }
.prc-btn--outline:hover { background: var(--prc-navy); color: #fff !important; }
.prc-js .prc-responses__form:not(.is-open) { display: none; }
.prc-responses__form { padding: 20px; background: var(--prc-alt); border-radius: var(--prc-radius); margin-bottom: 20px; }
.prc-field { display: grid; gap: 6px; margin-bottom: 14px; }
.prc-field label { font-size: 14px; font-weight: 700; }
.prc-field input, .prc-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #C9D1D8; border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--prc-text); }
.prc-field input:focus, .prc-field textarea:focus { outline: 2px solid var(--prc-red); outline-offset: 1px; border-color: transparent; }
.prc-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prc-responses__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.prc-responses__note { font-size: 13px; color: var(--prc-muted); }
.prc-responses__msg:empty { display: none; }
.prc-responses__msg { margin-bottom: 12px; padding: 10px 12px; border-radius: 4px; background: #fff; border-inline-start: 3px solid var(--prc-navy); font-size: 14px; }
.prc-responses__msg.is-error { border-inline-start-color: var(--prc-red); }
.prc-responses__list { font-size: 15px; line-height: 1.6; }
.prc-responses__list > * { border-bottom: 1px solid var(--prc-line); padding-block: 10px; }
.prc-responses__list a { color: var(--prc-navy); font-weight: 700; cursor: pointer; }
.prc-responses__list table { width: 100%; border-collapse: collapse; }
.prc-responses__list img { display: none; }
.prc-responses__empty { color: var(--prc-muted); font-size: 14px; }

/* Video page */
.prc-videopage__player { max-width: 960px; margin-block-end: 24px; }
.prc-video__frame--lg { border-radius: var(--prc-radius); }
.prc-video__frame--lg .prc-video__icon { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.prc-videopage__body { max-width: 780px; }

/* Related */
.prc-related { margin-block-start: 48px; }

/* Archive / search / 404 */
.prc-archive__head { padding-block: 8px 22px; margin-block-end: 26px; border-bottom: 1px solid var(--prc-line); }
.prc-archive__type { color: var(--prc-red); font-weight: 800; font-size: 13px; margin-block-end: 2px; }
.prc-ew .prc-archive__title { font-family: var(--prc-head); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; color: var(--prc-text); margin-block-end: 10px; }
.prc-archive__page { font-weight: 500; font-size: .6em; color: var(--prc-muted); }
.prc-archive__desc { max-width: 820px; font-size: 18px; line-height: 1.65; color: #333E4A; margin-block-end: 14px; }
.prc-archive__count { margin-block-start: 12px; font-size: 13px; color: var(--prc-muted); }
.prc-archive__head .prc-chips { margin-block-start: 12px; }
.prc-archive__lead { margin-block-end: 28px; max-width: 900px; }
.prc-archive__lead.prc-lead--text .prc-card--lead { padding: 28px; background: var(--prc-alt); border-radius: var(--prc-radius); border-top: 4px solid var(--prc-red); }
.prc-archive__lead.prc-lead--text .prc-card--lead .prc-card__body { border: 0; padding: 0; }
.prc-ew .prc-rows .prc-card--row .prc-card__title { font-size: 20px; }
.prc-empty { padding: 24px; background: var(--prc-alt); border-radius: var(--prc-radius); font-size: 17px; line-height: 1.65; }
.prc-empty .prc-chips { margin-top: 14px; }
.prc-search--lg { max-width: 640px; margin-block: 12px 4px; }
.prc-search--lg .prc-search__input { font-size: 17px; padding: 12px 16px !important; }

/* Pagination */
.prc-pagination { margin-block: 32px 8px; }
.prc-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.prc-pagination a, .prc-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 12px; border: 1px solid var(--prc-line); border-radius: 4px; font-weight: 700; font-size: 15px; color: var(--prc-navy); background: #fff; }
.prc-pagination a:hover { border-color: var(--prc-navy); color: var(--prc-red); }
.prc-pagination .current { background: var(--prc-navy); border-color: var(--prc-navy); color: #fff; }
.prc-pagination .dots { border: 0; min-width: 24px; }

/* Print */
@media print {
	.prc-site [data-elementor-type], .prc-article__foot, .prc-mast, .prc-catnav, .prc-updates, .prc-share, .prc-article__aside, .prc-responses, .prc-related, .prc-crumbs, .prc-skip, #wpadminbar, .prc-ad, .prc-ad-band { display: none !important; }
	.prc-article__layout { display: block; }
	.prc-article__head { border: 0; }
	.prc-prose { font-size: 12pt; line-height: 1.6; color: #000; }
	.prc-prose a { color: #000; text-decoration: none; }
	body.prc-site { background: #fff; }
}

/* ------------------------------------------------------------------
 * Page shell: theme pages and PR-Center Core routes (office pages,
 * offices, listings, forms, static pages) inside the new design.
 * The markup is the theme's own; these rules restyle it.
 * ------------------------------------------------------------------ */
.prc-page-wrap { padding-block-end: 48px; }
.prc-page__head { max-width: 1040px; padding-block-end: 16px; border-bottom: 1px solid var(--prc-line); margin-block-end: 24px; }
.prc-ew .prc-page__title { font-family: var(--prc-head); font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; color: var(--prc-text); margin: 4px 0 0; overflow-wrap: anywhere; }
.prc-legacy { max-width: 1040px; font-size: 16px; line-height: 1.75; color: #1E2933; overflow-wrap: break-word; }
.prc-legacy p { margin: 0 0 1em; }
.prc-legacy h2, .prc-legacy h3, .prc-legacy h4 { font-family: var(--prc-head); color: var(--prc-text); line-height: 1.3; margin: 1.2em 0 .5em; }
.prc-ew .prc-legacy h2 { font-size: 22px; font-weight: 800; }
.prc-ew .prc-legacy h3 { font-size: 19px; font-weight: 800; }
.prc-legacy a { color: var(--prc-navy); }
.prc-legacy a:hover { color: var(--prc-red); }
.prc-legacy font { font-family: inherit !important; font-size: inherit !important; }
.prc-legacy .red, .prc-legacy #red { color: var(--prc-red) !important; }
.prc-legacy .mtext, .prc-legacy .mtext_small, .prc-legacy .mtext_med { font-size: inherit; }
.prc-legacy img { max-width: 100%; height: auto; }
.prc-legacy [style*="width"] { max-width: 100%; }
/* Decorative legacy box corners, spacers and placeholder logos. */
.prc-legacy img[src*="/images/spacer"], .prc-legacy img[src*="/images/default_"], .prc-legacy img[src*="/images/home"], .prc-legacy img[src*="/images/box_"], .prc-legacy img[src*="/images/corner"] { display: none !important; }
.prc-legacy table { border-collapse: collapse; max-width: 100%; }
.prc-legacy table, .prc-legacy tr, .prc-legacy td, .prc-legacy th { background: none !important; border-color: var(--prc-line); }
.prc-legacy td, .prc-legacy th { padding: 6px 8px; vertical-align: top; text-align: start; }
.prc-legacy th { font-weight: 700; font-size: 14px; color: var(--prc-text); white-space: nowrap; }

/* Forms */
.prc-legacy form { margin-block: 8px 20px; }
.prc-legacy form table { width: 100%; max-width: 760px; }
.prc-legacy input[type="text"], .prc-legacy input[type="password"], .prc-legacy input[type="email"], .prc-legacy input[type="tel"], .prc-legacy input[type="number"], .prc-legacy input[type="url"], .prc-legacy input[type="search"], .prc-legacy input:not([type]), .prc-legacy select, .prc-legacy textarea {
	width: 100%; max-width: 480px; min-height: 44px; padding: 10px 12px; border: 1px solid #C9D1D8; border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--prc-text); box-sizing: border-box;
}
.prc-legacy textarea { min-height: 140px; max-width: 640px; }
.prc-legacy input:focus, .prc-legacy select:focus, .prc-legacy textarea:focus { outline: 2px solid var(--prc-red); outline-offset: 1px; border-color: transparent; }
.prc-legacy input[type="checkbox"], .prc-legacy input[type="radio"] { width: 18px; height: 18px; accent-color: var(--prc-navy); vertical-align: middle; }
/* Only the form's own buttons: the WordPress editor (TinyMCE / quicktags) keeps its skin. */
.prc-legacy input[type="submit"], .prc-legacy input[type="button"]:not(.ed_button):not([class*="mce"]), .prc-legacy input[type="reset"], .prc-legacy button[type="submit"], .prc-legacy button:not([type]):not([class]) {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 1px solid transparent; border-radius: 4px; background: var(--prc-red); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .2s;
}
.prc-legacy input[type="submit"]:hover, .prc-legacy input[type="button"]:not(.ed_button):not([class*="mce"]):hover, .prc-legacy button[type="submit"]:hover, .prc-legacy button:not([type]):not([class]):hover { background: #B8262B; }
.prc-legacy input[type="reset"] { background: #fff; color: var(--prc-navy); border-color: var(--prc-navy); }
.prc-legacy .wp-editor-wrap { max-width: 640px; }
.prc-legacy .wp-editor-wrap input, .prc-legacy .wp-editor-wrap textarea { max-width: none; min-height: 0; }
/* Image buttons replaced by real buttons (prc-site.js); the image input stays and submits. */
.prc-legacy .prc-legacy-btn { margin: 6px 0 6px 8px; text-decoration: none !important; }
.prc-legacy .prc-legacy-btn img { display: none !important; }
.prc-legacy .prc-legacy-imgbtn { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; }
/* Legacy fixed box heights and theme background images. */
.prc-legacy [style*="height"]:not(img):not(iframe):not(video):not(textarea):not(input) { height: auto !important; min-height: 0 !important; }
.prc-legacy [style*="assets/images/"], .prc-legacy [background*="images/"] { background-image: none !important; }
.prc-legacy form table td, .prc-legacy form table th { padding-block: 8px; }
.prc-legacy form table th, .prc-legacy form table td:first-child:not(:only-child) { width: 1%; padding-inline-end: 16px; font-weight: 700; font-size: 14px; white-space: nowrap; }

/* Article / office / video lists (theme markup: #CategoryBox, #OfficeAritlceBox items) */
.prc-legacy #CategoryBox, .prc-legacy #OfficeAritlceBox { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-areas: "thumb title" "thumb text" "thumb more"; align-content: start; column-gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--prc-line); height: auto !important; }
.prc-legacy #CategoryBox > :not(#Thumbnail):not(h2):not(#Text):not(div), .prc-legacy #CategoryBox > table { grid-column: 1 / -1; }
.prc-legacy #Thumbnail { grid-area: thumb; }
.prc-legacy #Thumbnail img { display: block; width: 132px !important; height: 92px !important; object-fit: cover; border-radius: var(--prc-radius); background: var(--prc-alt); }
.prc-legacy #CategoryBox h2, .prc-legacy #OfficeAritlceBox h2 { grid-area: title; margin: 0 0 6px; font-size: 19px; line-height: 1.35; font-weight: 800; }
.prc-legacy #CategoryBox h2 a, .prc-legacy #OfficeAritlceBox h2 a { color: var(--prc-text) !important; text-decoration: none; }
.prc-legacy #CategoryBox h2 a:hover, .prc-legacy #OfficeAritlceBox h2 a:hover { color: var(--prc-red) !important; }
.prc-legacy #Text { grid-area: text; font-size: 15px; line-height: 1.65; color: var(--prc-muted); }
.prc-legacy #CategoryBox > div:last-child:not(#Text):not(#Thumbnail), .prc-legacy #OfficeAritlceBox > div:last-child:not(#Text):not(#Thumbnail) { grid-area: more; margin-top: 6px; }
.prc-legacy a.mcats { font-size: 13px; font-weight: 700; color: var(--prc-red); text-decoration: none; }
.prc-legacy a.mcats img { display: none; }
.prc-legacy a.mcats::after { content: " ›"; }
/* Items without a picture (the theme prints its logo as a placeholder): text only. */
.prc-legacy #CategoryBox:has(#Thumbnail img[src*="assets/images/logo"]), .prc-legacy #OfficeAritlceBox:has(#Thumbnail img[src*="assets/images/logo"]), .prc-legacy #CategoryBox:not(:has(#Thumbnail img)), .prc-legacy #OfficeAritlceBox:not(:has(#Thumbnail img)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "more"; }
.prc-legacy #Thumbnail:has(img[src*="assets/images/logo"]), .prc-legacy #Thumbnail:not(:has(img)) { display: none; }
/* Intro box at the top of a listing (no title): plain text. */
.prc-legacy #CategoryBox:not(:has(h2)) { display: block; padding-block: 0 18px; color: #1E2933; }
/* Pagination */
.prc-legacy #CategoryBoxBottom, .prc-legacy .prc-legacy-pages { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-block: 24px 8px; font-size: 0; }
.prc-legacy #CategoryBoxBottom > *, .prc-legacy #CategoryBoxBottom a, .prc-legacy #CategoryBoxBottom b { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--prc-line); border-radius: 4px; background: #fff; font-size: 15px !important; font-weight: 700; color: var(--prc-navy); text-decoration: none; }
.prc-legacy #CategoryBoxBottom b { background: var(--prc-navy); border-color: var(--prc-navy); color: #fff; }
.prc-legacy #CategoryBoxBottom a:hover { border-color: var(--prc-red); color: var(--prc-red); }

/* Containers of floated legacy blocks: never collapse. */
.prc-legacy div:has(> [style*="float"])::after { content: ""; display: table; clear: both; }

/* Personal area (my-articles): article rows */
.prc-legacy form#ClientArticles > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 12px; margin: 0 !important; }
.prc-legacy form#ClientArticles > div > div { float: none !important; width: auto !important; text-align: start !important; }
.prc-legacy form#ClientArticles > div > div:nth-child(2) { flex: 1 1 320px; }
.prc-legacy form#ClientArticles > div > div:first-child { display: flex; align-items: center; gap: 10px; }
.prc-legacy form#ClientArticles > div > div:first-child img { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; }
.prc-legacy form#ClientArticles h2 { margin: 0; font-size: 17px; line-height: 1.4 !important; }
.prc-legacy form#ClientArticles > div > div:last-child h2 { font-size: 14px; font-weight: 700; color: var(--prc-muted) !important; }
.prc-legacy #ClientArticlesBox > div:first-child:has(a[href*="post-article"]) { background: none; padding: 0; }

/* Office page */
.prc-legacy #ClientArticlesBox > div:first-child { display: inline-block; max-width: 100%; margin-block-end: 18px; padding: 12px 16px; border-radius: var(--prc-radius); background: var(--prc-alt); font-size: 15px; }
.prc-legacy #ClientArticlesBox > div:first-child td { padding: 4px 10px 4px 0; }
.prc-legacy #ContactPage { display: grid; gap: 8px; margin-block: 8px 28px; padding: 20px; border: 1px solid var(--prc-line); border-radius: var(--prc-radius); }
.prc-legacy #ContactPage h3 { margin-top: 0; }
.prc-legacy #ClientArticlesBox img:not(#Thumbnail img) { max-width: min(100%, 360px); height: auto; }
.prc-legacy #ClientArticlesBox table:has(+ *) th, .prc-legacy #ClientArticlesBox > div > table th { white-space: normal; }

/* ------------------------------------------------------------------
 * Account forms (PRC_EW_Forms): registration / profile, article
 * submission, password reminder. Card, numbered sections, labels above
 * the fields, a 6-column field grid on wide screens, one column on phones.
 * ------------------------------------------------------------------ */
.prc-legacy #RegisterBox { max-width: 880px; }
.prc-legacy #RegisterBox > p:has(+ form), .prc-legacy #RegisterBox > p:has(+ font + form) { margin-block: 24px 0; font-size: 17px; color: var(--prc-text); }
/* "Already registered?" note of the registration page (page content; button added by prc-site.js). */
.prc-legacy .prc-callout, .prc-legacy #RegisterBox p:has(font[color="#ff0000" i]) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-block: 20px; padding: 16px 20px; border-inline-start: 4px solid var(--prc-red); border-radius: var(--prc-radius); background: var(--prc-alt); font-size: 15px; line-height: 1.6; }
.prc-legacy .prc-callout font, .prc-legacy #RegisterBox p:has(font[color="#ff0000" i]) font { color: var(--prc-text) !important; }
.prc-legacy .prc-callout u, .prc-legacy #RegisterBox p:has(font[color="#ff0000" i]) u { text-decoration: none; }
.prc-legacy .prc-callout > strong { flex: 1 1 320px; }
.prc-legacy .prc-callout__btn { flex: none; }

.prc-legacy .prc-form { counter-reset: prc-step; max-width: 880px; margin-block: 16px 32px; padding: 28px 32px 32px; background: #fff; border: 1px solid var(--prc-line); border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 43, 70, .04), 0 10px 30px rgba(16, 43, 70, .06); }
.prc-legacy .prc-form--forgot, .prc-legacy .prc-form--reset { max-width: 520px; padding: 24px; }
.prc-ew .prc-legacy .prc-form__title { display: flex; align-items: center; gap: 12px; margin: 32px 0 20px; padding-top: 28px; border-top: 1px solid var(--prc-line); font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--prc-navy); }
.prc-ew .prc-legacy .prc-form > .prc-form__title:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prc-legacy .prc-form__title::before { counter-increment: prc-step; content: counter(prc-step); flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--prc-red); color: #fff; font-size: 15px; font-weight: 800; line-height: 1; }
.prc-legacy .prc-form__group { border: 0 !important; }

/* Field tables → grid of fields (only the form's own tables, not the image slots inside them). */
.prc-legacy .prc-form > table, .prc-legacy .prc-form > div > table { display: block; width: 100% !important; max-width: none; margin: 0; border: 0; }
.prc-legacy .prc-form > table + table, .prc-legacy .prc-form > div + table { margin-top: 20px; }
.prc-legacy .prc-form > table > tbody, .prc-legacy .prc-form > div > table > tbody { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 20px; }
.prc-legacy .prc-form > table > tbody > tr, .prc-legacy .prc-form > div > table > tbody > tr { display: flex; flex-direction: column; gap: 7px; grid-column: 1 / -1; min-width: 0; }
.prc-legacy .prc-form > table > tbody > tr > th, .prc-legacy .prc-form > table > tbody > tr > td, .prc-legacy .prc-form > div > table > tbody > tr > th, .prc-legacy .prc-form > div > table > tbody > tr > td { display: block; width: auto !important; padding: 0 !important; text-align: start !important; white-space: normal !important; vertical-align: top; }
.prc-legacy .prc-form th { font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--prc-text); }
.prc-legacy .prc-form th label { cursor: pointer; }
.prc-legacy .prc-form .red { margin-inline-start: 2px; }
.prc-legacy .prc-form .prc-f__hint { font-size: 13px; font-weight: 400; color: var(--prc-muted); }
.prc-legacy .prc-form td > .prc-f__hint { display: block; margin-top: 6px; }

.prc-form--register .prc-f--firstname, .prc-form--register .prc-f--lastname,
.prc-form--register .prc-f--street, .prc-form--register .prc-f--city,
.prc-form--register .prc-f--www, .prc-form--register .prc-f--logo,
.prc-form--register .prc-f--usernameshown, .prc-form--register .prc-f--email,
.prc-form--register .prc-f--password, .prc-form--register .prc-f--password2 { grid-column: span 3 !important; }
.prc-form--register .prc-f--phone, .prc-form--register .prc-f--cellphone, .prc-form--register .prc-f--fax { grid-column: span 2 !important; }

/* Controls */
.prc-legacy .prc-form input[type="text"], .prc-legacy .prc-form input[type="password"], .prc-legacy .prc-form input[type="email"], .prc-legacy .prc-form input[type="tel"], .prc-legacy .prc-form input[type="url"], .prc-legacy .prc-form input:not([type]), .prc-legacy .prc-form select, .prc-legacy .prc-form textarea {
	display: block; width: 100% !important; max-width: none; height: 48px; min-height: 48px; padding: 10px 14px; border: 1px solid #C2CBD3; border-radius: 6px; background: #fff; font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
.prc-legacy .prc-form textarea { height: auto; min-height: 96px; resize: vertical; }
.prc-legacy .prc-form select { padding-block: 0; }
.prc-legacy .prc-form input:hover:not(:disabled), .prc-legacy .prc-form select:hover, .prc-legacy .prc-form textarea:hover { border-color: #93A1AE; }
.prc-legacy .prc-form input:disabled { background: var(--prc-alt); color: var(--prc-muted); cursor: not-allowed; }
.prc-legacy .prc-form input[type="file"] { display: block; width: 100% !important; max-width: none; padding: 8px; border: 1px dashed #B3BEC8; border-radius: 6px; background: var(--prc-alt); font-size: 14px; color: var(--prc-muted); cursor: pointer; }
.prc-legacy .prc-form input[type="file"]::file-selector-button { margin-inline-end: 12px; padding: 8px 16px; border: 1px solid var(--prc-navy); border-radius: 4px; background: #fff; color: var(--prc-navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.prc-legacy .prc-form input[type="file"]:hover::file-selector-button { background: var(--prc-navy); color: #fff; }
.prc-legacy .prc-form .prc-f--logo img { display: block; width: auto !important; max-width: 140px; max-height: 80px; margin-top: 10px; padding: 6px; border: 1px solid var(--prc-line); border-radius: 6px; background: #fff; }

/* Two controls in one row: street + number, city + zip code. */
.prc-legacy .prc-form .prc-f--street > td, .prc-legacy .prc-form .prc-f--city > td { display: flex !important; align-items: center; gap: 10px; }
.prc-legacy .prc-form .prc-f--street > td > input:first-child, .prc-legacy .prc-form .prc-f--city > td > input:first-child { flex: 1 1 auto; min-width: 0; }
.prc-legacy .prc-form #StreetNum { flex: 0 0 76px; width: 76px !important; }
.prc-legacy .prc-form #ZipCode { flex: 0 0 112px; width: 112px !important; }
.prc-legacy .prc-form .prc-f__sub { flex: none; font-size: 14px; font-weight: 700; color: var(--prc-muted); cursor: pointer; }

/* WordPress editors (about the office, signature, article body). */
.prc-legacy .prc-form .wp-editor-wrap { max-width: none; border: 1px solid #C2CBD3; border-radius: 6px; overflow: hidden; }
.prc-legacy .prc-form .wp-editor-container, .prc-legacy .prc-form .mce-tinymce, .prc-legacy .prc-form .mce-panel { border: 0 !important; box-shadow: none !important; }

/* Security code: field and picture side by side. */
.prc-legacy .prc-form .prc-f--strcaptcha > td { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px; }
.prc-legacy .prc-form #strCAPTCHA { flex: 0 0 180px; width: 180px !important; letter-spacing: .08em; }
.prc-legacy .prc-form .prc-f--strcaptcha img { display: block; height: 48px; width: auto; padding: 4px 12px; border: 1px solid var(--prc-line) !important; border-radius: 6px; background: #fff; }

/* Mailing list / terms */
.prc-legacy .prc-form .prc-f--checks > th { display: grid !important; gap: 12px; font-size: 15px; font-weight: 400; }
.prc-legacy .prc-check { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; cursor: pointer; }
.prc-legacy .prc-check input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; cursor: pointer; }
.prc-legacy .prc-check a.mcats { font-size: inherit; font-weight: 700; color: var(--prc-navy); text-decoration: underline; }
.prc-legacy .prc-check a.mcats::after { content: none; }

/* Buttons */
.prc-legacy .prc-form .prc-f--actions { padding-top: 8px; }
.prc-legacy .prc-form .prc-form__actions { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px; }
.prc-legacy .prc-form .prc-form__actions .prc-legacy-btn { margin: 0; min-height: 52px; min-width: 200px; padding: 12px 36px; border-radius: 6px; font-size: 17px; }

/* Article submission: caption rows sit close to their block below; image slots as cards. */
.prc-form--article .prc-f--caption + .prc-f--block { margin-top: -11px; }
.prc-form--article .prc-f--articletitle > td, .prc-form--article .prc-f--articlesubtitle > td, .prc-form--article .prc-f--articledescription > td, .prc-form--article .prc-f--block > td { font-size: 13px; color: var(--prc-muted); }
.prc-form--article .prc-f > td > input + br, .prc-form--article .prc-f > td > textarea + br { display: none; }
.prc-legacy .prc-form__images table, .prc-legacy .prc-form__images tbody { display: block; width: 100% !important; max-width: none; }
.prc-legacy .prc-form__images tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.prc-legacy .prc-form__images td { display: flex !important; flex-direction: column; gap: 8px; width: auto !important; padding: 12px !important; border: 1px dashed #B3BEC8; border-radius: 6px; background: var(--prc-alt); font-size: 14px; font-weight: 700; color: var(--prc-text); white-space: normal; }
.prc-legacy .prc-form__images img[src*="camera"] { display: none; }
.prc-legacy .prc-form__images img.prc-slot { width: 100%; height: 96px; object-fit: cover; border-radius: 4px; }
.prc-legacy .prc-form__images input[type="file"] { padding: 6px; border: 1px solid var(--prc-line); background: #fff; font-size: 13px; }
.prc-legacy .prc-form__images input[type="file"]::file-selector-button { padding: 6px 10px; font-size: 13px; }

/* Password reminder */
.prc-legacy .prc-form--forgot table, .prc-legacy .prc-form--forgot tbody, .prc-legacy .prc-form--forgot tr, .prc-legacy .prc-form--forgot td { display: block; width: auto !important; max-width: none; padding: 0 !important; border: 0; text-align: start !important; white-space: normal !important; }
.prc-legacy .prc-form--forgot tr + tr { margin-top: 18px; }
.prc-legacy .prc-form--forgot .prc-form__caption { margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.prc-legacy .prc-form--forgot input[type="text"] { display: block; width: 100% !important; max-width: none; height: 48px; border-radius: 6px; }

@media (max-width: 720px) {
	.prc-legacy .prc-form { padding: 20px 16px 24px; border-radius: 8px; }
	.prc-ew .prc-legacy .prc-form__title { font-size: 17px; }
	.prc-legacy .prc-form > table > tbody, .prc-legacy .prc-form > div > table > tbody { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.prc-legacy .prc-form > table > tbody > tr, .prc-legacy .prc-form > div > table > tbody > tr { grid-column: 1 / -1 !important; }
	.prc-legacy .prc-form .prc-form__actions .prc-legacy-btn { flex: 1 1 100%; min-width: 0; }
	.prc-legacy .prc-form__images tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.prc-legacy .prc-callout__btn { width: 100%; }
}

@media (max-width: 640px) {
	.prc-legacy td, .prc-legacy th { overflow-wrap: anywhere; }
	.prc-legacy #ClientArticlesBox > div:first-child { display: block; }
	.prc-legacy #ClientArticlesBox > div:first-child tr { display: flex; flex-wrap: wrap; gap: 2px 14px; }
	.prc-legacy #ClientArticlesBox > div:first-child td { padding: 2px 0; }
	.prc-legacy form table, .prc-legacy form tbody, .prc-legacy form tr, .prc-legacy form td, .prc-legacy form th { display: block; width: 100% !important; }
	.prc-legacy form table th, .prc-legacy form table td:first-child:not(:only-child) { padding-block-end: 0; white-space: normal; }
	.prc-legacy table[width], .prc-legacy td[width] { width: auto !important; }
	.prc-legacy #CategoryBox, .prc-legacy #OfficeAritlceBox { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
	.prc-legacy #Thumbnail img { width: 96px !important; height: 72px !important; }
	.prc-legacy #CategoryBox h2, .prc-legacy #OfficeAritlceBox h2 { font-size: 17px; }
	.prc-legacy #Text { font-size: 14px; }
}
