/* Only the shortcode page layout is adjusted; its theme header/footer remain native. */
body.tbc-gallery-page #content,body.tbc-gallery-page #primary,body.tbc-gallery-page .site-main,body.tbc-gallery-page article.page,body.tbc-gallery-page .entry-content{margin:0;padding:0;border:0;width:100%;max-width:none}
body.tbc-gallery-page #content>.ast-container{max-width:none;width:100%;padding:0;display:block}
body.tbc-gallery-page .entry-header,body.tbc-gallery-page #secondary{display:none}
body.tbc-gallery-page .entry-content>#tbc-gallery,body.tbc-gallery-page .wp-block-shortcode{margin:0;max-width:none}
body.tbc-gallery-page #content #primary article.page{padding:0!important;margin:0!important}
body.tbc-gallery-page.tbc-gallery-active #ast-scroll-top{visibility:hidden;pointer-events:none}
#tbc-gallery>.travel,#tbc-gallery .viewport{width:100%;max-width:none;margin:0}
#tbc-gallery{--gutter:clamp(24px,5vw,88px);--ink:#172c44;--muted:#52677c;--blue:#1859cb;--gallery-header-offset:0px;position:relative;padding-top:var(--gallery-entry-clearance,0px);overflow:clip;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55;color:var(--ink);background:#fff}
#tbc-gallery button{font-family:inherit;font-weight:400;text-transform:none;letter-spacing:normal;box-shadow:none;border-radius:0;line-height:1.5}
#tbc-gallery h1,#tbc-gallery h2{font-family:inherit;color:var(--ink);font-style:normal;text-transform:none}
#tbc-gallery p{margin:0}
#tbc-gallery .viewport{top:var(--gallery-header-offset);height:calc(100svh - var(--gallery-header-offset));min-height:0}
#tbc-gallery[data-view="spatial"] .viewport{
 background:
  radial-gradient(ellipse 58% 42% at 53% 48%,#fff 0%,#ffffffcf 28%,#ffffff00 100%),
  radial-gradient(ellipse 72% 78% at 0% 35%,#e4edfc 0%,#e4edfc00 86%),
  radial-gradient(ellipse 66% 74% at 100% 72%,#ede7f6 0%,#ede7f600 90%),
  linear-gradient(180deg,#fff 0%,#fafbff 55%,#edf0f8 100%);
}
#tbc-gallery[data-view="spatial"] .horizon{
 background:radial-gradient(ellipse at center,#958ca535 0%,#b9adcf18 48%,transparent 72%);
}
#tbc-gallery .project,#tbc-gallery .reflection{width:min(680px,60vw,calc(max(210px,100svh - var(--gallery-header-offset) - 160px)*1.6))}
#tbc-gallery .gallery-topline{position:absolute;top:24px;left:var(--gutter);right:var(--gutter);z-index:16;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px}
#tbc-gallery .gallery-breadcrumb{display:flex;align-items:center;gap:13px;font-size:10px;letter-spacing:.06em;color:#61748b}
#tbc-gallery .gallery-breadcrumb a{color:#235ba9;border-bottom:1px solid #235ba933}
#tbc-gallery .gallery-breadcrumb>span[aria-hidden]{color:#9baabd}
#tbc-gallery .intro{top:19%;max-width:490px}
#tbc-gallery .intro h1{font-weight:400;font-size:clamp(56px,6.4vw,102px);letter-spacing:-.065em;line-height:.98}
#tbc-gallery .eyebrow{font-size:9px;font-weight:500;letter-spacing:.16em;color:#32669f}
#tbc-gallery .intro>p:last-child{font-size:14px;line-height:1.7;color:#59718a;margin-top:26px}
#tbc-gallery .screen{padding:10px;border-radius:12px;border-color:#a7b8d09c;background:linear-gradient(130deg,#ffffffeb,#dfe8f63d 46%,#ffffffb3);box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #8fa3bf3d,0 22px 62px #27456b17,0 3px 10px #284d7221}
#tbc-gallery .screen::after{border-radius:15px;border-color:#5e7ba52e;inset:-3px}
#tbc-gallery .screen-top{height:27px;font-size:8px;font-weight:500;letter-spacing:.13em;color:#4b6281;padding:0 4px 9px}
#tbc-gallery .screen-link{border-radius:4px}
#tbc-gallery .screen-link:focus-visible{outline-offset:3px}
#tbc-gallery .sheen{background:linear-gradient(110deg,transparent 36%,#eaf6ff10 46%,#ffffff20 49%,#e3e9ff08 57%,transparent 65%)}
#tbc-gallery .project-info{bottom:102px;width:290px}
#tbc-gallery .project-info h2{font-size:clamp(30px,2.9vw,42px);font-weight:450;letter-spacing:-.055em;margin:12px 0 15px;line-height:1.07}
#tbc-gallery .project-index{font-size:9px;letter-spacing:.13em;color:#2e649f}
#tbc-gallery .project-info>p:not(.project-index){font-size:13px;line-height:1.75;max-width:29ch;color:#50667d}
#tbc-gallery .project-info a,#tbc-gallery .panel-caption>a{border:1px solid #6785ac66;padding:12px 17px;min-height:46px;font-size:11px;letter-spacing:.015em;gap:30px;background:#ffffff40}
#tbc-gallery .project-info a:hover,#tbc-gallery .panel-caption>a:hover{background:#edf3fd;border-color:#4777b6;color:#174f9c}
#tbc-gallery .project-info small{color:#6e7e92;font-size:9px;line-height:1.6}
#tbc-gallery .journey-ui{bottom:24px}
#tbc-gallery .view-toggle{font-size:10px;color:#566d87;background:none;padding:8px 0}
#tbc-gallery .project-nav button{font-size:10px;color:#506b89;border:1px solid transparent;border-radius:50%;padding:10px;min-width:40px;min-height:40px}
#tbc-gallery .project-nav button[aria-current]{color:#1859cb;font-weight:600;background:#e8effc80;border-color:#6c91c352}
#tbc-gallery .project-nav button:hover{color:#1859cb;background:#e8effc80}
#tbc-gallery .project-nav>span{background:#758ea93b;width:15px}
#tbc-gallery .scroll-cue{font-size:9px;color:#6a7d96;letter-spacing:.025em}
#tbc-gallery .outro .contact-link{background:#1859cb;color:#fff;border:1px solid #1859cb;font-size:12px;letter-spacing:0;padding:13px 20px;min-height:48px;gap:22px}
#tbc-gallery .outro .contact-link:hover{background:#0e46a9}
#tbc-gallery .restart{background:none;color:#586d83;border:0;padding:14px;font-size:11px}
#tbc-gallery .outro h2{font-weight:400;letter-spacing:-.06em}
#tbc-gallery[data-view="list"]{overflow:visible}
#tbc-gallery[data-view="list"] .gallery-topline{top:25px}
#tbc-gallery[data-view="list"] .journey-ui{z-index:20}
#tbc-gallery[data-view="list"] .project{scroll-margin-top:calc(var(--gallery-header-offset) + 30px)}
#tbc-gallery[data-view="list"] .panel-caption h2{font-weight:400}
@media(max-width:1100px){#tbc-gallery .scroll-cue{display:none}#tbc-gallery .project-info{width:245px}}
@media(min-width:601px) and (max-width:900px){#tbc-gallery .project,#tbc-gallery .reflection{width:min(70vw,calc(max(210px,100svh - var(--gallery-header-offset) - 160px)*1.6))}}
@media(max-width:600px){
 #tbc-gallery .viewport{min-height:520px}
 #tbc-gallery .project,#tbc-gallery .reflection{width:91vw}
 #tbc-gallery .gallery-topline{top:11px;left:22px;right:22px;gap:10px}
 #tbc-gallery .gallery-breadcrumb{font-size:9px;gap:9px;letter-spacing:.025em}
 #tbc-gallery .intro{top:17%;left:24px;right:24px}
 #tbc-gallery .intro h1{font-size:clamp(47px,12.5vw,70px)}
 #tbc-gallery .intro .eyebrow{font-size:8px;max-width:255px}
 #tbc-gallery .intro>p:last-child{font-size:12px;margin-top:20px}
 #tbc-gallery .look{top:32%}
 #tbc-gallery .perspective{perspective-origin:50% 32%}
 #tbc-gallery .screen{padding:6px;border-radius:8px}
 #tbc-gallery .screen::after{border-radius:10px}
 #tbc-gallery .screen-top{height:21px;font-size:7px;padding:0 3px 6px}
 #tbc-gallery .project-info{left:24px;right:24px;bottom:90px;width:auto;max-width:310px}
 #tbc-gallery .project-info h2{font-size:30px;margin:9px 0 11px}
 #tbc-gallery .project-info>p:not(.project-index){font-size:12px;line-height:1.65;max-width:33ch}
 #tbc-gallery .project-info a{margin-top:15px;min-height:44px;padding:10px 14px;font-size:11px}
 #tbc-gallery .project-index{font-size:8px}
 #tbc-gallery .project-info small{font-size:9px;margin-top:8px}
 #tbc-gallery .journey-ui{bottom:20px}
 #tbc-gallery .project-nav button{min-width:32px;min-height:40px;width:32px;padding:8px 3px;border-radius:20px}
 #tbc-gallery .outro h2{font-size:46px}
 #tbc-gallery[data-view="list"] .intro{inset:auto}
}
#tbc-gallery[data-view="list"] .project{width:100%}
@media(min-width:601px) and (max-height:750px){#tbc-gallery .project-info{bottom:95px}#tbc-gallery .look{top:39%}#tbc-gallery .project-info h2{font-size:32px}}
