/* The source template CSS is loaded unchanged. These rules connect real records and the Web Forms shell. */
.template-page #mainForm{margin:0}.template-page #main-content{max-width:none;width:100%;padding:0;margin:0;display:block;background:transparent;min-height:0}
.template-page .demo-site{font-family:Arial,"Segoe UI",sans-serif;line-height:normal}.template-page .demo-mark{overflow:hidden;flex-shrink:0}.template-page .demo-mark img{width:100%;height:100%;object-fit:contain;background:#fff}
.template-page .demo-nav{flex-wrap:wrap}.template-page .demo-dropdown-panel section>details{position:relative}.template-page .demo-dropdown-panel section>details>summary{padding:12px 0;list-style:none}.template-page .demo-dropdown-panel section>details>.demo-dropdown-panel{position:static;box-shadow:none;padding:10px}
.template-page .demo-drawer .demo-dropdown-panel{position:static;display:block;min-width:0;background:transparent;color:inherit;box-shadow:none;border:0;padding:6px 0 6px 16px}.template-page .demo-drawer .demo-dropdown:not([open])>.demo-dropdown-panel{display:none}.template-page .demo-drawer .demo-brand{flex-wrap:wrap}.template-page .demo-drawer .studio-contact-value{display:flex;gap:10px;margin-block:12px}.template-page .demo-drawer .studio-contact-value small{display:block}
.template-slider{height:var(--slider-height);position:relative}.template-slider .source-headline-frame{width:100%;height:100%;border:0;display:block}.template-slider .demo-story{margin:0}.template-slider.swiper .swiper-wrapper{height:100%}.template-slider.splide :is(.splide__track,.splide__list){height:100%}.template-slider .glide__track,.template-slider .glide__slides{height:100%;margin:0}.template-slider .glide__slide{height:100%}.template-slider .tns-outer,.template-slider .tns-inner{height:100%}
/* Own the control dimensions even when the local engine uses SVG instead of icon fonts. */
.template-slider :is(.swiper-button-prev,.swiper-button-next,.splide__arrow,.glide__arrow,.tns-controls button){box-sizing:border-box;width:44px!important;height:44px!important;min-width:44px;min-height:44px;padding:10px!important;display:flex;align-items:center;justify-content:center;border:0;border-radius:4px;background:#0c172899;color:#fff;line-height:1;opacity:1}
.template-slider :is(.swiper-button-prev,.swiper-button-next) svg{width:20px;height:20px;max-width:100%;max-height:100%}
.template-slider :is(.swiper-button-prev,.swiper-button-next)::after{font-size:20px}
.template-slider :is(.splide__arrow svg){width:20px;height:20px;fill:currentColor}
.template-slider .glide__arrow{font-size:30px}
.template-slider .tns-controls{left:0;top:50%;transform:translateY(-50%);padding-inline:12px;box-sizing:border-box}
.template-slider .tns-controls button{font-size:0}
.template-slider .tns-controls button::before{content:'';display:block;width:12px;height:12px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.template-slider .tns-controls button[data-controls=next]::before{transform:rotate(225deg)}
.template-slider :is(button,.swiper-button-prev,.swiper-button-next):focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #14345f}
.template-slider .tns-ovh{height:100%}
.template-slider .tns-nav{position:absolute;bottom:12px;left:60px;right:60px;z-index:3}
.template-slider .tns-nav button{background:#fff;box-shadow:0 0 0 1px #14345f}
.template-slider .portal-slider{position:relative;height:100%;overflow:hidden}
.template-slider .portal-slide{position:relative;height:calc(100% - 92px);margin:0}
.template-slider .portal-slide[hidden]{display:none}
.template-slider .portal-slide>a{display:block;height:100%}
.template-slider .portal-slide img{display:block;width:100%;height:100%;object-fit:cover}
.template-slider .slider-caption{position:absolute;bottom:24px;left:6%;max-width:80%;padding:20px;background:var(--caption-bg);color:var(--caption-text)}
.template-slider .slider-caption h3{font-size:clamp(22px,4vw,44px);margin:0}
.template-slider .slider-previews{height:92px;display:flex;gap:8px;padding:8px;overflow-x:auto;background:var(--surface)}
.template-slider .slider-preview{flex:0 0 120px;position:relative;border:2px solid transparent;padding:0;background:var(--primary);color:#fff;overflow:hidden}
.template-slider .slider-preview[aria-current=true]{border-color:var(--accent)}
.template-slider .slider-preview img{width:100%;height:100%;object-fit:cover}
.template-slider .slider-preview span{position:absolute;inset:auto 0 0;padding:4px;background:#000a;font-size:11px}
.template-slider .slider-controls:not([hidden]){position:absolute;right:12px;bottom:106px;display:flex;align-items:center;gap:8px;color:#fff}
.template-slider .slider-controls button{min-height:44px;padding:8px;background:var(--button-bg);color:var(--button-text);border:0;border-radius:4px}
.template-page .demo-caption{color:var(--caption-text);background:var(--caption-bg)}
.template-page .demo-caption .demo-cta{background:var(--button-bg);color:var(--button-text)}
.template-canvas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;align-items:start}.template-canvas>div,.template-section{grid-column:1/-1;min-width:0}.template-section.template-span-1{grid-column:span 1}.template-section.template-span-2{grid-column:span 2}.template-section.template-span-3{grid-column:span 3}.template-section{padding-block:36px}.template-section:first-of-type{padding-top:65px}.template-section .demo-services{margin-block:0}.template-section .demo-feature{margin-bottom:30px}.template-section .demo-intro h2{margin-top:0}.template-section .demo-news-image img{width:100%;height:100%;object-fit:cover}.template-section .demo-services img{width:44px;height:44px;object-fit:contain}.template-section .demo-news-grid[style]{grid-template-columns:repeat(var(--template-columns,4),minmax(0,1fr))}.template-all{margin-top:24px}.template-no-image{display:grid;place-items:center;min-height:210px;height:100%;background:var(--surface);color:var(--primary);font-size:42px}.template-section .template-reads{display:block;margin-block:8px}.demo-bottom .portal-preference{color:inherit;background:transparent;border:1px solid currentColor;border-radius:4px;padding:9px 12px}
.template-page .demo-footer .footer-latest h2{font-size:16px;font-family:inherit;margin-top:0}.template-page .demo-footer .footer-latest ul{padding:0;list-style:none}.template-page .demo-footer .footer-latest time{display:block;font-size:11px;opacity:.75}.template-page .demo-footer .studio-contact-value{margin-block:12px;display:flex;gap:10px}.template-page .demo-footer .studio-contact-value small{display:block;font-size:12px}
.template-page .theme-panorama .template-section .demo-news-grid>article:nth-child(n+5){display:block}
.template-section .portal-home-layout,.template-section .portal-region{display:block}.template-section .portal-block{min-width:0}.template-section :is(.content-cards,.people-cards,.gallery-cards){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:24px}.template-section .content-cards img{width:100%;height:220px;object-fit:cover}.template-section .content-cards article>a>div{padding:20px}.template-section .content-list{display:grid;gap:12px}.template-section .content-list article>a{display:flex;gap:16px;align-items:center}.template-section .content-list img{width:80px;height:80px;object-fit:cover}.template-section .portal-button{display:inline-flex;padding:10px 18px;background:var(--primary);color:var(--on-primary);border:0;border-radius:5px}
.template-page .demo-footer section>a:not(.demo-brand){display:flex;gap:10px;align-items:start}.template-page .demo-footer section>a:not(.demo-brand) small{display:block;font-size:12px;overflow-wrap:anywhere}.template-page .demo-footer .footer-latest li{margin:10px 0}.template-page .demo-footer .footer-latest li a{display:block;font-size:12px;line-height:1.7}
.template-page #main-content>.public-detail-layout{display:flex;gap:24px}.template-page .detail-main{min-width:0;flex:1}.template-page .detail-sidebar{width:280px}
@container demo (max-width:1050px){.template-slider{height:var(--mobile-height)}.template-section .demo-news-grid[style]{grid-template-columns:repeat(2,minmax(0,1fr))}.template-canvas>.template-no-mobile{display:none}}
@container demo (min-width:1051px){.template-canvas>.template-no-desktop{display:none}}
@container demo (max-width:600px){.template-section{grid-column:1/-1!important;padding-block:24px}.template-section:first-of-type{padding-top:42px}.template-section .demo-news-grid[style]{grid-template-columns:1fr}.template-page #main-content>.public-detail-layout{display:block}.template-page .detail-sidebar{width:auto}}
.template-page .demo-brand{min-width:0;max-width:100%}
.template-page .demo-brand .template-logo{display:block;flex:0 1 auto;min-width:0;max-width:100%;width:auto;height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.template-page .template-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:76px;object-fit:contain;border-radius:0;background:transparent}
.template-page .demo-footer .template-logo img{max-height:90px}
.template-page .demo-brand.brand-width-desktop .template-logo{width:var(--brand-desktop-width)}
.template-page .demo-brand.brand-width-desktop .template-logo img{width:100%;max-height:none}
@container demo (max-width:767px){.template-page .demo-brand .template-logo img{max-height:62px}.template-page .demo-brand.brand-width-desktop:not(.brand-width-mobile) .template-logo{width:auto}.template-page .demo-brand.brand-width-desktop:not(.brand-width-mobile) .template-logo img{width:auto}.template-page .demo-brand.brand-width-mobile .template-logo{width:var(--brand-mobile-width)}.template-page .demo-brand.brand-width-mobile .template-logo img{width:100%;max-height:none}}
