/*
Theme Name: slovakiafarma
Version: 1.0
Description: A child theme of Twenty Twenty
Template: twentytwenty
Author: Administrator
*/
@import url("../twentytwenty/style.css");
@import url("../slovakiafarma/assets/css/slovakiafarma.css");

:root {
  --admin-bar: 32px;
  --header: 180px;
  --header-scrolled: 135px;
}

/*--------------------------------------------------ANIMACE*/

#top a,
#top a::after,
#top a::before,
#top h2,
#top button,
#top button::after,
#top button:before,
#top span,
#top span::after,
#top span::before,
#top img,
#top:not(.showing-modal) ul,
#top:not(.showing-modal) li,
#top:not(.showing-modal) li::after,
#top:not(.showing-modal) li::before,
header#site-header,
.header-topbar-wrapper,
.item-title,
.post-grid-item::after,
.social-share {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s -webkit-filter ease-in-out;
  -moz-transition: all 0.3s -moz-filter ease-in-out;
  -ms-transition: all 0.3s -ms-filter ease-in-out;
  -o-transition: all 0.3s -o-filter ease-in-out;
}

/*----------------------------------------------------------------------------------------------------TYPOGRAFIE*/

#top * {
  letter-spacing: unset;
}

body#top,
.entry-content,
.entry-content cite,
.entry-content figcaption,
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file,
.entry-content p,
.entry-content li,
.entry-header p,
button,
.widget-content {
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--n-80);
}

#top .entry-content .has-large-font-size {
  font-size: 20px !important;
}

.entry-content p {
  margin-bottom: 16px;
}

.color-accent,
.color-accent-hover:hover,
.color-accent-hover:focus,
:root .has-accent-color,
.has-drop-cap:not(:focus):first-letter,
.wp-block-button.is-style-outline,
body a {
  color: var(--s-100-blue);
}

/*--------------------------------------------------ELLIPSIS*/
.item-title,
.item-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*--------------------------------------------------IKONY*/
.ikona a::before,
.wp-block-heading.ikona::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  margin: 0 8px -6px 0;
  background-color: currentColor;
  mask-size: 24px;
  mask-position: 0 0;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  -webkit-mask-position: 0 0;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("/wp-content/themes/slovakiafarma/assets/img/ikony.svg");
  -webkit-mask-image: url("/wp-content/themes/slovakiafarma/assets/img/ikony.svg");
}

.ikona.primary a::before {
  background-color: var(--p-100);
}

.ikona.secondary a::before {
  background-color: var(--s-100);
}

.ikona.black a::before {
  background-color: black;
}

.ikona.white a::before {
  background-color: white;
}

.ikona.mail a::before {
  mask-position: 0 -24px;
  -webkit-mask-position: 0 -24px;
}

.ikona.user a::before {
  mask-position: 0 -48px;
  -webkit-mask-position: 0 -48px;
}

.ikona.pin a::before {
  mask-position: 0 -72px;
  -webkit-mask-position: 0 -72px;
}

.ikona.search a::before {
  mask-position: 0 -96px;
  -webkit-mask-position: 0 -96px;
}

.ikona.calendar a::before {
  mask-position: 0 -120px;
  -webkit-mask-position: 0 -120px;
}

.ikona.home a::before {
  mask-position: 0 -168px;
  -webkit-mask-position: 0 -168px;
}

.ikona.web a::before {
  mask-position: 0 -192px;
  -webkit-mask-position: 0 -192px;
}

.ikona.recenze a::before,
.wp-block-heading.recenze::before {
  background-color: var(--p-100);
  mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_recenze.svg");
  -webkit-mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_recenze.svg");
}

.ikona.krmiva a::before,
.wp-block-heading.krmiva::before {
  background-color: var(--s-100-blue);
  mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_krmiva.svg");
  -webkit-mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_krmiva.svg");
}

.ikona.poradna a::before,
.wp-block-heading.poradna::before {
  background-color: var(--s-100-green);
  mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_poradna.svg");
  -webkit-mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_poradna.svg");
}

.ikona.videoblog a::before,
.wp-block-heading.videoblog::before {
  background-color: var(--s-100-purple);
  mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_videoblog.svg");
  -webkit-mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_videoblog.svg");
}

.ikona.vyrobci a::before,
.wp-block-heading.vyrobci::before {
  background-color: black;
  mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_vyrobci.svg");
  -webkit-mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_vyrobci.svg");
}

/*--------------------------------------------------NADPISY*/
#top .wp-block-heading:first-child {
  margin-top: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  color: black;
  line-height: normal;
  font-weight: 700;
}

h1,
.heading-size-1,
.archive-title {
  font-size: 42px;
}

h2,
.heading-size-2 {
  font-size: 32px;
}

h3,
.heading-size-3 {
  font-size: 24px;
}

h4,
.heading-size-4 {
  font-size: 22px;
}

h5,
.heading-size-5 {
  font-size: 20px;
}

h6,
.heading-size-6,
h2.ikona {
  font-size: 18px;
}

/*nadpisy s ikonou*/

.wp-block-heading.ikona {
  display: flex;
  align-items: center;
  border-left: 4px solid;
  padding-left: 8px;
}

.wp-block-heading.recenze {
  border-color: var(--p-100);
}

.wp-block-heading.poradna {
  border-color: var(--s-100-blue);
}

.wp-block-heading.krmiva {
  border-color: var(--s-100-blue);
}

.wp-block-heading.videoblog {
  border-color: var(--s-100-purple);
}

.wp-block-heading.ikona::before {
  margin-bottom: 0;
}

/*----------------------------------------------------------------------------------------------------GENERAL*/

/*--------------------------------------------------HIDE*/

.site-description,
p.powered-by-wordpress,
.home .entry-header,
.entry-content hr::before,
.entry-content hr::after,
.post-meta-wrapper.post-meta-edit-link-wrapper,
.toggle svg.svg-icon,
.home div#breadcrumbs,
nav.pagination-single hr,
.footer-widgets.column-two,
#top .close-nav-toggle,
.archive-header .color-accent,
.singular .featured-media::before {
  display: none;
}

/*--------------------------------------------------ZÁKLADNÍ HTML*/

/*--------------------------------------------------LAYOUT*/
#top .section-inner:not(.footer-inner):not(.featured-media-inner),
.entry-content > .alignwide,
.wp-block-cover.alignfull .alignwide,
.wp-block-group.alignfull .alignwide,
#breadcrumbs,
.footer-menu-wrapper,
.footer-widgets-outer-wrapper,
.single-post-wrapper,
#top .archive-wrapper,
.single-post
  .entry-content
  > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(
    .is-style-wide
  ) {
  width: calc(100% - 64px);
  max-width: 1248px;
  margin: 0 auto;
}

.single-post .entry-content > .alignwide,
#top.single-post .entry-header-inner,
#top .archive-wrapper .section-inner {
  width: 100% !important;
}
#site-content {
  overflow: visible;
}
#top .header-inner.section-inner,
.footer-menu-wrapper,
.footer-widgets-outer-wrapper {
  max-width: calc(1248px + 120px);
}

#top .wp-block-cover.alignfull .alignwide,
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
  width: 100%;
}

.home #site-content {
  margin-top: var(--header);
}

/*
body#top::before {
    content: "";
    display: block;
    width: calc((100vw - 1128px) / 2);
    height: 600px;
    background: url(/wp-content/themes/slovakiafarma/assets/img/pes.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 99;
    top: 24px;
    mix-blend-mode: luminosity;
    left: 0;
}
body#top::after {
    content: "";
    display: block;
    width: 400px;
    height: 800px;
    background: url(/wp-content/themes/slovakiafarma/assets/img/kocka.png);
    position: absolute;
    z-index: 99;
    top: 24px;
    mix-blend-mode: luminosity;
        right: 100px;
}*/
/*margins*/
.primary-menu > li,
ul.primary-menu,
.header-titles .site-logo,
.header-titles,
.footer-menu li,
.privacy-policy {
  margin: 0;
}

#top .wp-block-image {
  margin: 0 auto;
  max-width: unset;
}

#top .entry-content > .alignwide:first-child,
.wp-block-columns.alignfull + .wp-block-columns.alignfull,
#top .wp-block-heading:first-child,
#top .footer-widgets .wp-block-group,
#top .footer-widgets .wp-block-columns {
  margin-top: 0;
}

/*paddings*/
#top .af-submit,
.alignfull:not(.has-background) .wp-block-columns,
.single-post .entry-header-inner,
.post-inner {
  padding: 0;
}

/*--------------------------------------------------CLASSY*/
.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

/*----------------------------------------------------------------------------------------------------DEFAULT BLOCKS*/
/*--------------------------------------------------COVER*/
.wp-block-cover.alignfull {
  border-radius: 24px;
  max-width: calc(1248px + 120px);
}

/*--------------------------------------------------BUTTONS*/
body button,
body .button,
body .faux-button,
body .wp-block-button__link,
body .wp-block-file .wp-block-file__button,
body input[type="button"],
body input[type="reset"],
body input[type="submit"],
body .bg-accent,
body .bg-accent-hover:hover,
body .bg-accent-hover:focus,
:root .has-accent-background-color,
body .comment-reply-link,
.single-product#top .woocommerce-variation-add-to-cart .button {
  background: white;
  border: 1px solid var(--n-30);
  color: var(--s-100-blue);
  text-transform: none;
  font-weight: 700;
  line-height: normal;
  padding: 8px 24px;
  border-radius: 24px;
}

.wp-block-buttons {
  margin: 20px auto;
}

/*--------------------------------------------------FORMY*/
#top .acf-fields > .acf-field {
  padding: 0;
  border: none;
}

::placeholder {
  color: var(--n-50);
}

#top input,
#top textarea,
#top select {
  background: white;
  box-shadow: 0 8px 24px 0 rgba(1, 30, 86, 0.05);
  font-size: 16px;
  padding: 16px;
  line-height: 26px;
  border-radius: 80px;
  border: none;
}

/*radio a checkbox*/
.frm_checkbox label,
.frm_radio label {
  display: flex;
  gap: 8px;
  cursor: pointer;
}

#top input[type="checkbox"],
#top input[type="radio"] {
  margin: 0 8px 0 0;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: relative;
  top: 2px;
}

#top input[type="checkbox"]::before,
#top input[type="radio"]::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid var(--n-20);
  border-radius: 4px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: "dashicons";
}

#top input[type="radio"]::before {
  border-radius: 100%;
}

#top input[type="checkbox"]:checked::before {
  content: "\f15e";
}

#top input[type="checkbox"]:checked::before,
#top input[type="radio"]:checked::before {
  background: var(--p-100);
}

/*--------------------------------------------------TABULKY*/
/*--------------------------------------------------ODDĚLOVAČ*/
#top hr.wp-block-separator {
  color: var(--n-40);
  margin: 40px auto;
}

hr.wp-block-separator::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  transform: none;
  mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_tlapka.svg");
  -webkit-mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_tlapka.svg");
  left: 50%;
  transform: translate(-50%);
}

/*----------------------------------------------------------------------------------------------------CUSTOM BLOCKS*/
#top .loader {
  width: 50px;
  height: 50px;
  margin: 100px auto;
  background: url(/wp-content/themes/sweet-pain/assets/css/ajax-loader.gif)
    no-repeat;
}

#top .slider {
  transform: none;
  z-index: 1;
}

#top .slider:not(.slick-initialized) {
  transform: translateY(-200%);
  transform-origin: top;
}

/*--------------------------------------------------POST GRID*/
.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 24px;
}

.post-grid.posts-wrapper {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.post-grid-item {
  position: relative;
  height: max-content;
}

.post-grid-item::after {
  content: "";
  display: block;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  background: white;
  border-radius: 8px;
  z-index: -1;
  position: absolute;
  top: -16px;
  left: -16px;
  opacity: 0;
  box-shadow: 0 8px 24px 0 rgba(1, 30, 86, 0.05);
}

.post-grid-item:hover::after {
  opacity: 1;
}

.item-link {
  cursor: pointer;
}

.post-grid.display-grid_highlight {
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-flow: dense;
}

.post-grid.display-grid_highlight .post-grid-item:first-child {
  grid-column: 1;
  grid-row: span 2;
}

.post-grid.display-list {
  grid-template-columns: 1fr;
}

.display-list .item-link {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
}

.item-meta {
  font-size: 14px;
  color: var(--n-40);
}

#top .item-meta a {
  text-decoration: underline;
  color: var(--n-40);
}

.item-thumb img {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.display-list .item-thumb img {
  border-radius: 24px;
  height: 100%;
  object-fit: cover;
}

.item-taxonomies {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 16px 0 12px;
  flex-wrap: wrap;
}

.display-list .item-taxonomies {
  padding-top: 0;
}

#top .item-taxonomies a {
  font-size: 12px;
  line-height: 16px;
  padding: 2px 4px;
  display: block;
  color: var(--s-100-blue);
}

.item-tags {
  display: flex;
}

#top .item-tags a {
  text-transform: lowercase;
}

.item-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#top .item-categories a {
  text-transform: uppercase;
  border: 1px solid var(--n-20);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  padding: 2px 8px;
}

#top .item-title {
  margin: 0 0 8px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  height: 72px;
  font-size: 20px;
}

#top .display-grid_highlight .post-grid-item:first-child .item-title {
  font-size: 32px;
  height: auto;
  display: block;
}

#top .display-list .item-title {
  height: auto;
}

.post-grid.display-grid_highlight
  .post-grid-item:not(:first-child)
  .item-content {
  display: none;
}

.item-content {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  height: 72px;
  margin-bottom: 8px;
}

.display-list .item-content {
  -webkit-line-clamp: 32;
  line-clamp: 2;
  height: 48px;
}

.item-content p {
  color: var(--n-80);
  margin: 0;
}

.read-more {
  color: var(--p-100);
  text-decoration: underline;
}

@media (max-width: 782px) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/*----------------------------------------------------------------------------------------------------HEADER*/
.scrolled .header-topbar-wrapper {
  border: none !important;
}

header#site-header {
  position: fixed;
  width: 100%;
  z-index: 4;
  top: 0;
  background: none;
  background: #f6f8ff;
}

.scrolled #site-header {
  box-shadow: 0 8px 24px 0 rgba(1, 30, 86, 0.05);
}

.admin-bar header#site-header {
  top: var(--admin-bar);
}

.header-inner {
  flex-direction: column;
  padding: 0;
}

.header-topbar-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
}

.scrolled .header-topbar-wrapper {
  padding: 8px 0;
}

/*--------------------------------------------------SEARCH*/
.wp-block-search__inside-wrapper {
  position: relative;
}

.wp-block-search__button {
  color: var(--s-100-blue);
  background: white;
  position: absolute;
  right: 0;
  border-radius: 80px;
  padding: 16px;
  line-height: 26px;
  border: none;
}

.wp-block-search__inside-wrapper::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: black;
  mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_lupa.svg");
  -webkit-mask-image: url("/wp-content/themes/slovakiafarma/assets/img/i_lupa.svg");
  position: absolute;
  top: 16px;
  left: 16px;
}

#top .wp-block-search__input {
  padding-right: 80px;
  padding-left: 50px;
  min-width: 480px;
}

input[type="search"]:focus {
  outline-offset: 4px;
  outline: 2px solid var(--s-100-blue);
}

/*--------------------------------------------------LOGO*/
.site-logo img {
  max-height: 87px;
}

.scrolled .site-logo img {
  max-height: 58px;
}

/*--------------------------------------------------MENU*/
.header-navigation-wrapper {
  border-top: 1px solid var(--n-20);
  border-bottom: 1px solid var(--n-20);
  width: 100%;
  padding: 8px 0;
}

#top .primary-menu {
  justify-content: center;
}

body#top .primary-menu > li > a {
  color: var(--n-100);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

#top .primary-menu > li > a::before {
  margin: 0 8px 0 0;
}

body#top .primary-menu > li.cta > a {
  border: 1px solid var(--p100);
}

/* menu efekt */

.slideUp {
  -webkit-transform: translateY(-135px);
  transform: translateY(-135px);
  transition: transform 0.5s ease-out;
}

.slideDown {
  transition: transform 0.5s ease-out;
}

/*--------------------SUBMENU*/

/*--------------------------------------------------BURGERMENU*/
body:not(.enable-search-modal) .header-titles-wrapper {
  justify-content: space-between;
  padding: 0;
}

#top .nav-toggle {
  width: max-content;
  padding: 4px;
  position: relative;
  right: unset;
  border: 1px solid var(--n-30);
  border-radius: 12px;
  margin-left: auto;
}

button.toggle.close-nav-toggle.fill-children-current-color {
  outline: none !important;
}

.nav-toggle .toggle-inner {
  height: 48px;
  width: 48px;
  border-radius: 4px;
  background: var(--s-100);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0;
}

.nav-toggle .toggle-icon {
  height: 1.8px;
  width: 24px;
  position: relative;
  overflow: visible;
  background: var(--s-100-blue);
}

.toggle-icon svg.svg-icon path,
.toggle-text {
  display: none;
}

.toggle-icon::before,
.toggle-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 1.8px;
  display: block;
  background: var(--s-100-blue);
  position: absolute;
  transform-origin: center;
}

.toggle-icon::before {
  top: -8px;
}

.toggle-icon::after {
  bottom: -8px;
}

#top .toggle.active .toggle-icon {
  background: transparent;
}

.toggle.active .toggle-icon::before {
  transform: rotate(-45deg);
  top: 0;
}

.toggle.active .toggle-icon::after {
  transform: rotate(45deg);
  bottom: 0;
}

/*modal*/

.menu-modal {
  margin-top: calc(var(--header) + 1px);
  background: #f6f8ffa8;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.menu-modal-inner.modal-inner {
  max-width: 500px;
  margin-right: 0;
  margin-left: auto;
  background: #f6f8ff;
}

#top .menu-modal .wp-block-search__input {
  width: calc(100% - 32px);
  min-width: unset;
  margin-bottom: 20px;
  margin-top: 16px;
}

.menu-modal .wp-block-search__inside-wrapper::before {
  right: 0;
  left: 16px;
  top: 32px;
}

.menu-modal .wp-block-search__button {
  top: 16px;
}

.modal-menu {
  left: unset;
  width: 100%;
}

.modal-menu li {
  border: none;
}

.modal-menu .ancestor-wrapper {
  align-items: center;
}

.modal-menu > li > a,
.modal-menu > li > .ancestor-wrapper > a {
  font-size: 20px;
  font-weight: 400;
  color: black;
  padding: 20px 0 20px 32px;
}

.modal-menu > li.ikona > .ancestor-wrapper > a {
  padding-left: 0 !important;
  font-weight: 700;
}

.modal-menu a:focus,
.modal-menu a:hover,
.modal-menu li.current-menu-item > .ancestor-wrapper > a,
.modal-menu li.current_page_ancestor > .ancestor-wrapper > a {
  text-decoration: none;
  color: var(--p-100);
}

#top .sub-menu-toggle {
  border: 2px solid var(--p-100);
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 100%;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#top .sub-menu-toggle svg {
  color: var(--p-100);
  width: 14px;
}

.modal-menu ul li {
  border: none;
}

.modal-menu ul li a {
  color: inherit;
  font-weight: 400;
  font-size: 18px;
  padding: 20px 30px;
}

.modal-menu ul ul li a {
  padding: 20px 40px;
  font-size: 16px;
}

.modal-menu ul li:first-child a {
  padding-top: 0;
}

.modal-menu ul li:not(:last-child) a {
  padding-bottom: 0;
}

/*----------------------------------------------------------------------------------------------------MAIN CONTENT*/
.home .post-inner {
  padding-top: 48px;
}

/*--------------------------------------------------TITLE*/
.singular .entry-header,
.archive-header {
  background: none;
}

/*----------------------------------------------------------------------------------------------------MAIN CONTENT - BLOG*/
.archive-header,
.singular .entry-header {
  padding: 0;
}

.entry-header-inner {
  padding: 40px 0;
}
.archive-header-inner {
  padding: 24px 0 40px;
}
#top .archive-wrapper,
#top.single-post .single-post-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
}

/*--------------------------------------------------SINGLE POST*/
.single-post .entry-content > .alignwide:not(.wp-block-group.has-background),
.single-post .entry-content > .alignfull:not(.wp-block-group.has-background) {
  margin-top: 40px;
  margin-bottom: 40px;
}

.single-post #site-content {
  background: white;
  border-radius: 24px;
}

.single-post
  .entry-content
  > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(
    .is-style-wide
  ) {
  max-width: unset;
  width: 100%;
}

.singular .featured-media-inner {
  left: unset;
  width: 100% !important;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow: hidden;
}

.featured-media img {
  width: 100%;
  margin-bottom: 40px;
  max-height: 450px;
  object-fit: cover;
}

.single-post .item-taxonomies {
  align-items: flex-start;
  padding: 0;
  margin-bottom: 16px;
}
#top .entry-meta-footer {
  margin-bottom: 0 !important;
}
#top .pagination-single {
  width: 100% !important;
  padding: 20px 0;
  font-size: 16px;
  margin-bottom: 12px !important;
}
.pagination-single-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.entry-header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--n-30);
  margin-bottom: 16px;
  padding: 16px 0;
}

.social-share {
  border: 1px solid var(--primary-10);
  border-radius: 5px;
  position: relative;
  display: flex;
  gap: 4px;
  font-size: 14px;
  cursor: pointer;
}

.social-share::after {
  content: "\f237";
  font-family: dashicons;
  font-size: 24px;
}

.social-share:hover {
  color: var(--p-100);
}

.social-share-title {
  width: 100%;
}

.social-share-inner {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: max-content;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--primary-10);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 8px 24px 0 rgba(1, 30, 86, 0.05);
}

.social-share:hover .social-share-inner {
  transform: none;
  opacity: 1;
  visibility: visible;
}

#top .social-share-inner a {
  padding: 8px 4px;
  font-family: "dahsicons";
  color: var(--s-100-blue);
  text-decoration: none;
  display: inline-block;
}

/*----------------------------------------------------------------------------------------------------MAIN CONTENT - PAGE*/

/*--------------------------------------------------TITLE*/

/*--------------------BREADCRUMBY*/
div#breadcrumbs {
  padding: 16px 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--n-60);
  margin-top: var(--header);
}

/*--------------------------------------------------SIDEBAR*/
#sidebar .wp-block-heading {
  margin-bottom: 8px;
}

#top .wp-block-categories-list,
#top .wp-block-categories-list li {
  margin: 0;
}

.current-cat a {
  text-decoration: underline;
}
.wp-block-archives a,
.wp-block-categories a,
.wp-block-latest-posts a,
.wp-block-latest-comments a {
  font-weight: 400;
  text-decoration: underline;
}

.wp-block-categories a:hover {
  text-decoration: none;
}
/*----------------------------------------------------------------------------------------------------FOOTER*/

.footer-nav-widgets-wrapper {
  background: var(--s-100-blue);
  color: white;
}

.footer-inner {
  width: 100%;
  max-width: unset;
}

.has-footer-menu {
  justify-content: center;
  padding: 16px 0;
  border: none;
  box-shadow: 0 8px 24px 0 rgba(1, 30, 86, 0.05);
}

#top .footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 16px;
  color: white;
  margin: 0;
}

#top .footer-menu a {
  font-size: 16px;
  color: white;
  padding: 8px 16px;
  display: block;
}

.footer-widgets-outer-wrapper {
  padding: 60px 0;
  border: none;
}

.footer-widgets-wrapper,
.footer-widgets {
  display: block;
  margin: 0;
  width: 100%;
}

#top .widget-content {
  color: white;
  text-align: center;
}

#top .widget-content a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.footer-widgets .wp-block-columns {
  max-width: 840px;
  margin: 0 auto;
}

/*--------------------------------------------------SOCKET*/
#site-footer {
  background: var(--s-100-blue);
  color: white;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 16px 0;
}

#site-footer .section-inner {
  justify-content: center;
}

#site-footer .privacy-policy a {
  color: white;
}

#top:not(.scrolled) .to-the-top {
  opacity: 0;
}

a.to-the-top {
  position: fixed;
  right: 20px;
  bottom: 8px;
  font-size: 0;
  text-decoration: none !important;
}

a.to-the-top::after {
  content: "\f343";
  font-family: "dashicons";
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  color: var(--s-100-blue);
  background: white;
  border-radius: 8px;
  border: 1px solid var(--n-20);
}

/*----------------------------------------------------------------------------------------------------RESPONZE*/
/*malé notebooky*/
@media (max-width: 1000px) {
  :root {
    --header: 90px;
  }

  .post-inner {
    padding-top: 24px;
  }

  .header-topbar-wrapper {
    gap: 16px;
  }

  .header-topbar-wrapper {
    display: grid;
    grid-template-columns: 130px auto 58px;
    border-bottom: 1px solid var(--n-20);
  }

  .wp-block-search__inside-wrapper {
    justify-content: flex-end;
  }

  #top .wp-block-search__input {
    max-width: 480px;
  }

  .wp-block-search__inside-wrapper::before {
    left: unset;
    right: 440px;
  }

  .site-logo img {
    max-height: 58px;
  }

  .post-grid {
    gap: 24px 16px;
  }

  .wp-block-cover.alignfull {
    width: calc(100% - 32px);
  }
  .post-grid.posts-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/*tablety*/
@media (max-width: 782px) {
  :root {
    --admin-bar: 46px;
  }
  #sidebar {
    display: none;
  }
  #top .archive-wrapper,
  #top.single-post .single-post-wrapper {
    display: block;
  }
  .header-topbar-wrapper {
    display: flex;
    justify-content: space-between;
  }

  .header-topbar-wrapper .header-search {
    display: none;
  }

  h1,
  .heading-size-1,
  .archive-title {
    font-size: 24px;
  }

  #top h2,
  #top .heading-size-2 {
    font-size: 22px;
  }

  h3,
  .heading-size-3 {
    font-size: 20px;
  }

  h4,
  .heading-size-4 {
    font-size: 18px;
  }

  h5,
  .heading-size-5,
  #top .woocommerce-loop-product__title,
  .cart_item .product-name a,
  #top .sidebar .wp-block-heading,
  #top h2.tab-title,
  #top h3.item-title {
    font-size: 16px;
  }

  h6,
  .heading-size-6,
  #top .tab-content h3 {
    font-size: 16px;
  }

  .item-thumb img {
    max-height: 300px;
    object-fit: cover;
  }

  .display-list .item-link {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .display-list .item-thumb img {
    height: 80px;
    border-radius: 8px;
  }

  .post-grid.display-grid_highlight {
    grid-template-columns: 1fr 1fr;
  }

  .post-grid.display-grid_highlight .post-grid-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  #top .display-grid_highlight .post-grid-item:first-child .item-title {
    height: auto;
    display: block;
  }

  .post-grid.display-grid_highlight
    .post-grid-item:not(:first-child)
    .item-content {
    display: block;
  }

  #top
    .post-grid.display-grid_highlight
    .post-grid-item:not(:first-child)
    .item-title {
    height: 28px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
  .pagination-single-inner {
    display: flex;
    flex-direction: column;
  }
  #top .item-title {
    height: 78px;
  }
}

/*mobily*/
@media (max-width: 500px) {
  #top .section-inner:not(.footer-inner),
  .entry-content > .alignwide,
  .wp-block-cover.alignfull .alignwide,
  .wp-block-group.alignfull .alignwide,
  #breadcrumbs,
  .footer-menu-wrapper,
  .footer-widgets-outer-wrapper {
    width: calc(100% - 32px);
  }

  .wp-block-cover.alignfull {
    width: 100%;
    border-radius: 0;
  }

  #top .post-grid {
    grid-template-columns: 1fr 1fr;
  }

  #top .item-title {
    height: auto;
    display: block;
  }

  .wp-block-button {
    width: 100%;
  }

  .display-list .item-link {
    grid-template-columns: 1fr;
  }

  .display-list .item-thumb img {
    display: none;
  }
  @media (max-width: 380px) {
    #top .post-grid {
      grid-template-columns: 1fr;
    }
    #top .section-inner:not(.footer-inner):not(.featured-media-inner),
    .entry-content > .alignwide,
    .wp-block-cover.alignfull .alignwide,
    .wp-block-group.alignfull .alignwide,
    #breadcrumbs,
    .footer-menu-wrapper,
    .footer-widgets-outer-wrapper,
    .single-post-wrapper,
    #top.archive .archive-wrapper,
    .entry-content
      > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(
        .is-style-wide
      ) {
      width: calc(100% - 24px);
    }
  }
}

/*--------------------------------------------------HOVERY*/

.item-categories a:hover {
  background: black;
  color: white !important;
  border-color: black;
}
#top .social-share-inner a:hover {
  color: var(--p-100);
}
.item-taxonomies a:hover {
  color: black;
  text-decoration: none;
}
