/* V49.136 — editable Sailor Gay Party pages */
body.single-sg_party{background:#fff!important;color:#082d70!important}
body.single-sg_party #page_content_wrapper,body.single-sg_party .inner,body.single-sg_party .inner_wrapper{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
.sgParty{font-family:Arial,Helvetica,sans-serif;background:#fff;color:#082d70;overflow:hidden}.sgParty *{box-sizing:border-box}.sgPartyWrap{width:min(1180px,calc(100% - 48px));margin:auto}.sgPartyVideo{width:100%;aspect-ratio:16/7;background:#061c50;overflow:hidden}.sgPartyVideo video,.sgPartyVideo iframe{width:100%;height:100%;display:block;object-fit:cover;border:0}.sgPartyTitleBand{border-bottom:4px solid #10c6df;background:#fff}.sgPartyTitleGrid{display:grid;grid-template-columns:1fr 360px;min-height:150px;align-items:stretch}.sgPartyTitleCopy{padding:26px 0}.sgPartyEyebrow,.sgPartyPink{font-weight:900;color:#ff0b8f;text-transform:uppercase;letter-spacing:.04em}.sgPartyTitleCopy h1{font-size:38px;line-height:1.05;margin:8px 0 7px;color:#092f78}.sgPartyTitleCopy p{font-size:18px;font-weight:800;margin:0}.sgPartyTitlePhoto{background-size:cover;background-position:center;clip-path:polygon(15% 0,100% 0,100% 100%,0 100%)}.sgPartyFacts{display:grid;grid-template-columns:repeat(4,1fr);margin:28px auto;border:1px solid #bdddf3;border-radius:14px;padding:16px 10px}.sgPartyFact{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;padding:0 18px;border-right:1px solid #d7e7f2}.sgPartyFact:last-child{border-right:0}.sgPartyFactIcon{width:54px;height:54px;border-radius:50%;background:#eefaff;display:grid;place-items:center}.sgPartyFactIcon img{width:32px;height:32px;object-fit:contain}.sgPartyFact b{display:block;font-size:16px;text-transform:uppercase}.sgPartyFact small{display:block;margin-top:5px;color:#526b93;font-weight:700}.sgPartyExperience{padding:10px 0 36px}.sgPartyExperience h2,.sgPartyTickets h2,.sgPartyPractical h2{font-size:34px;line-height:1.08;margin:8px 0;color:#092f78}.sgPartyLead{color:#526b93;font-size:16px;font-weight:700;margin:0 0 26px}.sgPartyExperienceGrid{display:grid;grid-template-columns:1fr 1.08fr;gap:56px;align-items:start}.sgPartyPoster{width:100%;max-width:430px;aspect-ratio:2/3;object-fit:cover;border-radius:18px;border:3px solid #12c7df;display:block}.sgPartyDayTitle{font-weight:900;color:#08aeca;text-transform:uppercase;margin-bottom:18px}.sgPartyTimeline{border-left:3px solid #48d2df;margin-left:14px}.sgPartyTime{position:relative;padding:0 0 30px 34px}.sgPartyTime:before{content:'';position:absolute;left:-9px;top:2px;width:15px;height:15px;border-radius:50%;background:#ff0b8f}.sgPartyTime b{display:block;text-transform:uppercase;font-size:17px}.sgPartyTime span{display:block;margin-top:5px;font-weight:700}.sgPartyButtons{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:12px}.sgPartyBtn{border:0;border-radius:999px;background:#ff0b8f;color:#fff!important;text-align:center;padding:15px 18px;font-weight:900;text-decoration:none!important;cursor:pointer}.sgPartyTickets{border-top:3px solid #12c7df;padding:32px 0}.sgPartyCards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.sgPartyCard{border:1px solid #bdddf3;border-radius:10px;padding:22px;background:#fff;border-top:7px solid #12c7df}.sgPartyCard.pink{border-top-color:#ff0b8f}.sgPartyCard.yellow{border-top-color:#ffc72c}.sgPartyCardHead{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:900;text-transform:uppercase}.sgPartyCardHead img{width:42px;height:42px;object-fit:contain}.sgPartyCard ul{margin:18px 0 0;padding-left:20px}.sgPartyCard li{margin:9px 0;font-weight:700}.sgPartyExtra{margin-top:18px;padding:15px 18px;border-radius:10px;background:#ecfbff;display:flex;gap:22px;align-items:flex-start}.sgPartyExtra strong{white-space:nowrap;text-transform:uppercase}.sgPartyPractical{padding:32px 0}.sgPartyPracticalGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.sgPartyPracticalItem{display:grid;grid-template-columns:42px 1fr;gap:12px}.sgPartyPracticalItem img{width:34px;height:34px;object-fit:contain}.sgPartyPracticalItem b{display:block;color:#1265d6;text-transform:uppercase;margin-bottom:5px}.sgPartyPracticalItem p{margin:0;font-weight:700;line-height:1.45}.sgPartyAsterisk{font-size:12px;color:#526b93;margin-top:24px;font-weight:700}.sgPartyTerms{margin:8px 0 45px;border:1px solid #15bfe0;border-radius:10px;overflow:hidden}.sgPartyTerms>h3{margin:0;padding:18px 22px;font-size:20px}.sgPartyTerm{border-top:1px solid #d8eaf2}.sgPartyTerm button{width:100%;background:#fff;border:0;padding:16px 22px;text-align:left;font:900 16px Arial;color:#082d70;display:flex;justify-content:space-between;cursor:pointer}.sgPartyTerm button:after{content:'+';font-size:22px}.sgPartyTerm.open button:after{content:'−'}.sgPartyTerm div{display:none;padding:0 22px 18px;line-height:1.55;color:#304a75}.sgPartyTerm.open div{display:block}.sgPartyLightbox[hidden]{display:none!important}.sgPartyLightbox{position:fixed;z-index:999999;inset:0;background:rgba(0,0,0,.9);display:grid;place-items:center;padding:5vw}.sgPartyLightbox img{max-width:90vw;max-height:85vh}.sgPartyLightbox button{position:fixed;border:0;background:rgba(255,255,255,.9);width:52px;height:52px;border-radius:50%;font-size:28px;cursor:pointer}.sgPartyLightbox .close{right:24px;top:24px}.sgPartyLightbox .prev{left:24px;top:50%}.sgPartyLightbox .next{right:24px;top:50%}
@media(max-width:760px){.sgPartyWrap{width:calc(100% - 28px)}.sgPartyVideo{aspect-ratio:16/10}.sgPartyTitleGrid{grid-template-columns:1fr}.sgPartyTitleCopy{padding:22px 0}.sgPartyTitleCopy h1{font-size:30px}.sgPartyTitlePhoto{height:110px;clip-path:none;border-radius:10px;margin-bottom:18px}.sgPartyFacts{grid-template-columns:1fr 1fr;gap:0;padding:0}.sgPartyFact{border-right:0;border-bottom:1px solid #d7e7f2;padding:14px}.sgPartyFact:nth-last-child(-n+2){border-bottom:0}.sgPartyExperienceGrid{grid-template-columns:1fr;gap:28px}.sgPartyPoster{max-width:330px;margin:auto}.sgPartyCards,.sgPartyPracticalGrid{grid-template-columns:1fr}.sgPartyButtons{grid-template-columns:1fr}.sgPartyExperience h2,.sgPartyTickets h2,.sgPartyPractical h2{font-size:29px}.sgPartyExtra{display:block}.sgPartyExtra strong{display:block;margin-bottom:8px}}

/* V49.138 — Party page typography + clean full icons to match approved mockup. */
.sgPartyTitleCopy h1{font-weight:900!important;letter-spacing:-.02em!important}
.sgPartyTitleCopy p{font-weight:900!important}
.sgPartyFact b{font-weight:900!important;letter-spacing:.01em!important}
.sgPartyFact small{font-weight:800!important}
.sgPartyFactIcon{width:44px!important;height:44px!important;border-radius:0!important;background:transparent!important;display:grid!important;place-items:center!important}
.sgPartyFactIcon img{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;object-fit:contain!important;display:block!important}
@media(max-width:760px){.sgPartyFactIcon{width:40px!important;height:40px!important}.sgPartyFactIcon img{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important}}

/* V49.139 — full-bleed cinematic party hero; suppress visible YouTube chrome. */
.sgPartyVideo{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;position:relative!important;overflow:hidden!important;background:#000!important;}
.sgPartyVideo iframe{position:absolute!important;left:50%!important;top:50%!important;width:100vw!important;height:56.25vw!important;min-width:177.78vh!important;min-height:100%!important;transform:translate(-50%,-50%)!important;pointer-events:none!important;border:0!important;}
.sgPartyVideo video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;}
@media(max-width:760px){.sgPartyVideo iframe{width:177.78vh!important;height:100%!important;min-width:100%!important;min-height:56.25vw!important;}}


/* V49.140 — true viewport bleed + stronger YouTube crop. */
body.single-sg_party .sgParty{width:100vw!important;max-width:none!important;margin:0!important;padding:0!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;}
body.single-sg_party .sgPartyVideo{width:100vw!important;max-width:100vw!important;margin:0!important;left:auto!important;right:auto!important;position:relative!important;}
body.single-sg_party .sgPartyVideo iframe{width:125vw!important;height:70.3125vw!important;min-width:222.225vh!important;min-height:125%!important;}
@media(max-width:760px){body.single-sg_party .sgPartyVideo iframe{width:222.225vh!important;height:125%!important;min-width:125%!important;min-height:70.3125vw!important;}}


/* V49.150 — free-text description directly beneath the event title. */
html body #sg-party-page .sgPartyTitleCopy .sgPartyDescription{margin:14px 0;padding:15px 18px;background:#eefaff;border:1px solid #bdddf3;border-left:4px solid #ff0b8f;border-radius:10px;color:#082d70;font-size:17px;line-height:1.55;font-weight:600;white-space:normal;overflow-wrap:anywhere;}
@media(max-width:760px){html body #sg-party-page .sgPartyTitleCopy .sgPartyDescription{text-align:center;font-size:16px;padding:13px 14px;}}

/* V49.151 — optional description under the experience poster. */
html body #sg-party-page .sgPartyPosterDescription{margin:18px 0 0;padding:16px 18px;background:#eefaff;border:1px solid #bdddf3;border-left:4px solid #ff0b8f;border-radius:10px;color:#082d70;font:600 17px/1.55 Arial,sans-serif;overflow-wrap:anywhere;text-align:left;}
@media(max-width:760px){html body #sg-party-page .sgPartyPosterDescription{text-align:center;font-size:16px;}}
.sgPartyArchive{max-width:1280px;margin:auto;padding:145px 24px 60px;color:#092f78;font-family:Arial,sans-serif;}
.sgPartyFilters{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:24px 0;}
.sgPartyFilters label{display:grid;gap:7px;flex:1;min-width:180px;font-weight:700;}
.sgPartyFilters select{width:100%;padding:12px;border:1px solid #bdddf3;border-radius:8px;background:#fff;color:#092f78;}
.sgPartyFilters button{padding:14px 24px;border:0;border-radius:9px;background:#ff0b8f;color:#fff;font-weight:900;cursor:pointer;}
.sgPartyFilters button:hover{background:#ffb900;color:#092f78;}
.sgPartyArchiveGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.sgPartyArchiveCard{border:1px solid #bdddf3;border-radius:14px;overflow:hidden;background:#f2fcff;}
.sgPartyArchiveCard>a{display:block;color:#092f78;text-decoration:none;}
.sgPartyArchiveCard img{display:block;width:100%;height:300px;object-fit:contain;background:#eefaff;}
.sgPartyArchiveCard h2{padding:18px;margin:0;font-size:22px;}
.sgPartyArchiveTerms{padding:0 18px 18px;display:flex;flex-wrap:wrap;gap:8px;}
.sgPartyArchiveTerms a{color:#092f78;background:#d3f7ff;border-radius:20px;padding:5px 10px;text-decoration:none;font-size:13px;}
.sgPartyArchive .pagination{margin-top:30px;}
@media(max-width:900px){.sgPartyArchiveGrid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.sgPartyArchiveGrid{grid-template-columns:1fr;}.sgPartyArchive{padding:120px 18px 40px;}}


/* V49.152 — align the caption with its poster and give it room to breathe. */
html body #sg-party-page .sgPartyPosterGroup{width:100%!important;max-width:430px!important;margin:0!important;}
html body #sg-party-page .sgPartyPosterGroup .sgPartyPoster{width:100%!important;max-width:100%!important;margin:0!important;}
html body #sg-party-page .sgPartyPosterGroup .sgPartyPosterDescription{
 width:100%!important;max-width:100%!important;box-sizing:border-box!important;
 margin:22px 0 0!important;padding:20px 22px!important;
 background:#f2fcff!important;border:1px solid #d4edf5!important;border-left:1px solid #d4edf5!important;
 border-radius:14px!important;box-shadow:none!important;
 color:#153c72!important;font:500 16px/1.65 Arial,Helvetica,sans-serif!important;
 text-align:center!important;overflow-wrap:anywhere!important;
}
@media(max-width:760px){
 html body #sg-party-page .sgPartyPosterGroup{max-width:330px!important;margin:0 auto!important;}
 html body #sg-party-page .sgPartyPosterGroup .sgPartyPosterDescription{margin-top:18px!important;padding:18px 18px!important;font-size:15px!important;line-height:1.6!important;}
}
