/*
Theme Name: 4K Security System
Description: Custom classic WordPress theme for 4K Security System, with editable homepage sections, blue-red switchboard styling, rounded typography and accessible product viewers.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Author: 4K Security System
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: four-k-security
*/
:root{--navy:#07162c;--blue:#0046ad;--red:#c71920;--gold:#e9b848;--muted:#526175}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:var(--navy);background:white;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #df9a11;outline-offset:5px}.wrap{width:min(1240px,calc(100% - 96px));margin:auto}.skip{position:absolute;top:-100px;background:white;padding:16px;z-index:20}.skip:focus{top:0}header{background:white;position:sticky;top:0;z-index:10;border-bottom:1px solid #e4e7ec}.nav{display:flex;align-items:center;justify-content:space-between;min-height:100px;gap:24px}.brand{display:flex;align-items:center;gap:15px}.brand img{width:79px;height:79px;object-fit:contain}.brand span{font-weight:800;font-size:16px;letter-spacing:.03em}.brand small{display:block;font-size:11px;letter-spacing:.13em;font-weight:500;margin-top:4px}nav{display:flex;gap:28px;align-items:center;font-size:14px;font-weight:600}nav a:hover,.product-link:hover{color:var(--red)}.nav-contact{border:1px solid #cad0d9;padding:11px 16px}.nav-contact span{margin-left:15px}.menu{display:none}.hero{background:var(--navy);color:white;overflow:hidden}.hero-inner{display:grid;grid-template-columns:1fr 1fr;min-height:660px}.hero-copy{padding:68px 36px 48px 0;position:relative;z-index:1}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;margin:0 0 24px;color:var(--gold)}h1{font-size:clamp(52px,5.8vw,82px);letter-spacing:-.045em;line-height:1.04;margin:0 0 25px;font-weight:800}h1 em{font-style:normal;color:var(--gold)}.intro{max-width:450px;color:#d1d9e6;font-size:18px;line-height:1.65}.actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin:30px 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:16px 22px;font-size:14px;font-weight:bold;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.red{background:var(--red);color:white}.red:hover{background:#a50d15}.text-link{font-size:14px;border-bottom:1px solid #667385;padding-bottom:4px}.location{font-size:13px;color:#b7c5d8;margin-top:28px}.hero-image{position:relative;margin:0 -100px 0 0;min-width:0;overflow:hidden}.hero-image>img{height:100%;width:100%;object-fit:cover;object-position:58% center;position:absolute}.hero-image:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#07162c 0%,transparent 30%),linear-gradient(0deg,rgba(7,22,44,.95),transparent 60%)}figcaption{position:absolute;z-index:1;bottom:42px;left:45px;right:50px}figcaption span{font-size:11px;letter-spacing:.18em;color:var(--gold)}figcaption strong{display:block;line-height:1.3;font-size:27px;margin:12px 0}figcaption small{font-size:12px;color:#bbc6d5}.brand-strip{border-bottom:1px solid #e3e7ec}.brand-strip .wrap{min-height:114px;display:flex;gap:45px;align-items:center;justify-content:space-between}.brand-strip p{font-size:11px;letter-spacing:.12em;color:#617087}.brand-strip strong{font-size:14px;font-weight:400;letter-spacing:0;color:var(--navy)}.brand-strip span{font-size:24px;font-weight:800;letter-spacing:.015em}.brand-strip .unv{font-size:39px;font-style:italic;line-height:1}.unv small{font-size:12px;display:block;font-style:normal;text-align:center;margin-top:7px}.kantech{font-style:italic}.section{padding-top:92px;padding-bottom:92px}.blue{color:var(--blue)}h2{font-size:clamp(32px,3.4vw,48px);line-height:1.14;letter-spacing:-.035em;margin:0 0 20px}.section-top{display:grid;grid-template-columns:1fr 1fr;gap:90px;margin-bottom:40px}.section-top>p,.section-top>div>p:not(.eyebrow){color:var(--muted);max-width:510px}.services{border-top:1px solid #d8dfe7}details{border-bottom:1px solid #d8dfe7}summary{display:flex;align-items:center;gap:25px;padding:23px 0;cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}.number{color:var(--blue);font-size:13px;font-weight:bold;width:35px}h3{margin:0;font-size:22px;letter-spacing:-.025em}.plus{margin-left:auto;font-size:25px;color:var(--blue);line-height:1}details[open] .plus{transform:rotate(45deg)}.detail{margin:0 65px 27px;max-width:760px;color:var(--muted)}.detail p{margin-top:0}.service-note,.detail a{font-size:14px;color:var(--blue);font-weight:600}.products{background:#f2f5f9}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.product-title{padding:0 0 22px}.product-title span{font-size:11px;letter-spacing:.1em;color:var(--blue);font-weight:bold}.product-title h3{margin-top:8px}.product-grid img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:var(--navy);display:block;border-radius:3px}.product-grid p{color:var(--muted);font-size:15px}.product-link{font-size:14px;font-weight:bold;border-bottom:1px solid #b8c3d3;padding-bottom:5px}.fine{font-size:12px;color:var(--muted);margin:35px 0 0}.monitoring{background:var(--navy);color:white;border-top:4px solid var(--gold)}.monitoring-grid{display:grid;grid-template-columns:1fr 1fr;gap:95px}.monitoring p:not(.eyebrow){color:#c6d2e2}.monitoring .button{margin-top:18px}.light{background:#fff;color:var(--navy)}.coverage{border:1px solid #364458;padding:30px}.coverage .eyebrow{font-size:11px}.coverage>div{padding:18px 0;border-bottom:1px solid #364458}.coverage span{display:block;font-size:14px;color:#b5c4d9}.coverage strong{font-size:21px;font-weight:600;display:block;margin-top:6px}.coverage>p:last-child{font-size:12px;line-height:1.6;margin-bottom:0}.process{display:grid;grid-template-columns:repeat(3,1fr);gap:44px;margin-top:35px}.process>div{border-top:2px solid #dbe2ec;padding-top:25px}.process b{color:var(--blue);font-size:14px}.process h3{font-size:20px;margin:14px 0 8px}.process p{color:var(--muted);font-size:15px;margin:0}.contact{background:#eaf0f8;padding:75px 0}.contact .eyebrow{color:var(--blue)}.contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center}.contact p{color:var(--muted);max-width:480px}.contact .button{margin-top:18px}address{font-style:normal;border-left:1px solid #bac7d9;padding-left:60px}address span{display:block;font-size:11px;font-weight:bold;letter-spacing:.15em;color:var(--blue);margin-top:18px}address>a{font-size:clamp(19px,2vw,28px);font-weight:bold;display:block;margin:8px 0 22px;overflow-wrap:anywhere}footer{min-height:110px;display:flex;align-items:center;gap:35px;font-size:13px}footer p{color:var(--muted)}footer>a:last-child{margin-left:auto}.footer-brand{font-weight:800} @media(min-width:1600px){.hero-image{margin-right:0}}@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.brand span{display:none}nav{gap:18px}.hero-copy{padding-top:52px}.hero-inner{min-height:620px}h1{font-size:62px}.actions{gap:18px}.section-top,.monitoring-grid,.contact-grid{gap:40px}.product-grid{gap:20px}address{padding-left:30px}}@media(max-width:700px){html{scroll-padding-top:90px}.wrap{width:calc(100% - 40px)}.nav{min-height:82px}.brand img{width:64px;height:64px}.brand span{display:block;font-size:12px}.brand small{font-size:9px}.menu{display:block;border:1px solid #bbc5d3;background:white;padding:8px 12px;font-size:14px}nav{display:none;position:absolute;left:0;right:0;top:82px;background:white;padding:20px;box-shadow:0 10px 15px #07162c15;flex-direction:column;align-items:stretch}nav.open{display:flex}.hero-inner{display:block}.hero-copy{padding:45px 0 26px}h1{font-size:58px}.eyebrow{font-size:11px}.intro{font-size:17px}.hero-image{height:340px;margin:0 -20px}.hero-image:after{background:linear-gradient(0deg,rgba(7,22,44,.9),transparent 90%)}figcaption{bottom:25px;left:25px;right:25px}figcaption strong{font-size:23px}.brand-strip .wrap{flex-wrap:wrap;gap:18px 28px;padding:23px 0;justify-content:space-between}.brand-strip p{width:100%;margin:0}.brand-strip span{font-size:18px}.brand-strip .unv{font-size:29px}.section{padding-top:58px;padding-bottom:58px}.section-top,.monitoring-grid,.contact-grid{grid-template-columns:1fr;gap:14px}.section-top{margin-bottom:25px}.section-top h2{margin-bottom:0}.product-grid{grid-template-columns:1fr;gap:38px}.product-title{padding-bottom:14px}.product-grid p{margin:16px 0 10px}summary{gap:12px;padding:22px 0}summary h3{font-size:18px}.number{width:24px}.detail{margin:0 0 24px 36px;font-size:15px}.monitoring-grid{gap:35px}.coverage{padding:24px}.coverage strong{font-size:19px}.process{grid-template-columns:1fr;gap:28px}.contact{padding:55px 0}.contact-grid{gap:30px}address{border-left:0;border-top:1px solid #bac7d9;padding:12px 0 0}footer{flex-wrap:wrap;gap:4px 20px;padding-top:22px;padding-bottom:22px}footer p{margin:0}footer>a:last-child{width:100%;margin:5px 0 0}.button{padding:15px 17px;gap:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Blue and red technology theme with rounded, dimensional typography. */
@font-face{font-family:Nunito;src:url('assets/nunito.ttf') format('truetype');font-weight:200 1000;font-style:normal;font-display:swap}
:root{--navy:#06152f;--blue:#085bdb;--red:#da172b;--gold:#ffd16b;--muted:#485d7b}
body{font-family:Nunito,'Arial Rounded MT Bold',Arial,sans-serif;font-size:1rem}
header{background:linear-gradient(115deg,#05142c,#093b83 62%,#8d102b);color:white;border-bottom:2px solid #e7b84f;box-shadow:0 5px 22px #00133044}
.nav{min-height:148px}.brand{gap:20px}.brand img{width:130px;height:130px;filter:drop-shadow(0 6px 7px #0006);border-radius:12px}.brand span{font-weight:950;font-size:1.05rem;letter-spacing:.01em;text-shadow:0 2px 0 #031124}.brand small{font-size:.75rem;font-weight:700;letter-spacing:.08em;color:#d5e5ff;text-shadow:none}
.nav-contact{background:#c71b2c;border-color:#ef6b79;border-radius:12px;box-shadow:0 4px 0 #730f21}nav a:hover{color:#ffda84}.nav-contact:hover{color:white;background:#e12236}
html{scroll-padding-top:165px}
.hero,.monitoring,.contact{background-color:#06152f;background-image:linear-gradient(90deg,rgba(4,18,45,.72),rgba(5,17,40,.48) 55%,rgba(59,6,25,.5)),url('assets/technology-switchboard.webp');background-size:cover;background-position:center;background-repeat:no-repeat;color:white}
h1,h2,h3,.button,.footer-brand{font-family:Nunito,'Arial Rounded MT Bold',Arial,sans-serif;font-weight:950}h1{line-height:1.12;letter-spacing:-.035em;text-shadow:0 1px 0 #b2c5e3,0 2px 0 #91a9ce,0 3px 0 #6a85b2,0 4px 0 #456397,0 5px 0 #244576,0 10px 17px #0008}h1 em{color:#ffd16b;text-shadow:0 1px 0 #d9a744,0 2px 0 #ba832a,0 3px 0 #946221,0 4px 0 #6c4118,0 5px 0 #503115,0 10px 17px #0008}
h2{line-height:1.2;text-shadow:0 1px 0 #bdd0eb,0 2px 0 #8aa9d2,0 4px 6px #174f9130}h3{text-shadow:0 1px 0 #c6d6ed,0 2px 3px #174f9120}.hero-copy{padding-top:58px}.hero-image:after{background:linear-gradient(90deg,#083269b3,transparent 38%),linear-gradient(0deg,#31081ddd,transparent 75%)}
.monitoring h2,.contact h2{color:white;text-shadow:0 1px 0 #bdd0eb,0 2px 0 #8aa9d2,0 3px 0 #466c9e,0 4px 0 #193860,0 7px 12px #0008}
.button{border-radius:14px;font-size:.9375rem;border:1px solid #ffffff35;box-shadow:0 5px 0 #0004,0 9px 18px #0002}.red{background:linear-gradient(#f32e40,#b80e24);border-color:#ff7482;text-shadow:0 2px 0 #6f1029;box-shadow:0 5px 0 #730f21,0 9px 18px #0004}.red:hover{background:linear-gradient(#ff4657,#cb142b)}.light{box-shadow:0 5px 0 #92acd0,0 9px 18px #0004}.text-link{font-weight:800}.eyebrow{font-size:.75rem}
.brand-strip{background:linear-gradient(100deg,#e8f1ff,#fff 55%,#ffedf0)}.brand-strip p{font-size:.75rem}.brand-strip strong{font-size:.9375rem}.products{background:linear-gradient(125deg,#e9f2ff,#f7faff 65%,#ffe9ed)}.product-title span{font-size:.75rem}.product-grid article{border-top:3px solid #145fcb;padding-top:20px}.product-grid article:nth-child(2){border-color:#ce1930}.product-grid article:nth-child(3){border-color:#d4a034}.product-grid img{border-radius:14px;border:1px solid #bdd0ed;box-shadow:0 7px 18px #0a315124}.product-grid p,.process p{font-size:1rem}.fine{font-size:.8125rem}
.coverage{background:#041126b8;border:1px solid #6f99d7;border-radius:20px;box-shadow:10px 10px 0 #8e152d55}.coverage .eyebrow{font-size:.75rem}.coverage>div{border-color:#486388}.coverage>p:last-child{font-size:.8125rem}.monitoring{border-top:4px solid #e9b848;border-bottom:3px solid #d3253d}
.contact{border-top:4px solid #d9253f}.contact .eyebrow{color:var(--gold)}.contact p{color:#d3e1f7}.contact address{border-color:#7091c3}.contact address span{color:#ffd16b;font-size:.75rem}.contact address>a{color:white;font-weight:900;text-shadow:0 2px 0 #21375b}.contact address>a:hover{color:#ffda84}.process>div{border-image:linear-gradient(90deg,#095ed9,#d51b37) 1}.process b{font-size:1rem}footer{font-size:.875rem}.location{font-size:.875rem}
@media(max-width:1000px){.brand span{display:none}.nav{min-height:138px}.brand img{width:120px;height:120px}nav{gap:20px}html{scroll-padding-top:155px}}
@media(max-width:700px){.nav{min-height:114px;gap:12px}.brand{gap:12px}.brand img{width:96px;height:96px}.brand span{display:block;font-size:.8125rem;max-width:140px;line-height:1.35}.brand small{font-size:.75rem;letter-spacing:0;margin-top:7px}.menu{background:#11356a;border-color:#86a3cc;border-radius:10px;color:white;padding:8px 10px}nav{top:114px;background:linear-gradient(115deg,#082958,#63102a)}html{scroll-padding-top:132px}.hero-copy{padding-top:38px}h1{font-size:clamp(3rem,13vw,3.75rem)}.eyebrow{font-size:.75rem;letter-spacing:.09em}.coverage{box-shadow:5px 5px 0 #8e152d55}.product-title span{font-size:.75rem}.brand-strip p{font-size:.75rem}.contact-grid{gap:30px}.contact address{border-color:#7091c3}}
@media(max-width:380px){.brand span{max-width:115px;font-size:.75rem}.brand small{font-size:.75rem}.brand{gap:8px}.brand img{width:82px;height:82px}.nav{gap:8px}.wrap{width:calc(100% - 32px)}}

.quote-section{background:linear-gradient(120deg,#edf4ff,#fff 60%,#ffedf1)}.quote-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:start}.quote-intro{font-size:1.125rem;color:var(--muted)}.quote-note{color:var(--muted);font-size:1rem;margin-top:25px}.quote-note a{color:#084da7;text-decoration:underline;overflow-wrap:anywhere}.quote-form{background:white;padding:32px;border:1px solid #bdcde2;border-top:4px solid #ce1930;border-radius:20px;box-shadow:0 10px 30px #13366910}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.quote-form label{display:block;font-weight:800;font-size:.9375rem;margin-bottom:20px}.quote-form label>span{font-weight:500;color:var(--muted)}.quote-form input:not([type=checkbox]),.quote-form select,.quote-form textarea{display:block;width:100%;min-width:0;margin-top:7px;padding:12px;border:1px solid #93a8c3;border-radius:9px;background:#fafcff;color:var(--navy);font:inherit;font-size:1rem;font-weight:500;line-height:1.5}.quote-form textarea{resize:vertical}.quote-form input:focus-visible,.quote-form select:focus-visible,.quote-form textarea:focus-visible{outline:3px solid #176bd5;outline-offset:2px}.quote-form fieldset{margin:0 0 20px;padding:0;border:0;min-width:0}.quote-form legend{font-weight:900;font-size:1rem}.form-note{font-size:.875rem;color:var(--muted);margin:0 0 18px}.service-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.service-options label{display:flex;align-items:start;gap:9px;font-weight:600;margin:0;cursor:pointer;line-height:1.5}.service-options input{accent-color:#0755c6;width:19px;height:19px;flex-shrink:0;margin:2px 0 0}.quote-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:25px}.quote-actions button{cursor:pointer}.copy-quote{border:0;background:none;padding:8px 0;font:inherit;font-size:.9375rem;font-weight:800;text-decoration:underline;color:#084da7}.quote-status{font-size:.9375rem;color:#173e70;margin:22px 0 0}.quote-status:empty{display:none}#quote-fallback{margin-top:20px}#quote-fallback[hidden]{display:none}@media(max-width:1000px){.quote-grid{gap:30px;grid-template-columns:1fr 1.3fr}nav{gap:14px}}@media(max-width:800px){.quote-grid{grid-template-columns:1fr}.quote-form{padding:24px}.quote-note{margin-top:16px}}@media(max-width:500px){.form-row,.service-options{grid-template-columns:1fr}.form-row{gap:0}.quote-form{padding:20px}.service-options{gap:14px}}

/* Final brand placement and restrained 3D interaction. */
.brand img{width:150px;height:150px;border-radius:0;filter:drop-shadow(0 6px 5px #0007)}.nav{min-height:158px}.brand-strip .wrap{gap:35px;min-height:150px}.manufacturer-logo{display:flex;align-items:center;justify-content:center;flex:0 1 190px;height:112px;background:white;border-radius:14px;padding:12px 18px;box-shadow:0 4px 0 #c8d5e9,0 9px 20px #13346612}.manufacturer-logo img{display:block;width:100%;height:100%;object-fit:contain}.manufacturer-logo .ui-logo{width:78px;height:78px}.manufacturer-logo .kantech-mark{width:170px}.product-brand{height:80px;display:flex;align-items:center;margin-bottom:18px}.product-grid .product-brand img{width:125px;height:80px;aspect-ratio:auto;object-fit:contain;background:white;padding:8px 12px;border:1px solid #d2deec;border-radius:10px;box-shadow:none}.product-grid article:nth-child(2) .product-brand img{width:80px}.product-grid article:nth-child(3) .product-brand img{width:190px}.footer-brand img{width:110px;height:110px;object-fit:contain;display:block}.footer-brand{flex-shrink:0}
.product-grid article{transform:perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transform-origin:center;transition:transform .24s ease,filter .24s ease;border-radius:12px;padding:20px 12px 18px;backface-visibility:hidden}.product-grid article:hover{filter:drop-shadow(0 12px 12px #14396818)}.hero-copy{animation:hero-depth 1s ease-out both}.hero-image{animation:image-depth 1.2s ease-out both}.reveal-once{animation:section-depth .8s ease-out both}.button:active{transform:translateY(3px);box-shadow:0 2px 0 #0004}.coverage{transition:box-shadow .3s ease}.coverage:hover{box-shadow:12px 12px 0 #8e152d66,0 0 25px #2462ab33}@keyframes hero-depth{from{opacity:0;transform:perspective(1200px) translateZ(-50px) translateY(18px)}to{opacity:1;transform:none}}@keyframes image-depth{from{opacity:0;transform:perspective(1200px) rotateY(-4deg) scale(.97)}to{opacity:1;transform:none}}@keyframes section-depth{from{opacity:.3;transform:perspective(1200px) translateY(24px) rotateX(3deg)}to{opacity:1;transform:none}}
html{scroll-padding-top:176px}@media(max-width:1000px){.brand img{width:125px;height:125px}.nav{min-height:140px}.manufacturer-logo{flex-basis:160px}.brand-strip .wrap{gap:20px}html{scroll-padding-top:158px}}@media(min-width:701px) and (max-width:850px){nav{font-size:12px;gap:12px}.nav-contact{padding:10px}.brand img{width:100px;height:100px}.nav{min-height:118px;gap:12px}html{scroll-padding-top:138px}}@media(max-width:700px){.brand img{width:112px;height:112px}.nav{min-height:126px}nav{top:126px}.brand-strip .wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.brand-strip p{grid-column:1/-1}.manufacturer-logo{height:84px;padding:8px}.manufacturer-logo .ui-logo{width:58px;height:58px}.manufacturer-logo .kantech-mark{width:100%}.footer-brand img{width:90px;height:90px}.product-grid article{padding-left:0;padding-right:0}.product-brand{height:70px}.product-grid .product-brand img{height:70px}html{scroll-padding-top:144px}}@media(max-width:380px){.brand img{width:90px;height:90px}}@media(prefers-reduced-motion:reduce){.hero-copy,.hero-image,.reveal-once{animation:none!important;transform:none!important}.product-grid article{transform:none!important}*{transition:none!important}}

.product-preview,.logo-preview{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;border-radius:14px}.logo-preview{width:auto}.product-link{display:inline-block;background:none;border:0;border-bottom:1px solid #b8c3d3;padding:0 0 5px;font-family:inherit;cursor:zoom-in;text-align:left}.image-viewer{width:min(1500px,96vw);max-width:96vw;max-height:94dvh;padding:0;border:1px solid #728cad;border-radius:16px;background:#07162c;color:white;box-shadow:0 24px 100px #0009;overflow:auto}.image-viewer::backdrop{background:#020a18df}.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;background:#07162c;position:sticky;top:0;z-index:1;border-bottom:1px solid #3f5270}.viewer-toolbar h2{margin:0;font-size:1.125rem;line-height:1.4;text-shadow:none;letter-spacing:0}.viewer-close{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:9px 16px;background:#c7192c;color:white;border:1px solid #f27481;border-radius:9px;font:inherit;font-weight:800;cursor:pointer;min-height:44px}.viewer-close span{font-size:1.6rem;line-height:1}.viewer-image-wrap{display:flex;align-items:center;justify-content:center;padding:14px;min-height:150px}.viewer-image-wrap img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(94dvh - 100px);object-fit:contain;background:white;border-radius:5px}.viewer-open{overflow:hidden}@media(max-width:700px){.viewer-toolbar{padding:12px}.viewer-toolbar h2{font-size:1rem}.viewer-image-wrap{padding:6px}.image-viewer{width:96vw}.viewer-close{padding:8px 12px}}

/* WordPress integration */
body.admin-bar>header{top:32px}.wp-page-content{max-width:900px;min-height:50vh}.wp-page-content img{max-width:100%;height:auto}.wp-page-content a{color:#064fb2;text-decoration:underline}.wp-page-content h1{font-size:clamp(2.25rem,5vw,3.5rem);text-shadow:none}.wp-page-content .entry-content{overflow-wrap:anywhere}.wp-page-content .entry-content h2{font-size:2rem;text-shadow:none}.wp-page-content .entry-content h3{font-size:1.5rem}.wp-page-content .post-entry{margin-bottom:3rem}.wp-page-content .entry-content table{border-collapse:collapse;width:100%}.wp-page-content td,.wp-page-content th{border:1px solid #aabbd2;padding:10px}.wp-page-content input,.wp-page-content textarea{max-width:100%;font:inherit}.wp-page-content .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:782px){body.admin-bar>header{top:46px}}@media(max-width:600px){body.admin-bar>header{top:0}}
