/* Festival detail layout follows the supplied Venice Shorts reference. */
.screen-festival .pheader{height:73px;min-height:73px}
.screen-festival .pheader>div{width:100%;max-width:none;height:73px;padding:0 3.1%;gap:26px;display:flex}
.screen-festival .pheader .plogo{flex:none}
.screen-festival .pheader .festime-official-logo{width:180px;height:59px}
.festival-header-search{display:flex;align-items:center;gap:12px;border-radius:30px;background:#27395f;padding:0 16px;flex:1;min-width:170px;max-width:430px;height:38px}
.festival-header-search .icon{color:var(--color-white);flex:none}
.platform .festival-header-search input{border:0;background:transparent;color:var(--color-white);font-size:11px;width:100%;padding:0;min-height:0;height:38px;box-shadow:none}
.platform .festival-header-search input::placeholder{color:#b6c4e0}
.screen-festival .pheader-nav{gap:25px;margin:auto;flex:none}
.screen-festival .pheader-nav a{font-size:13px;height:73px;display:flex;align-items:center}
.screen-festival .pheader-tools{gap:12px;flex:none}
.screen-festival .pheader-tools>.icon-button:first-child{display:none}
.screen-festival .pheader .puser>span{display:none}
.screen-festival .locale-form{display:none}
.platform .festival-page{display:grid;grid-template-columns:clamp(220px,17.12vw,290px) minmax(0,1fr);gap:0;font-size:12px;line-height:1.65;color:#314b75;background:var(--color-page)}
.festival-page-main{min-width:0}
.platform .festival-page h2{font-size:16px;line-height:1.4;font-weight:600;color:#102449;display:flex;align-items:center;gap:12px;margin:0 0 12px}
.festival-page h2>.icon{color:#6812ef;width:25px;height:25px;flex:none}
.platform .festival-page .pbtn{min-height:40px;font-size:12px;line-height:1.3;border-radius:9px;padding:9px 18px;gap:12px;display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.festival-page .pbtn .icon{width:21px;height:21px;flex:none}
.platform .festival-page .festival-sidebar{padding:22px 20px 35px 24px;border-inline-end:1px solid var(--color-line);background:linear-gradient(110deg,var(--color-page),var(--color-info-bg));position:relative;overflow:hidden;display:block}
.festival-back{display:flex;gap:12px;align-items:center;color:#122646;font-size:12px;margin-bottom:13px}
.festival-back .icon{width:21px;height:21px}
.festival-page-logo{width:158px;margin:0 auto 12px}
.festival-page-logo>.art{width:158px;height:144px}
.festival-page-logo>img{width:145px;height:145px;object-fit:contain}
.platform .festival-page .festival-sidebar nav{margin:0;position:relative;z-index:1;display:grid;gap:3px}
.platform .festival-page .festival-sidebar nav a{font-size:13px;font-weight:400;min-height:40px;padding:9px 12px;display:flex;align-items:center;gap:16px;color:#122646;border-radius:8px;margin:0}
.platform .festival-page .festival-sidebar nav a.active{background:var(--color-brand-tint);color:#5411d7;font-weight:600}
.festival-sidebar nav .icon{width:23px;height:23px;flex:none}
.platform .festival-page .side-promo{position:relative;z-index:1;background:var(--color-brand-soft);border-radius:10px;margin:36px 0 0 4px;padding:14px 19px;color:#233d65}
.festival-page .side-promo>.icon{background:#e0d6fc;border-radius:100%;width:38px;height:38px;padding:7px;color:var(--color-brand);transform:rotate(-9deg);margin-bottom:5px}
.platform .festival-page .side-promo h3{font-size:14px;line-height:1.5;color:#14264b;margin:0 0 4px}
.platform .festival-page .side-promo p{font-size:12px;line-height:1.65;margin:0 0 12px}
.festival-page .side-promo .pbtn{width:100%;padding:8px;font-size:11px}
.festival-filmstrip{width:320px;height:95px;border:20px solid #e5e1fc;border-left:0;border-right:0;transform:rotate(-30deg);margin-top:85px;margin-inline-start:-70px;border-radius:50%;opacity:.7;position:relative}
.festival-filmstrip::after{content:'';position:absolute;inset:-16px 0;border-top:12px dashed var(--color-surface);border-bottom:12px dashed var(--color-surface);border-radius:50%}
.platform .festival-page .festival-hero{position:relative;isolation:isolate;min-height:283px;height:auto;padding:21px 25px 26px;margin-top:-10px;background:linear-gradient(95deg,#091627,#0a1e38);border-radius:11px 0 0 11px;color:var(--color-white);overflow:visible;z-index:2}
.platform .festival-page.venice-demo .festival-hero{background-image:linear-gradient(90deg,rgba(2,12,27,.5),rgba(3,15,28,0) 63%),url('/assets/venice-hero.webp');background-position:center;background-size:cover}
.festival-page .festival-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;border-radius:inherit}
.festival-page .festival-hero:has(.festival-cover-image)::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,10,23,.88),rgba(1,10,23,.2));z-index:-1;border-radius:inherit}
.festival-hero-copy{max-width:650px}
.platform .festival-page .festival-hero h1{font-size:clamp(34px,3vw,50px);line-height:1.02;font-weight:700;letter-spacing:-1px;color:var(--color-white);margin:8px 0 4px;max-width:620px}
.festival-page .festival-hero .ptag{font-size:12px;line-height:1.3;font-weight:700;background:#e7b339;color:var(--color-white);border-radius:10px;padding:2px 11px}
.platform .festival-page .festival-tagline{font-size:17px;line-height:1.35;font-weight:500;margin:0 0 13px;max-width:630px;color:white}
.festival-hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:0 0 19px;color:white;font-size:12px}
.festival-hero-meta>span{display:flex;align-items:center;gap:10px;padding:0 20px;border-inline-end:1px solid #919bac}
.festival-hero-meta>span:first-child{padding-inline-start:0}
.festival-hero-meta>span:last-child{border:0}
.festival-hero-meta .icon{height:22px;width:22px}
.platform .festival-page .festival-pitch{max-width:420px;font-size:13px;line-height:1.5;margin:0;color:var(--color-white)}
.platform .festival-page .festival-hero-actions{position:absolute;inset-inline-end:32px;bottom:16px;display:flex;gap:12px;align-items:center;justify-content:flex-end}
.festival-page .festival-hero-actions .pbtn{min-width:164px;min-height:48px;font-size:13px}
.festival-page .festival-hero-actions .outline{color:var(--color-white);background:rgba(6,14,29,.45);border:1.5px solid white}
.festival-page .festival-hero-actions form{margin:0}
.festival-hero-tools{position:absolute;top:18px;inset-inline-end:32px;display:flex;gap:15px;z-index:4}
.festival-hero-tools summary{width:41px;height:41px;border-radius:100%;background:#25345299;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;list-style:none}
.festival-hero-tools summary::-webkit-details-marker{display:none}
.festival-hero-tools .icon{width:21px;height:21px}
.festival-popover{position:absolute;inset-inline-end:0;top:48px;min-width:220px;width:280px;background:white;color:#14284c;border:1px solid #e1d9f9;padding:15px;border-radius:10px;box-shadow:0 10px 30px #09152933;display:grid;gap:10px}
.festival-popover input{min-width:0;width:100%;font-size:12px!important;height:40px!important}
.festival-popover a{color:#5510df;padding:5px}
.festival-hero-slogan{position:absolute;inset-inline-end:42px;top:87px;font-family:'Apple Chancery','Brush Script MT',cursive;font-style:italic;font-size:33px;line-height:1.05;transform:rotate(-10deg);text-shadow:0 2px 5px #09162a}
.festival-hero-slogan span{display:block;background:white;width:122px;height:3px;margin-top:9px;transform:rotate(-10deg);border-radius:99%}
.platform .festival-page .festival-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,31.3%);gap:8px;padding:0 19px 35px 0;background:var(--color-white)}
.festival-content{min-width:0;padding:0 17px 0 19px}
.platform .festival-page .ptabs{display:flex;align-items:center;gap:0;min-height:54px;padding:0;margin:0;border-bottom:1px solid var(--color-line-soft);overflow-x:auto;white-space:nowrap}
.platform .festival-page .ptabs a{font-size:12px;font-weight:400;position:relative;line-height:1.5;padding:17px 14px;color:#304666;border:0}
.platform .festival-page .ptabs a.active{color:#5712d6;font-weight:600}
.festival-page .ptabs a.active::after{content:'';position:absolute;bottom:0;height:4px;inset-inline:0;background:var(--color-brand-strong);border-radius:4px 4px 0 0}
.festival-tab-content{padding:20px 7px 0}
.festival-tab-content>p{line-height:1.8}
.festival-about{display:grid;grid-template-columns:minmax(0,1fr) 43.3%;gap:28px;align-items:start;padding-bottom:22px}
.festival-about:has(>div:only-child){grid-template-columns:1fr}
.festival-about p{font-size:11.5px;line-height:1.78;margin:0 0 13px;color:#324f7a}
.festival-screening{width:100%;aspect-ratio:358/226;border-radius:8px;object-fit:cover;margin:0;overflow:hidden}
.festival-text-link{font-size:12px;font-weight:600;color:#5611df;display:inline-flex;align-items:center;gap:10px}
.festival-text-link .icon{width:16px;height:16px}
.festival-gallery-section{border-top:1px solid var(--color-line-soft);padding-top:15px}
.festival-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.festival-section-heading>a{display:flex;align-items:center;gap:8px;color:#5a16db;font-size:11px;font-weight:600;margin-bottom:12px}
.festival-section-heading>a .icon{width:17px;height:17px}
.festival-reference-gallery{display:grid;grid-template-columns:1.35fr 1.23fr 1.07fr 1.03fr 1fr;gap:9px}
.festival-reference-gallery .art{height:109px;aspect-ratio:auto;width:100%;border-radius:7px}
.festival-gallery-preview{margin:24px auto;max-width:520px;text-align:center}
.festival-gallery-preview>.art{width:100%;height:350px;aspect-ratio:auto;border-radius:8px}
.festival-page .festival-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.festival-awards-section{padding-top:19px}
.festival-prizes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.festival-prize{padding:14px 15px;display:flex;gap:15px;align-items:flex-start;border-radius:8px;min-width:0;background:var(--color-warning-bg);color:#915219}
.festival-prize>.icon{width:32px;height:32px;flex:none;color:#d8a02c}
.platform .festival-prize h3{font-size:9px;line-height:1.6;font-weight:600;margin:0 0 3px;color:inherit}
.festival-prize strong{display:block;font-size:16px;line-height:1.5;font-weight:600}
.festival-prize small{font-size:10px;color:#8b95a9}
.festival-prize.prize-1{background:var(--color-brand-soft);color:#5019b8}.festival-prize.prize-1>.icon{color:#7020ed}
.festival-prize.prize-2{background:#eaf3ff;color:var(--color-info-text)}.festival-prize.prize-2>.icon{color:#2285ed}
.festival-prize.prize-3{background:#e9f9f5;color:#087f69}.festival-prize.prize-3>.icon{color:#10a38a;fill:#10a38a}
.platform .festival-page .festival-information{margin:3px 0 0;padding:15px 16px 10px;border:1px solid var(--color-line-soft);border-radius:15px;background:var(--color-white);align-self:start;min-width:0;box-shadow:0 5px 18px #ccd2e612}
.platform .festival-page .festival-information h2{font-size:14px;margin-bottom:8px;gap:12px}
.platform .festival-page .festival-information h2 .icon{width:23px;height:23px}
.platform .festival-page .festival-information dl{display:grid;gap:11px;margin:0 0 17px;line-height:1.45;padding:0}
.festival-information dl>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:6px;align-items:start}
.platform .festival-page .festival-information dt{display:flex;align-items:center;gap:11px;font-size:11px;color:#536c98}
.festival-information dt>.icon{width:19px;height:19px;color:#162f5c;flex:none}
.platform .festival-page .festival-information dd{margin:0;padding-top:2px;font-size:11px;overflow-wrap:anywhere;color:#213a62}
.festival-contact-card{background:var(--color-brand-soft);border-radius:8px;padding:10px 17px 11px}
.festival-website{display:flex;align-items:center;gap:15px;margin-bottom:11px;color:#6120de}
.festival-website>.icon{flex:none;width:22px;height:22px}
.festival-website span:nth-child(2){flex:1;min-width:0}
.festival-website small{display:block;color:#122749;font-size:10px;font-weight:600;line-height:1.3}
.festival-website strong{display:block;font-weight:500;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.festival-page .festival-contact-card .pbtn{width:100%;min-height:34px;padding:5px;font-size:11px;border-radius:5px;background:transparent}
.festival-related{border-top:1px solid var(--color-line-soft);margin-top:14px;padding:10px 0 12px}
.platform .festival-related h3{font-size:12px;font-weight:600;margin:0 0 3px;color:#142747}
.festival-related>a{display:flex;align-items:center;color:var(--color-brand-deep);gap:8px;line-height:1.8;font-size:10px}
.festival-related>a>.icon{width:13px;height:13px;flex:none}
.festival-related>a>span{margin-inline-start:auto;color:#8fa1be}
.festival-updates{background:linear-gradient(135deg,#111036,#1c2850);border-radius:8px;padding:12px 15px 15px;color:var(--color-white)}
.festival-updates>div{display:flex;gap:18px;align-items:flex-start}
.festival-updates>div>.icon{color:#c8aeff;width:32px;height:32px;margin-top:3px;flex:none;fill:#c8aeff}
.platform .festival-updates h3{font-size:11px;font-weight:600;color:white;line-height:1.4;margin:0 0 3px}
.platform .festival-updates p{font-size:10px;line-height:1.5;color:white;margin:0 0 12px}
.festival-updates form{display:flex;gap:0;margin:0}
.platform .festival-updates input{width:0;flex:1;min-height:34px;height:34px;padding:9px 12px;border-radius:6px 0 0 6px;border:0;font-size:10px}
.festival-page .festival-updates .pbtn{font-size:10px;border-radius:0 6px 6px 0;min-height:34px;padding:7px 14px;min-width:0}
.festival-page :focus-visible{outline:3px solid #a36fff;outline-offset:3px}
.festival-empty{padding:20px 0;color:#6a7f9f}
@media(min-width:1700px){.platform .festival-page{font-size:14px}.festival-about p{font-size:13px}.festival-page .festival-information dd,.festival-page .festival-information dt{font-size:12px}.platform .festival-page .festival-hero{min-height:320px;padding-top:28px}.festival-reference-gallery .art{height:140px}}
@media(max-width:1350px){.screen-festival .pheader>div{gap:20px;padding-inline:25px}.screen-festival .pheader-nav{gap:18px}.festival-header-search{max-width:260px}.screen-festival .pheader .festime-official-logo{width:165px}.platform .festival-page .festival-detail-columns{grid-template-columns:minmax(0,1fr) 300px}.festival-about{gap:18px;grid-template-columns:minmax(0,1fr) 39%}.festival-about p{font-size:11px}.festival-prizes{gap:8px}.festival-prize{padding:12px 9px;gap:8px}.festival-prize>.icon{width:23px;height:23px}.platform .festival-page .ptabs a{padding-inline:10px;font-size:11px}.festival-information dl>div{grid-template-columns:104px 1fr}}
@media(max-width:1150px){.festival-header-search{display:none}.platform .festival-page .festival-detail-columns{grid-template-columns:minmax(0,1fr);padding-inline-end:18px}.festival-content{padding-inline-end:0}.platform .festival-page .festival-information{margin-inline-start:25px;display:block}.festival-about p{font-size:13px}.festival-prize h3{font-size:11px}.festival-page .festival-hero-actions{position:static!important;margin-top:20px;justify-content:flex-start!important}.festival-hero-slogan{font-size:27px;inset-inline-end:25px;top:100px}.festival-hero-copy{max-width:560px}.platform .festival-page .festival-hero{min-height:340px}.platform .festival-page .festival-pitch{max-width:430px}}
@media(max-width:800px){.platform .festival-page{grid-template-columns:minmax(0,1fr)}.platform .festival-page .festival-sidebar{display:none}.screen-festival .pheader>div{padding-inline:20px}.screen-festival .pheader .festime-official-logo{width:155px}.platform .festival-page .festival-hero{margin-top:0;border-radius:0}.festival-hero-copy{max-width:75%}.festival-hero-slogan{font-size:25px}.platform .festival-page .festival-hero h1{font-size:38px}.platform .festival-page .festival-tagline{font-size:15px}.festival-hero-meta{gap:10px}.festival-hero-meta>span{padding-inline:0 10px;font-size:11px}.festival-content{padding-inline-start:12px}.platform .festival-page .festival-information{margin-inline-start:18px}.festival-page .festival-prize h3{font-size:10px}.festival-page .festival-information dt,.festival-page .festival-information dd{font-size:13px}.festival-information dl>div{grid-template-columns:130px 1fr}.festival-page .festival-updates input{font-size:16px;min-height:44px}.festival-page .festival-updates .pbtn{font-size:12px;min-height:44px}.platform .festival-page .ptabs a{font-size:12px}.festival-page .festival-reference-gallery .art{height:100px}}
@media(max-width:540px){.platform .festival-page .festival-hero{padding:22px 20px;min-height:420px}.festival-hero-copy{max-width:100%;padding-top:30px}.platform .festival-page .festival-hero h1{font-size:36px;max-width:300px;letter-spacing:-.8px}.festival-page .festival-hero-slogan{display:none}.festival-hero-tools{top:12px;inset-inline-end:16px;gap:8px}.festival-hero-tools summary{width:33px;height:33px}.platform .festival-page .festival-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.festival-page .festival-hero-actions .pbtn{min-width:0;width:100%;padding:11px 9px;font-size:12px}.platform .festival-page .festival-hero .festival-pitch{font-size:13px}.festival-hero-meta{margin-block:14px}.festival-about{grid-template-columns:1fr;gap:18px}.festival-screening{max-height:260px}.festival-about p{font-size:13px}.festival-prizes{grid-template-columns:1fr 1fr;gap:12px}.festival-prize{padding:16px;gap:12px}.festival-prize>.icon{width:28px;height:28px}.festival-section-heading>a{font-size:10px}.festival-reference-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.festival-reference-gallery>a{flex:0 0 42%;scroll-snap-align:start}.festival-reference-gallery .art{height:110px!important}.festival-page .festival-gallery-grid{grid-template-columns:1fr 1fr}.festival-gallery-preview>.art{height:250px}.festival-popover{width:260px}.festival-page .file-row{flex-wrap:wrap;gap:12px}}
/* Resolve shared component rules without changing other platform screens. */
.platform.screen-festival .pheader>div{max-width:none;padding-inline:3.1%;gap:24px}
.platform.screen-festival .pheader .puser>span{display:initial}
.platform.screen-festival .pheader .puser>span:not(.navigation-avatar):last-child{display:none}
.platform .festival-page .festival-information dl{grid-template-columns:minmax(0,1fr)}
.platform .festival-page .festival-about>.festival-screening{width:100%;float:none;max-width:none;height:auto;aspect-ratio:358/226;margin:0}
@media(max-width:1350px){.platform.screen-festival .pheader>div{padding-inline:24px;gap:18px}}
@media(max-width:540px){.platform.screen-festival .pheader>div{padding-inline:20px;gap:12px}}
.festival-updates .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:540px){.platform .festival-page.venice-demo .festival-hero{background-image:linear-gradient(90deg,rgba(2,12,27,.74),rgba(3,15,28,.35)),url('/assets/venice-hero.webp')}}

.festival-people{display:grid;gap:1rem}.festival-person{display:flex;align-items:flex-start;gap:1rem}.festival-person img{width:7rem;height:7rem;object-fit:cover;border-radius:50%;flex:none}.festival-person h3{margin:0 0 .3rem}.festival-person p{margin:.25rem 0 .7rem}.festival-person a{overflow-wrap:anywhere}.festival-tab-content .rules-box{white-space:normal;overflow-wrap:anywhere}.festival-tab-content details p{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.submissions-advanced{display:flex;flex-wrap:wrap;gap:.8rem;align-items:end;margin:1rem 0}.submissions-advanced h2{flex-basis:100%;margin:0}.submissions-advanced label{display:grid;gap:.3rem;min-width:9rem;flex:1 1 9rem}.submissions-advanced input,.submissions-advanced select{max-width:100%;min-height:2.5rem}.submissions-advanced button{min-height:2.5rem}@media(max-width:600px){.festival-person{flex-direction:column}.festival-person img{width:5.5rem;height:5.5rem}.submissions-advanced label{flex-basis:100%}}
