/* PF Event Surveys – community gallery + post submission */
.pfes-gallery-standalone{margin:0;background:#f5f6fb;color:#172743;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.55}
.pfes-gallery-standalone *{box-sizing:border-box}
.pfes-gallery-standalone a{text-decoration:none}
.pfes-gallery-hero{background:radial-gradient(circle at 82% 10%,rgba(245,151,67,.18),transparent 31%),linear-gradient(115deg,#342056,#16152e 66%,#10142b);color:#fff;border-radius:0 0 30px 30px;padding:29px 20px 100px}
.pfes-gallery-inner,.pfes-gallery-main{max-width:1120px;margin:0 auto}
.pfes-gallery-brand{display:flex;align-items:center;gap:11px;font-size:12px;letter-spacing:2px}
.pfes-gallery-brand-icon{height:37px;width:37px;display:grid;place-items:center;border-radius:11px;color:#fff;background:#325ab8;font-weight:900;font-size:13px;letter-spacing:-.05em}
.pfes-gallery-logo{max-height:44px;max-width:190px;object-fit:contain}
.pfes-gallery-brand-tag{margin-left:auto;font-size:10px;letter-spacing:1.5px;color:#ffd5a7;border:1px solid rgba(255,255,255,.3);border-radius:30px;padding:5px 10px}
.pfes-gallery-eyebrow{margin:31px 0 7px;font-size:12px;letter-spacing:1.3px;text-transform:uppercase;color:#eac2a3;font-weight:700}
.pfes-gallery-hero h1{margin:0;font-size:clamp(30px,5vw,54px);letter-spacing:-.04em;line-height:1.12;color:#fff}
.pfes-gallery-tagline{margin:13px 0 0;color:#e2dcea}
.pfes-gallery-main{position:relative;background:#fff;margin-top:-56px;padding:39px 38px 49px;border-radius:24px;box-shadow:0 15px 48px rgba(19,25,63,.08)}
.pfes-gallery-intro{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:24px}
.pfes-gallery-intro>div{max-width:660px}
.pfes-gallery-kicker{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#9e642d;text-transform:uppercase;margin-bottom:8px}
.pfes-gallery-intro h2,.pfes-share-panel h2{font-size:25px;line-height:1.25;letter-spacing:-.03em;margin:0 0 8px;color:#102039}
.pfes-gallery-intro p,.pfes-share-panel>p{font-size:14px;color:#637187;line-height:1.75;margin:0}
.pfes-gallery-btn{display:inline-flex;justify-content:center;align-items:center;background:#234c9e;color:white!important;border-radius:12px;padding:13px 20px;font-weight:750;font-size:14px;white-space:nowrap;box-shadow:0 8px 18px rgba(35,76,158,.17);border:0;cursor:pointer}
.pfes-gallery-btn:hover{background:#183e85;color:white}
.pfes-gallery-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-bottom:1px solid #e8edf5;padding-bottom:16px;margin-bottom:23px}
.pfes-gallery-filters a{border:1px solid #e0e6f0;border-radius:11px;color:#485a72;font-size:13px;font-weight:700;padding:9px 15px;background:#fff}
.pfes-gallery-filters a[aria-current]{background:#213c7b;color:#fff;border-color:#213c7b}
.pfes-gallery-filters span{margin-left:auto;font-size:12px;color:#6d7990}
.pfes-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.pfes-gallery-card{border-radius:17px;overflow:hidden;background:#fff;border:1px solid #e5ebf3;box-shadow:0 8px 23px rgba(11,27,54,.055);display:flex;flex-direction:column}
.pfes-gallery-card-media{position:relative;aspect-ratio:4/3;background:linear-gradient(145deg,#2f265b,#45448d 60%,#8862a5);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#fff;overflow:hidden}
.pfes-gallery-card-media::before{content:"";width:230px;height:230px;border:1px solid rgba(255,255,255,.18);border-radius:50%;position:absolute;right:-110px;top:-75px;box-shadow:0 0 0 38px rgba(255,255,255,.035)}
.pfes-gallery-card-media img{width:100%;height:100%;object-fit:cover}
.pfes-gallery-card-media.pfes-has-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.45))}
.pfes-gallery-placeholder-icon{font-size:47px;line-height:1;z-index:1}
.pfes-gallery-placeholder-text{font-size:12px;color:#e9eaff;font-weight:700;z-index:1}
.pfes-gallery-play{position:absolute;bottom:13px;right:13px;color:#fff;font-size:12px;font-weight:800;background:rgba(15,19,49,.65);border:1px solid rgba(255,255,255,.2);border-radius:8px;padding:6px 10px;z-index:2}
.pfes-gallery-card-body{padding:18px 18px 19px;flex:1;display:flex;flex-direction:column}
.pfes-gallery-platform{font-size:11px;color:#7458a6;font-weight:800;text-transform:uppercase;letter-spacing:1px}
.pfes-gallery-media-pill{align-self:flex-end;margin-top:-21px;font-size:10px;color:#616f88;background:#edf0f8;border-radius:100px;padding:3px 9px}
.pfes-gallery-card h3{font-size:17px;line-height:1.4;margin:10px 0 3px;color:#172841}
.pfes-gallery-card-body p{margin:6px 0 12px;font-size:12px;color:#5c6c7f}
.pfes-gallery-outbound{margin-top:auto;color:#2455a3;font-size:12px;font-weight:750;padding-top:12px}
.pfes-gallery-empty{text-align:center;padding:70px 18px;color:#64758b;border:1px dashed #cbd4e4;border-radius:18px;background:#fafbfe}
.pfes-gallery-empty-icon{font-size:48px}
.pfes-gallery-empty h3{color:#172743;margin:12px 0 3px;font-size:21px}
.pfes-gallery-pagination{display:flex;align-items:center;justify-content:center;gap:22px;padding:25px 0 5px;color:#68768a;font-size:13px}
.pfes-gallery-pagination a{color:#2456a1;font-weight:750}
.pfes-gallery-foot-note{font-size:12px;color:#758296;margin-top:32px;padding:16px 0;border-top:1px solid #e4eaf2}
.pfes-gallery-footer{display:flex;justify-content:space-between;max-width:1120px;margin:17px auto 40px;padding:0 15px;color:#7c89a0;font-size:11px}
.pfes-gallery-footer a{color:#3c5580}
.pfes-share-main{max-width:780px}
.pfes-share-panel{border:1px solid #e8ecf4;border-radius:20px;padding:25px 31px;background:#fff}
.pfes-share-panel h2{font-size:24px}
.pfes-share-form{display:grid;gap:11px;margin-top:24px}
.pfes-share-form label,.pfes-share-consent legend{font-size:13px;color:#273a55;font-weight:750}
.pfes-share-form input:not([type=radio]),.pfes-share-form textarea,.pfes-share-form select{width:100%;height:auto;min-height:46px;font-family:inherit;font-size:14px;background:#fbfcff;color:#1b2b45;border:1.4px solid #d5ddea;border-radius:10px;padding:11px 13px;outline:0}
.pfes-share-form :is(input,select,textarea):focus{border-color:#3559a7;box-shadow:0 0 0 3px rgba(42,87,175,.09)}
.pfes-share-row{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:5px 0}
.pfes-share-row>div{display:grid;gap:7px}
.pfes-share-consent{padding:15px 16px;border:1px solid #e0e7f0;border-radius:13px;margin:8px 0 5px;display:grid;gap:13px}
.pfes-share-consent legend{padding:0 5px}
.pfes-share-consent label{display:flex;gap:10px;align-items:flex-start;color:#42516a;font-weight:500;font-size:13px;line-height:1.6}
.pfes-share-consent input[type=radio]{margin-top:4px;flex:none}
.pfes-share-send{width:100%;margin-top:8px;min-height:49px}
.pfes-share-fine{color:#8090a3;font-size:11px!important;line-height:1.6}
.pfes-share-error{color:#a72c2c!important;padding:13px;border:1px solid #e4b0b0;background:#fff5f5;border-radius:10px;margin-top:15px!important}
.pfes-share-success{text-align:center;padding:50px 25px}
.pfes-share-success p{max-width:520px;margin:0 auto 18px;line-height:1.7}
.pfes-share-success .pfes-gallery-btn{display:flex;width:max-content;max-width:100%;margin:18px auto}
.pfes-share-subtle{color:#25519f;font-size:13px;font-weight:700}
.pfes-share-back{text-align:center;margin:22px 0 0}.pfes-share-back a{color:#355c9b;font-size:13px}
.pfes-hp{position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:900px){.pfes-gallery-main{margin-left:15px;margin-right:15px}.pfes-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pfes-gallery-intro{align-items:flex-start;flex-direction:column}.pfes-gallery-btn{white-space:normal}}
@media(max-width:620px){.pfes-gallery-hero{padding:20px 18px 80px}.pfes-gallery-brand{gap:8px}.pfes-gallery-brand-tag{font-size:8px;letter-spacing:.5px}.pfes-gallery-eyebrow{margin-top:25px}.pfes-gallery-main{margin-top:-46px;margin-left:10px;margin-right:10px;padding:24px 18px;border-radius:18px}.pfes-gallery-intro h2{font-size:23px}.pfes-gallery-intro p{font-size:13px}.pfes-gallery-grid{grid-template-columns:1fr;gap:14px}.pfes-gallery-card-media{aspect-ratio:16/11}.pfes-gallery-filters span{display:block;width:100%;margin:6px 0 0}.pfes-gallery-filters a{font-size:12px;padding:7px 10px}.pfes-share-panel{padding:12px 4px;border:0}.pfes-share-panel h2{font-size:23px}.pfes-share-row{grid-template-columns:1fr;gap:13px}.pfes-gallery-footer{flex-wrap:wrap;gap:10px}.pfes-gallery-brand-icon{width:31px;height:31px}}

.pfes-gallery-theme-pf{background:radial-gradient(circle at 82% 10%,rgba(255,255,255,.11),transparent 31%),linear-gradient(115deg,#144c94,#132d63 68%,#101c48)}
.pfes-gallery-theme-light{background:linear-gradient(115deg,#2b6da6,#1d4580 75%,#26366d)}
.pfes-gallery-theme-midnight{background:radial-gradient(circle at 70% 20%,#292e64,transparent 45%),linear-gradient(105deg,#101521,#11152c 75%)}

/* Keep the entire social embed in normal page flow. The old 570px max-height
   plus overflow:auto introduced an inner scrollbar on tall reels. */
.pfes-gallery-grid,.pfes-gallery-card{min-width:0}
.pfes-gallery-embed{width:100%;min-width:0;max-width:100%;min-height:0;max-height:none;overflow:visible;padding:0;margin:0;background:#fff}
.pfes-gallery-embed iframe{display:block;width:100%!important;min-width:0!important;max-width:100%!important;border:0!important;vertical-align:top}
.pfes-gallery-embed blockquote{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;overflow:visible!important}
.pfes-gallery-embed--youtube iframe{aspect-ratio:16/9;height:auto!important;min-height:175px}
.pfes-gallery-embed--instagram iframe,.pfes-gallery-embed--facebook iframe,.pfes-gallery-embed--threads iframe{min-height:600px}
.pfes-gallery-embed--tiktok iframe{min-height:600px}
/* The primary gallery scrolls once; cards never show a secondary CSS scroll area. */
.pfes-gallery-card:has(.pfes-gallery-embed){overflow:visible}
.pfes-gallery-card:has(.pfes-gallery-embed) .pfes-gallery-embed{border-radius:16px 16px 0 0}
@media(max-width:620px){.pfes-gallery-embed--instagram iframe,.pfes-gallery-embed--facebook iframe,.pfes-gallery-embed--threads iframe,.pfes-gallery-embed--tiktok iframe{min-height:640px}}

/* v1.0.13 — Reusable PF Race Photos Hub; survey/gallery data unchanged. */
.pfes-gallery-hero--hub{padding-bottom:82px}
.pfes-gallery-hero--hub .pfes-gallery-eyebrow{margin-top:24px}
.pfes-gallery-hero--hub h1{font-size:clamp(31px,4.8vw,48px)}
.pfes-gallery-hero--hub .pfes-gallery-tagline{margin-top:10px;font-size:14px}
.pfes-photo-hub{padding:0 0 31px;margin:0 0 34px;border-bottom:1px solid #e5eaf2}
.pfes-photo-hub-heading{margin-bottom:23px;max-width:800px}
.pfes-photo-hub-kicker{font-size:11px;letter-spacing:1.8px;font-weight:850;color:#b16930;line-height:1.5}
.pfes-photo-hub-kicker span{margin:0 5px;color:#e59445}
.pfes-photo-hub-heading h2{color:#12223a;font-size:clamp(26px,3.3vw,37px);font-weight:850;letter-spacing:-.04em;line-height:1.18;margin:9px 0 10px}
.pfes-photo-hub-heading h2 span{white-space:nowrap}
.pfes-photo-hub-heading p{margin:0;color:#68768a;font-size:14px;line-height:1.65}
.pfes-photo-hub-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.pfes-photo-hub-actions--single{grid-template-columns:minmax(0,1fr)}
.pfes-photo-hub-actions--single .pfes-photo-hub-card{max-width:780px}
.pfes-photo-hub-card{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;border:1px solid #e8d6bd;border-radius:20px;padding:25px;background:linear-gradient(135deg,#fffcf7,#fff1df);box-shadow:0 7px 25px rgba(79,53,35,.045)}
.pfes-photo-hub-card--share{background:linear-gradient(135deg,#f9fbff,#ebf1ff);border-color:#d5e2f5}
.pfes-photo-hub-card-icon{display:grid;place-items:center;width:48px;height:48px;font-size:25px;border-radius:15px;background:#fff0d9;box-shadow:inset 0 0 0 1px rgba(196,122,44,.1);margin-bottom:17px;line-height:1}
.pfes-photo-hub-card--share .pfes-photo-hub-card-icon{background:#e2ebff;box-shadow:inset 0 0 0 1px rgba(53,94,160,.09)}
.pfes-photo-hub-card-copy{width:100%;flex:1}
.pfes-photo-hub-label{display:block;font-size:10px;font-weight:850;letter-spacing:1.45px;color:#a15c21;margin-bottom:9px}
.pfes-photo-hub-card--share .pfes-photo-hub-label{color:#3262a7}
.pfes-photo-hub-card h3{color:#1c2940;font-size:21px;font-weight:850;letter-spacing:-.035em;line-height:1.23;margin:0 0 9px}
.pfes-photo-hub-card p{color:#647388;font-size:13px;line-height:1.65;margin:0 0 23px}
.pfes-photo-hub-button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:47px;width:100%;font-size:13px;font-weight:800;border-radius:11px;padding:12px 16px;text-decoration:none!important;box-shadow:0 8px 18px rgba(91,61,31,.1);background:#ed8b38;color:#fff!important;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.pfes-photo-hub-button span{font-size:19px;line-height:1}
.pfes-photo-hub-button:hover{background:#d57422;transform:translateY(-1px);box-shadow:0 11px 20px rgba(91,61,31,.17)}
.pfes-photo-hub-button:focus-visible{outline:3px solid #192f6e;outline-offset:3px}
.pfes-photo-hub-button--share{background:#2454a5;box-shadow:0 8px 18px rgba(35,74,149,.13)}
.pfes-photo-hub-button--share:hover{background:#183f86;box-shadow:0 11px 20px rgba(35,74,149,.2)}
.pfes-photo-hub-note{font-size:11px;color:#7b8796;line-height:1.6;margin:14px 2px 0}
.pfes-gallery-community-heading{margin-bottom:19px}
.pfes-gallery-community-heading h2{font-size:25px}
.pfes-gallery-community-heading p{max-width:700px}
@media(max-width:760px){
 .pfes-gallery-hero--hub{padding-bottom:79px}
 .pfes-photo-hub-actions{gap:11px}
 .pfes-photo-hub-card{padding:17px;border-radius:16px}
 .pfes-photo-hub-card h3{font-size:19px}
 .pfes-photo-hub-button{padding:12px 13px;font-size:12px}
}
@media(max-width:620px){
 .pfes-gallery-hero--hub{padding-bottom:72px}
 .pfes-gallery-hero--hub .pfes-gallery-eyebrow{margin-top:21px}
 .pfes-photo-hub{margin-bottom:25px;padding-bottom:22px}
 .pfes-photo-hub-heading{margin-bottom:17px}
 .pfes-photo-hub-heading h2{font-size:27px}
 .pfes-photo-hub-heading p{font-size:13px}
 .pfes-photo-hub-actions{grid-template-columns:1fr;gap:12px}
 .pfes-photo-hub-card{padding:18px 19px;border-radius:16px}
 .pfes-photo-hub-card-icon{width:43px;height:43px;font-size:23px;border-radius:12px;margin-bottom:11px}
 .pfes-photo-hub-card h3{font-size:20px}
 .pfes-photo-hub-card p{font-size:12px;margin-bottom:16px}
 .pfes-photo-hub-button{min-height:46px;font-size:13px}
 .pfes-photo-hub-note{margin-top:10px}
 .pfes-gallery-community-heading h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.pfes-photo-hub-button{transition:none!important}}


/* v1.0.14 — Compact photo hub header. Scoped to the public photos hub only. */
.pfes-gallery-hero--hub{
    padding-top:17px;
    padding-bottom:64px;
    border-radius:0 0 24px 24px;
}
.pfes-gallery-hero--hub .pfes-gallery-brand{gap:9px;min-height:32px}
.pfes-gallery-hero--hub .pfes-gallery-brand-icon{height:32px;width:32px;border-radius:9px;font-size:12px}
.pfes-gallery-hero--hub .pfes-gallery-logo{max-height:32px;max-width:175px;width:auto;height:auto;object-fit:contain}
.pfes-gallery-hero--hub .pfes-gallery-brand-tag{padding:4px 9px;font-size:9px;letter-spacing:1px}
.pfes-gallery-hero--hub .pfes-gallery-eyebrow{margin:13px 0 4px;font-size:11px;letter-spacing:1px}
.pfes-gallery-hero--hub h1{font-size:clamp(30px,4vw,42px);line-height:1.12;letter-spacing:-.035em}
.pfes-gallery-hero--hub .pfes-gallery-tagline{margin-top:5px;font-size:13px;line-height:1.5;color:#e2dcea}
.pfes-photo-hub-main{margin-top:-54px;padding-top:30px}
.pfes-photo-hub-main .pfes-photo-hub-heading{margin-bottom:19px}
.pfes-photo-hub-main .pfes-photo-hub-heading h2{margin-top:7px;margin-bottom:8px}
@media(max-width:760px){
    .pfes-gallery-hero--hub{padding-bottom:61px}
}
@media(max-width:620px){
    .pfes-gallery-hero--hub{padding:16px 18px 59px;border-radius:0 0 22px 22px}
    .pfes-gallery-hero--hub .pfes-gallery-brand-icon{height:30px;width:30px}
    .pfes-gallery-hero--hub .pfes-gallery-logo{max-height:30px;max-width:160px}
    .pfes-gallery-hero--hub .pfes-gallery-eyebrow{margin-top:12px;font-size:10px}
    .pfes-gallery-hero--hub h1{font-size:clamp(28px,7vw,35px)}
    .pfes-gallery-hero--hub .pfes-gallery-tagline{font-size:12px;margin-top:5px}
    .pfes-photo-hub-main{margin-top:-45px;padding-top:23px}
    .pfes-photo-hub-main .pfes-photo-hub-heading{margin-bottom:15px}
}

/* v1.0.15 — Clear compact action-card headings. The icon and title share one row. */
.pfes-photo-hub-card-heading{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px;min-width:0}
.pfes-photo-hub-card-heading .pfes-photo-hub-card-icon{width:43px;height:43px;flex:0 0 43px;margin:0;border-radius:12px;font-size:23px}
.pfes-photo-hub-card-heading h3{flex:1;min-width:0;margin:0;font-size:19px;line-height:1.3}
.pfes-photo-hub-card-copy{min-width:0}
.pfes-photo-hub-card-copy p{margin-bottom:19px}
@media(max-width:620px){
 .pfes-photo-hub-card-heading{gap:11px;margin-bottom:10px}
 .pfes-photo-hub-card-heading .pfes-photo-hub-card-icon{width:39px;height:39px;flex-basis:39px;font-size:21px}
 .pfes-photo-hub-card-heading h3{font-size:18px}
 .pfes-photo-hub-card-copy p{margin-bottom:15px}
}

/* v1.0.17 — Keep event identity beside the logo; let the photo hub lead.
   The separate photo/reel submission page keeps its existing larger header. */
.pfes-gallery-hero--hub{padding:15px 20px 56px;border-radius:0 0 22px 22px}
.pfes-gallery-hero--hub .pfes-gallery-brand{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:42px;flex-wrap:nowrap}
.pfes-gallery-hero--hub .pfes-gallery-brand-icon{width:38px;height:38px;flex:0 0 38px;border-radius:10px}
.pfes-gallery-hero--hub .pfes-gallery-logo{max-height:42px;max-width:145px;width:auto;height:auto;object-fit:contain;object-position:left center;flex-shrink:1}
.pfes-gallery-hero--hub .pfes-gallery-hub-event-name{margin:0;min-width:0;font-size:clamp(15px,2vw,19px);line-height:1.3;letter-spacing:.01em;font-weight:800;color:#fff}
.pfes-photo-hub-main{margin-top:-48px;padding-top:24px}
@media(max-width:620px){
 .pfes-gallery-hero--hub{padding:13px 18px 49px;border-radius:0 0 20px 20px}
 .pfes-gallery-hero--hub .pfes-gallery-brand{gap:10px;min-height:34px}
 .pfes-gallery-hero--hub .pfes-gallery-brand-icon{width:33px;height:33px;flex-basis:33px}
 .pfes-gallery-hero--hub .pfes-gallery-logo{max-height:34px;max-width:110px}
 .pfes-gallery-hero--hub .pfes-gallery-hub-event-name{font-size:clamp(13px,4vw,16px)}
 .pfes-photo-hub-main{margin-top:-41px;padding-top:21px}
}


/* v1.0.18 — Compact PF-controlled gallery tiles: no third-party embed chrome. */
.pfes-gallery-card--clean{border-radius:15px;box-shadow:0 5px 17px rgba(10,27,54,.055)}
.pfes-gallery-clean-media{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;aspect-ratio:4/5;background:linear-gradient(155deg,#301d51 0%,#4b2b77 62%,#8a4e85 100%);color:#fff;overflow:hidden;text-decoration:none!important;isolation:isolate}
.pfes-gallery-clean-media:focus-visible{outline:3px solid #426db8;outline-offset:-4px}
.pfes-gallery-clean-media::after{content:"";position:absolute;inset:auto 0 0;height:35%;background:linear-gradient(0deg,rgba(5,12,37,.34),transparent);pointer-events:none}
.pfes-gallery-clean-media.pfes-gallery-clean-has-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
.pfes-gallery-clean-media:hover img{transform:scale(1.025)}
.pfes-gallery-clean-media.pfes-gallery-clean-no-cover{gap:10px;background:linear-gradient(150deg,#302454,#4b3579 65%,#704580)}
.pfes-gallery-clean-placeholder-symbol{font-size:45px;display:grid;place-items:center;width:78px;height:78px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);border-radius:22px;line-height:1}
.pfes-gallery-clean-placeholder-label{font-size:13px;font-weight:760;letter-spacing:.01em;color:#fff}
.pfes-gallery-clean-type{position:absolute;right:12px;top:12px;padding:5px 9px;font-size:11px;font-weight:750;line-height:1.4;background:rgba(14,19,47,.72);border:1px solid rgba(255,255,255,.3);border-radius:9px;color:#fff;z-index:2}
.pfes-gallery-clean-footer{padding:12px 14px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:57px}
.pfes-gallery-clean-creator{font-size:13px;color:#172743;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.pfes-gallery-clean-view{font-size:12px;white-space:nowrap;color:#2d57a5;font-weight:750;flex:none;text-decoration:none!important}
.pfes-gallery-clean-view:hover{text-decoration:underline!important}
@media(max-width:620px){.pfes-gallery-clean-footer{padding:12px}.pfes-gallery-clean-creator{font-size:12px}.pfes-gallery-clean-view{font-size:12px}}
@media(prefers-reduced-motion:reduce){.pfes-gallery-clean-media img{transition:none!important}}

/* v1.0.19 — Preserve real social previews when a clean card has no cover.
   Once a cover is assigned, the full third-party embed disappears automatically. */
.pfes-gallery-card--embed-fallback{overflow:visible}
.pfes-gallery-card--embed-fallback .pfes-gallery-embed{margin:0;border-radius:14px 14px 0 0;overflow:visible}
.pfes-gallery-card--embed-fallback .pfes-gallery-clean-footer{min-height:43px;padding:10px 14px;border-top:1px solid #e7edf5}
.pfes-gallery-card--embed-fallback .pfes-gallery-clean-creator{font-size:12px}
.pfes-gallery-clean-placeholder-label{text-align:center;max-width:80%;line-height:1.45}

/* v1.0.21 — Mixed social embeds + image-cover cards should form a true masonry
   gallery, without stretching shorter Facebook/TikTok tiles to the height of
   Instagram's taller provider-controlled iframes.
   This CSS grid is the no-JavaScript fallback. JS enhances to masonry only
   at two/three-column widths, and keeps DOM ordering unchanged. */
.pfes-gallery-grid{align-items:start;--pfes-gallery-masonry-columns:3}
.pfes-gallery-grid > .pfes-gallery-card{align-self:start;min-width:0}
.pfes-gallery-grid.pfes-gallery-masonry{display:block;position:relative}
.pfes-gallery-grid.pfes-gallery-masonry > .pfes-gallery-card{position:absolute;top:0;left:0;margin:0;height:auto;min-width:0;align-self:auto}
@media(max-width:900px){.pfes-gallery-grid{--pfes-gallery-masonry-columns:2}}
@media(max-width:620px){.pfes-gallery-grid{--pfes-gallery-masonry-columns:1}}


/* v1.0.24 — Photo Hub: faster path to the community gallery.
   Scoped to the public hub; standalone sharing and admin pages retain styling. */
.pfes-photo-hub-main{padding-top:20px}
.pfes-photo-hub-main .pfes-photo-hub{margin:0 0 15px;padding:0;border:0}
.pfes-photo-hub-main .pfes-photo-hub-heading{margin-bottom:13px}
.pfes-photo-hub-main .pfes-photo-hub-heading h2{font-size:clamp(25px,2.7vw,32px);line-height:1.2;margin:5px 0 4px}
.pfes-photo-hub-main .pfes-photo-hub-heading p{font-size:13px;line-height:1.5}
.pfes-photo-hub-main .pfes-photo-hub-actions{gap:13px}
.pfes-photo-hub-main .pfes-photo-hub-card{padding:15px 17px 14px;border-radius:15px}
.pfes-photo-hub-main .pfes-photo-hub-card-heading{gap:9px;margin-bottom:7px}
.pfes-photo-hub-main .pfes-photo-hub-card-heading .pfes-photo-hub-card-icon{width:34px;height:34px;flex:0 0 34px;font-size:19px;border-radius:9px}
.pfes-photo-hub-main .pfes-photo-hub-card-heading h3{font-size:17px;line-height:1.28}
.pfes-photo-hub-main .pfes-photo-hub-card-copy p{font-size:12px;line-height:1.5;margin:0 0 12px}
.pfes-photo-hub-main .pfes-photo-hub-button{min-height:40px;padding:9px 13px;font-size:12px;line-height:1.35;border-radius:9px;box-shadow:0 5px 12px rgba(33,53,91,.08)}
.pfes-photo-hub-main .pfes-photo-hub-button span{font-size:16px}
.pfes-photo-hub-main .pfes-gallery-filters{padding-bottom:11px;margin-bottom:16px}
.pfes-photo-hub-main .pfes-gallery-filters a{padding:7px 12px;font-size:12px}
@media(max-width:760px){
 .pfes-photo-hub-main .pfes-photo-hub-actions{gap:10px}
 .pfes-photo-hub-main .pfes-photo-hub-card{padding:13px 14px 12px}
 .pfes-photo-hub-main .pfes-photo-hub-card-heading h3{font-size:16px}
}
@media(max-width:620px){
 .pfes-photo-hub-main{padding-top:16px}
 .pfes-photo-hub-main .pfes-photo-hub{margin-bottom:12px}
 .pfes-photo-hub-main .pfes-photo-hub-heading{margin-bottom:12px}
 .pfes-photo-hub-main .pfes-photo-hub-heading h2{font-size:25px}
 .pfes-photo-hub-main .pfes-photo-hub-actions{gap:10px}
 .pfes-photo-hub-main .pfes-photo-hub-card{padding:12px 14px;border-radius:13px}
 .pfes-photo-hub-main .pfes-photo-hub-card-heading{margin-bottom:5px}
 .pfes-photo-hub-main .pfes-photo-hub-card-heading .pfes-photo-hub-card-icon{width:32px;height:32px;flex-basis:32px;font-size:18px}
 .pfes-photo-hub-main .pfes-photo-hub-card-heading h3{font-size:16px}
 .pfes-photo-hub-main .pfes-photo-hub-card-copy p{font-size:12px;line-height:1.45;margin-bottom:9px}
 .pfes-photo-hub-main .pfes-photo-hub-button{min-height:39px;padding:9px 12px}
 .pfes-photo-hub-main .pfes-gallery-filters{margin-bottom:13px}
}
