/* Classic store-blog layout (Barn Site Setup).
   Colours follow the Kadence palette: palette1 red accent · palette3 dark grey · palette7 black. */

:root {
	--bss-sans: 'Open Sans', 'DejaVu Sans', Verdana, Arial, sans-serif;
	--bss-serif: Georgia, 'DejaVu Serif', 'Times New Roman', serif;
	--bss-mono: 'Inconsolata', 'DejaVu Sans Mono', Consolas, monospace;
	--bss-brand: 'Oswald', 'Arial Narrow', Impact, sans-serif;
	--bss-red: var(--global-palette1, #CC0000);
	--bss-red-dark: var(--global-palette2, #990000);
	--bss-dark: var(--global-palette3, #222222);
	--bss-title: var(--global-palette4, #444444);
	--bss-text: var(--global-palette5, #888888);
	--bss-muted: var(--global-palette6, #AAAAAA);
	--bss-black: var(--global-palette7, #000000);
	--bss-light: var(--global-palette8, #E6E6E6);
	--bss-line: #DDDDDD;
}

body.bss-site { font-family: var(--bss-sans); color: var(--bss-text); }
.bss-site a { text-decoration: none; }
.bss-site h1, .bss-site h2, .bss-site h3, .bss-site h4, .bss-site h5, .bss-site h6 { font-family: var(--bss-sans); }

/* ---------- Header: white logo bar + dark menu bar ---------- */
.bss-site .site-header { padding-top: 0; }
.bss-site .site-main-header-wrap .site-header-row-container-inner { background: #fff; }
.bss-site .site-main-header-inner-wrap { padding-left: 22px; padding-right: 22px; }
.bss-site .site-branding .site-title {
	font-family: var(--bss-brand); color: var(--bss-dark); text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; margin: 0;
}
.bss-site .site-branding .site-title a, .bss-site .site-branding a.brand { color: var(--bss-dark); }
.bss-site .site-branding .site-description { font-family: var(--bss-serif); font-style: italic; color: #888888; margin: 6px 0 0; }

.bss-site .site-bottom-header-wrap .site-header-row-container-inner {
	background: linear-gradient(#3a3a3a, #262626);
	border-bottom: 6px solid var(--bss-light);
}
.bss-site .site-bottom-header-wrap .site-container,
.bss-site .site-bottom-header-inner-wrap { padding-left: 0; padding-right: 0; min-height: 48px; }
.bss-site .site-bottom-header-wrap .site-header-bottom-section-left { align-items: stretch; }
.bss-site .main-navigation .primary-menu-container > ul { flex-wrap: wrap; }
.bss-site .main-navigation .primary-menu-container > ul > li.menu-item {
	border-right: 1px solid #111; box-shadow: 1px 0 0 #4a4a4a;
}
.bss-site .main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-family: var(--bss-serif); color: #fff; padding-top: .55em; padding-bottom: .6em;
	padding-left: 1.5em; padding-right: 1.5em; line-height: 1.4;
}
.bss-site .main-navigation .primary-menu-container > ul > li.menu-item > a:hover { background: #000; color: #fff; }
.bss-site .site-header button.menu-toggle-open, .bss-site .site-header button.drawer-toggle {
	background: transparent !important; box-shadow: none !important; color: var(--bss-dark);
}
.bss-site #mobile-drawer .drawer-inner { background: var(--bss-dark); }
.bss-site .mobile-navigation ul li a { font-family: var(--bss-serif); font-size: 18px; }

/* ---------- Shared ---------- */
.bss-btn, .bss-site .wp-block-button__link {
	display: inline-block; background: var(--bss-dark); color: #fff !important; font-family: var(--bss-serif);
	font-size: 16px; line-height: 1.2; padding: .65em 1.2em; border: 0; border-radius: 0;
	text-decoration: none !important; transition: background .15s ease;
}
.bss-btn:hover, .bss-btn:focus, .bss-site .wp-block-button__link:hover { background: var(--bss-red); color: #fff !important; }
.bss-btn-wrap { margin: 1.4em 0; }

/* ---------- Homepage slider ---------- */
.bss-site.home .content-container.site-container { padding-top: 0; }
.bss-site.home .entry-content-wrap { padding: 0; }
.bss-site.home .content-area { margin-top: 40px; margin-bottom: 40px; }
.bss-site.home .entry-content > .wp-block-shortcode, .bss-site.home .entry-content > p:empty { margin: 0; }

.bss-slider { position: relative; aspect-ratio: 944 / 427; overflow: hidden; background: #ddd; margin: 0 0 40px; }
.bss-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; }
.bss-slide.is-active { opacity: 1; visibility: visible; }
.bss-slide a { display: block; width: 100%; height: 100%; }
.bss-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bss-slide__caption {
	position: absolute; left: 0; bottom: 22px; max-width: 70%; background: rgba(0,0,0,.72); color: #fff;
	font-family: var(--bss-serif); font-size: 20px; line-height: 1.3; padding: 10px 18px;
}
.bss-slider--empty { background: linear-gradient(#2a2a2a, #111); }
.bss-slide__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.bss-slide__empty-title { font-family: var(--bss-brand); color: #fff; font-size: 44px; text-transform: uppercase; line-height: 1.1; }
.bss-slide__empty-text { font-family: var(--bss-serif); font-style: italic; color: #bbb; font-size: 18px; margin-top: 8px; }

.bss-site button.bss-sl-btn {
	position: relative; width: 40px; height: 40px; padding: 0; margin: 0; border: 0; border-radius: 0;
	background: #fff; color: #333; cursor: pointer; box-shadow: none; display: inline-flex; align-items: center; justify-content: center;
}
.bss-site button.bss-sl-btn:hover, .bss-site button.bss-sl-btn:focus-visible { background: #f0f0f0; color: #000; }
.bss-sl-prev { position: absolute !important; top: 0; left: 0; z-index: 3; }
.bss-sl-right { position: absolute; top: 0; right: 0; z-index: 3; display: flex; }
.bss-sl-prev::before, .bss-sl-next::before {
	content: ""; width: 11px; height: 11px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
}
.bss-sl-prev::before { transform: rotate(45deg); margin-left: 5px; }
.bss-sl-next::before { transform: rotate(-135deg); margin-right: 5px; }
.bss-sl-play::before { content: ""; box-sizing: content-box; width: 3px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.bss-slider.is-paused .bss-sl-play::before { box-sizing: border-box; width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.bss-sl-dots { position: absolute; right: 36px; bottom: 36px; z-index: 3; display: flex; gap: 10px; }
.bss-site .bss-sl-dots button {
	width: 13px; height: 13px; padding: 0; border-radius: 50%; border: 0; background: #fff; cursor: pointer; box-shadow: 0 0 2px rgba(0,0,0,.4);
}
.bss-site .bss-sl-dots button.is-active { background: #777; }

/* ---------- Homepage: "What's New" + sidebar ---------- */
.bss-home { display: grid; grid-template-columns: minmax(0, 1fr) 222px; gap: 34px; align-items: start; }
.bss-home--full { grid-template-columns: minmax(0, 1fr); }
.bss-site .bss-whats-title, .bss-site .archive-title, .bss-site.page:not(.home) .entry-title {
	font-family: var(--bss-sans); font-weight: 400; font-size: 30px; color: var(--bss-title); margin: 0 0 22px; letter-spacing: 0;
}
.bss-item {
	display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 22px; align-items: start;
	padding: 0 0 40px; margin: 0 0 40px; border-bottom: 1px dashed var(--bss-line);
}
.bss-item--noimg { grid-template-columns: minmax(0, 1fr); }
.bss-item__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.bss-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bss-site .entry-content .bss-item__title { font-family: var(--bss-sans); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0 0 12px; }
.bss-site .entry-content .bss-item__title a { color: var(--bss-title); text-decoration: none; }
.bss-site .entry-content .bss-item__title a:hover { color: var(--bss-red); }
.bss-site .entry-content .bss-item__text { font-size: 15px; line-height: 1.3; color: var(--bss-text); margin: 0 0 10px; }
.bss-site .entry-content .bss-more-link { color: var(--bss-red); text-decoration: underline; }
.bss-item__meta, .bss-site .loop-entry .entry-footer {
	font-family: var(--bss-serif); font-style: italic; font-size: 14px; color: var(--bss-muted); margin: 0;
}
.bss-site .entry-content .bss-item__meta a { color: var(--bss-muted); text-decoration: none; }
.bss-readmore::after, .bss-site .loop-entry .post-more-link::after { content: " \2192"; font-style: normal; }
.bss-site .entry-content .bss-readmore:hover { color: var(--bss-title); }
.bss-empty { color: var(--bss-text); }

.bss-pages, .bss-site .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 4px; margin: 20px 0 0; }
.bss-site .entry-content .bss-pages a, .bss-pages span, .bss-site .pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 33px; height: 31px; padding: 0 8px;
	background: var(--bss-dark); color: #fff; font-family: var(--bss-serif); font-size: 15px; border: 0; border-radius: 0; margin: 0;
}
.bss-site .entry-content .bss-pages a { text-decoration: none; }
.bss-pages a:hover, .bss-site .pagination a.page-numbers:hover { background: #000; color: #fff; }
.bss-pages .current, .bss-site .pagination .page-numbers.current { background: var(--bss-light); color: #333; }

/* ---------- Sidebar (homepage list + Kadence sidebar on posts, pages, Blog) ---------- */
.bss-sidebar .widget, .bss-site #secondary .widget { margin: 0 0 34px; }
.bss-aboutbox {
	background: var(--bss-dark); border-top: 4px solid #555; padding: 14px 15px 22px; color: #BBBBBB; font-size: 15px; line-height: 1.1;
}
.bss-aboutbox strong { color: #CCCCCC; display: inline; }
.bss-site .bss-wtitle, .bss-site .widget-title, .bss-site .widget .wp-block-heading {
	font-family: var(--bss-mono); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: .06em;
	color: #333; margin: 0 0 22px;
}
.bss-site .bss-wtext, .bss-site .bss-sidebar .widget p, .bss-site #secondary .widget p { font-size: 15px; line-height: 1.25; color: var(--bss-text); margin: 0 0 10px; }
.bss-site .bss-sidebar .widget a, .bss-site #secondary .widget a { text-decoration: none; }
.bss-site .widget .bss-fb a, .bss-site .bss-sidebar .widget .bss-fb a { color: var(--bss-red); text-decoration: underline !important; }
.bss-site .widget .bss-fb a:hover { color: var(--bss-red-dark); }

.bss-site .wp-block-tag-cloud, .bss-site .tagcloud { display: flex; flex-wrap: wrap; gap: 4px 4px; }
.bss-site .wp-block-tag-cloud a, .bss-site .tagcloud a {
	background: var(--bss-dark); color: #fff !important; font-family: var(--bss-serif); font-size: 13px !important;
	padding: 4px 10px; margin: 0; border: 0; border-radius: 0; line-height: 1.4;
}
.bss-site .wp-block-tag-cloud a:hover, .bss-site .tagcloud a:hover { background: #000; }

.bss-site .wp-block-latest-posts { margin: 0; padding: 0; }
.bss-site .widget .wp-block-latest-posts li, .bss-site .entry-content .widget .wp-block-latest-posts li { margin: 0 0 9px; padding: 0; font-size: 14px; line-height: 1.3; }
.bss-site .widget .wp-block-latest-posts a, .bss-site .entry-content .widget .wp-block-latest-posts a { color: var(--bss-text); font-size: 14px; line-height: 1.3; text-decoration: none; }
.bss-site .widget .wp-block-latest-posts a:hover, .bss-site .entry-content .widget .wp-block-latest-posts a:hover { color: var(--bss-red); }

.bss-site .wp-block-search__inside-wrapper { display: block; border: 0; padding: 0; }
.bss-site .wp-block-search__input {
	width: 100%; border: 1px solid #CCCCCC; border-radius: 0; padding: 6px 10px; font-size: 14px; color: #555; background: #fff;
	min-height: 0; height: 30px; margin: 0 0 6px;
}
.bss-site .wp-block-search__button {
	background: none !important; border: 0; padding: 0; margin: 0; color: var(--bss-muted) !important;
	font-family: var(--bss-serif); font-style: italic; font-size: 14px; box-shadow: none !important;
}
.bss-site .wp-block-search__button::after { content: " \2192"; font-style: normal; }
.bss-site .wp-block-search__button:hover { color: var(--bss-title) !important; }

/* ---------- Kadence sidebar column width / spacing ---------- */
@media (min-width: 1025px) {
	.bss-site.has-sidebar .content-container { grid-template-columns: minmax(0, 1fr) 222px; column-gap: 34px; }
	.bss-site.has-sidebar #secondary { margin-left: 0; padding-left: 0; border-left: 0; }
	.bss-site .primary-sidebar.widget-area .sidebar-inner-wrap { padding: 0; }
}

/* ---------- Blog category / archives: same list look ---------- */
.bss-site .archive-hero-section .entry-header, .bss-site .post-archive-hero-section .entry-header { min-height: 0; }
.bss-site .post-archive-title { padding-bottom: 0; text-align: left; }
.bss-site .archive-description { color: var(--bss-text); }
.bss-site .kadence-breadcrumbs, .bss-crumbs { font-size: 13px; color: var(--bss-muted); margin-bottom: 8px; }
.bss-site .kadence-breadcrumbs a, .bss-site .entry-content .bss-crumbs a, .bss-crumbs a { color: var(--bss-muted); text-decoration: none; }
.bss-site .entry-content .bss-crumbs a:hover { color: var(--bss-title); }
.bss-site .entry-content .bss-disclosure a { color: var(--bss-red); }
.bss-site .content-wrap.grid-cols.grid-sm-col-1 { row-gap: 0; }
.bss-site .loop-entry {
	background: transparent; box-shadow: none; border-radius: 0; border-bottom: 1px dashed var(--bss-line);
	padding-bottom: 40px; margin-bottom: 40px;
}
.bss-site .loop-entry.type-post .entry-content-wrap { padding: 0 0 0 22px; }
.bss-site .loop-entry .entry-title { font-family: var(--bss-sans); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0 0 14px; }
.bss-site .loop-entry .entry-title a { color: var(--bss-title); }
.bss-site .loop-entry .entry-title a:hover { color: var(--bss-red); }
.bss-site .loop-entry .entry-summary p { font-size: 15px; line-height: 1.3; color: var(--bss-text); margin: 0 0 10px; }
.bss-site .content-wrap.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) { grid-template-columns: 36% minmax(0, 1fr); grid-gap: 22px; }
.bss-site .content-wrap.item-image-style-beside article.loop-entry .entry-content-wrap { padding: 0; }
.bss-site .loop-entry .entry-header { margin-bottom: 0; }
.bss-site .pagination, .bss-site .pagination .nav-links { justify-content: flex-start; text-align: left; }
.bss-site .pagination { margin-top: 0; }
.bss-site .entry-hero .entry-header, .bss-site .post-archive-title { padding: 0; }
.bss-site .archive .entry-header.post-archive-title, .bss-site.archive .post-archive-title { margin-bottom: 0; }
.bss-site .loop-entry .post-more-link { font-family: var(--bss-serif); font-style: italic; font-size: 14px; color: var(--bss-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.bss-site .loop-entry .post-more-link:hover { color: var(--bss-title); }
.bss-site .loop-entry .post-more-link .kadence-svg-iconset { display: none; }
.bss-site .loop-entry .post-thumbnail { border-radius: 0; }

/* ---------- Single post / page ---------- */
.bss-site.single-post .entry-title { font-family: var(--bss-sans); font-weight: 700; font-size: 30px; color: var(--bss-title); line-height: 1.25; }
.bss-postmeta { margin: 0 0 1.4em; font-size: 14px; }
.bss-postmeta p { margin: 0 0 4px; }
.bss-byline { color: var(--bss-muted); font-family: var(--bss-serif); font-style: italic; }
.bss-disclosure { color: var(--bss-text); font-size: 13px; border-left: 3px solid var(--bss-light); padding-left: 10px; margin-top: 10px !important; }
.bss-site .single-content, .bss-site .entry-content { color: #555; }
.bss-site .single-content p, .bss-site .single-content li { font-size: 16px; line-height: 1.7; }
.bss-site .single-content h2 { font-size: 24px; color: var(--bss-title); margin-top: 1.6em; }
.bss-site .single-content h3 { font-size: 19px; color: var(--bss-title); }
.bss-site .single-content a { color: var(--bss-red); text-decoration: underline; }
.bss-site .single-content .bss-btn { text-decoration: none; }
.bss-site .single-content table { border-collapse: collapse; width: 100%; font-size: 15px; }
.bss-site .single-content table th { background: var(--bss-dark); color: #fff; font-weight: 700; text-align: left; padding: 10px 12px; border: 1px solid var(--bss-dark); }
.bss-site .single-content table td { padding: 9px 12px; border: 1px solid var(--bss-line); color: #555; }
.bss-site .single-content table tbody tr:nth-child(even) td { background: #F6F6F6; }
.bss-site .single-content .wp-block-table.is-style-stripes { border-bottom: 0; }
.bss-site .entry-tags a, .bss-site .tags-links a { background: var(--bss-dark); color: #fff; border: 0; border-radius: 0; font-family: var(--bss-serif); }
.bss-site .post-navigation a { color: var(--bss-title); }

/* ---------- Footer ---------- */
.bss-site .site-footer .site-bottom-footer-wrap .site-footer-row-container-inner { border-top: 4px solid #333; background: #fff; }
.bss-site .site-footer .site-bottom-footer-inner-wrap { padding-top: 26px; padding-bottom: 30px; }
.bss-site .site-footer .footer-html-inner p { margin: 0; font-family: var(--bss-mono); font-size: 14px; color: #888; }
.bss-site .site-footer .footer-navigation .footer-menu-container > ul { justify-content: flex-end; }
.bss-site .site-footer .footer-navigation .footer-menu-container > ul > li > a { font-family: var(--bss-mono) !important; font-size: 14px; color: #888; padding-top: 0; padding-bottom: 0; }
.bss-site .site-footer .site-footer-section { align-items: center; }
.bss-site .site-footer .footer-navigation .footer-menu-container > ul > li.current-menu-item > a,
.bss-site .site-footer .footer-navigation .footer-menu-container > ul > li > a:hover { color: #000; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bss-site .site-main-header-wrap .site-header-row-container-inner { border-bottom: 4px solid var(--bss-dark); }
	.bss-site .main-navigation .primary-menu-container > ul > li.menu-item > a { padding-left: 1.1em; padding-right: 1.1em; }
}
@media (max-width: 860px) {
	.bss-home { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.bss-sidebar { border-top: 4px solid #333; padding-top: 34px; }
}
@media (max-width: 767px) {
	.bss-site .site-main-header-inner-wrap { padding-left: 14px; padding-right: 10px; }
	.bss-site .site-branding .site-description { display: none; }
	.bss-slider { aspect-ratio: 4 / 3; margin-bottom: 28px; }
	.bss-slide__caption { font-size: 16px; padding: 8px 12px; }
	.bss-sl-dots { display: none; }
	.bss-slide__caption { bottom: 0; max-width: 100%; }
	.bss-sl-play { display: none !important; }
	.bss-site button.bss-sl-btn { width: 34px; height: 34px; }
	.bss-item { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-bottom: 28px; margin-bottom: 28px; }
	.bss-site .bss-whats-title, .bss-site .archive-title, .bss-site.page:not(.home) .entry-title { font-size: 26px; }
	.bss-site .loop-entry.type-post .entry-content-wrap { padding: 16px 0 0; }
	.bss-site .site-footer .footer-navigation .footer-menu-container > ul { justify-content: flex-start; }
	.bss-site .site-footer .footer-navigation .footer-menu-container > ul > li > a { padding: 0 10px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.bss-slide { transition: none; }
}
