/*
Theme Name: Bam (WPVibe Draft)
Theme URI: https://themezhut.com/themes/bam/
Author: ThemezHut
Author URI: https://themezhut.com/
Description: Bam WordPress theme is a great flexible theme for blogging sites. Even this is a free theme you will find most of the advanced theme customizer options that you may find only on premium themes like, typography options, header layout options, advanced color options, blog layout options, social media options, etc. Just install the theme and customize it as you like. Check the demo at: https://themezhut.com/demo/bam/
Version: 1.3.5
Tested up to: 6.8
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bam
Tags: news, blog, grid-layout, right-sidebar, two-columns, custom-logo, custom-background, custom-menu, editor-style, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, rtl-language-support

Bam WordPress Theme, Copyright 2019 ThemezHut Themes. 
Bam is distributed under the terms of the GNU GPL

Bam is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Header
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Blocks
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: "Source Sans Pro", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: normal;
  line-height: 1.2;
}

h1 {
  font-size: 36px;
  font-size: 2.25rem;
  margin: 0.67em 0;
}

h2 {
  font-size: 32px;
  font-size: 2rem;
  margin: 0.83em 0;
}

h3 {
  font-size: 28px;
  font-size: 1.75rem;
  margin: 1em 0;
}

h4 {
  font-size: 24px;
  font-size: 1.5rem;
  margin: 1.2em 0;
}

h5 {
  font-size: 20px;
  font-size: 1.25rem;
  margin: 1.3em 0;
}

h6 {
  font-size: 16px;
  font-size: 1rem;
  margin: 1.4em 0;
}

p {
  margin: 0 0 1.5em;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  border-left: 4px solid #FF4F4F;
  margin: 30px 0;
  padding-left: 1em;
}
blockquote p {
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: 0;
}
blockquote cite {
  margin-top: 1em;
  display: inline-block;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

a {
  color: #00aeef;
  text-decoration: none;
}
a:visited {
  color: purple;
}
a:hover, a:focus, a:active {
  color: #0076a3;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

ul, ol {
  padding-left: 1rem;
  margin-left: 1rem;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto; /* Make sure images are scaled correctly. */
  max-width: 100%; /* Adhere to container width. */
  vertical-align: middle;
}

figure {
  margin: 2em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  border-collapse: collapse;
  margin: 0 0 1.5em;
  width: 100%;
}

table, th, td {
  border: 1px solid #ededed;
}

th {
  background: #f8f8f8;
  padding: 8px 15px;
  text-align: left;
}

.site-footer table, .site-footer th, .site-footer td {
  border: 1px solid #555;
}

.site-footer th {
  background: #222;
}

td {
  padding: 5px 15px;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: none;
  border-radius: 3px;
  background: #FF4F4F;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 1em 1.5em;
  text-transform: uppercase;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  background: #222222;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  background: #222222;
}

.bam-readmore {
  border-radius: 3px;
  background: #FF4F4F;
  color: #ffffff;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.6em 1.2em;
  text-transform: uppercase;
}
.bam-readmore:hover {
  color: #ffffff;
  background: #222222;
}
.bam-readmore:visited {
  color: #ffffff;
}
.bam-readmore:active, .bam-readmore:focus {
  color: #ffffff;
  background: #222222;
}

.entry-readmore {
  margin: 27px 0 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #dddddd;
  padding: 5px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #dddddd;
}

textarea {
  width: 100%;
}

.bam-navigation-container {
  position: relative;
}

.bam-search-box-container {
  display: none;
}

.bam-search-box-container {
  background: #fff;
  border: 3px solid #E3E3E3;
  display: none;
  padding: 5px;
  position: absolute;
  right: 0;
  top: 50px;
  width: 350px;
  z-index: 999;
}

.bam-search-box input[type=submit] {
  border-radius: 0;
  box-shadow: none;
  border: none;
  height: 40px;
  line-height: 40px;
  padding: 0;
  text-shadow: none;
  text-transform: uppercase;
  width: 92px;
  cursor: pointer;
}

.bam-search-box input[type=submit]:focus {
  outline: none;
}

.bam-search-box input[type=search] {
  background: #f1f1f1;
  border: none;
  float: left;
  height: 40px;
  margin: 0;
  padding: 0 11px;
  width: 242px;
  border-radius: 0;
}

.bam-search-box input[type=search]:focus {
  outline: none;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-logo-image {
  float: left;
  margin-right: 10px;
}
.site-logo-image img {
  width: auto;
}

.site-branding-text {
  float: left;
}

/* Default style */
.site-header.default-style {
  background-color: #ffffff;
}
.site-header.default-style #site-header-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  height: 100%;
}
.site-header.default-style .site-branding {
  float: left;
  height: 100%;
}
.site-header.default-style .header-sidebar {
  float: right;
}
.site-header.default-style .header-sidebar .widget {
  margin: 0;
}
@media (max-width: 850px) {
  .site-header.default-style #site-header-inner.right-logo .header-sidebar,
  .site-header.default-style #site-header-inner.left-logo .header-sidebar {
    margin-top: 20px;
  }
}
.site-header.default-style #site-header-inner.center-logo {
  text-align: center;
}
.site-header.default-style #site-header-inner.center-logo .site-branding {
  float: none;
  display: inline-block;
  margin: 0 auto;
}
.site-header.default-style #site-header-inner.center-logo .header-sidebar {
  display: table;
  float: none;
  margin-top: 20px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}
.site-header.default-style #site-header-inner.right-logo .site-branding {
  float: right;
  text-align: right;
}
.site-header.default-style #site-header-inner.right-logo .header-sidebar {
  float: left;
}

.site-title {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 44px;
  font-size: 2.75rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}
.site-title a {
  color: #FF4F4F;
}
.site-title a:hover {
  color: #000000;
}

.site-description {
  font-size: 16px;
  font-size: 1rem;
  margin: 0 0 10px;
}

/* Horizontal style */
.site-header.horizontal-style #site-header-inner-wrap {
  background: #141414;
}
.site-header.horizontal-style .site-branding {
  float: left;
  display: table;
  height: 100%;
}
.site-header.horizontal-style .site-branding-inner {
  display: table-cell;
  vertical-align: middle;
  height: 65px;
}
.site-header.horizontal-style .site-title {
  font-size: 36px;
}
.site-header.horizontal-style .site-title a:hover {
  color: #dddddd;
}
.site-header.horizontal-style .site-description {
  color: #cccccc;
  font-size: 14px;
  margin: 0;
}
.site-header.horizontal-style .main-navigation {
  float: right;
}
.site-header.horizontal-style .header-sidebar {
  width: 100%;
  float: none;
  background: #eeeeee;
  padding: 20px;
}
.site-header.horizontal-style .header-sidebar .widget {
  margin: 0;
}
@media (max-width: 576px) {
  .site-header.horizontal-style .header-sidebar {
    padding: 10px;
  }
}
.site-header.horizontal-style .header-sidebar-inner {
  margin: 0 auto;
  display: table;
  max-width: 1400px;
}

.bam-breadcrumb-wrap {
  font-size: 15px;
}

.hentry .bam-breadcrumb-wrap {
  margin: 0 0 5px;
}

.archive .bam-breadcrumb-wrap {
  margin: 0 0 10px;
}

.bam-header-breadcrumb-bar {
  padding: 20px 0 0;
  margin-bottom: -15px;
}

.separate-containers .bam-header-breadcrumb-bar {
  padding: 10px 0;
  margin-bottom: 0px;
}

.rank-math-breadcrumb p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  font-size: 16px;
  font-size: 1rem;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: -10px;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  left: 100%;
}
.main-navigation ul ul li a {
  font-weight: normal;
  line-height: 1.3;
  text-transform: none;
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  float: left;
  position: relative;
}
.main-navigation li a {
  display: block;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}
.main-navigation li.menu-item-has-children > a:after,
.main-navigation li.page_item_has_children > a:after {
  font-family: "Font Awesome 5 Free";
  content: "\f107";
  display: inline-block;
  line-height: 1;
  font-size: 13px;
  margin: 1px 0 0 10px;
  font-weight: 900;
}

.main-navigation .menu-item-has-children .menu-item-has-children > a:after,
.main-navigation .page_item_has_children .menu-item-has-children > a:after {
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  display: inline-block;
  float: right;
  line-height: 20px;
  font-size: 13px;
  margin: 0 0 0 10px;
  font-weight: 900;
}

.rtl .main-navigation .menu-item-has-children .menu-item-has-children > a:after,
.rtl .main-navigation .page_item_has_children .menu-item-has-children > a:after {
  content: "\f104";
}

/**
 * Default style
 */
.site-header.default-style .main-navigation {
  clear: both;
  display: block;
  float: left;
  width: 100%;
  background: #141414;
}
.site-header.default-style .main-navigation ul li a {
  color: #ffffff;
  line-height: 50px;
  padding: 0 16px;
}
.site-header.default-style .main-navigation ul li a:hover {
  color: #FF4F4F;
}
.site-header.default-style .main-navigation ul ul {
  padding: 10px;
  background: #333333;
}
.site-header.default-style .main-navigation ul ul li a {
  color: #eeeeee;
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 1.3;
}
.site-header.default-style .main-navigation ul ul li a:hover {
  color: #ffffff;
  background: #FF4F4F;
}
.site-header.default-style .main-navigation .current_page_item > a,
.site-header.default-style .main-navigation .current-menu-item > a,
.site-header.default-style .main-navigation .current_page_ancestor > a,
.site-header.default-style .main-navigation .current-menu-ancestor > a {
  color: #FF4F4F;
}
@media screen and (min-width: 959px) {
  .site-header.default-style .main-navigation #site-navigation-inner.align-center #primary-menu {
    display: table;
    margin: 0 auto;
  }
}
.site-header.default-style .main-navigation #site-navigation-inner.align-right #primary-menu {
  float: right;
}
.site-header.default-style .main-navigation #site-navigation-inner.align-left #primary-menu {
  float: left;
}
.site-header.default-style .main-navigation #site-navigation-inner.show-search ul {
  margin-right: 40px;
}

/**
 * Horizontal Style 
 */
.site-header.horizontal-style .main-navigation ul li a {
  color: #ffffff;
  line-height: 65px;
  padding: 0 16px;
}
.site-header.horizontal-style .main-navigation ul li a:hover {
  color: #FF4F4F;
}
.site-header.horizontal-style .main-navigation ul ul {
  padding: 10px;
  background: #333333;
}
.site-header.horizontal-style .main-navigation ul ul li a {
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 1.3;
}
.site-header.horizontal-style .main-navigation ul ul li a:hover {
  color: #ffffff;
  background: #FF4F4F;
}
.site-header.horizontal-style .main-navigation .current_page_item > a,
.site-header.horizontal-style .main-navigation .current-menu-item > a,
.site-header.horizontal-style .main-navigation .current_page_ancestor > a,
.site-header.horizontal-style .main-navigation .current-menu-ancestor > a {
  color: #FF4F4F;
}
.site-header.horizontal-style .main-navigation #site-navigation-inner.show-search ul {
  margin-right: 40px;
}

#site-navigation-inner {
  position: relative;
}

/* Mobile Dropdown Navigation. */
.mobile-dropdown {
  clear: both;
}

.mobile-navigation {
  display: none;
  background: #333333;
}
.mobile-navigation ul {
  list-style: none;
  margin: 0;
  padding: 30px;
}
.mobile-navigation ul li {
  position: relative;
  border-bottom: 1px solid #222222;
}
.mobile-navigation ul li a {
  display: block;
  width: 100%;
  line-height: 45px;
  color: #ffffff;
  font-size: 16px;
  font-size: 1rem;
  text-transform: uppercase;
}
.mobile-navigation ul ul {
  display: none;
  padding: 0 0 0 20px;
  border-top: 1px solid #222222;
}
.mobile-navigation ul ul.toggled-on {
  display: block;
}

.mobile-navigation.toggled-on {
  display: block;
}

.menu-toggle {
  cursor: pointer;
  border: none;
  background: transparent;
  line-height: 50px;
  border-radius: 0;
  padding: 0 10px;
  color: #ffffff;
  display: block;
  font-size: 16px;
  font-size: 1rem;
}
.menu-toggle i.fas {
  margin-right: 10px;
}

.site-header.horizontal-style .menu-toggle {
  line-height: 65px;
}

.dropdown-toggle {
  cursor: pointer;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  position: absolute;
  top: 0;
  right: 0;
  line-height: 45px;
  padding: 0 15px;
  border-left: 1px dotted #222222;
  border-right: 1px dotted #222222;
  border-radius: 0;
}

button.dropdown-toggle::after {
  content: "+";
}

button.dropdown-toggle.toggled-on::after {
  content: "-";
}

@media screen and (min-width: 959px) {
  .mobile-dropdown,
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: block;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 60px;
  overflow: hidden;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

.posts-navigation {
  color: #444444;
}
.posts-navigation .nav-previous a,
.posts-navigation .nav-next a {
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #444444;
}
.posts-navigation .nav-previous a:hover,
.posts-navigation .nav-next a:hover {
  color: #FF4F4F;
}
.posts-navigation .nav-previous a::before {
  content: "\f104";
  display: inline-block;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  margin: 0 1em 0 0;
  font-weight: 900;
}
.posts-navigation .nav-next a::after {
  content: "\f105";
  display: inline-block;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  margin: 0 0 0 1em;
  font-weight: 900;
}

.rtl .posts-navigation .nav-previous a::before {
  content: "\f105";
}

.rtl .posts-navigation .nav-next a::after {
  content: "\f104";
}

.post-navigation .nav-previous .meta-nav,
.post-navigation .nav-next .meta-nav {
  font-size: 16px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #bdbdbd;
}
.post-navigation .nav-previous .post-title,
.post-navigation .nav-next .post-title {
  color: #000000;
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: 600;
}
.post-navigation .nav-previous .post-title:hover,
.post-navigation .nav-next .post-title:hover {
  color: #FF4F4F;
}

/**
 * Search toggle
 */
.site-header.horizontal-style .bam-search-button-icon {
  line-height: 65px;
}
.site-header.horizontal-style .bam-search-box-container {
  top: 65px;
}

.site-header.default-style .bam-search-button-icon {
  line-height: 50px;
}
.site-header.default-style .bam-search-box-container {
  top: 50px;
}

.bam-search-button-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 16px;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 959px) {
  .site-header.horizontal-style .bam-search-button-icon {
    right: 80px;
  }
}

.bam-search-box-container {
  display: none;
  position: absolute;
  right: 0;
}

.bam-search-box-container.active {
  display: block;
}

/**
 * Pagination
 */
.pagination {
  margin: 10px 0 30px;
}
.pagination .page-numbers {
  border: 1px solid #cccccc;
  color: #404040;
  padding: 8px 15px;
  margin: 0 2px 5px 2px;
  display: inline-block;
}
.pagination .page-numbers.next,
.pagination .page-numbers.previous {
  margin: 0;
}
.pagination .page-numbers.current {
  background: #FF4F4F;
  border: 1px solid #FF4F4F;
  color: #ffffff;
}
.pagination a.page-numbers:hover {
  background: #FF4F4F;
  border: 1px solid #FF4F4F;
  color: #ffffff;
}

.infinite-scroll .pagination {
  display: none;
}

/*--------------------------------------------------------------
## Top Bar
--------------------------------------------------------------*/
.bam-topbar {
  border-bottom: 1px solid #eeeeee;
  background: #f5f5f5;
}
.bam-topbar .bam-social-link i {
  font-size: 14px;
  line-height: 35px;
  padding: 0 5px;
}
@media (min-width: 992px) {
  .bam-topbar {
    height: 35px;
  }
}

.bam-topbar-social {
  float: right;
}

.bam-social-icon .fa {
  font-family: "Font Awesome 5 Free";
}

.bam-topbar-social.colored .bam-social-link.facebook i {
  color: #3b5998;
}
.bam-topbar-social.colored .bam-social-link.twitter i {
  color: #000000;
}
.bam-topbar-social.colored .bam-social-link.dribbble i {
  color: #ea4c89;
}
.bam-topbar-social.colored .bam-social-link.pinterest i {
  color: #c8232c;
}
.bam-topbar-social.colored .bam-social-link.github i {
  color: #171515;
}
.bam-topbar-social.colored .bam-social-link.tumblr i {
  color: #34526f;
}
.bam-topbar-social.colored .bam-social-link.youtube i {
  color: #c4302b;
}
.bam-topbar-social.colored .bam-social-link.flickr i {
  color: #ff0084;
}
.bam-topbar-social.colored .bam-social-link.vimeo i {
  color: #1AB7EA;
}
.bam-topbar-social.colored .bam-social-link.instagram i {
  color: #3f729b;
}
.bam-topbar-social.colored .bam-social-link.codepen i {
  color: #000;
}
.bam-topbar-social.colored .bam-social-link.linkedin i {
  color: #0e76a8;
}
.bam-topbar-social.colored .bam-social-link.yelp i {
  color: #d32323;
}
.bam-topbar-social.colored .bam-social-link.skype i {
  color: #00aff0;
}
.bam-topbar-social.colored .bam-social-link.vk i {
  color: #45668e;
}
.bam-topbar-social.colored .bam-social-link.email i {
  color: #e4b872;
}
.bam-topbar-social.colored .bam-social-link.vine i {
  color: #00b488;
}
.bam-topbar-social.colored .bam-social-link.tripadvisor i {
  color: #00af87;
}
.bam-topbar-social.colored .bam-social-link.rss i {
  color: #f26522;
}
.bam-topbar-social.colored .bam-social-link.tiktok i {
  color: #000000;
}
.bam-topbar-social.colored .bam-social-link.mastodon i {
  color: #3288d4;
}
.bam-topbar-social.colored .bam-social-link.telegram i {
  color: #2AABEE;
}
.bam-topbar-social.colored .bam-social-link.discord i {
  color: #7289da;
}
.bam-topbar-social.colored .bam-social-link.twitch i {
  color: #6440a4;
}
.bam-topbar-social.colored .bam-social-link i:hover {
  color: #222222;
}

.bam-topbar-social.dark .bam-social-link i {
  color: #333333;
}
.bam-topbar-social.dark .bam-social-link i:hover {
  color: #d32323;
}

.bam-topbar-social.light .bam-social-link i {
  color: #dddddd;
}
.bam-topbar-social.light .bam-social-link.tripadvisor i:hover {
  color: #00af87;
}
.bam-topbar-social.light .bam-social-link.rss i:hover {
  color: #f26522;
}
.bam-topbar-social.light .bam-social-link.vine i:hover {
  color: #00b488;
}
.bam-topbar-social.light .bam-social-link.email i:hover {
  color: #e4b872;
}
.bam-topbar-social.light .bam-social-link.vk i:hover {
  color: #45668e;
}
.bam-topbar-social.light .bam-social-link.skype i:hover {
  color: #00aff0;
}
.bam-topbar-social.light .bam-social-link.facebook i:hover {
  color: #3b5998;
}
.bam-topbar-social.light .bam-social-link.twitter i:hover {
  color: #000000;
}
.bam-topbar-social.light .bam-social-link.dribbble i:hover {
  color: #ea4c89;
}
.bam-topbar-social.light .bam-social-link.pinterest i:hover {
  color: #c8232c;
}
.bam-topbar-social.light .bam-social-link.github i:hover {
  color: #171515;
}
.bam-topbar-social.light .bam-social-link.tumblr i:hover {
  color: #34526f;
}
.bam-topbar-social.light .bam-social-link.youtube i:hover {
  color: #c4302b;
}
.bam-topbar-social.light .bam-social-link.flickr i:hover {
  color: #ff0084;
}
.bam-topbar-social.light .bam-social-link.vimeo i:hover {
  color: #1AB7EA;
}
.bam-topbar-social.light .bam-social-link.instagram i:hover {
  color: #3f729b;
}
.bam-topbar-social.light .bam-social-link.codepen i:hover {
  color: #000;
}
.bam-topbar-social.light .bam-social-link.linkedin i:hover {
  color: #0e76a8;
}
.bam-topbar-social.light .bam-social-link.yelp i:hover {
  color: #d32323;
}
.bam-topbar-social.light .bam-social-link.tiktok i:hover {
  color: #000000;
}
.bam-topbar-social.light .bam-social-link.mastodon i:hover {
  color: #3288d4;
}
.bam-topbar-social.light .bam-social-link.telegram i:hover {
  color: #2AABEE;
}
.bam-topbar-social.light .bam-social-link.discord i:hover {
  color: #7289da;
}
.bam-topbar-social.light .bam-social-link.twitch i:hover {
  color: #6440a4;
}

.bam-date {
  line-height: 35px;
  font-size: 14px;
  font-weight: bold;
  margin-right: 25px;
  float: left;
}

.top-navigation {
  clear: both;
  display: inline-block;
}
.top-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.top-navigation ul ul {
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
  background: #f5f5f5;
}
.top-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.top-navigation ul ul li:hover > ul, .top-navigation ul ul li.focus > ul {
  left: 100%;
}
.top-navigation ul ul a {
  width: 200px;
}
.top-navigation ul li:hover > ul,
.top-navigation ul li.focus > ul {
  left: auto;
}
.top-navigation li {
  float: left;
  position: relative;
}
.top-navigation a {
  color: #222222;
  display: block;
  line-height: 35px;
  padding: 0 10px;
  font-size: 14px;
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 600;
}
.top-navigation a:hover {
  color: #888888;
}
@media screen and (max-width: 767px) {
  .top-navigation {
    display: none;
  }
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
          clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

.clearfix:after {
  content: "";
  display: block;
  visibility: hidden;
  clear: both;
  zoom: 1;
  height: 0;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 60px;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}
.widget a {
  color: #000000;
}
.widget a:hover {
  color: #ff4f4f;
}
.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget ul li {
  padding: 5px 0;
}
.widget ul li a {
  color: #404040;
}
.widget ul li a:hover {
  color: #FF4F4F;
}

.widget ul li.wp-block-social-link {
  padding: inherit;
}

body.separate-containers #secondary .widget {
  background: #ffffff;
  padding: 25px;
}

.widget-title {
  color: #000000;
  font-size: 21px;
  font-size: 1.3125rem;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3;
  border-bottom: 1px solid #dddddd;
  margin: 0 0 15px;
  padding-bottom: 3px;
}

.footer-widget-area {
  background: #222222;
  overflow: hidden;
}
.footer-widget-area .widget {
  color: #dddddd;
  margin: 50px 0;
}
.footer-widget-area .widget a {
  color: #eeeeee;
}
.footer-widget-area .widget a:hover {
  color: #FF4F4F;
}
.footer-widget-area .widget-title {
  color: #eeeeee;
  border-bottom: none;
}

@media (min-width: 768px) {
  .footer-widget-area-inner {
    margin: 0 -20px;
  }
  .th-columns-1 .col {
    width: 100%;
    padding: 0 20px;
  }
  .th-columns-2 .col {
    width: 50%;
    float: left;
    padding: 0 20px;
  }
  .th-columns-3 .col {
    width: 33.3333%;
    float: left;
    padding: 0 20px;
  }
  .th-columns-4 .col {
    width: 25%;
    float: left;
    padding: 0 20px;
  }
}
/* Search widget */
.search-form {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.search-form .search-field {
  display: block;
  margin: 0;
  height: 45px;
  padding: 10px 90px 10px 10px;
  box-sizing: border-box;
  -webkit-appearance: none;
  border-radius: 3px;
  width: 100%;
}

.search-form label {
  display: block;
}

.search-form .search-field::-moz-placeholder {
  color: #aaa;
}

.search-form .search-field::placeholder {
  color: #aaa;
}

.search-form .search-submit {
  height: 45px;
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.search-form .search-submit:hover {
  background: #222;
}

/* Small Posts */
.bms-posts {
  margin-left: 0;
  margin-right: 0;
  width: 47.3469387755%;
  float: left;
}
@media (max-width: 768px) {
  .bms-posts {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    float: none;
  }
}

.bms-thumb {
  float: left;
  margin-right: 15px;
  position: relative;
}
.bms-thumb img {
  max-width: 120px;
  vertical-align: top;
}
@media (min-width: 768px) and (max-width: 992px) {
  .bms-thumb img {
    max-width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .bms-thumb {
    width: 30%;
    margin-right: 12px;
  }
}

.bms-details {
  overflow: hidden;
}

.bms-title {
  font-size: 18px;
  font-size: 1.125rem;
  margin: 0 0 8px;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.27;
}
.bms-title a {
  color: #000000;
}
.bms-title a:hover {
  color: #ff4f4f;
}

.bms-post {
  margin-bottom: 30px;
}

/* Tab Widget */
ul.bm-tab-nav {
  overflow: hidden;
  margin: 0 0 25px 0;
  list-style: none;
  padding: 0;
}

li.bm-tab {
  float: left;
  padding: 0 !important;
  text-align: center;
  width: 25%;
}
li.bm-tab a {
  width: 100%;
  border-bottom: 1px solid #dddddd;
}

li.bm-tab.th-ui-state-active a {
  border-bottom: 1px solid #ff4f4f;
  outline: 0;
}

.bm-tabs-wdt .bm-tab-anchor {
  font-size: 14px;
  padding: 10px 20px;
  line-height: 40px;
  display: inline-block;
  font-weight: bold;
  line-height: 1.3;
  color: #333;
}
.bm-tabs-wdt .bm-tab-anchor:focus {
  outline: none;
}
@media (max-width: 1199px) {
  .bm-tabs-wdt .bm-tab-anchor {
    padding: 10px 15px;
    font-size: 14px;
  }
}
.bm-tabs-wdt #bam-recent,
.bm-tabs-wdt #bam-comments,
.bm-tabs-wdt #bam-tags {
  display: none;
}

.bmw-comment {
  overflow: hidden;
  margin: 0 0 1em;
}

.bmw-comment-author,
.bam_comment_post {
  font-weight: 600;
}

.bmw-comment {
  font-size: 16px;
  font-size: 1rem;
  margin-top: 5px;
}

.bmw_avatar {
  float: left;
  margin: 0 1em 0 0;
}
.bmw_avatar img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.bmw-comm-content {
  overflow: hidden;
}

/* Tags Cloud */
#bam-tags a, .widget_tag_cloud .tagcloud a {
  display: block;
  float: left;
  padding: 4px 10px;
  font-weight: normal;
  background: #ff4f4f;
  color: #ffffff;
  margin: 0 1px 1px 0;
  font-size: 14px;
}

#bam-tags a:hover,
.widget_tag_cloud .tagcloud a:hover {
  background: #222222;
}

.tagcloud {
  overflow: hidden;
  clear: both;
}

.widget_sidebar_posts .widget-title {
  margin-bottom: 25px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Layout
--------------------------------------------------------------*/
body {
  background: #ffffff;
}

body.boxed-layout {
  background: #dddddd;
}
body.boxed-layout #page {
  max-width: 1400px;
  margin: 0 auto;
  background: #ffffff;
}
body.boxed-layout .container {
  width: auto;
  max-width: 94.286%;
}
body.boxed-layout .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.container {
  margin: 0 auto;
  width: 1320px;
  max-width: 94%;
}

.container-fluid {
  padding: 0 20px;
}

@media (min-width: 768px) {
  #primary {
    width: 72%;
    float: left;
    padding-right: 20px;
  }
  #secondary {
    width: 28%;
    float: right;
    padding-left: 20px;
  }
  body.left-sidebar #primary {
    float: right;
    padding-left: 20px;
    padding-right: 0;
  }
  body.left-sidebar #secondary {
    float: left;
    padding-left: 0;
    padding-right: 20px;
  }
}
body.no-sidebar #primary {
  width: 100%;
  float: none;
  padding: 0;
}
body.no-sidebar #secondary {
  display: none;
}

body.center-content #primary {
  width: 80%;
  float: none;
  padding: 0;
  margin: 0 auto;
}
@media (max-width: 768px) {
  body.center-content #primary {
    width: 100%;
  }
}
body.center-content #secondary {
  display: none;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.site-content {
  padding: 40px 0;
}

.single-post .post {
  margin-bottom: 50px;
}

.updated:not(.published) {
  display: none;
}

.bam-show-updated .entry-header .updated:not(.published) {
  display: inline-block;
}

.bam-show-updated .entry-header .published.sm-hu {
  display: none;
}

.page-content,
.entry-content {
  margin: 2em 0 0;
  line-height: 1.7;
  word-wrap: break-word;
  -ms-word-wrap: break-word;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.grid-style .bam-entry.th-col-1 {
  clear: both;
}

.grid-style.th-grid-2 .bam-entry {
  width: 47.8494623656%;
  float: left;
}
.grid-style.th-grid-2 .bam-entry:nth-of-type(2n) {
  margin-left: 4.3010752688%;
  float: right;
}

.grid-style.th-grid-3 {
  margin: 0 -20px;
}
.grid-style.th-grid-3 .bam-entry {
  width: 33.33333%;
  float: left;
  padding: 0 20px;
}

.grid-style.th-grid-4 {
  margin: 0 -20px;
}
.grid-style.th-grid-4 .bam-entry {
  width: 25%;
  float: left;
  padding: 0 20px;
}

.grid-style.th-grid-5 {
  margin: 0 -20px;
}
.grid-style.th-grid-5 .bam-entry {
  width: 20%;
  float: left;
  padding: 0 20px;
}

.grid-style.th-grid-6 {
  margin: 0 -20px;
}
.grid-style.th-grid-6 .bam-entry {
  width: 16.66666%;
  float: left;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .grid-style.th-grid-2 .bam-entry {
    width: 100%;
  }
  .grid-style.th-grid-2 .bam-entry:nth-of-type(2n) {
    margin-left: 0;
  }
  .grid-style.th-grid-3,
  .grid-style.th-grid-4,
  .grid-style.th-grid-5,
  .grid-style.th-grid-6 {
    margin: 0;
  }
  .grid-style.th-grid-3 .bam-entry,
  .grid-style.th-grid-4 .bam-entry,
  .grid-style.th-grid-5 .bam-entry,
  .grid-style.th-grid-6 .bam-entry {
    width: 100%;
    float: none;
    padding: 0;
  }
}
.entry-title {
  word-wrap: break-word;
  -ms-word-wrap: break-word;
}

.bam-entry {
  margin-bottom: 50px;
}
.bam-entry .category-list {
  margin: 0 0 5px;
}
.bam-entry .entry-header {
  margin-bottom: 15px;
}
.bam-entry .entry-title {
  font-size: 25px;
  font-size: 1.5625rem;
  margin: 0 0 10px;
  line-height: 1.2;
}
.bam-entry .entry-title a {
  color: #000000;
}
.bam-entry .entry-title a:hover {
  color: #FF4F4F;
}
.bam-entry .entry-summary {
  margin: 0 0 25px;
}
.bam-entry .entry-summary p {
  margin: 0;
}

.bam-entry.grid-entry .post-thumbnail {
  margin-bottom: 10px;
}

body.separate-containers {
  background-color: #eeeeee;
}
body.separate-containers .blog-entry-inner {
  padding: 25px;
  background: #ffffff;
}

body.boxed-layout.custom-background.separate-containers .site-content,
body.boxed-layout.separate-containers .site-content {
  background-color: #eeeeee;
}

body.separate-containers.single .site-main,
body.separate-containers.page .site-main {
  padding: 25px;
  background: #ffffff;
}

body.separate-containers .bam-entry.grid-entry .post-thumbnail {
  margin: -25px -25px 15px -25px;
}

body.separate-containers.single .post-thumbnail {
  margin: -25px -25px 25px -25px;
}

.related-post-meta,
.entry-meta {
  font-size: 14px;
  font-size: 0.875rem;
  color: #999999;
}
.related-post-meta a,
.entry-meta a {
  color: #999999;
}
.related-post-meta a:hover,
.entry-meta a:hover {
  color: #FF4F4F;
}
.related-post-meta i.far,
.entry-meta i.far {
  margin-right: 6px;
}
.related-post-meta .byline a,
.entry-meta .byline a {
  color: #000000;
}
.related-post-meta .byline a:hover,
.entry-meta .byline a:hover {
  color: #FF4F4F;
}

.cat-links {
  color: #cccccc;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
}
.cat-links a {
  color: #FF4F4F;
}
.cat-links a:hover {
  color: #404040;
}

.byline,
.posted-on,
.comments-link {
  margin-right: 1em;
  display: inline-block;
}

.byline img.author-photo {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 50%;
}

.large-style .bam-entry .entry-title {
  font-size: 32px;
  font-size: 2rem;
}

@media (min-width: 768px) {
  .bam-entry.list-entry .post-thumbnail {
    width: 37.6344086022%;
    float: left;
    margin-right: 3.7634408602%;
    margin-bottom: 0px;
  }
  .bam-entry.list-entry .blog-entry-content {
    overflow: hidden;
  }
}

.bam-entry.large-entry .post-thumbnail {
  margin-bottom: 15px;
}

/**
 * Single Posts.
 */
.single .entry-title {
  color: #000000;
  font-size: 36px;
  font-size: 2.25rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.single .post-thumbnail {
  margin-bottom: 30px;
}
.single .category-list {
  margin: 0 0 8px;
}
.single .entry-header {
  margin-bottom: 30px;
}

.tags-links {
  margin-top: 40px;
}
.tags-links a {
  background: #444444;
  color: #eeeeee;
  display: inline-block;
  font-size: 14px;
  line-height: 25px;
  margin: 0 4px 0 0;
  padding: 0 8px;
  text-transform: uppercase;
}
.tags-links a:hover {
  background: #FF4F4F;
  color: #ffffff;
}

.bam-tags-title {
  font-size: 14px;
  background: #000000;
  display: inline-block;
  color: #ffffff;
  line-height: 25px;
  margin: 0 4px 0 0;
  padding: 0 8px;
  text-transform: uppercase;
}

/* Related Posts */
.bam-related-posts .related-post {
  margin-bottom: 35px;
}
@media (min-width: 768px) {
  .bam-related-posts .related-post {
    width: 33.3333%;
    padding: 0 15px;
    float: left;
  }
  .bam-related-posts .related-post:nth-child(3n+1) {
    clear: both;
  }
}
.bam-related-posts .related-post-title {
  word-wrap: break-word;
  -ms-word-wrap: break-word;
}

@media (min-width: 768px) {
  .related-posts-wrap {
    margin: 0 -15px;
  }
}
.related-section-title {
  color: #000000;
  font-size: 22px;
  font-size: 1.375rem;
  text-transform: uppercase;
  margin: 0 0 35px;
}

.related-post-thumbnail img {
  margin-bottom: 20px;
}

.related-post-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 1.25;
}
.related-post-title a {
  color: #000000;
}
.related-post-title a:hover {
  color: #FF4F4F;
}

/* Author Box */
.bam-authorbox {
  padding: 20px;
  border: 1px solid #dddddd;
  margin: 0 0 50px;
}
.bam-authorbox .author-name {
  font-size: 19px;
  margin: 0 0 25px;
}

.bam-author-img {
  float: left;
  margin-right: 25px;
}

.bam-author-content {
  overflow: hidden;
}

.author-posts-link {
  font-size: 16px;
  font-size: 1rem;
  color: #000000;
}
.author-posts-link:visited {
  color: #000000;
}
.author-posts-link:hover {
  color: #FF4F4F;
}

/* Page Styling */
.page-entry-title {
  margin: 0 0 1em;
}

.page-header {
  margin: 0 0 50px;
}

.page-title {
  margin: 0;
}

.archive .page-title {
  color: #000000;
  font-size: 22px;
  font-size: 1.375rem;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3;
  border-bottom: 1px solid #dddddd;
  margin: 0;
  padding-bottom: 3px;
}

.archive-description {
  margin-top: 15px;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.comment-content p {
  margin-top: 0;
}

.bypostauthor {
  display: block;
}

.comment-list {
  margin: 0 0 1.5em 0;
  list-style: none;
  padding: 0;
}

.says, .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.comment-list + .comment-respond,
.comment-navigation + .comment-respond {
  padding-top: 1.75em;
}

.comments-title,
.comment-reply-title {
  font-size: 23px;
  font-size: 1.4375rem;
  line-height: 1.3125;
  padding-top: 1.304em;
}

.comments-title {
  margin-bottom: 1.304em;
}

.comment-list {
  list-style: none;
  margin: 0;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
  border-top: 1px solid #dddddd;
  padding: 30px 30px 30px 75px;
  position: relative;
}

.comment-list .children {
  list-style: none;
  margin: 0;
}

.comment-list .children > li {
  padding-left: 0.875em;
}

.comment-author {
  color: #1a1a1a;
  margin-bottom: 0.4375em;
  line-height: 1;
  display: inline;
}
.comment-author a {
  color: #FF4F4F;
}
.comment-author a:hover {
  color: #222;
}

.comment-author .avatar {
  height: 50px;
  position: absolute;
  width: 50px;
  left: 0;
  top: 22px;
  border-radius: 50%;
}

.comment-metadata,
.pingback .edit-link {
  color: #888888;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.6153846154;
}

footer.comment-meta {
  margin-bottom: 25px;
}

.comment-metadata {
  margin-left: 5px;
  display: inline-block;
}

.comment-metadata a,
.pingback .comment-edit-link {
  color: #888888;
}

.comment-metadata a:hover,
.comment-metadata a:focus,
.pingback .comment-edit-link:hover,
.pingback .comment-edit-link:focus {
  color: #FF4F4F;
}

.comment-metadata .edit-link,
.pingback .edit-link {
  display: inline-block;
}

.comment-content ul,
.comment-content ol {
  margin: 0 0 1.5em 1.25em;
}

.comment-content li > ul,
.comment-content li > ol {
  margin-bottom: 0;
}

.comment-reply-link {
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  margin-top: 1.25em;
  padding: 0.417em 0.833em;
  font-weight: bold;
  background: #222;
  text-transform: uppercase;
}

.comment-reply-link:hover,
.comment-reply-link:focus {
  background: #FF4F4F;
  color: #fff;
  outline: 0;
}

.comment-form label {
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  letter-spacing: 0.077em;
  line-height: 1.5;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.comment-list .comment-form {
  padding-bottom: 1.75em;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.form-allowed-tags {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5em;
}
.comment-notes a,
.comment-awaiting-moderation a,
.logged-in-as a,
.form-allowed-tags a {
  color: #404040;
}
.comment-notes a:hover,
.comment-awaiting-moderation a:hover,
.logged-in-as a:hover,
.form-allowed-tags a:hover {
  color: #FF4F4F;
}

.no-comments {
  border-top: 1px solid #dddddd;
  font-weight: 700;
  margin: 0;
  padding-top: 1.75em;
}

.comment-navigation + .no-comments {
  border-top: 0;
  padding-top: 0;
}

.form-allowed-tags code {
  font-family: Inconsolata, monospace;
}

.comment-respond .form-submit {
  margin-bottom: 2em;
}

.required {
  color: #FF4F4F;
}

.comment-reply-title {
  border-top: 1px solid #ddd;
}

.comment-reply-title small {
  font-size: 100%;
}

.comment-reply-title small a {
  border: 0;
  float: right;
  font-size: 0;
}

.comment-reply-title small a:hover,
.comment-reply-title small a:focus {
  color: #1a1a1a;
}

.comment-reply-title small a:before {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 20px;
  position: relative;
  top: -5px;
  color: #FF4F4F;
}

.comment-form .comment-form-cookies-consent label {
  display: inline;
  margin-left: 1em;
}

@media (max-width: 480px) {
  .comment-form input[type=text],
  .comment-form input[type=email],
  .comment-form input[type=url] {
    width: 100%;
  }
}
/*--------------------------------------------------------------
# Blocks
--------------------------------------------------------------*/
.wp-block-quote {
  border-left: 4px solid #FF4F4F;
  margin: 30px 0;
  padding-left: 1em;
}
.wp-block-quote p {
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: 0;
}
.wp-block-quote cite {
  margin-top: 10px;
}

.wp-block-quote[style*="text-align:right"], .wp-block-quote[style*="text-align: right"] {
  border-right: 4px solid #FF4F4F;
}

.wp-block-pullquote blockquote {
  border: none;
}
.wp-block-pullquote cite {
  margin-top: 1.5em;
  display: inline-block;
}

ul.wp-block-gallery {
  margin: 0 0 30px 0;
}

.is-style-bam-widget-title {
  color: #000000;
  font-size: 21px;
  font-size: 1.3125rem;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3;
  border-bottom: 1px solid #dddddd;
  margin: 0 0 15px;
  padding-bottom: 3px;
}

.wp-block-search__label.screen-reader-text {
  position: absolute;
  top: -9999em;
  left: -9999em;
}

.wp-block-search .wp-block-search__input {
  margin: 0;
  height: 45px;
  padding: 10px;
  box-sizing: border-box;
  -webkit-appearance: none;
  border-radius: 3px;
  color: #666;
  border: 1px solid #dddddd;
}

.wp-block-search .wp-block-search__button {
  height: 45px;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  margin-left: 0;
  border-radius: 3px;
  background: #FF4F4F;
  color: #ffffff;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}
.wp-block-search .wp-block-search__button:hover {
  background: #222;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

.bam-jetpack-infinite.grid-style {
  display: flex;
  flex-wrap: wrap;
}

div#infinite-handle {
  text-align: center;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-info {
  background: #000000;
  color: #dddddd;
  font-size: 16px;
  font-size: 1rem;
  padding: 20px 0;
}
.site-info a {
  color: #eeeeee;
}
.site-info a:hover {
  color: #FF4F4F;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

.entry-content .fitvids-video {
  margin-bottom: 1.6em;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-columns-2 .gallery-item {
  max-width: 50%;
}
.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
  max-width: 25%;
}
.gallery-columns-5 .gallery-item {
  max-width: 20%;
}
.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/* ==========================================================
   Liberalis 2.0 — editorial front page
   Scoped to the home page so the archive remains untouched.
   ========================================================== */

:root {
  --lib-ink: #11110f;
  --lib-paper: #f3efe4;
  --lib-paper-deep: #e8e1d2;
  --lib-accent: #d8ff3e;
  --lib-white: #fffdf7;
  --lib-muted: #625f57;
  --lib-line: rgba(17, 17, 15, 0.28);
  --lib-display: "Fraunces", Georgia, serif;
  --lib-sans: "IBM Plex Sans", sans-serif;
}

body.home {
  background: var(--lib-paper);
  color: var(--lib-ink);
  font-family: var(--lib-sans);
}

.home #page,
.home .site-content {
  background: var(--lib-paper);
}

.home .site-content {
  padding: 0 !important;
}

.home .site-content > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.home #masthead {
  background: var(--lib-paper);
  border-bottom: 1px solid var(--lib-ink);
}

.home #site-header-inner {
  display: flex;
  align-items: center;
  min-height: 98px;
  max-width: 1280px;
  padding: 18px 28px;
}

.home .site-logo-image { display: block; }

.home .site-branding,
.home .site-branding-inner,
.home .site-branding-text {
  display: block;
  float: none;
  width: auto;
}

.home .site-title {
  margin: 0;
  font-family: var(--lib-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.home .site-title a {
  color: var(--lib-ink);
}

.home .site-description {
  display: block;
  margin: 7px 0 0;
  color: var(--lib-muted);
  font-family: var(--lib-sans);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home .main-navigation {
  background: var(--lib-paper);
  border-bottom: 1px solid var(--lib-ink);
}

.home #site-navigation-inner {
  max-width: 1280px;
  padding: 0 28px;
}

.home .main-navigation ul.menu > li > a {
  padding: 17px 18px;
  color: var(--lib-ink);
  font-family: var(--lib-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home .main-navigation ul.menu > li:first-child > a {
  padding-left: 0;
}

.home .main-navigation ul.menu > li.current-menu-item > a,
.home .main-navigation ul.menu > li > a:hover {
  color: var(--lib-ink);
  text-decoration: underline;
  text-decoration-color: var(--lib-accent);
  text-decoration-thickness: 0.35em;
  text-underline-offset: -0.12em;
  text-decoration-skip-ink: none;
}

.home .bam-search-button-icon {
  color: var(--lib-ink);
}

.liberalis-home,
.liberalis-home * {
  box-sizing: border-box;
}

.liberalis-home {
  width: 100%;
  overflow: hidden;
}

.liberalis-shell {
  width: min(1280px, calc(100% - 56px));
  margin-inline: auto;
}

.liberalis-hero {
  position: relative;
  border-bottom: 1px solid var(--lib-ink);
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(17, 17, 15, 0.08) 50%, transparent calc(50% + 0.5px)),
    var(--lib-paper);
}

.liberalis-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 17, 15, 0.12) 0.65px, transparent 0.65px);
  background-size: 7px 7px;
  content: "";
  opacity: 0.26;
  pointer-events: none;
}

.liberalis-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  min-height: 680px;
  padding-block: clamp(76px, 9vw, 132px);
}

.liberalis-hero-copy {
  max-width: 800px;
  animation: liberalis-rise 700ms cubic-bezier(.2,.8,.2,1) both;
}

.liberalis-kicker,
.liberalis-section-number {
  margin: 0 0 24px;
  font-family: var(--lib-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.liberalis-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
}

.liberalis-kicker span {
  width: 38px;
  height: 4px;
  background: var(--lib-accent);
  border: 1px solid var(--lib-ink);
}

.liberalis-hero h1,
.liberalis-section h2,
.liberalis-manifesto h2 {
  color: var(--lib-ink);
  font-family: var(--lib-display);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.liberalis-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(4rem, 7.7vw, 7.85rem);
  line-height: 0.84;
}

.liberalis-hero h1 em,
.liberalis-product-heading h2 em,
.liberalis-manifesto h2 em {
  position: relative;
  z-index: 0;
  font-style: italic;
}

.liberalis-hero h1 em::after,
.liberalis-manifesto h2 em::after {
  position: absolute;
  z-index: -1;
  right: -0.02em;
  bottom: 0.07em;
  left: -0.03em;
  height: 0.2em;
  background: var(--lib-accent);
  content: "";
  transform: rotate(-1deg);
}

.liberalis-hero-lead {
  max-width: 660px;
  margin: 38px 0 0;
  color: #34332f;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.liberalis-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.liberalis-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--lib-ink);
  font-family: var(--lib-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.liberalis-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--lib-ink);
}

.liberalis-button-primary {
  background: var(--lib-ink);
  color: var(--lib-white) !important;
}

.liberalis-button-ghost {
  background: transparent;
  color: var(--lib-ink) !important;
}

.liberalis-archive-stat {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 52px;
}

.liberalis-archive-stat strong {
  font-family: var(--lib-display);
  font-size: 2.15rem;
  line-height: 1;
}

.liberalis-archive-stat span {
  padding-left: 16px;
  border-left: 1px solid var(--lib-ink);
  color: var(--lib-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.liberalis-check-teaser {
  position: relative;
  display: block;
  padding: clamp(28px, 3.8vw, 48px);
  overflow: hidden;
  border: 1px solid var(--lib-ink);
  background: var(--lib-ink);
  box-shadow: 16px 16px 0 var(--lib-accent);
  color: var(--lib-white) !important;
  text-decoration: none !important;
  transform: rotate(1.25deg);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease;
  animation: liberalis-rise 700ms 140ms cubic-bezier(.2,.8,.2,1) both;
}

.liberalis-check-teaser::after {
  position: absolute;
  width: 230px;
  height: 230px;
  right: -130px;
  bottom: -140px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.05), 0 0 0 68px rgba(255, 255, 255, 0.04);
  content: "";
}

.liberalis-check-teaser:hover {
  color: var(--lib-white);
  box-shadow: 8px 8px 0 var(--lib-accent);
  transform: rotate(0deg) translate(4px, 4px);
}

.liberalis-check-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--lib-accent);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.liberalis-check-mark {
  margin-top: 46px;
  color: var(--lib-accent);
  font-family: var(--lib-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.liberalis-check-teaser h2 {
  margin: 26px 0 20px;
  color: var(--lib-white);
  font-family: var(--lib-display);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.liberalis-check-teaser p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.55;
}

.liberalis-check-bars {
  display: grid;
  gap: 7px;
  margin: 34px 0;
}

.liberalis-check-bars span {
  display: block;
  width: var(--score);
  height: 7px;
  background: var(--lib-accent);
  transform-origin: left;
  animation: liberalis-grow 900ms 500ms cubic-bezier(.2,.8,.2,1) both;
}

.liberalis-text-link {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.liberalis-section {
  padding-block: clamp(80px, 10vw, 140px);
  border-bottom: 1px solid var(--lib-ink);
}

.liberalis-section-header {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 54px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--lib-ink);
}

.liberalis-section-number {
  margin-bottom: 14px;
  color: var(--lib-muted);
}

.liberalis-section h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.3rem);
  line-height: 0.9;
}

.liberalis-inline-link {
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--lib-ink);
  color: var(--lib-ink) !important;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.liberalis-inline-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.liberalis-inline-link:hover span {
  transform: translateX(5px);
}

.liberalis-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(38px, 6vw, 84px);
}

.liberalis-feature-story {
  margin: 0;
}

.liberalis-story-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--lib-ink);
  background:
    linear-gradient(135deg, transparent 48.8%, var(--lib-ink) 49%, var(--lib-ink) 51%, transparent 51.2%),
    var(--lib-accent);
}

.liberalis-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 300ms ease, transform 500ms cubic-bezier(.2,.8,.2,1);
}

.liberalis-story-visual:hover img {
  filter: grayscale(0%);
  transform: scale(1.025);
}

.liberalis-story-monogram {
  font-family: var(--lib-display);
  font-size: clamp(7rem, 16vw, 13rem);
  font-weight: 900;
  line-height: 1;
}

.liberalis-story-copy {
  padding-top: 30px;
}

.liberalis-story-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 16px;
  color: var(--lib-muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.liberalis-story-meta span {
  color: var(--lib-ink);
}

.liberalis-story-copy h3 {
  max-width: 820px;
  margin: 0;
  font-family: var(--lib-display);
  font-size: clamp(2.15rem, 3.7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.liberalis-story-copy h3 a,
.liberalis-story-row h3 a {
  color: var(--lib-ink);
  text-decoration: none;
}

.liberalis-story-copy h3 a:hover,
.liberalis-story-row h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--lib-accent);
  text-decoration-thickness: 0.22em;
  text-underline-offset: -0.08em;
  text-decoration-skip-ink: none;
}

.liberalis-story-excerpt {
  max-width: 680px;
  margin-top: 22px;
  color: var(--lib-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.liberalis-read-more {
  display: inline-block;
  margin-top: 22px;
  color: var(--lib-ink) !important;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.liberalis-read-more span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.liberalis-read-more:hover span {
  transform: translateX(6px);
}

.liberalis-story-list {
  border-top: 1px solid var(--lib-ink);
}

.liberalis-story-row {
  position: relative;
  min-height: 126px;
  margin: 0;
  padding: 22px 54px 22px 0;
  border-bottom: 1px solid var(--lib-ink);
}

.liberalis-story-row h3 {
  margin: 0;
  font-family: var(--lib-display);
  font-size: clamp(1.25rem, 1.65vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.liberalis-row-arrow {
  position: absolute;
  right: 3px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--lib-ink);
  border-radius: 50%;
  color: var(--lib-ink) !important;
  text-decoration: none !important;
  transition: background 180ms ease, transform 180ms ease;
}

.liberalis-row-arrow:hover {
  background: var(--lib-accent);
  transform: rotate(12deg);
}

.liberalis-topics {
  background: var(--lib-paper-deep);
}

.liberalis-section-note {
  max-width: 300px;
  margin: 0;
  color: var(--lib-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: right;
}

.liberalis-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--lib-ink);
  border-left: 1px solid var(--lib-ink);
}

.liberalis-topic-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--lib-ink);
  border-bottom: 1px solid var(--lib-ink);
  color: var(--lib-ink) !important;
  text-decoration: none !important;
  transition: background 180ms ease;
}

.liberalis-topic-card:hover {
  background: var(--lib-accent);
}

.liberalis-topic-index {
  color: var(--lib-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.liberalis-topic-card strong {
  margin-top: auto;
  padding: 32px 42px 5px 0;
  font-family: var(--lib-display);
  font-size: clamp(1.55rem, 2.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.liberalis-topic-card > span:last-of-type {
  color: var(--lib-muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.liberalis-topic-card b {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 1.2rem;
}

.liberalis-product {
  background: var(--lib-accent);
}

.liberalis-product-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 9vw, 140px);
}

.liberalis-product-heading h2 {
  font-size: clamp(4.5rem, 8vw, 8.5rem);
  line-height: 0.78;
}

.liberalis-product-status {
  display: inline-block;
  margin: 36px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--lib-ink);
  background: var(--lib-paper);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.liberalis-product-lead {
  max-width: 770px;
  margin: 0;
  font-family: var(--lib-display);
  font-size: clamp(1.8rem, 3.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.liberalis-metric-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--lib-ink);
  border-left: 1px solid var(--lib-ink);
}

.liberalis-metric-list span {
  position: relative;
  padding: 18px 18px 18px 46px;
  border-right: 1px solid var(--lib-ink);
  border-bottom: 1px solid var(--lib-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.liberalis-metric-list span::before {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 11px;
  height: 11px;
  background: var(--lib-ink);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.liberalis-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--lib-ink);
}

.liberalis-offer-grid > div {
  padding: 26px 24px 4px 0;
}

.liberalis-offer-grid > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--lib-ink);
}

.liberalis-offer-grid small {
  display: block;
  min-height: 32px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.liberalis-offer-grid strong {
  display: block;
  margin-top: 18px;
  font-family: var(--lib-display);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.liberalis-offer-grid p {
  margin: 15px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.liberalis-manifesto {
  padding-block: clamp(96px, 13vw, 180px);
  background: var(--lib-ink);
  color: var(--lib-white);
  text-align: center;
}

.liberalis-manifesto p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.liberalis-manifesto h2 {
  margin: 0;
  color: var(--lib-white);
  font-size: clamp(4.2rem, 9.5vw, 10rem);
  line-height: 0.78;
}

.liberalis-button-invert {
  margin-top: 56px;
  border-color: var(--lib-white);
  background: var(--lib-white);
  color: var(--lib-ink) !important;
}

.liberalis-button-invert:hover {
  box-shadow: 5px 5px 0 var(--lib-accent);
}

.home #colophon {
  border-top: 0;
  background: var(--lib-ink);
  color: rgba(255, 255, 255, 0.7);
}

.home #colophon a {
  color: var(--lib-white);
}

@keyframes liberalis-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes liberalis-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .liberalis-hero-grid,
  .liberalis-editorial-grid,
  .liberalis-product-grid {
    grid-template-columns: 1fr;
  }

  .liberalis-hero-grid {
    min-height: 0;
  }

  .liberalis-check-teaser {
    max-width: 620px;
    transform: none;
  }

  .liberalis-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .liberalis-offer-grid {
    grid-template-columns: 1fr;
  }

  .liberalis-offer-grid > div,
  .liberalis-offer-grid > div + div {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--lib-ink);
  }
}

@media (max-width: 767px) {
  .home #site-header-inner,
  .home #site-navigation-inner {
    padding-inline: 20px;
  }

  .home #site-header-inner {
    min-height: 82px;
  }

  .home .site-title {
    font-size: 2.25rem;
  }

  .home .site-description {
    max-width: 270px;
    font-size: 0.61rem;
  }

  .home .main-navigation {
    min-height: 50px;
  }

  .home .menu-toggle {
    min-height: 50px;
    padding-left: 0;
    color: var(--lib-ink);
    font-family: var(--lib-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .liberalis-shell {
    width: min(100% - 36px, 1280px);
  }

  .liberalis-hero-grid {
    gap: 58px;
    padding-block: 62px 78px;
  }

  .liberalis-hero h1 {
    font-size: clamp(3.45rem, 17vw, 5.5rem);
  }

  .liberalis-hero-lead {
    margin-top: 28px;
    font-size: 1rem;
  }

  .liberalis-hero-actions {
    display: grid;
  }

  .liberalis-button {
    width: 100%;
  }

  .liberalis-check-teaser {
    margin-right: 8px;
    padding: 28px;
    box-shadow: 8px 8px 0 var(--lib-accent);
  }

  .liberalis-section {
    padding-block: 78px;
  }

  .liberalis-section-header {
    display: block;
    margin-bottom: 36px;
  }

  .liberalis-inline-link,
  .liberalis-section-note {
    display: inline-block;
    margin-top: 24px;
    text-align: left;
  }

  .liberalis-section h2 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .liberalis-story-copy h3 {
    font-size: 2.25rem;
  }

  .liberalis-topic-grid,
  .liberalis-metric-list {
    grid-template-columns: 1fr;
  }

  .liberalis-topic-card {
    min-height: 150px;
  }

  .liberalis-product-heading h2 {
    font-size: clamp(4.4rem, 23vw, 7rem);
  }

  .liberalis-product-lead {
    font-size: 1.75rem;
  }

  .liberalis-manifesto h2 {
    font-size: clamp(4rem, 20vw, 7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .liberalis-home *,
  .liberalis-home *::before,
  .liberalis-home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   Liberalis 3.0 — shared editorial system
   ========================================================= */

body {
	background: var(--lib-paper, #f3efe4);
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-sans, "IBM Plex Sans", sans-serif);
}

.site {
	background: var(--lib-paper, #f3efe4);
}

.site-header {
	background: var(--lib-paper, #f3efe4);
	border-bottom: 0;
}

#site-header-inner {
	padding-top: 24px;
	padding-bottom: 22px;
}

#site-header-inner .site-branding {
	float: none;
}

#site-header-inner .site-branding-inner {
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-logo-image,
.home .site-logo-image {
	display: block;
	flex: 0 0 58px;
	width: 58px;
	margin: 0;
}

.site-logo-image .liberalis-logo-link,
.site-logo-image img,
.site-logo-image .liberalis-brand-mark {
	display: block;
	width: 58px;
	height: 58px;
	margin: 0;
}

.site-logo-image img,
.site-logo-image .liberalis-brand-mark {
	object-fit: contain;
}

#site-header-inner .site-branding-text {
	display: block;
	min-width: 0;
}

#site-header-inner .site-title,
#site-header-inner .site-title a {
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(2.1rem, 4vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -0.055em;
	line-height: 0.88;
	text-decoration: none;
}

#site-header-inner .site-description {
	max-width: 36rem;
	margin: 8px 0 0;
	color: #4d4b44;
	font-family: var(--lib-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.35;
	text-transform: uppercase;
}

.main-navigation {
	background: var(--lib-ink, #11110f);
	border-top: 1px solid var(--lib-ink, #11110f);
	border-bottom: 1px solid var(--lib-ink, #11110f);
}

.main-navigation a,
.main-navigation .menu-toggle,
.main-navigation .search-icon {
	font-family: var(--lib-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.main-navigation a {
	color: var(--lib-paper, #f3efe4);
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background: var(--lib-accent, #d8ff3e);
	color: var(--lib-ink, #11110f);
}

.site-content {
	background: var(--lib-paper, #f3efe4);
}

.liberalis-reading-page {
	float: none;
	width: 100%;
	margin: 0;
}

.liberalis-reading-page .site-main {
	margin: 0;
}

.liberalis-reading-shell {
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(68px, 8vw, 118px) 0 clamp(88px, 10vw, 148px);
}

.liberalis-page-entry,
.liberalis-article {
	margin: 0;
}

.liberalis-page-entry > .entry-header,
.liberalis-article > .entry-header {
	max-width: 970px;
	margin: 0 0 clamp(38px, 6vw, 72px);
	padding-bottom: clamp(30px, 4vw, 48px);
	border-bottom: 1px solid var(--lib-ink, #11110f);
}

.liberalis-entry-kicker,
.liberalis-article .category-list,
body.archive .page-header::before,
body.search .page-header::before {
	display: block;
	margin: 0 0 20px;
	color: #555249;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.liberalis-article .category-list a {
	color: var(--lib-ink, #11110f);
	text-decoration-color: var(--lib-accent, #d8ff3e);
	text-decoration-thickness: 4px;
	text-underline-offset: 3px;
}

.liberalis-page-entry .entry-title,
.liberalis-article .entry-title,
body.archive .page-title,
body.search .page-title {
	max-width: 930px;
	margin: 0;
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(3.15rem, 7vw, 6.7rem);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 0.94;
	overflow-wrap: anywhere;
}

.liberalis-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 42px;
	margin-top: 34px;
	color: #373630;
	font-size: 0.84rem;
}

.liberalis-article-meta > span {
	display: grid;
	gap: 4px;
}

.liberalis-meta-label {
	color: #68645b;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.liberalis-article-meta a {
	color: inherit;
	font-weight: 700;
	text-decoration-color: var(--lib-accent, #d8ff3e);
	text-decoration-thickness: 3px;
	text-underline-offset: 3px;
}

.liberalis-entry-image {
	max-width: 970px;
	margin: 0 0 clamp(48px, 7vw, 82px);
}

.liberalis-entry-image .post-thumbnail {
	margin: 0;
}

.liberalis-entry-image img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--lib-ink, #11110f);
}

.liberalis-page-entry .entry-content,
.liberalis-article .entry-content {
	max-width: 780px;
	margin: 0 auto;
	color: #25241f;
	font-family: var(--lib-sans, "IBM Plex Sans", sans-serif);
	font-size: clamp(1.06rem, 1.7vw, 1.2rem);
	line-height: 1.82;
}

.liberalis-page-entry .entry-content > *:first-child,
.liberalis-article .entry-content > *:first-child {
	margin-top: 0;
}

.liberalis-page-entry .entry-content p,
.liberalis-article .entry-content p {
	margin: 0 0 1.55em;
}

.liberalis-page-entry .entry-content h2,
.liberalis-article .entry-content h2,
.liberalis-page-entry .entry-content h3,
.liberalis-article .entry-content h3 {
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.04;
}

.liberalis-page-entry .entry-content h2,
.liberalis-article .entry-content h2 {
	margin: 1.65em 0 0.55em;
	font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.liberalis-page-entry .entry-content h3,
.liberalis-article .entry-content h3 {
	margin: 1.55em 0 0.5em;
	font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.liberalis-page-entry .entry-content a,
.liberalis-article .entry-content a {
	color: var(--lib-ink, #11110f);
	text-decoration-color: var(--lib-accent, #d8ff3e);
	text-decoration-thickness: 4px;
	text-underline-offset: 3px;
}

.liberalis-page-entry .entry-content blockquote,
.liberalis-article .entry-content blockquote {
	margin: 2.2em 0;
	padding: 0.25em 0 0.25em clamp(22px, 4vw, 42px);
	border-left: 10px solid var(--lib-accent, #d8ff3e);
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(1.45rem, 3vw, 2.25rem);
	font-style: normal;
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.liberalis-page-entry .entry-content img,
.liberalis-article .entry-content img {
	height: auto;
}

.liberalis-page-entry .entry-content table,
.liberalis-article .entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.94rem;
}

.liberalis-page-entry .entry-content th,
.liberalis-article .entry-content th,
.liberalis-page-entry .entry-content td,
.liberalis-article .entry-content td {
	padding: 12px 14px;
	border: 1px solid #bdb7a9;
	text-align: left;
}

.liberalis-page-entry .entry-content th,
.liberalis-article .entry-content th {
	background: var(--lib-ink, #11110f);
	color: var(--lib-paper, #f3efe4);
}

.liberalis-article > .entry-footer,
.liberalis-page-entry > .entry-footer {
	max-width: 780px;
	margin: 52px auto 0;
	padding-top: 22px;
	border-top: 1px solid #aaa496;
}

.liberalis-reading-page .post-navigation,
.liberalis-reading-page .bam-authorbox,
.liberalis-reading-page .bam-related-posts,
.liberalis-reading-page .comments-area {
	max-width: 780px;
	margin-right: auto;
	margin-left: auto;
}

.liberalis-reading-page .post-navigation {
	margin-top: 82px;
	padding-top: 28px;
	border-top: 1px solid var(--lib-ink, #11110f);
}

.liberalis-reading-page .post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.liberalis-reading-page .post-navigation a {
	display: block;
	color: var(--lib-ink, #11110f);
	text-decoration: none;
}

.liberalis-reading-page .post-navigation .meta-nav {
	color: #68645b;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.liberalis-reading-page .post-navigation .post-title {
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: 1.35rem;
	font-weight: 750;
	line-height: 1.15;
}

.liberalis-reading-page .post-navigation a:hover .post-title,
.liberalis-reading-page .post-navigation a:focus .post-title {
	box-shadow: inset 0 -0.32em var(--lib-accent, #d8ff3e);
}

.liberalis-reading-page .bam-authorbox,
.liberalis-reading-page .bam-related-posts,
.liberalis-reading-page .comments-area {
	margin-top: 72px;
	padding: 30px;
	border: 1px solid var(--lib-ink, #11110f);
	background: rgba(255, 255, 255, 0.22);
}

.liberalis-reading-page .bam-authorbox .author-name,
.liberalis-reading-page .bam-related-posts .related-section-title,
.liberalis-reading-page .comments-title,
.liberalis-reading-page .comment-reply-title {
	margin-top: 0;
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.liberalis-reading-page .bam-authorbox .author-posts-link,
.liberalis-reading-page .bam-related-posts a {
	color: var(--lib-ink, #11110f);
}

.liberalis-reading-page .related-posts-wrap {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.liberalis-reading-page .related-post {
	float: none;
	width: auto;
	margin: 0;
}

.liberalis-reading-page .related-post-title {
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	line-height: 1.1;
}

body.archive #primary,
body.search #primary,
body.blog #primary {
	float: none;
	width: 100%;
}

body.archive #secondary,
body.search #secondary,
body.blog #secondary {
	display: none;
}

body.archive .site-main,
body.search .site-main,
body.blog .site-main {
	padding: clamp(62px, 8vw, 110px) 0;
}

body.archive .page-header,
body.search .page-header {
	max-width: 970px;
	margin: 0 0 58px;
	padding-bottom: 38px;
	border-bottom: 1px solid var(--lib-ink, #11110f);
}

body.archive .page-header::before {
	content: "Liberalis / Archiwum";
}

body.search .page-header::before {
	content: "Liberalis / Wyszukiwanie";
}

body.archive #blog-entries,
body.search #blog-entries,
body.blog #blog-entries {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--lib-ink, #11110f);
	border: 1px solid var(--lib-ink, #11110f);
}

body.archive #blog-entries > article,
body.search #blog-entries > article,
body.blog #blog-entries > article {
	float: none;
	width: auto;
	margin: 0;
	padding: clamp(24px, 4vw, 42px);
	background: var(--lib-paper, #f3efe4);
}

body.archive #blog-entries .post-thumbnail,
body.search #blog-entries .post-thumbnail,
body.blog #blog-entries .post-thumbnail {
	margin: 0 0 26px;
}

body.archive #blog-entries .entry-title,
body.search #blog-entries .entry-title,
body.blog #blog-entries .entry-title {
	margin: 8px 0 14px;
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(1.7rem, 3vw, 2.65rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.04;
}

body.archive #blog-entries .entry-title a,
body.search #blog-entries .entry-title a,
body.blog #blog-entries .entry-title a {
	color: var(--lib-ink, #11110f);
	text-decoration: none;
}

body.archive #blog-entries .entry-title a:hover,
body.search #blog-entries .entry-title a:hover,
body.blog #blog-entries .entry-title a:hover {
	box-shadow: inset 0 -0.28em var(--lib-accent, #d8ff3e);
}

body.archive #blog-entries .entry-summary,
body.search #blog-entries .entry-summary,
body.blog #blog-entries .entry-summary {
	color: #4c4941;
	font-size: 0.96rem;
	line-height: 1.62;
}

.site-footer {
	background: var(--lib-ink, #11110f);
	color: var(--lib-paper, #f3efe4);
	border-top: 8px solid var(--lib-accent, #d8ff3e);
}

.site-footer a,
.site-footer .site-info a {
	color: var(--lib-paper, #f3efe4);
	text-decoration-color: var(--lib-accent, #d8ff3e);
}

.site-footer .site-info {
	background: transparent;
	border-top: 1px solid rgba(243, 239, 228, 0.25);
	color: #cbc6ba;
	font-size: 0.76rem;
	letter-spacing: 0.04em;
}

@media (max-width: 860px) {
	#site-header-inner .site-branding-inner {
		gap: 14px;
	}

	.site-logo-image,
	.home .site-logo-image,
	.site-logo-image .liberalis-logo-link,
	.site-logo-image img,
	.site-logo-image .liberalis-brand-mark {
		width: 48px;
		height: 48px;
	}

	.site-logo-image,
	.home .site-logo-image {
		flex-basis: 48px;
	}

	#site-header-inner .site-description {
		font-size: 0.64rem;
	}

	.liberalis-reading-shell {
		padding-top: 54px;
	}

	.liberalis-reading-page .post-navigation .nav-links,
	.liberalis-reading-page .related-posts-wrap,
	body.archive #blog-entries,
	body.search #blog-entries,
	body.blog #blog-entries {
		grid-template-columns: 1fr;
	}

	.liberalis-reading-page .bam-authorbox,
	.liberalis-reading-page .bam-related-posts,
	.liberalis-reading-page .comments-area {
		padding: 22px;
	}
}

@media (max-width: 520px) {
	#site-header-inner {
		padding-top: 18px;
		padding-bottom: 17px;
	}

	#site-header-inner .site-description {
		display: none;
	}

	.liberalis-reading-shell {
		padding-top: 42px;
		padding-bottom: 78px;
	}

	.liberalis-page-entry .entry-title,
	.liberalis-article .entry-title,
	body.archive .page-title,
	body.search .page-title {
		font-size: clamp(2.55rem, 15vw, 4rem);
	}

	.liberalis-article-meta {
		display: grid;
		gap: 14px;
		margin-top: 26px;
	}

	.liberalis-page-entry .entry-content,
	.liberalis-article .entry-content {
		font-size: 1.02rem;
		line-height: 1.76;
	}

	.liberalis-page-entry .entry-content blockquote,
	.liberalis-article .entry-content blockquote {
		border-left-width: 7px;
	}
}


/* Liberalis footer line */
.site-footer .liberalis-footer-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	padding: 24px 0;
}

.site-footer .liberalis-footer-brand {
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-decoration: none;
}

.site-footer .liberalis-footer-year {
	margin-left: auto;
}

.liberalis-reading-page .liberalis-author-label {
	margin: 0 0 6px;
	color: #68645b;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (max-width: 520px) {
	.site-footer .liberalis-footer-line {
		display: grid;
	}

	.site-footer .liberalis-footer-year {
		margin-left: 0;
	}
}


/* Liberalis reader submission form */
.liberalis-submit {
	background: var(--lib-paper-deep, #e7e0d2);
}

.liberalis-submit-header h2 em {
	font-style: italic;
	font-weight: 600;
}

.liberalis-submit-grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
	gap: clamp(46px, 8vw, 118px);
	align-items: start;
}

.liberalis-submit-copy {
	position: sticky;
	top: 32px;
}

.liberalis-submit-lead {
	margin: 0;
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(1.75rem, 3vw, 2.8rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.liberalis-submit-copy ul {
	margin: 42px 0 0;
	padding: 0;
	border-top: 1px solid var(--lib-ink, #11110f);
	list-style: none;
}

.liberalis-submit-copy li {
	position: relative;
	margin: 0;
	padding: 17px 0 17px 30px;
	border-bottom: 1px solid var(--lib-ink, #11110f);
	font-size: 0.87rem;
	line-height: 1.55;
}

.liberalis-submit-copy li::before {
	position: absolute;
	top: 18px;
	left: 2px;
	color: var(--lib-ink, #11110f);
	content: "→";
	font-weight: 700;
}

.liberalis-submit-privacy {
	margin: 26px 0 0;
	color: var(--lib-muted, #5f5b52);
	font-size: 0.76rem;
	line-height: 1.55;
}

.liberalis-submit-form-wrap {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--lib-ink, #11110f);
	background: rgba(255, 255, 255, 0.26);
	box-shadow: 12px 12px 0 var(--lib-accent, #d8ff3e);
}

.liberalis-submit-form {
	display: grid;
	gap: 24px;
	margin: 0;
}

.liberalis-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.liberalis-submit-form label {
	display: grid;
	gap: 9px;
	margin: 0;
}

.liberalis-submit-form label > span {
	color: var(--lib-ink, #11110f);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.35;
	text-transform: uppercase;
}

.liberalis-submit-form label > span b,
.liberalis-required-note b {
	color: #9b241f;
}

.liberalis-submit-form input[type="text"],
.liberalis-submit-form input[type="email"],
.liberalis-submit-form input[type="url"],
.liberalis-submit-form input[type="file"],
.liberalis-submit-form textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border: 1px solid var(--lib-ink, #11110f);
	border-radius: 0;
	background: var(--lib-paper, #f3efe4);
	box-shadow: none;
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-sans, "IBM Plex Sans", sans-serif);
	font-size: 1rem;
	line-height: 1.55;
}

.liberalis-submit-form input[type="text"],
.liberalis-submit-form input[type="email"],
.liberalis-submit-form input[type="url"] {
	min-height: 50px;
	padding: 11px 13px;
}

.liberalis-submit-form textarea {
	min-height: 126px;
	padding: 13px;
	resize: vertical;
}

.liberalis-submit-form textarea[name="tekst"] {
	min-height: 290px;
}

.liberalis-submit-form input:focus,
.liberalis-submit-form textarea:focus {
	outline: 4px solid var(--lib-accent, #d8ff3e);
	outline-offset: 0;
}

.liberalis-submit-form small {
	color: var(--lib-muted, #5f5b52);
	font-size: 0.72rem;
	line-height: 1.45;
}

.liberalis-file-field input[type="file"] {
	padding: 7px;
	font-size: 0.82rem;
}

.liberalis-file-field input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 9px 12px;
	border: 1px solid var(--lib-ink, #11110f);
	border-radius: 0;
	background: var(--lib-ink, #11110f);
	color: var(--lib-paper, #f3efe4);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.liberalis-consent {
	display: flex !important;
	grid-template-columns: none;
	gap: 12px !important;
	align-items: flex-start;
	padding: 17px;
	border: 1px solid var(--lib-ink, #11110f);
	background: rgba(216, 255, 62, 0.22);
}

.liberalis-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--lib-ink, #11110f);
}

.liberalis-consent span {
	font-size: 0.78rem !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	line-height: 1.55 !important;
	text-transform: none !important;
}

.liberalis-submit-form .liberalis-button {
	justify-self: start;
	margin-top: 4px;
}

.liberalis-submit-form .liberalis-button span {
	margin-left: 8px;
}

.liberalis-required-note {
	margin: -8px 0 0;
	color: var(--lib-muted, #5f5b52);
	font-size: 0.69rem;
	line-height: 1.45;
}

.liberalis-form-notice {
	margin: 0 0 28px;
	padding: 16px 18px;
	border: 1px solid var(--lib-ink, #11110f);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.5;
}

.liberalis-form-notice-success {
	background: var(--lib-accent, #d8ff3e);
}

.liberalis-form-notice-error {
	border-color: #9b241f;
	background: #f6d8d2;
	color: #661713;
}

.liberalis-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 980px) {
	.liberalis-submit-grid {
		grid-template-columns: 1fr;
	}

	.liberalis-submit-copy {
		position: static;
	}

	.liberalis-submit-copy ul {
		max-width: 720px;
	}
}

@media (max-width: 640px) {
	.liberalis-form-row {
		grid-template-columns: 1fr;
	}

	.liberalis-submit-form-wrap {
		padding: 22px;
		box-shadow: 7px 7px 0 var(--lib-accent, #d8ff3e);
	}

	.liberalis-submit-form textarea[name="tekst"] {
		min-height: 230px;
	}
}


/* Liberalis affiliate links */
.liberalis-affiliates {
	background: var(--lib-paper, #f3efe4);
	border-top: 1px solid var(--lib-ink, #11110f);
}

.liberalis-affiliates-header h2 em {
	font-style: italic;
	font-weight: 600;
}

.liberalis-affiliate-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.liberalis-affiliate-card {
	display: flex;
	min-height: 245px;
	flex-direction: column;
	padding: 26px;
	border: 1px solid var(--lib-ink, #11110f);
	background: rgba(255, 255, 255, 0.28);
	transition: box-shadow 160ms ease, transform 160ms ease;
}

.liberalis-affiliate-card:hover,
.liberalis-affiliate-card:focus-within {
	box-shadow: 7px 7px 0 var(--lib-accent, #d8ff3e);
	transform: translate(-2px, -2px);
}

.liberalis-affiliate-category {
	margin: 0 0 32px;
	color: var(--lib-muted, #5f5b52);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.liberalis-affiliate-card h3 {
	margin: 0 0 12px;
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(1.65rem, 2.4vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1;
}

.liberalis-affiliate-card > p:not(.liberalis-affiliate-category) {
	margin: 0 0 28px;
	color: var(--lib-muted, #5f5b52);
	font-size: 0.84rem;
	line-height: 1.58;
}

.liberalis-affiliate-card > a {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: auto;
	border-bottom: 2px solid var(--lib-ink, #11110f);
	color: var(--lib-ink, #11110f);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.liberalis-affiliate-card > a:hover,
.liberalis-affiliate-card > a:focus {
	background: var(--lib-accent, #d8ff3e);
	color: var(--lib-ink, #11110f);
}

.liberalis-affiliate-disclosure {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 42px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--lib-ink, #11110f);
	color: var(--lib-muted, #5f5b52);
	font-size: 0.7rem;
	line-height: 1.55;
}

.liberalis-affiliate-disclosure p {
	margin: 0;
}

.liberalis-affiliate-disclosure strong {
	color: var(--lib-ink, #11110f);
}

@media (max-width: 900px) {
	.liberalis-affiliate-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.liberalis-affiliate-grid,
	.liberalis-affiliate-disclosure {
		grid-template-columns: 1fr;
	}

	.liberalis-affiliate-card {
		min-height: 220px;
	}
}


/* Liberalis editorial listings and utility pages */
body.archive .site-content,
body.search .site-content,
body.blog .site-content,
body.error404 .site-content {
	padding-top: 0;
	padding-bottom: 0;
}

.liberalis-listing-page,
.liberalis-error-page {
	float: none;
	width: 100%;
	padding: 0;
}

.liberalis-listing-shell {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(68px, 8vw, 118px) 0 clamp(88px, 10vw, 148px);
}

.liberalis-listing-header {
	position: relative;
	max-width: none !important;
	margin: 0 0 clamp(46px, 6vw, 76px) !important;
	padding: 0 0 clamp(32px, 4vw, 48px) !important;
	border-bottom: 1px solid var(--lib-ink, #11110f);
}

.liberalis-listing-header::before {
	display: none !important;
}

.liberalis-listing-kicker,
.liberalis-comments-label,
.liberalis-related-label,
.liberalis-child-pages-label {
	margin: 0 0 20px;
	color: #555249;
	font-family: var(--lib-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.liberalis-listing-header .page-title,
.liberalis-empty-state .page-title,
.liberalis-error .page-title {
	max-width: 1000px;
	margin: 0;
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(3.4rem, 7vw, 7rem);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 0.92;
	overflow-wrap: anywhere;
}

.liberalis-listing-header .page-title em {
	font-style: italic;
	font-weight: 650;
}

.liberalis-listing-intro,
.liberalis-listing-header .archive-description,
.liberalis-page-lead {
	max-width: 720px;
	margin: 28px 0 0;
	color: #4c4941;
	font-size: clamp(1rem, 1.5vw, 1.18rem);
	line-height: 1.62;
}

.liberalis-listing-header .archive-description p {
	margin: 0;
}

.liberalis-listing-count {
	display: inline-block;
	margin: 30px 0 0;
	padding: 7px 10px;
	border: 1px solid var(--lib-ink, #11110f);
	background: var(--lib-accent, #d8ff3e);
	color: var(--lib-ink, #11110f);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1;
	text-transform: uppercase;
}

#blog-entries.liberalis-entries-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	border: 1px solid var(--lib-ink, #11110f);
	background: var(--lib-ink, #11110f);
}

#blog-entries.liberalis-entries-grid > .liberalis-entry-card {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: var(--lib-paper, #f3efe4);
}

.liberalis-entry-card {
	display: flex;
	min-height: 100%;
	flex-direction: column;
}

.liberalis-card-visual {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	border-bottom: 1px solid var(--lib-ink, #11110f);
	background:
		linear-gradient(135deg, transparent 48.8%, var(--lib-ink, #11110f) 49%, var(--lib-ink, #11110f) 51%, transparent 51.2%),
		var(--lib-accent, #d8ff3e);
	color: var(--lib-ink, #11110f);
	text-decoration: none;
}

.liberalis-card-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	transition: filter 280ms ease, transform 420ms cubic-bezier(.2,.8,.2,1);
}

.liberalis-entry-card:hover .liberalis-card-visual img {
	filter: grayscale(0%);
	transform: scale(1.025);
}

.liberalis-card-monogram {
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(5.5rem, 11vw, 9.5rem);
	font-weight: 900;
	line-height: 1;
}

.liberalis-card-copy {
	display: flex;
	min-height: 320px;
	flex: 1;
	flex-direction: column;
	padding: clamp(24px, 3.4vw, 40px);
}

.liberalis-card-meta {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 18px;
	color: #68645b;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.liberalis-card-meta span {
	color: var(--lib-ink, #11110f);
}

#blog-entries.liberalis-entries-grid .entry-title {
	margin: 0 0 18px;
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(1.75rem, 3vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.03;
}

#blog-entries.liberalis-entries-grid .entry-title a {
	color: var(--lib-ink, #11110f);
	text-decoration: none;
}

#blog-entries.liberalis-entries-grid .entry-title a:hover,
#blog-entries.liberalis-entries-grid .entry-title a:focus {
	box-shadow: inset 0 -0.28em var(--lib-accent, #d8ff3e);
}

#blog-entries.liberalis-entries-grid .entry-summary {
	margin: 0;
	color: #4c4941;
	font-size: 0.96rem;
	line-height: 1.66;
}

.liberalis-card-footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-top: auto;
	padding-top: 32px;
}

.liberalis-card-author,
.liberalis-card-footer > span {
	color: #5f5b52;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
}

.liberalis-card-author:hover,
.liberalis-card-author:focus {
	color: var(--lib-ink, #11110f);
	text-decoration: underline;
	text-decoration-color: var(--lib-accent, #d8ff3e);
	text-decoration-thickness: 4px;
}

.liberalis-card-arrow {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid var(--lib-ink, #11110f);
	border-radius: 50%;
	color: var(--lib-ink, #11110f);
	font-size: 1.1rem;
	text-decoration: none;
	transition: background 180ms ease, transform 180ms ease;
}

.liberalis-card-arrow:hover,
.liberalis-card-arrow:focus {
	background: var(--lib-accent, #d8ff3e);
	color: var(--lib-ink, #11110f);
	transform: rotate(12deg);
}

.liberalis-listing-page .navigation.pagination,
.liberalis-page-archive .navigation.pagination {
	margin: 48px 0 0;
}

.liberalis-listing-page .nav-links,
.liberalis-page-archive .navigation.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.liberalis-listing-page .page-numbers,
.liberalis-page-archive .page-numbers {
	display: inline-flex;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border: 1px solid var(--lib-ink, #11110f);
	background: transparent;
	color: var(--lib-ink, #11110f);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
}

.liberalis-listing-page .page-numbers.current,
.liberalis-listing-page a.page-numbers:hover,
.liberalis-page-archive .page-numbers.current,
.liberalis-page-archive a.page-numbers:hover {
	background: var(--lib-accent, #d8ff3e);
}

.liberalis-search-box {
	max-width: 680px;
	margin-top: 32px;
}

.liberalis-search-box .search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0;
}

.liberalis-search-box .search-field {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--lib-ink, #11110f);
	border-right: 0;
	border-radius: 0;
	background: var(--lib-paper, #f3efe4);
	box-shadow: none;
	color: var(--lib-ink, #11110f);
}

.liberalis-search-box .search-submit,
.liberalis-reading-page .form-submit .submit {
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid var(--lib-ink, #11110f);
	border-radius: 0;
	background: var(--lib-ink, #11110f);
	color: var(--lib-paper, #f3efe4);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.liberalis-search-box .search-field:focus {
	outline: 4px solid var(--lib-accent, #d8ff3e);
	outline-offset: 0;
}

.liberalis-empty-state {
	max-width: 820px;
	padding: clamp(34px, 5vw, 58px);
	border: 1px solid var(--lib-ink, #11110f);
	box-shadow: 12px 12px 0 var(--lib-accent, #d8ff3e);
}

.liberalis-empty-state .page-title {
	font-size: clamp(2.8rem, 6vw, 5rem);
}

.liberalis-empty-state .page-content {
	max-width: 620px;
	margin-top: 26px;
}

.liberalis-empty-state .liberalis-inline-link {
	display: inline-block;
	margin-top: 28px;
}

.liberalis-page-lead {
	margin-bottom: 0;
}

.liberalis-page-archive {
	max-width: 970px;
	margin-top: 46px;
}

.liberalis-page-archive > .liberalis-listing-count {
	margin: 0 0 24px;
}

.liberalis-child-pages {
	max-width: 780px;
	margin: 72px auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--lib-ink, #11110f);
}

.liberalis-child-pages ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 1px;
	background: var(--lib-ink, #11110f);
	list-style: none;
}

.liberalis-child-pages li {
	margin: 0;
}

.liberalis-child-pages a {
	display: flex;
	min-height: 92px;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	padding: 20px;
	background: var(--lib-paper, #f3efe4);
	color: var(--lib-ink, #11110f);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: 1.25rem;
	font-weight: 750;
	line-height: 1.1;
	text-decoration: none;
}

.liberalis-child-pages a:hover,
.liberalis-child-pages a:focus {
	background: var(--lib-accent, #d8ff3e);
}

.liberalis-error {
	position: relative;
	max-width: 1000px;
	padding: clamp(32px, 5vw, 58px);
	overflow: hidden;
	border: 1px solid var(--lib-ink, #11110f);
	box-shadow: 14px 14px 0 var(--lib-accent, #d8ff3e);
}

.liberalis-error-code {
	position: absolute;
	top: -0.18em;
	right: -0.04em;
	margin: 0;
	color: rgba(17, 17, 15, 0.055);
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: clamp(9rem, 26vw, 22rem);
	font-weight: 900;
	line-height: 1;
	pointer-events: none;
}

.liberalis-error .page-title,
.liberalis-error-lead,
.liberalis-error-actions,
.liberalis-error .liberalis-search-box {
	position: relative;
}

.liberalis-error .page-title {
	max-width: 760px;
	font-size: clamp(3rem, 7vw, 6.2rem);
}

.liberalis-error-lead {
	max-width: 660px;
	margin: 30px 0 0;
	color: #4c4941;
	font-size: clamp(1rem, 1.5vw, 1.16rem);
	line-height: 1.65;
}

.liberalis-error-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.liberalis-comments-label,
.liberalis-related-label {
	margin-bottom: 8px;
}

.liberalis-reading-page .bam-authorbox {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr);
	gap: 26px;
}

.liberalis-reading-page .bam-author-img,
.liberalis-reading-page .bam-author-content {
	float: none;
	width: auto;
	margin: 0;
}

.liberalis-reading-page .bam-author-img img {
	display: block;
	border: 1px solid var(--lib-ink, #11110f);
	border-radius: 0;
	filter: grayscale(100%);
}

.liberalis-reading-page .author-description {
	margin-bottom: 14px;
	color: #4c4941;
	line-height: 1.65;
}

.liberalis-reading-page .author-posts-link {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-decoration: underline;
	text-decoration-color: var(--lib-accent, #d8ff3e);
	text-decoration-thickness: 4px;
	text-transform: uppercase;
}

.liberalis-reading-page .related-post-thumbnail {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px solid var(--lib-ink, #11110f);
	background: var(--lib-accent, #d8ff3e);
	color: var(--lib-ink, #11110f);
	text-decoration: none;
}

.liberalis-reading-page .related-post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
}

.liberalis-related-monogram {
	font-family: var(--lib-display, "Fraunces", Georgia, serif);
	font-size: 4.4rem;
	font-weight: 900;
	line-height: 1;
}

.liberalis-reading-page .related-post-meta {
	margin: 14px 0 8px;
	color: #68645b;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.liberalis-reading-page .related-post-title {
	margin: 0;
	font-size: 1.25rem;
}

.liberalis-reading-page .related-post-title a {
	text-decoration: none;
}

.liberalis-reading-page .related-post-title a:hover,
.liberalis-reading-page .related-post-title a:focus {
	box-shadow: inset 0 -0.28em var(--lib-accent, #d8ff3e);
}

.liberalis-reading-page .comment-list {
	margin: 28px 0;
	padding: 0;
	list-style: none;
}

.liberalis-reading-page .comment-list .comment-body {
	padding: 22px 0;
	border-top: 1px solid #aaa496;
}

.liberalis-reading-page .comment-list .children {
	margin-left: 24px;
}

.liberalis-reading-page .comment-respond {
	margin-top: 38px;
	padding-top: 28px;
	border-top: 1px solid var(--lib-ink, #11110f);
}

.liberalis-reading-page .comment-form input[type="text"],
.liberalis-reading-page .comment-form input[type="email"],
.liberalis-reading-page .comment-form input[type="url"],
.liberalis-reading-page .comment-form textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--lib-ink, #11110f);
	border-radius: 0;
	background: var(--lib-paper, #f3efe4);
	box-shadow: none;
}

.liberalis-reading-page .comment-form input:focus,
.liberalis-reading-page .comment-form textarea:focus {
	outline: 4px solid var(--lib-accent, #d8ff3e);
	outline-offset: 0;
}

@media (max-width: 860px) {
	#blog-entries.liberalis-entries-grid,
	.liberalis-child-pages ul {
		grid-template-columns: 1fr;
	}

	.liberalis-card-visual {
		aspect-ratio: 16 / 7;
	}

	.liberalis-card-copy {
		min-height: 0;
	}
}

@media (max-width: 620px) {
	.liberalis-listing-shell {
		padding-top: 48px;
		padding-bottom: 82px;
	}

	.liberalis-listing-header .page-title,
	.liberalis-empty-state .page-title,
	.liberalis-error .page-title {
		font-size: clamp(2.7rem, 14vw, 4.2rem);
	}

	.liberalis-card-visual {
		aspect-ratio: 16 / 8.5;
	}

	.liberalis-card-copy {
		padding: 24px;
	}

	.liberalis-search-box .search-form {
		grid-template-columns: 1fr;
	}

	.liberalis-search-box .search-field {
		border-right: 1px solid var(--lib-ink, #11110f);
		border-bottom: 0;
	}

	.liberalis-error,
	.liberalis-empty-state {
		padding: 28px 22px;
		box-shadow: 8px 8px 0 var(--lib-accent, #d8ff3e);
	}

	.liberalis-reading-page .bam-authorbox {
		grid-template-columns: 1fr;
	}

	.liberalis-reading-page .bam-author-img img {
		width: 76px;
		height: 76px;
	}
}
