@charset "UTF-8";
/*!
Theme Name: PALATNO
Theme URI: http://underscores.me/
Author: Aliaksiej Razumaŭ
Author URI: https://bielarusajed.gay
Description: Theme for palatno.media
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: palatno-media
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

PALATNO is based on Underscores https://underscores.me/, (C) 2012-2020 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:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
/*! normalize.css v8.0.1 | 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;
  -webkit-text-size-adjust: 100%;
}

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

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * 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;
  height: 0;
  overflow: visible;
}

/**
 * 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;
  font-size: 1em;
}

/* 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;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * 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;
  font-size: 1em;
}

/**
 * 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;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

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

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  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;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * 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;
  padding: 0;
}

/**
 * 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;
  outline-offset: -2px;
}

/**
 * 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;
  font: inherit;
}

/* 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;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

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

/* Force iframes to be 100% width to prevent content overflow */
iframe {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

/* Links
--------------------------------------------- */
/* Forms
--------------------------------------------- */
/*--------------------------------------------------------------
# Globals
--------------------------------------------------------------*/
body {
  background: #f8f8f8;
  color: #0a0a0a;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", ui-sans-serif, system-ui, sans-serif;
}

.site {
  position: relative;
}

a {
  color: #0a0a0a;
  transition: color 0.15s ease;
  text-decoration: none;
}
a:hover {
  color: #8b0000;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Header
// --------------------------------------------- */
.site-header {
  background: #f8f8f8;
  padding: 0 2.25rem;
  position: relative;
  z-index: 1000;
}
@media screen and (max-width: 1024px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.site-header .menu-toggle {
  background: none;
  border: none;
  padding: 0;
}
@media screen and (min-width: 1024px) {
  .site-header .menu-toggle {
    display: none;
  }
}
.site-header .site-branding {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.875rem 0;
}
@media screen and (min-width: 1024px) {
  .site-header .site-branding {
    border-bottom: 1px solid #ebebeb;
  }
}
.site-header .site-branding .custom-logo-link {
  height: 4.5rem;
}
@media screen and (max-width: 1024px) {
  .site-header .site-branding .custom-logo-link {
    height: 1.875rem;
  }
}
.site-header .site-branding .custom-logo-link img {
  height: 100%;
  width: auto;
}
@media screen and (max-width: 1024px) {
  .site-header .site-branding .social-links {
    display: none;
  }
}
.site-header .social-links {
  display: flex;
  gap: 0.5rem;
}
.site-header .social-links a svg {
  transition: all 0.15s ease;
}
.site-header .social-links a:hover .fa-facebook {
  color: #1877f2;
}
.site-header .social-links a:hover .fa-x-twitter {
  color: #000000;
}
.site-header .social-links a:hover .fa-instagram {
  color: #e1306c;
}
.site-header .social-links a:hover .fa-youtube {
  color: #ff0000;
}
.site-header .social-links a:hover .fa-telegram {
  color: #24a1de;
}
.site-header .header-navigation-container {
  isolation: isolate;
}
.site-header .header-navigation-container .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.site-header .header-navigation-container .menu .menu-item a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Oswald", ui-sans-serif, system-ui, sans-serif;
}
.site-header .header-navigation-container #mobile-menu-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000000;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.25s ease-in-out, visibility 0s linear 0.25s;
}
@media screen and (max-width: 1024px) {
  .site-header .header-navigation-container:has(#header-navigation-wrapper.toggled) #mobile-menu-background {
    opacity: 0.5;
    visibility: visible;
    transition: opacity 0.25s ease-in-out, visibility 0s linear 0s;
  }
  .site-header .header-navigation-container #header-navigation-wrapper {
    transform: translateX(-100%);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 20rem;
    max-width: 100%;
    height: 100%;
    padding: 1.25rem 1.25rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3rem;
    transition: all 0.15s ease;
    background-color: #f8f8f8;
    z-index: 2;
  }
  .site-header .header-navigation-container #header-navigation-wrapper.toggled {
    transform: translateX(0);
  }
  .site-header .header-navigation-container #header-navigation-wrapper .mobile-menu.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .mobile-menu.header .custom-logo-link {
    width: 100%;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .mobile-menu.header .custom-logo-link img {
    width: 100%;
    height: auto;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .mobile-menu.header .menu-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .site-header .header-navigation-container #header-navigation-wrapper > div:nth-child(2) {
    flex: 1;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .menu {
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1rem;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .menu .menu-item a {
    font-size: 0.875rem;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .social-links {
    justify-content: center;
    font-size: 1.5rem;
    gap: 0.75rem;
  }
}
@media screen and (min-width: 1024px) {
  .site-header .header-navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .mobile-menu {
    display: none;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .menu {
    gap: 2rem;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .menu .menu-item a {
    font-size: 1.25rem;
    line-height: 3;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .menu .menu-item a:hover {
    text-decoration: underline;
  }
  .site-header .header-navigation-container #header-navigation-wrapper .menu .menu-item.current_page_item a {
    text-decoration: underline;
  }
}

body.admin-bar #header-navigation-wrapper {
  height: calc(100% - 32px) !important;
}

.header-search-container {
  position: relative;
}

.search-toggle {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: opacity 0.15s ease;
}
.search-toggle:hover {
  opacity: 0.7;
}
@media screen and (max-width: 1024px) {
  .search-toggle .search-toggle-text {
    display: none;
  }
}

.search-dropdown {
  position: fixed;
  background: #f8f8f8;
  border: 1px solid #ebebeb;
  border-radius: 0.375rem;
  padding: 1rem;
  min-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0s linear 0.2s, transform 0.2s ease;
  z-index: 10001;
}
@media screen and (max-width: 1024px) {
  .search-dropdown {
    top: 60px;
    left: 1rem;
    right: 1rem;
    min-width: auto;
    width: auto;
    max-width: calc(100vw - 2rem);
  }
}
.search-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, visibility 0s linear 0s, transform 0.2s ease;
}
.search-dropdown .search-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.search-dropdown .search-form label {
  flex: 1;
  margin: 0;
}
.search-dropdown .search-form .search-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ebebeb;
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease;
}
.search-dropdown .search-form .search-field:focus {
  outline: none;
  border-color: #8b0000;
}
.search-dropdown .search-form .search-field::placeholder {
  color: #757575;
}
.search-dropdown .search-form .search-submit {
  padding: 0.75rem 1rem;
  background-color: #8b0000;
  color: #f8f8f8;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.15s ease;
}
.search-dropdown .search-form .search-submit:hover {
  opacity: 0.85;
}
.search-dropdown .search-form .search-submit .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

/* Content
// --------------------------------------------- */
.latest-posts-block.titles .content-wrapper {
  grid-template-rows: repeat(3, min-content);
  gap: 0.25rem 0.75rem;
  grid-template-columns: repeat(var(--posts-count), 1fr);
}
@media (max-width: 841px) {
  .latest-posts-block.titles .content-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 481px) {
  .latest-posts-block.titles .content-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}
.latest-posts-block.titles .content-wrapper .latest-posts-block-item .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-bottom: 0.25rem;
}
.latest-posts-block.titles .content-wrapper .latest-posts-block-item .post-categories li {
  background-color: #999999;
  transition: background-color 0.15s ease;
}
.latest-posts-block.titles .content-wrapper .latest-posts-block-item .post-categories li:hover {
  background-color: #7a7a7a;
}
.latest-posts-block.titles .content-wrapper .latest-posts-block-item .post-categories li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.25rem 0.375rem;
  line-height: 1;
  display: block;
}
.latest-posts-block.titles .content-wrapper .latest-posts-block-item .entry-title {
  font-size: 1.25rem;
  line-height: 1.4;
}

.latest-posts-block.cards .content-wrapper {
  grid-template-rows: repeat(3, min-content);
  gap: 0.5rem 1.5rem;
}
@media (max-width: 481px) {
  .latest-posts-block.cards .content-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}
.latest-posts-block.cards .content-wrapper .latest-posts-block-item .post-thumbnail .wp-post-image {
  width: 100%;
  height: auto;
  height: -webkit-fill-available;
  object-fit: cover;
  object-position: center;
}
.latest-posts-block.cards .content-wrapper .latest-posts-block-item .entry-title {
  line-height: 1.25;
}

.latest-posts-block.bigger-cards .entry-title {
  font-size: 2.25rem;
}

.latest-posts-block.smaller-cards .entry-title {
  font-size: 1.5rem;
}

.site-main:has(.post.full-post), .site-main:has(.page) {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem 4.25rem; /* row-gap column-gap */
}
.site-main:has(.post.full-post) article, .site-main:has(.page) article {
  grid-column: 1;
}
.site-main:has(.post.full-post) > .widget-area, .site-main:has(.page) > .widget-area {
  grid-column: 2;
  align-self: start;
  position: sticky;
  top: 2rem;
}
@media screen and (max-width: 1024px) {
  .site-main:has(.post.full-post), .site-main:has(.page) {
    grid-template-columns: 1fr;
  }
  .site-main:has(.post.full-post) article, .site-main:has(.page) article {
    grid-column: 1;
  }
}

.post.full-post {
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 2rem; /* row-gap */
}
.post.full-post .entry-header {
  grid-column: 1;
  grid-row: 1;
}
.post.full-post .entry-header .entry-categories {
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.post.full-post .entry-header h1.entry-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.625rem;
}
.post.full-post .entry-header .entry-date {
  font-size: 0.625rem;
  text-transform: uppercase;
  line-height: 1;
}
.post.full-post .title-separator {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
.post.full-post .post-thumbnail {
  grid-column: 1;
  grid-row: 3;
}
.post.full-post .post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.post.full-post .entry-content {
  grid-column: 1;
  grid-row: 4;
  margin-top: 1rem;
  width: 100%;
  word-break: break-word;
  font-size: 1.125rem;
  line-height: 1.6;
}
.post.full-post .entry-content strong {
  font-weight: 700;
}
.post.full-post .entry-content h1,
.post.full-post .entry-content h2,
.post.full-post .entry-content h3,
.post.full-post .entry-content h4,
.post.full-post .entry-content h5,
.post.full-post .entry-content h6 {
  margin: 0 0 0.5rem;
  font-weight: 600;
  line-height: 1.4;
}
.post.full-post .entry-content h1 {
  font-size: 2.5rem;
}
.post.full-post .entry-content h2 {
  font-size: 2.125rem;
}
.post.full-post .entry-content h3 {
  font-size: 1.875rem;
}
.post.full-post .entry-content h4 {
  font-size: 1.5rem;
}
.post.full-post .entry-content h5 {
  font-size: 1.25rem;
}
.post.full-post .entry-content h6 {
  font-size: 1rem;
}
.post.full-post .entry-content p {
  margin: 0 0 1rem;
  font-weight: 400;
}
.post.full-post .entry-content p a {
  color: #8b0000;
}
.post.full-post .entry-content p a:hover {
  color: red;
}
.post.full-post .entry-content pre {
  margin: 0 0 1.5rem;
  padding: 1.5rem;
  background-color: #eeeeee;
}
.post.full-post .entry-content blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1rem 3rem;
  background-color: #fbfbfb;
  border-radius: 1.25rem;
  font-family: "Oswald", ui-sans-serif, system-ui, sans-serif;
}
.post.full-post .entry-content blockquote::before {
  content: "“";
  position: absolute;
  top: -3.25rem;
  left: -2.5rem;
  color: rgba(255, 0, 0, 0.1);
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: 22.5rem;
  line-height: 1;
}
.post.full-post .entry-content blockquote p {
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0 auto;
}
.post.full-post .entry-content li {
  margin: 0 0 0.25rem;
}

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

.post-preview {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.post-preview__thumb {
  display: block;
  line-height: 0;
}
.post-preview__thumb img {
  max-width: 100%;
  height: auto;
}
.post-preview__header {
  display: grid;
  align-content: center;
  gap: 1rem;
  font-family: "Oswald", ui-sans-serif, system-ui, sans-serif;
}
.post-preview__categories {
  text-transform: uppercase;
}
.post-preview__categories a {
  transition: color 0.15s ease;
}
.post-preview__categories a:hover {
  color: #8b0000;
}
.post-preview__title {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
}
.post-preview__title a:hover {
  color: #0a0a0a;
  text-decoration: underline;
  text-decoration-color: #8b0000;
}
.post-preview__date {
  font-size: 0.625rem;
  color: #757575;
}

/*--------------------------------------------------------------
# Infinite Scroll for Single Posts
--------------------------------------------------------------*/
.infinite-scroll-posts {
  position: relative;
}

.infinite-scroll-post {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}
.infinite-scroll-post:last-of-type {
  border-bottom: none;
}

.infinite-scroll-sentinel {
  height: 1px;
  visibility: hidden;
}

.infinite-scroll-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
  text-align: center;
}
.infinite-scroll-loading i {
  font-size: 2rem;
  color: var(--color-primary, #0073aa);
}
.infinite-scroll-loading span {
  font-size: 1rem;
  color: var(--color-text-light, #6b7280);
}

.infinite-scroll-end {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-light, #6b7280);
  font-style: italic;
}
.infinite-scroll-end p {
  margin: 0;
}

.infinite-scroll-post {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.error-404 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(20rem, 55vw, 34rem);
  padding: 4rem 2.5rem;
  text-align: center;
  color: #0a0a0a;
}
.error-404__banner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 0 2rem;
}
.error-404__code {
  display: block;
  font-family: "Oswald", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: rgb(117.5460122699, 105.7914110429, 133.7085889571);
  opacity: 0.12;
  margin-bottom: 1.25rem;
}
.error-404__title {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: #0a0a0a;
}
.error-404__description {
  margin: 1.5rem 0 2.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #757575;
}
.error-404__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.error-404__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background-color: #0a0a0a;
  color: #fff;
  font-family: "Oswald", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.error-404__button:hover, .error-404__button:focus-visible {
  background-color: #8b0000;
  color: #fff;
  transform: translateY(-2px);
}
@media screen and (max-width: 841px) {
  .error-404 {
    padding: 3rem 1.75rem;
  }
  .error-404__code {
    letter-spacing: 0.2rem;
  }
  .error-404__description {
    font-size: 1rem;
  }
}
@media screen and (max-width: 481px) {
  .error-404 {
    min-height: 100vh;
    align-items: flex-start;
    padding: 6rem 1rem 3rem;
  }
  .error-404__banner {
    max-width: 100%;
    padding: 0 0.5rem;
  }
}

.site-main {
  background: #fff;
  padding: 1.25rem 3rem;
}
@media screen and (max-width: 1024px) {
  .site-main {
    width: 100%;
    max-width: 100%;
  }
}

.archive-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem 4.25rem; /* row-gap column-gap */
}
.archive-grid .page-header {
  grid-column: 1/-1;
}
.archive-grid__content {
  grid-column: 1;
}
.archive-grid .widget-area {
  grid-column: 2;
  align-self: start;
  position: sticky;
  top: 2rem;
}
@media screen and (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .archive-grid__content {
    grid-column: 1;
  }
}

.latest-posts-block .content-wrapper {
  display: grid;
  grid-template-columns: repeat(var(--posts-count), 1fr);
}
.latest-posts-block .block-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}
.latest-posts-block .latest-posts-block-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}
.latest-posts-block .latest-posts-block-item .entry-title {
  margin: 0;
  font-weight: 400;
}
.latest-posts-block .latest-posts-block-item .entry-date {
  font-size: 0.75rem;
  color: #757575;
  line-height: 1.4;
}
.latest-posts-block .load-more-button {
  display: block;
  width: 100%;
  max-width: 18rem;
  margin: 1.5rem auto;
  padding: 0.25rem 1rem;
  background: transparent;
  border: 1px solid #cccccc;
  color: #757575;
  font-family: "Oswald", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
  transition: all 0.15s ease;
}
.latest-posts-block .load-more-button:hover {
  background-color: #757575;
  color: #fff;
}
.latest-posts-block:has(.htmx-indicator.htmx-request) .load-more-button {
  display: none;
}
.latest-posts-block .htmx-indicator {
  display: none;
}
.latest-posts-block .htmx-indicator.htmx-request {
  display: block;
  margin: 1.5rem auto;
  text-align: center;
}
.latest-posts-block .pagination-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
}
.latest-posts-block .pagination-controls .pagination-button,
.latest-posts-block .pagination-controls .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  background: transparent;
  border: 1px solid #cccccc;
  color: #757575;
  line-height: 1.5;
  transition: all 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}
.latest-posts-block .pagination-controls .pagination-button.current,
.latest-posts-block .pagination-controls .page-numbers.current {
  background-color: #757575;
  color: #fff;
}
.latest-posts-block .pagination-controls .pagination-button:hover:not(.current),
.latest-posts-block .pagination-controls .page-numbers:hover:not(.current) {
  background-color: #757575;
  color: #fff;
}
.latest-posts-block .pagination-controls .prev-page,
.latest-posts-block .pagination-controls .next-page {
  margin: 0 0.25rem;
}
.latest-posts-block .pagination-controls > .htmx-indicator {
  order: 3;
  margin-left: 0.75rem;
  font-size: 1em;
  color: #757575;
}
.latest-posts-block .pagination-controls > .htmx-indicator.htmx-request {
  display: inline-block !important;
  margin: 0 0 0 0.75rem;
  vertical-align: middle;
}
.latest-posts-block .pagination-controls > .htmx-indicator:not(.htmx-request) {
  display: none !important;
}
.latest-posts-block .pagination-controls .pagination-spacer {
  flex-grow: 1;
  order: 4;
}
.latest-posts-block .pagination-controls .page-info {
  order: 5;
  font-size: 0.875rem;
  color: #757575;
  margin-left: 1rem;
}

.separator {
  display: block;
  width: 100%;
  height: 0.25rem;
  background-color: #ebebeb;
  margin: 1.5rem 0;
}

.support-button {
  display: block;
  width: 100%;
  margin: 3rem 0;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  background-color: #50485b;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.01) 100%);
  color: #fff;
  border-radius: 2rem;
  font-size: 1rem;
  font-family: "Oswald", ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease;
}
.support-button:hover {
  background-color: rgb(64.981595092, 58.4834355828, 73.9165644172);
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 3.5rem auto;
}
.page-title .search-query {
  color: #8b0000;
}

.pagination-controls .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
}
.pagination-controls .nav-links .page-numbers {
  border: 1px solid #cccccc;
  aspect-ratio: 1/1;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  transition: all 0.15s ease;
}
.pagination-controls .nav-links .page-numbers.current {
  border-color: #8b0000;
  background-color: #8b0000;
  color: #fff;
}
.pagination-controls .nav-links .page-numbers:hover {
  border-color: #8b0000;
  background-color: #8b0000;
  color: #fff;
}

/* Footer
// --------------------------------------------- */
.site-footer {
  background-color: #fff;
  color: #0a0a0a;
  padding: 3rem 3rem 3rem;
  font-size: 0.875rem;
  border-top: 1px solid #ebebeb;
}

/* Branding
// --------------------------------------------- */
/*--------------------------------------------------------------
# Branding
--------------------------------------------------------------*/
/*
 * Дынамічныя стылі (background-image, padding-top, margin-top) 
 * генеруюцца ў functions.php -> palatno_media_branding_output()
 */
/* Desktop branding styles */
@media screen and (min-width: 1024px) {
  body.branding-enabled {
    /* Dynamic background-image set in functions.php -> palatno_media_branding_output() */
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Dynamic padding-top set in functions.php -> palatno_media_branding_output() */
    /* When admin bar is present, adjust background position */
  }
  body.branding-enabled.admin-bar {
    background-position-y: var(--wp-admin--admin-bar--height, 32px);
  }
  body.branding-enabled.branding-clickable {
    cursor: pointer;
  }
  body.branding-enabled.branding-clickable * {
    cursor: auto;
  }
  body.branding-enabled.branding-clickable a,
  body.branding-enabled.branding-clickable button,
  body.branding-enabled.branding-clickable input[type=submit],
  body.branding-enabled.branding-clickable input[type=button],
  body.branding-enabled.branding-clickable input[type=reset],
  body.branding-enabled.branding-clickable select,
  body.branding-enabled.branding-clickable [role=button],
  body.branding-enabled.branding-clickable [onclick] {
    cursor: pointer;
  }
  body.branding-enabled.branding-clickable a *,
  body.branding-enabled.branding-clickable button *,
  body.branding-enabled.branding-clickable input[type=submit] *,
  body.branding-enabled.branding-clickable input[type=button] *,
  body.branding-enabled.branding-clickable input[type=reset] *,
  body.branding-enabled.branding-clickable select *,
  body.branding-enabled.branding-clickable [role=button] *,
  body.branding-enabled.branding-clickable [onclick] * {
    cursor: inherit;
  }
}
/* Mobile branding styles */
@media screen and (max-width: 1024px) {
  body.branding-enabled {
    /* Dynamic background-image set in functions.php -> palatno_media_branding_output() */
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Offset background by header height (1.875rem padding-top + 1.875rem logo + 1.875rem padding-bottom) */
    background-position-y: 5.625rem;
    /* When admin bar is present, add its height to the offset */
    /* Dynamic margin-top for content set in functions.php -> palatno_media_branding_output() */
  }
  body.branding-enabled.admin-bar {
    background-position-y: calc(5.625rem + var(--wp-admin--admin-bar--height, 32px));
  }
  body.branding-enabled.branding-clickable {
    cursor: pointer;
  }
  body.branding-enabled.branding-clickable * {
    cursor: auto;
  }
  body.branding-enabled.branding-clickable a,
  body.branding-enabled.branding-clickable button,
  body.branding-enabled.branding-clickable input[type=submit],
  body.branding-enabled.branding-clickable input[type=button],
  body.branding-enabled.branding-clickable input[type=reset],
  body.branding-enabled.branding-clickable select,
  body.branding-enabled.branding-clickable [role=button],
  body.branding-enabled.branding-clickable [onclick] {
    cursor: pointer;
  }
  body.branding-enabled.branding-clickable a *,
  body.branding-enabled.branding-clickable button *,
  body.branding-enabled.branding-clickable input[type=submit] *,
  body.branding-enabled.branding-clickable input[type=button] *,
  body.branding-enabled.branding-clickable input[type=reset] *,
  body.branding-enabled.branding-clickable select *,
  body.branding-enabled.branding-clickable [role=button] *,
  body.branding-enabled.branding-clickable [onclick] * {
    cursor: inherit;
  }
  body.branding-enabled .site-header + .site-content,
  body.branding-enabled .site-header + main {
    /* margin-top set in functions.php -> palatno_media_branding_output() */
  }
}
/* Navigation
// --------------------------------------------- */
/* Widgets
--------------------------------------------- */
/**
 * Custom Recent Posts Widget Styles
 */
.palatno-recent-posts-widget {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.palatno-recent-posts-widget .recent-post-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  gap: 0 1rem;
  align-items: center;
}
.palatno-recent-posts-widget .recent-post-item__thumb {
  grid-column: 1;
  grid-row: 1/3;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  line-height: 0;
  align-self: center;
}
.palatno-recent-posts-widget .recent-post-item__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.palatno-recent-posts-widget .recent-post-item__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  align-self: end;
}
.palatno-recent-posts-widget .recent-post-item__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.palatno-recent-posts-widget .recent-post-item__title a:hover {
  color: var(--color-primary);
}
.palatno-recent-posts-widget .recent-post-item__date {
  grid-column: 2;
  grid-row: 2;
  display: block;
  font-size: 0.875rem;
  color: #666;
  align-self: start;
}

@media screen and (max-width: 1024px) {
  .widget-area {
    display: none;
  }
}

.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* 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 logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

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

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

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
  max-width: 100%;
  overflow: hidden;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.gallery-item img {
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.05);
}
.gallery-item a {
  display: block;
  max-width: 100%;
}

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

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/* Lightbox
--------------------------------------------- */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox.active {
  display: flex;
}
.gallery-lightbox .lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox .lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.gallery-lightbox .lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0 1rem;
}
.gallery-lightbox .lightbox-counter {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}
.gallery-lightbox .lightbox-close,
.gallery-lightbox .lightbox-prev,
.gallery-lightbox .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
  z-index: 10000;
}
.gallery-lightbox .lightbox-close:hover,
.gallery-lightbox .lightbox-prev:hover,
.gallery-lightbox .lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.gallery-lightbox .lightbox-close:focus,
.gallery-lightbox .lightbox-prev:focus,
.gallery-lightbox .lightbox-next:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.gallery-lightbox .lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  line-height: 1;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
}
.gallery-lightbox .lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
  border-radius: 0.25rem;
}
.gallery-lightbox .lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
  border-radius: 0.25rem;
}
@media screen and (max-width: 768px) {
  .gallery-lightbox .lightbox-content {
    max-width: 95%;
    max-height: 85%;
  }
  .gallery-lightbox .lightbox-image {
    max-height: 70vh;
  }
  .gallery-lightbox .lightbox-prev,
  .gallery-lightbox .lightbox-next {
    font-size: 2rem;
    padding: 0.25rem 0.5rem;
  }
  .gallery-lightbox .lightbox-close {
    font-size: 2rem;
    padding: 0.25rem 0.5rem;
  }
  .gallery-lightbox .lightbox-counter {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
  }
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.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;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
/* Container
--------------------------------------------- */
.container {
  max-width: 79.375rem;
  margin: 0 auto;
}

/*# sourceMappingURL=style.css.map */
