/*
Theme Name: ITH Design Editor
Description: Mörkt WordPress-tema med blå accenter, ITH-identitet och integration med ITH Design Web.
Version: 1.0.0
Author: ITH Design & Innovation
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: ith-design-editor
*/
:root{--bg:#090e14;--panel:#101923;--panel-raised:#14212e;--line:#25313e;--text:#f1f5fa;--muted:#a0afbf;--blue:#0088f9;--blue-light:#68c5ff;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 "Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{color:var(--blue-light);text-underline-offset:5px}a:hover{color:#fff}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}:focus-visible{outline:2px solid var(--blue-light);outline-offset:5px}h1,h2,h3,p{margin:0 0 20px}h1,h2,h3{line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(36px,5vw,66px);font-weight:650}h2{font-size:clamp(30px,3.5vw,45px);font-weight:600}h3{font-size:23px;font-weight:600}p:last-child{margin-bottom:0}.shell{width:min(1200px,calc(100% - 80px));margin-inline:auto}.section{padding-block:88px}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:650;color:var(--blue-light);line-height:1.6;margin-bottom:20px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link:focus{position:fixed;top:36px;left:20px;padding:12px 20px;background:var(--blue);color:white;z-index:99999}#main:focus{outline:none}.site-header{border-bottom:1px solid var(--line);background:#0b1119}.header-inner{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:40px}.brand-wrap{flex:0 0 205px}.brand,.custom-logo-link{display:block;line-height:0}.brand img,.custom-logo{display:block;width:205px;max-height:85px;object-fit:contain}.primary-navigation{margin-left:auto}.site-menu,.site-menu ul,.footer-menu{list-style:none;padding:0;margin:0}.site-menu{display:flex;gap:28px;flex-wrap:wrap;align-items:center}.site-menu li{position:relative}.site-menu a{display:block;color:#b2becc;text-decoration:none;font-size:14px;padding:12px 0;transition:color .15s}.site-menu a:hover,.site-menu .current-menu-item>a,.site-menu .current_page_item>a{color:#fff}.site-menu .current-menu-item>a:after,.site-menu .current_page_item>a:after{content:"";display:block;width:16px;height:2px;background:var(--blue);position:absolute;bottom:5px}.site-menu ul{position:absolute;top:100%;left:0;min-width:210px;padding:10px 18px;background:var(--panel-raised);border:1px solid var(--line);border-radius:8px;z-index:20;display:none}.site-menu>li:last-child>ul{left:auto;right:0}.site-menu ul ul{left:100%;top:0}.site-menu li:hover>ul,.site-menu li:focus-within>ul{display:block}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1fr 1.1fr;gap:65px;align-items:center;padding-block:80px 76px}.status-dot{display:inline-block;width:6px;height:6px;margin-right:8px;border-radius:50%;background:var(--blue);box-shadow:0 0 15px #0088f966}.hero h1{font-size:clamp(56px,6.4vw,90px);line-height:1.02;max-width:500px;letter-spacing:-.06em;margin-bottom:28px}.hero-intro{max-width:440px;font-size:18px;color:var(--muted);line-height:1.8}.hero-actions{display:flex;gap:28px;align-items:center;flex-wrap:wrap;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;background:var(--blue);border:1px solid transparent;color:#fff;font-size:14px;line-height:1.4;padding:16px 22px;border-radius:5px;text-decoration:none;font-weight:600;cursor:pointer;transition:background .15s}.button:hover{background:#0872c9;color:#fff}.button span{font-size:20px;line-height:1}.text-link{display:inline-flex;gap:15px;align-items:center;font-size:14px;text-decoration:none;color:var(--text)}.text-link span{color:var(--blue-light)}.hero-note{display:flex;align-items:center;gap:10px;margin-top:44px;font-size:9px;letter-spacing:.16em;color:#8c9bad}.hero-note>span{width:25px;height:1px;background:#50708c}.hero-stage{border:1px solid #2b3c4d;border-radius:12px;background:radial-gradient(ellipse at 55% 55%,#112638,#0e1721 75%);box-shadow:0 25px 85px #0003;overflow:hidden}.stage-top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 22px;border-bottom:1px solid #253543;font-size:9px;letter-spacing:.14em;color:#b7c8d8}.stage-label:before{content:"";display:inline-block;width:5px;height:5px;background:#5e9abb;margin-right:10px;border-radius:50%}.stage-index{color:#7990a3}.stage-art{position:relative;line-height:0}.stage-art>img{width:100%;display:block}.axis-label{position:absolute;left:24px;bottom:14px;color:#7791a8;font:9px/1 monospace;letter-spacing:2px}.stage-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;border-top:1px solid #253543;text-decoration:none;font-size:12px;color:#bccbdd;line-height:1.5}.illustration-label{font-size:10px;color:#8d9dae}.principles{display:grid;grid-template-columns:repeat(3,1fr) 1.1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:24px;color:#cad3dd;font-size:13px}.principles b{font-family:monospace;color:#5e7b96;font-size:10px;margin-right:20px;font-weight:400}.principle-end{text-align:right;color:var(--muted);font-size:11px}.principle-end span{margin-left:26px;color:var(--blue-light)}.section-heading{display:flex;justify-content:space-between;gap:40px;align-items:flex-end;margin-bottom:34px}.section-heading h2{margin:0}.section-heading>p{color:var(--muted);font-size:14px;line-height:1.8;margin:0}.model-grid,.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.model-card{display:block;text-decoration:none;color:var(--text);border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--panel);transition:border-color .2s,transform .2s}.model-card:hover{border-color:var(--blue);transform:translateY(-3px)}.model-card-image{position:relative;background:radial-gradient(ellipse,#152c41,#111a24);aspect-ratio:1.6;overflow:hidden}.model-card-image img{display:block;width:100%;height:100%;object-fit:contain}.model-tag{position:absolute;top:15px;left:16px;font-size:9px;letter-spacing:.12em;padding:3px 7px;background:#0b1622dd;border:1px solid #263c50;color:#8bb8d9}.model-card-copy{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px}.model-card-copy h3{font-size:19px;margin:0;overflow-wrap:anywhere}.model-card-copy>span{color:var(--blue-light);font-size:23px}.models-empty{display:flex;align-items:center;gap:36px;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:25px 38px}.models-empty img{flex:0 0 170px}.models-empty h3{margin-bottom:10px}.models-empty p{color:var(--muted);font-size:15px}.about-section{background:#101923;border-block:1px solid var(--line);padding-block:80px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:120px;align-items:center}.about-grid h2{max-width:480px;margin:0;font-size:clamp(34px,3.8vw,49px)}.about-copy>p{color:#b9c6d3;font-size:17px;line-height:1.9}.about-signature{display:flex;align-items:center;gap:16px;font-size:12px;color:#d5e1ed;margin-top:30px}.signature-line{height:1px;background:var(--blue);width:42px}.site-footer{padding-top:50px;border-top:1px solid var(--line)}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-bottom:40px}.footer-top .eyebrow{font-size:9px;color:#7891a6;margin-bottom:12px}.footer-heading{font-size:25px;color:#d7e0e9;letter-spacing:-.03em}.back-top{display:flex;gap:20px;text-decoration:none;font-size:12px;color:var(--muted)}.back-top span{color:var(--blue-light)}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-block:22px;font-size:11px;color:#8da0b1}.footer-bottom p{margin:0}.since{margin-left:16px;color:#75899b}.footer-menu{display:flex;gap:22px;flex-wrap:wrap}.footer-menu a{color:var(--muted);text-decoration:none}.footer-widgets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;padding-bottom:35px}.footer-widget h2{font-size:20px}.footer-widget{font-size:14px}.footer-widget a{color:var(--muted)}.content-shell{min-height:60vh}.page-heading{max-width:900px;margin-bottom:42px}.page-heading h1{overflow-wrap:anywhere}.entry-meta{font-size:13px;color:var(--muted)}.entry-content{font-size:17px;line-height:1.9;color:#c1ceda;overflow-wrap:anywhere}.entry-content>*{max-width:100%}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{color:var(--text);margin-top:35px}.entry-content p{margin-bottom:24px}.entry-content iframe{max-width:100%}.entry-content table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}.entry-content td,.entry-content th{padding:12px;border:1px solid var(--line)}.entry-content blockquote{border-left:3px solid var(--blue);margin:30px 0;padding:10px 25px;background:var(--panel)}.entry-image{margin-bottom:30px}.entry-image img{display:block;border-radius:8px}.entry-content .alignleft{float:left;margin-right:24px}.entry-content .alignright{float:right;margin-left:24px}.entry-content .aligncenter{margin-inline:auto;display:block}.entry-content .alignwide,.entry-content .alignfull{width:100%;max-width:100%}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px;color:var(--muted)}.news-card{padding:26px;border:1px solid var(--line);border-radius:8px;background:var(--panel);min-width:0}.news-card time{font-size:11px;color:var(--muted)}.news-card h2,.news-card h3{font-size:26px;margin-top:18px}.news-card h2 a,.news-card h3 a{text-decoration:none;color:var(--text)}.news-card p{font-size:15px;color:var(--muted)}.news-card .entry-content{font-size:15px}.pagination,.post-navigation{margin-top:35px}.nav-links{display:flex;gap:20px;flex-wrap:wrap}.search-form{display:flex;max-width:620px;gap:10px;margin-block:25px}input:not([type=checkbox]):not([type=radio]),textarea,select{padding:12px 14px;border:1px solid #3c5164;background:#101c28;color:#edf4fc;border-radius:4px;max-width:100%}.search-form input{flex:1;min-width:0}input[type=submit]{cursor:pointer;background:var(--blue)!important;border:0!important;color:white}textarea{width:100%}.comments-section{margin-top:65px;border-top:1px solid var(--line);padding-top:35px}.comments-section h2{font-size:30px}.comment-list{padding-left:25px}.comment-body{margin-block:25px}.comment-meta{font-size:13px;color:var(--muted)}.comment-author img{vertical-align:middle;border-radius:50%;margin-right:8px}.bypostauthor{border-left:2px solid var(--blue);padding-left:16px}.sticky{border-top:2px solid var(--blue)}.home-content{border-top:1px solid var(--line)}
/* Match the plugin viewer to the Editor identity. */
.ith-editor-theme .ithdw-viewer{background:#111e2b;border-color:#2b4054;border-radius:10px;color:#dceafa}.ith-editor-theme .ithdw-viewer model-viewer{background:radial-gradient(ellipse at center,#284b67,#122231 80%);--progress-bar-color:#0088f9}.ith-editor-theme .ithdw-toolbar button{background:#172d40;color:#d7eaff;border-color:#3b5870;border-radius:4px;font-size:12px}.ith-editor-theme .ithdw-toolbar button:hover{background:#254760}.ith-editor-theme .ithdw-help{color:#b1c4d7}.ith-editor-theme .ithdw-status{color:#dceafa}.ith-editor-theme .ithdw-viewer:fullscreen,.ith-editor-theme .ithdw-viewer.ithdw-expanded{background:#111e2b}.model-description{margin-top:36px}.featured-viewer .ithdw-viewer{border:0;border-radius:0}.featured-viewer .ithdw-viewer model-viewer{height:340px;min-height:240px}.featured-viewer .ithdw-help{font-size:10px}.featured-viewer .ithdw-status{font-size:12px}.featured-viewer .ithdw-toolbar{padding:8px 14px}.featured-viewer .ithdw-viewer:fullscreen model-viewer,.featured-viewer .ithdw-viewer.ithdw-expanded model-viewer{height:0;min-height:0}.featured-viewer .ithdw-viewer:fullscreen .ithdw-help,.featured-viewer .ithdw-viewer.ithdw-expanded .ithdw-help{font-size:14px}
@media(min-width:901px){.primary-navigation[hidden]{display:block}}
@media(max-width:1100px){.hero{gap:30px}.site-menu{gap:20px}.shell{width:calc(100% - 48px)}.about-grid{gap:60px}.hero-actions{gap:20px}.header-inner{gap:25px}}
@media(max-width:900px){.header-inner{min-height:95px;flex-wrap:wrap;padding-block:10px;gap:10px}.brand-wrap{flex-basis:180px}.brand img,.custom-logo{width:180px;max-height:72px}.menu-toggle{display:flex;align-items:center;gap:20px;background:transparent;border:1px solid var(--line);border-radius:4px;color:var(--text);padding:10px 14px;font-size:13px;cursor:pointer}.primary-navigation{width:100%;margin:0}.primary-navigation[hidden]{display:none}.site-menu{display:block;padding-block:12px}.site-menu>li>a{padding:12px;font-size:16px}.site-menu ul{position:static;margin-left:12px;border:0;border-left:1px solid var(--line);border-radius:0;background:none;display:block;min-width:0}.site-menu .current-menu-item>a:after,.site-menu .current_page_item>a:after{display:none}.hero{grid-template-columns:1fr 1fr;padding-block:56px;gap:28px}.hero h1{font-size:60px}.hero-intro{font-size:16px}.hero-actions{align-items:flex-start;flex-direction:column}.hero-note{font-size:8px}.section{padding-block:64px}.model-grid,.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-grid>.model-card:last-child:nth-child(3){grid-column:1/-1}.model-grid>.model-card:last-child:nth-child(3) .model-card-image{aspect-ratio:2.8}.about-grid{gap:40px}.principles{font-size:12px}.principles b{margin-right:9px}.featured-viewer .ithdw-viewer model-viewer{height:280px}.footer-widgets{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.shell{width:calc(100% - 40px)}.hero{grid-template-columns:1fr;gap:40px;padding-block:44px}.hero-copy{max-width:520px}.hero h1{font-size:64px;max-width:360px}.hero-intro{max-width:440px}.hero-actions{flex-direction:row;align-items:center;gap:22px}.hero-note{margin-top:28px}.hero-stage{max-width:520px;width:100%;margin-inline:auto}.stage-top{padding:14px 18px}.stage-caption{padding:16px 18px}.principles{grid-template-columns:1fr 1fr;gap:20px;font-size:13px}.principle-end{text-align:left}.section{padding-block:52px}.section-heading{display:block;margin-bottom:26px}.section-heading>p{margin-top:20px}.model-grid,.news-grid{grid-template-columns:1fr}.model-grid>.model-card:last-child:nth-child(3){grid-column:auto}.model-grid>.model-card:last-child:nth-child(3) .model-card-image{aspect-ratio:1.6}.models-empty{padding:20px;gap:10px;align-items:flex-start;flex-direction:column}.models-empty img{width:95px;flex:0 0 auto;height:65px;object-fit:contain;margin-left:-10px}.models-empty h3{font-size:22px}.about-section{padding-block:52px}.about-grid{grid-template-columns:1fr;gap:25px}.about-copy>p{font-size:16px}.about-signature{margin-top:24px}.footer-top{align-items:flex-start}.footer-heading{font-size:22px}.footer-top .back-top{white-space:nowrap;font-size:10px;gap:8px}.footer-bottom{flex-direction:column;align-items:flex-start;gap:12px;font-size:10px}.since{margin-left:6px}.footer-widgets{grid-template-columns:1fr}.entry-content{font-size:16px}.search-form{gap:8px}.search-form .button{padding-inline:18px}.news-card{padding:22px}.page-heading{margin-bottom:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}.model-card:hover{transform:none}}
/* Header-size logo needs a little extra room for its outlined lettering. */
@media(min-width:901px){.brand-wrap{flex-basis:245px}.brand img,.custom-logo{width:245px;max-height:94px}}
@media(max-width:650px){.brand-wrap{flex-basis:205px}.brand img,.custom-logo{width:205px;max-height:78px}}
