/*
Theme Name: vm
Author: Mingaudas Vagonis
Author URI: https://automattic.com/
Description: Based on Automattic by LowFi is a simple blog theme with Lo-fi aesthetics.
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lowfi
Tags: blog, one-column, wide-blocks, block-patterns, block-styles, full-site-editing, rtl-language-support, style-variations, threaded-comments, translation-ready
*/

/* Progresive enhancement to reduce widows and orphans. */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline
  > .wp-block-button__link:not(.has-background):hover {
  background-color: var(--wp--preset--color--accent-one);
  border-color: var(--wp--preset--color--accent-one);
  color: var(--wp--preset--color--base);
}

.wp-block-button.is-style-fill > a.wp-element-button {
  background-color: var(--wp--preset--color--accent-one) !important;
  border-color: var(--wp--preset--color--accent-one) !important;
  color: var(--wp--preset--color--contrast) !important;
  padding-top: calc(var(--wp--preset--spacing--30) + 2px) !important;
}

.wp-block-button.is-style-fill > a.wp-element-button:hover {
  background-color: var(--wp--preset--color--accent-one) !important;
  border-color: var(--wp--preset--color--contrast) !important;
  color: var(--wp--preset--color--contrast) !important;
  padding-top: calc(var(--wp--preset--spacing--30) + 2px) !important;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
  text-decoration-thickness: 1px !important;
  text-decoration-style: dashed !important;
  text-underline-offset: 3px;
}

/*
 * Navigation Block
 * Reset the padding from List block
 * https://github.com/WordPress/gutenberg/issues/50486
 */
.wp-block-navigation ul {
  padding: unset;
}

/*
 * Pull quote Block
 * Reset the browser default margins for blockquote and paragraph element
 * https://github.com/WordPress/gutenberg/issues/44129
 */
.wp-block-pullquote blockquote,
.wp-block-pullquote p {
  margin: 0;
}

.post-thumbnail {
  height: 70px;
  width: 100px;
  object-fit: cover;
  border-radius: 10px;
  overflow: hidden;
}

/* .post-thumbnail::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  mix-blend-mode: multiply;
  background: #e3dca1;
  opacity: 1;
}

.post-thumbnail > img {
  -webkit-filter: contrast(80%) grayscale(100%) hue-rotate(0deg) invert(0%)
    opacity(100%) saturate(100%) sepia(0%);
  filter: contrast(80%) grayscale(100%) hue-rotate(0deg) invert(0%)
    opacity(100%) saturate(100%) sepia(0%);
  mix-blend-mode: none;
} */

.post-thumbnail::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  mix-blend-mode: none;
  background: #faaa00;
  opacity: 0.13;
}

.post-thumbnail > img {
  -webkit-filter: brightness(105%) grayscale(100%) hue-rotate(0deg) invert(0%)
    opacity(100%) saturate(100%) sepia(50%);
  filter: brightness(105%) grayscale(100%) hue-rotate(0deg) invert(0%)
    opacity(100%) saturate(100%) sepia(50%);
  mix-blend-mode: none;
}

.wp-block-gallery .wp-block-image {
  border-radius: 8px;
  overflow: hidden;
}

.wp-block-image {
  border-radius: 16px;
  overflow: hidden;
}

.wp-block-post-content .wp-block-post-featured-image {
  display: none !important;
  height: 0px;
}

.wp-block-polylang-language-switcher {
  list-style-type: none !important;
}

main.site-content {
  flex: 1;
}

main.site-content-centered {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.flex-container {
  display: flex;
  flex-direction: column;
}

.wp-block-site-tagline {
  margin-block-end: 0px;
  margin-block-start: 4px;
}

.no-grow {
  flex-grow: 0 !important;
  flex-basis: auto !important;
  width: auto !important;
}

.vertical-separator {
  border-color: currentColor;
  border-width: 1px 0px 1px 2px;
  color: var(--wp--preset--color--contrast);
  display: inline-block;
  width: 0px;
  align-self: stretch;
}

.wp_ulike_general_class {
  border-color: var(--wp--preset--color--contrast);
  transition: all 1s ease;
  border-radius: 12px !important;
  border-width: 0.5px !important;
  padding: 4px 8px !important;
  border: dashed !important;
}

.uagb-taxomony-box {
  padding: 6px !important;
  border-radius: 8px !important;
}

.uagb-tax-link {
  text-decoration: none !important;
}

.uagb-tax-link > .uagb-tax-title {
  margin-bottom: 0px !important;
}

.relative {
  position: relative;
}

details > div.active {
  position: absolute;
  left: 0;
  top: 100%;
  width: min(400px, calc(100vw - 44px));
  z-index: 10;
}

details > div {
  width: min(400px, calc(100vw - 44px));
  position: absolute;
  left: 0;
  top: 100%;
}

details > div.active::after {
  display: block;
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    var(--wp--preset--color--base),
    transparent
  );
}

summary {
  -webkit-user-select: none;
  user-select: none;
}

.uagb-tax-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.details-content {
  background-color: var(--wp--preset--color--base);
}

.uagb-taxonomy__outer-wrap {
  margin-bottom: 12px;
}

.category > summary::before {
  margin-left: 1ch;
  display: inline-block;
  content: "✦";
  transition: 0.2s;
  margin-right: 6px;
}

details > summary::-webkit-details-marker {
  display: none;
}

summary {
  list-style: none;
}

.tags > summary::before {
  margin-left: 1ch;
  display: inline-block;
  content: "➽";
  transition: 0.2s;
  margin-right: 6px;
}

details[open].category > summary::before {
  transform: rotate(45deg);
}

details[open].tags > summary::before {
  transform: rotate(90deg);
}

.wp-block-search {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1;
}

.wp-block-search.wp-block-search__button-inside
  .wp-block-search__inside-wrapper {
  border-color: #fff;
  background-color: #fff;
  border: 1px solid #fff;
  box-sizing: border-box;
  padding: 4px;
}

.wp-block-search.wp-block-search__button-inside
  .wp-block-search__inside-wrapper
  .wp-block-search__input {
  border: none;
  border-radius: 0;
  padding: 0 8px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.wp-block-search .wp-block-search__button.has-icon {
  padding: 0.375rem;
}

.hidden {
  display: none;
}
