/* Compact homepage profiles; full biographies stay on the Curators page. */
.upoty-site .upc-section,.upoty-site .upc-section *{box-sizing:border-box}
.upoty-site .upc-section{padding:64px 24px 28px;background:var(--upoty-paper,#ece8e1);color:var(--upoty-ink,#1b2440);scroll-margin-top:120px}
.upoty-site .upc-inner{max-width:980px;width:100%;margin:0 auto}
.upoty-site .upc-header{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:32px}
.upoty-site .upc-title{margin:0;padding:0;font:500 clamp(32px,4vw,50px)/1.2 var(--upoty-heading-font,"Manrope",Arial,sans-serif);letter-spacing:-.03em;color:inherit}
.upoty-site .upc-all{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:inherit;font-size:15px;line-height:1.4;font-weight:600;text-decoration:none}
.upoty-site .upc-all{flex-shrink:0;gap:8px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#b43d25}
.upoty-site .upc-all:hover{background:transparent;color:var(--upoty-ink,#1b2440);text-decoration:underline;text-underline-offset:4px}
.upoty-site .upc-profiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(144px,1fr));gap:28px 22px;padding:32px;background:transparent;border:0;border-radius:0;box-shadow:none}
.upoty-site .upc-card{min-width:0;margin:0;padding:0;text-align:center;background:none}
.upoty-site .upc-profile-link{display:flex;flex-direction:column;align-items:center;gap:18px;color:inherit;text-decoration:none}
.upoty-site .upc-photo{display:block;width:144px;height:144px;max-width:100%;margin:0 auto;border-radius:50%;object-fit:cover;aspect-ratio:1;background:#e0dcd5}
.upoty-site .upc-initials{display:flex;align-items:center;justify-content:center;font:600 42px/1 var(--upoty-heading-font,"Manrope",Arial,sans-serif)}
.upoty-site .upc-name{margin:0;padding:0;color:inherit;font:600 19px/1.35 var(--upoty-heading-font,"Manrope",Arial,sans-serif);letter-spacing:-.02em;overflow-wrap:anywhere}
.upoty-site .upc-role{margin:9px 0 0;padding:0;color:var(--upoty-steel,#5f6577);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.upoty-site .upc-profile-link:hover .upc-name{color:var(--upoty-link,#08746b)}
.upoty-site .uha-section:has(+ #home-curators){padding-bottom:16px}
.upoty-site .upc-home{padding-top:16px;padding-bottom:0}
.upoty-site #home-curators + #home-faq{padding-top:24px}
.upoty-site .upc-home .upc-header{margin-bottom:12px}
.upoty-site .upc-home .upc-photo{width:144px;height:144px}
.upoty-site .upc-home .upc-profile-link{gap:12px}
.upoty-site .upc-single{display:block;width:fit-content;max-width:100%;padding:0 24px}
.upoty-site .upc-single .upc-card{display:block;text-align:center}
.upoty-site .upc-single .upc-name,.upoty-site .upc-single .upc-role{text-align:center}
.upoty-site .upc-single .upc-profile-link{flex-direction:column;gap:12px;align-items:center}
.upoty-site .upc-identity{min-width:0}
.upoty-site .upc-single .upc-photo{width:144px;height:144px;flex:0 0 144px}
.upoty-site .upc-single .upc-name{font-size:22px;line-height:1.25}
.upoty-site .upc-single .upc-role{font-size:15px}
.upoty-site .upc-directory{padding-top:72px;padding-bottom:88px}
.upoty-site .upc-eyebrow{font-size:13px;letter-spacing:.14em;font-weight:600;color:var(--upoty-link,#08746b);margin:0 0 14px;padding:0}
.upoty-site .upc-biography{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;margin-top:36px;padding:40px 0;border-top:1px solid #cbc7c1;scroll-margin-top:160px}
.upoty-site .upc-biography .upc-photo{width:200px;height:200px}
.upoty-site .upc-biography .upc-name{font-size:32px}
.upoty-site .upc-biography .upc-role{font-size:17px}
.upoty-site .upc-bio{margin-top:24px;font-size:18px;line-height:1.75;color:var(--upoty-steel,#5f6577);overflow-wrap:anywhere}
.upoty-site .upc-bio p{margin:0 0 16px;padding:0;font:inherit;color:inherit}
.upoty-site .upc-section a:focus-visible,.upoty-site .upc-profiles:focus-visible{outline:3px solid var(--upoty-link,#08746b);outline-offset:5px}
@media(max-width:900px){
 .upoty-site .upc-profiles:not(.upc-single){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 .upoty-site .upc-section{padding:40px 20px 12px}
 .upoty-site .upc-header{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:24px}
 .upoty-site .upc-all{font-size:14px}
 /* Show every juror in a compact two-column grid on phones. */
 .upoty-site .upc-profiles:not(.upc-single){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;padding:16px 0 20px;overflow:visible}
 .upoty-site .upc-home .upc-profiles:not(.upc-single) .upc-card:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 16px)/2);justify-self:center}
 .upoty-site .upc-home .upc-profiles:not(.upc-single) .upc-photo{width:112px;height:112px}
 .upoty-site .upc-home .upc-profiles:not(.upc-single) .upc-profile-link{gap:10px}
 .upoty-site .upc-home .upc-profiles:not(.upc-single) .upc-identity{width:100%}
 .upoty-site .upc-home .upc-profiles:not(.upc-single) .upc-name{font-size:16px;line-height:1.35}
 .upoty-site .upc-home .upc-profiles:not(.upc-single) .upc-role{font-size:13px;line-height:1.45;margin-top:6px}
 .upoty-site .upc-home{padding-top:12px;padding-bottom:0}
 .upoty-site #home-curators + #home-faq{padding-top:20px}
 .upoty-site .upc-single{padding:0 20px}
 .upoty-site .upc-single .upc-profile-link{gap:12px}
 .upoty-site .upc-single .upc-photo{width:112px;height:112px;flex:0 0 112px;margin:0}
 .upoty-site .upc-single .upc-name{font-size:20px}
 .upoty-site .upc-single .upc-role{font-size:13px}
 .upoty-site .upc-biography{grid-template-columns:1fr;gap:24px;margin-top:24px;padding:28px 0;scroll-margin-top:120px}
 .upoty-site .upc-biography .upc-photo{width:160px;height:160px;margin:0}
 .upoty-site .upc-biography .upc-name{font-size:28px}
 .upoty-site .upc-bio{font-size:17px}
 .upoty-site .upc-directory{padding-bottom:56px}
}

/* Dedicated public profiles use the same editable curator record as the directory. */
body.upoty-curator-profile #middle>.middle_inner>.content_wrap.fullwidth{width:100%;max-width:none;padding:0}
body.upoty-curator-profile #middle>.middle_inner>.content_wrap.fullwidth>.middle_content.entry{width:100%;padding:0}
.upoty-site .upc-full-profile,.upoty-site .upc-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--upoty-link,#08746b);font-size:15px;font-weight:500;text-underline-offset:4px}
.upoty-site .upc-full-profile{margin-top:6px}
.upoty-site .upc-back{margin-bottom:28px}
.upoty-site .upc-profile-page{padding:52px 24px 80px}
.upoty-site .upc-profile-page .upc-inner{max-width:1100px}
.upoty-site .upc-profile-feature{display:grid;grid-template-columns:260px minmax(0,1fr);gap:52px;align-items:start;padding-top:32px;border-top:1px solid var(--upoty-line,#cbc7c1)}
.upoty-site .upc-profile-portrait{position:sticky;top:180px}
.upoty-site .upc-profile-page .upc-photo{width:260px;height:260px}
.upoty-site .upc-profile-page .upc-profile-title{font:600 clamp(34px,4vw,48px)/1.15 var(--upoty-heading-font,"Manrope",Arial,sans-serif);letter-spacing:-.035em;color:inherit;margin:0 0 16px;padding:0;text-transform:none}
.upoty-site .upc-profile-page .upc-role{font-size:18px;line-height:1.6;margin:0}
.upoty-site .upc-profile-page .upc-eyebrow{margin-bottom:14px}
.upoty-site .upc-profile-page .upc-bio-title{font:600 22px/1.4 var(--upoty-heading-font,"Manrope",Arial,sans-serif);color:var(--upoty-ink,#1b2440);margin:32px 0 20px;padding:0;text-transform:none}
.upoty-site .upc-bio a{color:var(--upoty-link,#08746b);text-underline-offset:4px}
@media(max-width:800px){.upoty-site .upc-profile-feature{grid-template-columns:200px minmax(0,1fr);gap:32px}.upoty-site .upc-profile-page .upc-photo{width:200px;height:200px}}
@media(max-width:600px){.upoty-site .upc-profile-page{padding:32px 20px 52px}.upoty-site .upc-profile-feature{grid-template-columns:1fr;gap:28px;padding-top:24px}.upoty-site .upc-profile-portrait{position:static}.upoty-site .upc-profile-page .upc-photo{width:180px;height:180px;margin:0}.upoty-site .upc-profile-page .upc-role{font-size:17px}.upoty-site .upc-profile-page .upc-profile-title{font-size:34px}}

.upoty-site .upc-home .upc-name,.upoty-site .upc-home .upc-role{text-align:center}

/* The directory starts directly below the site header, without the legacy page-builder rows. */
body.upoty-curator-directory #middle>.middle_inner>.content_wrap.fullwidth{width:100%;max-width:none;padding:0}
body.upoty-curator-directory #middle>.middle_inner>.content_wrap.fullwidth>.middle_content.entry{width:100%;padding:0}
.upoty-site .upc-directory{padding-top:48px}
@media(max-width:600px){.upoty-site .upc-directory{padding-top:32px}}

/* Portfolio content stays on the dedicated curator profile. Photographs retain their composition. */
.upoty-site .upc-statement{margin:44px 0 56px;padding:36px 40px;background:var(--upoty-ink,#1b2440);color:#fff;border-left:4px solid var(--upoty-coral,#ff6b4a)}
.upoty-site .upc-statement .upc-eyebrow{color:#ffb36b;font-size:13px;line-height:1.5;letter-spacing:.12em;margin:0 0 20px}
.upoty-site .upc-statement blockquote{display:block;padding:0;margin:0;border:0;background:none;color:#fff;font:400 clamp(18px,1.8vw,22px)/1.7 var(--upoty-heading-font,"Manrope",Arial,sans-serif);text-align:left}
.upoty-site .upc-statement blockquote:before,.upoty-site .upc-statement blockquote:after{content:none}
.upoty-site .upc-statement blockquote p{padding:0;margin:0 0 18px;color:inherit;font:inherit}
.upoty-site .upc-statement cite{display:block;font-style:normal;font-size:14px;color:#a9e2db;line-height:1.5;margin-top:24px}
.upoty-site .upc-portfolio-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:24px}
.upoty-site .upc-portfolio-heading h2{font:500 clamp(26px,3vw,36px)/1.25 var(--upoty-heading-font,"Manrope",Arial,sans-serif);letter-spacing:-.025em;color:inherit;padding:0;margin:0}
.upoty-site .upc-portfolio-heading p{padding:0;margin:0;font-size:14px;color:var(--upoty-steel,#5f6577)}
.upoty-site .upc-gallery{columns:2;column-gap:24px}
.upoty-site .upc-work{break-inside:avoid;display:block;margin:0 0 24px;padding:0;line-height:0}
.upoty-site .upc-work-lead{column-span:all}
.upoty-site .upc-work a{display:block;cursor:zoom-in;background:transparent}
.upoty-site .upc-work img{display:block;width:100%;height:auto;max-width:100%;border:0;border-radius:0;object-fit:contain;transition:none}
body.upc-lightbox-open{overflow:hidden}
dialog.upc-lightbox{box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;margin:0;border:0;background:#101319;color:#fff;overflow:hidden}
dialog.upc-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}
dialog.upc-lightbox::backdrop{background:#101319}
.upc-lightbox .upc-lightbox-bar,.upc-lightbox .upc-lightbox-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px}
.upc-lightbox .upc-lightbox-nav{justify-content:center}
.upc-lightbox p{color:#fff;font:400 14px/1.5 Arial,sans-serif;margin:0;padding:0}
.upc-lightbox .upc-lightbox-stage{min-height:0;display:flex;align-items:center;justify-content:center;padding:0 24px}
.upc-lightbox .upc-lightbox-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.upc-lightbox button{appearance:none;background:transparent;color:#fff;border:1px solid #6b7181;border-radius:0;min-width:48px;min-height:44px;padding:8px 16px;cursor:pointer;font:500 16px/1.5 Arial,sans-serif;letter-spacing:0;box-shadow:none;text-transform:none}
.upc-lightbox button:hover{background:#273047;color:#fff}
.upc-lightbox button:focus-visible{outline:3px solid #ff6b4a;outline-offset:3px}
@media(max-width:600px){.upoty-site .upc-statement{margin:32px 0 40px;padding:26px 22px}.upoty-site .upc-portfolio-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:20px}.upoty-site .upc-gallery{columns:1}.upoty-site .upc-work{margin-bottom:18px}.upc-lightbox .upc-lightbox-bar,.upc-lightbox .upc-lightbox-nav{padding:12px 16px}.upc-lightbox .upc-lightbox-stage{padding:0 12px}}

/* Keep the six-person jury balanced while preserving portrait sizes. */
@media(min-width:601px) and (max-width:1099px){
 .upoty-site .upc-home .upc-profiles[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1100px){
 .upoty-site .upc-home .upc-profiles[data-count="6"]{grid-template-columns:repeat(6,minmax(0,1fr));padding-inline:0}
}

/* Keep seven portraits balanced without changing their established sizes. */
@media(min-width:601px) and (max-width:1099px){
 .upoty-site .upc-home .upc-profiles[data-count="7"]{grid-template-columns:repeat(3,minmax(0,1fr))}
 .upoty-site .upc-home .upc-profiles[data-count="7"] .upc-card:last-child{grid-column:2}
}
@media(min-width:1100px){
 .upoty-site .upc-home .upc-profiles[data-count="7"]{grid-template-columns:repeat(8,minmax(0,1fr));padding-inline:0}
 .upoty-site .upc-home .upc-profiles[data-count="7"] .upc-card{grid-column:span 2}
 .upoty-site .upc-home .upc-profiles[data-count="7"] .upc-card:nth-child(5){grid-column:2 / span 2}
}

/* Eight judges use equal portrait sizes and balanced rows at every breakpoint. */
@media(min-width:601px) and (max-width:900px){
 .upoty-site .upc-home .upc-profiles[data-count="8"]{grid-template-columns:repeat(6,minmax(0,1fr))}
 .upoty-site .upc-home .upc-profiles[data-count="8"] .upc-card{grid-column:span 2}
 .upoty-site .upc-home .upc-profiles[data-count="8"] .upc-card:nth-child(7){grid-column:2 / span 2}
}
@media(min-width:901px){
 .upoty-site .upc-home .upc-profiles[data-count="8"]{grid-template-columns:repeat(4,minmax(0,1fr));padding-inline:0}
}

/* Nine judges retain equal portraits with balanced desktop and tablet rows. */
@media(min-width:601px) and (max-width:1099px){
 .upoty-site .upc-home .upc-profiles[data-count="9"]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1100px){
 .upoty-site .upc-home .upc-profiles[data-count="9"]{grid-template-columns:repeat(10,minmax(0,1fr));padding-inline:0}
 .upoty-site .upc-home .upc-profiles[data-count="9"] .upc-card{grid-column:span 2}
 .upoty-site .upc-home .upc-profiles[data-count="9"] .upc-card:nth-child(6){grid-column:2 / span 2}
}

/* Shared listing sizes are independent of the source photograph's dimensions. */
.upoty-site .upc-home,.upoty-site .upc-directory{--upc-portrait-size:144px}
.upoty-site .upc-home .upc-photo,.upoty-site .upc-directory .upc-photo{
 width:var(--upc-portrait-size);height:var(--upc-portrait-size);
 min-width:var(--upc-portrait-size);max-width:var(--upc-portrait-size);
 min-height:var(--upc-portrait-size);max-height:var(--upc-portrait-size);
 flex-shrink:0;aspect-ratio:1/1;object-fit:cover;object-position:center;border-radius:50%
}
@media(max-width:600px){
 .upoty-site .upc-home,.upoty-site .upc-directory{--upc-portrait-size:112px}
}

/* Consistent monochrome portraits, residence flags and cities. */
.upoty-site .upc-section .upc-photo{filter:grayscale(1)}
.upoty-site .upc-section .upc-name,.upoty-site .upc-section .upc-profile-title{letter-spacing:0}
.upoty-site .upc-location{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 0 0;padding:0;font-size:14px;line-height:1.45;letter-spacing:0;color:var(--upoty-ink,#1b2440)}
.upoty-site .upc-flag{display:inline-flex;align-items:center;justify-content:center;width:25px;height:22px;flex:0 0 25px;font:20px/1 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif}
.upoty-site .upc-city{min-width:0;overflow-wrap:anywhere}
.upoty-site .upc-home .upc-identity{display:flex;flex-direction:column;width:100%;min-height:145px}
.upoty-site .upc-home .upc-name{min-height:52px;display:flex;align-items:flex-end;justify-content:center}
.upoty-site .upc-home .upc-role{margin-top:8px}
.upoty-site .upc-directory .upc-location,.upoty-site .upc-profile-page .upc-location{justify-content:flex-start;margin:12px 0;font-size:16px}
@media(min-width:1100px){
 .upoty-site .upc-home .upc-profiles[data-count="10"]{grid-template-columns:repeat(5,minmax(0,1fr));padding-inline:0;row-gap:32px}
}
@media(min-width:601px) and (max-width:1099px){
 .upoty-site .upc-home .upc-profiles[data-count="10"]{grid-template-columns:repeat(3,minmax(0,1fr))}
 .upoty-site .upc-home .upc-profiles[data-count="10"] .upc-card:last-child{grid-column:2}
}
@media(max-width:600px){
 .upoty-site .upc-home .upc-identity{min-height:148px}
 .upoty-site .upc-home .upc-name{min-height:44px}
 .upoty-site .upc-location{font-size:13px;gap:5px}
 .upoty-site .upc-home .upc-location{min-height:38px;margin-top:4px}
 .upoty-site .upc-home .upc-role{margin-top:4px}
}

/* Twelve judges form complete rows without changing the shared portrait sizes. */
@media(min-width:1100px){
 .upoty-site .upc-home .upc-profiles[data-count="12"]{grid-template-columns:repeat(6,minmax(0,1fr));padding-inline:0;row-gap:32px}
}
@media(min-width:601px) and (max-width:1099px){
 .upoty-site .upc-home .upc-profiles[data-count="12"]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.upoty-site .upc-section .upc-portrait-carolina-rapezzi{object-position:50% 20%}
