/*
Theme Name: OLSIN LIGHT THEME
Theme URI: https://olsin.al
Description: Super light, SEO-first WordPress theme. No jQuery, no external fonts (Roboto / Roboto Condensed self-hosted, or Helvetica), header / body / footer code boxes, adjustable max width (default 1366px), fully responsive, compatible with any plugin (WooCommerce, Elementor, Gutenberg, forms, caching, SEO plugins).
Version: 1.0.0
Author: Olsin
License: GPL-2.0-or-later
Text Domain: olsin-light
Requires at least: 5.8
Requires PHP: 7.4
*/
*,*:before,*:after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{margin:0;font-family:var(--bf);font-size:var(--fs);line-height:1.65;color:var(--tx);background:var(--bg);overflow-x:clip;overflow-wrap:break-word;text-rendering:optimizeSpeed}
img,video,iframe,svg{max-width:100%}
img{height:auto;vertical-align:middle}
a{color:var(--pc);text-underline-offset:2px}
a:hover{text-decoration:none}
h1,h2,h3,h4,h5,h6{font-family:var(--hf);line-height:1.2;margin:1.4em 0 .5em;font-weight:700;color:var(--hc)}
h1{font-size:clamp(1.9rem,4.2vw,2.9rem);margin-top:0}
h2{font-size:clamp(1.5rem,3vw,2.15rem)}
h3{font-size:clamp(1.25rem,2.2vw,1.6rem)}
h4{font-size:1.2rem}h5,h6{font-size:1rem}
p{margin:0 0 1.1em}
ul,ol{padding-left:1.3em}
figure{margin:0 0 1.2em}
table{border-collapse:collapse;width:100%;margin-bottom:1.2em}
th,td{border:1px solid #e3e6ea;padding:8px 10px;text-align:left}
.wp-block-table{overflow-x:auto}
blockquote{margin:1.2em 0;padding:.4em 1.2em;border-left:4px solid var(--pc);background:#f6f8fa}
code,pre{font-family:Consolas,Menlo,monospace;font-size:.92em}
pre{overflow:auto;background:#f6f8fa;padding:14px;border-radius:8px}
hr{border:0;border-top:1px solid #e3e6ea;margin:2em 0}
input,select,textarea,button{font:inherit}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],select,textarea{width:100%;max-width:100%;padding:11px 14px;border:1px solid #cfd5db;border-radius:8px;font-size:16px;background:#fff;color:var(--tx)}
textarea{min-height:130px}
input:focus,select:focus,textarea:focus,a:focus-visible,button:focus-visible{outline:2px solid var(--pc);outline-offset:2px}
.ol-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:1000;background:#fff;color:#000;padding:10px 16px;border-radius:6px}
.skip-link:focus{left:8px}

/* layout */
.ol-wrap{width:100%;max-width:var(--w);margin:0 auto;padding-left:clamp(16px,4vw,32px);padding-right:clamp(16px,4vw,32px)}
.ol-main{display:block;min-height:50vh}
.ol-page,.ol-single{padding-top:clamp(24px,4vw,48px);padding-bottom:clamp(36px,6vw,72px)}
.ol-read{max-width:var(--rw)}
.ol-content>*:first-child{margin-top:0}
.ol-content img{border-radius:6px}
.alignwide{max-width:min(var(--w),100vw)}
.alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}
.alignleft{float:left;margin:0 1.2em 1em 0}.alignright{float:right;margin:0 0 1em 1.2em}.aligncenter{display:block;margin-left:auto;margin-right:auto}
.ol-content:after{content:"";display:block;clear:both}
.ol-crumbs{font-size:.88em;color:#667085;margin-bottom:14px}
.ol-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px}
.ol-crumbs li+li:before{content:"/";margin-right:8px;opacity:.5}
.ol-crumbs a{color:inherit}

/* header */
.ol-hd{background:var(--hbg);box-shadow:0 1px 0 rgba(0,0,0,.08);z-index:900;position:relative}
.sticky-hd .ol-hd{position:sticky;top:0}
.admin-bar.sticky-hd .ol-hd{top:32px}
.ol-hd-in{display:flex;align-items:center;gap:18px;min-height:var(--hh)}
.ol-logo{font-family:var(--hf);font-size:max(18px,calc(var(--lg-d) * .5));font-weight:700;color:var(--hc);text-decoration:none;line-height:1.1;margin:0;flex:none;max-width:62vw}
.ol-logo img{display:block;width:auto;height:var(--lg-d);max-width:100%;max-height:none;object-fit:contain}
.ol-nav{margin-left:auto}
.ol-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:2px}
.ol-nav li{position:relative}
.ol-nav a{display:block;padding:10px 14px;color:var(--hc);text-decoration:none;font-weight:500;border-radius:8px;min-height:44px;line-height:24px}
.ol-nav a:hover,.ol-nav .current-menu-item>a,.ol-nav .current_page_item>a{color:var(--pc);background:rgba(0,0,0,.04)}
.ol-nav .sub-menu{display:none;position:absolute;left:0;top:100%;min-width:220px;background:var(--hbg);box-shadow:0 10px 28px rgba(0,0,0,.14);border-radius:10px;padding:6px;flex-direction:column;z-index:10}
.ol-nav li:hover>.sub-menu,.ol-nav li:focus-within>.sub-menu{display:flex}
.ol-nav .sub-menu .sub-menu{left:100%;top:0}
.ol-btn,.wp-block-button__link{display:inline-block;background:var(--pc);color:#fff!important;padding:12px 24px;border-radius:8px;font-weight:700;text-decoration:none;border:0;cursor:pointer;line-height:1.3;text-align:center}
.ol-btn:hover{filter:brightness(1.1)}
.ol-btn.alt{background:#fff;color:var(--pc)!important}
.ol-btn.ghost{background:transparent;border:2px solid currentColor;color:inherit!important}
.ol-hd-cta{flex:none}
.ol-burger{display:none;margin-left:auto;width:46px;height:46px;border:0;background:transparent;cursor:pointer;padding:0;position:relative}
.ol-burger span,.ol-burger:before,.ol-burger:after{content:"";position:absolute;left:11px;right:11px;height:2px;background:var(--hc);border-radius:2px;transition:.2s}
.ol-burger:before{top:15px}.ol-burger span{top:22px}.ol-burger:after{top:29px}
.ol-burger[aria-expanded=true]:before{top:22px;transform:rotate(45deg)}
.ol-burger[aria-expanded=true] span{opacity:0}
.ol-burger[aria-expanded=true]:after{top:22px;transform:rotate(-45deg)}
.ol-sub-t{display:none}

/* posts */
.ol-meta{font-size:.88em;color:#667085;margin-bottom:14px}
.ol-feat{margin:0 0 24px}.ol-feat img{width:100%;border-radius:12px}
.navigation.pagination,.post-navigation{margin-top:30px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between}
.page-numbers{padding:8px 14px;border:1px solid #d9dee3;border-radius:8px;text-decoration:none}
.page-numbers.current{background:var(--pc);color:#fff;border-color:var(--pc)}
.comments-area{margin-top:48px}.comment-list{list-style:none;padding:0}
.comment-body{padding:14px 0;border-bottom:1px solid #eef1f4}
.ol-form p{margin-bottom:14px}
.ol-form label{display:block;font-weight:500;margin-bottom:4px}
.ol-msg{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-weight:500}
.ol-msg.ok{background:#e8f6ee;color:#1b6b3a}.ol-msg.bad{background:#fdecec;color:#b42318}
.ol-hp{position:absolute;left:-9999px;opacity:0}

/* footer */
.ol-ft{background:var(--fbg);color:var(--ftx);font-size:1em}
.ol-ft a{color:inherit}
.ol-ft h2,.ol-ft h3{color:#fff;font-size:1.15em;margin:0 0 12px}
.ol-ft-w{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:30px;padding-top:clamp(34px,5vw,56px);padding-bottom:clamp(34px,5vw,56px)}
.ol-ft ul{list-style:none;margin:0;padding:0}.ol-ft li{padding:4px 0;border:0}
.ol-ft-b{border-top:1px solid rgba(255,255,255,.12);padding-top:16px;padding-bottom:16px;font-size:.9em;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}

/* responsive */
@media(max-width:960px){
 .ol-logo{font-size:max(18px,calc(var(--lg-t) * .5))}
 .ol-logo img{height:var(--lg-t)}
 .ol-burger{display:block}
 .ol-hd .ol-hd-cta{display:none}
 .ol-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--hbg);box-shadow:0 14px 24px rgba(0,0,0,.12);max-height:calc(100vh - var(--hh));overflow:auto;margin:0;padding:6px clamp(16px,4vw,32px) 16px}
 .ol-nav.open{display:block}
 .ol-nav ul{flex-direction:column}
 .ol-nav a{padding:12px 6px;border-radius:0;border-bottom:1px solid #eef1f4}
 .ol-nav .sub-menu{position:static;display:none;box-shadow:none;padding:0 0 0 14px;min-width:0}
 .ol-nav li:hover>.sub-menu,.ol-nav li:focus-within>.sub-menu{display:none}
 .ol-nav li.open>.sub-menu{display:flex}
 .ol-nav li{display:flex;flex-wrap:wrap;align-items:center}
 .ol-nav li>a{flex:1}
 .ol-sub-t{display:block;width:44px;height:44px;border:0;background:transparent;font-size:18px;cursor:pointer}
 .ol-nav li>.sub-menu{flex-basis:100%}
 .admin-bar.sticky-hd .ol-hd{top:46px}
}
@media(max-width:600px){
 .ol-logo{font-size:max(17px,calc(var(--lg-m) * .5))}
 .ol-logo img{height:var(--lg-m)}
 .admin-bar.sticky-hd .ol-hd{top:0}
}
@media(max-width:480px){
 body{line-height:1.6}
 .alignleft,.alignright{float:none;margin:0 auto 1em;display:block}
 .ol-btn:not(.ol-hd-cta){display:block;width:100%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.ol-hd,.ol-ft,.ol-burger{display:none}}

/* floating contact + back to top */
.ol-fc{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));z-index:850;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ol-fc.l{left:max(16px,env(safe-area-inset-left))}
.ol-fc.r{right:max(16px,env(safe-area-inset-right));align-items:flex-end}
.ol-fc-t{width:48px;height:48px;border-radius:50%;border:0;background:var(--pc);color:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.28);padding:0}
.ol-fc svg{width:24px;height:24px;fill:currentColor;display:block}
.ol-fc-l{display:none;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
.ol-fc.open .ol-fc-l{display:flex}
.ol-fc.r .ol-fc-l{align-items:flex-end}
.ol-fc-l a{display:inline-flex;align-items:center;justify-content:flex-start;gap:2px;text-decoration:none;color:#fff;background:var(--c,#2563eb);border-radius:22px;padding:0 16px 0 0;min-height:38px;box-shadow:0 3px 10px rgba(0,0,0,.22);font-weight:500;font-size:14px;line-height:1;text-align:left}
.ol-fc.r .ol-fc-l a{flex-direction:row-reverse;padding:0 0 0 16px}
.ol-fc-l a i{display:grid;place-items:center;width:38px;height:38px;flex:none}
.ol-fc-l a svg{width:20px;height:20px}
.ol-fc-l a:hover{filter:brightness(1.08)}
.ol-fc-t .x{display:none}.ol-fc.open .ol-fc-t .m{display:none}.ol-fc.open .ol-fc-t .x{display:block}
.ol-top{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));z-index:840;width:40px;height:40px;border-radius:50%;border:0;background:#111827;color:#fff;cursor:pointer;display:grid;place-items:center;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .2s,visibility .2s;box-shadow:0 4px 14px rgba(0,0,0,.25);padding:0}
.ol-top.l{left:max(16px,env(safe-area-inset-left))}.ol-top.r{right:max(16px,env(safe-area-inset-right))}
.ol-top.on{opacity:.92;visibility:visible;transform:none}
.ol-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@media print{.ol-fc,.ol-top{display:none}}

.ol-iso{display:block}

/* search form: keep button next to the field on mobile */
form.ol-form .ol-btn{display:inline-block;width:auto;flex:0 0 auto}
form.ol-form input[type=search]{flex:1 1 auto;min-width:0}

/* page title printed as <p> when the content already has its own H1 (one H1 per page) */
p.ol-title{font-family:var(--hf,inherit);font-size:clamp(1.8rem,1.2rem + 2vw,2.6rem);font-weight:700;line-height:1.2;color:var(--ch,#111827);margin:0 0 .6em}
.ol-tags{margin:28px 0 0;font-size:.85em;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.ol-tags a{background:#f1f5f9;border-radius:14px;padding:3px 11px;color:inherit;text-decoration:none}.ol-tags a:hover{background:#e2e8f0}
