/*
Theme Name: SawsHub
Description: Custom Blueprint theme for SawsHub.
Version: 1.0.5
Author: 201 Creative
Requires PHP: 7.4
Text Domain: sawshub
*/

:root{
	--navy:#0c2440;--ink:#0f1e2e;--ground:#f3f6fa;--surface:#fbfcfe;--line:#c9d5e2;--line-soft:#dbe3ec;
	--muted:#45576a;--mono:#5a6b7d;--blue:#006cbf;--link:#005ea8;--link-hover:#00467e;--orange:#c2410c;--sky:#8fc4f0;--sky-text:#c9d6e4;
	--head:'Familjen Grotesk',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--body:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;--code:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url('assets/fonts/familjen-grotesk.woff2') format('woff2-variations'),url('assets/fonts/familjen-grotesk.woff2') format('woff2')}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.6}
img{max-width:100%;height:auto}
a{color:var(--link);text-decoration:none}
a:hover{color:var(--link-hover)}
h1,h2,h3,h4{font-family:var(--head);line-height:1.2;margin:0 0 .5em}
.sh-skip{position:absolute;left:-9999px;top:0;background:#fff;padding:8px 12px;z-index:100}
.sh-skip:focus{left:8px}
.sh-wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.sh-bp{background-color:var(--navy);background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:32px 32px;color:#fff}

/* Labels */
.sh-label,.sh-kicker,.sh-tag{font-family:var(--code);font-size:13px;letter-spacing:.02em;text-transform:uppercase;line-height:1.4}
.sh-label{color:var(--mono);margin:0 0 8px;display:block}
.sh-label--orange,.sh-tag{color:var(--orange)}
.sh-kicker{color:var(--sky);margin:0}

/* Header */
.sh-header{position:relative;z-index:20;border-bottom:1px solid rgba(255,255,255,.18)}
.sh-header__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;padding-top:16px;padding-bottom:16px}
.sh-logo{display:flex}
.sh-logo img{height:44px;width:auto}
.sh-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px}
.sh-menu>li{position:relative}
.sh-menu a{display:block;color:#fff;font-family:var(--head);font-weight:500;font-size:17px;padding:10px 14px}
.sh-menu a:hover,.sh-menu .current-menu-item>a,.sh-menu .current-menu-ancestor>a,.sh-menu .current-category-ancestor>a{color:var(--sky)}
.sh-menu .sub-menu{list-style:none;margin:0;padding:8px 0;position:absolute;left:0;top:100%;min-width:200px;background:var(--navy);border:1px solid rgba(255,255,255,.18);border-radius:4px;display:none}
.sh-menu .sub-menu a{font-family:var(--body);font-size:15px;padding:8px 16px}
.sh-menu li:hover>.sub-menu,.sh-menu li:focus-within>.sub-menu{display:block}
.sh-menu-toggle{display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.35);border-radius:4px;background:transparent;color:#fff;align-items:center;justify-content:center;cursor:pointer}

/* Hero */
.sh-hero__grid{display:grid;grid-template-columns:7fr 5fr;gap:24px 40px;align-items:center;padding-top:64px;padding-bottom:72px}
.sh-hero__text{display:flex;flex-direction:column;gap:18px}
.sh-hero__title{font-size:58px;line-height:1.05;margin:0}
.sh-hero__lede{margin:0;font-size:19px;color:var(--sky-text);max-width:560px}
.sh-finder{background:var(--ground);color:var(--ink);padding:24px;border-radius:4px;display:flex;flex-direction:column;gap:12px}
.sh-finder .sh-label{margin:0}
.sh-finder__q{margin:0;font-family:var(--head);font-weight:700;font-size:24px}

/* Chips */
.sh-chips{display:flex;flex-wrap:wrap;gap:8px}
.sh-chip{display:inline-flex;align-items:center;min-height:40px;border:1px solid #b7c6d6;border-radius:999px;padding:6px 14px;font-size:15px;color:var(--ink)}
.sh-chip:hover{border-color:var(--blue);color:var(--link)}
.sh-chips--dark{margin-top:8px}
.sh-chips--dark .sh-chip{color:#fff;border-color:rgba(255,255,255,.35)}
.sh-chips--dark .sh-chip:hover{color:#fff;border-color:#fff}

/* Search */
.sh-search__label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.sh-search__row{display:flex}
.sh-search input{flex:1;min-width:0;height:48px;border:1px solid #b7c6d6;border-right:0;padding:0 14px;font:inherit;font-size:15px;background:var(--surface);color:var(--ink);border-radius:4px 0 0 4px}
.sh-search button{height:48px;border:0;padding:0 20px;background:var(--blue);color:#fff;font-family:var(--head);font-weight:700;font-size:16px;border-radius:0 4px 4px 0;cursor:pointer}
.sh-search button:hover{background:var(--link-hover)}
.sh-band .sh-search__label{color:var(--sky-text)}
.sh-band__search{max-width:560px}

/* Sections and grids */
.sh-section{padding-top:48px;padding-bottom:24px}
.sh-section:last-child{padding-bottom:64px}
.sh-h2{font-size:30px;margin:0 0 20px}
.sh-head-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.sh-grid{display:grid;gap:24px}
.sh-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sh-grid--4{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sh-box{border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:22px 24px}

/* Tiles */
.sh-tile{color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:22px;display:flex;flex-direction:column;gap:8px;background:var(--surface)}
.sh-tile:hover{border-color:var(--blue);color:var(--ink)}
.sh-tile .sh-label{margin:0}
.sh-tile__name{font-family:var(--head);font-weight:700;font-size:26px;line-height:1.15}
.sh-tile__desc{font-size:15px;color:var(--muted)}

/* Cards */
.sh-card{border:1px solid var(--line);border-radius:4px;background:var(--surface);overflow:hidden}
.sh-card__link{display:flex;flex-direction:column;height:100%;color:var(--ink)}
.sh-card__link:hover{color:var(--ink)}
.sh-card__link:hover .sh-card__title{color:var(--link)}
.sh-card__img{background:#d9e2ec}
.sh-card__img:empty{aspect-ratio:3/2}
.sh-card__img img{width:100%;height:auto;display:block}
.sh-card__body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:6px}
.sh-card__title{font-size:20px;line-height:1.25;margin:0}

/* Homepage split */
.sh-split{display:grid;grid-template-columns:2fr 1fr;gap:32px;align-items:start}
.sh-rows{display:flex;flex-direction:column;gap:20px}
.sh-row{display:grid;grid-template-columns:1fr 2fr;gap:20px;align-items:center;color:var(--ink)}
.sh-row:hover{color:var(--ink)}
.sh-row:hover .sh-row__title{color:var(--link)}
.sh-row__img{background:#d9e2ec;border-radius:4px;overflow:hidden}
.sh-row__img:empty{aspect-ratio:3/2}
.sh-row__img img{width:100%;height:auto;display:block}
.sh-row__body{display:flex;flex-direction:column;gap:6px}
.sh-row__title{font-family:var(--head);font-weight:700;font-size:22px;line-height:1.25}

/* Lists */
.sh-list{list-style:none;margin:0;padding:0}
.sh-list li{border-top:1px solid var(--line-soft)}
.sh-list li a{display:block;padding:11px 0;color:var(--ink);font-weight:500;line-height:1.4}
.sh-list li a:hover{color:var(--link)}
.sh-more{display:inline-block;margin-top:12px;font-weight:600;font-size:15px}

/* Band (page heads) */
.sh-band__inner{padding-top:36px;padding-bottom:44px;display:flex;flex-direction:column;gap:14px}
.sh-band__title{font-size:50px;line-height:1.08;margin:0;max-width:900px}
.sh-band__desc{color:var(--sky-text);font-size:18px;max-width:760px}
.sh-band__desc p{margin:0 0 .6em}
.sh-band a{color:#fff}
.sh-crumbs{font-family:var(--code);font-size:13px;text-transform:uppercase;color:var(--sky-text)}
.sh-crumbs a{color:var(--sky)}
.sh-crumbs p,.sh-crumbs nav{margin:0}
.sh-byline{display:flex;align-items:center;gap:12px;font-size:16px;color:var(--sky-text)}
.sh-byline a{font-weight:600}
.sh-byline__avatar{border-radius:50%}

/* Post layout */
.sh-layout{display:flex;flex-wrap:wrap;gap:40px;padding-top:40px;padding-bottom:64px}
.sh-article{flex:999 1 640px;min-width:0;max-width:780px}
.sh-sidebar{flex:1 1 300px;display:flex;flex-direction:column;gap:24px}
.sh-sidebar__widgets{position:sticky;top:24px}
.sh-author{display:flex;gap:18px;align-items:flex-start;margin-top:40px;border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:22px 24px}
.sh-author__avatar{border-radius:50%;flex-shrink:0}
.sh-author .sh-label{margin:0 0 2px}
.sh-author__name{font-family:var(--head);font-weight:700;font-size:21px;margin:0}
.sh-author__bio{margin:6px 0 0;font-size:16px;color:var(--muted)}
.sh-page{padding-top:40px;padding-bottom:64px}
.sh-content--page{max-width:900px}

/* Article content */
.sh-content{font-size:18px;line-height:1.7}
.sh-content>*{margin-top:0;margin-bottom:1.1em}
.sh-content h2{font-size:32px;margin:1.6em 0 .5em}
.sh-content h3{font-size:24px;margin:1.4em 0 .4em}
.sh-content h4{font-size:20px;margin:1.2em 0 .4em}
.sh-content ul,.sh-content ol{padding-left:1.3em}
.sh-content li{margin-bottom:.35em}
.sh-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.sh-content blockquote{margin:1.4em 0;padding:4px 0 4px 20px;border-left:3px solid var(--blue);color:var(--muted)}
.sh-content table{width:100%;border-collapse:collapse;font-size:16px;display:block;overflow-x:auto}
.sh-content th,.sh-content td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.sh-content th{background:#e6edf5;font-family:var(--head)}
.sh-content figure{margin:1.4em 0}
.sh-content figcaption{font-size:14px;color:var(--muted);margin-top:6px}
.sh-content img{border-radius:4px}
.sh-content .alignleft{float:left;margin:0 20px 12px 0}
.sh-content .alignright{float:right;margin:0 0 12px 20px}
.sh-content .aligncenter{margin-left:auto;margin-right:auto}

/* Table of Contents Plus */
#toc_container{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:4px;padding:16px 20px!important;width:auto!important;display:block!important;font-size:16px}
#toc_container .toc_title{font-family:var(--code);font-size:13px;text-transform:uppercase;color:var(--mono);text-align:left!important;margin:0 0 6px}
#toc_container ul{padding-left:0}
#toc_container li{margin:.3em 0}
#toc_container a{text-decoration:none}

/* Pagination */
.sh-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:40px;font-family:var(--code);font-size:14px}
.sh-pager .page-numbers{min-width:44px;height:44px;padding:0 14px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:4px;color:var(--ink);background:var(--surface)}
.sh-pager .page-numbers.current{background:var(--navy);border-color:var(--navy);color:#fff}
.sh-pager .dots{border:0;background:transparent}

/* Topics */
.sh-topic{border:1px solid var(--line);border-radius:4px;background:var(--surface);overflow:hidden;display:flex;flex-direction:column}
.sh-topic__head{color:var(--ink)}
.sh-topic__name{display:block;font-family:var(--head);font-weight:700;font-size:22px;padding:14px 18px 6px}
.sh-topic .sh-list{padding:0 18px 12px}

/* Author pages */
.sh-ap{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:40px;align-items:center;padding-top:44px;padding-bottom:48px}
.sh-ap__photo img{display:block;width:100%;height:auto;border-radius:4px}
.sh-ap__text{display:flex;flex-direction:column;gap:12px}
.sh-ap__focus{margin:0;font-family:var(--head);font-size:20px;color:var(--sky)}
.sh-ap__lede{margin:0;font-size:18px;color:var(--sky-text);max-width:640px}
.sh-ap__links{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.sh-ap__links a{display:flex;flex-direction:column;min-width:150px;padding:10px 16px;border:1px solid rgba(255,255,255,.35);border-radius:4px;color:#fff;line-height:1.3}
.sh-ap__links a:hover{border-color:#fff;color:#fff}
.sh-ap__links small{font-family:var(--code);font-size:12px;color:var(--sky);text-transform:uppercase}
.sh-ap__bio{max-width:780px}
.sh-ap__bio h2:first-child{margin-top:0}

/* About page */
.sh-about{max-width:none}
.sh-about .sh-ab-intro{display:grid;grid-template-columns:3fr 2fr;gap:32px;align-items:center}
.sh-about .sh-ab-intro img{display:block;width:100%;height:auto;margin:0}
.sh-ab-team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.sh-ab-person{border:1px solid var(--line);border-radius:4px;background:var(--surface);overflow:hidden;display:flex;flex-direction:column}
.sh-ab-person img{display:block;width:100%;height:auto;border-radius:0;margin:0}
.sh-ab-person__body{padding:20px 22px 24px}
.sh-ab-person__body h3{margin:4px 0 8px}
.sh-ab-person__body p{margin:0 0 12px;font-size:17px}
.sh-ab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.sh-ab-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.sh-about .sh-tile{text-decoration:none}
.sh-ab-box{border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:22px 24px}
.sh-ab-box>*:first-child{margin-top:0}
.sh-ab-box>*:last-child{margin-bottom:0}
.sh-content--page:has(.sh-about){max-width:1100px}
.sh-about .sh-label{margin-bottom:4px}
.sh-ab-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;border-radius:4px;padding:28px}
.sh-ab-cta p{margin:0;color:var(--sky-text)}
.sh-ab-cta h2{margin:0 0 4px;color:#fff;font-size:26px}
.sh-btn{display:inline-block;background:var(--blue);color:#fff!important;font-family:var(--head);font-weight:700;padding:12px 22px;border-radius:4px;text-decoration:none!important}

/* Widgets */
.sh-widget{margin-bottom:24px}

/* Footer */
.sh-footer{color:var(--sky-text);font-size:14px}
.sh-footer__inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;padding-top:40px;padding-bottom:24px}
.sh-footer__brand{display:flex;flex-direction:column;gap:14px;max-width:560px}
.sh-footer__brand p{margin:0}
.sh-footer .sh-logo img{height:36px}
.sh-footer__menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px}
.sh-footer__menu a{color:#fff}
.sh-footer__copy{padding-bottom:32px;color:var(--sky-text);font-size:13px}

/* WooCommerce */
.sh-woo .button,.sh-woo button.button{background:var(--blue);color:#fff;border-radius:4px}

/* Responsive */
@media (max-width:1000px){
	.sh-hero__grid{grid-template-columns:1fr}
	.sh-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
	.sh-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
	.sh-split{grid-template-columns:1fr}
	.sh-ab-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
	.sh-ap,.sh-about .sh-ab-intro,.sh-ab-team,.sh-ab-grid{grid-template-columns:1fr}
	.sh-ap{gap:24px;padding-top:28px}
	.sh-ap__photo{max-width:320px}
}
@media (max-width:860px){
	.sh-menu-toggle{display:inline-flex}
	.sh-nav{display:none;width:100%}
	.sh-nav.is-open{display:block}
	.sh-menu{flex-direction:column;gap:0;padding-bottom:8px}
	.sh-menu a{padding:12px 4px;border-top:1px solid rgba(255,255,255,.12)}
	.sh-menu .sub-menu{display:block;position:static;border:0;background:transparent;padding:0 0 6px 14px;min-width:0}
	.sh-menu .sub-menu a{border-top:0;padding:8px 4px;color:var(--sky-text)}
}
@media (max-width:640px){
	body{font-size:16px}
	.sh-wrap{padding-left:16px;padding-right:16px}
	.sh-logo img{height:34px}
	.sh-hero__grid{padding-top:32px;padding-bottom:36px}
	.sh-hero__title{font-size:36px}
	.sh-band__title{font-size:34px}
	.sh-grid--3{grid-template-columns:1fr}
	.sh-row{grid-template-columns:1fr}
	.sh-grid--4{gap:12px}
	.sh-tile{padding:16px}
	.sh-tile__name{font-size:20px;overflow-wrap:anywhere}
	.sh-tile .sh-label{font-size:11px}
	.sh-h2{font-size:26px}
	.sh-content{font-size:17px}
	.sh-content h2{font-size:26px}
	.sh-content h3{font-size:21px}
	.sh-content .alignleft,.sh-content .alignright{float:none;margin:0 0 12px}
}
