/* 1.2.20: enquiry introduction, landing-page service label and desktop-only
   Biography portrait sizing. Existing form controls/handlers are not restyled. */
.jc-enquiry-page .jc-enquiry-main{max-width:1200px;margin-inline:auto;padding:40px 32px 54px;min-width:0}
.jc-enquiry-page .jc-enquiry-main:focus{outline:none}
.jc-enquiry-page .jc-enquiry-heading{text-align:center;margin:0 auto 28px;max-width:850px}
.jc-enquiry-page .jc-enquiry-heading h1{font-family:var(--jc-heading-face);font-size:clamp(34px,4.2vw,52px);font-weight:400;line-height:1.16;letter-spacing:-.025em;color:var(--jc-ink);text-wrap:balance}
.jc-enquiry-page .jc-enquiry-heading .jc-divider{margin:22px auto 0}
.jc-enquiry-page .jc-enquiry-intro-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:38px;align-items:center}
.jc-enquiry-page .jc-enquiry-artwork{width:100%;margin:0;min-width:0;border:1px solid var(--jc-line);border-radius:3px;overflow:hidden;background:var(--jc-navy);box-shadow:0 5px 18px #122b3d12}
.jc-enquiry-page .jc-enquiry-artwork img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;margin:0}
.jc-enquiry-page .jc-enquiry-copy{min-width:0;max-width:680px;margin:0 auto;color:var(--jc-ink);font-size:19px;line-height:1.75}
.jc-enquiry-page .jc-enquiry-copy p{font:inherit;margin:0}
.jc-enquiry-page .jc-enquiry-copy p+p{margin-top:1em}
.jc-enquiry-page .jc-enquiry-form-wrap{max-width:760px;margin:38px auto 0;padding-top:30px;border-top:1px solid var(--jc-line)}
.jc-enquiry-page .jc-enquiry-existing{min-width:0}
/* Only superseded editorial nodes before the existing form are hidden.
   No node containing a form, field, iframe, script or style is hidden. */
.jc-enquiry-page .jc-enquiry-previous-intro{display:none!important}
@supports selector(:has(form)){
 .jc-enquiry-page .jc-enquiry-existing>:is(h1,h2,h3,h4,h5,h6,p,hr,figure.kg-image-card,figure.kg-bookmark-card):has(~ form,~ :is(div,section,article) form):not(:has(form,input,textarea,select,button,iframe,script,style)){display:none}
}
@media(max-width:1000px){
 .jc-enquiry-page .jc-enquiry-intro-grid{grid-template-columns:minmax(0,1fr);gap:25px;max-width:820px;margin-inline:auto}
 .jc-enquiry-page .jc-enquiry-form-wrap{margin-top:30px}
}
@media(max-width:700px){
 .jc-enquiry-page .jc-enquiry-main{padding:28px 22px 38px}
 .jc-enquiry-page .jc-enquiry-heading{margin-bottom:24px}
 .jc-enquiry-page .jc-enquiry-heading .jc-divider{margin-top:18px}
 .jc-enquiry-page .jc-enquiry-intro-grid{gap:23px}
 .jc-enquiry-page .jc-enquiry-copy{font-size:17px;line-height:1.7}
 .jc-enquiry-page .jc-enquiry-form-wrap{margin-top:28px;padding-top:24px}
}
/* The longer landing-page card name wraps naturally; the card stays fully clickable. */
.jc-home #jc-services-title{overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance}
/* Mobile and tablet Biography rules are deliberately untouched.
   The only size override begins at 1024px. The known portrait or the first
   leading image card is targeted; subsequent figures and diagrams are not. */
@media(min-width:1024px){
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .fs-section-featured-image .gh-article-media,
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .gh-content>.kg-image-card:is(:first-child,:has(img[src*="IMG_8269"])),
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .gh-content .jc-biography-portrait{
   display:block;width:100%;max-width:420px;min-width:0;height:auto;min-height:0;aspect-ratio:auto;
   margin-left:auto;margin-right:auto;translate:none;transform:none;float:none;
 }
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .fs-section-featured-image .gh-article-media :is(figure,picture),
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .gh-content>.kg-image-card:is(:first-child,:has(img[src*="IMG_8269"])) picture,
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .jc-biography-portrait picture{
   display:block;width:100%;max-width:420px;height:auto;min-height:0;aspect-ratio:auto;margin-inline:auto;
 }
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .fs-section-featured-image .gh-article-media img,
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .gh-content>.kg-image-card:is(:first-child,:has(img[src*="IMG_8269"])) img,
 .jc-page:is([data-jc-page="bio"],[data-jc-page="biography"]) .jc-biography-portrait img{
   display:block;width:100%;max-width:420px;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;margin-inline:auto;
 }
}
