/*
Theme Name: Swedmach
Theme URI: https://swedmach.si/
Author: TrueCAD
Author URI: https://truecad.si/
Description: Hitra, dostopna in SEO/GEO optimizirana WordPress tema za Swedmach. Vsebuje JSON-LD @graph strukturirane podatke, drobtinice, lokalne fonte, brez jQuery odvisnosti in popolno semantiko HTML5.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swedmach
Tags: seo, custom-menu, custom-logo, translation-ready, accessibility-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. FONT (lokalno - GDPR + PageSpeed)
   ========================================================================== */
@font-face {
	font-family: 'Nunito';
	src: url('assets/fonts/nunito-variable.woff2') format('woff2-variations'),
	     url('assets/fonts/nunito-variable.woff2') format('woff2');
	font-weight: 200 1000;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Nunito';
	src: url('assets/fonts/nunito-variable-italic.woff2') format('woff2-variations'),
	     url('assets/fonts/nunito-variable-italic.woff2') format('woff2');
	font-weight: 200 1000;
	font-style: italic;
	font-display: swap;
}

/* Source Sans Pro (naslovi, kot swedmach.si) – lokalno */
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('assets/fonts/source-sans-pro-300-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('assets/fonts/source-sans-pro-300-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/source-sans-pro-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/source-sans-pro-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/source-sans-pro-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/source-sans-pro-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. SPREMENLJIVKE
   ========================================================================== */
:root {
	--sw-container: 1300px;
	--sw-gutter: 15px;

	--sw-dark: #222222;
	--sw-text: #222222;
	--sw-body-bg: #ffffff;

	--sw-topbar-bg: #111111;
	--sw-topbar-border: #333333;
	--sw-topbar-link: #dddddd;

	--sw-menu-bg: #e5e8e8;
	--sw-menu-link: #222222;
	--sw-menu-hover: #1997d3;
	--sw-menu-sale: #d90000;
	--sw-menu-border: #dddddd;

	--sw-yellow: #ffca05;
	--sw-yellow-dark: #eea223;
	--sw-blue: #1997d3;
	--sw-blue-dark: #126a97;
	--sw-red: #d90000;

	--sw-footer-bg: #222222;
	--sw-footer-heading: #ffca05;
	--sw-footer-text: #ffffff;
	--sw-footer-link: #ffca05;
	--sw-footer-muted: #999999;

	--sw-border: #e2e2e2;
	--sw-muted: #6b6b6b;
	--sw-bg-alt: #f6f7f9;

	--sw-radius: 4px;
	--sw-fs-base: 16px;
	--sw-lh-base: 1.7;
	--sw-focus: #31a9e0;
}

/* ==========================================================================
   3. RESET / OSNOVA
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: var(--sw-fs-base);
	line-height: var(--sw-lh-base);
	color: var(--sw-text);
	background: var(--sw-body-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { border: 0; }

a {
	color: var(--sw-blue-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color .18s ease;
}
a:hover, a:focus { color: var(--sw-dark); }

:focus-visible {
	outline: 3px solid var(--sw-focus);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-family: 'Source Sans Pro', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.25;
	font-weight: 600;
	color: var(--sw-dark);
	overflow-wrap: break-word;
}
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.45rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1rem; }

p, ul, ol, dl, table, pre, blockquote, figure { margin: 0 0 1.2em; }

ul, ol { padding-left: 1.4em; }

blockquote {
	margin-left: 0;
	padding: .8em 1.2em;
	border-left: 4px solid var(--sw-yellow);
	background: var(--sw-bg-alt);
	font-style: italic;
}

code, pre, kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .92em;
}
pre {
	padding: 1em;
	overflow: auto;
	background: var(--sw-bg-alt);
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
}
code { background: var(--sw-bg-alt); padding: .15em .4em; border-radius: 3px; }
pre code { background: none; padding: 0; }

table {
	width: 100%;
	border-collapse: collapse;
}
th, td {
	padding: .6em .8em;
	border: 1px solid var(--sw-border);
	text-align: left;
}
th { background: var(--sw-bg-alt); font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--sw-border); margin: 2em 0; }

/* ==========================================================================
   4. DOSTOPNOST
   ========================================================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 100000;
	padding: 12px 20px;
	background: var(--sw-yellow);
	color: var(--sw-dark);
	font-weight: 700;
	text-decoration: none;
	border-radius: 0 0 var(--sw-radius) var(--sw-radius);
	transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   5. LAYOUT / CONTAINER  (1300px + 15px padding)
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--sw-container);
	padding-right: var(--sw-gutter);
	padding-left: var(--sw-gutter);
	margin-right: auto;
	margin-left: auto;
}
.container-fluid {
	width: 100%;
	padding-right: var(--sw-gutter);
	padding-left: var(--sw-gutter);
}
.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: calc(var(--sw-gutter) * -1);
	margin-left: calc(var(--sw-gutter) * -1);
}
.row > * {
	padding-right: var(--sw-gutter);
	padding-left: var(--sw-gutter);
}

/* ==========================================================================
   6. HEADER — TOP BAR  (kot swedmach.si: bg #111, border-bottom #333)
   ========================================================================== */

/* lepljiv header: zgornja vrstica (37px) se skrije, ostalo se prime */
.site-header {
	position: sticky;
	top: -37px;
	z-index: 100;
}
body.admin-bar .site-header { top: -5px; } /* -37px + 32px admin bar */

.header-top {
	padding: 6px 0;
	line-height: 24px;
	position: relative;
	z-index: 1;
	background: var(--sw-topbar-bg);
	border-bottom: 1px solid var(--sw-topbar-border);
	color: var(--sw-topbar-link);
	font-size: 14px;
}
.header-top .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

/* zgornji meni – 14px Nunito, #ddd, ločilne črte med postavkami */
.top-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.top-menu > li {
	display: inline-block;
	padding: 2px 20px;
	line-height: 20px;
	position: relative;
}
.top-menu > li::before {
	content: '';
	width: 1px;
	height: 20px;
	background-color: var(--sw-topbar-border);
	position: absolute;
	top: 2px;
	left: 0;
}
.top-menu > li:first-child { padding-left: 0; }
.top-menu > li:first-child::before { display: none; }
.top-menu a {
	color: var(--sw-topbar-link);
	text-decoration: none;
	transition: color .18s ease;
}
.top-menu a:hover,
.top-menu a:focus { color: #ffffff; }

/* pomoč + telefoni – modra #1997D3, 17px, ikona telefona desno */
.top-contact {
	display: inline-block;
	margin: 0;
	padding-right: 34px;
	min-height: 24px;
	position: relative;
	font-weight: 300;
}
.top-contact strong {
	display: inline-block;
	line-height: 24px;
	margin: 0 3px;
	font-size: 17px;
	font-weight: 600;
	color: var(--sw-blue);
}
.top-contact strong a {
	color: var(--sw-blue);
	text-decoration: none;
	white-space: nowrap;
}
.top-contact strong a:hover,
.top-contact strong a:focus { color: #ffffff; }
.top-contact::after {
	content: '';
	width: 24px;
	height: 24px;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	background: url('assets/images/sprite.png') no-repeat 0 -100px;
	background-size: auto 144px;
}

/* ==========================================================================
   7. HEADER — MAIN (bg #222: logo + iskalnik + voziček)
   ========================================================================== */
.header-main {
	padding: 15px 0;
	background: #222222;
	color: #ffffff;
}
.header-main .container {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-brand {
	flex: 1 1 0;
	min-width: 0;
}
.header-brand a { display: inline-block; text-decoration: none; }
.header-brand img,
.header-brand svg {
	display: block;
	max-height: 40px;
	max-width: 260px;
	width: auto;
}
.header-brand .site-title-text {
	font-size: 28px;
	font-weight: 900;
	font-style: italic;
	color: var(--sw-yellow);
	margin: 0;
}

/* iskalnik – bel input, zaobljen, gumb z ikono iz sprite */
.header-search {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
}
/* prazna tretja kolona (namesto odstranjenega vozička) – iskalnik ostane
   na isti sredinski poziciji in širini kot prej */
.header-main .container::after {
	content: '';
	flex: 1 1 0;
	min-width: 0;
}
.sw-search-form {
	position: relative;
	display: block;
	width: 100%;
}
.sw-search-form input[type="search"],
.sw-search-form input[type="text"] {
	width: 100%;
	height: 40px;
	padding: 5px 50px 5px 13px;
	margin: 0;
	background: #ffffff;
	color: #222222;
	border: 2px solid transparent;
	border-radius: 5px;
	outline: none;
	box-shadow: 0 1px 0 0 #000000;
	font-family: inherit;
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
}
.sw-search-form input::placeholder { color: #777777; opacity: 1; }
.sw-search-form input:focus { border-color: var(--sw-blue); }
.sw-search-form button {
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	right: 0;
	border: 0;
	border-radius: 0 5px 5px 0;
	background: transparent url('assets/images/sprite.png') no-repeat -194px 8px;
	background-size: auto 144px;
	text-indent: 200%;
	overflow: hidden;
	cursor: pointer;
}
.sw-search-form button:hover { background-position: -244px 8px; }
.sw-search-form button svg { display: none; }

/* hamburger + mobilna pasica "Kategorije" (vidna samo na mobilnih) */
.sw-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 2.5px 7.5px;
	border: 1px solid #dddddd;
	border-radius: 5px;
	background: #ffffff;
	color: rgba(0, 0, 0, .5);
	font: inherit;
	font-size: 12.5px;
	cursor: pointer;
}
.sw-menu-toggle:hover, .sw-menu-toggle:focus { border-color: #bbbbbb; }
.sw-menu-toggle svg { width: 20px; height: 20px; }

.sw-mobile-nav-bar {
	display: none;
	align-items: center;
	justify-content: space-between;
	padding: 10px 15px 2px;
	font-family: 'Nunito', sans-serif;
}
.sw-mobile-nav-label {
	padding: 3px 0;
	font-size: 12.5px;
	color: rgba(0, 0, 0, .9);
}

/* ==========================================================================
   8. HEADER — GLAVNI MENI (svetel gradient, 50px, spodnja obroba 3px)
   ========================================================================== */
.header-bottom {
	background: #e5e8e8;
	background: linear-gradient(to bottom, #e5e8e8 0%, #ffffff 100%);
}

.sw-main-nav .container { padding-right: var(--sw-gutter); padding-left: var(--sw-gutter); }

.sw-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
	min-height: 50px;
	line-height: 50px;
	position: relative;
	z-index: 20;
	background: linear-gradient(to bottom, #e5e8e8 0%, #ffffff 100%);
	border-bottom: 3px solid #dddddd;
}
.sw-menu > li {
	position: relative;
	border-bottom: 3px solid #bbbbbb;
	margin-bottom: -3px;
	transition: border-color .15s ease-in-out;
}
/* bela maska na desnem robu postavke (prekine obrobo) */
.sw-menu > li::after {
	content: '';
	width: 1px;
	height: 3px;
	display: block;
	position: absolute;
	bottom: -3px;
	right: 0;
	background-color: #ffffff;
}

/* posamezna postavka: 14px, 600, uppercase, #222 */
.sw-menu > li > a {
	display: block;
	height: 50px;
	padding: 0 21px 0 20px;
	font-size: 14px;
	font-weight: 600;
	line-height: 50px;
	color: var(--sw-menu-link);
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	position: relative;
	transition: color .15s ease-in-out;
}
/* navpična ločilna črta desno */
.sw-menu > li > a::before {
	content: '';
	width: 1px;
	height: 36px;
	position: absolute;
	right: 0;
	top: 7px;
	background: #cccccc;
}

.sw-menu > li:hover,
.sw-menu > li:focus-within,
.sw-menu > li.current-menu-item,
.sw-menu > li.current-menu-parent,
.sw-menu > li.current-menu-ancestor { border-bottom-color: var(--sw-menu-hover); }

.sw-menu > li > a:hover,
.sw-menu > li > a:focus,
.sw-menu > li:focus-within > a,
.sw-menu > li.current-menu-item > a,
.sw-menu > li.current-menu-parent > a,
.sw-menu > li.current-menu-ancestor > a {
	background: transparent;
	color: var(--sw-menu-hover);
}

/* puščica ob hoverju (postavke s podmenijem) */
.sw-menu > li.menu-item-has-children > a::after {
	content: '';
	width: 0;
	height: 0;
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;
	margin-left: -10px;
	border: 10px solid transparent;
	border-top: 0 solid var(--sw-menu-hover);
	transition: border-top-width .15s ease-in-out;
}
.sw-menu > li.menu-item-has-children:hover > a::after,
.sw-menu > li.menu-item-has-children:focus-within > a::after { border-top-width: 10px; }

/* "ZNIŽANO" – rdeča */
.sw-menu > li.menu-item-sale > a,
.sw-menu > li.sale > a { color: var(--sw-menu-sale); }
.sw-menu > li.menu-item-sale:hover,
.sw-menu > li.menu-item-sale:focus-within,
.sw-menu > li.menu-item-sale.current-menu-item,
.sw-menu > li.sale:hover { border-bottom-color: var(--sw-menu-sale); }
.sw-menu > li.menu-item-sale > a:hover,
.sw-menu > li.menu-item-sale:focus-within > a { color: var(--sw-menu-sale); }

/* podmeni – bel, s senco kot na swedmach.si */
.sw-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 900;
	min-width: 250px;
	margin: 0;
	padding: 15px 0;
	list-style: none;
	line-height: 1.5;
	background: #ffffff;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sw-menu li:hover > .sub-menu,
.sw-menu li:focus-within > .sub-menu,
.sw-menu li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.sw-menu .sub-menu li { position: relative; }
.sw-menu .sub-menu a {
	display: block;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
	color: var(--sw-menu-link);
	text-decoration: none;
	transition: color .15s ease;
}
.sw-menu .sub-menu a:hover,
.sw-menu .sub-menu a:focus { background: transparent; color: var(--sw-menu-hover); }
.sw-menu .sub-menu .sub-menu { top: -15px; left: 100%; }

.sw-submenu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.sw-submenu-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.sw-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ==========================================================================
   9. DROBTINICE
   ========================================================================== */
.sw-breadcrumbs {
	padding: 12px 0;
	font-size: 13px;
	color: var(--sw-muted);
}
.sw-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.sw-breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.sw-breadcrumbs li:not(:last-child)::after {
	content: "›";
	color: #bbbbbb;
}
.sw-breadcrumbs a { color: var(--sw-muted); text-decoration: none; }
.sw-breadcrumbs a:hover, .sw-breadcrumbs a:focus { color: var(--sw-dark); text-decoration: underline; }
.sw-breadcrumbs [aria-current="page"] { color: var(--sw-dark); font-weight: 600; }

/* ==========================================================================
   10. VSEBINA
   ========================================================================== */
.site-main { padding: 30px 0 60px; }

.sw-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
}
.sw-layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.sw-layout.no-sidebar .sw-content { max-width: 820px; margin: 0 auto; }

.entry-header { margin-bottom: 24px; }
.entry-title { margin-bottom: .35em; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover, .entry-title a:focus { color: var(--sw-blue-dark); }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	font-size: 13.5px;
	color: var(--sw-muted);
}
.entry-meta a { color: var(--sw-muted); text-decoration: none; }
.entry-meta a:hover, .entry-meta a:focus { color: var(--sw-dark); text-decoration: underline; }
.entry-meta .sep { color: #cccccc; }
.entry-meta .avatar { border-radius: 50%; vertical-align: middle; }

.entry-content { overflow-wrap: break-word; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content img { border-radius: var(--sw-radius); }

.post-thumbnail { margin-bottom: 24px; }
.post-thumbnail img {
	width: 100%;
	border-radius: var(--sw-radius);
}

/* uvodni povzetek prispevka – citabilen odstavek takoj pod naslovom (GEO) */
.entry-lead {
	margin: 0 0 22px;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--sw-yellow);
	font-size: 1.13rem;
	line-height: 1.7;
	color: var(--sw-dark);
}

/* povezani prispevki na dnu prispevka */
.sw-related { margin-top: 48px; }
.sw-related-title {
	margin: 0 0 24px;
	font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
	color: var(--sw-dark);
}
.sw-related-title::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	margin-top: 8px;
	background: var(--sw-yellow);
}
/* 3 enake kolumne tudi v ožjem stolpcu vsebine prispevka (820px) */
.sw-related .sw-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.entry-footer {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--sw-border);
	font-size: 14px;
}
.sw-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw-tags a {
	display: inline-block;
	padding: 3px 10px;
	background: var(--sw-bg-alt);
	border: 1px solid var(--sw-border);
	border-radius: 100px;
	font-size: 12.5px;
	color: var(--sw-muted);
	text-decoration: none;
}
.sw-tags a:hover, .sw-tags a:focus {
	background: var(--sw-menu-bg);
	color: var(--sw-dark);
	border-color: var(--sw-menu-bg);
}

.sw-updated {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 18px;
	padding: 6px 12px;
	background: var(--sw-bg-alt);
	border-left: 3px solid var(--sw-yellow);
	font-size: 13px;
	color: var(--sw-muted);
	border-radius: 0 var(--sw-radius) var(--sw-radius) 0;
}

/* avtor box (E-E-A-T) */
.sw-author-box {
	display: flex;
	gap: 18px;
	margin-top: 40px;
	padding: 22px;
	background: var(--sw-bg-alt);
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
}
.sw-author-box img { border-radius: 50%; flex: 0 0 auto; }
.sw-author-box h2 { font-size: 1.1rem; margin-bottom: .3em; }
.sw-author-box p { margin: 0; font-size: 14.5px; color: var(--sw-muted); }
.sw-author-box .sw-author-link { font-size: 13.5px; }

/* navigacija prispevkov */
.sw-post-nav {
	margin-top: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.sw-post-nav a {
	display: block;
	padding: 16px 18px;
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
	text-decoration: none;
	color: var(--sw-dark);
	transition: border-color .18s ease, background-color .18s ease;
}
.sw-post-nav a:hover, .sw-post-nav a:focus {
	border-color: var(--sw-blue);
	background: var(--sw-bg-alt);
}
.sw-post-nav .nav-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--sw-muted);
	margin-bottom: 4px;
}
.sw-post-nav .nav-title { font-weight: 700; font-size: 15px; line-height: 1.4; }
.sw-post-nav .nav-next { text-align: right; }

/* ==========================================================================
   11. ARHIV / SEZNAM
   ========================================================================== */
.page-header { margin-bottom: 32px; }
.page-title { margin-bottom: .3em; }
.archive-description { color: var(--sw-muted); font-size: 15.5px; }
.archive-description > *:last-child { margin-bottom: 0; }

.sw-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
}
.sw-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.sw-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,.09);
	transform: translateY(-2px);
}
.sw-card-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--sw-bg-alt);
}
.sw-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.sw-card:hover .sw-card-thumb img { transform: scale(1.04); }
.sw-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 20px 20px;
}
.sw-card-cat {
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 8px;
	padding: 2px 9px;
	background: var(--sw-menu-bg);
	border-radius: 3px;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--sw-dark);
	text-decoration: none;
}
.sw-card-cat:hover, .sw-card-cat:focus { background: var(--sw-yellow); color: var(--sw-dark); }
.sw-card-title { font-size: 1.12rem; margin-bottom: .4em; line-height: 1.35; }
.sw-card-title a { color: var(--sw-dark); text-decoration: none; }
.sw-card-title a:hover, .sw-card-title a:focus { color: var(--sw-blue-dark); }
.sw-card-excerpt { font-size: 14.5px; color: var(--sw-muted); margin-bottom: 14px; }
.sw-card-meta {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--sw-border);
	font-size: 12.5px;
	color: var(--sw-muted);
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* paginacija */
.sw-pagination { margin-top: 48px; }
.sw-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.sw-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
	color: var(--sw-dark);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	transition: all .18s ease;
}
.sw-pagination .page-numbers:hover,
.sw-pagination .page-numbers:focus { background: var(--sw-menu-bg); border-color: var(--sw-menu-bg); }
.sw-pagination .page-numbers.current {
	background: var(--sw-yellow);
	border-color: var(--sw-yellow);
	color: var(--sw-dark);
}
.sw-pagination .page-numbers.dots { border-color: transparent; }

/* ==========================================================================
   12. STRANSKA VRSTICA / WIDGETI
   ========================================================================== */
.sw-sidebar .widget {
	margin-bottom: 30px;
	padding: 22px;
	background: var(--sw-bg-alt);
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
}
.sw-sidebar .widget:last-child { margin-bottom: 0; }
.sw-sidebar .widget-title {
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--sw-yellow);
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: .4px;
}
.sw-sidebar ul { list-style: none; padding: 0; margin: 0; }
.sw-sidebar li { padding: 7px 0; border-bottom: 1px solid var(--sw-border); font-size: 14.5px; }
.sw-sidebar li:last-child { border-bottom: 0; }
.sw-sidebar a { color: var(--sw-dark); text-decoration: none; }
.sw-sidebar a:hover, .sw-sidebar a:focus { color: var(--sw-blue-dark); text-decoration: underline; }

/* --------------------------------------------------------------------------
   12a. KAZALO VSEBINE (TOC) – posamezni prispevki
   -------------------------------------------------------------------------- */
.sw-toc {
	position: sticky;
	top: 150px;
	padding: 22px;
	background: #ffffff;
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
}
.sw-toc-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--sw-border);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--sw-dark);
}
.sw-toc .sw-toc-list { list-style: none; margin: 0; padding: 0; }
.sw-toc .sw-toc-item { padding: 0; border-bottom: 1px solid var(--sw-border); }
.sw-toc .sw-toc-item:last-child { border-bottom: 0; }
.sw-toc .sw-toc-item a {
	display: block;
	padding: 8px 0 8px 12px;
	border-left: 3px solid transparent;
	font-size: 14px;
	line-height: 1.45;
	color: var(--sw-muted);
	text-decoration: none;
}
.sw-toc .sw-toc-item a:hover, .sw-toc .sw-toc-item a:focus {
	color: var(--sw-dark);
	text-decoration: none;
}
.sw-toc .sw-toc-item a.is-active {
	border-left-color: var(--sw-yellow);
	color: var(--sw-dark);
	font-weight: 700;
}
.sw-toc .sw-toc-level-3 a { padding-left: 26px; font-size: 13.5px; }

/* sidra naslovov se ne skrijejo pod lepljiv header */
.entry-content h2, .entry-content h3 { scroll-margin-top: 150px; }

/* gladko drsenje do razdelkov (razen ob prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* ==========================================================================
   13. KOMENTARJI
   ========================================================================== */
.comments-area { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--sw-border); }
.comments-title, .comment-reply-title { font-size: 1.35rem; margin-bottom: 20px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list ol.children { list-style: none; padding-left: 28px; }
.comment-body {
	padding: 18px;
	margin-bottom: 16px;
	background: var(--sw-bg-alt);
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
}
.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; font-style: normal; }
.comment-metadata { color: var(--sw-muted); }
.comment-metadata a { color: var(--sw-muted); text-decoration: none; }
.reply { font-size: 13.5px; font-weight: 700; }

.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--sw-border);
	border-radius: var(--sw-radius);
	font-family: inherit;
	font-size: 15px;
	background: #ffffff;
	color: var(--sw-text);
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form p { margin-bottom: 14px; }

/* ==========================================================================
   14. GUMBI
   ========================================================================== */
.sw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 0;
	border-radius: var(--sw-radius);
	background: var(--sw-yellow);
	color: var(--sw-dark);
	font-family: inherit;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .4px;
	cursor: pointer;
	transition: background-color .18s ease, transform .1s ease;
}
.sw-btn:hover, .sw-btn:focus { background: var(--sw-yellow-dark); color: var(--sw-dark); }
.sw-btn:active { transform: translateY(1px); }
.sw-btn-blue { background: var(--sw-blue); color: #ffffff; }
.sw-btn-blue:hover, .sw-btn-blue:focus { background: var(--sw-blue-dark); color: #ffffff; }
.sw-btn-outline {
	background: transparent;
	border: 2px solid var(--sw-dark);
	padding: 10px 24px;
}
.sw-btn-outline:hover, .sw-btn-outline:focus { background: var(--sw-dark); color: #ffffff; }

/* ==========================================================================
   15. HOME
   ========================================================================== */
.sw-section { padding: 50px 0; }
.sw-section-title {
	position: relative;
	margin-bottom: 36px;
	text-align: center;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	color: #4a6f8a;
}
.sw-section-title span {
	position: relative;
	display: inline-block;
	padding: 0 22px;
	background: #ffffff;
}
.sw-section-title::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--sw-border);
	z-index: -1;
}

.sw-hero {
	padding: 60px 0;
	background: var(--sw-bg-alt);
	border-radius: var(--sw-radius);
	text-align: center;
	margin-bottom: 10px;
}
.sw-hero h1 { margin-bottom: .4em; }
.sw-hero p { max-width: 720px; margin: 0 auto 1.6em; font-size: 1.1rem; color: var(--sw-muted); }

/* ==========================================================================
   15a. SEZNAM PRISPEVKOV (blog – brez hero bloka)
   ========================================================================== */
.sw-blog-list { padding: 26px 0 10px; }

/* naslov seznama – skromen, z rumenim poudarkom (edini h1 na strani) */
.sw-blog-title {
	margin: 0 0 32px;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	color: var(--sw-dark);
}
.sw-blog-title::after {
	content: '';
	display: block;
	width: 64px;
	height: 3px;
	margin-top: 10px;
	background: var(--sw-yellow);
}

.sw-all-posts { text-align: center; margin: 36px 0 0; }

/* izpostavljena (prva) kartica – vodoravna, čez celo širino */
.sw-card--featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
}
.sw-card--featured .sw-card-thumb {
	aspect-ratio: auto;
	height: 100%;
	min-height: 280px;
}
.sw-card--featured .sw-card-body {
	padding: 30px 34px;
	justify-content: center;
}
.sw-card--featured .sw-card-title {
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
}
.sw-card--featured .sw-card-excerpt {
	font-size: 15.5px;
	line-height: 1.7;
}
.sw-card--featured .sw-card-more { font-size: 14px; }

/* meta vrstica kartice – avtor (E-E-A-T) */
.sw-card-meta a { color: inherit; text-decoration: none; }
.sw-card-meta a:hover, .sw-card-meta a:focus { color: var(--sw-blue-dark); }

/* povezava "Preberi prispevek" */
.sw-card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--sw-blue-dark);
	text-decoration: none;
}
.sw-card-more svg { transition: transform .18s ease; }
.sw-card-more:hover, .sw-card-more:focus { color: var(--sw-blue); }
.sw-card-more:hover svg, .sw-card-more:focus svg { transform: translateX(3px); }

.sw-empty {
	padding: 40px 20px;
	text-align: center;
	color: var(--sw-muted);
	background: var(--sw-bg-alt);
	border: 1px dashed var(--sw-border);
	border-radius: var(--sw-radius);
}

/* ==========================================================================
   16. 404
   ========================================================================== */
.sw-404 {
	padding: 60px 0 70px;
	text-align: center;
}
.sw-404-code {
	font-size: clamp(5rem, 3rem + 12vw, 10rem);
	font-weight: 900;
	line-height: 1;
	margin: 0 0 .1em;
	color: var(--sw-yellow);
	letter-spacing: -4px;
}
.sw-404 h1 { margin-bottom: .4em; }
.sw-404 p { max-width: 620px; margin: 0 auto 1.5em; color: var(--sw-muted); font-size: 1.05rem; }
.sw-404 .sw-search-form { margin: 0 auto 30px; max-width: 460px; }
.sw-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 50px;
}
.sw-404-suggest { text-align: left; max-width: 900px; margin: 0 auto; }
.sw-404-suggest h2 { text-align: center; font-size: 1.25rem; margin-bottom: 22px; }

/* ==========================================================================
   17. FOOTER  (kot swedmach.si: padding 50px 0 40px, bg #222222)
   ========================================================================== */
.site-footer {
	padding-top: 40px;
	font-size: 14px;
	line-height: 1.75;
}
.footer-content {
	padding: 50px 0 40px;
	background: var(--sw-footer-bg);
	color: #ffffff;
}
.footer-content .container {
	display: grid;
	grid-template-columns: 1fr 1fr 2fr; /* col-lg-3 / col-lg-3 / col-lg-6 */
	gap: 30px;
	align-items: start;
}
.footer-col > *:last-child { margin-bottom: 0; }

/* naslovi: Source Sans Pro, 400, rumena #FFCA05 (h3 = 17px, h2 = 21px) */
.footer-heading {
	margin: 0 0 20px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--sw-footer-heading);
}
.footer-heading--lg { font-size: 21px; }

.footer-col p {
	margin: 0 0 16px;
	font-size: 15px;
	color: #ffffff;
}
.footer-col p + p { font-size: 14px; }
.footer-col p a {
	color: var(--sw-footer-link);
	text-decoration: underline;
}
.footer-col p a:hover,
.footer-col p a:focus { color: var(--sw-footer-link); text-decoration: none; }
.footer-col strong { color: #ffffff; font-weight: 700; }

/* seznam uporabnih informacij: rumene alineje, bele podčrtane povezave */
.footer-links {
	margin: 0;
	padding-left: 18px;
	list-style: disc;
	color: var(--sw-footer-heading);
}
.footer-links li { margin-bottom: 8px; }
.footer-links li::marker { color: var(--sw-footer-heading); }
.footer-links a {
	font-size: 15px;
	color: #ffffff;
	text-decoration: underline;
}
.footer-links a:hover,
.footer-links a:focus { color: #ffffff; text-decoration: none; }

.footer-help p { margin-bottom: 16px; }

/* copyright vrstica – desno, 13px, ločeni span-i */
.footer-copyright {
	grid-column: 1 / -1;
	margin-top: 30px;
	font-size: 13px;
	text-align: right;
	color: #ffffff;
}
.footer-copyright span { margin-left: 30px; display: inline-block; }
.footer-copyright span:first-child { margin-left: 0; }
.footer-copyright a { color: #ffffff; text-decoration: underline; }
.footer-copyright a:hover,
.footer-copyright a:focus { color: #ffffff; text-decoration: none; }

/* back to top */
.sw-to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--sw-radius);
	background: var(--sw-yellow);
	color: var(--sw-dark);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.sw-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sw-to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   18. WORDPRESS PRIVZETI RAZREDI
   ========================================================================== */
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-block-image figcaption {
	font-size: 13.5px;
	color: var(--sw-muted);
	text-align: center;
	margin-top: 8px;
}
.sticky { position: relative; }
.sticky .sw-card-title::before { content: "★ "; color: var(--sw-yellow); }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-item { flex: 1 1 200px; }
.bypostauthor { border-left: 3px solid var(--sw-yellow); }
.wp-block-button__link { border-radius: var(--sw-radius); }

/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
	.sw-menu > li > a { padding: 0 14px; font-size: 13px; }

	/* top bar se na ožjih zaslonih prelomi v dve vrstici (kot swedmach.si):
	   meni levo / napis "Pomoč..." desno, spodaj telefoni desno */
	.top-menu { flex: 1 1 auto; }
	.top-contact { display: contents; }
	.top-contact::after { display: none; }
	.top-contact-label {
		position: relative;
		padding-right: 30px;
		line-height: 24px;
	}
	.top-contact-label::after {
		content: '';
		width: 24px;
		height: 24px;
		position: absolute;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		background: url('assets/images/sprite.png') no-repeat 0 -100px;
		background-size: auto 144px;
	}
	.top-contact strong { margin-left: auto; }
}

@media (max-width: 991.98px) {
	.sw-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	/* kazalo vsebine se na ožjih zaslonih premakne nad prispevek */
	.sw-toc-sidebar { order: -1; }
	.sw-toc { position: static; }
	.footer-content .container { grid-template-columns: 1fr 1fr; }
	.footer-col-help { grid-column: 1 / -1; }
	.top-menu > li { padding: 2px 12px; }

	/* pod 992 px: burger meni namesto namiznega (kot swedmach.si) */
	.sw-menu-toggle { display: inline-flex; }

	.header-bottom {
		background: #e5e8e8;
		background: linear-gradient(to bottom, #e5e8e8 0%, #ffffff 100%);
	}
	.sw-mobile-nav-bar { display: flex; }

	.sw-main-nav .container { padding: 0; }
	.sw-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		height: auto;
		line-height: 1.5;
		background: transparent;
		border-bottom: 0;
		font-family: 'Nunito', sans-serif;
	}
	.sw-menu.is-open { display: flex; padding-bottom: 18px; }
	.sw-menu > li {
		flex-wrap: wrap;
		border-bottom: 0;
		margin-bottom: 0;
	}
	.sw-menu > li::after { display: none; }
	.sw-menu > li > a {
		flex: 1 1 auto;
		height: auto;
		min-height: 0;
		line-height: 1.5;
		padding: 5px 15px;
		display: flex;
		align-items: center;
		font-weight: 400;
		font-size: 14px;
		text-transform: none;
		white-space: normal;
		color: rgba(0, 0, 0, .5);
	}
	.sw-menu > li > a:hover, .sw-menu > li > a:focus { color: var(--sw-menu-hover); }
	.sw-menu > li.menu-item-sale > a, .sw-menu > li.sale > a { color: var(--sw-menu-sale); }
	.sw-menu > li > a::before { display: none; }
	.sw-menu > li.menu-item-has-children > a::after { display: none; }
	.sw-submenu-toggle { display: inline-flex; }
	.sw-menu .sub-menu {
		position: static;
		display: none;
		width: 100%;
		border: 0;
		border-top: 1px solid #cccccc;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: rgba(255, 255, 255, .65);
		padding: 0;
	}
	.sw-menu li.is-open > .sub-menu { display: block; }
	.sw-menu li:hover > .sub-menu,
	.sw-menu li:focus-within > .sub-menu { display: none; }
	.sw-menu li.is-open > .sub-menu { display: block; }
	.sw-menu .sub-menu .sub-menu { left: 0; padding-left: 14px; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 9px; } /* -37px + 46px admin bar */
}

@media (max-width: 767.98px) {
	.header-main .container { flex-wrap: wrap; gap: 12px; }
	.header-main .container::after { display: none; }
	.header-brand { order: 1; flex: 0 1 auto; }
	.header-search { order: 3; flex: 1 1 100%; justify-content: flex-start; }

	.header-top .container { justify-content: center; text-align: center; }
	.top-menu { justify-content: center; }
	.top-menu > li:first-child { padding-left: 20px; }
	.top-menu > li:first-child::before { display: block; }
	.top-contact { width: 100%; text-align: center; padding-right: 34px; }

	.footer-content .container { grid-template-columns: 1fr; gap: 32px; }
	.sw-card--featured { grid-template-columns: 1fr; }
	.sw-card--featured .sw-card-thumb { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
	.sw-card--featured .sw-card-body { padding: 18px 20px 20px; }
	.footer-copyright { text-align: left; margin-top: 10px; }
	.footer-copyright span { margin-left: 0; margin-right: 20px; }
	.sw-post-nav { grid-template-columns: 1fr; }
	.sw-post-nav .nav-next { text-align: left; }
	.sw-author-box { flex-direction: column; }
	.sw-related .sw-post-grid { grid-template-columns: 1fr; }
	.comment-list ol.children { padding-left: 14px; }
}

@media (max-width: 480px) {
	.sw-post-grid { grid-template-columns: 1fr; }
	.top-contact strong { font-size: 15px; }
	.header-brand img, .header-brand svg { max-width: 190px; }
}

/* ==========================================================================
   20. TISK
   ========================================================================== */
@media print {
	.header-top, .header-bottom, .site-footer, .sw-to-top, .sw-sidebar,
	.comments-area, .sw-post-nav, .sw-breadcrumbs, .header-search { display: none !important; }
	body { font-size: 12pt; color: #000; }
	a { text-decoration: underline; color: #000; }
	.entry-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
